Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rbranson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
421.
▲
by
rbranson
15y ago
Cool. Of course, the is-modified flags don't do much for large, idiomatic Ruby applications. As soon as anyone modifies Object, Class, or Fixnum (as seen in Rails), it goes right back to slow dispatch mode, which is why invokedynamic is so
422.
▲
by
rbranson
15y ago
Type annotation wouldn't do much for Ruby honestly. Most idiomatic Ruby code (i.e. loading Rails into the object space at all) would break any optimization type annotation would yield. There's no compiler, so guards would have to be inserte
423.
▲
by
rbranson
15y ago
JRuby generates direct, "static" dispatches to the Fixnum class when you throw the --fast flag. However, this is not backwards compatible with MRI Ruby, so it's not default. Clojure does not attempt to maintain compatibility with anything,
424.
▲
by
rbranson
15y ago
I love your commitment to purity here. Things could certainly be made much faster in Ruby if most of what makes it useful in certain contexts were abandoned. The complexity of invocation alone seems to be fairly unique with the potentially
425.
▲
by
rbranson
15y ago
If you're mostly K=>V and you want distributed, why not look into Riak? It's really easy to administer and has very nice operational characteristics.
426.
▲
by
rbranson
15y ago
Unfortunate to see it still has the global lock pair and lack of online compaction.
427.
▲
by
rbranson
15y ago
At current RAM prices, one can build a cheap 2U SuperServer with 144GB of ECC DDR3 1333MHz RAM, a single quad-core 40W 2.13GHz Westmere processor, a 10gig-E card, and a 4GB CompactFlash drive for ~$4,000. Assuming the server has a 3-year li
428.
▲
by
rbranson
15y ago
Perhaps they are scanner & printer drivers, the implementation exposes a ScannerDriver interface and a PrinterDriver interfaces. They subclass a DeviceDriver that implements the low-level I/O. There are other generic and vendor-specific
429.
▲
by
rbranson
15y ago
... which is why it's inappropriate for a desktop backup solution. The chances of simultaneously losing your hard drive AND the entire RAID array in the Backblaze container that stores your data are so small that it's not worth paying extra
430.
▲
by
rbranson
15y ago
Agreed, the value add isn't very high, especially since the pricing is higher than EC2. Surely there are some economies that could be found on servers with no disks and reduced CPU requirements? I wonder if ECC could even be done away with
431.
▲
by
rbranson
15y ago
Going to be pedantic and say that the NoSQL section is a bit off saying Dynamo-like systems "shard." This carries with it the connotation that the distributed aspects of the database are an afterthought or an add-on feature.
432.
▲
by
rbranson
15y ago
Welfare recipients still pay sales & use tax as well as property taxes (either directly or indirectly via rent payments).
433.
▲
by
rbranson
15y ago
In summary: lower & middle class people don't like it when those living in poverty are recipients of social welfare because it makes them feel as if they are socially equal to those welfare recipients. This is an interesting hypothesis.
434.
▲
by
rbranson
15y ago
12 lightning bolts.
435.
▲
by
rbranson
15y ago
I think for tooling around in SF on mostly 1-2 mile rides with lots of stop and go, the advice works well, but that's not what I can give advice on. For the 10-mile-one-way mostly suburban regular commutes I used to ride, I second the road
436.
▲
by
rbranson
15y ago
This fails at the most basic benchmark rules. Do you really think PostgreSQL is 20-40x slower than alternative implementations? Do you think that is reasonable? I'm going to go ahead and assume (as with most benchmarks) that the PostgreSQL
437.
▲
by
rbranson
15y ago
MySQL cares about data reliability? Maybe if you spend much time agonizing over the configuration and set it to strict mode.
438.
▲
by
rbranson
15y ago
Not just that, but getting a deep understanding of how the RDBMS (or NoSQL solutions, for that matter) implements the database is important as well is very important. It requires a low level understanding of how the implementations write th
439.
▲
Cassandra 0.8.4 Released
(cassandra.apache.org)
2 points
by
rbranson
15y ago
|
0 comments
440.
▲
by
rbranson
15y ago
This is exactly the problem with MongoDB. It's practical use is a semi-durable, in-memory data store, but they advertise it as a data store of record that can be used for large, >RAM sets of any conceivable use case.
441.
▲
by
rbranson
15y ago
As far as I know, PHP is the only major programming language that considers itself a "web programming language."
442.
▲
by
rbranson
15y ago
Yeah, clearly this is a troll blog. Congrats to the troll.
443.
▲
by
rbranson
15y ago
So again, to you, what benefit does everything being built on this async, single-threaded, event-driven model give you? Sounds like not much. You could get all of those benefits + much cleaner code using threading or fibers or actors, but t
444.
▲
by
rbranson
15y ago
You're better for not. I read through it and truly hope it's is a troll, but you know, Poe's law and all.
445.
▲
by
rbranson
15y ago
I'll definitely admit that many of the inventive techniques that node.js users have come up with make dealing with callbacks less absurd, but the problem is that it's just polishing shit. It's extra hoops to jump through with no benefit, ou
446.
▲
by
rbranson
15y ago
Actually, "deal with it" is fucking lame, isn't a response at all, and is a good example of why I use the term "fundamentalism." Is your problem with threads or shared mutable state? Web applications should be stateless and can be written a
447.
▲
by
rbranson
15y ago
Huh? how does any of this keep me from having to write callback spaghetti? If I send a call using redis or dnode or whatever, I have to wait for it, so that means a callback. I feel you about the polyglot and tend to agree, but I think some
448.
▲
by
rbranson
15y ago
This purist evented I/O fundamentalism has to stop. While evented I/O is great for a certain class of problems: building network servers that move bits around in memory and across network pipes at both ends of a logic sandwich, it is a tota
449.
▲
by
rbranson
15y ago
If this does happen, I see it mostly as important for XBMC-type setups on Linux.
450.
▲
by
rbranson
15y ago
Damn, you are so right bro.
More ›