MurphyA/hacker-news huggingface dataset:
by skmurphy | 2025-06-24 23:49:24+00:00
P.T. Barnum wrote "The Art of Money Getting: The Golden Rules for Making Money" in 1880 at the age of 70 when he was already an accomplished businessman, politician, philanthropist, and author--after his hugely successful 1855 autobiography "The Life of P.T. Barnum: Written By Himself."

It's available online at http://www.gutenberg.org/ebooks/8581

This post provides a summary of the 21 rules and some commentary for today's entrepreneurs. Barnum's Advice Holds Up Well after Thirteen Decades

What was most surprising about reading his "Golden Rules For Making Money" was how timeless they were. The hold up very well 140 years later.

Related HN Posts

The Art of Money Getting or Golden Rules for Making Money by P. T. Barnum (1880) (gutenberg.org) - https://news.ycombinator.com/item?id=34447945 - Jan 20, 2023 (69 comments)

Golden Rules for Making Money (1880) - https://news.ycombinator.com/item?id=19483313 - March 2019 (191 comments)

Golden Rules for Making Money (1880) - https://news.ycombinator.com/item?id=11320169 - March 2016 (180 comments)

Golden Rules for Making Money by P. T. Barnum (1880) - https://news.ycombinator.com/item?id=310056 - Sept 2008 (56 comments)

Art of Money Getting, by P. T. Barnum (actual book, 1880) - https://news.ycombinator.com/item?id=88544 - Dec 2007 (12 comments)
by dmd | 2025-06-24 23:50:25+00:00
Same here. I’ve been using Unix of some flavor or another since 1989 and generally prefer minimalism and simplicity - but I also prefer “opinionated good defaults”, and starship gives me that. (I’ve even switched to Fish, because it does well with no config absolutely basic table stakes stuff OOTB that bash/zsh need a ton of garbage for.)
by MadnessASAP | 2025-06-24 23:50:27+00:00
I'm not privy to what discussions happened during the protocol development. However using scale within the protocol seems more practical to me.

Not all displays accurately report their DPI (or can, such as projectors). Not all users, such as myself, know their monitors DPI. Finally the scaling algorithm will ultimately use a scale factor, so at a protocol level that might as well be what is passed.

There is of course nothing stopping a display management widget/settings page/application from asking for DPI and then converting it to a scale factor, I just don't known of any that exist.
by ethbr1 | 2025-06-24 23:50:46+00:00
The "fairness" argument is weaker than the "sustainable creation" one.

If LLMs could create quality literature, or social media create in-depth reporting, then I'd have no problem with the tide of technological progress flowing.

Unfortunately, recent history has shown that it's trivial for the market to cannibalize the financial model of creators without replacing it.

And as a result, society gets {no more that thing} + {watered down, shitty version}.

Which isn't great.

So I'd love to hear an argument from the 'fuck copyright, let's go AI' crowd (not the position you seem to be espousing) on what year +10 of rampant AI ingestion of copyrighted works looks like...
by amluto | 2025-06-24 23:50:52+00:00
The pressure drop across a HEPA filter is a function of flow rate per unit area (i.e. velocity), and it can be very very low if the velocity is low. You only need some 15 cfm per person, which isn't very much. The real issue that that a HEPA filter that will achieve extremely low pressure drop is rather bulky.
by sdovan1 | 2025-06-24 23:51:23+00:00
Thanks! I thought this was impossible. Gonna try it out today.

Edit: I successfully signed the key on AMO. Here are the steps:

Get an access token from https://addons.mozilla.org/developers/addon/api/key/ In manifest.json, add browser_specific_settings.gecko.id and set it to something like "myext@example.com" Run command: web-ext sign --api-key=<jwt-issuer> --api-secret=<jwt-secret> --channel=unlisted That command will upload your extension to AMO. After an automatic review, you can download the .xpi file from AMO.

