News for hackers. Stuff that matters.

asguy

What's rust's C++ interop like?
Re:Compile-time JSON deserialization in C++ on Wednesday July 10, 2024 @10:08AM (#40927074)
Holy crap; that's pretty epic. Did you come up with that yourself?
Re:As you learn Forth, it learns from you (1981) on Saturday June 22, 2024 @09:07PM (#40763733)
There have been some great responses that cover the gist of it, but to add a couple more mundane specifics:

- Build up the thinnest abstraction that lets you express a solution in the problem domain.

- Allow the API user to express their intent, and not be focused on mechanics they don't need to understand to get the job done.

- Focus on getting the interfaces right before the implementation is perfect.

- A clean interface will allow you to make drastic changes to the implementation without the API consumer becoming aware.

Re:As you learn Forth, it learns from you (1981) on Saturday June 22, 2024 @02:04PM (#40760886)
Programming Forth caused the most massive change in my programming mindset (the LSD of programming languages). Even more so than Lisp. Thinking of the rapid rise of the base language to the problem domain (i.e. it's a DSL construction kit) opened my eyes to how to design useful and extensible APIs.

https://thinking-forth.sourceforge.net is worth reading, even if you have no desire to ever program any Forth.

Re:SPI Flash on Sunday June 02, 2024 @11:49AM (#40555072)
Something like a Tag Connect would work well, if you can spare the footprint space: https://www.tag-connect.com/product/tc2030-fp-footprint
> I have not seen anything that an induction stove cannot do as well as a gas one.

Char peppers for peeling.

Re:How Figma's databases team lived to tell the scale on Friday March 15, 2024 @12:05AM (#39711966)
Thousands of directories over thousands of installations? It’s not that far fetched.
> the guy who routinely converses with Nazis

Elon routinely converses with Nazis? Which ones?

This is exactly the problem. Have /you/ contemplated what would happen if you applied that reasoning to any other group (e.g. Jews, Blacks, Oracle employees)?
X is a better experience for me now, than it was before Elon's takeover. If I don't want to see something, I don't look at. If I don't want to allow someone to interact with me, I block them. If I believe something is bullshit/a lie, I participate in the community notes.

I don't need a nanny to pre-chew my information for me.

Re:Ask HN: Is Unlimited PTO a Scam on Sunday November 19, 2023 @12:32PM (#38335098)
Yes. It's there to keep things unspecified. If you leave the job, you're not paid out unused vacation. If you use too much, you run afoul of an unspoken rule
Re:The Sokal Hoax on Thursday November 09, 2023 @04:07PM (#38211319)
"We published what we thought was a valid paper on a fat man in red that lives on the north pole and gives presents to children at the end of December. Unfortunately we didn't realize that the aeronautical data on his flying reindeer was falsified. This was clearly data fraud, and has no impact on us being a trustworthy peer-reviewed journal." lol
Re:The Sokal Hoax on Thursday November 09, 2023 @04:03PM (#38211273)
They found 7 gullible journals that accepted their papers. 4 of which got published before the project was discovered.
Re:The Sokal Hoax on Thursday November 09, 2023 @11:21AM (#38207039)
Focusing on "fabricating observational data" is a cope for the fact that Boghossian et al made the targets of their papers look like absolute fools. The problem with the paper "Human reactions to rape culture and queer performativity at urban dog parks in Portland, Oregon" wasn't that the data was wrong.

Sokal and Boghossian's work intended (and succeeded?) to accomplish the same thing: they demonstrated the fact that these academic disciplines are full of bullshit producers and consumers.

> We have a dog in the white house.

Not anymore.

- https://abcnews.go.com/US/wireStory/bidens-dog-commander-lon...

Drowning Man
Did you not parallelize your migrations?
Re:62% of code generated by GPT-4 contains API misuses on Sunday August 27, 2023 @08:06PM (#37287993)
TL;DR: Treat LLMs like undergrad interns, and you won't be disappointed.
I smoke using a Weber kettle grill; i.e. no explicit smoker required. It doesn't have a huge capacity, but it makes amazing pork ribs.
It does. That's where the pink "smoke ring" comes from.
I wouldn't say that. It's got more of a "STFU, you whiners.. start focusing on more important things inside the locus of your own control, rather than complaining about what other people are doing" vibe.
No, he's saying stop letting people live rent-free in your head.
Re:Unicode Character “𝕏” (U+1D54F) on Monday July 24, 2023 @12:58PM (#36851006)
> Is Matt Taibbi implied to be one of those happy people?

Not specifically. That's why I linked to content from him, and not his profile page.

Re:Unicode Character “𝕏” (U+1D54F) on Monday July 24, 2023 @09:41AM (#36847845)
> Few would argue that it works better now than before

Maybe in the social circles you stick to, but there are plenty of /other/ people (i.e. more than a "few") that are quite happy that the 80% of employees doing their jobs were let go. [1]

https://twitter.com/mtaibbi/status/1598822959866683394

> lack of ecosystem support

.. is the “Nobody Got Fired For Buying (IBM|Microsoft|Cisco)” for the 2020s

> and (most importantly) price.

… OP didn’t mention they were optimizing for price.

Some might say it makes sense to optimize for availability, recent updates to hardware software stack, etc.

There are many already available, e.g. ZedBoard, someone just has to do the work to target these other boards and their peripherals/layout.
Re:Rust: The wrong people are resigning on Sunday May 28, 2023 @05:31PM (#36107991)
"You run into assholes all day? you're the asshole" - Raylan Givens (Justified)
Re:How WebAssembly Is Eating the Database on Tuesday May 23, 2023 @12:31PM (#36046661)
Depending on the database you’re using, you don’t have to do that right now. I’m looking at you, PLV8
Re:Startups Are Scooping Up Big Tech’s Cast-Off Workers on Thursday May 11, 2023 @01:54PM (#35905739)
Definitely addicts. If they're obese that's even worse.

Older »