MurphyA/hacker-news huggingface dataset:
by ziofill | 2025-05-21 08:29:56+00:00
Mostly the part that brings groups of humans to optimize for wealth, even if this directly makes the life of other humans shittier. It turns humans into automata who blindly want to make the number go up, and not worry about the consequences.

A potential mitigation could be for governments to make the bad consequences more illegal. And in order to do so they need not be influenced by the algorithm, but unfortunately they are.
by whizzter | 2025-05-21 08:30:27+00:00
It's 2 different syntactically identical API's under an umbrella.

1: IEnumerable<T> that works lazily in-memory (and similar to the authors improvement) can be done in any language with first class functions, see the authors linq.js or Java's streams library (it's not entirely the same as a chain of map/reduce/filter since it's lazy but that's mostly not a drawback since it improves performance by removing temporary storage objects).

2: IQueryable<T> is the really magical part though, by specifying certain wrapper types the compiler is informed that the library expects an bound syntax tree(AST) of the expression you write, the library can then translate the syntax tree to SQL queries and send the query to the server to be processed.

Thus huge tables can be efficiently queried by just writing regular C# and never touch SQL. In most ORM's it's annoying or have impedance mistmatches but with EF you can write code and be fairly certain that it'll produce a good SQL query since the entire Linq syntax is fairly close to SQL.
by AnIrishDuck | 2025-05-21 08:31:46+00:00
I pointed out they were providing ridiculous answers to the question of "how do you measure value" and they doubled down on the ridiculous.

You are correct, there are many ways to measure value.

However, I don't think picking various commodities as the "true" measure of what is "valuable" is a useful exercise.

You may disagree. That's fine! I suggest you put your wisdom to use on the various markets that are set up for this purpose instead of arguing with me.

EDIT: they ultimately never reached my main point anyway, which is: regardless of if you measure value in tons of steel or crushed coconut shells, if China could easily obtain that value by assembling this stuff themselves, why export all the inputs to us instead?
by Abishek_Muthian | 2025-05-21 08:32:01+00:00
This is where user-scripts rock! and why websites are only frontier for defense.

[1] YouTube Anti Shorts - https://greasyfork.org/en/scripts/441709-youtube-anti-shorts...

[2] Hide Instagram Feed, Stories, Reels, and Explore Page - https://greasyfork.org/en/scripts/474087-hide-instagram-feed...

[3] Bypass Instagram Login Redirects - https://greasyfork.org/en/scripts/420604-bypass-instagram-lo...

Note: I use[1] regularly, Since I don't have an instagram account I don't have a need to use[2] instead I use[3].
by noroot | 2025-05-21 08:34:23+00:00
I love the idea of litestream and litefs and do use it for some smaller projects, but have also been worried it was abandoned. The line is quite thin between "done" and "not maintained".

There clearly still is some untapped potential in this space, so I am glad benbjohnson is exploring and developing these solutions.

Great that the new release will offer the ability to replicate multiple database files.

> Modern object stores like S3 and Tigris solve this problem for us: they now offer conditional write support

I hope this won't be a hard requirement, since some S3 compatible storage do not have this feature (yet). I also do use the SFTP storage option currently.
by carlnewton | 2025-05-21 08:35:26+00:00
This is really interesting thought. Could someone help me understand where I'm going wrong? Because I assume that Sloot made the same mistake that I'm making here, and I'm struggling to understand the Shannon's source code theorem article, so I'm thinking in practical terms:

If you wanted any movie in 1080x768, and wanted to have it in full colour, that would be 16,777,216 possible colours per pixel, so the number of IDs in your sequentially generated noise database would be 16777216 * 1024 * 768 = 1.319414e+13. This is where I think I might be misunderstanding something, because that number in decimal form is apparently 13194140000000, which means every frame will have an ID that is only 14 digits long.

Where have I made the mistake in concluding that I could store any 1024x768 image in 14 characters so long as my computer could generate an image of that ID?

