MurphyA/hacker-news huggingface dataset:
Show HN: SRAW – new compression preformat Data Optimization for Embedded Systems
by denis_dolya | 2025-09-20 11:00:17+00:00
I want to present a methodology I have been working on called SRAW Simple Raw. This is not a conventional compression algorithm but a preprocessing approach aimed at optimizing data before it is formatted or encoded. The key insight is that most data formats carry significant overhead in metadata headers and inefficient encoding that can be eliminated with minimal processing.

With SRAW repetitive patterns can be encoded extremely efficiently for example 1000 identical values can be represented in just a few bytes. CPU overhead is minimal making it suitable for microcontrollers and memory constrained devices. Output sizes are predictable which is critical for embedded environments. The approach can be used alongside traditional compression rather than as a replacement.

Implementation relies on smart bit packing and pattern recognition tailored to specific data types. In practice this has produced significant improvements with sensor streams telemetry and binary protocols where traditional compression either underperforms or requires excessive resources.

The underlying principle is straightforward but often overlooked optimizing data at the source can be more effective than compressing it afterwards. Removing redundancy early typically yields better efficiency than applying compression only after formatting.

I am sharing this to engage with engineers working in embedded systems IoT or other fields where data efficiency is critical. Feedback alternative approaches or similar experiences would be highly appreciated.

GitHub: https://github.com/DenisDolya/sraw

Documentation: https://denisdolya.github.io/sraw/
by xg15 | 2025-09-20 11:01:12+00:00
I agree, more automated tools for API migration would be a good next step, but I think that's missing the point a bit.

Read the actionable part of the "dependency error" mail again:

> Please reply-all and explain: Is this expected or do you need to fix anything in your package? If expected, have all maintainers of affected packages been informed well in advance? Are there false positives in our results?

This is not a hard fail and demand that you go back and rewrite your package. It's also not a demand for you to go out on your own and write pull requests for all the dependent packages.

The only strict requirement is to notify the dependents and explain the reason of that change. Depending on the nature of the change, it's then something the dependents can easily fix themselves - or, if they can't, you will likely get feedback what you'd have to change in your package to make the migration feasible.

In the end, it's a request for developers to get up and talk to their users and figure out a solution together, instead of just relying on automation and deciding everything unilaterally. It's sad that this is indeed a novel concept.

(And hey, as a side effect: If breaking changes suddenly have a cost for the author, this might give momentum to actually develop those automated migration systems. In a traditional package repository, no one might even have seen the need for them in the first place)
by lapcat | 2025-09-20 11:01:30+00:00
> you have to realize the world isn't optimizing make things more fun.

Serious question: why not?

IMO it should be.

If "progress" is making us all more miserable, then what's the point? Shouldn't progress make us happier?

It feels like the endgame of AI is that the masses slave away for the profit of a few tech overlords.
by Stranger_X | 2025-09-20 11:01:55+00:00
Scrolling feeds and algorithms replaced real conversations. Most “social” platforms aren’t social at all—they’re noise.

StrangerMeet is our attempt to bring back something simple:

One click, one conversation, text/voice/video.

Continue only if you both want.

No followers, no ads, no algorithms—just connection.

It’s small, fleeting, and human.

Would love to hear if anyone here misses that feeling of randomness online, or if it’s truly gone.
by bombcar | 2025-09-20 11:03:24+00:00
It is one of the versions that lots of mods were made for, and so some significant mod packs have stayed with it for decades.

Part of it was the almost year between 1.7.x and 1.8, so some major mods like Thaumcraft never made the jump.

Gregtech New Horizons (GTNH) has been back porting mods and features to 1.7.10 (like the ability to run on Java 20+) because that’s easier than porting the whole mod pack forward.
by cube2222 | 2025-09-20 11:06:06+00:00
This.

It’s actually extremely good bang for buck now to invest more time in various linters or static checking that enforce more correctness / project-specific rules.

Not only does the AI help you write the linter in 10% of a time - linters are usually fairly short scripts that are easy to test in practice, so the happy path for AI).

