skysight-inc/HackerNews huggingface dataset:
> we basically agree on a lot of rust-related things.

I suspect we do too!

> It doesn’t hurt anything to acknowledge that safe Rust can be unsafe due to mistakes in abstractions

I think that the core disagreement here is not that I think that it's harmful, it just seems incredibly banal to me. That is, like, of course it can! So bringing it up feels like an attempt at a "gotcha" that's not really a gotcha.
Toy Lisp compiler using LLVM done with AI in 8hrs
Hi, always wanted to create a toy lisp compiler in LLVM for some reason, but never had the time to get it working.

Took a new stab at it with Claude 3.7. Got a working version up in less than 8hrs in total with passing tests! Never wrote a single line of code. I would estimate the number of cursor iterations to about 500.

Process was:
1. Ask Claude to create a boiler plate JIT in LLVM (see below shared chat)
2. Asked Claude on the architecture and what classes should be created (did this in cursor):
- lexer
- parser
- AST
- Code gen
3. Implemented each part separately, lexer, parser and AST took 1hr, codegen took ~7hrs.

It can define variables, functions and do some basic stuff:
try: (defn factorial [n] (if (= n 0) 1 (* n (factorial (- n 1))))) (factorial 5)

Hope you like it!

Here are some chats if you are interested in the first part of the coding (the rest was done in cursor):

LLVM
- https://claude.ai/share/3c5a1f92-389f-4274-8348-dcceaee8f140

Lexer
- https://claude.ai/share/fa32b8bd-0b8e-4faa-bc09-fc3dd9bb5ad3
> Do you think there's some design formula or lesson in it for future original Lego games?

I think so—the big picture design is "GTA but with Lego", and it worked pretty well. At the very least, they should be able to pull off a sequel—perhaps set in a new city.

One advantage it had over more realistic GTA games: the city was divided up into districts, and each district had a different theme, inspired by a different real city or part of the world. That works well with lego, but not as great in a more realistic setting. So leaning on the juxtaposition of different elements would show off lego's breadth as well as emphasize the toy nature of the games.
I like the pricing - I think its interesting. But I think the author should just give the option to do one or the other. Unlimited at $10/month or per task.
Is UK slowly committing a suicide? First leaving the EU, now introducing Stasi-like spying practices on its citizens and royally screwing every small business in the IT?
Lossy compression can be megabytes vs. tens or hundreds of megabytes per image kind of question, i.e., worth all the sweat it brings.
> generalize an entire community of hard-working people

By claiming they are hard-working, you are generalizing. It is usually only a couple or few that are actually hard-working people, but then again, I am generalizing because I do not know, I do not wish to actually claim to know.

Judging by your comments, e.g. "you should be ashamed" (for simply expressing his dislike of YOUR community), you sound exactly like a zealot.

Why do you feel the need to claim moral superiority and tell someone to be ashamed just for simply expressing their dislike of your community? And while we are at it, he probably dislikes the community because of people like you. We have gone full circle.

I am not even going to bother commenting on a lot of things you have said, but:

> My other comments are fairly trivial English. Surely you can very easily make something out of them.

Sounds condescending as well, but this is a minor nitpick. :)
Philosophy of the Other
Rhombus is ready for early adopters
https://www.imdb.com/title/tt0256408/?ref_=ls_t_2

also https://en.wikipedia.org/wiki/Dot.Com_(album)
Agreed! Your comment did give me a chuckle.
I'm sure they'll be updating the encryption to something more difficult to crack instead of lowering the ransom demand to beat cloud server prices. I'd rather pay more to a server farm and wait days to get my data back than give any reward to the asshole scammers who locked it away.
I've been using esp-idf (both professionally and as a hobby) for almost a decade by now and I have not once used Docker.

They even provide you with a fully offline SDK. Extract it and open a terminal and build things. No dependencies, no docker, no nothing.

