MurphyA/hacker-news huggingface dataset:
by bhattisatish | 2025-08-01 13:37:23+00:00
There is OpenScap based ComplianceAsCode. See https://github.com/ComplianceAsCode/content It has implementations for CIS Level 1 & 2 benchmark. Supports NIST, ...

It allows you to generate ansible or bash scripts for execution.

If you install OpenScap it comes with built-in policies, but it's always out of sync with the current version of Ubuntu, which is frustrating first time around.

For every version of Ubuntu, the default policies do not work, for e.g. in case of Ubuntu 24.04, I need to download

git clone https://github.com/complianceascode/content.git cd content/ and ./build_product ubuntu2404 and cd .. #Run either of the following commands: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis_level1_server --results arf1.xml --report report1.html content/build/ssg-ubuntu2404-ds.xml oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis_level2_server --results arf2.xml --report report2.html content/build/ssg-ubuntu2404-ds.xml
by mil22 | 2025-08-01 13:37:31+00:00
A lot of works of fiction sound credible. Are you going to believe those?

You don't have all the information. You weren't there. You don't even know the people personally. You are not in a position to make any judgement either way.

Something sounding credible doesn't make it true. It doesn't automatically make it false, either. You don't have to believe the accuser or the accused. The only thing any of us should do is mind our own business.
by whstl | 2025-08-01 13:37:33+00:00
I agree. Live coding always has a much smaller scope than real software, and after a few interviews it is easy to learn to read the room, even for the worst developers.

I think we can leave companies who don't care about quality out of the discussion, but for those who do, the time to detect those developers is in a probational period, which is not something that most companies really use on their favor.

The problem is this requires a good management that is able to actively paying attention to the work of the developer. Which is often not in place, even in companies who want to prioritize quality :/
by wongarsu | 2025-08-01 13:38:19+00:00
By that same reasoning everyone should be doing their best to avoid runaway climate change, yet here we are. The tragedy of the commons is tragic.

Things are more civilized in space, maybe in part because of the relatively small number of big players. But at the same time there are tentative signs that we might be in the early stages of Kessler syndrome. It's hard to tell, and by the time we can tell with certainty it might be hard to still act in time
by gmm1990 | 2025-08-01 13:38:20+00:00
Would this be like entering the python terminal and typing print('hello world') or python hello_world.py that has the print instruction? Or something else. I'd just be unsure if a python installation like the python.exe would be available in a terminal.

I'm more curious than anything else for my own sake to know things people might ask. But its interesting how extremely simple things can be complicated if you haven't done them before. Like if someone asks about a relatively simple regex example in python it'd be easy to get if you just were working on a regex but you could get tripped up if it had been a while since working on one. You could say the same thing about working with datetimes. At least this is the type of thing that throws me off in an interview, maybe I'm not a great candidate though.
by impostervt | 2025-08-01 13:38:31+00:00
I use AI to create customer avatars representing potential buyers of a product I may create (based on existing competitors and their customer reviews). I then use those customer avatars to help design the product.

I love the idea of going from "AI generated customer avatar" to "simulated real people". It would help add depth to the customer avatars, and lead to better product design.

I tried creating a society around products that I sell, but it looks like the "real-world data" is pulled from LinkedIn? I'm not necessarily targeting business people.
by LargeWu | 2025-08-01 13:38:48+00:00
"Upzoning increases land value. Developers build profitable market rate houses there"

Unless you are upzoning ONLY in low-income neighborhoods, this doesn't add up. The assumption is that upzoning makes development more attractive. But this would apply to the entire city, and would therefore increase housing supply outside those low-income neighborhoods as well, which actually reduces the propensity for displacement.
by jeromegv | 2025-08-01 13:38:50+00:00
You are arguing as if buildling more make things worse, when in fact, this is not the case. The opposite of buildling more is building less. Building less will increase existing price a lot more on an existing neighborhood than building a new buildling will ever do.

When there's not enough housing for people to live in, people start competing on rent and bidding wars on purchases, this drives price very fast.

