You are not logged in.
Offline
good! ^^ I'm so relieved... almost couldn't sleep yesterday
"Chuck Norris can compile syntax errors."
Offline
ohnonot wrote:here's my strace (compiled with -std=gnu99):
Way over my head ... what's it doing?
I have no idea It was just the mode that was exibiting less compile errors...
I think it's like a "dialect", you can't declare a variable inside a for loop in the standard for example (but i really only became aware of them when the compiler told me to use one of them).
later in the ##c irc channel I read (on their topic) that c11 was the standard now. so I'm using -std=c11 to comiple it now. but gnu99 c99 and gnu11 ll compile this without warnings now. I guess I have to read about it too so it doesn't get me again in the future.
Last edited by pingu (2016-01-24 20:07:32)
"Chuck Norris can compile syntax errors."
Offline
Inspecting g->ghostsn shows it has a value of -7712:
(gdb) p g->ghostsn $1 = -7712
Have fun!
Yeah... that was related. it was crashing because I was checking whether the ghosts array was null, instead of checking if ghosts was 0. (and I hadn't initialized that variable with = 0, so it was giving crazy numbers in all setups despite my main system, which assigned 0 to ghostsn and null to ghosts automagically). So after all, it was calling ghostsn =0 before putting into the builder, and using ghostsn instead of ghosts to check if the array was empty.
Thanks for the help!
Last edited by pingu (2016-01-24 20:02:58)
"Chuck Norris can compile syntax errors."
Offline
I'm tying to get eve online working with "playonlinux" it's getting on my nerves ^^
Offline
finally fixed it with a simple change
great, it compiles & plays now!
Offline
Digging the car out of the ice
-H
Digging out from winter storm (blizzard) Jonas...30 inches in my area...brutal. I took today off because my muscles are screaming and my hands and feet cramp easily. Trying to find someone to come out and clear the remainder of the driveway, but no luck so far.
Offline
hinto wrote:Digging the car out of the ice
-HDigging out from winter storm (blizzard) Jonas...30 inches in my area...brutal. I took today off because my muscles are screaming and my hands and feet cramp easily. Trying to find someone to come out and clear the remainder of the driveway, but no luck so far.
I feel your pain, I got my torture over with yesterday. Here in North Jersey, we got slammed. Running out of room to dump the stuff! And worst of all, we have to play "musical cars" in the driveway since there's no street parking space. The only thing I can say is that I'm glad the snow was pretty light and fluffy. I've had to shovel snow/slush and that is really really a pain. literally.
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Replaced the battery in the car. Apparently a dead cell right when the snow hit.
-H
Replaced the battery in the car. Apparently a dead cell right when the snow hit.
-H
I had to walk to work last week, when the first frost of the year told me the car battery needed replacing!
ON TOPIC: I'm playing with procedural textures in Blender. It is a vast subject, and my brain can't hold it all in
Last edited by damo (2016-01-26 01:41:29)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
ON TOPIC: I'm playing with procedural textures in Blender. It is a vast subject, and my brain can't hold it all in
Oh god, do I know how that feels... 8.( 8.(
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
I finally managed to do something somewhat useful with the bustracking thing I was working on earlier. Just using google maps to get the route and mark where the buses actually are on the map with the data from the transit department.
https://github.com/genoob/rioBusJava/
I'm pretty glad I've done this. Funny thing is that I actually haven't needed to take the bus in more than a year, but I still like to play with it making all sorts of queries. Maps really entertain me .
eg: if I ask for a waking route the city across the bay, it tells me to go through the water. I guess it's safer than the highway bridge
Last edited by pingu (2016-03-11 14:50:04)
"Chuck Norris can compile syntax errors."
Offline
I work for Nokia, and my department does a lot of work for newer voice related calls and cell providers infrastructure. I'm currently working on getting a lot of the documentation for one of our products, the 7510 Media Gateway, written down for our team to use. Docs exist already, but they're all scattered and literally thousands of pages long. Trying to condense a lot of it, into an easily accessible "cheat sheet" type documents...
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
^ Sounds like more work than maintaining a broken wiki. Hope it goes well.
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
^ Sounds like more work than maintaining a broken wiki.
Hope it goes well.
I'd love to share the adobe .pdf file I have to parse though, cherry picking commands, and testing the syntax... it's 1096 pages. But I'm not sure if this is Nokia proprietary documents. The interface this machine uses is a custom build. It's like Linux, but very very specific to it's Media Gateway function. You know me, I've been digging around the custom scripts and programs that are on it... some very very professionally written scripting, a lot of it, is lost on me, as to what they actually are intended to do lol.
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Replacing fascia boards on my house, squirrels gnawed a hole in one and occupied my attic.
Why now nearing spring? Would seem they should have done that back in November, unless we are in for some real cold stuff still.
They are gone and don't have to listen to them running around my attic at night, I am partial to the little bastards and made sure they weren't hurt leaving.
Z
Offline
Replacing fascia boards on my house, squirrels gnawed a hole in one and occupied my attic.
Why now nearing spring? Would seem they should have done that back in November, unless we are in for some real cold stuff still.
They are gone and don't have to listen to them running around my attic at night, I am partial to the little bastards and made sure they weren't hurt leaving.
Z
hehe, "No squirrels were hurt during the replacing of these fascia boards"
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
eg: if I ask for a waking route the city across the bay, it tells me to go through the water. I guess it's safer than the highway bridge
I was out with a friend not long ago and his GPS told him to drive through a shopping mall. We took the long way around. I'm sure the shoppers would be a little upset if we had not.
“The university is well structured, well tooled, to turn out people with all the sharp edges worn off...." Mario Savio
"Protections for anonymous speech are vital to democratic discourse". Help enforce our right to free and anonymous speech by running a Tor relay.
Offline
I have a cheap Chinese Jellybean fondleslab (Allwinner ARM) that has a bit of horizontal stretch, so I've been working on the math to convert videos with the right aspect ratio to compensate. It's a 16:9 screen, but in pixels it's 800:480 (10:6), so a correction factor of 0.9375 is required, and since its native video player reduces videos wider than 720, appropriate aspect ratios (to apply a vertical "counter-stretch" if you will) are as follows:
NTSC (4:3) - 720:576 (I see the problem there. :8 )
NTSC (4:3) - 540:432
16:9 - 720:432
Anamorphic (2.39:1) - 720:320 (EDIT: actually this is 2.4:1, but close enough considering)
...so now I know what parameters to give ffmpeg when I want to take my vids with me on my slab.
EDIT: h264 encoding is soooo sloooow compared to mpeg4...much more reasonable file sizes for roughly similar image quality though...
Last edited by pvsage (2016-03-14 14:19:47)
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline