MurphyA/hacker-news huggingface dataset:
by xyzzy123 | 2025-08-25 23:03:02+00:00
LOC are not all the same.

My heuristics for assessing the difficulty of changes revolve around "load bearing-ness".

It's basically free to change code no one uses. It's not bearing any load. If your metric is LOC you can be very "productive"! But from another perspective you cannot tell if you are productive yet, the value is not realized until people pay for it and rely on it.

Changes in software that people use affect "load bearing" LOC. There is "pucker factor".

You can kinda multiply together: what is the inherent complexity of the domain, is the change reversible, is your change stateful, how many customers use it, how deeply do they interface with it, how many stakeholders are involved in the change, what are the consequences of failure / mistakes, how many cases / paths do you need to test - to get a feel for the true difficulty of a change.

The difficulty of a change is separate from the value it creates, but often they're related. Why? Because in widely used software if a thing lots of people valued was easy, it would already be done. Of course pathologies do exist where people do difficult things for no good reason or foolishly leave easy money on the table.

Greenfields / startups are a special case / time, where difficulty seems temporarily uncoupled from value. You can make huge and potentially valuable changes quickly and easily if no one is using your thing. But there is no free lunch because the downside is that you are only creating potential value, you still have risk that all the code you wrote is useless.

This is why some some people might say 30 LOC / day is a lot while others might name a much higher number. The people saying the lower number are the ones with existing customers, they are talking about "load bearing" LOC.
by watersb | 2025-08-25 23:03:06+00:00
I've always found database structure diagrams to be useful, and I like tools that synchronize editing the structure via the diagram or the SQL code.

I believe the macOS app OmniGraffle can do this, like Microsoft Visio on Windows.

I currently have a copy of Database Designer installed on an Android tablet, it's quite effective for my simple projects.

https://play.google.com/store/apps/details?id=com.klim.dbdes...

Database Designer developer says the app is "free forever", which is nice. App stores note in-app purchases; these are voluntary donations like "Buy Me a Coffee".

The app also has some brief demo videos that are linked as online help.
by inetknght | 2025-08-25 23:03:14+00:00
If a US IP is abusing the internet, you can go through the courts. If a foreign country is... good luck.

So, are hackers and internet shittery coming from China? Block China's ASNs. Too bad ISPs won't do that, so you have to do it yourself. Keep it blocked until China enforces computer fraud and abuse.
by giantrobot | 2025-08-25 23:03:35+00:00
I've been buying miniPCs since the days of Intel and Microsoft subsidizing shitty Bay Trail compute sticks. Even those were plenty powerful running a bunch of terminals connected to other machines doing hard work. I used to have one stuffed behind my monitor. They're also were laughably bad under Windows but pretty amazing under Linux.

Modern ones with Intel N95 CPUs are actually fairly impressive for the price. The N95 is roughly the equivalent of a Sandy Bridge era i5 which is plenty of power for what I'm using them for. They've also were under $150 IIRC.

My N95 systems have SODIMM slots for RAM and m.2 slots for storage. They're also got two Ethernet ports I set as a bonded interface so they get ~2Gbps to each other (and my NAS) on the same switch.

My unofficial tips:

- Get miniPCs with barrel adapters for power rather than USB. A lot of cheap ones like the old Bay Trail sort used microUSB for power and that's just terrible (sorry Raspberry Pis)

- You'd be surprised at how powerful an N95 or AMD equivalent APU actually is these days. Outside of compiling, 3D rendering, or AI inference such machines are rarely CPU-bound.

- Get black tape to put over stupid lights and front LCD screens that can't be controlled in Linux.

- Avoid Windows on such machines and just go with Linux. Ubuntu and Mint fly on them out of the box, lighter DEs fly even faster. As servers they can host an impressive number of services that aren't compute-bound. Hardware video encoding means even stuff like Jellyfin is really light.
by krapp | 2025-08-25 23:03:58+00:00
I never claimed that QAnon was the only fascist movement that rose to power, or that the internet was the only way that any fascist movement could rise to power. But QAnon as a phenomenon would never have existed nor would it have metastasized in the body politic as it did without the internet. It is probably the first truly internet age political movement, at least the first I'm aware of.

