MurphyA/hacker-news huggingface dataset:
by Akronymus | 2025-04-24 09:06:21+00:00
A minimum amount of parking spots per patron capacity. So a bar with 60 people capacity must have 15 parking spaces. [0]

Usually parking minimums are WAY too high in required parking spaces to make sense in most cases. Which leads to stuff like a arena having 5x the land area be parking than what is taken up by the arena itself. [1]

0: https://codelibrary.amlegal.com/codes/harrison/latest/harris... (this is for harrison, ohio, just happened to be the first result I found. it's under commercial -> "Tavern, bar, club, lodge, and dance hall.")

1: https://www.youtube.com/watch?v=OUNXFHpUhu8
by tialaramex | 2025-04-24 09:07:30+00:00
In 2020 some Oil futures were negative at close, which has one obvious effect (if you're stuck holding the bag you're paying to store all this oil despite it being, at least temporarily, worthless) but also messes up the ETFs.

Suppose my actual oil futures go from $800k to $900k, the ideal ETF is trying to ensure that $800k also turns into $900k just as if its investors were in actual oil futures. But these aren't futures and don't result in delivery - so critically when real oil futures blow up and that $900k turns into -$1M because the global economy had a heart attack the ETF cannot be worth -$1M as it's just paper and I don't have to pay you one cent.

For the ETFs this means a negative exposure for the operator - they're eating unlimited downside but can't pass that on to their customers, and for a blip like 2020 that's survivable (if you're well capitalised) but longer term it would be fatal.
by Aldipower | 2025-04-24 09:08:05+00:00
Come on. With a manual "marked as deleted" it stays as this forever, it is not deleted and never will, and the "deleted" data lands also in database backups, is still query-able and so on. I do not care if the deleted data stays for a while on disk or in memory as long it will be eventually deleted by the garbage collector and isn't query-able anymore.
by y42 | 2025-04-24 09:08:16+00:00
Been there, done that. Had my personal blog hosted on a machine like that. Even a little more sophisticated with nginx, virtual hosts and stuff like that. I ended up with almost the same setup as OP is presenting here: Hugo, GitHub Pages and Obsidian (or VS Code).

While I know how to maintain a server, as I worked as a SysOp for many years supervising way bigger infrastructures, I just didn't want to spend my free time also with maintaining some remote host, installing security updates, checking fail2ban and so on.

Self hosting is always more than just "instaling nginx".

>> but it seems weird to talk about "full control" and "no risk of platforms disappearing" when you're relying on the free tier of two external companies

This ignores the fact, that OP is actually storing the content on it's own devices. Sure, OP is using some cloud services to sync them around and GitHub/Cloudflare to eventually publish it to the world. But there's no real dependency. OP could always and easily (!) move to another similar setup.
by ang_cire | 2025-04-24 09:08:22+00:00
This belies the way that LLM code is being used.

People aren't taking LLM code and then thoughtfully refactoring and improving it, they're using it to *avoid* doing that, by treating the generated code as though it's already had that done.

That's why the pro-LLM-code people in this very thread are talking about using it to automate away the parts of the coding they don't like. You really think they're then going to go back and improve on the code past it minimally working?

There will be no advancement from that, just mediocre or bad code going unreviewed and ignored until it breaks.
by Ferret7446 | 2025-04-24 09:09:34+00:00
The GitHub part makes it... weird.

You are only required to keep the GPL3 license if you re-distribute it. Putting it in a GitHub repo, is ambiguous whether or not it is re-distributing it, at least morally.

If you want to delete the license in a personal copy, that is perfectly valid according to the license terms. If you then happen to upload that to a private GitHub repo, also perfectly valid.

If you then happen to upload that to a public GitHub repo, because of, say, restrictions on free private repos, without intent to distribute, then what?
by angristan | 2025-04-24 09:09:47+00:00
I found it very useful for proofreading. It's easier than copying/pasting the content into ChatGPT or similar, as it's right in the editor. I disabled the autocomplete though, as I found it breaks my flow of thoughts