But asking the AI “make this linter pass” after you’ve e.g. done some extensive refactors, is very effective and time-saving.
by defrost | 2025-09-20 11:07:00+00:00
While you should never blindly trust a stranger that suggests you open and admin power shell and enter

PS C:\Windows\system32> irm "https://christitus.com/win" | iex

it's worth a shot - that downloads the latest stable Chris Titus WinUtil as a tabbed text GUI with easy click options and various recommended setting levels to deal with all of that.

See: https://github.com/ChrisTitusTech/winutil

https://christitus.com/windows-tool/

Chris Titus on his own (and contributors) Util: https://www.youtube.com/watch?v=IuaNw8Tpn7Q

Some third party run through and rave: https://www.youtube.com/watch?v=i43BZyJ4azc

It's all open source powershell scripts from windows insiders that gets heavy eyeballs - fast track installs of common software, easy set update tweaks (eg: only the serious security updates), disable telemetry and AI bloat, etc.
by ericmay | 2025-09-20 11:07:49+00:00
I’m sure you have better data but here is what Wikipedia says:

In 2023, resident foreigners made up 26.3% of Switzerland's population.[18] Most of these (83%) were from European countries. Italy provided the largest single group of foreigners, accounting for 14.7% of total foreign population, followed closely by Germany (14.0%), Portugal (11.7%), France (6.6%), Kosovo (5.1%), Spain (3.9%), Turkey (3.1%), North Macedonia (3.1%), Serbia (2.8%), Austria (2.0%), United Kingdom (1.9%), Bosnia and Herzegovina (1.3%) and Croatia (1.3%). Immigrants from Sri Lanka (1.3%), most of them former Tamil refugees, were the largest group of Asian origin (7.9%).

That’s a bit different than what you seem to be implying - according to Wikipedia the immigrant population of Switzerland is just Europeans, mostly Western Europeans at that.

With respect to Switzerland, what are the immigration rules and polices if you are Indian, or Chinese, or Brazilian, or Indonesian, or Nigerian? I’m just picking on those countries due to a mix of population levels and relevance to immigration in America. It’s rather surprising to me that Switzerland seems to have little meaningful numbers of immigrants from these higher population countries. Why is that? Is there maybe a specific policy we could point to? Do people from Italy really like the Alps and the Chinese don’t?

And going back I think to what is implied by the person I responded to, if what they’re saying is true about the economic value of immigration, and I think it is, why doesn’t Switzerland have, for example, unrestricted immigration from all over the world? Why are half of its immigrants from Italy alone? (Again just going off the Wikipedia article and I am happy to look at any other figures)

Are they immigrants or just Italians living and working in Switzerland because of the EU?
by jmull | 2025-09-20 11:08:00+00:00
> unit tests are using the same system to write your invariants twice

For unit tests, the parts of the system that are the same are not under test, while the parts that are different are under test.

The problem with using AI to review AI is that what you're checking is the same as what you're checking it with. Checking the output of one LLM with another brand probably helps, but they may also have a lot of similarities, so it's not clear how much.
by latexr | 2025-09-20 11:08:20+00:00
Please don’t strawman. It’s that kind of exaggerated bad faith argument that propagates anti-intellectualism in society.

I can’t believe I’m having to explain this, but you can show people a car and a carpet and they’ll understand how they differ. But if you show them two different programming languages, most people won’t be able to tell the difference. Just like most people see Chinese and Japanese, Swedish and Finnish, Portuguese and Spanish, and don’t know enough to distinguish one from the other, despite them having different names. They’re just similar-looking symbols organised in different ways.
by harimau777 | 2025-09-20 11:09:24+00:00
I think that I review code much differently than the author. When I'm reviewing code, my assumption is that the person writing it has already verified that it works. I am primarily looking for readability and code smells.