Edit: I've just realised that 1024x768 is not a standard resolution, but I suppose the point remains with 1920x1080
by chownie | 2025-05-21 08:35:59+00:00
The term "kill the boer" was almost certainly added to the system prompt because Grok would begin talking about specifically that song, unprompted, to millions of people no matter what they were talking about.

This is not a case of trying to remove bias. I don't for a second believe anyone from the demographic using this site acting naive about that either, just have whatever political opinion and don't pretend this is respectable.
by Dylan16807 | 2025-05-21 08:36:38+00:00
Storage comes at a cost, but storing cheap/free power offsets even bigger generation costs. So the power company should pay to build storage.

There's a point where the grid has so much solar power that we need to start shedding production as a general rule and not just as an intermittent temporary measure, but I don't think we're anywhere near that point.
Show HN: I made a full react event calendar so you don't have to
by CharlieDepps | 2025-05-21 08:36:41+00:00
I’ve just recently launched Full Event Calendar, a professional event calendar component built specifically for React projects. It’s designed to save developers time by providing a ready-to-use, fully featured calendar that’s modern, accessible, and highly customizable.

Key features include: * Built with Shadcn/ui, featuring tooltips, popovers, command palette, and form validation. * Mobile-friendly design with keyboard navigation support. * Dark and light mode with touch gestures for enhanced usability. * Search functionality, color filtering, interactive tooltips, and undo actions. * Developed with React and TypeScript for type-safe, performant rendering. * Easy setup with comprehensive documentation and flexible API integration. * Swipeable interfaces, keyboard shortcuts, and the ability to connect to external APIs for event data. * Full source-code available.

I created this because I often needed a robust event calendar for my projects but didn’t want to spend weeks building one from scratch every time. I hope this helps other developers too!

You can check out the demo at https://demo.fulleventcalendar.com. Let me know what you think; any feedback or suggestions are welcome!
by martijn_himself | 2025-05-21 08:37:19+00:00
Could anyone more across the detail of this chime in on what this means for the 'average' .NET developer?

I rely heavily on LINQ calls in a .NET (Core) Web App, should I replace these with Zlinq calls?

Or is this only helpful in case you want to do LINQ operations on let's say 1000's of objects that would get garbage collected at the end of a game loop?
by Arnavion | 2025-05-21 08:37:22+00:00
The speaker was mistaken / misspoke.

The closest thing to "conditionally returned to the kernel" is if the page had been given to madvise(MADV_FREE), but that would still not have the behavior they're talking about. Reading and writing would still produce the same content, either the original page content because the kernel hasn't released the page yet, or zero because the kernel has already released the page. Even if the order of operations is read -> kernel frees -> write, then that still doesn't match their story, because the read will produce the original page content, not zero.

That said, the code they're talking about is different from yours in that their code is specifically doing an out-of-bounds read. (They said "If you happen to allocate a string that's 128 bytes, and malloc happens to return an address to you that's 128 bytes away from the end of the page, you'll write the 128 bytes and the null terminator will be the first byte on the next page. So they're very clearly talking about the \0 being outside the allocation.)

So it is absolutely possible to have this setup: the string's allocation happens to be followed by a different allocation that is currently 0 -> the `data[size()] != '\0'` check is performed and succeeds -> `data` is returned to the caller -> whoever owns that following allocation writes a non-zero value to the first byte -> whoever called `c_str()` will now run off the end of the 128B string. This doesn't have anything to do with pages; it can happen within the bounds of a single page. It is also such an obvious out-of-bounds bug that it boggles my mind that it passed any sort of code review and required some sort of graybeard to point out.
by bspammer | 2025-05-21 08:38:11+00:00
I still think my reasoning holds.