(Wrote about this: https://stanislas.blog/2025/02/writing-workflow-llm/)
by johngladtj | 2025-04-24 09:09:59+00:00
This.

Frankly I don't want to spend 2 hours reading documentation just to find out some arcane incantation that gets the computer to do what I want it to do.

The interesting part of programming to me is designing the logic. It's the 'this, then that, except when this' flow that I'm really interested in, not the search for some obscure library that has some function that will parse this csv.

Llms are great for that, and let me get away from the pointless grind and into the things that I enjoy and are actually providing value.

The pair programming is also a super good thing. I work best when I can spitball and throw out random ideas and get quick feedback. Llms let me do that without bothering others who have their own work to do.
by nomilk | 2025-04-24 09:10:06+00:00
Kuala Lumpur gets (generous assumption) about 100 lightning strikes per square kilometer per year [0].

If a single drone could service a lot of square km, then it could conceivably collect a lot of electricity. E.g. if it could service 20 square km: 20 * 100 * 8mWh = 16gWh per year. Not bad, but an upper bound, and it hinges a lot on that first parameter (service area).

[0] https://forum.lowyat.net/topic/5376210/all
by casey2 | 2025-04-24 09:10:14+00:00
The only thing "wrong" with it is that both parties are being intentionally vauge and operating at a "higher level" than the actual problem they are dealing with.

You can immediately rule out "carbon-sucking machines or whatever" because it will take at least as much energy to capture and sequester the carbon as you got from burning it and spent extracting it. Which directly brings us to the actual solution of getting energy from a renewable resource that is cheaper.

Over time all tech will cause issues but if it's well designed the issues won't be exorbitantly expensive to fix compared to the benefits. innovation will always be a cure-all, cause otherwise the problem is already solved, showing or educating people about which solutions are already optimal energy-wise will do more than enough to set their expectations straight, or at least convince them that they don't want to carry around tnt in their pocket.

Making Mars habitable will be a thousand year project which implies that the earth is not uninhabitable. Nobody except a conman will tell you that we have to "escape" earth to go live on mars.
by genewitch | 2025-04-24 09:11:12+00:00
If you search sequentially, or start from the highest known failed number, you can also short circuit every even number you start on, as well as any number that goes below the start number. My code it requires copies of huge numbers, but I barely understand why the conjecture is special.

Anyhow I wrote a single-threaded collatz "benchmark" that does this using bigint and its hilarious to run it up around 127 bit numbers, inlet it run for 3 or 4 days and it never finished the first number it was given.

My github has a Java and Python version that should produce identical output. Collatz-gene or so.
by simondotau | 2025-04-24 09:11:34+00:00
If the club owner wants to have a fancy seat at the nicest table in the restaurant, that's not discrimination. It's their club. They built it. Everyone knows they built it, and they can think whatever they like about that fancy seat. If they want a similarly fancy seat, they can build their own club.

(Analogies aside, while I understand their rationale, it was wrong for Apple to lump the likes of Spotify and Netflix within their in-app purchase umbrella. And I also find it hilarious how people think 30% is highway robbery when 10+ years ago it was widely regarded as a fantastic deal for developers.)
by bayindirh | 2025-04-24 09:12:50+00:00
AMD has two driver teams at this point. One of Linux/Open Source, one for Catalyst/Closed source, and they are not allowed to interact.

Because, there are tons of IP and trade secrets involved in driver development and optimization. Sometimes game related, sometimes for patching a rogue application which developers can't or don't fix, etc. etc.

GPU drivers are ought to be easy, but in reality, they are not. The open source drivers are "vanilla" drivers without all these case-dependent patching and optimization. Actually, they really work well out of the box for normal desktop applications. I don't think there are any cards which do (or will) not work with the open source kernel drivers as long as you use a sufficiently recent version.

...and you mention ROCm.

I'm not sure how ROCm's intellectual underpinnings are but, claiming lack of effort is a bit unfair to AMD. Yes, software was never their strong suit, but they're way better when compared to 20 years earlier. They have a proper open source driver which works, and a whole fleet of open source ROCm packages, which is very rigorously CI/CD tested by their maintainers now.

Do not forget that some of the world's most powerful supercomputers run on Instinct cards, and AMD is getting tons of experience from these big players. If you think the underpinnings of GPGPU libraries are easy, I can only say that the reality is very different. The simple things people do with PyTorch and other very high level libraries pull enormous tricks under the hood, and you're really pushing the boundaries of the hardware performance and capability-wise.

NVIDIA is not selling a tray full of switches and GPUs and require OEMs to integrate it as-is for no reason. On the other hand, the same NVIDIA acts very slowly to enable an open source ecosystem.

So, yes, AMD is not in an ideal position right now, but calling them incompetent doesn't help either.

P.S.: The company which fought for a completely open source HDMI 2.1 capable display driver is AMD, not NVIDIA.
by biercarsten | 2025-04-24 09:13:01+00:00
I agree. Many people can hardly tell the difference between Arial and Helvetica. There used to be a website where you could test how good you are at telling them apart.

You won't notice many small differences between certain fonts. But that doesn't mean they're unnecessary. As you said, they make a difference when taken together. For screens, there are a number of adjustments and techniques that improve screen readability. Hinting, separate designs, contrast for low dpi and subpixel rendering compatibility, for example. At least some of the optimizations don't work out of the box, but have to be adjusted by designers. That's why it can happen that a font you bought for print media now requires an extra license for websites and apps.

There are plenty of wonderfully readable fonts for the web and apps that are free and sufficient for most projects. If you want something special, I don't think it's wrong to pay for it. Personally, I would prefer more reasonable prices, though.
by robertlagrant | 2025-04-24 09:13:25+00:00
> I don't see that these developments alter our essential humanity though. If you read any classic literature from 100, 200, or even 1000 years ago, the emotional truths resonate the same way.

That just means that field can be static (or just updated for modern references). It doesn't mean there aren't lots of things to improve in other areas.
by PeterStuer | 2025-04-24 09:13:50+00:00
There can be legal requirements to retain data for a specified time for law enforcement and audits, while at the same time other legal requirements have you requiring to delete data upon customer request.

Doing this with pure 'hard' deletes is not possible, unless you maintain 2 different tables, one of which would still have the soft delete explicit or implicit. You could argue the full db log would contain the data for the former requirement, but while academicly correct this does not fly in practice.
by brulard | 2025-04-24 09:14:04+00:00
next.js totally is overengineered and feature-bloated. But working with remix in the last 3 years (now called React Router: framework mode) I would never label it as overengineered. I'm not sure what you are talking about. If anything, it still misses features (Middleware still in beta, websockets native support, etc.). This weeks flavor is TanStack Start - which looks quite promising and not yet overengineered as well.
by vimax | 2025-04-24 09:14:18+00:00
Not to defend doge at be all, but the article specifically mentioned installing a bunch of proxy and scraping tools. Is this likely to be an actual Russian state attack or just extremely poor opsec / an attempt to evade internal controls, still likely very illegal. I'm all for holding all involved accountable to the fullest extent, but this is too sloppy for Russian state involvement to make me think they're on any intelligence payroll anywhere.
by varjag | 2025-04-24 09:14:37+00:00
This is a pointless conversation. I could turn around and accuse you of being overconfident just as well, especially in the days when Germany and France feel it prudent to covnert automobile plants to tank manufacturing.

I naturally hope there will be no broader war but there is plenty of odds to it, and dismissing this is just hubris. Cheers.
by skillseeddev | 2025-04-24 09:14:43+00:00
What Happens When You Let Students “Punch” Colleges For Rejecting Them? College Punch is a fun, harmless way to get revenge on any university/college that rejected you or just made you mad.

Every time you "punch" your college, you add to its total score on our leaderboard. The more punches a college receives, the higher it climbs in the rankings. This could mean the college is very much hated, or some nerdy students are botting the punches! Read more at https://ex.plor.ing/blog/post/college-punch
by littlestymaar | 2025-04-24 09:16:51+00:00
> With vague specifications like these, you'd get garbage from a human too.

You'll never have better input than this at the beginning of any project from the person that brings the use-case. That's a full job to help them define the needs more accurately. And if you always work with clear specifications it's just because there's someone in front of you that has helped write the spec starting from the loose business requirement.

> You will need to take care to clearly specify your requirements

Yes, but as I discussed above, for such tasks it's going to be very frustrating and less efficient than doing things by yourself. The only reason why you'd accept to go through this kind of effort for an intern is that because you expect him to learn and become autonomous at some point. With current tech, an LLM will forever remain as clueless as it started.
by greatgib | 2025-04-24 09:17:00+00:00
If you want my personal opinion, it is too a niche for being a successful "startup" business.

Like imagine if I add to your pitch "trips for people that like ... And to have a bottle of ketchup on lunch tables and that like hotels name starting with b or k".

Probably ok for a small modest local travel agency but not more.

I would see more success as a "sport and leisure group trips travel" agency but I guess that there are few other competitors in the field.
by deadbabe | 2025-04-24 09:17:35+00:00
Success isn’t really the point. These competitions are a fun way to meet other people with entrepreneurial interest. You can work together in a team to build something quick together and if you like them you can keep in touch and maybe do something more serious later on. Most ideas at these weekends will be undercooked, and will need a few non-obvious pivots to be viable businesses.
by throwaway2037 | 2025-04-24 09:19:23+00:00
I cannot remember which blogging platform shows you the "most highlighted phrase", but this would be mine:

> The email I'd have written is actually shorter than the original prompt, which means I spent more time asking Gemini for help than I would have if I'd just written the draft myself. Remarkably, the Gmail team has shipped a product that perfectly captures the experience of managing an underperforming employee.

This paragraph makes me think of the old Joel Spolsky blog post that he probably wrote 20+ years ago about his time in the Israeli Defence Forces, explaining to readers how showing is more impactful than telling. I feel like this paragraph is similar. When you have a low performer, you wonder to yourself, in the beginning, why does it seem like I spend more time explaining the task than the low performer spends to complete it!?
by madeofpalk | 2025-04-24 09:19:44+00:00
I think the preliminary findings make this pretty clear. Read it straight from the Commission, rather than blog spam https://ec.europa.eu/commission/presscorner/detail/en/ip_25_...

The people of EU decided it will be law that Apple must allow for alternate app distribution means - you must be able to side load and/or install alternate app marketplaces. That is the law, like how other countries have different laws for parental leave, for example.

The EU regulators have found that Apple has not complied with this law because it makes using alternate app marketplaces purposefully unattractive and burdonsome for both developers and users. EU is clamping down on Apple's 'malicious compliance'.
by y42 | 2025-04-24 09:19:48+00:00
*scnr:

ooof.. this chart is making my day, not because of it's content, but it's presentation. Apparently it only works if you have very different scales for x and y axis. As you have the same metrics on both of them (number of posts), it only worked if like x axis is from 1 to 10 while y axis is either log or from 1 to 100 or so. Or you choose a differnt metric for the x axis, like "share of posts about blog setups".
by fullstackchris | 2025-04-24 09:20:53+00:00
Very impressive and cool stuff! This shares similar themes to what I'm building over at https://studio.codevideo.io - I also chose to go with an event sourcing solution. I experimented with real time mouse recording but though it was overall too complex for more advanced examples, so for now I've setted with a virtual mouse that you can move from place to place to simulate how it might actually move - I'm curious, how did you solve realtime edits and highlighting directly in the editor? Are you using Monaco editor with realtime highlighting updates somehow? It's something I still haven't implemented in CodeVideo...
by Thorrez | 2025-04-24 09:21:41+00:00
>only be necessary to do a deeper search if the prefix matches

There are 5 billion emails in at least 1 breach and 16 million prefixes. Almost all if not all prefixes have at least 1 email in a breach. So almost all prefixes match. I don't see why it's useful to spend a bunch of effort optimizing the very rare case of a prefix not matching.

Now, if the bloom filter checked emails instead of checking prefixes, that would be useful. However, a bloom filter of 5B elements with a 10% false positive rate would be 2.8 GB, which is prohibitively large.

https://hur.st/bloomfilter/?n=5g&p=10&m=&k=
by throwaway290 | 2025-04-24 09:22:53+00:00
> If you then happen to upload that to a public GitHub repo, because of, say, restrictions on free private repos, without intent to distribute, then what?

Then you keep the license eh? Distributing without an intent to distribute is distributing.

Git is free and open source. If you want version control and collaboration and NO unintended distribution completely for free you can just use Git. It even has a built in server to share with your work buddies.
by myrmidon | 2025-04-24 09:23:07+00:00
This is never going to be economical.

Lightning is ~5GJ per strike. That means you'd need ~4 lighning strikes per hour just to keep up with a single large offshore wind turbine (15MW with 40% capacity factor).

There is also no realistic way to scale the whole thing up to significant levels of power; with the wind turbines, you just build several hundred to get into the GW range. There's simply not enough lighning to achieve that.

And the whole power buffering infrastructure that you would need would be an underutilized waste of (expensive) components.

There's never been any serious attempt at harvesting lightning at scale because a single glance at the numbers reveals how (economically) pointless an exercise it is.
by Thorrez | 2025-04-24 09:23:17+00:00
See my reply at https://news.ycombinator.com/item?id=43780713 .

Also regarding "you can get rid of a significant portion of requests at the edge with a bloom filter", Troy's existing design already gets rid of a significant portion of requests at the edge. That's why he says

>The response from each search was coming back so quickly that the user wasn’t sure if it was legitimately checking subsequent addresses they entered or if there was a glitch.
by wavefrontbakc | 2025-04-24 09:28:27+00:00
>While I wouldn't trust current setups, there's no obvious reason why even a mere LLM cannot be used to explore the design space when the output can be simulated to test its suitability as a solution

Having to test every assertation sounds like a not particularly useful application, and the more variables there are the more it seems to be about throwing completely random things at the wall and hoping it works

You should use a tool for it's purpose, relying on text prediction to predict clarity is like relying on teams icons being green to actual productivity; a very vague, incidentally sometimes coinciding factor.

You could use text predictor for things that rely on "how would this sentence usually complete" and get right answers. But that is a very narrow field, I can mostly imagine entertainment benefiting a lot.

You could misuse text predictor for things like "is this <symptom> alarming?" and get a response that is statistically likely in the training material, but could be completely inverse for the person asking, again having very high cost for failing to do what it was never meant to. You can often demonstrate the trap by re-rolling your answer for any question a couple times and seeing how the answer often varies mild-to-completely-reverse depending on whatever seed you land.
by smallstepforman | 2025-04-24 09:28:32+00:00
The core problem is some compilers initialising memory to zero in Debug mode, masking behaviour of unitialised data, since in most cases zero is a legit value. In Release mode, this zeroing doesn’t happen.

Devs need to be aware that the following C++ initisliser exists which zeros data structures for you:

MyStruct s = { };
by throwaway290 | 2025-04-24 09:28:42+00:00
> I was able to generate extremely comparable output from ChatGPT by telling it

Just to check, you know that ChatGPT is fully built on human writing right?

Would it be ironic if I claim "what you write looks like what the tool can output, so you used the tool" if the tool was built to output stuff that looks like what you write.

Fun fact: anything you or me write looks like ChatGPT too. It could be surprising if people didn't spend billions and stole truckloads of scraped unlicensed content including content created by you and me to get the tool to literally do just this.
by speerer | 2025-04-24 09:29:55+00:00
Thanks for emphasising the US perspective, because it matters.

IAAL outside the US, and I'm aware in UK and EU law copyright can subsist in typefaces, and there are specific provisions relating to them. Since FACT is a UK Org, taking UK law as an example, see ref. []

I personally find it a good example of aging law. It's quite difficult to reconcile the law as drafted (in 1987) with modern digital font uses. Is a PDF with embedded fonts "material produced by typesetting", or is it an "article specifically designed or adapted for producing material in a particular typeface"? Arguably it could be either.

I'm not aware of this ever having been considered by a court.

[] https://www.legislation.gov.uk/ukpga/1988/48/part/I/chapter/...