In an ideal world I'd probably be looking more at the actual logic of the code. However, everywhere I've worked it's a full time job just despirately trying to fight ballooning complexity from people who prioritize quick turn around over quality code.
by conartist6 | 2025-09-20 11:09:40+00:00
I am good at code review, sure, but I don't like doing it. It's about as strong an engineering technique as coding at a whiteboard. I know I'm at a tiny fraction of my potential without debugging tools and for that reason code review on github is usually a waste of my time. I'll just write code thanks and I'll move the needle on quality by developing. As a reviewer I'll scan for smells but I assume that you too would be most effective if I left you make and clean up your own messes so long as they aren't egregious
by lolc | 2025-09-20 11:09:41+00:00
Still if the foreign DNA is beneficial in keeping the hive going, it will help spread the queen's DNA. Should some allele work against the adoption of the foreign DNA, fitness drops, and that allele would become less frequent.

Who is doing the removing at fertilization is interesting mostly in a mechanical sense. The mechanisms that worked against it are being suppressed or selected out entirely.

It sure is an interesting case that one ant species is having another species promote their males if one looks at it from a gene perspective. A very weird case of symbiosis.
Show HN: Ggc – A Git CLI tool written in Go with interactive UI
by bmf-san | 2025-09-20 11:10:40+00:00
A while ago I shared an early version of ggc, a Git helper I built in Go. Since then the project has grown quite a bit, and I’d love to share the latest updates (v6.0).

Repo: https://github.com/bmf-san/ggc

Install: - macOS/Linux: `brew install ggc` - Go: `go install github.com/bmf-san/ggc/v6@latest` - Homebrew: `brew install ggc` - Or grab binaries: https://github.com/bmf-san/ggc/releases

Features: Dual modes: Traditional CLI commands (ggc add, etc.) and interactive mode (launch with just ggc) Intuitive command structure: Simplified interface for common Git operations Incremental search UI: Quickly find and execute commands with real-time filtering Fast and lightweight: Implemented in Go with minimal dependencies Shell completions: Included for Bash, Zsh, and Fish Custom aliases: Chain multiple commands with user-defined aliases Cross-platform: Works on macOS, Linux, and Windows

Technical details: Built with Go standard library and minimal external packages Supports 50+ Git operations (add, commit, branch, pull, etc.)

I'd appreciate any feedback or contributions!
by ericmay | 2025-09-20 11:11:12+00:00
Sure, I agree, I guess what I’m trying to understand is why don’t they have even higher rates of skilled worker immigration?

Think back to what the person I replied to said about the economic benefits of immigration in general (again which I believe are true based on what I understand).

For that matter we can just say the United States offers temporary work visas for skilled workers through the H1B program. Case closed! In the case of maybe New Zealand or Switzerland they represent less than 1% of the global population, most of the talent lives outside of those two countries. Are they importing enough high skilled foreign workers? I’m not sure. Switzerland for examples seems very expensive to immigrate to and get citizenship. But I’m not an expert there, just what I’ve skimmed through online.

Or is there more to it?
by throw0101a | 2025-09-20 11:12:10+00:00
A recent video from the I Want To Cook channel on the topic:

* https://www.youtube.com/watch?v=2DKasz4xFC0

He references this FAQ from the Corning Museum of Glass (CMOG):

> The short answer is that the change from upper to lower case signified a re-branding of the trademark Pyrex® in the late 1970s but is not a conclusive way to determine, historically, what type of glass formulation the product is made from.

* https://libanswers.cmog.org/faq/398431
by stavros | 2025-09-20 11:14:45+00:00
I have a similar, though not as detailed, process. I do the same as you up to the PRD, then give it the PRD and tell it the high level architecture, and ask it to implement components how I want them.

It's still time-consuming, and it probably would be faster for me to do it myself, but I can't be bothered manually writing lines of code any more. I maybe should switch to writing code with the LLM function by function, though.
by foldr | 2025-09-20 11:15:46+00:00
The actual guideline is “there is a convention on HN of asking users not to use quotation marks to make it look like they're quoting someone when they're actually not.” That clearly didn’t happen here because the commenter indicated what you literally said with ‘>’ and then put their paraphrase underneath it in quotation marks. No-one would have mistaken it for a literal quote.