Let's say that I magically manage to find a private key whose public key has a chosen prefix that is the entire length of the key - i.e. the entire key is vanity. Something like myveryveryveryverylongvanitypublickey. Is that equivalent to a 0 length public key in terms of security? I'd say obviously not - there is still no way to get started when it comes to finding the private key.
by oblio | 2025-05-21 08:39:14+00:00
> b) use that dependency to skim the cream off every economic activity.

Exactly. Probably the most important quote of modern times is, I think it was a CEO of an ISP that said it: "we don't want to be the dumb pipes" (during a comparison with a water utility company).

Everyone wants to seek rents for recurring revenue someone else actually generates.
by xeox538 | 2025-05-21 08:39:50+00:00
I believe we're currently seeing AI in the "mainframe" era, much like the early days of computing, where a single machine occupied an entire room and consumed massive amounts of power, yet offered less compute than what now fits in a smartphone.

I expect rapid progress in both model efficiency and hardware specialization. Local inference on edge devices, using chips designed specifically for AI workloads, will drastically reduce energy consumption for the majority of tasks. This shift will free up large-scale compute resources to focus on truly complex scientific problems, which seems like a worthwhile goal to me.
by TeMPOraL | 2025-05-21 08:40:06+00:00
> You are making a variant on the 'piracy losses' argument which has been shown is simply a pricing issue.

That works for individuals. In many (most?) countries, the calculus for companies is vastly different. It takes one disgruntled employee or a bad dice roll to end up being audited for use of pirated software; between the regulators in many countries being on the side of the copyright holders on this, and the company itself being a much easier and juicer legal target than a bunch of regular people, the costs of getting caught using a bootleg Windows copy commercially far outweighs the costs of just licensing it.

With Windows also providing genuine value, the choice for companies isn't between licensing or pirating - it's between licensing, or sacrificing some other part of the business to scrounge up money for licensing, or not doing the business in the first place.

(Yes, the boundary between individuals and companies is fuzzy; this argument is somewhat weak for some classes of sole proprietorships, but generally solidifies quickly as the headcount of an org grows towards double-digit numbers.)
by mrweasel | 2025-05-21 08:41:05+00:00
What's the point of editors like this. It looks really well done, but it's not the first, and I don't see the point of any of them.

I don't get why I would need a web-based editor (markdown or other formats). I can perhaps see the point in a collaboration editor, but that's a special case.

Where's the "save" button? Where is my stuff stored? After clicking around a bit I got stuff in the edit mode and now I can't get back to the frontpage.

Perhaps this is an age thing, but files goes on my hard drive, I organise them using a file manager. Files shouldn't be stuck in a browser.

It says I can write blog posts, but how do I export files to my blog? Is there Wordpress integration? Git?
by falcor84 | 2025-05-21 08:41:08+00:00
> The USA suffers an estimated 200,000 annual deaths associated with lacking health insurance

Isn't this just about the advancement of medical science? I.e. Wouldn't they have died from the same causes regardless of medical insurance a few decades ago?

To take it to the extreme, let's say that I invent a new treatment that can extend any dying person's life by a year for the cost of $10M, and let's say that there is a provider that is willing to insure for that for an exorbitant cost. Then wouldn't almost every single person still dying be dying from lack of insurance?
by littlestymaar | 2025-05-21 08:42:05+00:00
> Sure you might end up taking out a third of the bottom 0-10% instead of 0-3% but what difference does it make?

That's not how it works! You'd have entire projects or department being sacked, with many otherwise very competent people being laid off, and projects deemed strategic being completely immune from layoff.

And even inside departments or projects, the people best seen by management will be safe, and the people more focused on actual work will be more at risk.

The harsh truth is that an organization simply has no way to even know who the “bottom 10% performance-wise” are. (And management assessment tend to correlate negatively with actual performance)
by markvdb | 2025-05-21 08:42:36+00:00
I see 7k€ for 12kWp, retail, for a diy ground install set for our summer house. That's before 4k€ in subsidies. No net metering, and feedin compensation is capped at 0.02€/kWh. But at 3k€ net, who cares? Even with the low electricity rates here, this makes sense. Even for a summer house!
by lukan | 2025-05-21 08:43:53+00:00
"I wouldn't generalize from that to "nobody could destroy a bridge".

