Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ackfoobar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
ackfoobar
1y ago
In languages where more control flow constructs are expressions (if, match, try-catch) I don't need this, except if you count `run` in Kotlin. What language are you thinking of?
62.
▲
by
ackfoobar
1y ago
>> FP ZIO/Cats world > I don’t think it’s worth all the trouble Once you see the bijection between imperative programming and imperative programming in a monad , you'll be angry for all the wasted hours. Then again, you&
63.
▲
by
ackfoobar
1y ago
Synthetic fuel production has a very low efficiency, but that does not matter if electricity cost is cheap. So the idea is to overbuild electricity consumption and let them sit idle when electricity is expensive. But, AFAICT, to overbuild c
64.
▲
by
ackfoobar
1y ago
I see. I thought you were forced to write Scala in your application code, because sbt already implies writing Scala to describe the build.
65.
▲
by
ackfoobar
1y ago
I don't think "Scala+Maven is worse than Scala+sbt" is opposite to "Scala+sbt is worse than Java+Maven". As much as I like to hate Scala, in my past experience if you have sbt console open, then hit compile after ev
66.
▲
by
ackfoobar
1y ago
> imperative based build systems (Gradle, Ant, now Mill) Build code in Mill is pretty declarative. You're using the word to mean "not 'pure, serialized data'". > IDEs cannot read imperative statemetns They can
67.
▲
by
ackfoobar
1y ago
Yeah. It's Greenspun's tenth rule. If you have any complexity, programming against a good abstraction (Gradle is not good good, but decent) beats finding the magical incantation of configuration to get the tool to do what you wa
68.
▲
by
ackfoobar
1y ago
if all you want is word filtering in the title, you can simply write an adblock rule.
69.
▲
by
ackfoobar
1y ago
I'm not sure if the thinking tokens are in its context for this answer. Might well be confabulation.
70.
▲
by
ackfoobar
1y ago
How does it compare to the agent chat in cursor? I've been a fan of JetBrains for a long time, but I'm losing faith.
71.
▲
by
ackfoobar
1y ago
Your "of course" basically makes my point. If your regulations fail to account for predictable cobra effects, you are not good at regulating. The comments on "Dear Paul Graham, there is no cookie banner law" were way mor
72.
▲
by
ackfoobar
1y ago
Cookie banners themselves is not a huge problem, but it is a good example of EU regulations being prone to stupid unintended consequences.
73.
▲
by
ackfoobar
1y ago
If it weren't for the cookie banners (I blame the EU, but I'm open to corrections), I'd agree with you.
74.
▲
by
ackfoobar
1y ago
I'd say the magic of Kotlin comes down to a few syntactic constructs that compose very well. Also, a decent type system helps with understanding any magic, even those not tastefully created.
75.
▲
by
ackfoobar
1y ago
Ha. Microsoft does it all the time. https://news.ycombinator.com/item?id=40419292
76.
▲
by
ackfoobar
1y ago
Unfortunately I don't know robotics history as much as I know PL history, so I'm sure I missed most of the references.
77.
▲
by
ackfoobar
1y ago
As stated in the article, it's a reference to a piece by James Iry on programming languages. From the title I expect something wrong, funny, but mildly insightful.
78.
▲
by
ackfoobar
1y ago
Yeah same thought here. When I got the glasses and was ready to be disappointed by the AI feature, I ask it to tell me the sweetener from the ingredient list on a can of coke zero. It hallucinated a whole bunch, so I took a photo to see for
79.
▲
by
ackfoobar
1y ago
Their sneering is just that. Sneering, not interesting critiques.
80.
▲
by
ackfoobar
1y ago
Haven't played with either. I don't think OCaml needs a new syntax. Maybe Reason need it for JSX but I don't really do frontend.
81.
▲
by
ackfoobar
1y ago
> Will the promised productivity gains allow me to recoup the cost of the time spent learning. Some deep PL stuff I doubt there is productivity gain to begin with. But many ideas in the ML language family are simple and reduce debugging
82.
▲
by
ackfoobar
1y ago
I said "maybe" as granting the root comment's premise - I don't believe that.
83.
▲
by
ackfoobar
1y ago
Maybe it's sunk cost fallacy for them. But without them there wouldn't be a language that gets me 80/20 benefit/effort of Rust.
84.
▲
by
ackfoobar
1y ago
This will decrease performance because of reduced locality. Maybe increased jitter because of TLB misses.
85.
▲
by
ackfoobar
1y ago
> churches When churches had significant power and shaped the discourse and culture for the worse (I am not so sure if it's worse anymore), I definitely was quite annoyed at them.
86.
▲
by
ackfoobar
1y ago
> Microfibres are even released into waterways when we wash our clothes in the washing machine. Clothing companies often tout how much of their polyester fibre is from recycled sources. It's ironic how plastic recycling being percei
87.
▲
by
ackfoobar
1y ago
> you are consciously adding to the known problem. Blaming "someone else" doesn't change the decision The "known problem" is plastic going to the landfill, which is barely a concern. awongh's original commen
88.
▲
by
ackfoobar
1y ago
> a Football fan, an archer, a woodworker None of them has the faux moral aspect of plastic recycling that almost sees disposable plastic use as sinning. None of them has forced paper straws on me.
89.
▲
by
ackfoobar
1y ago
A community around recycling reminds me of the article "We wash our trash to repent for killing God". Like some commenters in this discussion I believe plastic recycling is a distraction at best.
90.
▲
by
ackfoobar
1y ago
Mine is "time cook"-2-0-0-start. Pressing "2" to start is some dumb preset program. But that's not the point, it's usually not pleasant to find and press the buttons on the microwaves machine. Mashing the corne
More ›