Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fredrikholm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
fredrikholm
11mo ago
> before we learn it's actually terrible. Before you learn it's actually terrible if I may.
32.
▲
by
fredrikholm
11mo ago
Biobeads are not a natural phenomenon; they are produced for and used by water treatment plants and therefore it's the responsibility of their owners to ensure that they don't leak into the ocean where they don't belong. This
33.
▲
by
fredrikholm
1y ago
I find the design aspect of stringing (primarily) defaults together very pleasing over the alternative of authoring ad hoc CSS/SASS/SCSS for every project. Inlining it however, I'm with you.
34.
▲
by
fredrikholm
1y ago
In Clojure it's: (.-> foo bar baz) So you might be right in correcting me, it's been a while since I've used another FP language in anger. With regards to taking the address of foo, pointers are generally not a (use
35.
▲
by
fredrikholm
1y ago
It allows existing method-heavy code to be used in a functional style without bending the knee to more OOP inspired patterns. Think of a fluid API, but instead of chaining method calls you'd pass data to several functions "chained
36.
▲
by
fredrikholm
1y ago
> That's a misrepresentation of statistics though. I can't speak for Norway, but in Sweden the only party worth keeping an eye on that adheres to the usual combination of pro-Russia, anti-abortion, anti-immigrant, anti-EU rheto
37.
▲
by
fredrikholm
1y ago
I'm happy to say that ~80% of Sweden and Norway don't vote for right wing populist parties like SD and Fremskrittspartiet, so "vast majority of us" might be a bit of a stretch.
38.
▲
by
fredrikholm
1y ago
Sweden is very green and comparatively car free. Having open windows during summer to let in light, fresh air and bird sound is culturally strong here. You can buy curtains, you can't retroactively insert a window as easily nor should
39.
▲
by
fredrikholm
1y ago
Sweden's conservative government are pressuring building regulators to re-evaluate whether "all rooms require windows" in order to make the construction of apartments cheaper. "Perhaps a better plan would be to replaces
40.
▲
by
fredrikholm
1y ago
I think they mean that Shopify doesn't decide what happens or doesn't happen to Rails; Vercel decides what happens or doesn't happen to NextJS.
41.
▲
by
fredrikholm
1y ago
> Is there some society you know that doesn’t run on greed? … What is greed? Of course none of us are greedy. It’s only the other fellow who’s greedy. The world runs on individuals pursuing their separate interests. Milton Friedman whe
42.
▲
by
fredrikholm
1y ago
I was born in 1990, quite late into the end tail of ordinary people not writing letters by hand, reading (a single book/article) for hours on end etc. and it's already evident that people outside of occupations that demand it just
43.
▲
by
fredrikholm
1y ago
Cheers! You mean in terms of having one centralized source of truth? I find this exact same problem with dependency systems as well; every project has their own dependency tracking file, and unless there is a deliberate attempt at uniting t
44.
▲
by
fredrikholm
1y ago
And having written a lot of Common Lisp, Go code is extraordinarily straight forward in a sense where every developer writes in almost the exact same style. This is not true for Common Lisp (even though it's not as bad as people make i
45.
▲
by
fredrikholm
1y ago
Single file dependencies are amazing. I've never understood why it's so unpopular as a distribution model. They can be a bit clunky in some languages (eg. C), but even then it's nothing compared to the dystopian level of nigh
46.
▲
by
fredrikholm
1y ago
CL for performance and 'Lispiness'. Scheme if you really enjoy recursion. Clojure if you need the JVM and/or employment (this is me). Racket if you drink the DSL kool aid. Fennel (same author as Janet) for Lispy Lua. Janet fo
47.
▲
by
fredrikholm
1y ago
Because you can eat the soy directly and remove the additional land loss, water use, soil compaction, acidification, storage cost, transport cost, cooling cost, butchering cost, shipping cost etc. that comes with introducing another link
48.
▲
by
fredrikholm
1y ago
This is overly simplified to the point of being wrong. Water usage spent on watering crops used to then raise livestock (eg. alfalfa, soy) account for some 70% or more of total water usage in regions where this type of farming is done. In a
49.
▲
by
fredrikholm
1y ago
And it's been successfully replicated in vastly different places like India and the Netherlands.
50.
▲
by
fredrikholm
1y ago
My suspicion is that all type of work is this; a universal issue where quality and forethought are at odds with quantity and good enough (where good enough trends towards worse over time). Before SE I had a bunch of vastly different jobs an
51.
▲
by
fredrikholm
1y ago
I see error handling as the biggest culprit here. When I use dynamically typed languages, it's not necessarily the lack of types that make me write code quicker, it's the fact that I can call anything from anywhere with a complete
52.
▲
by
fredrikholm
1y ago
The worst part of stories like this is how much potential there is in gaslighting you, the negative person, on just how professional and wonderful this solution is: * Information hiding by exposing a closed interface via the API * Iso
53.
▲
by
fredrikholm
1y ago
I suspect that this is the more common opinion, especially when the desired outcome is real world use. Recursive descent is surprisingly ergonomic and clean if one gets the heuristics right. Personally I find it way easier than writing BNF
54.
▲
by
fredrikholm
1y ago
Here's the GCC implementation of `std::function`: https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-... I'm with OP here.
55.
▲
by
fredrikholm
1y ago
> Programmers with shallow understanding and lacking experience of Lisp (or straight bias against it) are missing out so much, it really is sad. Most people I know of that tried Lisp and didn't like it did so by writing Lisp without
56.
▲
by
fredrikholm
1y ago
Thread OPs comment was pointing out that in Elixir there is no need to manually implement these strategies as they already exist within OTP as first class members on the BEAM. Blog post author has to hand roll these, including picking the w
57.
▲
by
fredrikholm
1y ago
In the same way that GC eliminates the need for manual memory management. Sometimes it's not enough and you have to 'do it by hand', but generally if you're working in a system that has GC, freeing memory is not somethin
58.
▲
by
fredrikholm
1y ago
They make it near impossible to extend from the outside. I can pass a Reader interface to your function, but I cannot (easily) add a > | UnusualProtocol(Socket) as a third party consumer. Other than that, sum types are the better abstrac
59.
▲
by
fredrikholm
1y ago
The author also streamed hours and hours of content using it to make increasingly complicated programs: https://www.youtube.com/watch?v=I0kWZP9L9Kc Wonderful CL channel in general.
60.
▲
by
fredrikholm
2y ago
Did you program against a REPL connected to your game, with state maintaining hot reload? Does your editor support working with s-expressions (eg. slurping and barfing)? Batch processing style programming (write to file, save, run, stop, re
More ›