Moving goalposts?

"That bridge is going to be incredibly easy to destroy"

Of course bridges can be destroyed. Also Ukraine would have succeded by now, if it really would have changed the war and justify the efforts.

(It doesn't anymore, since russia has the land train connections)

But it really ain't "incredibly easy", if that bridge is guarded. The failed attempts document as much - and Ukraine knows how to destroy things by now.
by jillesvangurp | 2025-05-21 08:43:54+00:00
Great to see DIY early adopters getting great savings here. I think the bigger trend here is lower cost, commoditization, and it eventually becoming a no-brainer for people that have the opportunity/space to be running their own micro grids for cost reasons. The cost of what you need here is still quite high. But making things easier to plug together helps. And of course component cost is coming down.

For example, you can buy kits on amazon for powering your shed or boat and it's essentially a smaller version of what you would put on your house. No electricians needed. No permits required. Here in Germany you can buy balcony solar kits in the supermarket. They only deliver a few hundred watts of power but it's plug and play. And you can get a nice little subsidy to do that. Some of these kits only cost a couple of hundred euro.

I could see that eventually adding a microgrid to a building is not going to break the bank. Car batteries are much larger than what goes in a house and kwh prices are trending well below 100$/kwh now. Meaning it should not cost tens of thousands to get a couple of tens of kwh to store energy. Inverters shouldn't break the bank either. The going rate for solar panels is around 200$.

Mostly current prices for home setups are much higher than the component cost mainly due to regulations, labor cost, certifications, etc. If you go off grid, you can just DIY and you end up much closer to the component cost. But of course long term both component cost and other cost are coming down. With the exception of labor cost probably. Though the skills needed will become more common and you might be able to do a lot of work yourself.
by rasz | 2025-05-21 08:43:56+00:00
What would you believe is true, a court documents or a PR piece on the cover of TIME? No doubt that quote for the press was part of the settlement, just like Microsoft pledging IE/Office support for 5 years https://en.wikipedia.org/wiki/Apple_Computer,_Inc._v._Micros...

Now imagine Jobs not settling and waiting one year to 1998 when DOJ decided to rip Gates ass wide open https://www.justice.gov/archive/atr/public/press_releases/19... Microsoft barely survived splitting in two, Court confirmed Microsoft an illegal monopoly and initial judgment was catastrophic for MS https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor... , a couple more arguments from a strong witness and it might have happened.
by 0xPIT | 2025-05-21 08:45:15+00:00
I own some Fenders and Gibsons, but over the last couple of years, Harley Benton produces very good guitars that are very affordable.

I have one of their telecasters, and it’s on par with a squier or a cheap fender, provided that you get it set up properly.

When I got to that cheap telly, I initially had planned to replace the pick ups, but guess what, the stock pick ups are good actually.

For amps, that strongly depends on your personal taste, but usually you go used. For example, if you’re into metal, you can get Peavey ValveKings for low $, they just require a good speaker. There are also several cheap clones available. YouTube has you covered with demos.

Also, digital amps have become good enough, even those software only, for example GarageBand. You just need some audio interface.
by rvz | 2025-05-21 08:45:30+00:00
If you are doing web development as a career, there really is no future for those software developers and it does not matter the rank given that AI has reached senior staff-level for typical web apps.

Sam Altman already outlined that this year AI agents will reach the level of a base-line senior software engineer on most tasks including web development such as HTML, CSS and Javascript and those web apps can be built in minutes.

One can even say by their own definition of "AGI", it is actually "AGI" for web developers today.
Show HN: I made stock and crypto analysis web site to improve your portfolio
by Martin_Dev_SaaS | 2025-05-21 08:45:52+00:00
I made this project to help investors cut through the noise and make smarter decisions using clear, data-driven insights. Most stock and crypto tools overwhelm users with raw data — I wanted to create something that simplifies analysis without sacrificing depth.

CeFinan lets you audit your portfolio with an AI-powered Health Score based on 8 key criteria, including news sentiment and advanced financial indicators. I also built a Correlation tool that shows how stocks move together, helping users spot hidden risks or diversification opportunities. The Growth section visualizes performance over time, with geographic and sector breakdowns, plus metrics like P/E ratio, Sharpe ratio, and volatility.

It’s not just another dashboard. It’s a decision-making assistant — and I’d love feedback from investors, data scientists, or anyone interested in making portfolio analysis more intuitive and actionable.

Website: https://cefinan.com
by askonomm | 2025-05-21 08:47:09+00:00
Indeed. With AI juniors can create horrible software faster, and in bigger quantities. Based on my experience AI really only enhances your existing talent, and if you have none, it enhances the lack of it, since you still need to be able to know how your AI slop fits in the larger system, but if you're a junior you most likely don't know that. Couple that with skipping the step where you must actually understand what you copy and paste from the internet for it to work, you also lengthen the time it takes for a developer to actually level up, since they do much less actual learning.

That's at least my experience working with multiple digital agencies and seeing it all unfold. Most juniors don't last long these days precisely because they skip the part that actually makes them valuable - storing information in their head. And that's concerning, because if to make actually good use of AI you have to be an experienced engineer, but to become an experienced engineer you had to get there without AI doing all your work for you, then how are we going to get new experienced engineers?
by biorach | 2025-05-21 08:47:28+00:00
> I don't think picking various commodities as the "true" measure of what is "valuable" is a useful exercise.

No one said that a commodity is a "true" measure of value. A commenter simply said that it is often a useful proxy. It is something that is useful to do to understand specific trade patterns.

> I suggest you put your wisdom to use on the various markets that are set up for this purpose instead of arguing with me.

I did not claim any wisdom on the subject. And I suspect you are deflecting attention from the fact that you are not arguing in good faith
by aa-jv | 2025-05-21 08:47:50+00:00
Many times over the decades I have constructed a MIDI->Audio cable so that I can record MIDI signals as audio, which as a technique is very useful for measuring and fixing MIDI->Synthesizer engine latency.

Its nice to know that if I ever get around to shipping a product with RTP-Midi (MIDI over Ethernet), I can just get a ready-made Eurorack module to do that testing! :P
by KaiserPro | 2025-05-21 08:47:56+00:00
Batteries are dropping fast in price, but for the USA, they might be going up because of tariffs. Neatly sidestepping that:

I have a powerwall 2 with 5kw panels, which I've had since about 2021. At the time it was the biggest, cheapest, had a grid isolation mode, and could be mounted outside. (I didn't trust tesla back then, and I sure as shit don't now. Moreover, once it catches fire, that shit aint going out anytime soon)

It still cost about £7k installed.

From about march/april to end of october, we are power sufficient (london, even with rainy days, gas hot water though.)

If I were to get a new system, 13kwhr of battery is something like £2k, plus inverter/charger.

The panels are dirt cheap, to the point where the scaffolding costs more than the panels. (and the mounts.)
by falcor84 | 2025-05-21 08:48:06+00:00
I would disagree. For almost any particular task that I as an individual could embark on, if MS were to focus all their efforts (or even just a few percent) to outcompete me, they most likely would. But that would be because MS includes capable humans who are able to coordinate together.

"Building a superintelligence" on the other hand is about whether they can create something that would outcompete me at a task without having to dedicate humans to it.
by GaryNumanVevo | 2025-05-21 08:48:10+00:00
I genuinely must have a mental defect. I use these apps casually and I can't say I've ever had the urge to pick up my phone at 4am and watch 2 hours of instagram shorts. They're usually annoying and pushed in my face which invokes a strong backlash effect. I typically watch an hour or two of YouTube a night, but only on the TV.