And those pre-internet fascist movements were the result of years, if not decades, of creeping effort and required the power and infrastructure of governments and control of the media to take hold.In a world without the internet Trump never makes it past the primaries. But Trump went from a joke of a candidate to Christ incarnate for half the country in a matter of months, almost entirely due to memes. Again - the salient point is the way that the internet allows these movements to galvanize and accelerate and control people's reality in a way that wasn't wasn't possible before.

>Having more ideas isn’t bad. Some people thinking covid is a conspiracy is a very good thing.

Believing in anti-vaccine conspiracy theories kills people, full stop, and the people who believed in covid conspiracy theories literally made things worse for the rest of the human species. Ideas don't exist in a vaccuum. It's unfortunate you think this is a good thing, or you can't see a relationship between the ideas and their consequences. Or that you don't care.
by rcxdude | 2025-08-25 23:04:08+00:00
They don't all work, though: too many crank up the settings on google's various 'integrity' checks and will fail on anything that isn't 100% google-blessed. (Which is insane, because that's all that's required: on a previous phone of mine, it worked fine with a stock ROM with a bluetooth-based RCE, but upgrading to a custom ROM would have meant it was 'insecure')
by arp242 | 2025-08-25 23:04:16+00:00
It's not so clear to me that the 70s were really the hey-day of male emotional vulnerability. In general, these kind of expressions like when and how to cheer seem more fashion than anything else. And stupid dating stuff also seems old.

That said, I also feel a general kind of nihilism and apathy. But to be honest: I don't really know if it's worse than in the past? Or I'm just getting old and tired of all the stupid bullshit?
by cobbzilla | 2025-08-25 23:04:25+00:00
This is either a tautology or meaningless, depending on semantics.

Q: Are there today, or have there ever been in history, any non-corrupt governments (that by your implication are invulnerable to lobbying)?

I’m pretty sure lobbying is a thing everywhere, regardless of corruption. People want the government to do stuff and will try to make it happen, from autocracies to direct democracies and everything in between.
by nickjj | 2025-08-25 23:04:46+00:00
Indeed, although I find hyprshot + satty a pretty good combo. It's almost as good as Flameshot.

I think it's really important to be able to take a region, specific window or full display screenshot with an ability to annotate afterwards and then also have an option to save to disk or copy to clipboard depending on what you want to do for that screenshot.

Flameshot was ideal because it lets you adjust the region size while also having the annotation controls at the same time. All of these other solutions don't let you adjust the region during annotation time since you're piping the image data into a different annotation tool.
by imiric | 2025-08-25 23:04:48+00:00
I'm surprised there's been no discussion on this project.

A part of me thinks that if you have to profile a Bash script, it's a sign that you've surpassed its intended use case, and a proper programming language with all its modern tooling would be a saner way forward. But then again, that line is often blurry, and if the script has already grown in size, it might be a sunk cost to consider rewriting it, so I can see cases where this tool would come in handy.

I find it hard to believe that there is minimal overhead from the instrumentation, as the README claims. Surely the additional traps alone introduce an overhead, and tracking the elapsed time of each operation even more so. It would be interesting to know what the actual overhead is. Perhaps this is difficult to measure with a small script, whereas a larger one would show a greater difference.

The profile output is a bit difficult to parse at first glance, but I think I get it after a closer look.

In any case, this is some next-level wizardry. The amount of patience required to instrument Bash scripts must've been monumental. Kudos to you, Sir.

BTW, you're probably aware of it, but you might want to consider using Bats[1] for tests. I've found it helpful for small scripts.

EDIT: I took a look at `timep.bash`, and I may have nightmares tonight... Sweet, fancy Moses.

Also, I really don't like that it downloads and loads some random .so files, and base64-encoded blobs. I would personally not use this based on that alone, and you shouldn't assume that users will trust you. If this is required for correct functionality, have a separate well-documented step for users to download the required files manually. Or better yet: make their source visible as well, and have users compile them on their own.

