MurphyA/hacker-news huggingface dataset:
by firesteelrain | 2025-05-18 06:09:14+00:00
“ Just because they are not intentionally indoctrinating does not mean the overwhelming majority of voices being liberal does not create a force to push people in that direction more than they would be otherwise.

It can also create a circle where people who are more conservative are less likely to view universites favorably, and therefore attend less and in different departments, thus creating an even more overwhelming majority.

https://www.pewresearch.org/politics/2017/07/10/sharp-partis...

This shows the difference in thinking between left and right on higher education. In general the longer you are at college, the more likely you are to be liberal. Is that 'indoctrination'? No, but I think it's a bit silly to not see a stray thumb on the scale”
by seanwilson | 2025-05-18 06:10:29+00:00
For this problem, I'm working on a tool to help create palettes where color pairs have simple and predictable WCAG/ACPA contrast by design (it has more features on desktop):

https://www.inclusivecolors.com/

So one approach is you create swatches of different colors that go from grade 100 (light) to grade 900 (dark), where the lightnesses are chosen such that all grade 700 colors contrast against grade 100 colors, all grade 800 colors contrast against grade 200 etc.

And then you know red-700 vs gray-100, green-800 vs yellow-200 and so on will contrast without having to check.

If you go to the Contrast menu, you can also explore how much stricter the APCA algorithm (meant to be more accurate) is compared to WCAG. For dark on light colors especially, APCA is much stricter about what contrast so you really shouldn't use WCAG for dark themes.

Also, if you go to the Examples menu and check out the Tailwind and IBM Carbon color palettes, you can see how the swatches in hand designed palettes vary their saturation and hue across grades in a non-linear way. So automatically picking if white/black contrasts the best is more straightforward (like the article mentions), but for more deliberate/branded palettes, you can't just generate a color with a simple lightness component shift, so this is more open ended.
by MrJohz | 2025-05-18 06:10:41+00:00
Fwiw, I've been using `using` for the last year or so maybe, and I've found exactly one case where I've wanted to create a new explicit scope for the resource. In all other cases, having the resource live as long as the containing function/loop/whatever was the clearest option, and being forced to create a new scope would have made my code messier, more verbose, and more indented.

Especially as in the one case where it was useful to create an explicit scope, I could do that with regular blocks, something like

console.log("before") { using resource = foo() console.log("during", resource) } console.log("after")

Having used Python's `with` blocks a lot, I've found I much prefer Javascript's approach of not creating a separate scope and instead using the existing scoping mechanisms.
by whilenot-dev | 2025-05-18 06:11:26+00:00
I think my point didn't quite come across... Comedy got way more serious and certainly made that (necessary) leap after a big dive in quality during the 00s (thanks Chuck Lorre!). Writers of other genres learned from the successful HBO and AMC productions that TV shows are more than just a fixed universe with a static cast and a dynamic part, and that each episode could be more than one short story told in this staged universe - that is the main part in the leap that makes old shows feel old now.

Thanks for the recommendations, didn't know about The Rehearsal, Shogun, and Reservation Dogs (you wrote "Resevoir Dogs"?). Our tastes may wary, but I think For All Mankind fell back to some 90s formula after season 2.
by garylkz | 2025-05-18 06:11:40+00:00
I remember back then my laptop broke during the beginning of COVID, and I was left with a smartphone that is incapable of doing Termux stuff.

To cope with that I have ended up making some toys like Discord bot that evaluates code, requested access from Insomnia 24/7 to SSH into Linux environment for programming purposes.

It was fun experience and I've ended up learning a lot of programming stuff before I've even started my study in university for computer science.
by adrian_b | 2025-05-18 06:11:49+00:00
Yep, I have lived in a country during such a hyperinflation, when all the ordinary people, including myself and my family, have lost their entire lifetime savings.

Initially, my salary as an engineer has decreased quickly in value to the equivalent of $2 per day. Then, for a long time, my salary has been approximately doubled every month, so that by the beginning of the month it was worth the equivalent of about $2 per day, but by the end of the month it was worth only the equivalent of about $1 per day.

