MurphyA/hacker-news huggingface dataset:
by furyofantares | 2025-11-22 00:23:05+00:00
I usually scroll a page to see how many headings it has, but I'm looking for the opposite. Too many headings is one of the quickest aesthetic clues that I'm looking at slop, as it doesn't require me to read any of the text. (Emojis and over-usage of bullet point lists are the others I can think of in this category.)
by Terretta | 2025-11-22 00:23:16+00:00
The article conceit is fantastic. That said, is the going-in algo wrong?

I see a case for 3 * 5 in here:

for n in range(1, 101): if n % 15 == 0: print('FizzBuzz') elif n % 3 == 0: print('Fizz') elif n % 5 == 0: print('Buzz') else: print(n)

Why?

If we add 'Bazz' for mod 7, are we going to hardcode:

for n in range(1, 105): if n % 105 == 0: # 3 * 5 * 7 print('FizzBuzzBazz') elif n % 15 == 0: # 3 * 5 print('FizzBuzz') elif n % 21 == 0: # 3 * 7 print('FizzBazz') elif n % 35 == 0: # 5 * 7 print('BuzzBazz') elif n % 3 == 0: print('Fizz') elif n % 5 == 0: print('Buzz') elif n % 7 == 0: print('Bazz') else: print(n)

Or should we have done something like:

for n in range(1, 105): out = '' if n % 3 == 0: out += 'Fizz' if n % 5 == 0: out += 'Buzz' if n % 7 == 0: out += 'Bazz' print(out or n)

I've been told sure, but that's a premature optimization, 3 factors wasn't in the spec. OK, but if we changed our minds on even one of the two factors, we're having to find and change 2 lines of code ... still seems off.

Sort of fun to muse whether almost all FizzBuzz implementations are a bit wrong.
by octoberfranklin | 2025-11-22 00:23:22+00:00
A tax on scale.

Yeah I know HN is going to hate me for saying that.

If a big company and a few small companies all have identical costs for producing a product, society is better served by having it produced by the few small companies than the one big company.

Once "better served" is quantified, you know the coefficient for taxation.

Make no mistake, this coefficient will be a political football, and will be fought over, just like the Fed prime interest rate. But it's a single scalar instead of a whole executive branch department and a hundred kilopages of regulations like we have in the antitrust-enforcement clusterfuck. Which makes it way harder to pull shenanighans.
by robertakarobin | 2025-11-22 00:23:29+00:00
You can use me as an example! When I got diagnosed I was very physically active and also quite clean.

One of the hardest things for me with depression is the incredible guilt I have. What right do I have to be depressed when my life is objectively fine? Why should I get therapy when that might mean one less space for someone who is dealing with trauma or poverty or something else that gives them a "right" to be depressed? This causes a feedback loop of guilt leading to more depression and vice-versa.

Like I tell my kids, it's normal to sometimes feel depressed or hopeless. If you're dealing with a difficult circumstance then it's reasonable to have those feelings, and the only way to address those feelings is to deal with the circumstance. What's not normal is feeling depressed and hopeless for no logical reason at all.
by logsr | 2025-11-22 00:23:37+00:00
>still haven't figured out applications

