MurphyA/hacker-news huggingface dataset:
by sunilkumar2704 | 2025-07-11 10:43:43+00:00
Hi Dominic,

I’m a Staff Software Engineer with 17+ years of backend experience in Java, Spring Boot, Python (FastAPI), and system design at scale. I've led backend platform modernization, built asynchronous microservices, and deployed solutions using Docker and AWS.

While most of my recent work is in FastAPI and Spring Boot, I can quickly ramp up on Flask and Celery. I value ownership, clarity, and mentoring, and would love to support Swept’s mission.

Resume - https://drive.google.com/file/d/1iSGEtelaVEgUll8TjnEGy6XYQC1... GitHub - https://github.com/sunilkumar27?tab=repositories LinkedIn - https://www.linkedin.com/in/sunil-kumar-chenna-14322520/

Happy to connect!

Sunil Kumar
Show HN: Dispytch – a Python framework for building event-driven services
by e1-m | 2025-07-11 10:44:01+00:00
Hi, I built a Python framework called Dispytch for handling events. It’s meant to be simple, clean, and testable.

Would love feedback or thoughts if you get a chance to check it out: https://github.com/e1-m/dispytch
by thomassmith65 | 2025-07-11 10:44:04+00:00
This entry piqued my curiosity, and I did a cursory search for the original broadcast; what wording does a government use to position an announcement like this? I didn't find a recording, but I did find a related article from June 12, 1942

https://nytimes.com/1942/06/12/archives/nazis-kill-34-more-i...

...and a newsreel statement from Czechoslovakian President-in-exile Beneš from June 29, 1942

https://youtu.be/QFMJYhJNmeQ
by nradov | 2025-07-11 10:44:12+00:00
The quality of coaching is also a factor. My daughter played indoor volleyball for several years on both travel club and public school varsity teams. The high school coach lacked experience and tried to teach her inferior techniques that contradicted what she had learned from the last club coach, so she got frustrated and quit the team.

The sad thing is that kids who can't afford to play in travel clubs will usually never have a chance to develop the skills they need to make the high school varsity team. And even the club teams are sort of an escalating arms race: if you want to make the "A" team then you'll have to pay for extra private lessons and position clinics.
by grishka | 2025-07-11 10:44:53+00:00
Apple does market the iPhone as a general-purpose communication and computing device. Not an appliance like a game console. Most iPhone users don't know what making an app is like, how asinine the app store review process is, and what kinds of bonkers rules developers have to follow.