Before the hyperinflation started, I had saved all the money for buying a new car. Unfortunately, I had not predicted what would happen, so I have not closed a deal quick enough. In a few weeks you could no longer buy even a TV-set with that money. A short time later, you could barely buy some decent food with it.

Buying some electronics or programming book could require the salary for 2 months. Funny times.
by MyOutfitIsVague | 2025-05-18 06:12:41+00:00
Rust isn't a niche language by a long shot anymore.

CXX[0] is fine. Personally, I just always use a C ABI to communicate between the two. I've had to do it for every other language anyway. Languages that have native C++ interop are significantly more rare than ones that don't. Most languages have some way of talking to C, though.

[0]: https://cxx.rs/
by brandensilva | 2025-05-18 06:13:38+00:00
I can attest to getting overwhelmed with it.

There are some automations I've setup that I never have issues with. Perhaps my most reliable being around lights. Not surprising the hue lights work the best. Also my hardwired locally controlled garage doors

There are some that if the power goes out I gotta log back in. Cloud is often a pain.

If it isn't on my dashboard I forget about it.

I've talked to professional installers or resellers and found similar issues with control 4 and other systems so it isn't a unique problem to Home Assistant.

This stuff gets ugly because of how complicated it is to setup, deal with multiple protocols,lack of standards or too many standards, unreliable devices, breaking changes with updates and more.
by condwanaland | 2025-05-18 06:13:55+00:00
I strongly think that R has outgrown just having statistics as its killer feature. The killer feature of R is data analysis

I have yet to see any software that rivals dplyr, data.table, and ggplot2 in the balance of power and ease of use. It also has all the auxiliary packages you need to fetch your data (DBI, httr, rvest), model it if necessary (parsnip, caret) and visualise it (ggplot2, plotly, shiny)

I know python is more popular here but I would choose R in a heartbeat 19 times out of 20
by iFred | 2025-05-18 06:14:26+00:00
I feel like a kindred soul of sorts with this author.

I’m on my fourth iteration of a smart home setup with HA. Depression, neglect, a feeling that I need to burn it all down and restart, and depression again were all extinction level events for my setup. At one point I had meticulous Grafana dashboards worthy of a Golden Grot that could tell you the concentration of CO2, the pressure waves from the Tonga eruption, a map of Puget Sound gas prices, and other bits and bobs. I had dozens of Airthings sensors, plant sensors, ZWave temp sensors, three weather stations, countless LIFX bulbs, all working in unison to give me a pulse on my house.

Then I had a bout of the existential sads and just stopped looking at the slack notifications when HA connected the dots between a spike in radon and a nearby earthquake. I stopped caring that the CO2 concentration in my office was over 750ppm, or that watering my plants in my office in the winter was contributing to increased particulate in the air. Because I wasn’t listening to the interesting stuff, I stopped listening to the important stuff- alerts about failed drives, dying batteries, and broken updates.

Not caring felt so freeing. I didn’t start things up again until a few months later when I realized I wanted something cool to show in an interview. The cycle started anew.
by bruce511 | 2025-05-18 06:15:14+00:00
It will be interesting to see this play out over the next few generations.

The theory is yesterday declining population levels mean that the tax base shrinks just as the larger, older, generation retires. So "paying" for more kids is kinda like a long-term retirement investment.

But Norway has a sovereign wealth fund. So gets a chunk of revenue from not-taxes. Does that alter the equation?

Also housing is expensive. But as population numbers slowly fall it (presumably) gets cheaper.

Immigration is another strategy to bolster populations, but Noways's climate, not to mention cost of living, does not make it especially appealing to most immigrants.

The real question remains, to what extent will older people actually suffer, as populations decine to a stable point? There are lots of dire predictions, but not much experience.
by kachapopopow | 2025-05-18 06:16:31+00:00
Some of these are very obviously trained on webtoons and manga, probably pixiv as well. This is very clear due to seeing CG buildings and other misc artifacts. So this is obviously trained on copyrighted material.

