169 karma · joined Apr 9, 2012 (14y ago) · 73 submissions
comment 11y ago · link · parent
She wasn't there one morning and I asked where she was. She died - something to do with her kidneys and she didn't have health insurance.
Now the US gets to statistically ignore her death and claim it provides excellent health care to its citizens?
comment 11y ago · link · parent
Still, because of tooling, direct C++ interop and familiarity we would have stuck with C++. The killer feature that elevates Rust above everything else - and made us switch - is the borrow checker.
comment 11y ago · link · parent
However, Rust currently statically links in jemalloc - even when building a dynamic shared library. There is no easy way around it.
(because someone might ask: rustc -C prefer-dynamic dynamically links everything except jemalloc)
Having said that, I hope jemalloc gets linked externally soon so my code doesn't have to pay the memory penalty in each of my memory-constrained threads.
comment 12y ago · link · parent
I then gave it a shot in Firefox nightly and it seemed to work really well. This brings me joy.
I don't like to edit forms/documents on the web; it's a constant struggle against my muscle memory. Vim.js could be the start of something that could change that. Well done!
comment 12y ago · link · parent
I don't know what age group you're targeting but I found solving problems in this space gave me a great intuition for imaginary numbers; I found it quite interesting too. Heck, AC circuits are great real-world playgrounds for differential and integral equations - Laplace transforms too.
I've been fretting about how to help my kids get a better understanding of math for years. I've been bouncing between too simple and overly complicated for too long. :-(
I think I'm just going to mandate they spend some amount of time per week using Mathematica and going through some introductory book. At least they will taking baby steps in a direction better than youtube. Grumble...
So I've been fretting on which book. Any suggestions? Heh heh...
comment 13y ago · link · parent
Take this example containing functional composition and higher-order functions:
reduce(operator.add, 0, map(function(x) return x^2 end, range(n)))
LUA converts this into 10 lines of assembler (2 jumps). Also, the LUA compiler is directly generating SSE.
Anyone have any good benchmarks comparing simple functional examples in LUA with Clojure or Common Lisp?
comment 13y ago · link · parent
1. httpGet...
2. setImmediate() in a tight loop using 100% CPU until httpGet() returns
...
I'd rather not burn ~100% CPU for what could be a couple of seconds waiting for a slow web server (even if we're nicely burning it).
comment 13y ago · link · parent
2. Most alternative providers of the service die. The only ones that still provide the service must also give it away for free and leverage the service in some other way.
3. Google kills service.
Someone might try to fill the void, but why would they? Google might just provide the service again for free.
I wonder how much of the economy has been lost by giving away services for free. There's something wrong with the model where you can give something away for free so you can learn more about them to serve ads.
I remember a time when a certain government would buy a factory in another country, decrease prices to destroy all of the local competition and then lay off all of the factory workers and shut the factory down.
Interesting times for companies like Google.
comment 13y ago · link · parent
<quote> Judges will determine the number and amount of monetary prizes. Judges may determine that no prize will be awarded. </quote>
I've created a web-based calendaring and scheduling system that integrates with a number of cloud services including google calendar. It also works offline and provides a solid foundation for a lot of what they are asking for.
I'm passionate about calendaring and scheduling, and I've been heavily involved in this space for a long time. However, I just can't bring myself to task switch to this and risk 4 months of evenings and weekends when a judge could determine that no prize is to be awarded - or award some small pittance.
In my spare time I'm building a new product to spawn a new division in the fortune company I'm working for. My chances for providing a good stable life for my wife and children are far better at my current employer.
It saddens me to pass on this.