Your criticism regarding their usage of cmake and the kconfig language hold a bit more water. I've never had any issue with the kconfig system (at least not since they've reimplemented the menu system in python instead of whatever it was) but I have hit CMake limitations a few times.
They should periodically change the name at random, and let the name contribute to the entropy. Of course, this won't work if everybody votes to name it, say, "Wavy McWaveface."
Tesla fans exposes Tesla's own shadiness in attempt to defend Autopilot crash
I'm not a quantum physicist and so can't really comment on why, but it's clear that the paper you linked is not widely accepted, as the Born rule is still taught as a postulate of quantum mechanics, not a derived property of the wavefunction. I'd wager a guess that the paper ends up inventing some other postulate that is itself not derivable from the wavefunction, so it becomes at best a philosophical matter which postulate you actually prefer.

I also don't agree with your comparison of what I said to the nuclear reactions happening inside a star. The problem with the wavefunction without the Born rule is not that it's difficult to observe, it's that it's literally meaningless: knowing the value of the wavefunction for some state of a system doesn't tell you anything at all unless you apply the Born rule to this value.

And as for probabilities, certain kinds of probabilities at least have a very clear and simple definition (though they are rather narrow cases): if you repeat an experiment in exactly the same conditions N times, and an outcome O happens in p/N times and doesn't happen (1-p/N) times, then we define P(O), the probability of outcome O, as the value p/N. For systems where this applies, it is very much a measurable quantity (with some noise, of course, related to the fidelity with which you can reproduce the same experiment).

I do agree that this well-defined, measurable, concept of probability is rarely what we mean by "the probability of O", since (a) it's often hard or impossible to repeat (or even perform) the experiment, and (b) we often care about what will happen the next M times we repeat this experiment, and the measure P(O) I defined above does not tell us anything about future events.
It's a job and it pays the bills. Nobody is calling it a career.
>I don't think anyone really cares about "public transit". I think people care how convenient their life is. Why should I care if I take a bus to work or drive? I prefer whatever is best for me.

Let me take a guess, you are an American, living in a city without good public transit.
And how many users do that regualrly?
SmolDocling, an OSS 256M end to end OCR to Markdown model
Yeah that's a really good analysis.

It feels emotionally true because when I buy many terabytes of high quality SSD, I have no preference to "keep the valuation" of my SSD investment, I just want more faster for cheaper! If the price goes down tomorrow and my friend gets in for less than I just paid, it's not screwing me over. In fact I'm probably buying more on the future so I love the increased supply!

This is not true at all for housing lol. As someone who bought Manhattan real estate, I can feel the shitty incentives every day, and it's really destructive of a system.
On this site, I was thinking this would be referring to Ogres in the Steve Jackson sense of autonomous AI supertanks featured in the the classic board game (and several computer games since)

https://en.wikipedia.org/wiki/Ogre_(board_game)
Oh we've been introducing Stasi-like laws for a long time now. I think if we weren't a member of five-eyes most other countries would probably consider us an oppressive state by now.
> wouldn't have it announce the fact that it heard one

Alexa has an option to play a sound for "Start of Request", i.e. wake word heard.

There is a ring light on the device, blue when it has heard a wake word, red when the hardware mute button is pressed.
They never had LiDAR; they did have RADAR but removed that.
The fact that Kaplan was later appointed as a Trump liason only bolsters her claims (as if there were any reason to disbelieve them in the first place).
This is silly. LLMs are quite clearly a useful tool. Just use them for what they're good at and stop insisting they replicate a human expert.
Discussion (173 points, 3 days ago, 27 comments) https://news.ycombinator.com/item?id=43365424
I don't agree with this broad stroke. I own several condo units (to provide affordable housing), but also put the time and effort in to ensure good governance of the board. I see the budgets, the reserves, and make sure responsible people run the community.

