Notices


Reply
Thread Tools
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#991
Originally Posted by sixwheeledbeast View Post
I thought the file would help, it looked broken.
No time to play now but I'll try to fix later.
Thanks! And yeah, a quick check of the code shows that I'm not doing enough sanity checking of the cached data; once a bad tab value creeps in, it can end up corrupting all the rest of the cached values. I still don't know how the first bad value showed up, but I'll make sure that Pierogi is bulletproofed against this in the future.

What's "size=5" doing in there?
That's QSettings' very very strange way of managing "arrays" of data. They first create a grouping (like my "[favorites]" group), then prefix each following line with an index describing which "array entry" they belong to. And, to finish things off, they add a "size=" line to delimit how many array entries exist. As you can see, they can be fairly lax about the actual ordering of these lines in the file.
 

The Following User Says Thank You to Copernicus For This Useful Post:
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#992
Hi Copernicus.
Still getting the blank page here also. Whenever I go to another keyset other than the start-up (favorite) to another and then go back to the favorite again is when the blank screen occurs.
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.
 

The Following User Says Thank You to stickymick For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#993
Originally Posted by stickymick View Post
Still getting the blank page here also. Whenever I go to another keyset other than the start-up (favorite) to another and then go back to the favorite again is when the blank screen occurs.
Yeah, my apologies; it turns out I'm not properly initializing my settings data in certain circumstances. (Of course, when I tested it, I only hit a code path that _did_ properly initialize the data... I'm getting lax in my old age.) Anyway, I'll push up a fix asap!
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#994
Alright, another update is on its way into extras-devel, which should fix the uninitialized variable problem. I've tested it to make sure it works; but then, I tested the previous version too, so take that with a grain of salt. If problems persist, please tell me! Thanks.
 

The Following 13 Users Say Thank You to Copernicus For This Useful Post:
Scorpius's Avatar
Posts: 1,396 | Thanked: 2,796 times | Joined on Sep 2010 @ Caracas, Venezuela
#995
Hey I just installed your software and it's amazing. Wonderful application! I never thought the IR was powerful enough to keep a decent distance between the N900 and the devices you want to control, but it works alright!

Congrats.
__________________
Support Yappari (a Whatsapp client for the N900 only) - Donate
 

The Following 5 Users Say Thank You to Scorpius For This Useful Post:
Fatalist's Avatar
Posts: 141 | Thanked: 190 times | Joined on Feb 2012 @ Barcelona - Spain
#996
Hi Copernicus,

Do you think this could be done on Pierogi as an option in the cameras remote controls?

Using an N900 as a remote flash:


The code and how to for the application widget Shutter is explained here:

http://doitdifferent.wordpress.com/2...lash/#more-272

I tried to make it work but failed, no flash on my N900.
Thanks for Pierogi, is one of the softwares I use more frequently.
 

The Following User Says Thank You to Fatalist For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#997
Originally Posted by Fatalist View Post
Do you think this could be done on Pierogi as an option in the cameras remote controls?
Wow, never even thought about that. I suppose it would be possible; first, can you tell me if Pierogi's "Nikon ML-L3 Remote Keyset" works to control your Nikon? (If not, I'll need to take a look at "Shutter", and see what codes it uses.)

Hmm, looking at the "strobe-test" code, it doesn't look too hard... I'll give it a try. (I'll need to read up on how to control the N900's camera, though; I've really never tried that before.)
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Fatalist's Avatar
Posts: 141 | Thanked: 190 times | Joined on Feb 2012 @ Barcelona - Spain
#998
Originally Posted by Copernicus View Post
Wow, never even thought about that. I suppose it would be possible; first, can you tell me if Pierogi's "Nikon ML-L3 Remote Keyset" works to control your Nikon? (If not, I'll need to take a look at "Shutter", and see what codes it uses.)

Hmm, looking at the "strobe-test" code, it doesn't look too hard... I'll give it a try. (I'll need to read up on how to control the N900's camera, though; I've really never tried that before.)
I use Pentax and choosing the Pentax Remote Control F of Pierogi works ok with my K20D.
 

The Following 3 Users Say Thank You to Fatalist For This Useful Post:
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#999
Latest update is working as expected. Haven't extensively tested things yet but the black screen issue has ceased.

Like the idea as a remote flash.

:EDIT: As an afterthought. What are the chances of extending Pierogi to control robots?
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.

Last edited by stickymick; 2013-05-16 at 16:44.
 

The Following 3 Users Say Thank You to stickymick For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#1000
Originally Posted by Fatalist View Post
I use Pentax and choosing the Pentax Remote Control F of Pierogi works ok with my K20D.
Ah, right, I guess you don't have to use a Nikon with "Shutter" either.

Hmm. I've already been forced to put an entry in the "sudoers" list for Pierogi in order to access the /dev/lirc0 device driver for the infrared port; so it shouldn't be too much effort to also access the /dev/video0 device driver. I'm somewhat concerned about conflicts with other running apps; Pierogi's use of the IR device means that other IR apps can't use it at the same time (which, to my mind, is a fairly decent tradeoff). Monopolizing the camera device as well seems a bit more of an annoyance; I'll have to see how hard it is to acquire and release the device on demand.

(Yeah, I'm really still a novice at communicating with device drivers...)
 

The Following 3 Users Say Thank You to Copernicus For This Useful Post:
Reply

Tags
infrared, pasta, remote, remote control


 
Forum Jump


All times are GMT. The time now is 09:01.