Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-28 Thread james
On 8/28/18 10:39 PM, Walter Dnes wrote:
> On Mon, Aug 27, 2018 at 11:31:33PM -0400, james wrote
> 
>> Exif is the  data particulars form man image(photo) file formats
>>
>>
>> media-libs/exiftool
>> Read and write meta information in image, audio and video files
> 
>   This is getting "curiouser and curiouser".  I should have done this
> sooner.  I assumed that the datestamp and EXIF data would be the same.
> But checking "properties" with gqview shows the EXIF date data is
> correct, with the file datestamp being out to lunch...
> 
> [i660][waltdnes][~/camera/20180824] exiftool -T -CreateDate IMG_0363.jpg 
> 2018:08:24 14:12:19
> 
> [i660][waltdnes][~/camera/20180824] ll -og IMG_0363.jpg 
> -rw-r--r-- 1 477731 Jan 26  2013 IMG_0363.jpg
> 
>   Given this info, I can cobble together a short script.  A "for" loop
> cycles through "*.jpg".  Read "CreateDate" from the EXIF data, and feed
> it into the "touch" command, which would reset the physical file
> datestamp.
> 



Your other post; verycool old phone; I to have several flip phones
an LG still 'on service. JTAG interfaces to the hardware is even cooler.
Gotta get a giant magnifier for that sort of access work.



Glad to have helped. If you get into EXIF data.
check out "photogammetry" as 2d still photos can be 'stitched' together
to create awesome 3D and 3D+motion models. One of the key usages of HPC.
If I can only stay healthy SfM (structure from motion) is my latest
addiction

It's just very very cool technology. Some folks are building  3D-motion
models of the inside of their lab. Cover the wall with monitors
and then animate the objects inside, work remotely (like a VR game) or
walk into the home_lab and work as normal.  Building your own, is where
the fun is. Get a UAV pilot's license and a sub 1K drone and well, just
let your imagination go wild!


gqview   -- nice piece of old software. I'll have to check it out..
it's age on sourceforge is a bit to worry about. I'd pack it up and
put it in /usr/local/   or at least into a github/gitlab/gogs or
wherever you archive codes. Lots of stuff is disappearing now, related
to geo-tagging and image processing. I've pretty much settled on
[ https://gogs.io ]


Surely there are plugins for palemoon  that yield up EXIF data?
(btw palemoon-28.0.0 is very stable). Here are some random points of
interest,should your 2D images lead to 3D and beyond; here's a good intro::

https://www.prusaprinters.org/photogrammetry-3d-scanning-just-phone-camera/




Here is the latest read on mixed reality::


https://software.intel.com/en-us/blogs/2018/06/18/siggraph-2018-the-state-of-photogrammetry-in-real-time-graphics


And if intel machines get 'out of control' well, we'll just have to jolt
the some electrons with odd_spin::

https://github.com/ptresearch/IntelTXE-PoC


All of this on gentoo?  Sure, that's why I'm working on
Hybrid-heterogeneous HPC gentoo clusters. But I'm AMD_Radeon_arm64 open
source centric with my work. I'd be most appreciated if anyone can add more
detail, list of FOSS codes, or other related packages and details.


hth,
James



Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-28 Thread Walter Dnes
On Mon, Aug 27, 2018 at 11:31:33PM -0400, james wrote

> Exif is the  data particulars form man image(photo) file formats
> 
> 
> media-libs/exiftool
> Read and write meta information in image, audio and video files

  This is getting "curiouser and curiouser".  I should have done this
sooner.  I assumed that the datestamp and EXIF data would be the same.
But checking "properties" with gqview shows the EXIF date data is
correct, with the file datestamp being out to lunch...

[i660][waltdnes][~/camera/20180824] exiftool -T -CreateDate IMG_0363.jpg 
2018:08:24 14:12:19

[i660][waltdnes][~/camera/20180824] ll -og IMG_0363.jpg 
-rw-r--r-- 1 477731 Jan 26  2013 IMG_0363.jpg

  Given this info, I can cobble together a short script.  A "for" loop
cycles through "*.jpg".  Read "CreateDate" from the EXIF data, and feed
it into the "touch" command, which would reset the physical file
datestamp.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-28 Thread Walter Dnes
On Mon, Aug 27, 2018 at 10:22:30PM -0500, R0b0t1 wrote
> On Mon, Aug 27, 2018 at 9:48 PM, Walter Dnes  wrote:
> >   So I went to an event on Friday August 24th, and snapped some pics on
> > my cellphone.  Let's just say the datestamps were ridiculous.  Is there
> > a conversion algorithm or program to correct it? This may be a Windows
> > versus linux thing.  See attached listing...
> >
> 
> The high order bits are incrementing too quickly. I will check in a
> bit, but I think you should parse them into epoch time and flip the
> endianness.
> 
> What is the brand and model of your cellphone so I can avoid all
> products from that company?

  Correction; the OS is not Windows or Android, but rather KaiOS.
This is an Alcatel Go Flip.  It gets bad reviews from people used to
smartphones who expect easy-to-use wifi, bluetooth, email, and web
browsing.  The camera is mediocre too.  I use the Go Flip mostly as a
phone... dohhh.  I like it because it's luddite and it has...

* a physical keypad
* a slot for a user microSD card.  Media files, e.g. photos, can be
  pointed to go to my 32 Gig card.
* a user-replacable battery.
* a functional FM radio.  For an antenna it needs to have ear/head
  phones plugged into "the jack they didn't have the courage to remove".
* no Google Garbage constantly running in the background, so the battery
  lasts 10 or 11 days on standby.
* the option to take any available usable frequency band, or to force 2G
  or 3G or 4G/LTE.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] KDE reboot not preserving running applications

