Better HN
topnewbestaskshowjobs
Log inSign up

rubyrescue

3,403 karma · joined Nov 30, 2009 (16y ago) · 654 submissions

Submissions

comment 13y ago · link · parent

http://github.com/inaka/edis is here now for that purpose

comment 13y ago · link · parent

Needs to be payable in bitcoin?

93.

Burner Phone(burnerphone.us ↗)

317 points · by rubyrescue · 13y ago · 222 comments

comment 13y ago · link · parent

Thanks for writing that. How do you spend your time? Do you find it fulfilling?

comment 13y ago · link · parent

Introducing Elixir by Simon St Laurent is coming out soon. I read a pre-release version and it is exactly what you want.

comment 13y ago · link · parent

Joe's points are really good. This drives me crazy in Elixir:

iex(1)> f = fn x -> x + 1 end

#Function<erl_eval.6.82930912>

iex(2)> f()

(UndefinedFunctionError) undefined function(stack trace trimmed...)

iex(2)> f.(1)

2

97.

Vast Oklahoma Tornado Kills at Least 51(nytimes.com ↗)

3 points · by rubyrescue · 13y ago · discuss

comment 13y ago · link · parent

I'm not sure that the demographic or the site is money losing over the long term, like youtube.

comment 13y ago · link · parent

This is not a good analysis. Tumblr has a demographic access that yahoo doesn't. Yahoo can generate ad revenues due to scale that Tumblr couldn't. Karp adds a perspective that Yahoo needs.

It's unclear whether the acquisition will be a success, but if it is a success the article's reasons will be irrelevant. If it isn't a success, those will not be the reasons why it failed.

comment 13y ago · link · parent

Tf you live outside of the US or just travel a lot, and have a US account, the Chase Sapphire Preferred is THE card to have. it saves me a lot of money. i like it slightly better than the Starwood Amex just because i can use it more places.

comment 13y ago · link · parent

wow please tell more. "for a while" means people's anger passed? or you guys switched back?

comment 13y ago · link · parent

it's $95,100 for 2012, per person. so 190,200 if you're married.

comment 13y ago · link · parent

That was my plan, then i ended up with 30 consultants. Now I'm just really enjoying running a consulting business!

comment 13y ago · link · parent

This is written by someone who actually writes a popular web framework for Erlang - the exact opposite of throwing a static site on S3. That gives this piece more credibility - he knows how to build active server-side software as well.

comment 13y ago · link · parent

Erlang (or Elixir) runs really well on the Pi - and cross-node communication is brain-dead simple.

comment 13y ago · link · parent

no atlanta?

comment 13y ago · link · parent

I'm going to assume you're not just trolling here.

There are whole companies who make elaborate servers that speak simple protocols. Membase is essentially a much more elaborate, multi-server replicated database that speaks the Memcache protocol.

We started edis as an experiment to teach some developers Erlang. We had a use case that was quite interesting at the time, so it was a great way to teach Erlang while working through some interesting database scenarios.

Imagine you have a bunch of users come into a site and they'll hit the server for an hour and then go away for at least a week, maybe more, like the demographics around a popular TV show. Imagine you need to handle a HUGE number of users for that hour, but after that hour, you have less than 1/10th of 1% of those users during the week. Also, imagine that you are pretty happy with Redis's speed, but that you've outgrown what you can comfortably handle on one server and so you are happy to tolerate less speed for more space.

This is a really nice use case for a disk-backed Redis server.

It's not the only option, of course, but we didn't need to store documents and we didn't need ACIDity.

comment 13y ago · link · parent

It's really a much longer story. We use Redis and Couch together. Redis for caching, Couch for long-term storage.

Whether Couch has or doesn't have Map/Reduce is irrelevant, really. Couch Map/Reduce is a toy (just like Riak) and is not to be trusted. We avoid it as much as possible.

comment 13y ago · link · parent

looks interesting, thanks!

comment 13y ago · link · parent

At my consulting company, Inaka, we built this originally as a side project when we were using Redis and thought we needed multi-master larger-than-RAM datasets, but then we ended up moving to CouchDB for that project.

It's currently a research project for us and we have an intern from Uppsala University working on the HA features including paxos leader election and multi-master conflict resolution. See the mutinode branch. Some people have added some additional database backends, but I don't know of any serious production users yet.

I gave a talk on it at the 2012 Erlang Factory as it's entirely Erlang-based. Here's the talk - http://vimeo.com/42630498

Benefits over Redis: Faster startup time over big datasets, pluggable backends, (eventually) Multi-master and HA (with a different approach than Redis is currently taking with Sentinel).

Drawbacks: 3x to 10x slower on all operations. We've done no work to optimize.

comment 13y ago · link · parent

They could switch to edis when it gets too expensive to keep everything in memory.

comment 13y ago · link · parent

for 4) - ruby style DSLs. It's something that Erlang doesn't lack in principle due to parse transformations, but in practice, the difficulty of writing parse transformations and the sense in which prolog syntax doesn't lend itself to simple "english" like DSLs means people don't use them much.

comment 13y ago · link · parent

i've started using Elixir for all my side projects. It's very satisfying to use and as it sits on Erlang/OTP, you get all the power of Erlang, all the libraries, etc. It still means it's not great for math; it's too slow just like Erlang. But it has all the concurrency and stability of Erlang/OTP in a new, sexy, non-prolog language.

Further, Jose Valim (the language creator) is incredibly talented as a developer and has made rapid progress in iterating the language, and responds quickly to suggestions. The mailing list is also picking up momentum, folks are contributing ideas for how to make the language great.

Yuri (yrashk) has spearheaded the efforts around a package manager - http://expm.co/ which allows all Erlang Rebar packages plus Elixir packages. Still missing is "binary" package support but that's been a gripe about Erlang for a long time.

I believe in Erlang/OTP and I really believe Elixir has a bright future. In a few years there will be folks who build Elixir apps and don't bother to learn Erlang. This could really freak out the Erlang "old guard" - many are friends of mine - but they don't really care that much, as Erlang has has always been a niche musical instrument and Elixir is Erlang's ticket to Carnegie Hall.

comment 13y ago · link · parent

it's the movie equivalent of atoi()

comment 13y ago · link · parent

I read it this morning in the english Wikipedia entry for "To Kill A Mockingbird" - it's relatively common in that context.

comment 13y ago · link · parent

This is interesting, but the problem is this is all a certain type of startup. Whisper, for instance, is "hot" both in funding and user growth, but it's a demographic that wouldn't trigger these indicators - kids at 19 don't have linked in, and they aren't linking their FB or Twitter accounts due to the type of app it is.

comment 13y ago · link · parent

all the data is local ... and it's a lot of data

comment 13y ago · link · parent

We recently built an app that tracks this based on official US government data - per the Cleary act every US college that receives Federal funds must declare their on-campus crime rate. https://itunes.apple.com/us/app/campus-sentinel/id513108130?... - you can compare MIT to other campuses.

comment 13y ago · link · parent

Thanks for clarifying! It's like i had all the concepts there - out of band and SS7 - but didn't really get the details. This is why I love HN.

comment 13y ago · link · parent

that's redmond in the foreground and seattle in the background
12345
22