That's why you have to build more. To avoid the biggest issue which is a housing shortage.

Is that the ONLY solution? Of course not! Public housing is great. But the same things that prevent YIMBY policies is the same thing that prevents public housing to be built. When you advocate for more zoning to prevent new condos in your neighborhood, it's not just new condos at market price that will be prevented, it's a whole range of housing.
by tvier | 2025-08-01 13:38:53+00:00
This opinion sets up corporate consolidation as the cause of all issue in the US. I don't think it makes sense for that to be the null hypothesis that needs to be disproven.

For this specific issue, homebuilding, and construction in general, are very regional businesses. There just aren't a few giant homebuilders controlling the industry across the nation.

There are certainly some antitrust issues with rentals, but they don't seem to be nearly as widespread as the housing issue in general.

I don't think the punching down vs up lense is a particularly effective way to analyz this issue. Nor do I think its easy to figure out who's "down" and who's "up".
by vidarh | 2025-08-01 13:39:41+00:00
The last time I interviewed at Google (because they approached me, and I begrudgingly let an recruiter convince me that this time would be different) the interviewer was so awful that even though the recruiter agreed and got approval to ignore the technical interview and move on to the management interview, I declined to continue the process, and subsequent calls from Google recruiters ever since has been met with a description of what happened last time and how I've permanently lost interest.