If you think your position was misunderstood then that’s that’s the real issue, not punctuation usage. IMO it would be better addressed by engaging with the substance of the post (including the salient point that the Maher case is not comparable) rather finding some technical violation of HN common law to pick at. I’m sure there’s also a guideline against derailing substantive discussions into irrelevant picking over minor guidelines.
by littlecranky67 | 2025-09-20 11:15:56+00:00
I don't know about US law, but I would assume the "copying" in a legal sense involves distributing to a third party.

Maybe I am too old, but I remember a time where the broad population recorded radio shows on Tape and video shows on VHS, and no one was asking any copyright questions. And yes, recording a TV show in your home VHS recorder and selling/giving it to third parties, was illegal in most jurisdictions and the same laws apply probably still today.

But recording something for your own archive and watch it home (possibly with family members) is probably also still perfectly legal (as long as no DRM bypass was used).
by tappaseater | 2025-09-20 11:16:11+00:00
It’s important to clarify that H-1B is a non-immigrant visa — you don’t get to stay if you lose your job. That matters because the debate isn’t about immigration itself but about how the program functions. H-1B was meant to supplement shortages in highly skilled roles. Over time, though, it’s reshaped whole categories of employment. Anecdotally, I see very few young U.S. devs compared to many late-career ones finishing out their working lives. If we dare to use the term “national interest,” the real issue is whether a temporary labor program has morphed into something that permanently alters the market.
by cs702 | 2025-09-20 11:16:16+00:00
The paper's title is too clickbaitish for my taste, but its subject is important:

How should we rethink query interfaces, query processing techniques, long-term data stores, and short-term data stores to be able to handle the greater volume of agentic queries we will likely see, whether we want it or not, in coming years, if people and organizations continue to adopt AI systems for more and more tasks.

The authors study the characteristics of agentic queries they identify (scale, heterogeneity, redundancy, and steerability) and outline several new research opportunities for a new agent-first data systems architecture, ranging from new query interfaces, to new query processing techniques, to new agentic memory stores.
by deafpolygon | 2025-09-20 11:16:54+00:00
There are better alternatives. It's just that people have convinced themselves they need the features Obsidian offers - because it makes them feel smart and important.

At the end of the day, you're just taking notes. If you write a journal, don't put it in something like Obsidian. Even Apple Notes is better (in security, privacy, etc) in this regards.
by harimau777 | 2025-09-20 11:17:39+00:00
I could see that being the case in a scenario where all countries had strong labor protections. However, in practice globalism tends to result in jobs being exported from countries with strong protections to countries with weak protections. In that sense it is anti-labor.

In the case of bringing in workers; those workers are less likely to join unions or demand good working conditions since they are effectively indentured servants. That also is bad for labor.
by bArray | 2025-09-20 11:18:21+00:00
> If my wife suggested that we need to manage our budget by curbing just my spending on the occasional Steam sale, instead of figuring out a way to downsize our two SUVs, I would consider her a huge piece of shit.

You might have a need for two SUVs, and those are investments that you likely have already made massive losses on. Making new investments on the other hand that are not strictly necessary, does not seem wise.

But ignoring that, the investment into reducing illegal immigration is like investing into an expensive tape to plug holes in the water storage. The tape costs far more than the lost water, but the real investment is preventing the damage from water to the surrounding area, the lost water over time, etc. The investment into ICE will likely be realised over several years.

Alternatively, the research that is being cut is largely not intended to increase economic output. If anything, the results will be used to justify opposition to growth measures.
by Amezarak | 2025-09-20 11:19:00+00:00
> The classic concept says that [a species] is a group of organisms with similar physical and genetic characteristics that can reproduce with each other in nature and produce fertile offspring,”

The fact this is a gross simplification that doesn't reflect reality at all is already discussed at length in the Origin of Species. "Species" is a human abstraction with no real biological reality. Almost "species" can breed and create fertile offspring with other "species". Of course as genetic distance increases the chances are increasingly unlikely, but there are some real wild cards out there.
by silverliver | 2025-09-20 11:20:05+00:00
This is my plan as well. If we loose the ability to run GrapheneOS, I'll get an iphone and treat it as a locked down home router, and use a linux phone with open source apps for my calls/messaging.

