Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rlander
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
rlander
9y ago
So you're saying we should all just settle for Javascript, Python, Java, and C because they're familiar and not esoteric (whatever that means)? Should we not consider ReasonML an option for frontend development, even though it sol
92.
▲
by
rlander
9y ago
Not really. It was more of a "platform choices" comparison blog post. We're mostly a Django shop, so the Python project began a few months before the Clojure one. We had the feeling that Clojure might be a good fit for a few
93.
▲
by
rlander
9y ago
Author here. Yes, Graphene is awesome (we're actually experimenting with it too) and, in a perfect world, I'd be comparing Clojure/GraphQL with Python/Graphene. But it is what it is and, even though the project I could c
94.
▲
A Case for Clojure and GraphQL: Replacing Django
(ckl.io)
83 points
by
rlander
9y ago
|
55 comments
95.
▲
by
rlander
9y ago
Yup, Ecto is awesome. For a project this recent, it does a lot of things right and gets out of your way when you need plain sql. I've been using Django for a decade and there are simple queries that were impossible with the ORM until r
96.
▲
by
rlander
9y ago
Might be the first time I've seen the words "elegant", "simple" and "Django's ORM" in the same sentence. You could say it's easy to get started with, or do simple queries, but it's definitel
97.
▲
Lessons Learned Moving from Native to React Native
(ckl.io)
7 points
by
rlander
9y ago
|
1 comments
98.
▲
by
rlander
9y ago
N2O[0] does exactly that. You write your app in Erlang and the framework delivers the changes via websockets to the browser. You can even choose to have the changes computed in the browser through an Erlang -> Js bridge. Pretty cool. [0]
99.
▲
by
rlander
9y ago
> what exactly is the unique advantage of writing JS in OCaml? * OCaml's type system is sound, Typescript’s isn’t. * OCaml is an expression-based functional language, with first class currying and partial application, TS is an OO l
100.
▲
Lamprey: Parasitic Language for Elixir
(github.com)
2 points
by
rlander
9y ago
|
0 comments
101.
▲
by
rlander
9y ago
Right? When I read these kind of posts I always imagine a carpenter saying the equivalent "After over 10 years using a hammer as my main tool, I have moved on to the screwdriver." Which is nonsense.
102.
▲
by
rlander
9y ago
I also come from Clojure and Erlang and, tbh, couldn't get into Elixir for various reasons (I've followed the development closely since its inception): * Most of the Elixir community comes from the Rails world, so most of the libr
103.
▲
by
rlander
9y ago
What's with the "Clojure is dying" meme? In the last few months I've seen an uptake in Clojure jobs.
104.
▲
by
rlander
9y ago
I don't mean to be pedantic, but please explain how ES6 is a "highly parallel" language.
105.
▲
by
rlander
9y ago
As someone who's professionally developed mostly in Erlang and Clojure in the last 6 years, it's not even close. I love Erlang, but the REPL is severely underpowered and used mostly for debugging and inspection.
106.
▲
by
rlander
9y ago
I guess your job is mine now :) https://github.com/alpaca-lang/alpaca
107.
▲
by
rlander
9y ago
Thanks for sharing! Hopefully one day I'll be visiting Pitcairn myself. Btw, I infer from your comment that you descend from one of the Bounty crew members, am I correct in assuming that? If so, that trip must have been awesome since s
108.
▲
by
rlander
9y ago
Did your trip include Pitcairn Island? I'd be interested in your impressions of the place (population 50, boat every 3 months or so).
109.
▲
by
rlander
9y ago
Most of my coworkers are in their 20's so when they see 8-bit winged toasters flying around my monitor they just assume it's birds or that I am a weirdo. (Btw, I found it within the first few G search results for "after dark
110.
▲
by
rlander
9y ago
I'd be very interested on that port. I really miss re-frame when I'm working with Js.
111.
▲
by
rlander
9y ago
Well, by its nature a web request is sequential, so in 95% of the cases it's just: process response -> deserialize -> put/get something from the DB -> send response However, let's say you need to send off man
112.
▲
by
rlander
9y ago
Yes, the former. He's saying that his Elixir app should scale linearly to N times faster on N cores processors (up to ~20 cores).
113.
▲
by
rlander
9y ago
Because of the GIL, Ruby threads will be run sequentially, within a single process, even thought they appear to be parallel. So, if a part of a program blocks the process, your CPU is being under-utilised. Erlang, on the other hand, has a p
114.
▲
by
rlander
9y ago
No it can't. It's technically impossible for a Rails app to utilize all cpu cores because of the GIL. You're confusing two different things: the web server and the actual Ruby app. The rails app is still limited by the GIL an
115.
▲
by
rlander
10y ago
Oh man this brings back memories! Some years ago I needed to provide http access to an old code base in a fringe programming language and decided to write a language agnostic web server. This was when I was just getting started with Erlang
116.
▲
by
rlander
10y ago
I felt like that, like Clojure was the future, around 2009/2010. But then Java libraries and their impossible stack traces got in the way. I've been waiting for a native Clojure implementation (or on top of Python or the Erlang VM
117.
▲
The problem with Everest’s 200+ bodies
(bbc.com)
2 points
by
rlander
10y ago
|
0 comments
118.
▲
by
rlander
10y ago
That is a great quote! Thanks for sharing.
119.
▲
by
rlander
10y ago
I used to play college level football in the US and Brazil, and I can tell you for sure: these kind of plays are totally usual in Brazil. But I do understand your feelings, since US football (or soccer as they call it) is more about about p
120.
▲
by
rlander
10y ago
> The gameplay on screen rewards visual stunts that are much less effective in real play. The movement of ball and players doesn't actually have to be like it is in reality, because it is a video game. Ronaldinho would like to have
More ›