Apple initially did that to protect the ecosystem from malware and make sure all apps meet their quality standards. Also to make distribution easy for indie developers. All commendable goals. But as the iOS market share grew, this turned into a very convenient revenue source that they can't let go now.
by pyrale | 2025-07-11 10:47:11+00:00
I didn't understand why UK government numbers [1] were different from ofgem's numbers, apparently the government uses mean electricity usage (total power use divided by # of households), while ofgem uses a "typical" number which is based on median values.

[2]: https://assets.publishing.service.gov.uk/media/67e3eae39c9de... - see background section
by isodev | 2025-07-11 10:47:16+00:00
> regulatory environment so complex only massive companies like big tech or Europe's legacy players have the resources to comply

This is a very inaccurate view. I’ve worked with multiple SMEs and no such “complexities” ever become operational challenges. Even as a indie developer, my compliance is a default provided I’m not trying to do something shady.

Looking into the EU regulations, in most cases what they want you to do (or not do) is common sense.
by metalman | 2025-07-11 10:47:17+00:00
The only evidence of any animals activities visible from the Moon, is a clear cut 100miles by 150 miles in norther BC, as seen by humans on the moon..... There are two species of Beavers left, the well know aquatec version and a "woods beaver", rare. Beavers are making a comeback, and I see dams and lodges regularly, and hit a very large one driving, which I put in the back of the truck and took to a friend and we scun it, and he stretched the hide old style, easy to see why the fur was in such high demand, it's glorious, nothing synthetic can match the feel.The tails are a culenary delicacy. Not long ago Beavers and other species were still faceing an onslaught of human depredation, as there was a larger ,more vigerous rural human population, and guns and dynamite were hardware store items. Hyway departments still remove beaver dams where flooding threatens roads, but as flooding is becoming more damaging overall, the response is often to build MUCH larger drainage and bridge structures and then be able to let nature do it's thing.
by noufalibrahim | 2025-07-11 10:48:20+00:00
I remember cutting chart paper (thin card stock), then corrugated cardboard which was easy unless you were cutting perpendicular to the grooves and finally heavy card which, I agree was finger bruising. There's also some amount of fun in improvising tools from what you have around you. I'm wandering dangerously close to the "back in my day" territory but nevertheless. I think there's a place for childrens tools that are close enough to the real deal but still safe. However, going too far away from the real deal makes it just a toy.

I got my son some balsa, sandpaper and a sharp knife. I also got him a pair of gloves which were resistant to the blade. Showed him how to use all of those and he's quite good with his hands. Carved a few trinkets for his friends.

I remember an article about, I think the Inuit, exposing their kids to cutting tools early on in their lives. Can't find the link. Perhaps there's some kind of optimal point in between that balances between "real" and safe.
by smcl | 2025-07-11 10:49:18+00:00
> A 2016 estimate said the overall cost of the Chernobyl disaster was US$700 billion ...

You're taking 30 years worth of expenses and comparing them to the UK tax intake for one year. I am pretty certain the USSR didn't pay for all that up-front.

So $700b over 30 years is about $23b/year. The UK gov budget for the year you selected was about $1045b[1]. So if we are to take your Chernobyl example, it's about 2% of GDP per year. That is roughly half of what was spent on the second-smallest sector of the budget - "Public order and safety". That is a lot of money! But you're implying it would cause the collapse of the UK altogether.

As a comparison, during the 07/08 financial crisis the UK government bailed out the banks to the tune of $185b and managed to not collapse...

[1] https://www.gov.uk/government/publications/budget-2016-docum...
by skydhash | 2025-07-11 10:49:19+00:00
Most components are routine work, that you kinda snooze through. I like them as a kind of mental break: write tests, write code, run tests/linter.

The difficult part is reading thousand lines of unfamiliar code to measure the impact of a fix, finding the fix by reasoning about the whole moduke, designing a feature for long term maintainability,…

Note that all of them requires thinking and not much coding. Coding is easy, especially when you’ve done all the (correct?) thinking beforehand.
by mentalgear | 2025-07-11 10:49:23+00:00
" I called this article "Apple Vs The Law" primarily in reference to the rule of law, about how it should be applied equally and fairly against all, no matter the size and influence of your company. I think some of these gatekeepers - above all Apple, do a lot to undermine this process, in some places genuinely damaging trust in democracy. Going out of their way to paint the DMA law and the EU as overstepping and extreme hurts its reputation, as does the invented rhetoric about it being the "great risk to privacy ever imposed to government" (China?), or that they're "acting without experts in the field". Similarly for the number of covertly funded and supported lobbying groups that they bring to regulators all around the world."
by ahartmetz | 2025-07-11 10:49:54+00:00
I'm searching for "service name" and I don't care if it comes from "service" or mentions "service". That's unstructured.

The rest of your comment doesn't even apply. Search is not parsing and not structured data transfer (which is what binary RPC formats are for), and unless you have a fulltext index, there is no faster way to do it than the usual algorithms, which work at 100+ MB/s. With log files, the text is right there ready to be searched. With journald, it needs to be assembled first, and it's pretty slow in practice.
by v5v3 | 2025-07-11 10:50:13+00:00
Gpt4o-mini response:

>The provided code snippet is a function that converts an allocation size (asize) into the largest physical size (psize) that can be safely written to an allocation for a given virtual device (vdev). Here are some observations and potential issues in the code:

Return Value: The function currently returns asize instead of psize. This seems to be a mistake, as the purpose of the function is to compute and return the psize. The correct return statement should be:

return psize;

Comment Clarity: The comments mention that the function does not take into account the effect of gang headers. It might be helpful to clarify what "gang headers" are and how they affect the allocation sizes, especially for someone unfamiliar with the context.

Variable Initialization: The variable psize is calculated based on asize, ashift, cols, and nparity. Ensure that these values are correctly initialized and that vdev_raidz_get_logical_width returns a valid value for cols. If cols is zero, it could lead to division by zero in the DIV_ROUND_UP macro.

Assertions: The assertion ASSERT0(asize % (1 << ashift)); checks that asize is a multiple of 2^ashift. If this assertion fails, it will cause the program to terminate. Ensure that this condition is always met before calling this function, or consider handling this case more gracefully.

Macro Usage: The DIV_ROUND_UP macro should be checked to ensure it handles edge cases correctly, such as when psize is zero. If psize is zero, the division could lead to unexpected behavior.

Code Readability: Consider adding more comments to explain the logic behind the calculations, especially for someone who may not be familiar with the RAID-Z implementation.

Error Handling: There is no error handling in the function. Depending on the context in which this function is used, it might be beneficial to add checks for invalid input values and return an error code or handle exceptions accordingly.

Here is a revised version of the function with the return value corrected:

.....(Snipped for formatting issues)

Make sure to test the function thoroughly to ensure it behaves as expected under various conditions.
by reliabilityguy | 2025-07-11 10:50:29+00:00
> Israel does not recognize the Palestinian state

Israel does recognize Palestinian Authority.

> ergo all Palestinians are considered permanent residents of Israel

Palestinians are not permanent citizens of Israel. And they are not considered ones.

Why do you invent things that are easily verifiable online?

> but not given any right, which is the issue.

They have all their rights within Palestinian Authority!

The issue is that Oslo accord were not finalized and military occupation never ended.
by Tainnor | 2025-07-11 10:51:44+00:00
> But that model you describe is cracking: Cost of living is going through the roof in Europe, taxes/social contributions going up every year, etc.

Cost of living is increasing in the US too (in large part due to geopolitical reasons), and social contributions are rising because of demographic factors. I'm not sure how market liberalism is magically going to fix that latter issue.
by Sharon_Q | 2025-07-11 10:52:06+00:00
Thanks for the thoughtful comment! We totally agree—chasing hyper-optimization can sometimes lead to overengineered solutions with marginal gains. We’ve seen this firsthand while training our models. One example: we once explored a complex multi-layer architecture for a recommendation system, aiming for a 2% performance boost. But after profiling, we found a simpler ensemble approach delivered nearly the same results with half the compute cost and way less maintenance overhead. Would love to hear about any examples you’ve come across! What’s a time your team nailed that performance-complexity balance?
by JoelJacobson | 2025-07-11 10:52:09+00:00
Hey folks, I ran into similar scalability issues and ended up building a benchmark tool to analyze exactly how LISTEN/NOTIFY behaves as you scale up the number of listeners.

Turns out that all Postgres versions from 9.6 through current master scale linearly with the number of idle listeners — about 13 μs extra latency per connection. That adds up fast: with 1,000 idle listeners, a NOTIFY round-trip goes from ~0.4 ms to ~14 ms.

To better understand the bottlenecks, I wrote both a benchmark tool and a proof-of-concept patch that replaces the O(N) backend scan with a shared hash table for the single-listener case — and it brings latency down to near-O(1), even with thousands of listeners.

Full benchmark, source, and analysis here: https://github.com/joelonsql/pg-bench-listen-notify

No proposals yet on what to do upstream, just trying to gather interest and surface the performance cliff. Feedback welcome.
Show HN: ByteWise Search a Privacy, Zero-Traffic, Community-Driven Search Engine
by FerkiHN | 2025-07-11 10:52:12+00:00
Hey HN, I'm excited to share ByteWise Search, an innovative open-source search engine I've been building. Unlike traditional search engines, ByteWise is designed to be entirely client-side, running directly in your browser. This means it offers unparalleled privacy, blazing speed, and near-zero traffic consumption for search queries. Why ByteWise Search?

My goal was to create a search experience that puts the user first, without compromises on privacy or performance. Here's what makes it unique:

* Absolute Privacy: Your search queries never leave your device. All processing happens locally in your browser. No tracking, no cookies, no fingerprints.

* Zero Traffic for Search: After the initial load, every subsequent search query consumes 0KB of network traffic. Results are served instantly from a local database.

* Offline Functionality: Thanks to Service Workers and IndexedDB, ByteWise Search works perfectly even when you're offline.

* No API Keys, No Backend: This project runs entirely on GitHub Pages, making it completely free to host and use. There are no external APIs for search results, eliminating dependencies and potential costs.

The Community-Driven Vision This is where it gets really interesting, and where I need your help! Instead of relying on a centralized index, ByteWise Search is designed to be community-driven. The search results are powered by a local database that can be extended and improved by users like you. How it works:

* Local Contributions: You can add new "query -> relevant link" pairs directly within the app. These contributions are saved locally in your browser.

* Export & Share: You can export your local contributions as a JSON file.

* Contribute via GitHub Pull Request: The vision is for the community to contribute these exported JSON files back to the main GitHub repository via Pull Requests. Once merged, these contributions become part of the public, shared database, benefiting everyone using ByteWise Search.

This model allows us to collectively build a high-quality, curated, and privacy-respecting knowledge base, tailored by the community for the community. Performance Highlights (vs. traditional search)

* Initial Load: ~24KB

* Search Query: 0KB (from cache/local DB)

* Response Speed: Instant (from cache/local DB)

* Offline Support: Yes

* External API Calls for Search: None

Call to Action I believe this approach has the potential to redefine how we think about search, especially for specific, curated knowledge domains.

I'd love to get your feedback, ideas, and especially contributions!

* Try the Live Demo: https://ferki-git-creator.github.io/bytewise-search/

* Explore the Code & Contribute: https://github.com/ferki-git-creator/bytewise-search

Let's build a truly private and community-powered search engine together! Thanks for checking it out.
by madeofpalk | 2025-07-11 10:52:25+00:00
> If a competitor wants market share they have to build a better service.

Except when Apple ensures that it always comes out ahead when competing. It's not a level playing field.

Look at Apple Music vs Spotify - ignoring the self-preferencing iOS does to Appke Music, the App Store ensures that Spotify will always make less money than Apple Music. Spotify either has to hand over 30% to its competitor, raise its prices (and lose customers, while still paying its competitor), or just not offer in-app signups. Do you reckon Apple Music has to give away 30% of it's subscriptions?

It seems bonkers that the only option to have a competitive music streaming service is to make your own operating system or mobile phone. That's unhealthy.
by petercooper | 2025-07-11 10:52:36+00:00
Another good player to watch is Corgi Circus who came to the game through being popular in the Territorial.io world, a similar but far simpler game: https://www.youtube.com/@CorgiCircus – https://territorial.io/ is worth playing as an alternative if you only have 5 minutes to spare though but the strategy is quite simple.
by n4r9 | 2025-07-11 10:53:52+00:00
I was also curious as I haven't heard of this before. There's a Wikipedia page about the massacre: https://en.wikipedia.org/wiki/Lidice_massacre

It links to a Wikimedia page including photos of written announcements of the massacre in German: https://commons.wikimedia.org/wiki/Category:Lidice_massacre#...

Wikipedia also links to Nurembourg Trial proceedings where apparently footage of the anihilation was presented. See sections 120-121 of https://archive.is/http://avalon.law.yale.edu/imt/02-22-46.a...

And footage of the immediate aftermath, kept in a secret German archive: https://collections.ushmm.org/search/catalog/irn556023/
by thyristan | 2025-07-11 10:53:53+00:00
> It makes sense that people don't want to become citizens and legitimise the entity occupying their country and committing genocide, no?

I can accept not wanting to be part of that. But in that case, whining about missing democratic representation is just silly, of course you won't be represented if you chose not to be, no matter the reason.

> Obviously Israel doesn't consider children to be civilians

You seem to assume that all children are always civilians, but that is wrong. The articles of war don't put an age limit on being an enemy combatant. If you take up arms, you are a legitimate target, no matter your age. Many armies use child soldiers, and it is totally OK to shoot those child soldiers in a war.
by FirmwareBurner | 2025-07-11 10:54:05+00:00
>You haven't laid out any facts.

Here are my previously written facts again[1] for your convenience. You're either intentionally ignoring my previous facts to comment in bad faith or you have reading comprehension issues if you miss so many lines of text.

>> "Harvard political scientist Robert Putnam -- famous for "Bowling Alone," his 2000 book on declining civic engagement -- has found that the greater the diversity in a community, the fewer people vote and the less they volunteer, the less they give to charity and work on community projects. In the most diverse communities, neighbors trust one another about half as much as they do in the most homogenous settings. The study, the largest ever on civic engagement in America, found that virtually all measures of civic health are lower in more diverse settings."[1]

[1] https://news.ycombinator.com/item?id=44525317

[1] https://archive.is/IrbAC#selection-445.127-445.686
Show HN: HardView – Cross-platform Python module for detailed hardware info
by gafoo1 | 2025-07-11 10:54:07+00:00
Hi HN,

I built a Python module called HardView to retrieve low-level hardware and system info across platforms.

I needed something fast, structured, and consistent across Windows and Linux — something that could handle BIOS data, CPU, memory, disks, network, SMART attributes, and real-time monitoring.

Most existing tools (like psutil or pySMART) either didn’t go deep enough, weren’t cross-platform, or didn’t expose everything in JSON format — so I wrote my own in C, then exposed it as a Python module.

Key features:

BIOS/system/CPU/RAM/disk/network info

SMART and partition info (disks)

Real-time CPU/RAM/system usage monitoring

JSON output and Python API

It’s open-source and still evolving. Would love feedback, ideas, or contributions!

GitHub: https://github.com/gafoo173/hardview
by esperent | 2025-07-11 10:54:23+00:00
I carefully read the article before commenting to check in case it was actually curcumin.

They clearly call it turmeric supplements, not curcumin, throughout the article. The main source given is this NBC article, which also clearly calls it turmeric supplements, not curcumin:

https://www.nbcnews.com/health/health-news/liver-damage-turm...

So why do you think it's actually curcumin?
by irthomasthomas | 2025-07-11 10:54:25+00:00
The way to understand Musks behaviour is to think of him like spam email. His reach is so enormous that it's actually profitable to seem like a moron to normal people. The remaining few are the true believers who are willing to give him $XXX a month AND overlook mistakes like this. Those people are incredibly valuable to his mission. In this framework, the more ridiculous his actions, the more efficient is the filter.
by OneLLM | 2025-07-11 10:54:29+00:00
OH NO!!! ClosedAI just launched their new Sonic 50 model… and I already spent my budget on Croc AI Meanwhile, my competitors instantly switched—because they were using OneLLM.

If you’re building an AI startup, you know the pain: • Chasing every new model across 10+ providers • Signing up, paying separately, managing API keys • Rewriting code just to switch models

It doesn’t have to be that way.

With OneLLM, you get a blazingly fast, truly unified API that lets you access any model from any provider—all through one integration.

AI providers? We support them all: OpenAI, Anthropic, Perplexity, Copilot, Mistral, Gemini, Grok, Ollama, DeepSeek… and more.

What you get: • Unified Input/Output Format – Standardized prompts and responses across providers • One Library, One Endpoint – Stop juggling SDKs • No More API Key Headaches – We handle all provider keys for you • Single Billing – One invoice for everything

OneLLM is built for AI startups who want to move fast, stay flexible, and never get locked in.

What are you waiting for? Integrate once. Access them all. Try OneLLM now.
by dan-robertson | 2025-07-11 10:55:20+00:00
I’m a bit conflicted: when I used to care more about this freedom stuff say 10 years ago, I would have been more in favour of these regulations. Today I care less about that and more about security and I mostly think that Apple’s preferred approach is better for security than what the EU proposes. That said, I am not super happy about the rate of scams or junk in the App Store.

I think even for Americans who like the anti-gatekeeper regulations, you might worry about the precedent for the powers European governments get over these tech companies as the other thing they want is removing as much encryption as reasonably possible, which you may not want. Those changes seem quite unavoidable though so maybe it’s not worth thinking about them together.

The more damning thing IMO is the whole ‘America innovates Europe regulates’ trend. I think it seems pretty important that the EU (and U.K.) work out how to escape the anti-innovation troughs they have found themselves in. Or perhaps by 2050 the EU will largely be a tourist destination where citizens watch ads for the American tech companies to make profits to be highly taxed by the EU to fund subsidies for the German auto industry to sell cars to Americans and Chinese.