The problem in Florida was condo owners, by and large, wanted to punt on the costs into the future to live an experience they could not otherwise afford (deferring maintenance expenses that turned out to be load bearing, quite literally). Those costs are now catching up, through statute (mandating appropriate reserves), as well as climate risk impacts (whether through higher insurance costs or complete lack of insurability).
“No! Don't deal with it like those dead people do. Come on!”
Computers and Creativity (2021)
Wikipedia has a good explanation why the PNG magic number is 89 50 4e 47 0d 0a 1a 0a. It has some good features, such as the end-of-file character for DOS and detection of line ending conversions. https://en.wikipedia.org/wiki/PNG#File_header
Of course we aren't. That's the whole problem. We have different locales. That results in a header somewhere with the languages I understand in order of fluency (which includes English, mind you), as per the specification. And the author of that web page decided to turn on an automatic translation tool to present its output instead of the original web page.

That tool is particularly bad as it somehow decides that underware is similar enough to underwear that it should map the word to the word for underpants in my language. The rest of the page is a little better, but not by much. But the problem here isn't the quality of tool itself which results in particularly amusing choice of words but by the use of the tool itself.

Don't do that. If the end user wants to read your page in a different language, they are perfectly capable of clicking that button in their web browser and deal with the outcome themselves.

Just don't. I will not hunt down the language selection button on your badly translated web site and I will not change my web browser settings for your site alone. I will simply choose not to visit your web site, and I suspect many others will do the same.
Should be noted that this only applies to the rp2040, the ADC silicon bugs were fixed in the rp2350.
As someone with some mental health issues, may I ask how your story continued and what you're up to now?
I don't know why people still think yelling and waiving signs around is going to do a single shred of good. Protesting means "doing nothing, loudly." You're not going to change anything, you're just doing performance art.

> It drives me crazy that none of the people targeted by DOGE have locked themselves in their office and called WaPo and CNN.

Nobody who is capable of opposing DOGE is willing to even lift a finger. As a flaming liberal, the most infuriating thing I've seen in the news all year was: Democrats sitting there impotently waving their stupid little signs during the President's address to Congress. Yea, your little sign saying "Save Medicaid" is doing next to nothing. Thank you, my elected representative, for being totally useless.
Looking back it blows my mind how poorly governments around the world reacted to the pandemic.

-The initial recommendations regarding masking (do it or don’t?) was muddled, confusing, poorly communicated.

-The information regarding stay at home and the duration of the long downs required to stop the spread was muddled and confusing

-During the 2020 protests the government seemed to be confused regarding communicating the importance of stay at home and minimizing contact

-The information about vaccines was not stated clearly. In particular communication regarding how effective vaccines were at stopping someone from getting the illness and spreading it was muddled

-Information about the origin of the virus was muddled. People were accused of racism (!!!) for saying it came from a Chinese lab rather than from a Chinese bat.

Anyway, astounding to see the errors now. One would thing our leaders would have been better prepared for a pandemic considering how much had been written about the Spanish Flu and so on.
You can probably work around this completely by just cranking up the sample frequency and lowpass filtering the value before you use it (if the error is just noise and not bias).

Four times as many samples => half the noise (given some reasonable assumptions).

Personally, I would have really liked to get higher sampling frequency on the ADC. The raspis are quite limited in that regard compared to more "typical" microcontrollers (would expect 1MSPS or more). Supposedly some people had success overclocking the whole peripheral by a factor of 8, but I'm not so sure that is a good idea...
Whatever your company size is, there are many other company sizes that exist.
I've done three major conversions of assembly to C:

1. My Empire game was written in assembler on the PDP-11. To port it to the IBM PC, I rewrote it line by line into C.

2. FutureNet's schematic editor for the IBM PC was a very large assembler program. It was written in assembler because there was no other way to make it fit on the PC. I converted it line by line into C so it would run on a Sun. It took a couple months.