[1]: https://bats-core.readthedocs.io/
by ta8645 | 2025-08-25 23:04:54+00:00
These companies are in bed with the government, you're not going to be saved by any legislation. Many people on this site supported Google censoring the Covid anti-vax idiots, but it should have made it very clear that Google was working at the behest of the government. They're in bed together; the government gets to do an end-run around the constitution, and Google gets to rely on special government privileges and protection. Win-win.
by freetime2 | 2025-08-25 23:06:02+00:00
IMO the Framework Desktop is too large to be considered a Mini PC due to its 4.5L case size. I'd call it a Mini-ITX tower.

It looks nice, though. I'm impressed they were able to get 11W idle power consumption with a 400W power supply (most mini pcs have much smaller power supplies, which are supposed to be more efficient with smaller loads). [1]

[1] https://www.jeffgeerling.com/blog/2025/i-clustered-four-fram...
by homebrewer | 2025-08-25 23:06:56+00:00
Yet most of the world runs Android. Its main value proposition was always wide selection of hardware for however much money you're willing to spend, not its relative openness.

I make relatively decent money by our standards, and I wouldn't even think about dropping $700-1000 on a phone (which isn't even officially sold or supported over here). For the vast majority of people it's their whole income over 2-4 months. I don't know or care how much you make, let's say it's $10k per month. Imagine if you had to pay $20-40k for a phone which is good for maybe 5-8 years.

And most of the world is like that.
by nwatson | 2025-08-25 23:07:09+00:00
It can get a lot more complicated though. At times there are more parameters to an algorithm's complexity than just `n`. E.g., the parameters for big-O might be `n`, `K`, and `ρ`, and some expressions in the big-O might involve combinations of those parameters.

In such cases as well, one might know for a specific application of the algorithm that, for example, `ρ` is bounded, and so the big-O becomes more influenced by the `n` and `K`.
by giantrobot | 2025-08-25 23:07:11+00:00
I have a Steam Machine, one of the Alienware ones. You're completely correct. SteamOS as shipped on those machines sucked. The controllers sucked. The PC hardware wasn't bad and could play games alright but the experience sucked. I made it into a Linux desktop I used for years and it worked much better for that than as a dedicated games console. But the SteamDeck very plainly incorporated lessons learned from Steam Machines.
by sidewndr46 | 2025-08-25 23:07:38+00:00
I'll add a disclaimer here that I don't buy new cars or trucks, so this doesn't really apply to me anyways.

My family's limited experience with powertrain warranties is that they don't mean anything. The manufacturer put a junk engine in my Dad's truck at the factory. When they replaced it, they replaced it with a junk engine. When confronted with this, the dealer claimed it was not reasonable for a replacement engine to run without issues. Neither made it 30,000 miles.
by jleyank | 2025-08-25 23:07:44+00:00
Sponsors have to sponsor. Foreign athletes and fans have to show up. Broadcast has to broadcast. This is more important for the 2026 World Cup because the money and interest is higher. Tourism and travel for the rest of 2025 will be a big data point, along with the level of olive drab and black in every picture. I would not bet a company on the marketing return of these tournaments today. And I wonder how many leg injuries might appear amongst the footballers.
by unsignedint | 2025-08-25 23:08:25+00:00
I think Chesterton’s fence is a fair analogy—but it only works if the “fence” still serves a protective function. With the PSTN, the fence is riddled with holes, and the people meant to maintain it can’t keep up with the erosion. Interoperability was indeed its greatest strength, but today that same universality is what lets malicious actors reach everyone at trivial cost.

Comparing PSTN to instant messaging walled gardens is interesting, but I’d argue the real parallel is email: a federated, open standard that also suffers from spam and abuse, yet still manages to limp along thanks to heavy filtering and layered trust systems. The PSTN never evolved those trust layers; instead, it relied on scarcity (call cost, geographic constraints) to keep abuse in check. Once those costs collapsed, the trust model collapsed with them.

As for the FCC, sure, they can try to incentivize carriers. But the fact that we need constant regulatory intervention just to keep basic trust afloat suggests the system is no longer structurally sound. Band-aids like STIR/SHAKEN prove the point: we’re bolting authentication onto a protocol that never envisioned it. That might extend its life a little, but it doesn’t make the foundation any less fragile.

