Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gamache
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
gamache
10y ago
A piece of hard-earned advice: us-east-1 is the worst place to set up AWS services. You're signing up for the oldest hardware and the most frequent outages. For legacy customers, it's hard to move regions, but in general, if you
152.
▲
by
gamache
10y ago
Same as Burning Man's longstanding advice on how to avoid dehydration in the desert: "Piss clear."
153.
▲
by
gamache
10y ago
There were a few reasons. I never loved Scala, and I especially didn't like the let's-write-Haskell-in-Scala obsession with static typing that affects half the community. The JVM and Akka both have a lot of knobs to tweak, where
154.
▲
by
gamache
10y ago
Speaking as someone who came to Elixir from Scala/Akka on the JVM, yes it is absolutely a disadvantage, and no there is no implementation of the Erlang VM which rivals the JVM for speed. In Erlang/Elixir you get speed through hor
155.
▲
by
gamache
10y ago
Unless you designed Lambda, this is an arrogant tone. Sure, some of the things you mention are "better" or at least otherwise accomplished using event-triggered Lambdas. But there's plenty of reasons why you might want to ru
156.
▲
by
gamache
10y ago
You made the point that the tradeoff can bite you. I mentioned DAOs as a way to make that bite less painful. Not a hard connection to make.
157.
▲
by
gamache
10y ago
Founded 2011, sold to Facebook for $85M in 2013, folded by Facebook in 2016 (though the software was released as open source).
158.
▲
by
gamache
10y ago
It's a shame so many people think of the Data Access Object design pattern as something only Java developers should be using. Using DAOs to provide database-agnostic access to your data takes a few moments more at first, but then when
159.
▲
by
gamache
10y ago
What's the shame in being a great prototyping tool? While it's not the right choice for everything in your stack, it's definitely one of the fastest ways to get a service or product off the ground. My company came out of a s
160.
▲
by
gamache
10y ago
That case (basically the same as the iBook G4) was a beast . In the pre-Magsafe days, I had an iBook G4 survive three surprise drops to a hardwood floor without so much as a ding on the case. I miss that in the new Macs -- my 2013 MBP has
161.
▲
by
gamache
10y ago
Yup, Dialyzer. Works with Elixir too (there's even a Dialyxir mix task) and gives me all the type checking I want -- which admittedly isn't much.
162.
▲
by
gamache
10y ago
Do you realize how silly this sounds? You are disregarding not only Erlang, but decades of research and development on concurrent programming best practices. Immutability has been promoted for parallel programming since the 1970s. For th
163.
▲
by
gamache
10y ago
> ...It's even more overstated when something like Go can mostly scale as well over multiple cores but be x times faster while doing so... > I suspect other languages are going to fold the good parts of Erlang/BEAM into them
164.
▲
by
gamache
10y ago
I use cosmic rays as an example of "errors outside the programmer's control", that's all. My point is that those errors will always exist, and it's desirable to have a backup plan ready.
165.
▲
by
gamache
10y ago
I explain myself a lot better here: https://news.ycombinator.com/item?id=13447734
166.
▲
by
gamache
10y ago
It fits into industry-standard deployment systems, yes, but not without sacrificing some inherent benefits of the Erlang platform. In particular, hot upgrades and downgrades are no longer there, as Docker images try pretty hard to be immut
167.
▲
by
gamache
10y ago
If you're interested in getting chocolate in your peanut butter, check out Rustler: https://github.com/hansihe/Rustler
168.
▲
by
gamache
10y ago
It's probably only that no one's written the tooling for that yet, because it's easy enough to set up a Linux VM or build server.
169.
▲
by
gamache
10y ago
The VM is not built for every release, it is copied into the release. The fact that it isn't built for each release is why cross-compilation of releases is not possible.
170.
▲
by
gamache
10y ago
You're not recompiling the VM, you're just including a copy of it in the release tarball, so that you can copy the tarball to any machine with the same architecture and run it regardless of whether Erlang or Elixir is installed gl
171.
▲
by
gamache
10y ago
That doesn't agree with the docs I read. But since I am reading your post, I guess the docs could use an update. :)
172.
▲
by
gamache
10y ago
I love Elixir as much as the next guy, probably more, but I want to temper your enthusiasm a bit: > it is modern, with modern tooling around the language (e.g. mix, edeliver) Sort of. Mix is a nice package manager. Edeliver is a series
173.
▲
by
gamache
10y ago
Hi Omri! No.
174.
▲
by
gamache
10y ago
A non-autoscaling deployment is quite easy to accomplish. Build releases with Distillery[1], and deploy them with Edeliver[2]. You get zero-downtime upgrades and rollbacks for free, as well as nearly automatic server clustering. I gave a
175.
▲
by
gamache
10y ago
I just bought a 2015 Thinkpad T450 from eBay (I do mean "just bought", it hasn't even arrived yet). Beware the T440 and earlier because they max out at 8GB RAM. I got a T450 with an i7 processor and 8GB RAM expandable to 32
176.
▲
by
gamache
10y ago
Elixir does make you think hard about the global state you keep. It's an "eat your vegetables" decision, and I've acquired the taste. Keeps me out of trouble when designing things. Contrast this to Ruby, where class v
177.
▲
by
gamache
10y ago
I slung Ruby 2008-2015, and started using Elixir heavily in late 2015. Aside from simple scripts that typically involve shelling out to Unix utilities, I find Elixir easier to write in just about all cases at this point. The syntax is eve
178.
▲
by
gamache
10y ago
If you think there are too many Elixir-for-Rubyists tutorials around, wait until you look for Ruby-for-Rubyists blogs.
179.
▲
by
gamache
10y ago
I love the Periscope Data blog. https://www.periscopedata.com/blog/
180.
▲
by
gamache
10y ago
I'll bite. I like Elixir, but that's not why I think JS's concurrency story is a fricking joke. JS allows you to say, in essence: "This code is allowed to run somewhere else." That's your hammer, and you'
More ›