2018-08-28 Thread Andrew Udvare


> On 2018-08-28, at 18:24, Daniel Frey  wrote:
> 
> On 08/28/18 02:57, Peter Humphrey wrote:
>> Hello list,
>> 
>> After a reboot I get "Too many clients" from the remote krells, the local 
>> krell is absent (and if I restart it it comes up in the centre of the 
>> screen) and Firefox attempts to run two instances. I have to pkill the lot 
>> and start them again.
>> 
>> If I stop these programs before rebooting, all is well when I restart them 
>> later, so I suspect the KDE/plasma setup is the guilty party.
>> 
>> I've reinstalled the complete system on bare silicon, created new accounts 
>> for myself, and anything else I can think of, just to be sure that I have 
>> nothing untoward hanging about.
>> 
>> Is anyone else having this problem?

Was it ever perfect? I have given up on relying on this feature especially 
since Chromium does not even launch after logging in again (has not happened in 
a long time). I just have keyboard shortcuts set up to get things back to how I 
want them (tiled in various ways, like 50% width, 25% width/height 
top-left/bottom-left/..., etc).

-- 
Andrew


Re: [gentoo-user] KDE reboot not preserving running applications

2018-08-28 Thread Daniel Frey
On 08/28/18 02:57, Peter Humphrey wrote:
> Hello list,
> 
> Since about the time of the last batch of plasma upgrades (I forget whether 
> it was applications, frameworks or Qt), every time I reboot the box from the 
> KDE reboot dialogue, when I log in again I get duplicated apps and others 
> with forgotten places and sizes.
> 
> The attached screenshot shows a desktop with an empty KMail ready to receive 
> imported messages and generally get going, together with gkrellm showing 
> three computers.
> 
> After a reboot I get "Too many clients" from the remote krells, the local 
> krell is absent (and if I restart it it comes up in the centre of the screen) 
> and Firefox attempts to run two instances. I have to pkill the lot and start 
> them again.
> 
> If I stop these programs before rebooting, all is well when I restart them 
> later, so I suspect the KDE/plasma setup is the guilty party.
> 
> I've reinstalled the complete system on bare silicon, created new accounts 
> for myself, and anything else I can think of, just to be sure that I have 
> nothing untoward hanging about.
> 
> Is anyone else having this problem?
> 