Art is something that cannot be generated like synthetic text so it will have to be nearly forever powered by human artists or else you will continue to end up with artifacting. So it makes me wonder if artists will just be downgraded to an "AI" training position, but it could be for the best as people can draw what they like instead and have that input feed into a model for training which doesn't sound too bad.

While being very pro AI in terms of any kind of trademaking and copyright, it still make me wonder what will happen to all the people who provided us with entertainment and if the quality continue to increase or if we're going to start losing challenging styles because "it's too hard for ai" and everything will start 'felling' the same.

It doesn't feel the same as people being replaced with computer and machines, this feels like the end of a road.
by MrJohz | 2025-05-18 06:17:38+00:00
Fwiw, most backend frameworks and libraries where this sort of functionality makes sense are already using a polyfilled Symbol.dispose that will transparently work with the real thing if you start using it in an environment that supports it. I've been using this feature for a while via transpiled syntax, and it works pretty well.

On the frontend I suspect it'll take a bit longer to become ubiquitous, but I'm sure it'll happen soon enough.
by k310 | 2025-05-18 06:17:57+00:00
I have no need of AI in daily life. Unless it can repair a door moulding or tune an old Baby Grand.

I have enjoyed and continue to enjoy “the best things in life” without AI, which will probably boost money-making operations way more than creative ones, since even friends can’t tell my photos from fakes [1] I believe that creativity plays a miniscule role in money making (which makes the world go round) especially since Steve Jobs departed. And look who’s raking it in. You know their names. Creative as a 4 function calculator.

You might be interested in what the Vatican (really, Pope Francis) says about AI. It’s quite interesting less the theology. [0]

Highlights:

116. Since a “person’s perfection is measured not by the information or knowledge they possess, but by the depth of their charity,”[212] how we incorporate AI “to include the least of our brothers and sisters, the vulnerable, and those most in need, will be the true measure of our humanity.”[213] The “wisdom of the heart” can illuminate and guide the human-centered use of this technology to help promote the common good, care for our “common home,” advance the search for the truth, foster integral human development, favor human solidarity and fraternity, and lead humanity to its ultimate goal: happiness and full communion with God.[214]

[212] Francis, Apostolic Exhortation Gaudete et Exsultate (19 March 2018), par. 37: AAS 110 (2018), 1121.

[213] Francis, Message for the LVII World Day of Peace (1 January 2024), par. 6: L’Osservatore Romano, 14 December 2023, 3. Cf. Id., Encyclical Letter Laudato Si’ (24 May 2015), par. 112: AAS 107 (2015), 892-893; Id., Apostolic Exhortation Gaudete et Exsultate (19 March 2018), par. 46: AAS 110 (2018), 1123-1124.

[214] Cf. Francis, Encyclical Letter Laudato Si’ (24 May 2015), par. 112: AAS 107 (2015), 892-893.

I find “wisdom of the heart” in extremely short supply these days, and the least of our brothers and sisters victimized and deported without due process, rather than helped.

[0] https://www.vatican.va/roman_curia/congregations/cfaith/docu...

[1] https://news.ycombinator.com/item?id=43942930#43943277
by al_borland | 2025-05-18 06:18:04+00:00
I don’t like how pushy some sites are getting with passkeys. Amazon forced it on me one day. On other sites I try to login using my password, but first need to dismiss a bunch of passkey stuff.

It still feels like there are far too many edge cases that passkeys don’t cover, and they’re being pushed on a public that doesn’t understand them. Logging in shouldn’t feel like magic. The second a user hits an edge case, it’s going to be painful.
by const_cast | 2025-05-18 06:18:24+00:00
> And calling these protests merely "anti-Israel" is intentionally obtuse

No actually I think it's right on the money.

Some vaguely brown people being very mad at Israel does not antisemitism make.

Are they denying the Holocaust? Are they saying Jews should die? Or... are they saying Israel is committing a genocide? Are they blaming those particular jews running Israel?

