Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bitwalker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
91.
▲
by
bitwalker
7y ago
Good points! The time where the `while` loop is actually better is very situational, but when it is a better fit, it is definitely handy to have in your back pocket. But more generally I just think it is useful to know how you can implement
92.
▲
by
bitwalker
7y ago
Thanks! I don't write very often, since I don't really know if people get anything out of it, but feedback like this is definitely encouraging :)
93.
▲
by
bitwalker
7y ago
I’m not sure I agree. For example, nothing about Erlang makes it unsuitable for a browser environment, it can handle running single threaded, or distributed across workers, where each worker runs its own scheduler. The only limitation is in
94.
▲
by
bitwalker
7y ago
Neither Elixir or Erlang have real arrays, unless you want to count tuples. That said, I don’t see how that correlates to scripting, the data structures that are first class in Elixir are very ergonomic and certainly flexible enough to tack
95.
▲
by
bitwalker
7y ago
Indeed! (Hi Ian!)
96.
▲
by
bitwalker
7y ago
> The former is a distributed programming DSL (an awesome one granted) I mean, that's a completely incorrect characterization of Erlang, regardless of how you feel about the comparison to C#. Erlang is just as much a general purpose
97.
▲
by
bitwalker
7y ago
I was initially hired at DockYard to work specifically on releases and their eventual integration into core, but I am not a member of the Elixir core team itself :). In any case, that in itself is not really a relevant detail, since José an
98.
▲
by
bitwalker
7y ago
The whole point is that you are neither reading or writing them, they are read _to_ you, and you dictate messages if you feel the need to reply while driving, but both can be done with hands on the wheel and eyes on the road. I suppose it i
99.
▲
by
bitwalker
7y ago
I don't think the decline of the family is the primary issue today. My own perspective is that the "epidemic of loneliness" has more to do with the prevalance of, and addiction to, social media in its various forms. It is eas
100.
▲
by
bitwalker
7y ago
+1 for kitty, it is fast and lightweight and provides all the features I've wanted out of my terminal
101.
▲
by
bitwalker
7y ago
The typical approach here as far as I'm aware is to use a deallocation queue - frees of an object that was allocated on another thread are freed by putting that object in the original thread's deallocation queue. When that thread
102.
▲
by
bitwalker
8y ago
Airspeed and angle-of-attack are different measurements, whether the AoA is borked or not would make no difference to airspeed measurements, and vice versa. Without AoA though, airspeed alone is not enough to determine a stall. If one or bo
103.
▲
by
bitwalker
8y ago
They can't agree though - angle of attack and airspeed are two different measurements. Together they can be used to detect a stall condition, but independently are insufficient. Furthermore, if either are incorrect or inoperable, then
104.
▲
by
bitwalker
8y ago
A bigger problem is this: - Given a distributed Erlang system with two nodes, where both nodes are running the same release; - Given the same process (Erlang thread) on both nodes, running the same code (i.e. a GenServer backed by the same
105.
▲
by
bitwalker
8y ago
Ericsson absolutely still uses Erlang [1] - the vast majority, if not all, of the core Erlang/OTP team are employed by Ericsson, and that team is still very much active and constantly improving the language and runtime. [1] https:
106.
▲
by
bitwalker
8y ago
I've been working in both professionally for several years now and talked with many over that time, at conferences and such, and have yet to hear "horror stories", but such stories could definitely be useful as illustrations
107.
▲
by
bitwalker
8y ago
It is really the BEAM that is most compelling, Elixir is a great language on top of it, but the VM provides tools that simply don't exist in most other languages, if any. Specifically things like runtime tracing with pattern matching,
108.
▲
by
bitwalker
8y ago
It has to be done from outside the cockpit, but is not unusual as a prerequisite step for a variety of avionics systems tests and repairs (source: I'm an ex-USAF F-16C/D avionics maintainer). They may have had it overridden for a
109.
▲
by
bitwalker
8y ago
I commented elsewhere already, but you do need to know _some_ OTP to be productive. But those basics (processes, messaging, supervision) can be learned easily in an afternoon. In my opinion, OTP is not the reason why the learning curve is s
110.
▲
by
bitwalker
8y ago
I think it's disingenuous to say you don't need to learn OTP. You need to learn the basics of it, or you will struggle, because you will be trying to solve problems in a way that doesn't fit with the underlying language and r
111.
▲
by
bitwalker
8y ago
Unless you statically link your dependencies, but that comes with its own can of worms.
112.
▲
by
bitwalker
8y ago
There were already many duplicate abbreviations, so this isn't a new problem, and as you said, is a bad assumption, those systems would likely already be incorrect. I would guess systems using abbreviations like this presumably are usi
113.
▲
by
bitwalker
9y ago
Was this the Pandemic Studios version of Battlezone (i.e. Battlezone II) or the first version of Battlezone for PC? If you had a hand in either, then I owe you a beer (or whatever you prefer) a bunch of times over because I loved both of th
114.
▲
by
bitwalker
9y ago
The other reply mentioned tools and documentation, which are the big differentiators in my opinion, but there are also some language level tools in Elixir which feel more "modern" I guess, the macro system which is on part with L
115.
▲
by
bitwalker
9y ago
I prefer to use recursion in a lot of cases in languages with pattern matching in function heads (e.g. Erlang or Elixir), particularly when each "case" deals with the accumulated state differently, which is more often than not. Wh
116.
▲
by
bitwalker
9y ago
I would spend some time experimenting with Erlang or Elixir. The thing that really made the actor model "click" for me was how each actor in Erlang is just a process (green thread basically). The only way to communicate between pr
117.
▲
by
bitwalker
9y ago
There has been a huge amount of change in the language since 0.9, so this is probably wildly out of date.
118.
▲
by
bitwalker
9y ago
I bought a physical copy of this recently, it's been great so far, certainly the best introduction to the topic I've read.
119.
▲
by
bitwalker
9y ago
For me, fleshing out as much of the types/taxonomy as I can is one of the first things I do before coding towards a solution. Even if the first stab is rough, adjusting the types as knowledge of the domain grows has never been a point
120.
▲
by
bitwalker
9y ago
What prevents you from writing the exact same exceptional code in a static system? I'm not sure I understand your point.
More ›