News for hackers. Stuff that matters.

lowmagnet

What a weird thing to say about him. Clearly you haven't read his work.
Pasv is just a work around for nat'd connections.
Re:Python Polars Cheatsheet (based on our O'Reilly book) on Tuesday August 18, 2026 @05:43PM (#49353123)
my main frustration with pandas was certain idioms did not work efficiently because they escaped the pandas kernel, causing memory copy and other bad behavior.
Re:Terafab on Friday August 07, 2026 @05:54PM (#49216679)
We're not even close to type I, anyway.
Re:Go 1.27 Interactive Tour on Monday August 03, 2026 @10:45PM (#49163854)
The one thing I hated about Java's generics was type erasure. It worked for the JVM but it had such stupid limits, like not being able to switch on a type, like go. (interfaces are types, this is exploitable)
Re:Go 1.27 Interactive Tour on Monday August 03, 2026 @10:37PM (#49163819)
The implementation is coming along nicely, and I'm already thinking of ways of using generic bound functions. I'm not bad that it's not like Java 1.4 despite having the lessons of Java 1.4, but being class-based is a very different way of working from go. Getting the unbound functions right before the bound ones was a struggle, but I do think the approach makes sense, in the long run.

I can't wait to see the Container stuff in the next iteration, too.

Re:Go 1.27 Interactive Tour on Monday August 03, 2026 @10:20PM (#49163723)
It's showing you it's blending the `Box[T]` with a function that takes a function that applies over `T` to get a new type `Box[U]`. It's a bit convoluted, and it's also unnecessary. I think it's more readable like this:

`func (b Box[In]) Map[Out any](f func(In) Out)Box[Out]`

Or

`func Apply[In, Out any](in []In, f func(In) Out) []Out`

Which can be used anywhere and is not tied to a "Box"

Honestly if it wasn't written in go it'd fit right in with Java, with a Verb in the kingdom of Nouns.

Re:Go 1.27 Interactive Tour on Monday August 03, 2026 @10:03PM (#49163621)
> A quick credit first: the interactive Go tours were started by Anton Zhiyanov, who wrote one for every release from Go 1.22 through Go 1.26. He’s decided to stop, so we’re picking up where he left off.

But he actually wrote those and they made sense.

John C. Dvorak
Re:Apple targets OpenAI employees with legal letters on Friday July 17, 2026 @09:09AM (#48946990)
In what case is apple a monopoly?
They aren't crash compliant, aren't tagged with inspection stickers for signage, and the county/state road agencies could remove them for that alone.
Re:AI Is Slowing Down on Monday June 08, 2026 @01:07PM (#48448018)
wow someone tell the philosophers this guy has figured out the knowledge problem!
we have a 2017 and 2020 ioniq hybrid and the android auto has been flawless since we got them. except for updates from google on the phone temporarily breaking things, that is.
Uber and Doordash are both examples of abusing workers and their resources to externalize costs on the worker.
Because they even conflate pronouns with gender issues. You know, the words that substitute for antecedents in conversation.
Re:Rob Pike's 5 Rules of Programming on Wednesday March 18, 2026 @09:33AM (#47425618)
I always point out the operational word is "premature".
Re:Using go fix to modernize Go code on Tuesday February 17, 2026 @02:46PM (#47052195)
I just searched for `for` loops with `:=` within and hand-fixed them. I found a few forms of the for loops and where there was a high number, I used regexp.

This tool is way cooler, post-redesign.

Re:Start all of your commands with a comma on Saturday February 07, 2026 @10:07AM (#46924435)
the sibling answer but with `-a` before command name, will display all path hits for a command.
I'm actually more excited about 1.26 mainly because of the streamlining of a lot of out-of-my-control systems. I love that I can new() an expression.
I rented one of these in the form of a Hyundai Sonata, and their lane follow is amazing. Included in the cost of the car, does radar cruise and all the rest. Free for the life of the car.
Re:Stewart Brand – Maintenance: Of Everything, Part One on Tuesday January 20, 2026 @04:54PM (#46698243)
Gotta maintain The Machines of Loving Grace.
Tom Cotton, (R) Arkansas is proposing a bill to shield households from increases in power costs in their region if datacenters are taking excessively in their grid sector. It *ALSO* allows for private power plants to bypass the EPA regulations public power grids are subject to.
Re:Student arrested for eating AI art in UAF gallery protest on Thursday January 15, 2026 @09:34PM (#46642350)
This was performance art.
Re:Goscript: Transpile Go to human-readable TypeScript on Thursday January 15, 2026 @04:17PM (#46639457)
Wait, go isn't human readable?
he was just murdered instead
Re:I have to give Fortnite my passport to use Bluesky on Friday December 19, 2025 @12:29PM (#46328465)
It says so in the first paragraph that it's a subsidiary of Epic Games that does verification.
It does a pretty good job of caching and that does help speed up builds. I also run all of my end to end tests from it because I can coordinate secrets and clusters of containers through it.
I use it to do builds in our monorepo. We got onboard before the LLM trash features. The base design is ok but there's things I'd do different today if I knew the build stuff would fade away for the LLM push.
We still do slavery and it's even kept in the 13th amendment as a punishment.
Re:Ask HN: Do you believe aliens are visiting Earth? on Monday December 01, 2025 @02:24PM (#46111836)
There are countless examples of people finding evidence of ancient peoples who were capable of great engineering feats like pyramids and other structures with simple tools and techniques. To state that aliens must have played in their construction is, to put it mildly, arrogant. (I'm a lot of cases, culturally chauvinistic and/or racist)

Older »