Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hencq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
hencq
6y ago
As a European living in the US, I think Europeans have much more in common than they think. The differences between countries seem big until you're looking at them from a distance. I'd even argue that the UK has more in common wit
122.
▲
by
hencq
6y ago
Very interesting. So it's very similar to WSL on Windows (not WSL2), where it translates Linux syscalls into the appropriate Zircon ones. From the proposal: > An important cautionary lesson we should draw from WSL1 is that the perfo
123.
▲
by
hencq
6y ago
I don't really understand why you wouldn't just remove the image then. I get that you added it for its absurdity, but if many people take it as an endorsement, isn't it just a joke that didn't land? Personally I think it
124.
▲
by
hencq
6y ago
Yeah, the automatic currying looks very nice. I was wondering how that works with optional arguments or rest arguments. At first glance I didn't see anything about that in the tutorial. It seems to me as a layman that auto-currying can
125.
▲
by
hencq
6y ago
They're not suggesting getting rid of the freemium model, but to raise prices of the paid plan.
126.
▲
by
hencq
6y ago
I remember that too, but I thought it was called hoodwinked or something close to that.
127.
▲
by
hencq
6y ago
I feel you misunderstood the point being made. Societal norms and attitudes evolve and blindly measuring history against contemporary standards is often counterproductive. Please don't mistake this as some apology for slavery, wife bea
128.
▲
by
hencq
6y ago
Yes, or, do I want to be on point to maintain this until the end of days? If no, use Excel.
129.
▲
by
hencq
6y ago
I use a little Raspberry Pi to host a little website as well. I use Cloudflare and run ddclient on the Raspberry Pi to notify Cloudflare when my dynamic ip address changes.
130.
▲
by
hencq
6y ago
You might enjoy the book "The Entrepreneurial State" by Mariana Mazzucato makes a similar argument that a lot of innovation is actually driven by the state, because they can afford to invest a lot in research without an immediate
131.
▲
by
hencq
6y ago
It's actually somewhat surprising to me that the Romans didn't invent the concept of zero, when they used the abacus for daily calculations. With the benefit of 20:20 hindsight you'd think that the concept of zero would follo
132.
▲
by
hencq
6y ago
The book Crafting Interpreters has a design note specifically about this special case [0] and how different languages handle it: > The increment clause really does look like mutation. That implies there is a single variable that’s gettin
133.
▲
by
hencq
6y ago
It seems that MIT-Scheme needs the cc function to be a function of 1 argument (the return value for the continuation)[0] Changing it to the following should work: (let ((start #f)) (if (not start) (call/cc (lambda (cc)
134.
▲
by
hencq
6y ago
First off, this is an excellent talk. The presenter explains the different topics in a way that even a layman like me can easily follow along. The compression scheme he presents at the end seems very interesting as well. I do wonder if in p
135.
▲
by
hencq
6y ago
Yeah, I didn't mean anything disparaging about Haskell at all. I only mentioned Haskell as an example of a functional programming language. I tried to make a point (apparently poorly) about the easy composition that using a limited num
136.
▲
by
hencq
6y ago
Nicely put. That aligns very nicely with the philosophy behind Clojure and for instance less so with Haskell. In Clojure you usually use only a few data types, often (immutable) hashmaps. A program then simply becomes a series of functions
137.
▲
by
hencq
6y ago
You mean like the US did with AT&T? I'm not sure if they 'have the balls' currently, but they have in the past and it's not inconceivable they would do so again. Microsoft came close to it as well.
138.
▲
by
hencq
6y ago
The use of recur in Clojure is by design. It would have been quite trivial to optimize this type of self recursion, but since it doesn't do general tail call optimization, they introduced the recur keyword. See also [1]. By the way, yo
139.
▲
by
hencq
7y ago
Maybe, but as he explains a normal parabola (like a satellite dish) wouldn't work, since the shots themselves are arced because of pesky gravity. I thought using a Monte Carlo analysis and finding a fixed point was actually a very clev
140.
▲
by
hencq
7y ago
It's actually pretty clear, since it says what they do right in the article: > He was also one of the early pioneers of the then-fledgling, if not wholly experimental, adversary air support market. In the early 2000s, he joined forc
141.
▲
by
hencq
7y ago
I just came across that book the other day. It looks very interesting; after this recommendation, maybe I should just buy it. I see they offer 2 packages. In your experience do you feel the extras in the more expensive package are worth it?
142.
▲
by
hencq
7y ago
I'm not sure if you're the author, but in case you are I just want to say well done on the tutorial! I really like the way it's built up and not only shows the pattern, but also the why behind the pattern. I will definitely
143.
▲
by
hencq
7y ago
To add to that, as an example, here's how you could implement something similar in Clojure [1]. It just relies on dynamic scope to run the handler without unwinding the stack. [1] https://gist.github.com/msgodf/6f4
144.
▲
by
hencq
7y ago
Obviously. He even calls it an old saw. That's a very strange reason to be put off from the article.
145.
▲
by
hencq
7y ago
Bjorn Erik Olsen. There was a Planet Money episode on it (and pretty sure it's been posted here before): https://www.npr.org/2015/09/18/441530790/how-the-desperate-n... And here's a little bit
146.
▲
by
hencq
7y ago
Great explanation! I'm now tempted to try this out myself for some experiments. I wish my statistics book in college used these kind of interactive explanations.
147.
▲
by
hencq
7y ago
You might already be familiar with it, but I can heartily recommend the book The Box by Marc Levinson [1]. It describes how a simple idea of putting items in a container first, instead of directly on a ship, completely changed the world. It
148.
▲
by
hencq
7y ago
Haha, you got me. Clearly I could also do with some actual coffee.
149.
▲
by
hencq
7y ago
Agreed. I browsed through the guide and at least at first glance it looks very well designed. Things like naming a node or a component (<Item as item>) that can then be used elsewhere look really clever. I'm curious what the actu
150.
▲
by
hencq
7y ago
Is there still any work being done on Guile Emacs? As I recall it basically worked a few years ago, but it doesn't seem to be maintained. I'm curious if these 3.0 speedups would translate there too.
More ›