blog.florindinu.ro
August | 2010 | Daniel Dinu
http://blog.florindinu.ro/2010/08
Rants from the trenches of software development. Monthly Archives: August 2010. If you’re a programmer and don’t see the usefulness and coolness of functional programming, then read this post: Putting the fun in functional programming. The author does a better job of explaining some things than I could ever do. This entry was posted in Posts. August 24, 2010. Deploy an SSD cloud server in 55 seconds and get $10 for free. Want to know what your customers think? User friendly, modern, easy to use surveys.
blog.florindinu.ro
February | 2010 | Daniel Dinu
http://blog.florindinu.ro/2010/02
Rants from the trenches of software development. Monthly Archives: February 2010. A lot of updates. Today I fired up Windows and it greeted me with a strange message “Applying update operation 4840 of 13805”, WTF? This entry was posted in Posts. February 16, 2010. Deploy an SSD cloud server in 55 seconds and get $10 for free. Want to know what your customers think? User friendly, modern, easy to use surveys. MailChimp Integration for WordPress. Let your readers subscribe to your MailChimp email lists.
blog.florindinu.ro
Posts | Daniel Dinu
http://blog.florindinu.ro/category/posts
Rants from the trenches of software development. Summing floats, more than one way to do it. So you summed some floats and have some unexpected results? Don’t be afraid, it’s normal. When summing floats you have errors, not only because some numbers can’t be represented exactly as a float, but you get errors from differences in magnitude too. 123456 0.12345 - - - - - - 12345.7 2345. 123456 0.05123 - - - - - - 12345.6 5123. 005123 - - - - - - 12345.6 5123. So what can you do? You can use Kahan summation.
blog.florindinu.ro
January | 2010 | Daniel Dinu
http://blog.florindinu.ro/2010/01
Rants from the trenches of software development. Monthly Archives: January 2010. Making a little progress. I’ve had some time over the holidays to work on the ErlRay. Project and I finally got a simple ASE parser working, I also finished writing the ray-triangle intersection code and I did some major refactoring of the tracer code. The project is still only shooting the first rays, no reflections, no materials, no refractions, just a basic ray caster. Enough talk, here is the latest render:.
blog.florindinu.ro
January | 2011 | Daniel Dinu
http://blog.florindinu.ro/2011/01
Rants from the trenches of software development. Monthly Archives: January 2011. Message dispatching in C (Part 1 – Type lists). In the previous post. We’ve seen how not to do message dispatching. Today we’ll build a type list. If you remember we had an enum that held some sort of message id’s that can be used to select the proper class to unserialize on the receiving side. But what if you could do this:. Messages = [MessageA, MessageB, MessageC] socket.write(Messages.IndexOf(MessageB). January 31, 2011.
blog.florindinu.ro
December | 2009 | Daniel Dinu
http://blog.florindinu.ro/2009/12
Rants from the trenches of software development. Monthly Archives: December 2009. Ray-tracer produced it’s first render this weekend 🙂. Yup, it’s a plane, no materials yet, no ilumination and only bounding boxes are rendered. For workink on it only in the weekend, and not even every weekend, it’s pretty good progress. I’m proud of this render, now I’ll just have to implement a .3DS parser and move on. This entry was posted in Posts. December 21, 2009. This entry was posted in Posts. December 12, 2009.
blog.florindinu.ro
July | 2011 | Daniel Dinu
http://blog.florindinu.ro/2011/07
Rants from the trenches of software development. Monthly Archives: July 2011. Summing floats, more than one way to do it. So you summed some floats and have some unexpected results? Don’t be afraid, it’s normal. When summing floats you have errors, not only because some numbers can’t be represented exactly as a float, but you get errors from differences in magnitude too. 123456 0.12345 - - - - - - 12345.7 2345. 123456 0.05123 - - - - - - 12345.6 5123. 005123 - - - - - - 12345.6 5123. So what can you do?
blog.florindinu.ro
Daniel Dinu | Rants from the trenches of software development | Page 2
http://blog.florindinu.ro/page/2
Rants from the trenches of software development. Message dispatching in C (Part 1 – Type lists). In the previous post. We’ve seen how not to do message dispatching. Today we’ll build a type list. If you remember we had an enum that held some sort of message id’s that can be used to select the proper class to unserialize on the receiving side. But what if you could do this:. Messages = [MessageA, MessageB, MessageC] socket.write(Messages.IndexOf(MessageB). And on the receiving side:. January 31, 2011.
blog.florindinu.ro
Daniel | Daniel Dinu
http://blog.florindinu.ro/author/admin
Rants from the trenches of software development. Just another web developer. Summing floats, more than one way to do it. So you summed some floats and have some unexpected results? Don’t be afraid, it’s normal. When summing floats you have errors, not only because some numbers can’t be represented exactly as a float, but you get errors from differences in magnitude too. 123456 0.12345 - - - - - - 12345.7 2345. 123456 0.05123 - - - - - - 12345.6 5123. 005123 - - - - - - 12345.6 5123. So what can you do?
blog.florindinu.ro
June | 2011 | Daniel Dinu
http://blog.florindinu.ro/2011/06
Rants from the trenches of software development. Monthly Archives: June 2011. How to use Xdebug from behind a NAT. I don’t work with PHP any more, except when I have to maintain a huge code-base that runs only on a specific version of PHP, on a specific version of a specific Linux distro and from a specific directory using a specific… you get the picture. Back to Netbeans (yes, in PHP the debugger connects to the IDE) and for a year I kept ignoring the obvious: ssh. Like port 9000 and stuff. June 15, 2011.