I think we all know it's almost entirely the latter, and almost none of the former.
Ask HN: Why don't more startups use API gateways?
by smrth | 2025-05-18 06:18:56+00:00
I've worked at a few startups including some prominent ones that offer API-driven products. We almost always built out authentication, authorization, rate-limiting, caching, etc. every time (or by stitching together a bunch of different packages).

Recently talked to a friend working at a more mature company that used AWS API Gateway to handle all of that business logic. Obviously AWS's setup time isn't known for being conducive to fast-moving teams, but why aren't things like Zuplo (https://zuplo.com/docs/articles/what-is-zuplo) or Unkey (https://www.unkey.com/docs/introduction) more commonly used?

(i.e. why do engineers choose to roll their own policies instead of using what seem like very robust solutions—it seems like a healthy separation of concerns...)
Show HN: Keep track of why you muted someone on X
by klntsky | 2025-05-18 06:19:29+00:00
This is a WebExtension I made for myself first, to solve my frustration caused by not being able to remember who is who on twitter. Every user has a unique mix of opinions, some of which I would rather not see on my tl - but simply muting someone is too permanent (twitter does not allow you to see what was the mute reason).
by twothreeone | 2025-05-18 06:19:30+00:00
I'd agree if it was just another arxiv draft. But, honestly I appreciate the clarity and brevity of the comment in this case. And I think that tone is warranted given the paper was published in a well known journal, lending it quite some credibility as clearly demonstrated by the high-stakes PR it received. Especially, since any retraction of that paper will likely not be followed up by the same articles.
by microtonal | 2025-05-18 06:21:46+00:00
Even though mapping out safe routes can help, it's by far more a cultural and political problem that does not have technological solutions. You need separate bike lanes or completely separate bike paths, you need separate traffic lights for bikes. You need to change laws so that car drivers are always legally responsible for damage, even if a cyclist/pedestrian caused the accident (because it makes car drivers more careful/aware). You need to train car drivers to be more aware of cyclists, starting with simple things like knowing how to open a door carefully. You need a police force that conducts a deep investigation when a cyclist gets hit and a municipality that changes the layout of the roads to decrease the probability of it happening again. Etc.

I live in a country that is cycling walhalla, where there are more bikes than citizens, where a good chunk of the population go to work and do groceries by bike and we do all of the above.
by GianFabien | 2025-05-18 06:23:54+00:00
Speaking for myself: NO.

Perhaps HN is not the best audience to ask this question. A mostly tech savvy audience is more likely to solve their personal needs with a quick script, etc.

From a business perspective, you need to frame your MVP in terms of what problem you are solving? How many people really do have that problem? Of those people how many are willing to pay for the solution?

Whether you use AI or not is largely irrelevant. The knowledge of a specific domain and the typical problems encountered therein are far more relevant.
by voidspark | 2025-05-18 06:24:30+00:00
Michael Jackson was the biggest in history. Global megastar before the internet. Taylor Swift has a lot of sales but in terms of global significance and cultural impact there is no comparison. Not in the same league.

Taylor Swift has relatively niche popularity in India.

Chinese are blocked from accessing any western social media, and no access to YouTube, Netflix, Spotify, etc. Taylor Swift is popular there but the Chinese have their own version of the internet separate from ours.
Ask HN: What is the "Like" in a context of social network web-sites?
by eimrine | 2025-05-18 06:25:09+00:00
I teach math to a group of young kids who are too young to be introduced to a smartphone. They asked me what a "Like" is. I told them about the concept of "Internet Points", but I feel like I'm missing something, for example how likes affect the algorithmic feed (but there is a big chance they do not know what is the feed as well).

For example, HN has more than 1 kind of like: an upvote, a vote for the submission, and vouch action. But do you have a logic when to use them on HN and on other resources? Are there websites where "liking" something has a noticeable impact on the feed?
by praveeninpublic | 2025-05-18 06:25:22+00:00
AI Is Getting Better. That’s Exactly the Problem.

Every time the model “gets it right,” something strange happens. You start trusting it more. You stop questioning what feels off. You begin to settle. And that’s where your skill atrophy goes to die.

