MurphyA/hacker-news huggingface dataset:
by Calwestjobs | 2025-04-15 22:51:52+00:00
what about intentional adding data into image?

screenshot - im not convinced apple does not use invisible watermark to add info into image data. but for fact every photo you take with iphone, contains invisible watermark with your "phone serial number". to remove such watermarks, facebook is converting every picture you post for last 10 years... just weird extra con to using modern technology.

try to copy banknote on your printer, it will not print anything, just says error. + every page of text printed contains barely visible yellow marks containing again serial number of printer.

....
by AlotOfReading | 2025-04-15 22:52:54+00:00
Brains are complicated. Speaking about the more common deutan trichromancy (protan has a characteristic dimming of reds such that "same luminance" colors are visually different brightnesses), for me red and green are still separate and distinguishable parts of the spectrum, both again separate from the yellows and oranges. What happens is that red is not "visually obvious", in the sense that the sense that I register it subconsciously.

Here's an example photo I took in a tulip field with spots of emerging red flowers in a sea of green: https://i.imgur.com/44VRERI.jpeg

I can see the flowers if I look at them, but if I hold the picture in my peripheral vision away from my focal center, I don't register the spots of red in the back of the field.

What tends to happen with anamolous trichromats is that the brain compensates in a bunch of different ways. Lightness contrast sensitivity goes up, color contrast sensitivity goes up, and your brain "alters" the perceived colors closer to what a color normal person would perceive. The brain is mostly able to compensate for the reduced functionality to the point where you might not even know you're colorblind until you do color matching tests. This doesn't fix everything though, and this happens to be a common weakness for deutans.
by rwky | 2025-04-15 22:54:03+00:00
This reminds me of a few years ago when I was doing my MSc our group was learning how to work one of the remote telescopes and we were asked to point it at the brightest object found by Gaia that week and it turned out to be a supernova. Very cool for your first observation using a remote telescope! If anyone wants to see it here it is https://ibb.co/Kzqbfq30

And here is the Gaia data http://gsaweb.ast.cam.ac.uk/alerts/alert/Gaia23bqb/
by ndiddy | 2025-04-15 22:56:31+00:00
I don't know about "could be used as a reference for good practices", but here's a CMake file for a game project I've worked on if you're interested looking at how someone might use CMake for a smaller codebase (everything large I've used it for has been a work for hire unfortunately). It compiles on Linux with GCC, Mac OS X with Apple Clang, and Windows with MSVC, and supports multiple platform backends (currently SDL2 and SDL3). I've done development work on it with CLion, Xcode, and Visual Studio.

https://github.com/nfroggy/openmadoola/blob/master/CMakeList...

> But I've never read a CMake script and thought what a clean solution, it's always a bit gnarly.

I think using CMake for a cross-platform project that supports multiple compilers will always be a bit gnarly, mainly due to the differences between Windows and Unix-like platforms. MSVC is configured very differently to GCC and Clang so you have to list all your compiler flags twice, and there's no good option for doing system-wide installation of libraries (there's vcpkg, but a lot of stuff on there is missing or outdated) so you have to support both system-wide libraries on Unix-like platforms and user-provided DLLs on Windows.
by Tijdreiziger | 2025-04-15 22:57:25+00:00
> And this question led me to a search for information everywhere, not just lesswrong. And then I've found a new "sport": find Yudkoswki's ideas in writings of thinkers from XIX century or earlier. Had he conceived at least one truly original idea? This activity was much more fun for me than lesswrong and after that I had no chance whatsoever to become a part of a cult centered on Rationality.

Do you have any interesting references? :)
by malachismith | 2025-04-15 22:57:30+00:00
I haven't commented here in years.