That said, it's not ideal for me since I make extensions for work. Looks like a human reviewer can check your code at any time.
by sfifs | 2025-06-24 23:51:47+00:00
The biggest driver i feel is increased financialization of company ownership. Since the 80s, financiers essentially punish any boards or CEO who prioritizes longer term impact items like goodwill at the cost of short term quarterly results. This massively influences incentives - as a CEO or board you may know what is the right thing for long term success but you'll be fired if you choose that over short term results.
by r2_pilot | 2025-06-24 23:52:56+00:00
That's kind of the point of software archeology, isn't it? Sometimes something so evident to people within the first few hundred years becomes opaque in reasoning later on, and what's 5 months anyway? You'd need a Rosetta stone to be sure you were even off in time, otherwise you just might have a few missing months that historians couldn't account for.
by cedws | 2025-06-24 23:53:35+00:00
Microsoft has really screwed up on branding yet again. Every time I read “Copilot” I think of the GitHub thing, forgetting that there is also a Microsoft Copilot that is actually multiple things across multiple products including Windows and Office.

It’s also a website like ChatGPT apparently? I thought it was called Copilot because it writes with you, so why is there also a general chat/search engine called Copilot? Jesus.
by giraffe_lady | 2025-06-24 23:53:55+00:00
If it were the other way it would tighten with use and eventually strip the threads or crack the wood top. Anyway it's an almost unbelievably petty bit of cooking technique but there is actually a "correct" way to hold and turn a pepper grinder lol.

Your palm is meant to hold the nut in place. On the old ones the tightness of the nut was the control for fineness so it was necessary to hold it as you turned anyway. They moved that control to its own thing on the bottom a few decades ago (iirc) but kept the rest of it the same.
by ndriscoll | 2025-06-24 23:54:17+00:00
Attitudes around education in the US vary wildly across the population. To a first approximation, "good schools" are really "good students" (i.e. "good peers"), which generally means that the families within the school's catchment area place higher value on education, which generally correlates with class.

There are feedback mechanisms at play here: the people who want a good education for their kids want to be around the types of people who want a good education for their kids, and they will pay a premium to be around the kinds of people who will pay a premium to do so, reinforcing the class effect. It can't hurt to have bright, engaged kids when trying to recruit and retain good teachers either. The net result is that in some areas the schools have literally 0% of students meeting standards while others have most of the students completing the first year or two of university during high school.

Somewhere like DC where GP lives, schools struggle to get the kids to show up[0]. Meanwhile I live a 10 minute walk from a school where over half the students are in AP classes and 80% of those pass the AP exams.

[0] https://www.nbcwashington.com/investigations/about-4-in-10-d...
by __MatrixMan__ | 2025-06-24 23:55:58+00:00
Even when using them to code, I use them as a search engine. Rather than telling them to implement feature X, I clone a repo which has a similar feature and say:

"explore the repo I've cloned at /src/foo and explain how it achieves barFeature. Now look a the project at /src/baz and tell me why it would be difficult to use foo's approach in baz"

I rarely have it do anything novel, just translate ideas from existing projects into mine. Novel work is for me to enjoy coding directly.
by anyfoo | 2025-06-24 23:56:24+00:00
What do you mean, you don't want "software"? Where do you draw the line? A basic digital wristwatch has "software".

You're going to have software for a modern, efficient car, whether you like it or not. For the engine (fuel injection alone needs a bunch of software), ABS, traction control, A/C, and countless other things. And whether your radio has physical buttons or not, unless that physical button is on a radio from the 1980s and directly controls a variable capacitor and a belt to a frequency indicator, it's going to have software.

Of course we had cars entirely without software, about 50 years ago. But they were slow, had many quirks, and absolutely massive relative fuel consumption compared to today.
by cma | 2025-06-24 23:56:34+00:00
Even at low density, if it were a large volume, solid objects would heat up to that ambient temp. But this one is a minor volume and you would still be radiating it away much faster and not reach anywhere near the ambient temperature. In the middle of a large volume thoigh, you'd get too much incoming thermal radiation from particles within the volume and not be able to shed heat anywhere through radiation.
Show HN: Pebble Falcon–autonomous right-sizer and carbon-aware K8s scheduler
by kevalshah90 | 2025-06-24 23:57:18+00:00
Hi HN — I’m Keval, part of the AI team behind Pebble Falcon.

What it Pebble Falcon:

Two long-running agents you deploy inside your k8s cluster.

> PerfectFit:

- Streams pod / VM / GPU utilization

- Calculates head-room

- Generates JSON patches to right-size CPU, memory and storage

