Slashdot is powered by your submissions, so send in your scoop


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: The ultimate ugly hack? (Score 5, Insightful) 264 264

Fast inverse square root (sometimes referred to as Fast InvSqrt() or by the hexadecimal constant 0x5f3759df) is a method of calculating x1/2, the reciprocal (or multiplicative inverse) of a square root for a 32-bit floating point number in IEEE 754 floating point format.

Anybody got any better Ugly Hacks to share?

Comment: Re:Learning programming through motivation. (Score 1) 315 315

Gosh, in my day proto-programmers would quibble those facts:

"But I never drink water, only Jolt cola, yet I'm still alive!"

"But I wager that I can go longer than 7 days with water - Soup is a food, so food alone it is for me"

"Is an ice cube food or water - it is after all a solid", quickly followed with "well, I'ld like to see you last longer than 7 days on just steam".

"Can I drink from the dehumidifier i my room? Can I use evaporation to purify my urine?"

"what do you mean 'and' in 'without water in 7 days, and without food in 14 days? Don't you mean or? After all you can only die once"

"Sorry Dad, I've learnt how to pick locks at the geek club - do you want me to show you?"

"But If you eat a lot of fruit and vegetables, you can replace lost moisture from just your food alone, and never need to drink" ....

Comment: The obvious answer (Score 4, Insightful) 488 488

Could I contribute while mountain-biking? Could I contribute by ballroom dancing? Could I contribute while driving miniature steam engines in the park on Sundays? Could I contribute while acting in local Shakespeare plays? Could I contribute while woodworking? Could I contribute by going to the movies?

It is simple, most people have hobbies that they enjoy spending their spare time on.

Just because some people have a passion for Open Source and others find utility in it doesn't impart any sort of onus to assist development. Isn't that the ethos of Open Source - you can use it with no strings attached?

You might as well ask the opposite - Why are there so few FOSS coders just dropping in at rest homes to talk to the elderly? Why are no FOSS coders painting murals in public spaces? Why are no FOSS coders picking up rubbish in the park? Why are no FOSS coders building mountain bike trails in the weekend?

Comment: Dragon book. (Score 1) 223 223

If you only want to carry one slim book, I would recommend "Compilers: Principles, Techniques, and Tools" by Alfred V. Aho, Monica S. Lam, Ravi Sethi, and Jeffrey D. Ullman. It might be old skool, but there is sure to be enough ideas in there to keep you busy on cold nights.

Comment: Well done team! (Score 1) 31 31

I've had a few short chats with one of the members of the team, and the tech is simply gobsmackingly droolly. The data bandwidth required for readout from the sensors alone is massive - 300 fps of 4k video, even without deep colour is 20 x that of 1080p.(around 60Gb/s).

Congratulations for what has been years of effort!

Comment: Been there, done that.... (Score 2) 191 191

We had a 7.1 10 kms (6 miles) down the road...

We had plenty of food and water, we were a bit cold as we didn't want to light the woodburner until we checked it out properly. Had a nice BBQ with the neighbours and enjoyed a bit of quiet time and early nights as power was out for three days.

It hit at 4:35 am. However I still don't sleep approriately attired for running out of the house in the night, nor do I have shoes by the side of my bed for walking over broken glass. Most probably the two most important lessons right there (oh and don't put your bed beside a brick chimney, not that we do...).

Comment: Re:Limited utility. (Score 1) 136 136

Sure, but it is a big bonus for people who need a few custom periherals and a nice, open, stable controller with a good toolchain.

Video processing? Audio processing? Driving oodles of servos? Driving oodles of Neopixels? Does your design need really tight feedback loops (e.g. high speed power control)?

Work smarter, not harder, and be careful of your speling.