I will also do everything in my power to halt support for Android in favor of web apps. No sense duplicating work for two separate platforms if one is just a crappy clone of another.
by dumbfounder | 2025-09-20 11:20:23+00:00
Are we saying software engineers making $125-150k are middle class? If so, then yes this I absolutely believe this is true. These will still be high level people for the most part that will up our game in my opinion. Thats in the opinion column, hard to prove. But this fee may have a net negative impact on jobs for Americans as it will push more companies to simply outsource to these countries rather than pay more in the US. So you need to tax that too. And then they will find some way around that and we will need to tax that new thing. I don’t like this game, it is trying to stop progress in my opinion. But I guess it is a balancing act and who knows where you set the line. Adding friction to it will definitely make it so only higher quality talent migrates here, that much seems clear.
by belter | 2025-09-20 11:21:51+00:00
> but it damn sure hasn’t worked out well for the countries those talented folks came from.

No, it has not. And not because the people were not capable. It is because most of those projects depend on having the right kind of ecosystem. Massive venture capital, stable institutions, cutting-edge infrastructure, tolerant regulation, network effects, and huge government spend especially in space, defense, and R&D.

Those elements are overwhelmingly concentrated in the U.S. and particularly in Silicon Valley.

Jan Koum didn’t build WhatsApp in Kyiv he built it in California. Ukraine in the 1990s barely had reliable phone lines, let alone the mobile networks, cloud infrastructure, and capital required to scale a global messaging service. Sergey Brin didn’t found Google in Moscow. Russia had brilliant mathematicians, but no open internet culture, no ad driven funding model, and no free flowing capital markets. No chance of a SpaceX out of South Africa or Canada. Those countries entire annual space budget wouldn’t even cover a single Falcon 9 launch.

These are not just anecdotes, but the proof that without the combination of American capital, infrastructure, and government spending, projects on this scale simply would not have been possible. The brain power was there, but the ecosystem that turns raw talent into global impact was not.
by avs733 | 2025-09-20 11:22:22+00:00
Quite a while back the exponent podcast did an episode that has stuck with me for a long time about what they called “principal stacks” as an analogue to protocol stacks.

The idea that I left with was to look at the hierarchy of principles not just the set of or claimed principles.

At this point it seems as if the top of the principal stack for those in power isn’t even more power anymore, it’s just grift.
by harimau777 | 2025-09-20 11:22:57+00:00
That's not been my experience. Technology has advanced such that there are things that used to be expensive that are not any more. However, I don't see more people who are able to live middle class lifestyles. Things like owning their own homes, not having roommates, being able to leave demeaning jobs, only having to work one job, raising a family on a single income, etc.

This doesn't map exactly to "middle class" but it also seems like there's now a lot less ability for people to afford to work in "artist" type careers. It used to be that you could wait tables, get a low cost studio in the city, and work as an artist in the evenings/weekends. Now you have to work multiple jobs and probably still can't afford to live in the city and make art.
by jmcodes | 2025-09-20 11:23:59+00:00
Maybe I'm weird but I don't actually enjoy the act of _writing_ code. I enjoy problem solving and creating something. I enjoy decomposing systems and putting them back together in a better state, but actually manually typing out code isn't something I enjoy.

When I use an LLM to code I feel like I can go from idea to something I can work with in much less time than I would have normally.

Our codebase is more type-safe, better documented, and it's much easier to refactor messy code into the intended architecture.

Maybe I just have lower expectations of what these things can do but I don't expect it to problem solve. I expect it to be decent at gathering relevant context for me, at taking existing patterns and re-applying them to a different situation, and at letting me talk shit to it while I figure out what actually needs to be done.

I especially expect it to allow me to be lazy and not have to manually type out all of that code across different files when it can just generate them it in a few seconds and I can review each change as it happens.