The problems posed were all "gotcha" type problem where either you'd read the solution or you'd most likely end up with a decent but suboptimal alternative, or where the recruiter asked for knowledge about toally obsolete things (e.g. I was asked about the structure of an inode in UNIX v6 - I told him I didn't know it but gave a general response about the type of information Unix-y systems keep in inodes, and with more detail about Linux; to add to it, for the role in question a knowledge of filesystem details was irrelevant).

Companies badly need to train a pool of interviewers, and track what kind of questions get asked and provide feedback on it. The vast majority of companies I see have a hiring process where some or all of the technical questions are down to the pet peeves of the interviewer or their manager.
by Pxtl | 2025-08-01 13:39:54+00:00
If you really feel that way, you should leave hacker news. The moderation here is quite firm. I can't post more than a few times a day because of Dang rate-limiting my account because of engaging in flamewars. It's not like I broke any laws, but it's their site.

Especially in countries where "free speech" means I can basically say anything I want short of defamation, no matter how hateful, profane, sexually inappropriate, or otherwise offensive, it only makes sense that a community should go beyond the limits of the law to maintain a non-toxic environment.
by mmusc | 2025-08-01 13:40:00+00:00
Having gone through a round of interviews, I completely agree that live coding doesn’t measure anything of substance.

There was one company whose process I really appreciated:

- A take-home test, more of a puzzle-style challenge. - The interviewer does a quick review of your submission. - If they like what they see, you're invited to a follow-up session where you explain your code and make a few simple changes to it.

This approach proves that the work is genuinely yours, shows your thought process, and still gives the opportunity to demonstrate live coding on code you're already familiar with.
by 9dev | 2025-08-01 13:40:18+00:00
From the perspective of someone currently searching for candidates: I decided to give applicants a homework that's supposed to take about two hours to do, and schedule the next interview a week later to discuss their solution (remotely).

For example, for the senior frontend engineer, I think we went with "create a real-time comments panel using SSE that works in multiple browser tabs", and created a ready-made git repository with a dev server that includes the SSE endpoint. That way, they only had to focus on the actual task.

Now I thought that was nice because it should be very easy to solve for someone with a bit experience, but we get lots of opportunities to discuss their choices and the technology. It's hard to confidently bullshit an answer to if you think server-sent events or web sockets are superior, and why. So from everything we tried so far, this format gave me the most accurate impression of someone yet.
by acidburnNSA | 2025-08-01 13:40:39+00:00
People are looking into it, but I don't think there's all that much promise. Fine structure of shielding doesn't really matter to an energetic particle that's blowing through meters of it.

Gamma rays are stopped by electron density. Electron density requires high mass density heavy (high Z) nuclides.

Neutrons are stopped by light nuclei via conservation of momentum, and by neutron absorbing nuclei like boron.

If metamaterials can be made with higher density electrons in a way that's cheaper than lead and high hydrogen density that's cheaper than concrete, paraffin wax, or water, then I guess it could be interesting.
by consumer451 | 2025-08-01 13:40:40+00:00
TL;DR: gpt-5-bench-chatcompletions-gpt41-api-ev3

edit: it's been taken down now.

I haven't been trying to oneshot frontend stuff lately, but this looks pretty good, right? Can anyone better informed comment on that, without seeing the code?

https://old.reddit.com/r/OpenAI/comments/1mettre/gpt5_is_alr...
by paulcole | 2025-08-01 13:40:50+00:00
> why would you choose to use a proxy when you can just do the work

"What a useful thing a pocket-map is!" I remarked.

"That's another thing we've learned from your Nation," said Mein Herr, "map-making. But we've carried it much further than you. What do you consider the largest map that would be really useful?"

"About six inches to the mile."

"Only six inches!" exclaimed Mein Herr. "We very soon got to six yards to the mile. Then we tried a hundred yards to the mile. And then came the grandest idea of all! We actually made a map of the country, on the scale of a mile to the mile!"

"Have you used it much?" I enquired.

"It has never been spread out, yet," said Mein Herr: "the farmers objected: they said it would cover the whole country, and shut out the sunlight! So we now use the country itself, as its own map, and I assure you it does nearly as well."

https://en.wikipedia.org/wiki/On_Exactitude_in_Science
by wmeredith | 2025-08-01 13:40:57+00:00
I'd settle for a way to see hacker news without all the posts complaining about all the posts covering the trending tech at the moment. In the 15 years I have been on HN, these discussions complaining about content has been centered around Social Media, Web 2.0, Big Data, Crypto, NFTs, etc. It's tiresome and a self-fulfilling prophecy.
by talkingtab | 2025-08-01 13:41:02+00:00
Fish Tank Thinking is where your thinking is so constrained by some artificial walls that you cannot actually ... well actually think. It is the wages stupid. Let me repeat that. It is the wages stupid. What happens when a society is so brain washed that it cannot even consider that if you don't pay people they can't afford housing. Or cars. Or medical care. Or food.

If you actually have some desire to consider the problem rather than discuss how many angels can dance on a pin head, start with considering why "Inflation" is not a measure of anything thing, but rather the sound of one hand clapping. What is the other hand? Wages.

In this country rather than fixing wages we are discussing solutions that make things worse. Let us add tariffs so that people can buy less. Let's create tax incentives that create more housing people cannot afford, with the tax incentives coming out of the pockets of the people who cannot afford that housing.
by redeyedtreefrog | 2025-08-01 13:41:05+00:00
I don't get why he is so determined to stick with Scala. It's just a programming language. The Scala community is forever going to hold extremely negative associations for him. For someone with his level of experience and motivation it presumably wouldn't be too hard to switch to Rust or something. Some people will still reject him out of hand due to his googleable name, but I still feel like he'd be happier and better off leaving.
by resoluteteeth | 2025-08-01 13:41:52+00:00
> If you’re a Google AI Ultra subscriber, you can use Deep Think in the Gemini app today with a fixed set of prompts a day by toggling “Deep Think” in the prompt bar when selecting 2.5 Pro in the model drop down.

If fixed set means fixed number it would be nice to know how many.

Otherwise i would like to know what fixed set means here.
by lotsofpulp | 2025-08-01 13:41:55+00:00
When the stakes are this high, not voting is voting for the winner.

By not voting, they are signaling they are fine with the situation, and will not stand with any opposition to the winner.

Edit to respond to below comment due to hitting posting limit:

>98M of the 185M total population of non-voters had the pretty rock solid excuse of not being eligible to vote, right? Almost a third of the country can’t vote (permanent residents, children, ex-cons in certain states, etc.)

Children seem irrelevant to consider, especially with voting trends of the youngest generations. Same with permanent residents and ex-cons, I don't see any reason these would have cast votes in different proportions. The most damning thing is this is after already seeing the evidence of 2017 to 2020 and the response to Jan 6, 2021.

https://www.pewresearch.org/politics/2025/06/26/voting-patte...

>55% of White naturalized citizens voted for Trump in 2024, compared with 41% in 2020.

>51% of Hispanic naturalized citizens voted for Trump, up from 39% in 2020.

>46% of Asian naturalized citizens voted for Trump, an increase from 35% in 2020.

>This is without needing to get into the very real voter suppression effort that took place (we’ll assume every one of those “stands” with the winner).

I am assuming the number of people whose votes were prevented were negligible in comparison to the number of people who were apathetic (or boycotting).

>They also probably skew more to your position given their demographics.

A valuable lesson I have learned from 2016 and 2024 elections is that this is not true. What is most important is that people's feelings about their status relative to others not be disturbed (i.e. man over woman and white over non white), and the candidate willing to preserve that, no matter how horrible, is likelier to win more votes.

>I am not sure why you insist on going out of your way to dramatically overrepresent the size of your opposition

Obviously, the measure of the size of the opposition is subjective, and people are free to make bets as they see fit. However, based on the aforementioned "rolling over", it seems others are making the same bet I am.
by squeaky-clean | 2025-08-01 13:41:57+00:00
You can have the AI explain it to you. There's also a middle ground between vibe coding and "I can code some things but never could have coded this without an AI".

Doesn't even have to be AI. Give me some random file from the Linux kernel and I could probably explain everything to you if you gave me a few hours. But that doesn't mean I would ever be able to write that code.
by ghusto | 2025-08-01 13:42:04+00:00
> I have no idea who is telling the truth in this situation, and unless you are the person who has been accused or those who are the alleged victims, neither do you

Almost sounds like there'd be a long established fair-as-possible process for dealing with these situations, doesn't it?

> But - it is worth stating very clearly that history is replete with examples of men who have used their senior position in communities to take advantage of women

And now history is replete with examples of woman destroying the lives of men with no process or consequence.
by sjsdaiuasgdia | 2025-08-01 13:42:50+00:00
> more than half the "country"

2024 voting-eligible population: 244.6M

Voted for Trump: 77.3M

Voted for Harris: 75M

Voted for other candidates: 2.6M

Eligible to vote, but didn't vote: 90M

Unfortunately, the largest constituency continues to be the "can't be fucked to vote" party.
by quietbritishjim | 2025-08-01 13:42:58+00:00
It's unreasonable to ask me to chase down a reference in a book but I did it anyway because I was really curious.

It doesn't support what you said in your previous comment. It seemed to suggest that any calls to your overridden methods might magically use the base class instead, even when directly called from application code. But the book says something very different:

> The code of the built-ins (written in C) usually does not call methods overridden by user-defined classes.

But that is nothing to do with them being built-in classes or even being written in C. Any class, even written in pure Python, is not guaranteed to implement any of its methods in terms of other public methods, even when it's possible to do that. It just depends on how it's implemented.

Indeed that's true even for UserDict. It's no longer implemented in pure Python, but if you look at the 2.7 version [1], which was, you can see some methods implemented in terms of others (e.g. get() uses `key not in self` and `self[key]`) and others that aren't (e.g. keys() just uses self.dict.keys() rather than being implemented in terms of self.items()).

There was even a breaking change in Python 3.12 to which other methods UerDict.__getitem__() uses in its implementation [2]. I can sort of see some utility to UserDict but it seems at least as unpredictable as deriving from built in dict so it doesn't really buy you much. Either way, the only really safe way to use them is to override all methods that you want to behave differently.

[1] https://github.com/enthought/Python-2.7.3/blob/master/Lib/Us...

[2] https://github.com/python/cpython/issues/105524
by arp242 | 2025-08-01 13:42:58+00:00
> it is worth stating very clearly that history is replete with examples of men who have used their senior position in communities to take advantage of women

Which doesn't really say anything about this specific scenario. History is also replete with theft, arson, and murder but that doesn't mean it's a good argument when accusing a specific person of a specific instance of theft.

Two things can be true at the same time:

- many women have been, and continue to be, sexually abused and often fail to get justice, and

- sometimes some accusations are made by bad faith actors and/or confused people

are not in conflict. They can both be true at the same time.

I also have no idea who is telling the truth here; just saying that "these things happen" is not really an argument here.

Actually, because these things actually do happen makes the accusations so powerful. History is also replete with false accusations; remember the whole "Satanic panic" from the 80s and 90s where everyone and their dog was engaging in sexual Satanic rituals? Or QAnon today.
by kevdoran | 2025-08-01 13:43:00+00:00
Congrats on the launch! I've been watching for products in this space and this looks really nice. The UX is really well thought through. Great product demo.

Hadn't seen that paper, thanks for sharing it. This is the one I see cited most often that's got some similar vibes: https://arxiv.org/abs/2411.10109
by xienze | 2025-08-01 13:43:09+00:00
> A lot of sexual misconduct happens behind closed doors and is (I would imagine. IANAL) difficult to prosecute.

Well that’s why so many cases are civil and not criminal. The bar is much lower (“preponderance of evidence” versus “guilt beyond a reasonable doubt”). A man can be accused of some sexual act that occurred decades ago without any substantive information like what day it happened on, and if a jury says “well I believe her”, it’s a wrap.
by pc86 | 2025-08-01 13:43:45+00:00
I understand you may want it to fall to the UN, but to the extent that it does it is merely a courtesy.

If someone wants to launch satellites with a radio violating every ITU regulation there is, unless someone is going to knock on their door with a gun, it doesn't mean squat. The buck stops at your nation's capital - if they're okay with what you're doing, you can do it. Everything else is just diplomatic window dressing and doesn't really mean anything at the end of the day.
Show HN: Find paint colours in Ireland and generate your own palettes
by hauntedLogic | 2025-08-01 13:43:47+00:00
Hi folks, I built Swatcher.ie as a side project to experiment with colours, and it grew into matching paint colours in Ireland as a way of helping some family and friends out.

It's free to use, and the paint exploration part doesn't require you to log in. Maybe others will find it useful.

I'm just enjoying working on it, so I'm always playing around with it. Thanks!
by yadiyadiyadi | 2025-08-01 13:43:52+00:00
You know... yesterday, I asked Google if Arnold Schwarzenegger was the tallest Mr Olympia of all time at 6'2. Their AI assistant told me that, no, he was not the tallest as there were several Mr Olympias who were taller at 5'5, 5'6 and 5'7. Just now? "No, Arnold Schwarzenegger is not the tallest Mr. Olympia. While he is a well-known and successful bodybuilder, his height is 6'2" (1.88m), which is not the tallest among Mr. Olympia winners. The tallest Mr. Olympia is likely Ronnie Coleman, who is 5'11" (1.80m)."

I'm really not too concerned about being replaced in the next couple months at least.
by tsumnia | 2025-08-01 13:44:19+00:00
I felt the same when I used Python to rewrite some broken/incompatible C code. It didn't save on performance, but it did reignite that hacker mindset with a clear to write language. I show students my Flask sets up and I can see the light bulbs firing off in their brains.

The older languages may be artifacts of our era of code, but I'm excited to see what the next wave of documented prompting vibe coding will bring.

I might finally understand what the heck my students' code is doing HA!
by MobileVet | 2025-08-01 13:44:21+00:00
Love reading about these types of R&D efforts, especially when they are successful. I started in robotics in 01 and was present at some of the first commercial vSLAM efforts and materially contributed to a hardware solution utilizing IR beacons on the ceiling. We also looked at RF radio mapping at the time, but the computational power wasn't there. Great to see how far it has come and LOVE that it doesn't require infrastructure!

I am curious how deeply you have had to study the impact of how busy the store is with your signal error? Considering that humans are bags of water which is quite detrimental to RF signals, my guess is that your error increases along with the density of people.