I've had the problem where it doesn't open any remembered windows at
all. I remembered this after I read this message.

I've also had the weird bug(?) resurface where it asks me twice for a
lock screen password. Some time ago I fixed that with an `emerge -e
--keep-going @world` but am waiting for cooler weather to let my PC chug
through that again.

Dan



Re: [gentoo-user] KDE reboot not preserving running applications

2018-08-28 Thread Peter Humphrey
On Tuesday, 28 August 2018 11:51:04 BST Neil Bothwick wrote:
> On Tue, 28 Aug 2018 09:57:49 +, Peter Humphrey wrote:
> > Is anyone else having this problem?
> 
> I can't answer for everyone, but I'm not.

I was sure I'd have heard all about it if anyone had been, but it was worth 
asking anyway.

I would suspect hardware, but this is all I have to go on:
1.  Smartd has been running regular tests on this NVMe disk and not 
reported anything.
2.  I've now changed the partition layout to ensure I was using new 
silicon; I shrank the /boot partition from 2G to 0.5G, so all the other 
partitions started 1.5G earlier on the disk.
3.  During all the reloading from an external drive I found a suspect USB 
port. I also noticed the UEFI startup process flickering the cursor around 
the screen before displaying the list of kernels. I haven't used that USB 
port since, and the flickering has subsided.
4.  I can't imagine it's a memory failure because of the repeatability of 
the problems.

So, things it isn't: memory, disk, power supply, software (identical USE 
etc. to before the problem appeared) - anything that would cause random 
errors.

The only other thing I can think of to do is to combine the first two 
partitions into one: that is, the empty partition for the UEFI and the VFAT 
/boot. You can see, though, that I'm reduced to clutching at straws.

-- 
Regards,
Peter.






Re: [gentoo-user] Cellphone VFAT datestamps versus linux datestamps

2018-08-28 Thread Mike Gilbert
On Mon, Aug 27, 2018 at 10:48 PM Walter Dnes  wrote:
>
>   So I went to an event on Friday August 24th, and snapped some pics on
> my cellphone.  Let's just say the datestamps were ridiculous.  Is there
> a conversion algorithm or program to correct it? This may be a Windows
> versus linux thing.  See attached listing...

A tip: gzipping a 7 KB text file before attaching it is not
particularly useful and makes it more difficult to view. If it were a
plain text attachment, I could just open it in Gmail without leaving
my web browser.



Re: [gentoo-user] KDE reboot not preserving running applications

2018-08-28 Thread Neil Bothwick
On Tue, 28 Aug 2018 09:57:49 +, Peter Humphrey wrote:

> Is anyone else having this problem?

I can't answer for everyone, but I'm not.


-- 
Neil Bothwick

Advanced: (adj.) doesn't work yet, but it's pretty close. See: bug,
glitch.


pgpLSbPjSBY69.pgp
Description: OpenPGP digital signature


[gentoo-user] KDE reboot not preserving running applications

2018-08-28 Thread Peter Humphrey
Hello list,

Since about the time of the last batch of plasma upgrades (I forget whether it 
was applications, frameworks or Qt), every time I reboot the box from the KDE 
reboot dialogue, when I log in again I get duplicated apps and others with 
forgotten places and sizes.

The attached screenshot shows a desktop with an empty KMail ready to receive 
imported messages and generally get going, together with gkrellm showing three 
computers.

After a reboot I get "Too many clients" from the remote krells, the local krell 
is absent (and if I restart it it comes up in the centre of the screen) and 
Firefox attempts to run two instances. I have to pkill the lot and start them 
again.

If I stop these programs before rebooting, all is well when I restart them 
later, so I suspect the KDE/plasma setup is the guilty party.

I've reinstalled the complete system on bare silicon, created new accounts for 
myself, and anything else I can think of, just to be sure that I have nothing 
untoward hanging about.

Is anyone else having this problem?

-- 
Regards,
Peter.