HNHacker News
TopNewBestAskShowJobs

ackfoobar

713 karma · joined April 26, 2021

submissionscomments
ackfoobar··on Major rule about cooking meat turns out to be wrong
Well, a lot earlier. I pull my steak out of the pan when it reaches 45C internally.
ackfoobar··on Major rule about cooking meat turns out to be wrong
In Chris Young's video, the suggestion is to stop carry over cooking by slicing the meat when the internal temperature reaches the target temperature.

A corollary to that is that if the meat is closer to target temperature when it leaves the pan, you should rest the meat for less time. I don't think this is part of the conventional wisdom.

ackfoobar··on Major rule about cooking meat turns out to be wrong
TLDR: Resting is about carry over cooking (which raises the internal temperature more than you expect) than juice retention.
ackfoobar··on Immediately-Invoked Function Expression (2010)
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?

ackfoobar··on Mill: A better build tool for Java, Scala, and Kotlin
>> 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'll be able to understand this satire piece, so who's to say if the time was wasted.

http://conal.net/blog/posts/the-c-language-is-purely-functio...

ackfoobar··on In a major reversal, the world bank is backing mega dams (2024)
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 consumption the capital cost is so high that it does not make much economic sense.

ackfoobar··on Mill: A better build tool for Java, Scala, and Kotlin
I see. I thought you were forced to write Scala in your application code, because sbt already implies writing Scala to describe the build.
ackfoobar··on Mill: A better build tool for Java, Scala, and Kotlin
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 every few changes the feedback loop is tight-ish - barring crazy Scala features being used.

ackfoobar··on Mill: A better build tool for Java, Scala, and Kotlin
> 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, however, run the code to dump the structure.

It's easy for code to embed pure data; on the flip side it's hard to encode behaviour in serialized data. More often than custom Maven plugins I see people just drop down to using shell.

ackfoobar··on Mill: A better build tool for Java, Scala, and Kotlin
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 want.

ackfoobar··on Ask HN: Is it time to fork HN into AI/LLM and "Everything else/other?"
if all you want is word filtering in the title, you can simply write an adblock rule.
ackfoobar··on Grok 4 Heavy ($300/mo) returns its surname and no other text: "Hitler"
I'm not sure if the thinking tokens are in its context for this answer. Might well be confabulation.
ackfoobar··on Ask HN: Decent LLM agent plugin for Jetbrains?
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.
ackfoobar··on EU rules ask tech giants to publicly track how, when AI models go off the rails
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 more thoughtful than what I'm getting now.

https://news.ycombinator.com/item?id=39742935

ackfoobar··on EU rules ask tech giants to publicly track how, when AI models go off the rails
Cookie banners themselves is not a huge problem, but it is a good example of EU regulations being prone to stupid unintended consequences.
ackfoobar··on EU rules ask tech giants to publicly track how, when AI models go off the rails
If it weren't for the cookie banners (I blame the EU, but I'm open to corrections), I'd agree with you.
ackfoobar··on Meta Joins Kotlin Foundation
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.
ackfoobar··on ChatGPT's enterprise success against Copilot fuels OpenAI/Microsoft rivalry
Ha. Microsoft does it all the time.

https://news.ycombinator.com/item?id=40419292

ackfoobar··on A brief, incomplete, and mostly wrong history of robotics
Unfortunately I don't know robotics history as much as I know PL history, so I'm sure I missed most of the references.
ackfoobar··on A brief, incomplete, and mostly wrong history of robotics
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.
ackfoobar··on Meta announces Oakley smart glasses
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 myself what the LLM saw. The resolution was very low.
ackfoobar··on Guess I'm a rationalist now
Their sneering is just that. Sneering, not interesting critiques.
ackfoobar··on LLMs pose an interesting problem for DSL designers
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.
ackfoobar··on LLMs pose an interesting problem for DSL designers
> 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 pain. Time lost from one encounter with muddy JS/Python semantics is more than the time learning about sum types.

ackfoobar··on OxCaml - a set of extensions to the OCaml programming language.
I said "maybe" as granting the root comment's premise - I don't believe that.
ackfoobar··on OxCaml - a set of extensions to the OCaml programming language.
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.
ackfoobar··on OxCaml - a set of extensions to the OCaml programming language.
This will decrease performance because of reduced locality. Maybe increased jitter because of TLB misses.
ackfoobar··on Precious Plastic is in trouble
> 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.

ackfoobar··on Precious Plastic is in trouble
> 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 perceived as "good" contributes to the problem.

ackfoobar··on Precious Plastic is in trouble
> 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 comment mentioned two plastic problems worthy of concern - microplastic and ocean plastic. Neither of that is related to disposable plastic going to the landfill.

← PreviousPage 3 of 13Next →