Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deno
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
751.
▲
by
deno
14y ago
Akamai handles that billion connections. “All” Reddit has to do is handle the database transactions. They’re also serving all signed in users directly, from a secondary cache, but this is the kind of traffic they already handle on regular b
752.
▲
by
deno
14y ago
> Notice what this doesn’t include? XML and JSON. Neither offers a native way to convey a hyperlink. Both XML and JSON offer standard ways to include hyperlinks. XLink[1] and JSON Schema[2], respectively. Not to mention you can include
753.
▲
by
deno
14y ago
Simple “reply (charging…)” would fix that. Javascript counter would be even better but let’s not hope for miracles :)
754.
▲
by
deno
14y ago
That’s dishonest. It’s a development prototype. Here’s a good overview and timeline: http://www.nikcub.com/posts/crunchpad-proof-obviousness-in-i...
755.
▲
by
deno
14y ago
If you don’t plan to maintain it, then it’s probably best to just archive the site by taking a static copy. Or sandbox the PHP process and give it read only access to the database and the file system before some random attacker messes it up
756.
▲
by
deno
14y ago
I know Linux is working on hibernating processes[1] and Windows 8 has made significant progress also. This would be cool feature for desktop as well, for example to integrate with KDE’s Activities. [1] https://ckpt.wiki.kernel.org/index.ph
757.
▲
by
deno
14y ago
AWS doesn’t have anything even remotely approaching Appengine Datastore in functionality and scalability. S3 is also inferior in functionality to Google Cloud Storage, e.g. eventual consistency, no atomic operations. That’s actually a big d
758.
▲
by
deno
14y ago
Link to a link? :) magnet:?xt=urn:btih:30cf16d23446f98217c67b3b8840fbdb21ba1c9e
759.
▲
by
deno
14y ago
You can do quite a bit in Linux with CGroups and SELinux. Projects making good use of those are Fedora, Systemd and Chromium browser.
760.
▲
by
deno
14y ago
I knew that JVM had some advanced GCs available, including few commercial ones, but I didn’t know about Java RTS. That’s great.
761.
▲
by
deno
14y ago
Erlang still uses GC, however because there is no shared memory (except ETS[1]), the GC can run independently for each process. This is eons better than JVM[2], with all the benefits of not having to worry about manual memory management. It
762.
▲
by
deno
14y ago
Obviously that approach is fine enough for many things. Before node.js, people have written those kinds of servers in Twisted or Netty, with great results. Netty based framework powers, for example, much of Twitter. I was just explaining ho
763.
▲
by
deno
14y ago
The article is not about the MLOC. And anyway, that 2.5 MLOC of Erlang includes all kind of libraries, like Mnesia, an entire database application.
764.
▲
by
deno
14y ago
> The JavaScript context is running an event loop which most likely must perform locking on its message queue and callbacks to async operations are queued for execution on a future tick of this event loop. All of this seems very preempt
765.
▲
by
deno
14y ago
The 2.5 MLOC of NASA code is mostly generated. I’m not really sure what point are you trying to make…?
766.
▲
by
deno
14y ago
> It's an interpretter, which means much slower execution Only BEAM is an interpreter, there are HiPE and ErlLLVM backends as well. You can also write NIFs — functions in C that can be executed within VM.
767.
▲
by
deno
14y ago
I’m not the author, so let me quote: > It turns out that many of the traits of Erlang systems overlap with that of the Rovers. But I don't think this is a coincidence. The software has certain different properties — the rovers are hard
768.
▲
by
deno
14y ago
Erlang could use a bit more isolation as well. For example limiting the mailbox size and limiting the memory available to a single process. Memory limits would be great to give you some ease of mind when reusing libraries for processing inp
769.
▲
by
deno
14y ago
The figure is just mentioned to say that the code base is quite complex. And what are you talking about? It’s not a rant on anything. Certainly not the 2.5 MLOC.
770.
▲
by
deno
14y ago
> STM is nice for its "magic", but message creates very well defined, documented interfaces between code. The author’s previous post has a good overview of how message passing contributes to that as well. http://jlouisramblings.blogspo
771.
▲
Erlang programmer’s view on Curiosity Rover software
(jlouisramblings.blogspot.com)
196 points
by
deno
14y ago
|
78 comments
772.
▲
by
deno
14y ago
I meant to write EventTarget API. Yep. However, the implication is that it’s based on the DOM event model. So, for example, you have three stage processing: 1) capture phase, 2) target phase, and 3) bubble phase. YUI 3 has its own API, bu
773.
▲
by
deno
14y ago
> BTW. In the browser the native and well documented way of dealing with callbacks is by using the EventTarget API Closure Library uses EventTarget for their event handling system[1], thus making it work exactly the same for browser eve
774.
▲
by
deno
14y ago
EU laws give you some protection. Still, this is why I don’t use it for backups myself. Their technology is quite good though, it uses similar snapshot based model that Tarsnap does and has very small footprint, considering. Hopefully they
775.
▲
by
deno
14y ago
Custom backups using Duplicity+GPG to multiple clouds. Wuala[1] if you want something working out of the box. I have 18.5 GB of free storage just from coupons found with little Googling[2]. [1] https://www.wuala.com/ [2] http://static.de
776.
▲
by
deno
14y ago
I think they meant the latter. Why is it /etc instead of, perhaps more obvious, /config or /settings?
777.
▲
by
deno
14y ago
That’s nice, shame it’s not maintained. On the other hand, one the goals of XDG is to differentiate between application cache, actual settings etc. If FooApp stores 2GB cache file in .foo, redirecting it blindly to .config just makes my bac
778.
▲
by
deno
14y ago
There are probably more than one Harry’s Chips in the world. This ambiguity can be solved, actually. Use hash-based addresses for linking content and to resolve IPs, and use human readable dns names as bookmarks. For example: Harry’s
779.
▲
by
deno
14y ago
There’s always more to consider than just $/referral. For example blinking, pop-up ads might be more lucrative in the short term, but in the long term could turn to be too annoying, and end up putting off some users. The choice of monetizat
780.
▲
by
deno
14y ago
Because of their supporting/co-sponsoring SOPA. I’m not expressing an opinion here, it’s just probably what sturob is referring to. Or their CEO killing elephants, or their sexist advertising. Yeah, I guess there’s plenty to choose from fro
More ›