The Following User Says Thank You to Majicwon For This Useful Post: | ||
![]() |
2009-10-10
, 22:15
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#82
|
![]() |
2009-10-11
, 00:06
|
|
Posts: 114 |
Thanked: 12 times |
Joined on Jul 2007
@ Somewhere, most of the time.
|
#83
|
Anyone with the inside scooper if we'll be seeing a Beta 5?
I'm kind of worried this time around about the expiration date.
![]() |
2009-10-11
, 00:40
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#84
|
![]() |
2009-10-12
, 10:25
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#85
|
If someone here is familiar with options on maemo's date command and can let me know what it is I should be able to write a shell script for it. If there are any volunteers that would be able to write this script I say go for it
![]() |
2009-10-12
, 10:47
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#86
|
![]() |
2009-10-12
, 14:22
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#87
|
![]() |
2009-10-12
, 15:06
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#88
|
That it not a good idea at all. If you change the date like that you will change the date for the whole device, and if you do there are a lot of things that will just stop working.
Many parts of the system (particularly those related to graphics) work something like this:
while (forever) { gettimeofday(); if ((now - then) greater than 5 minutes) then do_something }
If you set the date back then the above will hang forever. I know there's stuff like that in the X server, for example.
Instead, what you want to do is something much more elegant: You write a little library which provides the library calls to the system time functions. Then you use a wrapper script to start the application, but first setting the LD_PRELOAD environment variable to point to this library. It will override the time call(s) in the normal runtime library.
Fortunately this has already been done for you, or at least when someone ports the datefudge or the faketime Debian packages. This can just possibly be done by a simple recompile.
However, if the next beta comes with an expiration date I'm done with GVM, I won't bother with it anymore - I'm out.
![]() |
2009-10-13
, 00:05
|
|
Posts: 114 |
Thanked: 12 times |
Joined on Jul 2007
@ Somewhere, most of the time.
|
#89
|
That it not a good idea at all. If you change the date like that you will change the date for the whole device, and if you do there are a lot of things that will just stop working.
Many parts of the system (particularly those related to graphics) work something like this:
while (forever) { gettimeofday(); if ((now - then) greater than 5 minutes) then do_something }
If you set the date back then the above will hang forever. I know there's stuff like that in the X server, for example.
Instead, what you want to do is something much more elegant: You write a little library which provides the library calls to the system time functions. Then you use a wrapper script to start the application, but first setting the LD_PRELOAD environment variable to point to this library. It will override the time call(s) in the normal runtime library.
Fortunately this has already been done for you, or at least when someone ports the datefudge or the faketime Debian packages. This can just possibly be done by a simple recompile.
However, if the next beta comes with an expiration date I'm done with GVM, I won't bother with it anymore - I'm out.
![]() |
2009-10-13
, 09:57
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#90
|
Yeah, this is why I was thinking of perhaps rolling back the year and just leaving it like that.
I'll deal with the rest of the fallout from doing that if needed, but without GVM, I'll need to carry around another handheld.
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
Lol, guess I'm a noobier (is noob a word? Is noobier a word?) user than I previously thought. I'd been attempting to use an older method to install epocrates (attempting to do it directly from the internal SD card) which had worked for me before. Hotsyncing worked like a charm, though. Thank you!