44 karma · joined Jun 26, 2011 (15y ago) · 57 submissions
comment 9y ago · link · parent
The project was late and there was a daily-charge penalty clause in the contract with the customer, a very large company. A long enough delay could wipe out all the profit from the project. So engineering management told the programmers to suppress all signs of runtime bugs, no error messages, no halts, just slog on, bugs and all.
I objected, nobody paid attention. For my sensor, I had it scream bloody murder (on the diagnostic console) for every runtime problem it found. So I could fix it. The rest of the team followed instructions.
My unit was debugged, up and running, a year before everybody else. If the whole project would have been ready, the profit would have been reasonable. In a whole-team meeting,near the end, I asked the testing team if they had found any bugs in my unit. They asked "What's that?". They didn't even know its name. Suddenly, I was a hero.
comment 11y ago · link · parent
See it here: http://careferencemanual.com/, at its home page.
Or at Amazon here: http://www.amazon.com/Reference-Manual-5th-Edition/dp/013089....
Turn to this book when you have questions. The authors are Harbison and Steele. If you become a C programmer, you will want and need this book. So you may as well get a copy now.
Another (more advanced) book is The C Puzzle Book.
http://www.amazon.com/The-Puzzle-Book-Alan-Feuer/dp/02016046....
It's older and I'm not sure it's totally up-to-date with the latest version of C. But it's still very valuable. If you finish this book, you will be a C ninja, and it isn't too hard.
K&R is outdated, in my opinion, because it is too skimpy.
comment 12y ago · link · parent
Compiled languages are put together to let the programmer work harder to create programs that have some kind of high performance. So the end product can be quicker, even if it more expensive to produce.
Only a few languages try to bridge the gap. Most notably Go. Go is compiled but is also set up to be easy to use. The result is a nice mixture of good performance and ease of programming. See golang.org.
comment 12y ago · link · parent
In Israel, there are Moslem and Druze cops, soldiers, judges, doctors, nurses, and so on. If peace ever breaks out, things will improve.
The rules in Moslem societies are terribly discriminatory. Look up the history and meaning of the word Dhimmi. Non-Muslims cannot testify in court and cannot even visit the city of Mecca.
One of the reasons a Jewish State was established is that Islam forbids equality between Muslims and non-Muslims. Other reasons, of course, involve Europe and Christendom.
comment 12y ago · link · parent
Sometimes I boot the Windows-7 partition.
My spinning rust is a 500 GB drive.
How you should buy your machine also depends on what country you are in. Local suppliers often give much better support than mail-order.
comment 12y ago · link · parent
But if the NSA or any competent government targets you as an individual, no password manager can help you. TrueCrypt might help, but even that has vulnerabilities.
comment 12y ago · link · parent
In the years since, I've seen primes, rationals, irrationals, Mandelbrot, and all manner of weird structures popping up out of what seemed like nothing.
How did this happen? And who put all that stuff in there?
comment 12y ago · link · parent
Blogging is free, so they really spending billions on television? Have you heard lots of TV ads denying warming?
I'm skeptical about the "Billions" spent by the rich deniers. We're told they hide their funding, using big money. So how were they found out?
Could be true, of course. I just want some evidence. And I want to know who are the public figures getting all that dough.
comment 12y ago · link · parent
2. I recently have been spending time learning and using the Go language from Google. It has almost no facilities for booting new languages. Nowadays that's called building a DSL. The thing is, Go is very useful, efficient, and easy to learn. Plus, it has an excellent system for concurrent and parallel programming. They explicitly decided against building in facilities for DSLs, as they are seen as making systems hard to understand.
Alan Kay wasn't wrong, he had a particular point of view. To me, today, Kay's view seems old-fashioned compared to Go. Both Go and Kay's OOP are very sophisticated. In very different ways.
comment 13y ago · link · parent
But you might find coming up to date on PHP easier, since you already know an old version of it.
There are many more coders available for PHP than Go. But Go programmers on average are higher in quality because the drudges and blubs don't bother learning new languages.
Recently one of my hosting providers sent me a notice that my account was being transitioned to a new version of PHP. That can't happen with a compiled language like Go, since the none of the language itself goes up on the website, only the executable program binary.
I don't know much about Node.js...
comment 13y ago · link · parent
Go development is fast, because the language is simple and it compiles very quickly.
Once you've made it, you certainly don't want to recode. Although, of course, if you've super-made it, you can just get more hardware. But even the largest web companies can run into the performance bottleneck. Like Google, apparently.
The Go Authors say one of the motives for building Go was the very long compile times of building C++ apps for large-scale web development. One thing they mentioned in particular was the large compile times due to processing and reprocessing of #include files. We know Microsoft ran into the same problem because they put Pre-Compiled Headers (PCH files) into their C family tools. Go has an import facility that prevents the problems of the #include file design.
Go is trying to hit the sweet spot for large-scale development. Go is by no means the only one, of course.
Any of you guys know how well .NET does in compiling big web-scale applications? I don't.
comment 13y ago · link · parent
Just to read it and say what it did. This eliminated the vast majority of the applicants:
void strcpy(char x, char y) { while(x++ = y++); }
comment 13y ago · link · parent
Best Software Writing: http://www.joelonsoftware.com/articles/BestSoftwareWriting.h...
Last resort: Bring a sleeping pill and sleep through the flight.
comment 13y ago · link · parent
If you've got time and money to spare, and want to improve the editor you produce (not just use) then learn from the $300 SlickEdit editor. It does a lot of things right. And there's a go package for it.
comment 15y ago · link · parent
History of electronic warfare -- very surprising, recently declassified stuff. Plus the history of Silicon Valley itself, from a pro-valley perspective.