Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
301.
▲
by
amix
16y ago
I think this is a terrible idea, even thought I like Redis and use it in my projects. Why is it a bad idea? Because Redis keeps everything in memory and scaling it up will be quite expensive on very large datasets. Even when Redis VM comes
302.
▲
by
amix
16y ago
He didn't only predict it, he invented it and built it. Nikola Tesla is the co-inventor of radio, remote control and was a pioneer for wirelessly transfer of both data and electricity! Check out: http://en.wikipedia.org/wiki/Radio , http:
303.
▲
by
amix
16y ago
We don't have it on Tesla's scale. He wanted to transfer wirelessly enormous amounts of electricity and communication on a global scale. His idea resolved using Earth as part of a powerful type-two oscillator... Basically, his solution woul
304.
▲
by
amix
16y ago
Nikola Tesla isn't only predicting wireless communication (which he calls a primitive usage of wireless technology), but wireless transfer of electricity - - one of his unfinished projects and something that we still don't have today. Read
305.
▲
by
amix
16y ago
This error happend to me when I upgraded to 0.1.91. I didn't look into it, but I suspect the error is caused by/in node-memcache [ http://github.com/elbart/node-memcache ]
306.
▲
MySQL at Facebook by Mark Callaghan (O'Reilly MySQL CE 2010)
(youtube.com)
3 points
by
amix
17y ago
|
0 comments
307.
▲
by
amix
17y ago
If you only know how to use a hammer then everything else looks like a nail. In other words, re-implementing an inverted index in SQL is waste of time when you can use tools like Sphinx and Lucene - which are highly optimized to do inverted
308.
▲
by
amix
17y ago
By the looks on the code this isn't really a graph database. It's more a graph database emulation built on top of a SQL database. For distribution it uses sharding so it isn't really distributed either, at least not like Cassandra or other
309.
▲
by
amix
17y ago
A patch to autojump that: * Makes it possible to jump to a relative path (e.g. `j ../models`) * Possible to specify multiple patterns, e.g. `j my_project static` http://github.com/amix/autojump/commit/f5fff8d8c0c6e8ce676aa...
310.
▲
by
amix
17y ago
It works in OS X without any problems. I am using `zsh`. Could it be because you haven't trained the database?
311.
▲
Autojump: a cd command that learns
(wiki.github.com)
79 points
by
amix
17y ago
|
30 comments
312.
▲
by
amix
17y ago
Facebook's primary data storage is MySQL supported by memcached. Cassandra is only used for messaging (inbox search?) This is at least from what I have read - it could be outdated thought.
313.
▲
by
amix
17y ago
I have had some bad experiences with memory mapped databases (particularly Berkeley DB and Tokyo Tyrant) - both these seem to be very greedy with IO writes when one starts to have lots of data and lots of updates. I think Reddit experienced
314.
▲
by
amix
17y ago
Congrats, you deserve it with all the hard work you put into Redis.
315.
▲
by
amix
17y ago
"Will a more static style JIT like Google's V8 be able to keep up?" V8 compiles everything to assembler and does not do JIT. V8 seems to beat TraceMonkey on both CPU and memory benchmarks ( http://shootout.alioth.debian.org/u64/benchmark.p
316.
▲
by
amix
17y ago
Why not use unique URIs, like: http://soundkey.com/165pgx or http://165pgx.soundkey.com/ Seems to be easier than having users copy-paste keys around.
317.
▲
by
amix
17y ago
A derivation of Y Combinator in JavaScript (using the fac function): http://amix.dk/blog/post/19239
318.
▲
by
amix
17y ago
Eric Schmidt is painting a pretty grim picture, especially when considering his other views on privacy: "If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place. If you really need that k
319.
▲
by
amix
17y ago
The current perfomance of Unladen Swallow is only marginally better while the memory consumption is a lot worse. And I think a lot more work will be required to improve perfomance and memory usage of Unladen Swallow... PyPy is another inter
320.
▲
by
amix
17y ago
A solution could be to use a black hole powered starship that uses a parabolic reflector to protect against radiation ( http://news.ycombinator.com/item?id=969794 - The Physics of Building a Black Hole Powered Starship [pdf] ).
321.
▲
by
amix
17y ago
Buchheit, the creator of Gmail, said he "wanted something that, once you put it in there, would be hard to take out," adding that the slogan was "also a bit of a jab at a lot of the other companies, especially our competitors, who at the ti
322.
▲
by
amix
17y ago
"Power corrupts and absolute power corrupts absolutely". This Buzz stunt should haunt Google forever as we clearly can't trust them on "do no evil". This is a at least the sentiment I still have from this Buzz privacy scandal.
323.
▲
by
amix
17y ago
Assuming that you can break the laws of thermodynamics is like assuming you can divide by 0 when doing real number arithmetic. If you allow this you would end with a highly inconsistent system/world.
324.
▲
by
amix
17y ago
Like noted in that benchmark it's non scientific and it should be taken with a grain of salt - - like any other benchmark. It should be said thought that I have evaluated both Twisted and Tornado on a lot of open connections in production a
325.
▲
by
amix
17y ago
There are two reasons why I picked JavaScript. First, V8+node.js is an amazing runtime system. One should remember that V8 is implemented by a highly skilled Google team that's led by Lars Bak - who was the lead architect for Java's HotSpot
326.
▲
by
amix
17y ago
1 server (32GB of RAM, quad core). I don't know how much 1 server can scale to, but it's a lot, since a lot of the connections are idle a lot of the time.
327.
▲
by
amix
17y ago
It will since you don't need to open and close connections all the time. I can't estimate at what degree, but I think the communication will be much faster since currently some time is used to re-create connections.
328.
▲
by
amix
17y ago
Given how young node.js is it has a lot of modules including: Redis http://github.com/fictorial/redis-node-client memcache: http://github.com/elbart/node-memcache MySQL support using DBSlayer And it's fairly easy to implement other stuf
329.
▲
by
amix
17y ago
10-20GB depending on the traffic level. node.js uses around 10x less than that - even if it's a much more sophisticated solution.
330.
▲
by
amix
17y ago
I am here to answer questions. I will start by sharing some implementation details: - we use long polling, but will add WebSocket support once we get more browsers that support it. The code to make it work is shared here: http://amix.dk/bl
More ›