Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fredrikholm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
fredrikholm
2y ago
It's important to recognize how seldom this carries out in practice. I've rewritten some ~10 small node servers to Go, Java and C#, and they've always been >10X faster without changing algorithms. Even in the few cases
92.
▲
by
fredrikholm
2y ago
I agree with you fully, but I've also tried to onboard people to F# and Haskell and... unless you're the self selecting person that enjoys (typed) functional programming, the pushback you get from the other ~95% of developers is e
93.
▲
by
fredrikholm
2y ago
> I have seen sooooo many junior folks struggle for days to do something that is 10 lines in any scripting language. > Those folks who program but don't know a scripting language far outnumber the rest of us. What domain are you
94.
▲
by
fredrikholm
2y ago
Few (tech) things pull at the heart string more than great projects/articles about Common Lisp. Man what a treat! Read the first part when it came back, really excited to read this one. Kudos to the author!
95.
▲
by
fredrikholm
2y ago
> I think I’m too dumb to learn Haskell though lol. I felt the same way, a lot of people feel that way. This is in part because FP is difficult, typed FP is difficult, and Haskell is difficult. All by themselves. They do get easier once
96.
▲
by
fredrikholm
2y ago
Max articles constitutes some ~90% of what I know about programming language implementation. His Lisp series are often shared around, but the entire blog is jam packed with golden nuggets. Big fan. I see bernsteinbear.com , I upvote.
97.
▲
by
fredrikholm
2y ago
I've gotten far with type switching on an interface that amounts to a single function that does nothing. Unfortunately it does nothing in terms of exhaustiveness, but it effectively gives you sum types which IME are so, so much easier
98.
▲
by
fredrikholm
2y ago
The longevity of Go is also a thing. I have not encountered a single Go project that used to compile but now doesn't because it hadn't been touched. Go is in many ways leap years ahead of most AOT languages I've used in anger
99.
▲
by
fredrikholm
2y ago
It's also important to not underestimate just how powerful lifestyle changes can be even in the face of (a lot of our potential) dire outcomes. Not sure about gums here specifically. Reversing a condition once you have it is an order o
100.
▲
by
fredrikholm
2y ago
A quote originally (AFAIK) from the wonderful book 'Practical Common Lisp'. https://gigamonkeys.com/book/
101.
▲
by
fredrikholm
2y ago
> Edit: oh and an interesting quirk English is often spoken with an American accent! I think because they watch a lot of American TV shows and movies. We (mostly) ditched received pronunciation / transatlantic accents in school in t
102.
▲
by
fredrikholm
2y ago
I remember stumbling over this post a few years ago. Really entertaining post, one of my favorites in recent years.
103.
▲
by
fredrikholm
2y ago
> Maybe you meant Zig or C This seems hubris for someone who depends on types, looping constructs, and compilers. Maybe you meant writing machine code or 6502, then I'd likely agree, but C is quite literally (& excellently) desi
104.
▲
by
fredrikholm
2y ago
"You just don't understand the powerful impact of arsenic when it constitutes 0.04% of your total body weight."
105.
▲
by
fredrikholm
2y ago
What a wonderful write up. Great read! Gleam is such a blessing for the BEAM; it's the VM I know best and prefer working in, but for the best of me I find it very difficult to develop software without a (fully realized) type system. I
106.
▲
by
fredrikholm
2y ago
Actor model is a small component of the BEAM. Even then, it guarantees yields to the scheduler. This is practically impossible to retrofit on to an existing language, esp. in the presence of loops.
107.
▲
by
fredrikholm
2y ago
I don't necessarily disagree with you; merely pointing out that you simultaneously say that you aren't out to dig at Lisp and then reply by sarcastically digging at Lisp.
108.
▲
by
fredrikholm
2y ago
> [Wikipedia] Network effects are typically positive feedback systems, resulting in users deriving more and more value from a product as more users join the same network. > [Your article] (Lisps) is essentially immune to the network e
109.
▲
by
fredrikholm
2y ago
To add to this, you're more likely to find someone who experientially understands what you're going through (and how to deal with it) in Buddhist circles, esp. those lineages who primarily focus on meditation (Zen, Chan). Even if
110.
▲
by
fredrikholm
2y ago
The SICP course as it is taught today at MIT had Scheme replaced with Python some years ago. I'm assuming that's what OP was referring to.
111.
▲
by
fredrikholm
2y ago
Amen. Seldom for real reason, this is becoming increasingly rare compared to projects of similar size/characteristics 5-10 years ago. I miss the days when "run all the things" was F5, where the steps leading up to that point
112.
▲
by
fredrikholm
2y ago
> Very Senior(tm) people who would show up uninvited and give advice like "did you know you can pee and poo at the same time?" That gave me a good 5 minutes of chuckling and smiling. Thank you.
113.
▲
by
fredrikholm
2y ago
Which was?
114.
▲
by
fredrikholm
3y ago
Whilst still being 1/3rd slower than the Go version.
115.
▲
by
fredrikholm
3y ago
Often the limiting factor is ankle mobility, as not being able to drive the knee in front of the toes means falling backwards as the center of mass never reaches mid foot. It's why weightlifters have elevated heels, and why great squat
116.
▲
by
fredrikholm
3y ago
> What are some solutions for water table depletion and how comparably sustainable are they? Water harvesting has been successfully applied to thousands of villages in India and parts of northern Africa. The Paani Foundation is especiall
117.
▲
by
fredrikholm
3y ago
Cheers, all valid points! :) With regards for compile times, I'm spoiled by languages that have sub-second compile times to the point where I actively lean on the compiler while I'm writing (see next point). With regards to LSPs,
118.
▲
by
fredrikholm
3y ago
Crystals, as it allows you to specify zero types in your entire project should you want to, whilst still type checking in a language where every type is implicitly a union (eg. "this is a string or an int or null"). The result of
119.
▲
by
fredrikholm
3y ago
The language semantics, the standard library and the ease of which I can read other peoples code are all very good compared to just about anything. Compile times and tooling are compared to the competition, sorely lacking. Auto complete, su
120.
▲
by
fredrikholm
3y ago
It's not included in releases (you have to compile Crystal yourself if you want it), so I'd guess it's still a WIP. And even if, it still has the same restrictions; any change means type checking everything from scratch, wher
More ›