Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
augustl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
augustl
12y ago
Indeed. My static blog hosted on Linode behind Apache has survived a HN frontpage entry three times now. If I have to use HTTPS, does that mean I need a beefy server with lots of entropy?
212.
▲
by
augustl
12y ago
And imagine if you had a game that generated terrain by erosion + tectonic plate movement, and you got to see a visualisation of that as it was generating :) 2 billion years of geological activity, simulated in a minute-scale.
213.
▲
by
augustl
12y ago
There's an acknowledgement in the README. https://github.com/facebook/immutable-js/blob/fdc4005fe30286...
214.
▲
by
augustl
12y ago
MyComponent({realProps: immutable props}) comes to mind.. In a flux application you typically always ask flux for the state, though, so it becomes this.getFlux().myThing.
215.
▲
by
augustl
12y ago
The main difference between Flux and MVC is the unidirectional data flow. In MVC, a controller updates a model which updates a view which again talks directly to a model that might invoke another view which again might cause a model update,
216.
▲
by
augustl
12y ago
No screenshots in the readme is a bit of a bummer for adoption, at least for this particular picky individual :)
217.
▲
by
augustl
12y ago
Completely agree :) In some cases I prefer to wrap it in an aptly named function, but in other cases I prefer the whole algorithm to be in a single function, making comments a very useful tool for "naming".
218.
▲
by
augustl
12y ago
I wonder where the idea comes from that people that write code that's hard to understand, will write comments that are easy to understand.
219.
▲
by
augustl
12y ago
Good point, it would make sense to disable the feature for mutable references like "master".
220.
▲
by
augustl
12y ago
Which database? A JDBC one?
221.
▲
by
augustl
12y ago
This is all I could find: > At the SoC level, APM plans to integrate many of these CPU cores onto a single package. The range is officially 2 - 128 cores, although I expect we'll see something more reasonable than the extremes. Feom
222.
▲
by
augustl
12y ago
Norway :) The road sign reading works well anywhere. Adaptive cruise control works best on highways - it's cruise control, after all. When doing a 90 degree turn, for example, it doesn't "know" what's happening. It
223.
▲
by
augustl
12y ago
What kind of race conditions are you talking about? Something along the lines of memory access that causes the CPU caches to be purged a lot more than they normally would? Genuine question, I know little about CPU cache internals :)
224.
▲
by
augustl
12y ago
Someone in this thread mentioned that Volvo let anyone use their patented seat belt design. So there's at least a tiny speck of light in the end of the tunnel :)
225.
▲
by
augustl
12y ago
I wonder how lane detection works. I've had it warn me in a situation where there was no markings on the asphalt due to recent construction work, so it seems to be more clever than just detecting when you drive over markings.
226.
▲
by
augustl
12y ago
I own a 2013 XC60 and as a programmer, I'm amazed at how well their current automation works in practice. The car reads road signs to show me the current speed limit in the dash (actual OCR, not a GPS database). It works amazingly well
227.
▲
by
augustl
13y ago
The graph might be a little bit misleading at first glance. There are separate entires for Windows 8 and Windows 8.1. Combined, they still don't beat Win XP, though.
228.
▲
by
augustl
13y ago
That link describes a method for translating a URL where a static version of a dynamic page can be found. So you still have to serve and generate static content yourself. So we're not quite there yet. But seems like at least Google has
229.
▲
by
augustl
13y ago
Calling out to Node is certainly not the end of the world :) I just wanted so show how convenient it is to do when you're on a JVM anyway. Only actual benefit is the API part, i.e. not doing remote calls, just invoke your API in procrs
230.
▲
JDK8 + Facebook React: Rendering single page apps on the server
(augustl.com)
118 points
by
augustl
13y ago
|
29 comments
231.
▲
by
augustl
13y ago
Qemu comes pretty close. You can dump register and memory values, crashes outputs useful dumps, etc.
232.
▲
by
augustl
13y ago
There's a Node.js implementation on top of Nashorn, the JS engine that comes with JDK 8 https://avatar-js.java.net/ Pretty cool stuff! I hope someone makes an easy way to render FB react modules on the server without r
233.
▲
by
augustl
13y ago
All of YouTube is down for me (in Norway). Getting 502 Server Error on both front page and video view page.
234.
▲
by
augustl
13y ago
I've only used middleman, but it's definitely a inversion of control framework. Your code will somehow magically get invoked, and there's a lot of stuff going on under the hood. In statis, you create your own plain Ring app a
235.
▲
by
augustl
13y ago
I recently replaced Win7 with Win8 on my gaming rig. I get faster boots, and more disk space for games on my SSD. There's a setting for going to desktop instead of Metro when no apps are open. So the only time I use metro is when I mis
236.
▲
by
augustl
13y ago
I once skimmed Armstrong's dissertation, it was mentioned how the JVM is bad for fault tolerance, because it's possible for a run-away thread to break the entire VM. Apparently, the Erlang VM manages isolation better, in such a wa
237.
▲
by
augustl
13y ago
Transients in Clojure is an added feature to the built in immutable values. Essentialy, they are immutable. But Clojure does have mutable-ish versions you can use to build up a semi mutable transient, and when you're done, convert it i
238.
▲
by
augustl
13y ago
The makefile builds a virtualbox image. But it doesn't do anything interesting yet. I didn't submit to HN, the project is a long way away from being demoable and testable.
239.
▲
by
augustl
13y ago
I'm an Erlang noob, but afail the model is pretty different. I'm imagining a shared-everything system, where immutable values are freely passed around with no copying. Erlang is more of a shared-nothing system. Also, Erlang requir
240.
▲
by
augustl
13y ago
Have considered writing the entire kernel in Rust. Haven't considered using it for the system language, will defenitely consider that.
More ›