skysight-inc/HackerNews huggingface dataset:
"Clean code" can mean two things: (1) someone's subjective feeling that a certain piece of code is nice, and (2) following the (majority of) the guidelines in the book Clean Code and related.

What people have started feeling, myself included, is that (2) and (1) are fundamentally different in many places. That is, that following some of the guidelines of Clean Code the book produces code that is very much not clean.

So sure, everyone agrees that clean code is better, almost by definition. There are indeed valid (usually business/time) reasons to go for code you know is messy, but those are all external - in an ideal world, everyone wants to write clean code. But, increasingly, people don't feel that Clean Code is a good way to achieve that. In fact, many of the patterns in Clean Code have ended up being considered sources of messy code by many people - over-abstraction and de-duplication perhaps chief amongst them.
I remember that revelation! “Holy s**t, what if I click ‘Save’ now?”
Security for a video call is from the user account not visual verification.
How is this different from companies like Apple or John Deere that DRM components and brick the device if repaired by "unauthorized" technicians?

(I think both are equally egregious personally, but I know there's a lot of support here for Apple, so I'm curious how people reconcile these. I don't want to make this a religious war about Apple, but those practices in general regardless of which company is doing it).

Is it the secrecy that makes it different? i.e. if the train company were honest about it then it would be ok?

Or is it the scale that matters? Trains are big and expensive, while phones are small and cheap, so it's ok? (that wouldn't work for John Deere but would for Apple)
>Okay, I see, but then you could also leave your Union for zero cost.

Clearly it's not as simple or cheap as "zero cost", otherwise Tesla would have bribed some workers $1000 (or whatever) to defect, rather than hiring a bunch of expensive lawyers.

>But my point is I think forcing is far too strong a word for the union meanings here. Why wouldn't you support this if you benefit from the Swedish model?

Whether you benefit from something is irrelevant to whether it's "forced" or not. I think taxes are a net positive for everyone in society, but I'm under no illusions that everyone's forced to pay it.
Or even just requiring the manufacturer to provide all source code to the customer and the tools to update/replace the software. Would be nice to get rid of the black holes that is firmware and allow for auditing.
It’s fun to see Americans upset over private workers exercising their rights and the fact that Swedish postal service is a private business, must hurt to realize that the Nordics in many ways has less government overhead than the US :D
This is amazing.
Does anyone who knows how decker works tell me how to look at the code?
Missing the quarter, sure that's grounds. Lying and backstabbing is SOP.
You're setting up a false equivalence when you imply that our position is that older societies were completely clueless.

Nobody is saying that. What we're saying is that the application of science to medicine and nutrition had an absolutely enormous effect, and before that, we didn't really have explanations- just empirical observations- of the effect of medicines.