Do not settle and become a curator, if you are using AI, ensure you are the one who is creating.
by timc3 | 2025-05-18 06:26:19+00:00
Yeah I’ve been wondering what to do if I ever sell.

Unlike some others in this thread, the 350 devices I have don’t require too much maintenance (have to replace the odd light bulb, and I do some upgrades once a week), and work flawlessly most of the time. I also designed it so that it works without home assistant or any controller.

But what I am going to do - some of the zigbee lights are permanently fixed, but are on manual switches so I guess thats ok. But the irrigation system, some of the lighting systems which are switched automatically, the built in speakers and even the networking might be beneficial to stay.

Would probably have to do an audit and take a couple of days.
by colesantiago | 2025-05-18 06:27:47+00:00
I welcome this.

I know there is a huge market for those excited for infinite anime music videos and all things anime.

This is great for an abundance of content and everyone will become anime artists now.

Japan is truly is embracing AI and there will be new jobs for everyone thanks to the boom AI is creating as well as Jevons paradox which will create huge demand.

Even better if this open source.
by oliverdzedou | 2025-05-18 06:30:17+00:00
C# is definitely popular for game development, but saying no other language comes close does not seem to be true. Looking at the most popular game engines and frameworks, it seems to be about as represented as anything else.

Game engines: Unreal - C++, Unity - C#, Godot - GDScript (Python) + second-class C# support

Frameworks: Raylib - C, Bevy - Rust, Love2D - Lua, Monogame - C#, Phaser - JS, PyGame - Python

We don't know for sure what AAA companies rolling their own engines use, but the industry standard would be written in C++, exposing C++ for programmers and Lua for non-programmers/modders.
by ericaska | 2025-05-18 06:30:28+00:00
We also use Postgres but we don't have many jobs. It's usually 10-20 squedule that creates hourly-monthly jobs and they are mostly independent. Currently a custom made solution but we are going to update it to use skip locked and use Notify/Listen + interval to handle jobs. There is a really good video about it on YouTube called: "Queues in PostgreSQL Citus Con."
by Hard_Space | 2025-05-18 06:30:43+00:00
I get a lot of movie recommendations from Trakt, for Stremio, at the moment. Besides this, my wife uses Facebook a lot to find new shows and movies for us to watch, which is good, as I only got to FB when my work sometimes demands it.

I do agree with the sentiment expressed in comments here that human>human curation is something AI can't replace. It doesn't understand the relation (or lack of relation) between songs, shows or movies for any one user. The choices we make for these things are usually underpinned by many factors specific to us, and don't represent valid or meaningful 'trends' to be discerned and applied to others.
by adrian_b | 2025-05-18 06:32:47+00:00
I am not sure what you mean about saving money.

When there is inflation, nobody can save anything, because the value of any savings decreases too quickly.

Everybody who has made prior savings loses them, unless they predict the inflation and buy something valuable, like real estate, with all the money they had.

As long as there is excessive inflation, any money earned must be spent immediately, before losing too much value. For ordinary people and small businesses this makes it very difficult to buy expensive things, because it is hard to save money for that and credits may become too risky.
by doug_durham | 2025-05-18 06:33:09+00:00
As a cycling commuter I'm happy with margin. Give me roads and bike lanes that are wide enough to allow me to navigate with margin of safety. The problem with separate bike tracks is that they are rarely built because of the cost and politics involved. Bike trails are a nightmare because inevitably you need to share them with pedestrians. We just need spaces where cars and bikes can coexist. I think that cities in the Bay Area do a good job with this. Turning a 4 lane road into a two lane road with bike lanes, or eliminating parking on the side of the road are much easier to do, and very effective. Don't let the perfect be the enemy of the good enough.
by harrall | 2025-05-18 06:33:24+00:00
IMO ecosystem, tooling and support is what makes a language mainstream. Having a domain is something that comes afterwards.

e.g.

* Ruby had Rails

* PHP had mod_php and a strong Apache-oriented community

* Java had strong support from Sun

* Python for scientific computing because of numpy, etc.

If numpy and friends were made for Ruby instead, I think we’d be in a different world.