3. I converted some of the Optlink linker, a 32 bit Windows linker, into C. The main difficulty, though, was there was no test suite and it was very very hard to get right. I got maybe 10% of it converted. I eventually abandoned the project because 32 bit Windows code is now obsolete. The other hard part of the project was it was not conventionally divided up into functions. Code would jump into the middle of other functions. Another problem with it was its use of macros and conditional assembly was so hard to decipher that I would assemble the code, run it through my disassembler, and use the latter as my starting point. (Macros are Spawn of the Devil.)
If your users need to resort to HN comments (or Twitter or Reddit or etc) to get a support issue fixed, something is definitely wrong with the pipeline. How many of your users out there have issues, but do not happen to see a random comment thread where someone from your team is participating.
These are my favorite types of marketing - what I'll just call 'part of the actual stack'. Would be great if there was a Berlin office so I could join!
https://norvig.com/chomsky.html
as a way to coerce the UK government into changing course or are you suggesting it as some sort of punishment... i don't quite get what you mean by "solution"
I believe so. I am also hoping it can just pull in repositories and tell me more about the code and history relating to it. There is a lot of potential to this. TLDRs are needed for code, LLMs will be an excellent replacement.
I've had colleagues tell me their young kids try to ask Alexa to play music in school or other places. There's a future when talking with your devices will be normal and people will be puzzled when it doesn't work.
I think the problem here is not that some properties are insurable, which seems unavoidable in some hish-risk areas, but that the list is secret. The list should be public information.
I haven't played with the 2.0 stuff, but I do have the original Underware on the underside of my desk.

I don't like the core concept of routing cables through what is essentially 3d printed trunking. It's a ton of printing, and a ton of faff to install. Instead I use their cable hooks at various points along a cable run. Much quicker and easier to manage after the fact.

This is probably the most useful underware thing I've printed thus far, for securely holding various PSU bricks: https://www.printables.com/model/1119354-double-clip-cable-t...
Alexa option to "recognize sounds" (e.g. baby crying, fire alarm, appliance beeping) might increase risk of false positives.
Because the AGI system's alignment with ideal human values entails behaving in a friendly helpful manner.
Telegraph got the memo to help build an excuse for Trump's poor handling of the pandemic. Pitiful. I will never believe "free press" special pleading ever again.
How Cloudflare is using automation to tackle phishing head on
> a few extra ms of latency on a request

That's not what it is, though. The graph embedded in the article shows HTTP/3 delivering content 1.5x-2x faster than HTTP/2, with differences in the hundreds of ms.

Sure, that's not latency, but consider that HTTP/3 can do fewer round-trips. RTs are often what kill you.

Whether or not this is a good trade off for the negatives you mention is still arguable, but you seem to be unfairly minimizing HTTP/3's benefits.
It's a good article, but the headline feels a bit off considering the source. The idea of personal responsibility has been co-opted by corporations in the past to deflect from systemic issues, so seeing it framed this way- especially given the ownership and agenda of WP- feels a little manipulative. Though, to be fair, I am almost certainly over-analyzing it.
Show HN: I Made a Translation App to Translate Website in Minutes, Not Weeks
Hey everyone ! I'm a young solo developer, and TalkShift is my first product launch. I built this because I struggled with app translation and couldn't find simple, affordable tools.

What is TalkShift ?

TalkShift is an AI-powered translation platform that helps developers go global without the headache of complex localization workflows.
Key Features:
Set up your entire localization system in under 5 minutes
High-quality translations across 25+ languages instantly
Easy JSON import to integrate with your existing codebase
Real-time collaboration for your whole team
Developer-friendly interface and API

My Journey:

I built TalkShift from scratch using TypeScript, Next.js, React, and Tailwind CSS. The learning curve was steep, but I'm proud of creating something that solves a real problem for developers like me.

I'd Love Your Feedback !