So the question isn’t whether the PSTN once had value (it did, massively), but whether preserving it now delivers more value than the cost of propping it up. If a good chunk of people already treat unknown calls as spam until proven otherwise, then the social contract around the PSTN has already been broken.
by czzr | 2025-08-25 23:08:27+00:00
I responded to a comment that called progressive taxation a crazy “far left” idea - I’m not sure the second and third order details of taxation policy are really relevant here…

But ok - yes, sure, in real life it’s a mix and the mix is worth debating. Note also that consumption taxes often have exemptions/reductions to offset the most severe regressive effects.
by proc0 | 2025-08-25 23:08:28+00:00
In every language you can take 100 LOC and compress them into less than half if you abstract it and optimize it. What I mean is that LOC doesn't tell you much about your software, but there is a a point where there is probably a lot of repetitive logic and more likely to have issues because it's not abstracted properly.

The hard part about programming is not writing down some syntax that does some function. The hard part is designing the system to scale properly as you add more features, it's dividing the problem into parts that make sense so that they can be easily understood and reasoned about. Typing the solution into an editor is one of the easy steps once you understand the solution.
by 0xbadcafebee | 2025-08-25 23:08:32+00:00
Toxic expert here! I hate when blog posts try to teach complex subjects. It's almost always a non-expert doing the teaching, and they fail to do it accurately. This then causes 1) the entire internet repeating the inaccuracies, and 2) the readers make no attempt to do further learning than the blog post, reinforcing their ignorance.

I'll double down on my toxicity by saying I didn't like the page layout. As someone with ADHD (and a declining memory), I need to be led through formatting/sub-headings/bullets/colored sections/etc into each detail or it all blends together into a wall of text. The longer it takes to make a point (visually and conceptually), the more lost I am. I couldn't easily follow it. The Simple Wikipedia page was more straight to the point (https://simple.wikipedia.org/wiki/Big_O_notation), but reading the "full" Wikipedia page thrusts you headlong into a lot of math, which to me signifies that this shit is more complex than it seems and simplifying it is probably a bad idea.
by itishappy | 2025-08-25 23:08:39+00:00
I mention tie-dye because it feels like a quintessential example of a color gradient. I think it's perfectly reasonable to ask for a blue and orange tie-dye shirt and perfectly reasonable to not want grey colors simply because they're on opposite sides. I could see white in between, I could even see black, or I could see purple and red or cyan and yellow. I don't think there's a universally right answer here!
by estimator7292 | 2025-08-25 23:09:04+00:00
Thousands of lines of code per day is an enormous red flag. That is well beyond your ability to write or review on your own in a single workday.

Pumping out that much code means you're not putting thought, care, or professionalism into the work. You're pumping out garbage and making it everyone else's problem to clean up.

If I saw anyone other than a greybeard developer pushing out code like this, I'd fire them. Very, very few people can actually work at this level and produce good code. Everyone else is just shitting out slop, ruining the product, and dragging down the entire team.

Additionally, only extremely inexperienced and naïve developers even think about LOC counts. If you're focusing on this, it tells me you have no idea what you're doing and that the code you're putting out has about as much value and utility as the shit my dog took this morning.
by akomtu | 2025-08-25 23:09:30+00:00
These corpos are part of the government, more or less, and they simply implement the edict to get rid of privacy. Not only in America. Smartphones have become eyes of the govs, while the Internet - something akin to their neural system. What's more interesting is why the govs feel so paranoidal and insecure recently? What are they afraid of?
by jakelazaroff | 2025-08-25 23:10:25+00:00
I don't see how what's given to you changes things? If there's ambiguity, I think it's in whether the question is actually the halting problem:

If it is the halting problem — less ambiguously written as "given the code of a computer program and its input, will it run forever?" — then the statement is incorrect: there is a method that returns the correct result for every possible program and input.