I watched the steady decline as the bros slowly took over. I tried commenting, only to be flagged and downvoted. I tried sharing articles, only to have them flagged. Starting with Gamergate, and then accelerating with Musk's purchase of Twitter, and metastasizing into its current form when leaders in the community (Andreesen, Thiel, Sacks, Rabois, Calcanis, Horowitz, Palihapitiya, Maguire, Zuckerberg, Altman, etc) decided that fascism was worth protecting their crypto deals. And it's time to accept that this is the reality of Hacker News today (and it's time to forget what it once was).

This is quite literally one of the most significant cybersecurity fails of all time.

And yet, right now, it's not on the Hacker News home page. But an article about how many supernova explode per year is. An article about how to "win an argument" with a toddler or similar set-in-stone-thinker is. The number one submission is about a "back-of-a-napkin" probabalistic calculator.

So let's just say it like it is...

If you're going to be forgiving, you can say that Hacker News is consistently gamed by the bros who have taken over the tech industry. If you're in a less forgiving mood, you can say that Hacker News is the Pravda for the bros of the Venture community.

"Oh... it's hard with an algorithm!!!" Total BS. Hacker News is making a choice. Hacker News made a choice a long time ago. Hacker News continues to make the same choice.

For what it's worth, I also made a choice and walked away from this place. You all can do the same.
by viraptor | 2025-04-15 22:58:09+00:00
So this is a bit weird. The initial claim seems not well defined, because "legal" / "illegal" person is not really a thing without more context, so you can interpret it in many ways. The main takeaway though is "after the hearing, he's not breaking any rules by staying and working in the country". That's legal enough for me for a casual comment - I'll stay with my original then - he entered illegally and afterwards was allowed to legally remain.
by pvg | 2025-04-15 22:58:28+00:00
They're probably doing some of the flagging because they disagree (I think correctly) with a characterization of HN in which HN can be "highly detrimental to the HN user base’s understanding of what is happening". HN has newsy stuff but its purpose is not really news - there are much better sites for that. The 'News' in 'Hacker News' is more like the 'News' in Huey Lewis & The News.
by bitwize | 2025-04-15 22:59:54+00:00
"I mean, Led Zeppelin didn't write tunes that everybody liked. They left that to the Bee Gees."

AAA is going to regress toward slop as the number of cooks in the kitchen increases, not just counting people who work directly on the game but investors, members of the ESG committee from the bank issuing loans to the studio, etc.

The next bellwether: Bungie's Marathon (2025). Marathon (1994) was a neat game that expanded upon "Doom-likes" as they were called with new engine features, multiplayer modes, and (gasp!) lore that you could unlock. It was specific. It had a vision. Marathon (2025) is a multiplayer-only, generic characters, generic settings, generic objectives. Basically Sony is turning Bungie into a dumping ground for devs on the failed Concord.
by abc-1 | 2025-04-15 23:00:01+00:00
Hahaha they’re cooked. GPT 4.5 was a massive flop. GPT 4.1 is barely an improvement after over a year. Now they’re grasping at straws. Anyone actually in this field who wasn’t a grifter knew improvements are sigmoidal.

All the original talent has already left too.
by selectnull | 2025-04-15 23:00:31+00:00
If you ask someone "What is 2+2?" and they answer 4, you can say they are "right" even if you do not agree with them on other topics or generally dislike them.

If you ask /dev/random "What is 2+2?", that question makes no sense as /dev/random does not listen to you and just spits out random binary output.

Go and disagree with /dev/random.
by techpineapple | 2025-04-15 23:00:46+00:00
TALLAHASSEE — The Florida charity created by Gov. Ron DeSantis’ administration didn’t keep meeting minutes, had no budget or bylaws, didn’t file its tax returns and asked few questions before steering $10 million to two dark money groups, the board’s chairperson told a House committee on Tuesday.

"Ooopsies"
by omoikane | 2025-04-15 23:00:57+00:00
If I am reading this right, a range is expressed as a distance between the minimum and maximum values, and in the Monte Carlo part a number is generated from a uniform distribution within that range[1].

But if I just ask the calculator "1~2" (i.e. just a range without any operators), the histogram shows what looks like a normal distribution centered around 1.5[2].

Shouldn't the histogram be flat if the distribution is uniform?

[1] https://github.com/filiph/unsure/blob/123712482b7053974cbef9...

[2] https://filiph.github.io/unsure/#f=1~2
by hawthorns | 2025-04-15 23:01:02+00:00
It's dead simple. Here is the simplified version that returns the quantiles for '100 / 2 ~ 4'.

import numpy as np def monte_carlo(formula, iterations=100000): res = [formula() for _ in range(iterations)] return np.percentile(res, [0, 2.5, \*range(10, 100, 10), 97.5, 100]) def uncertain_division(): return 100 / np.random.uniform(2, 4) monte_carlo(uncertain_division, iterations=100000)
by stass | 2025-04-15 23:01:05+00:00
This site is an absolute treasure trove of technical material on sail and hull design, with a focus on model yachts but most of the physics scales up. It covers aerofoil theory (momentum, circulation, lifting line), sail twist, downwash, planform effects, Reynolds number, hull resistance, appendage design, VMG, and more.

Lots of spreadsheets and practical calculators too—bulb shape optimization, wetted surface area, simple VPP models. If you're into sail performance modeling or yacht design, this is one of the best resources out there.
by jgb1984 | 2025-04-15 23:01:44+00:00
LLM anything makes me queasy. Why would any self respecting software developer use this tripe? Learn how to write good software. Become an expert in the trade. AI anything will only dig a hole for software to die in. Cheapens the product, butchers the process and absolutely decimates any hope for skill development for future junior developers.

I'll just keep chugging along, with debian, python and vim, as I always have. No LLM, no LSP, heck not even autocompletion. But damn proud of every hand crafted, easy to maintain and fully understood line of code I'll write.
by sevensor | 2025-04-15 23:01:47+00:00
> many noble clerkes have endevoyred them to wryte and compyle many notable werkes and historyes to the ende that it myght come to the knowlege and under­stondyng of suche as ben ygnoraunt, of which the nombre is infenyte.

From The Game and Playe of the Chesse, which I misread as cheese and clicked on out of bafflement. It’s a book of moral lessons to be drawn from the chessmen.
by taylorlapeyre | 2025-04-15 23:01:52+00:00
Well deserved, in my opinion. I often think about the fact that they spent 5 years (2012-2016) building essentially a brand-new graphics editor entirely in the browser way before Web Assembly was a thing that people knew about, all before even releasing their product to the public. They took the performance of their product so seriously.

I think their team deserves credit for their commitment to good software. They got here by making something good. That's a success story that I feel good about
by impossiblefork | 2025-04-15 23:01:52+00:00
Morally, I don't think they do have that right.

I'm a Swede. I don't care about Harvard myself. But here in Sweden we some historically excellent universities, and some places that were a little second rate as we viewed it.

But the Germans don't care. If they get to be called professor they're happy, so they come, and they become professors at these once second rate universities, and then they put out research that is as good as any, and they have PhD students and everything, and the end result is that it's basically transformed our old second rate institutions into places actually producing good research; and apparently this is the way it is Germany. All their universities produce good research.

I think the future here, in the long run, is it should be that it won't matter where you go, only what you do, and I think that's something which should be, not just embraced universally, but pushed for deliberately, in all countries. If Harvard is really successful in finding potential leaders, then they are dangerous to society.

Furthermore, most of Harvard's graduates will be ordinary engineers, or ordinary physicians or ordinary practitioners of some field, whether it's what they studied.
by makeitdouble | 2025-04-15 23:02:15+00:00
I was curious how much of a gap there is, and landed on about 100k in the US[0] vs 85k[1] USD in France for instance, in average.

That sounds on par with most other professions where the US salary is about a third higher, with a cost of living (health, housing etc) eating most of the difference.

Perhaps I'm also not buying that the US has a fundamentally better system, and not just a dominant position to begin with, with tons of money to invest and raise an army of researchers. Comparing to China could be a more interesting exercise, as it's also flooded with money now and is getting competitive in research.

[0] https://www.ziprecruiter.com/Salaries/Phd-Researcher-Salary

[1] https://publication.enseignementsup-recherche.gouv.fr/eesr/F...
by caconym_ | 2025-04-15 23:02:27+00:00
Thank you for affirming your position!

> Obviously there is zero point in corporations doing this as costs are near zero and competition for this infinite. Right now almost all art is available for free, it is just illegal.

This is incredibly naive. You grossly underestimate the grip massive media corporations with essentially unlimited marketing budgets and total control over mainstream distribution channels have over how the vast majority of consumers consume media. And, to whatever extent you think piracy being legal will change that, either way you've completely destroyed individual creators' ability to even partially support themselves with their work, unless...

> Could you consider what abolishing IP laws would do to the average YouTuber. Exactly nothing. Their content is available for free, they support themselves without selling their art directly. Loosing rights to their art would have zero impact on them, as their monetization works without it. Sponsoring, direct support, advertisement is enough to make many of them wealthy.

...Unless you force them all to be social media personalities and marketers first. Unless you think YouTube and its ilk can carry art and culture forward alone (as "content", of course). Unless you want to live in a world where art of original substance is no longer produced, a hall of mirrors in which YouTubers endlessly inter-react and beef and soy face. You may very well think that sounds great, but I think it sounds fucking terrible.
by AnthonyMouse | 2025-04-15 23:02:59+00:00
> when an economy becomes "advanced," the birth rates drop to tragic levels. I believe what could help here involves all kinds of non-market solutions which are hard to solve, and very not cool at the moment.

There is a huge factor in this which is well-documented to reduce the fertility rate: The first generation to become affluent enough to own property does so and then lobbies for policies that increase home prices. These policies create housing scarcity both for homes and rental units.

That saddles later generations with unreasonably high housing costs and makes them unable to afford to start a family, so the fertility rate drops. If you want more kids, build more housing.
by scarface_74 | 2025-04-15 23:03:02+00:00
None of the BigTech firms have unlimited PTO unless you consider NetFlix “BigTech” and by market cap, they aren’t.

I’m not going to look up the PTO for other BigTech companies. But the one I worked for (Amazon) had 15 days PTO and 5 personal days.

And most people who have defined PTO, also don’t take all of their allocated days off.

https://www.pewresearch.org/short-reads/2023/08/10/more-than...

That’s not evidence of defined vs unlimited PTO as a limiting factor of UPTO.

And because of laws in different states, companies with unlimited PTO also often have a separate bucket for sick time.
by aucisson_masque | 2025-04-15 23:03:40+00:00
It's very hard to make someone else change his mind, even with the best arguments. See all the Russians believing they are freeing Ukraine from nazi, even when told the cold true facts it takes weeks of constant discussion to get them to actually understand it's all propaganda.

And that's something that is quite easily dismissible.

When I care enough about someone, first of all all I don't make a point to change their mind but think of having a discussion like a way to enrich both knowledge and point of views, at the end it's not the result but the journey that's interesting. How both people develop and adapt their reasoning to arguments.

Of course you got to be two willing people to make that happen, won't ever happen on Twitter for instance.

And if I'm dealing with someone who believe something completely and utterly stupid by all standards, like the earth is flat, and I need to change his mind. The best way is to plant a seed, listen to his reasoning, think of something that doesn't fit in his story but also can't be felt as aggressive. For instance, with flat earther, I would ask, looking interested what the edge of the earth look like then. If he can show me.
by tialaramex | 2025-04-15 23:03:40+00:00
Their IR is a mess. So a "new LLVM" ought to start by nailing down the IR.

And as a bonus, seems to me a nailed down IR actually is that portable assembly language the C people keep telling us is what they wanted. Most of them don't actually want that and won't thank you - but if even 1% of the "I need a portable assembler" crowd actually did want a portable assembler they're a large volume of customers from day one.
by int_19h | 2025-04-15 23:03:57+00:00
The extensions themselves have licenses that prohibit their use with anything other than VSCode.

(You should keep this in mind next time someone tells you that VSCode is "open source", by the way. The core IDE is, sure, but if you need to do e.g. Python or C++, the official Microsoft extensions involved all have these kinds of clauses in them.)
by paxys | 2025-04-15 23:04:00+00:00
Slack does this as well. It's a genius idea from a business perspective. Normally IT admins have to go around asking users if they need the service (or more likely you have to request a license for yourself), regularly monitor usage, deactivate stale users etc., all to make sure the company isn't wasting money. Slack comes along and says - don't worry, just onboard every user at the company. If they don't log in and send at least N messages we won't bill them for that month.
by AlotOfReading | 2025-04-15 23:04:00+00:00
That's the suggestion I give to designers so don't take this as criticism, but monochromatic contrast isn't perfect either. Some forms of colorblindness actually experience a shift in luminance that depends on the color and their specific perception. Things that are distinguishable by contrasting brightness (e.g. black text on white background) may become ambiguous if those colors are changed to e.g. green and red respectively, even if the lightness contrast remains the same because they'll perceive the red as darker than it truly is.

This is specific to the person, so there's no real way fix for everyone beyond turning everything into extreme differences like pure black and white. It's just something to note about the limits of it as an accessibility technique.
by Whoppertime | 2025-04-15 23:04:01+00:00
If you post "What are your favorite snacks at the movie theater?" you can get a 3 day ban from /ck/ which is too short to appeal. I posted a thread on the Television and Movie board asking what people thought of Matt Walsh's movie What is a Woman and got a 3 day ban which was too short to appeal for posting off topic
by akopkesheshyan | 2025-04-15 23:04:20+00:00
I put together a project template with a modern Python toolchain and handy code snippets, so you don't have to waste hours setting up the basics.

It's built with Cookiecutter and meant to be a solid starting point for new projects — clean structure, some batteries included.

I'm curious to hear your thoughts:

- What’s missing from a solid Python starter kit in 2025?

- What would you add to make it more startup-friendly or scalable?

- Be brutal — I can take it

Also, side question: how many of us are actually using pre-commit hooks these days, especially now that it plays nicely with GitHub Actions?
by alephnerd | 2025-04-15 23:04:27+00:00
Rules made in the late 2000s might not necessarily hold on HN in 2025.

HN has shifted into a lagging Reddit, and preemptively shutting down any discourse about the falling quality of discourse on HN is ludicrous and plain annoying.

HN has changed, and A LOT of Reddit does leak onto HN, and this absolutely deserves conversation.
by thaumasiotes | 2025-04-15 23:05:07+00:00
> Bit of a tangent but, basically everything I ever I believed I understood about the nature vs. nurture argument have broken down completely in the face of raising (fraternal) twins.

I read something speculating that a major contributor to Americans' general disbelief that family members are usually very similar to one another is that most of their exposure to "family members" is actually to the members of fictional families on television who are played by unrelated actors.

(I know you're making an observation about how clear the differences between your children are. But I submit that if you compare them to a few unrelated children, you'll find that they are indeed very similar to each other overall.)

We have a lot of public pronouncements about what children, or people generally, are like, but almost all of it is completely uninformed by facts or experience.
by anonfordays | 2025-04-15 23:06:44+00:00
Your source literally states:

"The incentive is structured such that a dealership can offer a discount upfront to customers, then get reimbursed later by the government after filing for that incentive. Which Tesla points out means these are not grants to Tesla, but rather grants to Canadian customers which are then handled by Tesla."

So as I originally stated, there was no fraud, this was all fake news. QED.
by jeroenhd | 2025-04-15 23:06:59+00:00
As long as "a lot of attempts" take longer than the time it'll take the sun to expand and envelop the earth, that's not really a problem.

Every form of authentication is either subject to "a lot of attempts" or trivial DoS (for when you rate limit the login API so now admins can't log in either). The principles behind modern authentication are mostly "how do we make verification require even more attempts if the attacker doesn't know the password".
by koakuma-chan | 2025-04-15 23:07:40+00:00
> If you successfully begin a career in software engineering and years later, have the humility to admit the mistakes you made when starting out for the benefit of others, you will deserve to have an incompetent know it all deride you for having been so kind to admit them, just like you are doing to me here.

I wouldn't "deride" you if you weren't acting arrogant and calling me incompetent or whatever.

> The problem with software engineering is that nobody tells you everything you can do wrong before you do it

Maybe, but the docs definitely tell you about EAGAIN and freeing memory after you're done using it. In Rust many kinds of logical errors you could potentially have made are eliminated by the type system though. For example I wrote a news scraper in Rust and ran it locally a couple times to see that it works, and it's been running for half a year now on a VPS and I never had to touch it or restart anything.