Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rozap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
571.
▲
by
rozap
10y ago
These things aren't mutually exclusive. If it takes 10 devs 3 months to ship a Java EE app that requires 2 full time SREs to keep running, vs. 2 devs, 3 months and a part time SRE to ship something built with ShinyNewTech, then you bet
572.
▲
by
rozap
10y ago
Protocols are another major concept that Elixir lifted straight from Clojure. IMO one of the nicest ways of doing ad hoc polymorphism.
573.
▲
by
rozap
10y ago
You might be interested in this project: https://github.com/hansihe/Rustler
574.
▲
by
rozap
10y ago
I'm talking more about concurrency and distribution models, not raw performance.
575.
▲
by
rozap
10y ago
I think most folks are finding that distribution in an erlang based application is a lot simpler, because you don't need to pull in things like redis for pubsub, memcached for caching, etc etc. erlang solves a bunch of problems in a ra
576.
▲
by
rozap
10y ago
I don't follow how "these things are macros under the covers" translates to "i need to keep more stuff in my head" And the argument that "the community discourages macros" isn't particularly compellin
577.
▲
by
rozap
10y ago
Not the only change, the mobile site got bloated and slow in the last year. All community/social changes aside, the site has gotten worse from a usability perspective as they increased their headcount. This is the most predictable pa
578.
▲
by
rozap
11y ago
I don't want to be pedantic, but I'm going to be pedantic (sorry!) You can get Erlang style concurrency out of ... JVM languages (scala/akka; quasar) This is a little misleading. Yea, akka gives you actors, and on the
579.
▲
by
rozap
11y ago
The important thing about Phoenix is that it uses regular old pg2 groups for pubsub that can be distributed across nodes. Phoenix already does sharding for you, you just need to add another node and the stuff just works. When I was first p
580.
▲
by
rozap
11y ago
I'm glad dynamic languages are dead. I was getting so tired of fixing bugs.
581.
▲
by
rozap
11y ago
It's getting bad in Seattle, but there are a couple things Seattle has going for it that Vancouver doesn't. It actually has industry, and more people have jobs that pay living wages. The $15 minimum wage will go a long way for the
582.
▲
by
rozap
11y ago
Leaky brake hydraulics aren't anything to mess with, you should fix it or have it fixed soon. It could be something (relatively) harmless like a common hydraulic system shared between the clutch and the brakes (VW uses this design, per
583.
▲
by
rozap
11y ago
Agreed. Elixir's first rule of macros is to not use macros. Generally idiomatic elixir is to try to encapsulate your problem in (ordered by priority) a 1) data structure 2) function 3) macro. So if you can express your problem in somet
584.
▲
by
rozap
11y ago
These sorts of things make me depressed about the industry. It seems like so many fantastic ideas in the 80's (what you just described, erlang, smalltalk, etc, etc) were lost to the corporate dominance of sun and java. While java has c
585.
▲
by
rozap
11y ago
Which means you need to program with futures in order to not do blocking IO on your limited thread pool that the actors are multiplexed across. So at that point you need to write node.js style code. Coming from an Erlang world to akka, this
586.
▲
by
rozap
11y ago
I think part of what he's getting at is that if things embrace simplicity in their design, suddenly fact that "every programming language has a json parser" becomes less compelling, because it's easy to write this stuff
587.
▲
by
rozap
11y ago
or they leak memory. or a heavy request generates gc activity which impacts other requests. i've seen site outages in large companies due to these sorts of bugs. multiple times. this is a major set of problems that you avoid by having
588.
▲
by
rozap
11y ago
at least request contexts in http php apps are isolated; memory lives and dies per request, which is more than can be said for java web applications.
589.
▲
by
rozap
11y ago
disclaimer: i'm an engineer at socrata the Obama administration has pushed for more cities to start publishing this data. While it's pretty light on standardization of formats between cities, it's still a step in the right di
590.
▲
by
rozap
11y ago
The notion that Erlang is bizarre but Scala isn't is a particularly intriguing notion...but that's a different rant. I suppose the concurrency model of Erlang is a departure from The Way Things Are, but I'd argue that's
591.
▲
by
rozap
11y ago
the other day i set up hot code upgrades (in a single node, production instance) with exrm and phoenix. it was a breeze and took about 30 minutes of reading and setup. and now i can upgrade the backend while all the websocket connections st
592.
▲
by
rozap
11y ago
So 38% of Americans are have more than $1000 sitting around becoming less valuable everyday? That may be a more interesting conversation to have.
593.
▲
by
rozap
11y ago
Elixir/Erlang aren't purely functional either (eg: ets), but they're enough functional to eliminate many common bugs and they still allow you to get stuff done. :)
594.
▲
by
rozap
11y ago
JVM threads are relatively heavyweight. The JVM would fall over trying to run as many threads per machine as BEAM will happily run. And you still have the stop the world GC in akka. Obviously that's not the be-all-end-all measure of a
595.
▲
by
rozap
11y ago
The performance and/or lifetime of the engine will likely be compromised to meet the standards.
596.
▲
by
rozap
11y ago
> Caplets are classes that hook into the capsule and modify its behavior. What problem does this solve? Because it sounds like it is going to create quite a few new ones.
597.
▲
by
rozap
11y ago
This is about 50% of the pain of Scala for me. I want to like scala, and some of the concepts behind it are neat, but in reality the act of writing it with the java interop, opaque unrepeatable errors, and compiler slowness makes it a fanta
598.
▲
by
rozap
11y ago
I agree. Currently writing this from an i5, 4gb ram, SSD asus zenbook from 2 years ago, which I bought for $750. The form factor and hardware are almost identical to the 13" laptop here. :\
599.
▲
by
rozap
11y ago
Reading through this it becomes very apparent very quickly how concise, expressive, and elegant elixir is. The elixir versions seem to be on average 2/3 of the length of scheme, which is already fairly terse. These exercises are great
600.
▲
by
rozap
11y ago
I can't speak for Go, but Elixir has a much more sane concurrency model when writing web services (or otherwise) than node. The ability to block a process means you don't need to dork around with callbacks or promises or anything,
More ›