- Optional human-approval step

> EcoAgent

- Polls real-time grid-carbon feed and re-configures GPU nodes and pods to maximize clean energy use.

- Re-queues batch jobs to the region with the lowest gCO₂/kWh that still meets your latency SLA

A lightweight web UI shows cost saved, watts avoided and a 30-day projection.

No data leaves the cluster; the only inbound feed is public carbon intensity.

Why we built it:

We kept seeing GPU nodes idling below 20 % while ETL jobs ran in high-carbon regions. Manual “rightsizing sprints” never caught up.

Pilot result (40-node GPU cluster, 30 days) 70% idle compute removed

4160 kg CO₂ avoided (≈ six NYC→London flights)

Pebble Falcon needs access to clusters so no public sandbox yet. Instead we recorded a 3-min overview of the agents.

Video Demo: https://youtu.be/DTpHxAmVrAo

However if you’re interested in trying it out, comment and we’ll get in contact and can add you to our pilot test: https://www.gopebble.com/sign-up

AMA about energy, cost and compute aware scheduling for AI workloads.
Show HN: URL Unshortener Pro – Reveal redirect chains and trackers from URLs
by IndriFazliji | 2025-06-24 23:58:05+00:00
Hey HN

I recently built URL Unshortener Pro, a free Chrome extension that:

Expands shortened or obfuscated URLs (like bit.ly, t.co, etc)

Reveals the entire redirect chain (handles HTTP, meta-refresh, JavaScript-based redirects)

Flags known tracking domains

Highlights and removes tracking parameters (utm_source, fbclid, etc)

Works fast with smart caching

100% privacy-focused, with no tracking, ads, or external analytics.

I built it out of personal frustration with opaque, tracking-heavy links on social media and news sites.