As a first-time founder, every piece of feedback is incredibly valuable to me. I'm actively looking for advice on improving TalkShift and would appreciate your thoughts, suggestions, or critiques.
Plans start at just $9 for one site. Try TalkShift now and take your app global in minutes !
how are we supposed to identify "Hate Speech"? If someone says something nasty about someone is it hate speech? what if they say it about a group of people? what if they express an opinion about a group of people (like bankers or sailors, or perhaps immigrants from a certain region)? is it bigotry, hate, debate, discourse? this only leads to self-censorship.
Mosfet-based Gouriet-Clapp capacitive three-point oscillator (2014)
Yeah I suppose that's the only example I can think of, I noticed a comment later mentioning that that is where minecraft saves things, although I'm not sure I'd want those in with my documents either. They probably should live some place that the user has access to, so I guess that leaves app data or documents, neither feels like a great choice.
California needs a housing right that is similar in structure and brevity to the 2nd Amendment. Something like "Notwithstanding any other statute, the rights of people to build housing within an incorporated city shall not be abridged." Something extreme like that is necessary. State laws have come close to this with recent relaxations at the state level countering local regulations on parcels that are surrounded by other developed parcels, but even those state laws end up diluted with "everything bagel" junk like labor giveaways and insurmountable inclusionary zoning requirements or fees.
Theoretically, it is possible language developed later. Some people hold the position that there is no specific language hardware in our brains, and that language is the result of a socio-cultural process (which then would spread).
I was an engineer at Cisco in the 00’s and my FIL, a chef, just assumed I worked for Sysco and would tell people when they’d get deliveries. I can’t remember how it came up, but it went on for more than a decade, well after I’d moved on. Still makes me smile when I see a Sysco truck.
That's kinda human nature. Look at how much resistance people have to replumbing our energy economy so it doesn't blow up our ecosystem.
Wall Street’s ‘Private Rooms’
What "semantics" game are you referring to? My original statement was a "semantics game", specifically an attack on the need for "aware" separate from "awake".

Your reply to that was that they are different, because one is obvious, and the other one isn't. I don't see how it justifies the other one's existence as a separate term, because it doesn't really say anything, so for clarity I asked a question that could clearly separate the two concepts, if that separation exists at all.

It is also supposed to be an easy question to answer: if you know the two "consciousness" definitions are different and how, which you imply is so obvious that me claiming otherwise is "disingenuous", it should not be too hard to provide an example where they are not the same for the same entity. Question yourself: can you actually think of any instances of such that are clear cut and can't be explained by mundane things like a person having false memories.
Every starlink station (and probably) tesla, scoop up every mac address they ever see. This is one is unique in that it puts all that data into a single actor's hands.
Yes, but even in your example, it its getting done. The system is working despite the human resistance. That is to say, collective action requires time and effort, and is a never ending schlep, not that it is impossible. Governance is hard, good governance even more so, but it can and does work. I admit, sometimes it fails. A call for better systems, which is just process and people when discussing governance.
>most likely ones to throw a conniption fit halfway through and stop reading

listen to you, you didn't read the article it's clear, because the article doesn't agree with the rest of what you said. So, since you're not defending an article, you're just attacking me, which is pretty schmucky
It did that by checking whether an electron is found at a particular position relative to the nucleus lots and lots and lots of times, and building a heatmap of where the electron was actually found in ach individual experiment; the heatmap of course corresponded to the wavefunction model. So the experiment found that the probability of finding the electron at a certain position exactly corresponds to the square of the amplitude of the wavefunction at that position, i.e. the Born rule.

What the experiment did NOT do is directly detect the wavefunction of the electron, because that is, again, not a phsycially meaningful quantity.
the people who need it. use it.

the fact some people may need it and dont reboot isn't relevant. The option is there.
Only for versions of encryption that was done before the attackers update their encryption key. Not saying it's not a win, but just a temporary one for hacks using this specific version

But for anyone that is affected and refuses to pay a ransom, this is a potential win for someone with the prowess to do it. Then again, would someone with that prowess have gotten attacked like this? chicken meets egg??
It is 1000x for PR/show. There is no practical security benefit to stuff like this. There's also no meaningful risks to doing it. It just lets them write fun blog posts.
link to complaint: https://rippling2.imgix.net/Complaint.pdf

Really worth the full read.