If it is about proving whether a machine halts — not getting it right by chance, but showing that a particular machine halts or runs forever — then the statement is correct, for any set of axioms there are Turing machines that cannot be proven to halt or run forever using those axioms.
by blooalien | 2025-08-25 23:10:42+00:00
> "Decentralized means do it yourself" ...

Not necessarily. Just one famous example; BitTorrent is decentralized but for most people it's just "run this app, download files". "Decentralized" just means "doesn't rely on a centralized service to accomplish a goal". As long as the application isn't too complex to install and use, most folks won't care one way or the other whether it's decentralized or not, as long as it accomplishes the goal they're looking to accomplish.
by comrade1234 | 2025-08-25 23:11:01+00:00
Wealth tax mostly works here in Switzerland but it's hard to enforce when it comes to subjective items like artwork. But it's so low here they probably should just scrap it. But then you have so many wastes of humanity here that inherit all of their money and do nothing with it other than have a good life of good food, nice cars, mild plastic surgery, etc.
by garciasn | 2025-08-25 23:11:09+00:00
Boats here cost the same as a car and more, but because they are used far less and have a high resale value (Minnesota has a lot of lakes and a culture centered around water and boating) it might make sense.

I bought a 20yo pontoon for $10K and I could sell it tomorrow for $5K more than I paid for it two years ago.

I cannot do that with a car. No way; no how.
by ninkendo | 2025-08-25 23:11:45+00:00
The file manager wouldn’t use the “string” type to hold file names, if it’s written properly. Languages like Rust have things like OsString as separate from String for just this reason.

If you have a type that says “my contents are valid UTF-8”, then you should reject invalid UTF-8 when populating it, obviously. Why would it work any other way? If you need a type that can hold arbitrary byte sequences, use a type that can hold arbitrary byte sequences.
by selkin | 2025-08-25 23:11:52+00:00
S^2 isn't a special case though: Brouwer's showed the theorem can be easily extended to high dimensions, hence today we usually consider the more general statement that there is a nonzero tangent vector field on the n-sphere S^n iff n is odd.

Not only does it generalize to higher n, it also shows a bit more: not only that the lack of such vector field for an even n, but the also the existence of such for odds.
by reactordev | 2025-08-25 23:12:10+00:00
I’m just going to add my color to this since this seems to be devoid of any but the red sun.

I like the idea of crowdfunding models. Absolutely. Yes. However, I want to see how that translates to progress. I’m ok even if the model fails at a catastrophic level, but I want to see the progress towards that end for every dollar sourced.

The training logs, the assumptions, the cloud spend, the markers, and the fit to the end goal.

Do that, and you’ll have something.
by nickjj | 2025-08-25 23:12:53+00:00
How did you end up managing things like waybar?

You'd end up with 2 copies of it running and you typically killall/pkill to reload it because it's expected you'd only run 1 copy but now with this nested solution there's 2 copies running.

The only thing really stopping me from Niri is it doesn't seem to have dynamic configs to let you have 1 main config and then source in a smaller 2nd config to overwrite settings in the main config.

That's really useful for having personalized changes per device or overwriting specific colors to change themes.

Hyprland has a `source` feature for this.
by mritterhoff | 2025-08-25 23:13:28+00:00
I'm no rug expert, heritage or otherwise, but it looks like there are some really expensive rugs out there: this[1] site lists 9 worth over $1M USD. So I'd assume there's a big spread between that and rugs you get at Ikea. So I think he's being genuine, not satirical.

1. https://www.luxxu.net/blog/top-10-most-expensive-rugs-in-the...
by tguvot | 2025-08-25 23:13:36+00:00
its literally satisfying justification for attacking hospitals and hamas operatives who pose as journalists. also i been told by mainstream media multiple times that there are no more hospitals in gaza as israel destroyed all of them. so i am mildly surprised here.

hamas takes pride in attacking civilians. which is evidenced by multiple attacks over past 30 years against purely civilian targets. for example https://en.wikipedia.org/wiki/Dolphinarium_discotheque_bombi... . they later proudly take responsibility for actions like this. sometimes hamas/pij/pflp will all claim responsibility .

i wonder what is your take on 20 years of unguided rockets shot from gaza (around 20000 in total) after israel left it in 2005