the real answer is that the applications for the military, surveillance, and population control are proven, and the pathways to scale those capacities are clear, so the money will pour in no matter what. the implication is that we had better come up with some more consumer/humanity friendly applications that create comparable value, or that is all we will get.
by saurik | 2025-11-22 00:24:26+00:00
But that isn't what you said? ;P "f you wait seven days, you're pointlessly vulnerable." <- this is clearly a straw man, as no one is saying you'd wait seven days to deploy THAT patch... but, if some new configuration file feature is added, or it is ported to a new architecture you aren't using--aka, the 99.99% of patches--you don't deploy THOSE patches for a while (and I'd argue seven days is way way too small) until you get a feel that it isn't a supply chain attack (or what will become a zero day). Every now and then, someone tries to fix a serious bug... most of the time, you are just rolling the die on adding a new bug that someone can quickly find and exploit you using.
by n00bscure | 2025-11-22 00:24:27+00:00
so you litte wanker downvote without adding context? we can have a public debate, if you want. I won't prepare. I'm in the bottom 1% of our species, if you need assurance that you are capable of making me smile with respect for who you are ( I've met very very few who are, but ALL of them have more than I do )
by anonymous908213 | 2025-11-22 00:24:52+00:00
You're trivialising the complexity of both brains and LLMs in order to mystify and equate them. We can boil down a toy script, an LLM, and the brain down to engaging in a simplistic pattern of "act according to environmental information, adjust behaviour based on feedback". But unless you think that the script is conscious, there is clearly something more to consciousness than only that pattern.

The script is simple in concept, (relatively) simple in mechanics. LLMs are simple in concept, very complex in mechanics. Brains are simple in concept, extremely complex as to be beyond full human understanding in mechanics. We have the general gist of brain mechanics, and we can even engage in some brain hacking, but we lack the understanding to fully recreate the mechanics from scratch. To say that it is simple in mechanics is clearly not true, then.

To the extent that we do understand brain mechanics, they pose no similarity to the script nor the LLM. Although more mechanically complex, an LLM still operates on the exact same axis as the script; it is no more than math operations on a dataset. It has no capacity to reason. People selling LLMs have gone a long way to training it to have the illusion of reasoning, but in reality, "Thinking" is just a mode that increases the probability of certain tokens under certain circumstances. The modified winrate of tokens that reflect the superficial appearance of thinking exceeds the winrate of tokens that would otherwise come next, so it prints output that looks like introspection, but this is still just the result of rolling a die and comparing it against a probability table. Our brains categorically do not function anything like this. While the basic pattern of acting according to the environment may be similar, the actual mechanics by which this is achieved are completely different.

There isn't really anything to prove here. This isn't a meaningful scientific question. It is a delusion peddled by people who are trying to profit off of the delusion, and absorbed by people who do not actually understand the mechanical complexity of LLMs nor the brain and therefore are unable to differentiate between the two.
by BSTRhino | 2025-11-22 00:24:53+00:00
Actually, all iterations of the for loop have the same ID. This is the design. So the second iteration has the same ID as the first iteration, which means it replaces the sprite created by the first. The fifth iteration has the same ID as the fourth iteration, so it replaces the sprite. So all the iterations keep replacing the same sprite. And that is how you animate sprites!

If you are actually trying to make multiple sprites and not keep replacing them, what you do is you spawn a new entity to hold your extra sprite:

for i in Range(0,10) { Subspawn { TextSprite(i) } }

That code creates 10 sprites and achieves what I think you are thinking of.
by leobg | 2025-11-22 00:25:04+00:00
Can you pick even a single person that will agree with you on everything? You could be around 10 if your identical twins and there’d still be conflict.

Why is it more „natural” if the school does the picking? Besides, parents can’t command anyone to join. It’s not The Truman Show.

Is marriage not “real life” because you chose your partner? Does you choosing prevent disagreement, struggle, pain and growth? I don’t think so.
by astrange | 2025-11-22 00:27:08+00:00
Are you a Waymo tester? I haven't gotten Bay Area access yet despite it being released, and when I checked with support they were just like "oh we lied, it's for trusted testers only."

I dug up my email and found they'd sent me the tester application form like a year ago and I just forgot to fill it out, so maybe they'll let me in sometime.

(Also, the chat claimed the support agent was named Al Pacino. Unless it was a pun on AI and I just couldn't tell with the font.)
by susam | 2025-11-22 00:27:28+00:00
Update: I went ahead and added the method of obtaining the coefficients using DFT anyway. Like I mentioned above, this approach is quite tedious by hand, so I only work out the first few coefficients explicitly. In practice, these are almost always computed using numerical software. But for some people it may still be interesting to see a direct calculation rather than relying on shortcuts.

Here is the direct link to the new section on DFT: https://susam.net/fizz-buzz-with-cosines.html#dft
by carsoon | 2025-11-22 00:27:52+00:00
People don't stop wanting things.

Total GDP can keep rising so long as technologist can improve efficiency through robotics, inventions and scientific breakthroughs.

GDP just describes peoples amount of activity. People will always build bigger buildings or monuments (see egypt pyramids, dubai skyscrapers, cambodia angkor wat). These are actaully not inelastic as megaprojects will quickly hit real limits regardless of the amount of capital. (I can always add 10 more floors to the tallest skyscraper, or 10 feet to the longest wall, or 10 facets to the most ornate church)

There has never once in history been a point where people decieded that they where going to stop innovating or producing permanently. This is equivalent with death.

So the people with the most money at some point will decide to build things which they spend all their money on which increases GDP.

Also the actual "number" of gdp if heavily controlled by USA inflation rates. So we should always look at gdp in regards to inflation adjusted dollars to get a clearer picture.
by cesarb | 2025-11-22 00:28:30+00:00
> Bottom line those security bugs are not all from version 1.0, and when you update you may well just be swapping known bugs for unknown bugs.

One great example of that is log4shell. If you were still using version 1.0 (log4j 1.x), you were not vulnerable, since the bug was introduced in version 2.0 (log4j 2.x). There were some known vulnerabilities in log4j 1.x, but the most common configuration (logging only to a local file or to the console, no remote logging or other exotic stuff) was not affected by any of them.
by astrange | 2025-11-22 00:28:33+00:00
Lyft from MV to SF is like $100 I think? It's definitely not enjoyable but for Bay Area prices it's not ruinously expensive.

You /should/ be able to save by using shared rides, but in practice when I tried the driver was so mad they just dumped me on the side of the road and I had to call and get a refund.

The new Caltrain schedule isn't half bad though, if it came twice as often on the weekends we'd be cooking.
by lproven | 2025-11-22 00:29:10+00:00
Previously...

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

(4Y ago, 6 comments)

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

(5Y, 1C)

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

(7Y, 33C)

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

(10Y, 73C)
by mmcclure | 2025-11-22 00:29:30+00:00
My original point in this subthread was that SFUSD is NOT underfunded. Do you believe it IS underfunded?

Your original point was not that it's "not underfunded," it was that it's overfunded (and substantially so, based on other comments). Your top(ish) comment on this thread to the $28k per student average:

I'm saying it's a lot.

My only argument here is that I don't think $28k is unreasonable, particularly when viewed against the cost of private alternatives.

then that would rule out almost all SFUSD schools, which kind of defeats the point of the discussion!

We go to our attendance area SFUSD school and love it. There are plenty of SFUSD and private schools that would not be on our list, be it for academic reasons or logistical.

I made a tool to do that

Cool, I dig it! Annoying, unsolicited feature request would be to allow addresses or zip codes rather than requiring geolocation :)
by Aeolun | 2025-11-22 00:30:21+00:00
Kids in that age range are uncomplicated. The only thing they really desire is that you play with them. They just don’t consider anything beyond that.

But it seems hard for many adults to play with children, so it becomes this anomalous thing, even though I’m fairly certain it’s just something we’ve convinced ourselves adults “don’t do”.

Tag is still fun, whether you are 7 or 37.
by sparrish | 2025-11-22 00:31:27+00:00
God provides every day and I'm very grateful.

I've been working from home for nearly 2 decades and have flexible hours.

My wife handles the majority of the grade school years (basic reading/writing/maths) and I teach most of the middle and high school.

They've always been involved in co-ops, church activities, and get plenty of socialization. They're emotionally mature, civically responsible, and others focused. We take them when we volunteer at local non-profits, whether that's sorting clothes at the local thrift store or picking up trash at a local park. An example of service becomes a lifestyle of generosity. It makes for great kids and even greater adults.

Put the time and work in to your kids. Nothing else will provide greater dividends.
by bradlys | 2025-11-22 00:31:55+00:00
Unless the cars are perfectly washed and clayed, even running a clean finger over a car is likely to introduce scratches. I just wouldn’t ever touch someone’s car.

You can look up people even trying to detail their cars to make them cleaner and end up leaving “love marks.” It doesn’t matter how soft the thing you’re using is. It’s because the car has contaminants on it and by rubbing anything on the car, those contaminants end up scratching everything. It’s like when you’re at the beach and you’re trying to remove sand off your skin. You’re probably not aggressively rubbing it off or using much pressure but it still hurts. It’s the same with cars, it’s just that the rocks aren’t as visible to you. They will leave swirls and scratches though… which become noticeable.

I’ve had people just lean against my car when it wasn’t completely clean and completely ruin the paint requiring an entire 5 stage detail.
by burnt-resistor | 2025-11-22 00:32:29+00:00
Putting words in the mouths of others is a perilous and arrogant habit.

At a lot has changed post P-18 Serbia. VHF and high power L-band ground search and also guidance radar tech of RU and CN are the real threats and they aren't being adequately addressed in either SEAD or first-strike capabilities.

F-117A has a tiny payload and relatively large RCS in VHF. The B-2 RAM can't handle moisture and overall isn't easily upgraded. F-22 doesn't meet RCS RFP requirements in any abeam aspect in any band, only frontal; it has 90's avionics; it's hard to make more of them; and LO maintainers at Tyndall are constantly busy repairing crumbling RAM. LRS-B isn't really IOC, Super Raptor is still fragmented and experimental, and "F-47" is still complete vaporware. Fat Amy isn't as good as the West believes it is against modern, real ground-based search and guidance radar tech of RU and CN.

https://www.globalsecurity.org/military/world/russia/radar-r... https://archive.ph/f0fxZ

https://www.globalsecurity.org/military/world/china/radar.ht... https://archive.ph/wMhDf
by _blk | 2025-11-22 00:32:34+00:00
I won't pretend to know where you live or what those people's desires are but I definitely started homeschooling after the last US administration took moral volatility to new standards. The principles taught in schools just did not align anymore with what was common sense when I was in school and what I believe in. Now before you judge, I'm not looking for a fight. My wife and I have both master-degree educations in CS and law and our four kids have been to public school in the US and abroad, they've been to an evangelical christian school, and now that we've decided to homeschool for two years, we're not likely to take them back. The traditional school aspects take up 2-3h per day at most, then comes the school of life: raising and caring for animals and plants, fixing the truck or other engineersy activities and of course plenty of fun activities outside of the too-busy-to-be-fun times. My kids have learned of historic events such as Jamestown, Gettysburg or Mount St. Helens at the actual site of the event, they've been to most of the national parks and the fear of being socially-disconnected is not more than a fear before you start. Heck, thanks to Starlink they can even talk to their friends while we're driving through a desert.

Now let me also say that preparing the curriculum, ordering the materials etc. takes a lot of effort and discipline. It's definitely almost a full time job and I'm blessed with an amazing wife that's gifted in all that but the reward is more than worth it. Also, if you're thinking about it, many states have home school support programs and put you in touch with other home schoolers in the area.
by broof | 2025-11-22 00:32:40+00:00
Yes that’s correct. We didn’t cover things such as Locke or Hume, Adam smith, etc…

Also we didn’t directly cover Marxism or atheist philosophy, my point was that the selected philosophies were the ones that just happened to all be related to that side of the aisle. Again, very good class, just using it as an example of hidden bias that I didn’t see until later
by tinkelenberg | 2025-11-22 00:33:11+00:00
Every blog is a niche blog because blogging is a niche. It never was and never will be mainstream. Social media began as an attempt to make the spirit of blogging a low lift for the noobs.

Today, you’re talking to an audience that is online, willing to venture outside social media, and opting to actively read content rather than passively listen or watch. That’s far from everyone and that’s okay.
by tw04 | 2025-11-22 00:33:56+00:00
But it both hasn’t always been the case and still isn’t in large swaths of the country and the world. The 5x + enshittification phenomenon is both recent and a result of PE and “activist investors”.

“We” collectively should demand better. You act as if government is some omnipresent being that makes its own decisions. If citizens start demanding the government act in their best interests by enforcing things like anti-trust laws, it will.
by tombert | 2025-11-22 00:34:34+00:00
My opinions of Vulkan have not changed significantly since this was posted a year ago https://news.ycombinator.com/item?id=40601605

I'm sure Vulkan is fun and wonderful for people who really want low level control of the graphic stack, but I found it completely miserable to use. I still haven't really found a graphics API that works at the level I want that I enjoyed using; I would like to get more into graphics programming since I do think it would be fun to build a game engine, but I will admit that even getting started with the low level Vulkan stuff is still scary to me.

I think what I want is something like how SDL does 2D graphics, but for 3D. My understanding is that for 3D in SDL you just drop into OpenGL or something, which isn't quite what I want.

Maybe WebGPU would be something I could have fun working on.
by carsoon | 2025-11-22 00:34:51+00:00
No, it wouldn't as the whole reason people were giving Openai that 500 dollars is because they thought they could make more than 500 dollars from it.

So now that value is just shifted into the companies that were going to purchase from openai.

It would just hurt the investors who have exposure to openai/anthropic/google/microsoft.

Much of the value of this AI boom is not from the direct model companies but its from companies which use their technology.

Although the government could be stupid and bail out these companies which WOULD hurt all us citizens and the inflation caused by money printing due to that could cause a recession.
by arjie | 2025-11-22 00:35:47+00:00
I suspect the reason is that California cities do not, in fact, have control over this aspect of regulation. I won't claim to be a policy expert, but the failed SB-915[0] seems to imply that this is the case. SB-915 was a proposed bill to allow cities to permit or regulate AVs. It seems reasonable that if a law was attempted to be passed to permit cities to regulate AVs and the bill fails even after modification that it was the case that cities were previously unable to regulate AVs and cities remain unable to regulate AVs. Absent greater knowledge on the subject, that is.

0: https://leginfo.legislature.ca.gov/faces/billNavClient.xhtml...
by mapontosevenths | 2025-11-22 00:35:47+00:00
Ahh. You're right, sort of.

Users can choose h265 for live streams and they allow hevc uploads, but they then transcode it to worse codecs before broadcast.

I wonder how they would save on bandwidth by switching to hevc? I think its something like 40% more efficient on average.

I guess av1 is even better, but what percentage of hardware supports it?
by zozbot234 | 2025-11-22 00:35:57+00:00
> If a big company and a few small companies all have identical costs for producing a product, society is better served by having it produced by the few small companies than the one big company.

Why? That's exactly the circumstances where the mere potential for small companies to pop up is enough to police the big company's behavior. You get lower costs (due to economies of scale) and a very low chance of monopolization. so everyone's happy. In the case of this DRAM/flash price spike, the natural "small" actors are fabs slightly off the leading edge, that will be able to retool their production and supply these devices for a higher profit.
by estearum | 2025-11-22 00:36:17+00:00
> Our brains categorically do not function anything like this.

Yes, they actually do. It seems you’re under the belief there is some special “reasoning machine” inside a brain: there is not. It is all “just probabilities” that are encoded and re-encoded depending on the outcome of the prediction.

What exactly do you think the brain is doing on the sensory input it receives if not “math operations?” It is literally just chemical, electrical, and thermal reactions in response to sensory data (itself just chemical, electrical, and thermal signals).

Where does the probabilistic reaction end and “reason” or “cognition” begin? Hint: Nowhere!
by sitkack | 2025-11-22 00:36:23+00:00
I am not a vegan, but many of my meals are vegan. Most of my meals are vegetarian, but I do eat meat. I do not eat pork, octopus or goat.

I also keep my dietary preferences very low key. In a social setting, if I accidentally eat something I try and avoid, I don't make a fuss.
by lproven | 2025-11-22 00:36:34+00:00
> I used it with Samba network drives to watch movies on the TV.

Me too. It was a life-changing tool: take some cast-off free hardware and a bit of free software, using an exploit to an old game that cost me £2 and a tool to put it on a memory card that cost me £5 (both second-hand off eBay), I had a media player that could stream to my (free) TV.

I spent many hundreds of hours watching it, and about 30 mins of playing games on the thing ever.

I still have it but it's in a basement in another country. Now I want to see if it still works, and if I can upgrade it.
by robertakarobin | 2025-11-22 00:36:52+00:00
I, like every other person who hasn't been living under a rock, am abundantly aware of corruption in Big Pharma and medicine. If my mother and I have both taken a given well-known medication for decades and found it effectively treated a condition that may be hereditary with no negative side effects, and my son is demonstrating symptoms similar to mine and my mother's, is it unreasonable to tolerate my son trying the same medication? That's a far cry from committing to forcing him to take the medication his whole life, or trying some mystery drug with which I have no familiarity.