MurphyA/hacker-news huggingface dataset:
by Alifatisk | 2025-08-05 14:18:17+00:00
Can't the pipe operator be easily mimicked in Ruby thanks to its flexibility?

I'm thinking of something like this:

class Object def |>(fn) fn.call(self) end end

which then can be in the following way:

result = arr |> ->(a) { a.uniq } |> ->(a) { a.flatten } |> ->(a) { a.map(&:tags) }

Or if we just created an alias for then #then method:

class Object alias_method :|>, :then end

then it can be used like in this way:

arr |> :uniq.to_proc |> :flatten.to_proc |> ->(a) { a.map(&:tags) }
by swores | 2025-08-05 14:18:20+00:00
Person you're replying to mentioned Frigate+ which is the paid subscription option offering the ability to upload images to their servers in order to further train the models to get better accuracy, so no longer 100% local.

Maybe you're suggesting that using two additional tools in combination with the free version of Frigate brings its quality up on par with that of an extra-trained Frigate+? If that's so it would be great if you could say that and elaborate how so / why, rather than just dropping in some new tool names and no explanation as to how/if they address GP's points. (Thanks in advance if you do come back and explain.)

Edit: I just looked into Doubletake + Compreface, seems they're both facial recognition tools, so using them wouldn't overcome the problem GP commenter reported that Frigate without Frigate+'s additional training doesn't do a good enough job of general object tagging for them?
by metalman | 2025-08-05 14:18:33+00:00
Grandpa worked heat treat at the alegany national forge, where they made stuff like the beams for the empire state building, periscope tubes, and the 16" guns for the biggest battle ships, each thing had to be tempered in a very specific way, and to deal with spying and espionage, the charts and instuments used on the shop floor were all deliberatly wrong,and the written instructions were also wrong leaving the person in charge to know how to convert the given instructions into what was actualy done through a secret method, not complicated, but essentialy impossible to reverse engineer. There is a story of soviet engineers who somehow were invited to tour the RR jet turbine factory, and were given shoes that had extra sticky soles they wore only for the tour, which ewere then used to anyalise the metal chips that get picked up from the shop floor..... never ends, expected.....even honored
by 9rx | 2025-08-05 14:18:40+00:00
> In what place is this 30 minute drive from a rural area to the urban center an actual thing?

Where is it not a thing around any major centre? Every city is ultimately going to have rural area outside of it. I suppose you can find some city that has poor geography or ridiculous suburban sprawl that impede access. There are always outliers. But in general?

Of course there are also rural areas further away, and maybe if you were trying to work in some kind of local industry (mining, agriculture, etc.) you'd need to be further away, but since we're just talking about WFH...

> There's not some abundance of rural areas

How many do you need, exactly?
by TheAceOfHearts | 2025-08-05 14:18:53+00:00
Could someone help contextualize what parts of this manufacturing process are considered the most important and closely guarded trade secrets? I'd love to hear some slightly more concrete examples.

How easily could another company replicate this process if they knew all the key details? It was my understanding that access to photolithography machines was one of the major obstacles in replicating chip manufacturing processes.
Show HN: GoldNow – Track Gold Prices, SPDR Gold Trust Activity and Market News
by uyendo | 2025-08-05 14:19:12+00:00
I built GoldNow, a mobile app that helps me stay updated on gold prices, commodity markets, and related financial news.

https://www.goldnow.app

Features:

- Live prices for gold, silver, oil, and other commodities

- SPDR Gold Trust buy/sell activity

- Price alerts and market news notifications

- Customizable watchlist

Would love your feedback or suggestions. Thanks!
by shadowgovt | 2025-08-05 14:19:17+00:00
Really depends on the media you consume.