https://en.wikipedia.org/wiki/Spontaneous_generation
Part of the concern is the friction of setting up on the order 100 accounts on an order of a dozen different devices over the next few year (I hadn't thought of that until you mentioned it), but its mostly that I don't trust any of the authentication providers to not accidentally lock me out of my own account.

Anyway, the immediate concrete use case for me is the same as being able to back up my password list:

If I lose all my devices (or, more likely, some cloud provider does what Google Drive did last week), then I can restore from the backup. Also, I've already arranged to be able to backup my password list and to store the backup in an offline / secure way. I don't want to set up a second account recovery path just for passkeys.

Finally, there's no data on any of my portable devices that I care about. I break a laptop or phone every N years, and I learned long ago to treat them as disposable. As currently implemented, passkeys break that invariant.
Mistral sure does not bother too much with explanations, but this style gives me much more confidence in the product than Google's polished, corporate, soulless announcement of Gemini!
Lve-Org/Lve: A Repository of Language Model Vulnerabilities and Exposures (LVEs)
> Rockets don't fly and electric cars don't drive if they aren't built right, which puts a floor on the IQ of the man who is that involved and hands-on with it

Agree! So what does it have to do with Musk?

Also, I really wouldn’t call someone smart who literally forced himself into buying a company out of ego for much more than its worth. I wouldn’t call someone smart who did that with a car or whatever, let alone that amount of money. Then firing all the people without realizing that won’t fly that easily in Europe. Then all the bullshit he tried to do around the takeover (lines of code, having twitter explained to him, etc) - like I thought he is at least okay at being a web developer given paypal.. but nope, also a fraud there.

He is at the very least just a dumb narcissistic lucky guy who got dealt a good hand of cards, at worst is actively malicious.
How are folks managing AD users and computers with so many remote employees? Does AD still have value vs a more decentralized "BYOD" approach, especially with heterogenous OSs?

AD used to be the lynchpin for policies and SSO via GP, NTLM and file shares, but these days those are all web apps or cloud drives and AD has little control over them.
As intelligent beings we have the capacity to reduce that harshness. Not being able to eliminate all danger and risk is not an argument against limiting and controlling the dangers and risks we we have the ability to affect.
Imagine with Meta AI. Describe an Image for Meta AI to Generate
Homes need to be built better, period.

(1) We need 240V outlets for EV charging (costs cents at construction time, costs $3000 - $8000 later)

(2) We need electric panels and wiring future proofed and can also seamless upgrade to solar, battery, complete electrification of home with heat pump water heater and heat pump instead of a separate gas furnace (fridge and AC use heat pump already), induction stove.

(3) Home electrification should allow power intake from car, eventually everyone is going to have electric cars. This will serve as emergency power, no need to buy a separate gas generator.

(4) Indoor air needs a lot of work, in addition to heat pump for heating and cooling, we have to consider heat recovery, enthalpy recovery, humidity, UV and most importantly particulate matter. And mold prevention. Recent discussion on mold, lots of people reporting problems: https://news.ycombinator.com/item?id=38543229

(5) Homes can be built with solar shingles. Right now, we install a roof, then we install a structure to support panels and then panels. If we can just install solar shingles, it is just 1/3 of materials and far more importantly 1/3 of labor and a lot less than a third in time. We now have nailable solar shingles: https://www.gaf.energy/timberline-solar/

(6) Electric utility (or the city) can lay electric and fiber at the same time. Either the city or electric provider can provide internet or give equal access to providers. We don't need any gas connections, homes can be completely electric.

(7) Ongoing discussion on 48V POE for cars (https://news.ycombinator.com/item?id=38557203). Wny not 48V POE for most of home wiring? Most everything can be smart by default.

I'm sure there are a lot more, but nobody is asking for these. Builders can just build these if people start asking for these as standard. Its a tragedy that people buy 50+ year old homes for 500K - 1 million USD, moldy, rickety, poorly insulated crap homes with so many ongoing issues and will cost hundreds of thousands to retrofit and make it livable.
You are underestimating how long things take in the car industry. 2030 is really, really soon.

The majority of cars sold then will be existing models with minor updates.

And car companies only upgrade their major platforms every 5-7 years. Many companies are currently planning their second (or first real) EV platform.

But by 2030 even the waste number of EV will be on first generation EV platforms still.

Companies have 100s of million invested in their current body lines. So unless you build a totally new factory you are not gone adopt this technology.

When Toyota came out with their production system it took decades for all the practices to become established.
* following post in the
series
Worldwide colonialism wasn't exactly a "gift", but I must admit it has been advantageous to me, personally, for English to be as relatively universal as it has become as a result. ;-)
Palmer Luckey's Anduril unveils reusable missile
Given recent research into using WiFi to “see” through walls or at the very least track what humans are doing in a space, I would argue we should go in the opposite direction. I’m pretty happy with my current house and adversarial-to-WiFi cement walls. Sure, I had to run some cable and buy enough access points for about 3x the amount of square feet of my house (if you go by the advertised specs) but this is a one-time investment that is pretty small in the grand scheme of home-related things.
Which sucks. You’re constantly sharing bandwidth and operating noisey links between APs. Far better to just have multiple APs via Ethernet backhauls.

Problem is people expect to put in a single WiFi-router-modem and be done. Radio doesn’t work that way.
Possibly not, but multiple Chromium-based browsers have already built their own adblocking solutions as part of the browser itself, so they certainly don't have to care. Brave's especially is about as strong as uBO, Vivaldi has a decent adblocking system and the people making Arc are looking to build their own as well.
They do something else, as has happened hundreds - thousands - of times throughout human history when some innovation has made entire classes of occupations obsolete.

Nobody's making textiles on looms anymore but the mechanization of that work eliminated a lot of jobs, but it created jobs both higher in numbers and more economically valuable.

Eliminating the need to humans to pick a box off of a shelf and put it into a slightly larger box to get put on a truck is an objectively good goal for the economy (which is probably obvious) and for people, including those doing that job now (definitely less obvious).
https://archive.ph/l166I
Part of the appeal is that people who don't know how to program or write parsers can use an LLM to solve their unstructured -> structured problem
Mitchell Hashimoto's new terminal Ghostty (private beta) supports the Kitty graphics protocol [0].

0. https://mitchellh.com/writing/ghostty-and-useful-zig-pattern...
I worked at a company that shipped petabytes of ZFS storage for years and years. Think 42u racks with 60 drive JBODs. Hundreds of these. Hundreds. And they were a very small company. Can you imagine the scale Sun and Oracle shipped hardware at? Was there any linux based hardware company operating at the same scale?

I don’t think we had any customers request ext4 bulk data storage. OS drives sure. Everything else was ZFS. Or weirder proprietary filesystems!
in our specific case, we needed something handwritten for the statement-level parser anyways. And the requirements for the LL parser are very simple: extract individual sql statements from a source input. we just compare the next n tokens with a list of tokens from which any statement starts, which is straightforward to implement with a handwritten LL parser.

so after all, I would say its a decision based on the special requirements we have working around the limitation of libpg_query. I think its also the fastest one, but this was not the main reason.
And only need it to compile to webassembly.
Why do you need to know what/what not is a delayed operation? Seem like the worse languages are ones you have to do that, instead of just caring about the computation. Polluting your function signatures with some abstraction that has nothing to do with the domain is pretty lame too.
Well so far their business model seems to be mostly centered about raising money[1].
I do hope they succeed in becoming a succesful contender against OpenAI.

[1] https://www.bloomberg.com/news/articles/2023-12-04/openai-ri...
With who though? Not their workers. Can you cite coverage of the "union busting" activities you're talking about?
I hope you find some answers soon!

FWIW, I have a similar athletic history & am about 9 years into chronic fatigue syndrome. Mine’s likely post viral, but I can also remember a 24 hour race where I finished not feeling like myself anymore. I’ve had extreme exercise intolerance and all of the typical CFS symptoms. I’ve been to dozens of doctors and several top institutions with no answers yet.

3 years into it, I was diagnosed with mild sleep apnea — even though I’m not overweight.

I’m finally feeling somewhat better after eliminating all caffeine (I only had 1 8oz cup every morning), plus 4 months off of any exercise, work, and as much stress as possible. Some of my mysterious and long-lasting symptoms, such as various food intolerances & dizziness, suddenly resolved.

I stopped drinking alcohol a long while ago too, thinking even my occasional drinking could impact my sleep and recovery.

I still experience post-exertional malaise if I go above zone 2, but I can now tolerate zone 2 workouts without the typical crashes that would occur 24-48 hours after exercise and would last for days.

I’ll likely be on a nice e-bike soon, so that I can keep my heart rate more stable and low over hilly terrain.
Agreed 100%. 10.6 is arguably the best version of Mac OS ever. It gave us 64bit GCD and was highly optimized for the hardware of the time. Native software of the time flys on the build listed above.
There's no power rail. It's overhead power - that was the problem. According to the union a manager providing strike cover was responsible for damaging the overhead lines - https://www.standard.co.uk/news/transport/gwr-train-cables-p...
Python 3.12 Release
Ask HN: Has anyone hacked the Hydrow rowing machine?
I purchased a Hydrow rowing machine for $2500 during the pandemic. It comes with a built in monitor that streams rowing sessions but it requires a subscription. Using it without the subscription is so limited it’s pointless. It seems just restrictive enough that it would have piqued the interest of someone with way more reverse engineering ability than myself.
Surprised there is not a single chaebol on the list, Samsung or Hyundai at least
Thank You! This is really good advice. Just wish I had the time to really get into it.
PostNord is a private company owned by the Swedish and Danish government and who has won a tender with the Swedish transport authority to carry out the deliveries for them.

Private workers for a private company exercising their union protected rights.

I thought Americans loved private companies? But apparently not when it’s a postal service and it affects a treasure like Tesla?
John Deere is a 200 year old company and I am amazed at the goodwill they've burnt in a tenth of the time with these shenanigans.
Google's NotebookLM
Show HN: A commenting system that works via email
Hi everyone,

I made a commenting system that accepts submissions via email, instead of requiring a login. The back story is I wanted some interactivity for my site/blog, but I felt like requiring a signup wouldn't be a good UX.

I'm looking to get feedback on it from the HN community. Please feel free to ask questions and let me know your thoughts, especially what you don't like about it. If it's a decent UX then I would like to make it OSS, as I feel that it could potentially fill a void, especially for beautiful small websites.

Here's the basic flow of data:

1. When the site is generated, mailto links embed information for where the future comment will go

2. When a user clicks on a "comment" or "reply" link, it opens a draft comment in their mail client. Instructions are pre-baked into the email body.

3. When a user hits send, the email is received by my software, which parses the email, validates it for tampering against a pre-computed hash, and then opens a pull request.

The user gets an "auto-reply" email, informing them that the submission was successful, along with a link to preview it. The site moderator (so, in this case, me) gets an email, with links to the PR. When the comment is approved, the site is rebuilt and deployed.

Other info and potential gotchas:

* Emails are all hashed for privacy (with a secret "pepper") that's occasionally rotated

* Comments are represented as individual files, so there are no merge conflicts

* DKIM, DMARC, and SPF are all checked to help prevent spoofing

There's a FAQ on the link above that has more information, and you can also see a demo on my personal website: https://spenc.es/writing/email-as-a-commenting-system/

Thanks for reading!
No idea how you can get all the way up to 90% for GitHub. You need to click all but two checkboxes for that, and that's clearly just bollocks.
IA Writer in Paper
They're paying me to deal with their bullshit.

They offer the only credit card that offers 5% cash back at a retailer that I spend lots of money at.

I don't use them for anything other than that card.
No, but I think there's tons of bots there. My dad signed up for it because the media told him this is the way to defeat Elon Musk and is now obsessed with it. rolls eyes
I disagree. One of California's big problems is exactly all the fucking around with taxes and spending in propositions amending the constitution with formulaic mandates.

Particularly notable offenders include Proposition 98 distorting education spending and Proposition 13 distorting property tax revenue.
I would think they have been getting royalties on episode reruns, since they were tracked down via a cue sheet, which has their names on it. Cue sheet is used by performing rights organizations to pay out royalties to performers. Given the story of the track's composition ("we need a song, you have four hours") my guess is that these folks have produced a large number of songs over the past 30 years that earn relatively small royalties per track. Add on top of that there are multiple tracks called "X-Files" just in this episode and I'd further guess there are plenty of songs that the musicians are getting paid for that they have forgotten over the years!
In my day all we had was Martin Gardiner, and that was only once a month!!
Nobody is saying that it's a 100% certainty, but when this is exactly what has happened many many times throughout human history, the burden of proof that this time is different kind of falls on you, doesn't it?

You could absolutely be right but I see zero evidence that this technological advancement will be any different than the countless before over the last thousand years.
Yeah but we have a lot of languages that do that now. Some of them are even mentioned on Onyx's homepage.
No, they should be fine, they can easily document their residency, those that moved to Turkey as well. But just setting up a letterbox will likely not work and may even backfire.
For images with fine lines we have both ReGIS and Tek4014. ReGIS specifies pixel values (and became somewhat of a pain when DEC terminals with more than 240 scanlines appeared) but Tektronix graphics work with (IIRC) a coordinate space of 4096x4096 addressable points. It's not too amenable to extensions and has very little functionality besides drawing straight lines in various styles and monospaced text in a couple (3, IIRC) sizes.
Reasonably, x in this case would be generic/polymorphic (just as 10 is a generic/polymorphic constant) with its type bounded by the equivalent of Num trait. Haskell (and to some extent Go) gets it right.

Also reasonably, each source file should start with declaring the version of a language it was written in, so that e.g. Onyx 666.0 changing its default integer width wouldn't affect the code in the file with "///OnyxVer=665.0" at the top of it. Now that is a feature I would like every new language to have.
It is done The 486 DX4-S/100 finally did it
Create a culture where you bikeshed instead of shipping?
> French republic and many other European nations dont collect on race.

Which is a convenient way for them not to track patterns of racial discrimination in their social systems.
I still feel like I must be missing something obvious, but I found the complete set of images here:

https://github.com/PLEX-GR00T/OpenCV_Tutorials/tree/master/I...
Case: Lightweight Back end-as-a-Service for rapid web application development
Yesterday:

How to think about the OpenAI Q rumors*

https://news.ycombinator.com/item?id=38564196
My favorite 3 of the year:

Tom Swan and the Head of St George (By Christian Cameron)

I fell in love with the lead character, who is like a 15th-century Indiana Jones wandering the Mediterranean and getting into trouble. He bumps into key historical figures and events along the way.

I Am Pilgrim (By Terry Hayes)

This is the best thriller I've read in 5 years. I read this book in one go as I could not put it down.

Thief of Souls (By Brian Klingborg)

The series is about a policeman named Lu Fei who lives in rural China. He ends up with a rural posting after stepping on some powerful toes. The author does a fantastic job describing what it is like to work in that power system and how he has to navigate the realities of modern China.

I shared a full list of these 3 here: https://shepherd.com/bboy/2023/f/ben-fox

I also interviewed 1,201 authors (more coming) and asked them for their 3 favorite reads of the year. Then I tabulate the results: https://shepherd.com/bboy/2023

I break it down by section with things like nonfiction (https://shepherd.com/bboy/2023/nonfiction), best audiobooks (https://shepherd.com/bboy/2023/audiobooks), and genres like hard sci fi (https://shepherd.com/bboy/2023/hard-science-fiction).
Crazy Time Live: A Fusion of Entertainment and Gaming
In the dynamic landscape of online entertainment, Crazy Time Live has emerged as a groundbreaking and exhilarating experience that seamlessly blends gaming and live entertainment. Developed by Evolution Gaming, a trailblazer in the world of live casino games, Crazy Time Live takes interactive entertainment to a whole new level.

At the heart of Crazy Time Live is an engaging and fast-paced game show hosted by charismatic presenters. The game is set against a vibrant and visually stunning backdrop, creating an immersive atmosphere for players and viewers alike. The show is known for its unpredictability, with a gigantic spinning wheel determining the outcomes of each round. The wheel is divided into colorful segments, each representing a different multiplier or bonus game, keeping players on the edge of their seats.

What sets Crazy Time Live apart is its unparalleled combination of chance and skill. Players can place bets on various outcomes, and the live interaction with the hosts adds an extra layer of excitement. The game's success lies in its ability to captivate a global audience, transcending traditional gaming boundaries.

As technology continues to push the boundaries of entertainment, Crazy Time Live stands as a testament to the innovative fusion of gaming and live shows. Its unique blend of unpredictability, engaging hosts, and vibrant visuals make it a must-experience phenomenon in the world of online entertainment, offering a crazy, thrilling ride for players and viewers alike.
Still doesn't seem economical to me

You'll lose a % to EW and you can build more disposable drones for less. I expect that Ukraine will become a leader in military drones. They have the most operational experience and know how to get more out of limited resources.