Chrome Web Store link (https://chromewebstore.google.com/detail/url-unshortener-pro...)

Would love any feedback, feature suggestions, or bug reports. Thanks!
by kalleboo | 2025-06-24 23:59:24+00:00
Cocoa/Quartz 2D/Core Graphics uses floating-point coordinates everywhere and drawing is resolution-independent (e.g., the exact same drawing commands are used for screen vs print). Apple used to tout OS X drawing was "based on PDF" but I think that only meant it had the same drawing primitives and could be captured in a PDF output context.

QuickDraw in Carbon was included to allow for porting MacOS 9 apps, was always discouraged, and is long gone today (it was never supported in 64-bit).
by furyofantares | 2025-06-24 23:59:41+00:00
Same, although I think it doesn't support my idiosyncratic workflow. I have the same files sync'd (via dropbox at the moment) on all my computers, macos and windows and wsl alike, and I just treat every computer likes it's the same computer. I thought this might be a recipe for disaster when I started doing it years ago but I have never had problems.

Some stuff like npm or dotnet do need an npm update / dotnet restore when I switch platforms. At first attempt uv seems like it just doesn't really like this and takes a fair bit of work to clean it up when switching platforms, while using venvs was fine.
by GeometryKernel | 2025-06-25 00:00:57+00:00
Charles Tibedo has unveiled - https://a.co/d/3cnRoAx - the deeply hidden algebras of complex numbers in decoding E8 lattice symmetries and directly modeling, and deriving, for the first time, known characteristics of the gamma decay process from Theory with Zero fine tuning parameters. The advanced boundary operatory theory begins to demonstrate its power in his Amazon Book "Constructing Decompositions" with Tibedo's methodology (as shown in his Deriving Euler's Identity and Recormulating the Basel Problem Sum) showcases Euler's early insights, but evolves them into an elegant physical geometric gauge theory acurately predicting diverse phenomena across physics.
by okanat | 2025-06-25 00:01:02+00:00
Every UI framework that runs on Windows has to communicate using Win32 API at the lowest level. Here is the guide: https://learn.microsoft.com/en-us/windows/win32/hidpi/high-d...

Every GUI application on Windows runs an infinite event loop. In that loop you handle messages like [WM_INPUT](https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-...). With Windows 8, Microsoft added a new message type: [WM_DPICHANGED](https://learn.microsoft.com/en-us/windows/win32/hidpi/wm-dpi...). To not break the existing applications with an unknown message, Windows requires the applications to opt-in. The application needs to report its DPI awareness using the function [SetProcessDpiAwareness](https://learn.microsoft.com/en-us/windows/win32/api/shellsca...). The setting of the DPI awareness state can also be done by attaching an XML manifest file to the .exe file.

With the message Windows not only provides the exact DPI to render the Window contents for the display but also the size of the window rectangle for the perfect pixel alignment and to prevent weird behavior while switching displays. After receiving the DPI, it is up to application to draw things at that DPI however it desires. The OS has no direct access to dictate how it is drawn but it does provide lots of helper libraries and functions for font rendering and for classic Windows UI elements.

If the application is using a Microsoft-implemented .NET UX library (WinForms, WPF or UWP), Microsoft has already implemented the redrawing functions. You only need to include manifest file into the .exe resources.

After all of this implementation, why does one get blurry apps? Because those applications don't opt in to handle WM_DPICHANGED. So, the only option that's left for Windows is to let the application to draw itself at the default DPI and then stretch its image. Windows will map the input messages to the default DPI pixel positions.

Microsoft does provide a half way between a fully DPI aware app and an unaware app, if the app uses the old Windows resource files to store the UI in the .exe resources. Since those apps are guaranteed to use Windows standard UI elements, Windows can intercept the drawing functions and at least draw the standard controls with the correct DPI. That's called "system aware". Since it is intercepting the application's way of drawing, it may result in weird UI bugs though.
by gmuslera | 2025-06-25 00:01:10+00:00
My main objection against this kind of predictions is that predictions (at least, the known enough ones) are part of the past that shape the future. Even doing a good extrapolation on the current trends, the prediction itself could make things diverge, converge or do something totally different, because the main decision makers will take it into account and that is not part of the trend. Specially with disruptive enough predictions that paints an undesirable future for all or most decision makers.

Unless it hits hard in some of the areas that we have cognitive biases and are not fully rational on the consequences.
by chillway | 2025-06-25 00:01:24+00:00
The asphalt tonnage calculator is designed for both professionals and DIY enthusiasts. It provides precise calculations based on standard industry formulas, helping you plan your budget effectively. Whether you're working on a small residential driveway or a large commercial project, our tool is mobile-friendly and easy to use, making it a must-have for anyone in the paving industry.
by nullc | 2025-06-25 00:02:25+00:00
If someone shows it to you, you'll recognize it. It's when one frame shows part of the prior frame and part of the next. It's most visible in moderate speed horizontal pans as an interruption in vertical lines in the picture.

It's nice to not have tearing. But IMO the functionality loss vs X11 isn't worth it for anything but a dedicated media playback/editing device.
by ethbr1 | 2025-06-25 00:02:40+00:00
Anthropic apparently did it both ways. After realizing that pirating mass quantities of books for training wasn't a great legal look, it hired someone previously responsible for Google Books, who in turn contacted publishers about mass licensing their content for training use.

However, that option was ultimately not pursued as instead...

>> Anthropic spent many millions of dollars to purchase millions of print books, often in used condition. Then, its service providers stripped the books from their bindings, cut their pages to size, and scanned the books into digital form — discarding the paper originals. Each print book resulted in a PDF copy containing images of the scanned pages with machine-readable text (including front and back cover scans for softcover books). Anthropic created its own catalog of bibliographic metadata for the books it was acquiring. It acquired copies of millions of books, including of all works at issue for all Authors.

(from the ruling)
by jonstewart | 2025-06-25 00:03:35+00:00
It means if you are a crazy person, you can no longer waltz in off your motorcycle and demand all documents related to alien spacecraft held at Area 51 or the real unedited Zapruder film that clearly shows Walt Disney was the triggerman, etc.

My guess is anyone could still pursue whatever crazy theories they wanted, so long as they conducted their research legitimately, i.e., as a legitimate _process_ of research, with no value judgment on the topic or end goal.
by gene-h | 2025-06-25 00:05:22+00:00
Industrial robots at least are very reliable, MTBF is often upwards of 100,000 hours[0]. Industrial robots are optimized to be as reliable as possible because the longer they last and less often they need to be fixed, the more profitable they are. In fact, German and Japanese companies came to dominate the industrial robotics market because they focused on reliability. They developed rotary electric actuators that were more reliable. Cincinnati Millicron(US) was out competed in the industrial robot market because although their hydraulic robots were strong, they were less reliable.

I am personally a bit skeptical of anthropormophic hands achieving similarly high reliability. There's just too many small parts that need to withstand high forces.

[0]https://robotsdoneright.com/Articles/what-are-the-different-...
by nyarlathotep_ | 2025-06-25 00:05:22+00:00
> What do you mean, you don't want "software"? Where do you draw the line? A basic digital wristwatch has "software".

I think this nomenclature is a result of the post-Jobs software as "app" paradigm + Web as the definitive "application" platform era.

The majority of software written, especially in these circles, is going to be some sort of user interface/CRUD stuff. The "invisible" (and frankly remarkable, when talking of things like ECUs and ABS software) is basically like The Earth (it's just always been there and taken for granted).
by swat535 | 2025-06-25 00:06:37+00:00
The New York Times reported on Saturday that they had lost track of 400kg of 60% enriched uranium, which could yield 9-10 nuclear bombs:

https://nytimes.com/2025/06/22/us/politics/iran-uranium-stoc...

According to Israeli media, it is not known whether the Fordow underground nuclear complex has been destroyed.

Netanyahu has already declared victory, but Iran's nuclear capabilities will likely be completely restarted, most likely within a few years or some estimations says months.

There is no doubt that during that time Iran will strengthen its aviation, intelligence and reconnaissance, which have now failed drastically. "Regime change" goal for Israel also failed.

Many more Mossad agents and collaborators will fall in Iran over the next few months as IRGC begins its crack down and Israel will surely lose a huge portion of their main weapon. Further TRUMP declaring "no regime change" today, made this matter worse.

Iran practically has a script for its problems now. Israel has learned what will happen when Iran gets thousands of their hypersonic missiles and fixes the problem with the lack of launchers which Iran will certainly continue to produce.

Only a ceasefire has been achieved, but there will certainly be a second round (likely by Israel again once more intel is gathered), because a war like this never officially ended.

More importantly, let's not forget who paid the price at the end? As always, innocent Israelis and Iranians who never knew each other or had a problem with died.
by cma | 2025-06-25 00:06:38+00:00
Looking at the S&P500 about 30-40% of us equities value is based on selling customers data back to them or advertising on it, and establishing network effect stuff like developer ecosystems or marketplaces (Amazon) where a majority of the value comes from the outside ecosystem. I'm counting some of nvidia in that as the profitability others get of selling back transformed free data is a big part of enabling their margin.
by maxdamantus | 2025-06-25 00:07:24+00:00
> Linux does not do that.

It did (or at least Wayland compositors did).

> It did

It didn't.

I complained about this a few years ago on HN [0], and produced some screenshots [1] demonstrating the scaling artifacts resulting from fractional scaling (1.25).

This was before fractional scaling existed in the Wayland protocol, so I assume that if I try it again today with updated software I won't observe the issue (though I haven't tried yet).

In some of my posts from [0] I explain why it might not matter that much to most people, but essentially, modern font rendering already blurs text [2], so further blurring isn't that noticable.

[0] https://news.ycombinator.com/item?id=32021261

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

[2] https://news.ycombinator.com/item?id=43418227
by chickenzzzzu | 2025-06-25 00:08:01+00:00
None of the so called "shit" that you mentioned needs to be any more difficult than the 3d things you mentioned. You even seem to say that creating a believable scene is harder than creating say a scalable ragdoll physics engine, but I entirely disagree-- content is incredibly easy to come by, load in, and modify these days entirely for free. The longest amount of time would be spent reimplementing complex systems, say for bone animations or efficient texture atlasing (if performance requirements demand it), rather than trying to find believable content or writing a camera system. And let's please not say anything like OOP or ECS ;)
by jonstewart | 2025-06-25 00:09:22+00:00
Having been a Jan 6 juror, it is sadly all too easy for me to believe a parade of horribles could be showing up now at this NARA facility, especially with all the JFK docs. In the hours of video footage I watched, hardly five minutes would pass without some Jan 6ers swapping their favorite YouTube conspiracy channels. It wouldn’t take more than a few monopolizing staff to act as a denial of service against the core mission.