The "men are simple-minded buffoons" media is mostly comedy, and mostly resonates because we have, indeed, all been simple-minded buffoons at some point (who among us has not failed to boil an egg at least once? It's relatable).

But I can also name off the top of my head media where men are geniuses, and smart, and kind, and wise, and brave... And some of it isn't even Star Trek.

Honestly, if you're typically seeing men as buffoons across media, you may want to change your subscription services.
by neuroelectron | 2025-08-05 14:19:42+00:00
Good news as the advancement of HDD slows.

---

I'm in need of petabyte-class storage for basic web usability and sovereignty. Have you ever tried recording everything your browser views? It'll fill up a terabyte very quickly. Now, what if you want to go back and see something you browsed before? Your browser history is incomplete due to the way HTML5 works. Mobile browsers routinely delete your history. Twitter loves to refresh and make it i possible to find a tweet you've seen, etc. You want to see that page you saw last week talking about gizmo breakthrough X? Good luck, Google is no help.

Saving everything automatically that you browse, this is extremely powerful. I feel the outrage against Microsoft recall is largely artificial because of how useful this is for users. They don't want us to have access to powerful desktop tools. This makes synthesizing narratives much more difficult and perfect memory is very bad for this.

Don't ask questions, just consume product and then get excited for next product.
by sltr | 2025-08-05 14:19:50+00:00
The library's tagline says "Powerfully Simple. Blazingly Fast." So there. ::folds arms::

Joking aside, I do agree that ASP.NET Core is a behemoth. On .NET 9, I just now did `dotnet new webapi` followed by `dotnet publish --self-contained -p:PublishSingleFile=true` and the binary is 103MB. That would blow up the size of a mobile app considerably, just to listen to HTTP.

There a separate use case that SimpleW won't solve: When you're on a platform that .NET Core doesn't support, like Raspberry Pi Zero (armv7l). In this case all you have is the mono framework and binding to raw ports.
by deadbabe | 2025-08-05 14:20:17+00:00
You think it’s lonely?

When a free soloist climbs a mountain by themselves, they are entirely alone. Do you think they have time to think about loneliness while climbing? No.

That’s the mentality you need when building solo. If you’re thinking about how lonely you are, it just means you’re losing focus. Get your head in the game.

When you get to the top, you have all the time in the world to think about how lonely you are up there. And if you don’t get to the top, well, don’t worry about it…
by padraigf | 2025-08-05 14:20:59+00:00
Don't worry about impostor-syndrome (everyone has it).

It seemed like around the time I was graduating college, there was this kind of culture of hotshot programmers, which looking back was kind of toxic.

It was all this "he's good", "he's not good", and it kind made you afraid to admit you didn't know things (for me anyway).

And for a long time I went around with this imposter-syndrome, thinking I should know everything (and knowing that I didn't).

And now, with a bit more experience, I realise, not-knowing is the default. Things change so quickly, no-one can know everything. One person might be better in one area, a different person in another. There is no absolute ranking.

Better to admit this. We're all continual learners.
by mysteria | 2025-08-05 14:21:07+00:00
This is worth mentioning but a GPU or TPU is not required if you have a small number of cameras and set up your detection zones right. I use a low resolution/framerate MJPEG substream for detection to reduce the amount of decoder effort and use h264 only for recording and viewing. Openvino is the recommended choice for CPU recognition and it's much faster than the default Tensorflow detector.

It only uses around 20% CPU on a 6 core VM (running on a Ivy Bridge Xeon) with two cameras.
by abxyz | 2025-08-05 14:21:13+00:00
Correct transaction coding is required, sure, but I think you buried the lede a little. Processing transactions for adult content is very high risk because of the increased rate of chargebacks (from fraud) and the exposure to illegal activity (csam, trafficking). Stripe, PayPal etc. are very protective over their standing with card providers and regulators. Stripe could charge more to process these transactions (even enough to cover the increase in chargebacks) but the risk of processing illegal transactions isn’t worth it at any price.
by blueflow | 2025-08-05 14:21:15+00:00
> ... was missed for years simply because no one had a PC with more than two hard disks.

Thats a hardware limit:

Early mainboards only had a single IDE / parallel ATA port. Each port has two pins for drive select, so you had a maximum of two addressable drives, the master and slave drive.

With a secondary ATA port you got another set of master/slave, pushing the limit to 4 drives.

That's where the "primary master" text comes from that showed up on the screen during booting.
by pbamotra | 2025-08-05 14:21:38+00:00
First, Lean into pain

Ofcourse not every time is the right time to lean into it but every once in a while do “that” thing. Many people don’t realise their potential or just get too complacent. If there’s not one thing that put your mind into what-ifs spiral, you’re not pushing yourself hard enough.

Second, if you must distill life into absolute minimum - focus on relationships, health, and career. Don’t make excuses to yourself or others in either of these.
by epolanski | 2025-08-05 14:21:38+00:00
And yet, while PHPs, Javas, and even nicher/newer languages like Kotlin, Clojure or Scala have plenty of killer software (software that makes it worth learning a language just to use that library/framework) Haskell has none after 30 years. Zero.

Mind you, I know and like Haskell, but its issues are highly tied to the failure of the simple haskell initiative (also the dreadful state of its tooling).
by sam_goody | 2025-08-05 14:21:50+00:00
TLDR: Instead of an assembly line where items are constructed piece by piece, robotics could work together ["swarm robots"] simultaneously to build the product in one go, faster and and better. AI will make this much more practical.

There may be truth to the above, but it's not binary. No doubt AI is already being used to speed up some production line, somewhere - and as AI improves, each machine may be able to do more. But having 100 hands working together doesn't necessarily mean you have a better final product.
by anonym29 | 2025-08-05 14:21:59+00:00
I don't need to catch up or get anywhere remotely close to Bezos be financially satiated. If tens of millions of people can achieve financial independence, comfort, and safety, without the privileged upbringing, essentially just through the decision to strategically navigate life with financial independence as a goal, rather than social conformity as a goal, why does it matter if others have more?

7% annual compounding is a decent floor, but it's an iron law that sophisticated investors can't outperform. AMZN is has certainly compounded much faster than 7% per year over the last two decades, and access to that investment was democratized the entire time.

Wealth isn't morality, being wealthy isn't a sin, and wealthy people's offspring have no burden of justification to "deserve" their wealth.

Insisting otherwise is a direct attack on the fundamental right to private property that underpins western civilization.

When the US government provides the same equal protection to all citizens, including those who contribute nothing but violence and suffering to everyone around them at the expense of taxpayers, what horrific atrocity are Jeff Bezos' children of that warrants confiscation of millions or billions of lawfully and voluntarily acquired wealth?
by ApolloFortyNine | 2025-08-05 14:22:32+00:00
>exactly the way I think. Home ownership is what you do when you act on autopilot. >If you think this through, it is essentially spending more money and more time on something very materialistic that doesn't matter that much.

>Renting allows you to spend more time and resources doing things that really matter.

Imo this is the classic argument of someone who doesn't own a home. I'm not sure how many issues you run into renting, but in home ownership they're relatively rare. And many of the issues are resolved the same way your landlord will resolve them, just paying someone to fix it (this is priced into your rent of course).

It just reminds me of someone who said they were renting and when I asked why they mentioned not wanting to cut the grass. A task that takes 20 minutes twice a month 6 months out of the year.
by thimabi | 2025-08-05 14:22:50+00:00
There are certain things that Kagi gets very right. Having the ability to (de)prioritize websites, or to right-click to save images, or to automatically rewrite website URLs…

Still, I think paying for search remains a taboo and this is unlikely to change in the near future. So Kagi seems poised to remain a service for the tech-literate — which is precisely the kind of audience that already knows how to use ad-blocking, avoid Google’s AI snippets and so forth.
by HelloUsername | 2025-08-05 14:23:08+00:00
Perhaps the website can have fewer external calls?

- bubble.io

- twitter.com

- cloudflare.com

- cloudflare.net

- facebook.net

- flagcdn.com

- googleapis.com

- googletagmanager.com

- gstatic.com

- jsdelivr.net

- simpleanalyticscdn.com

- tiktok.com

- wikimedia.org

And it shows me this error too https://www.twilio.com/docs/api/errors/60200
by djray | 2025-08-05 14:23:09+00:00
I think the key here is the ability to focus on the privacy-first nature of local LLMs. A cloud-based service will always be more powerful (and markedly so), but Apple is very cautious about pursuing cloud-based solutions when user data is involved - privacy is a selling point of their products, after all. This is a double-edged sword, as you get to sell your services as privacy-friendly, but your offerings can be significantly less capable than your competitors' (see the iOS messages summary debacle, for example). The advantage of waiting is that smaller AI models are becoming much more powerful all the time.

Of course, Microsoft is also at this with its Copilot programme for laptops, where an onboard Neural Processing Unit has to be a particular speed to qualify. This lets you do local AI things like content-aware image snipping, text summaries and...er, Recall.

As to whether Apple will come out of this looking good or not, I think they're currently regretting rolling out a shitty initial AI offering, and will get better with the next release. It'll be like Apple Maps. Or the butterfly keyboard. Or any number of other broken version 1 Apple things.

An interesting question is to whether Apple Intelligence can be cancelled or pared back now the landscape is so AI dominated, i.e. will the lack of AI offerings be seen as a competitive disadvantage, or are people so sick of AI by now that it isn't a factor.
by scarface_74 | 2025-08-05 14:23:18+00:00
Most companies that want an ERP systems are not and should not be a software development shop. They hire an outside consulting company and sign a statement of work. They aren’t going to want to use a non standard offering.

Besides, no one cares about “vendor lockin”. Every company of any size has a dozen plus SaaS products they subscribe to every month.
by jf22 | 2025-08-05 14:23:19+00:00
> What LLMs produce is often broken, hallucinated, or below codebase standards.

With enough rules and good prompting this is not true. The code I generate is usually better than what I'd do by hand.

The reason the code is better all the extra polish and gold plating is essentially free.

Everything I generate comes out commented great error handling, logging, SOLID, and united tested using established patterns in the code base.
by beezlebroxxxxxx | 2025-08-05 14:23:20+00:00
Part of the problem is many academic institutions, even prestigious ones, simply don't prioritize teaching. They don't even really prioritize challenging education. They prioritize prestige and opportunity hoarding. The hardest part about many of these schools is getting in. Once you're in, then grade inflation and the desire for the institution to retain it's prestige brand means the classes aren't particularly hard --- graduating is particularly easy and most students actually barely put in effort. Getting in is the golden ticket more than graduating.

One solution, is for an institution to prioritize accessibility (easier to get in) but also prioritize difficulty (actually hard to graduate). This would reorient incentives around challenging education that pushes students to excel rather than coast after striving just to get in. Unfortunately, the priorities are the exact opposite today.
by filipaldi | 2025-08-05 14:23:33+00:00
I recently published my doctoral research on data regularisation in machine learning for typeface design. The core question: can structured datasets improve vector font generation quality?

For those interested in the intersection of ML and design, I explored how data preparation affects generative models in a domain where small errors are highly visible to the human eye.

My approach:

Created LTTR/SET, a regularised dataset of vector letterforms Trained models based on the DeepVecFont-2 architecture Generated and evaluated 468 fonts through both qualitative and quantitative methods

The findings suggest that dataset regularisation significantly affects output quality - particularly in maintaining typographic consistency across generated glyphs. While not revolutionary, the results identify a practical preprocessing approach that could help bridge the gap between computational generation and the nuanced requirements of typeface design.

The complete thesis, generated font samples, and the LTTR/SET dataset are available online if you want to examine the methodology or results in detail.

This work represents an initial investigation rather than a complete solution to the challenges of ML in typography. I'd appreciate feedback from both the ML and design communities.
by bwfan123 | 2025-08-05 14:23:58+00:00
There is a very nice chapter in the somewhat dated but classic book Business Adventures [1] on trade-secrets and what happens when employees of one company move to another. In chapter 11, "A man, his knowledge, and his job", there is a story of a "space-suit" manufacturer Goodrich suing an employee for moving to its rival Latex for stealing trade-secrets. The story is timely in context of Meta hiring researchers from open-ai, deepmind etc for 100s of millions for the knowledge in their heads of the recipes which work for making superior LLMs - the knowledge of which is empirical and may take years to discover.

[1] https://www.amazon.com/Business-Adventures-Twelve-Classic-St...
by jmuguy | 2025-08-05 14:24:01+00:00
Related to this, I use this script to setup a live stream of my cameras on a debian system connected to a little monitor

https://gist.github.com/neontuna/d1ba0c771aa89c42910f21c0aae...

I didn't like having to fire up some NVR software just to get the camera live stream, and you're locked into whatever options that software might have. With ffmpeg you can do some cool stuff with filters.
by NoMoreNicksLeft | 2025-08-05 14:24:09+00:00
My first day of school was the day before I turned 7... first grade. I didn't go to kindergarten because in my rural school, it was only a half day program, my mom didn't have a car to pick me up when the school day ended (school bus only in the mornings and afternoons).

Perhaps things are screwed up a bit more fundamentally if we're sending 5 yr olds to school. Or maybe it's not about the education, maybe everyone needs the government-funded daycare. It amazes (and frightens, just a little) me that you talk about it casually as if it should be the norm.
by jjgreen | 2025-08-05 14:24:14+00:00
When you recite the figures of pi, 3, 1, 4, 2, ... it goes on for ever, and no-one seems to object to the "..."; Wittgenstein turns it around, by reversing the sequence he places the infinity in the present, a potential infinity becomes an actual infinity and most people find that disturbing. But infinity has nothing to do with time, it is outside it, so our discomfort being time-direction dependent illustrates that we should have been disturbed by the "...", in the first case -- this is Wittgenstein's brilliance.
Uber Allowing Drivers Stall for Better Fares, Passengers Stranded
by xchip | 2025-08-05 14:24:21+00:00
You book a ride, a driver accepts, but they either don’t move or head in the wrong direction. They’ve picked up a better fare through another app and are hoping you’ll cancel on your own.

How common is that in your country?

In Belgium it happens too much.
by anonym29 | 2025-08-05 14:24:29+00:00
Consumption taxes, rather than production taxes.

Taxes are a disincentive - this is why we tax vices.

We want to disincentivize rampant, mindless consumerism that fuels the externality costs, right?

Tax buying things - any things - all things - much heavier, tax the act of working to earn an income to survive much less.

Want to buy a car? Pay a big tax. Want to work hard to earn money to pay your bills and feed your family? Shouldn't be taxed for that.
by llm_nerd | 2025-08-05 14:24:35+00:00
>If it weren’t that hard to replicate, several countries (and Bezos/Blue Origin) would have replicated it by now.

There is a 100% chance multiple countries/companies will have replicated it in the next decade. If SpaceX never existed, they likely would have achieved it at the same pace regardless.

This is the same with EVs. If Tesla never rose, the world EV market outside of Tesla would have seen precisely the same rise.

There is a tendency to attribute the early movers with innovation in the inevitable, where we all stand on the shoulders of others and just reach a little higher.

As to the rocket science misnomer, that's a space race hangover where an engineering role was extremely public and celebrated, but in actual reality "rocket science" is a mediocre field with miserable pay and high unemployment.

As to how valuable it is, "insanely"? The world has a fairly finite launch need, such that SpaceX made a whole new business -- Starlink -- to make work for their capacity. Economically the space launch business is relatively minuscule.
by mrweasel | 2025-08-05 14:24:44+00:00
Weird one for me, also not really a trick, I just never really thought about coding in that way. A former colleague showed of some code and it was completely reversed from how I'd write.

The code uses a library, which provides a number of classes. Rather than encapsulating those classes within his own code, he'd simple use them as base classes and overwrite and extend a needed. Again no tricks, but basic OOP, but I just never really considered doing it like that, but it saves a ton of code.
by rashidae | 2025-08-05 14:25:01+00:00
I relate, but you need to become healthy. Get up early in the morning, run with your friends or join a group of runners. That’s the answer. Regulate your sleep, get your blood checked, and if you’re low on vitamin D3, supplement it. Follow Bryan Johnson’s blueprint as a reference.

Then go build. Be 50X.

I do relate with what you’re saying, BUT there’s a solution. It’s not a pill, it’s not a diet, it’s not giving up and recruiting people just because you’re lonely.