skysight-inc/HackerNews huggingface dataset:
>The biggest mistake I see people make with Go channels is prematurely optimizing their code by making channels buffered. This is almost always a mistake. It seems logical. You don't want your code to block.

Thank you. I've fixed a lot of bugs in code that assumes because a channel is buffered it is non-blocking. Channels are always blocking, because they have a fixed capacity; my favorite preemptive fault-finding exercise is to go through a codebase and set all channels to be unbuffered, lo-and-behold there's deadlocks everywhere.

If that is the biggest mistake, then the second biggest mistake is attempting to increase performance of an application by increasing channel sizes.

A channel is a pipe connecting two workers, if you make the pipe wider the workers do not process their work any faster, it makes them more tolerant of jitter and that's it. I cringe when I see a channel buffer with a size greater than ~100 - it's a a telltale sign of a misguided optimization or finger waving session. I've seen some channels sized at 100k for "performance" reasons, where the consumer is pushing out to the network, say 1ms for processing and network egress. Are you really expecting the consumer to block for 100 seconds, or did you just think bigger number = faster?
We use a boatload of off the shelf go components; but i don't see it making any progress at replacing java at my bank. We are extremely happy with where java is these days...
I don't really see the bureaucracy as preventing that sort of thing. The $800 million Obamacare website was both a complete waste of money and it didn't work. A corrupt contract might even be less likely to be a failure because the governors cousin knows that if he fails to deliver there will be a public outrage and he could go to jail. Whereas there are almost no consequences when a government contractor screws up after having gone through the legal process.
No.

Can't speak for the US, but in Germany immigration is not the problem they make it out to be, but one that is propped up as a scapegoat. You presume the people's demand here are based in reasonable distress, when really it's not. Or rather it's not attributed correctly. Stats don't support it, proposed solutions are not able to resolve it. In particular the AfD has no actual answers for anything. Their "politics" is arbitrary outrage and evidently they get sponsored by Russia, favored by platform owners and spin doctors like Musk. German intelligence agencies are investigating Russia's involvement in recent attacks in Germany. The AfD's role is destabilization and it's working.

The topic is not driven by actual exposure. This is clearly evident when you look at voting patterns. In places where you are the most likely to have contact with immigrants right-wing populists are the least successful and vice versa. Compare recent car attacks by islamist and neonazi motivated perpetrators. There is a massive distortion in media coverage.

I absolutely do not accept throwing anyone under the bus just to make the mob happy. Not immigrants, not women, not trans people. Sorry, but it's fucking degenerated and vile to suggest this as acceptable sacrifice. Every human deserves basic rights, due process and life in dignity. Look what they are cheering for in the US at the moment. Disinformation fueled hatred is not something to make compromises with as a civilized person.

The actual, but occult distress all people feel comes from economic erosion and ideological decay. Don't get me wrong, immigration isn't all bueno, but it's blown out of proportion. Rent, financial security, food, prosperity and self-efficacy. No politician is addressing that. We are by far not out of options to address the real issues of the country.

Why are you not advocating for addressing those?
Another spot it's great for is in legacy lua programs that you inherit from who knows where, which in my experience is a lot of the live lua out there. It hooks into the module loader system so you can just freely mix functions and tables between the two.
I'd echo this somewhat. Wading into other people's projects I'm often like "wtf is this mess.. why are your variables named a, b and c?"

BUT.. some of the code that LLMs have spit out at me is absolutely wild in how well it is constructed, and it gives me real imposter syndrome when I see the occasions when the code is so much tighter and better than I would have personally crafted.
About 1,6 km by 1,6 km. So 16 100 m run tracks or football pitches long sides. Albeit those can be 90 to 120 m for UK or 100 to 110 m for international...
What is the impetus to make money or sustain itself? How do I know this isn't another tool that will transition to a revenue extraction model down the line?
Jack Dorsey and Elon Musk would like to 'delete all IP law'
Done should be more denser now!
Because, for one thing, the purpose of Netflix is to display movies and TV shows. Almost every movie or TV show ever made has some children in it somewhere, at least in the background.

When your entire content is full of triggers for those who lost a child, what's one more trigger at the loading screen?
Does that ever provide you with anything more than a lame summary? I mean Gemini models can do a lot, but I don’t have the feeling they’ve well integrated tbh.
more / better documentation please
I don't have any use cases in mind right now, but this looks cool. You should try posting another Show HN.
Wow, I didn't get that at all.

I guess my biggest take-aways were:

1. indicators of political ideology could be determined in sub-second timeframes

2. the size of the amygdala is larger in those that are more ideologically rigid
My first thought as well. The author probably has a monitor with not very accurate color, those look almost red.
So, is this government data from Afghanistan, Albania, Algeria, or Andorra? There are more than 190 countries - I think you need to be a bit more specific.
Thanks for reminding me of this. Just ordered it, long time since I originally read it.
Almost entirely unrelated, but the life story on Thomas Hines is fascinating, so I'll mention it anyway.

Hines led a raid into Indiana before Morgan's more famous incursion during the Civil War; I was in the area when I found out about Hines' exploits, and reading more about him (all hail Wikipedia) was quite the rabbit hole.

His career path: grammar teacher -> field officer for the CSA -> guerrilla warfare coordinator for the CSA operating out of Toronto -> newspaper editor -> Tennessee lawyer -> chief justice of the Kentucky Court of Appeals.

Shortly after Lincoln's assassination he was mistaken for John Wilkes Booth and fled Detroit for Canada (hijacking a ferry to do so), which inspired the rumor that Booth had fled to Canada.
Stop doomscrolling. I am guilty of it too. Go out enjoy a walk, do some sports or play video games any of these things will help you stop bad habits. Doom scrolling is addictive like smoking and will make you miserable
Hurrah. That was 13 years ago and it still doesn't support railcard discounts.

TfL may have been innovative a long time ago, but they haven't moved with the times at all. Hell, the Oyster POMs only got contactless payment readers in the last couple of weeks. Prior to that it was "chip 'n' pin" - y'know, the technology introduced back in 2004.
This thing has 8 motors. It’s easy to imagine that it could have 8 independent batteries and could be able to perform a controlled descent if two fail. Similarly, it could have redundant sensors and use commodity “majority rules” logic circuits where all calculations are run three times. On top of that, they can already cut over to ground control if the computer can’t proceed.

With all that, it’s “just” a software problem.
Historically marriage was economic and practical arrangement. People frequently married after fairly short time of knowing each other and the reasons were frequently that they had to - and not just because someone got pregnant.
Totally agree that the constant churn of new tools which come and go makes adapting to them and truly mastering them feel pointless. But there’s also the well established old things which (according to Lindy’s Effect) will be there for a long time still - things like Vim, Emacs, efficiently using shell. Investing time in truly mastering them seems like a good long term bet.
Cancellation fee higher than remaining months is extremely shady.

Very possible that the current pricing/wording is the result of being sued by the DOJ.
I wasn't really going after a political angle or the elections.

PMs in Canada wield a ton of power and AFAIK are rarely removed. I'm not sure what exactly you consider to be misinformation here. It's extremely rare for members of parliament to vote against their party.

Another example I can think of is Israel where the prime minister yields a ton of power.

I might be wrong but I think the use of the Emergencies Act was not approved in Parliament? How about the weapons embargo on Israel?
I’m not sure they need to coordinate, except for the state of US Politics. Take the hit now, then seek a long term better deal elsewhere, with more stable policies.
> Why training AI can't be IP theft

Because Microsoft is part of BSA. /s

If you steal our software, it is theft. If we still your software, it is fair use.
Can we train AI on leaked Windows source code ?
I wrote a blog post last year about Reddit bot behavior and the dead internet: https://interruptkey.com/posts/pollyannas-corpse
While you are correct about color perception, I don't see the link to a 'lack of humanness in programmer thinking'. It's not an inherent trait to software engineers. The entire field of HCI, interaction design and everything around how we deal with digital colors are fully focused on the human experience.

Maybe a reminder that computer science != programming.
This problem is not unique to JavaScript/TypeScript. You'll have this problem anytime you're working with unknown data.

Zod also works just fine async.
After the last election, one smaller local subreddit that has had the same overall culture for many, many years, seemingly overnight, at the snap of some fingers, lurched completely to the extreme opposite direction. If you dare to share any of the same ideas that were once widely accepted there for many years on end, now you instead get absolutely pummeled, ridiculed, downvoted out of existence.

It's just so blatantly, demonstrably, obvious the level of manipulation which was targeted at the sub. Somebody, somewhere, added it to a list of subreddits to be manipulated. But you can't even discuss it there, because how are you going to use a compromised communication channel to communicate about how it's compromised?

The majority of the population seemingly can't even notice that sort of communication manipulation, it's gotten so sophisticated. Bot accounts used to be much easier to detect, now they all have very cleverly built-up account history and posts that are near indistinguishable from humans. And of course not all manipulation is bots/AI, there's coordinated shill/sockpuppet/astroturf campaigns with real people being tasked with doing the manipulation.

The smart people have already left and gone on to the next place, which will never be allowed to grow large enough or significant enough without the propaganda fire hose eventually being turned on it too. The only way to fix things is a radically different framework for communication.
Significant number of lost episodes of MOOMINS. Was around 20 episodes never found last time I checked.

It used to be even more but someone from Japan found a few.

And the creator refuses to talk about some of the lost episodes.
Really? Most countries? Do you have a list of those?

Some countries do manage to keep daycare somewhat affordable through huge subsidies (as well as lower wages for the daycare workers). I'm not opposed to increasing subsidies but that has to be balanced against other priorities. Elder care facilities face the same basic economic issue.
I have immense respect for PKDs writings, he was far far ahead of his time, sad that he was such a mess mentally.

His themes about the malleability of reality are just so prescient about the problems of the digital era. Neighbors no longer share the same narrative about what is actually happening in the world.

I often wonder what PKD would say if he were alive today. Heck, I wonder what he'd be doing today in the digital era... Imagine if he had a YouTube channel...
But then the interviewer will be launched into the Pit of Eternal Peril.
It forever burned Castle Anthrax into my memory.
Fwiw, I run a pretty tiny site and see relatively minimal traffic coming from bots. Most of the bot traffic, when it appears, is vulnerability scanners (the /wp-admin/ requests on a static site), and has little impact on my overall stats.

My guess is that these tools tend to be targeted at mid-sized sites — the sorts of places that are large enough to have useful content, but small enough that there probably won't be any significant repercussions, and where the ops team is small enough (or plain nonexistent) that there's not going to be much in the way of blocks. That's why a site like SourceHut gets hit quite badly, but smaller blogs stay largely out of the way.

But that's just a working theory without much evidence trying to justify why I'm hearing so many people talking about struggling with AI bot traffic and not seeing it myself.
Like all open-source, it's an ongoing effort. Bunnie has a comparison, https://www.bunniestudios.com/blog/2017/litex-vs-vivado-firs...

> Thanks to the extensive work of the MiSoC and LiteX crowd, there’s already IP cores for DRAM, PCI express, ethernet, video, a softcore CPU (your choice of or1k or lm32) and more.. LiteX produces a design that uses about 20% of an XC7A50 FPGA with a runtime of about 10 minutes, whereas Vivado produces a design that consumes 85% of the same FPGA with a runtime of about 30-45 minutes.. LiteX, in its current state, is probably best suited for people trained to write software who want to design hardware, rather than for people classically trained in circuit design who want a tool upgrade.
Amazing, almost as if male and female evolved this difference naturally over time. Because it's really curious that many other female mammals go into a very obvious heat cycle but human females do not. Strange to assign a term like sexist to describe biological evolution.
How Pakistan quietly became world’s biggest solar importer
Show HN: The Pursuit of Happiness
i have been a huge fan of bartosz ciechanowski's blog[0], and it has always been my goal to combine my writings with some 3d interactive visualizations of some sort.

this is my first attempt at re-creating bartosz-like blog! unlike bartosz (he uses raw webgl, which is crazy[1]), i built this with pmndrs's react-three-fiber[2].

hope you enjoy the interactive 3d experience!

[0]: https://ciechanow.ski/
[1]: https://news.ycombinator.com/item?id=31262720
[2]: https://r3f.docs.pmnd.rs/
This is my understanding as well. You can see the usage-reporting scheme and data structure here: https://www.atsc.org/wp-content/uploads/2024/04/A333-2024-04...

“The fundamental record that captures consumption information is called a Consumption Data Unit (CDU). For a streaming A/V channel, each CDU identifies a reporting interval during which a service is accessed. Such a CDU includes the service identifier, the time the service access started and the time the service access ended. If any Applications are active during the report interval, it also records when the Applications are active (whether on a primary device or a “second screen”, companion device), including the Application Identifier, the time the Application started being active, and the time it stopped being active.”

“For services, events logged into a CDU shall correspond to all usage intervals of no less than 10 seconds and may correspond to shorter usage intervals. For Application activity, events logged into a CDU shall correspond to all usage intervals of no less than 5 seconds and may correspond to shorter usage intervals. The precision and accuracy of start times and end times in the CDUs should be within 1 second.”

The payload schema is a 4651-byte JSON structure, so I would imagine that a response-payload fitting this schema would be same-order-of-magnitude size. With 10-second granularity that works out to roughly a half-kilobyte-per-second data rate, and according to the DRC spec the maximum payload size of one DRC message is 2048 bytes.

It will also report when you play something back from a DVR:

“Component.SourceDeliveryPath – Delivery path used for or the source of the content component indicated by the parent Component element.

SourceDeliveryPath.type –

0 – Broadcast delivery (content component is delivered by broadcast)

1 – Broadband delivery (content component is delivered directly by broadband by broadcaster)

2 – Time-shift-buffer source (content source is local time shift buffer)

3 – Hard-drive source (content source is local hard drive)

4 – Delivery via direct connection (HDMI)

5 – Alternate IP delivery (content component is delivered via intermediary)”
I mean, nobody should be surprised since Reddit drove away almost all of their moderators and power users in mid-2023 by banning clients that actually functioned.

Reddit chose to kill itself; a maggot-ridden corpse is the expected find.
Note that Pascal of 1981 is not the same as Object Pascal compiled with FPC in 2025, although many of his points still stand.
Shorter, Milchick!
What I get from it: https://forum.qubes-os.org/t/whats-your-system-layout-like/8...

Two official examples of how one could benefit from Qubes:

https://www.qubes-os.org/news/2022/10/28/how-to-organize-you...

and

https://blog.invisiblethings.org/2011/03/13/partitioning-my-...

See also: https://forum.qubes-os.org/t/how-to-pitch-qubes-os/4499/15
We can agree unions should be stronger, but union jobs in America cannot compete with nonunion much cheaper labor in other countries. If you have free trade and zero Republicans the same thing happens. If the jobs go away the union doesn’t matter. That’s why the unions consistently lobbied against NAFTA, the WTO, etc.

I’m actually not even sure what specific labor law changes you could blame that on. Clinton was running the show in the 90s, and I don’t recall any big union busting under Bush, whatever else might be said of him.
The many fallacies of 'AI won't take your job, but someone using AI will'
I read an article just today about how parents today expect a lot more childcare from their grandmoms then they used to be. Where grand parents in the past were expected to yell at kids here and there when those misbehaved or be their friends, they were not expected to be full caregiver the way they are now. They used to have their own things to do - whether work or fun. Grandparents as a complete replacement of a daycare where she (it is gendered) has to do all of it was not a thing. And the expectations on childcare were much smaller then today.

Grandparent to take care of a kid an afternoon a week or so was a thing. Grandparent watching a kid every day whole day, not really.
A bit but I don't like "set foo 32"

One way I think I can get rid of that is like this

32 = foo;

But why do we even need variables? I think the perfect language design would be if you could just do this:

pow(x, 2);
pow(y, 2);
sqrt() = result;

And maybe you could do this

{
pow(x, 2);
pow(y, 2);
sqrt();
} + 1;
pow(2) = result;

Instead of result = pow(sqrt(pow(x, 2), pow(y, 2)) + 1, 2); that we have today.
The problem is that the 12 month contract is (a) pulled out of their ass and not reflective of the real costs for either party, and (b) until very recently not even disclosed (even in recent months, there are plenty of reports of cancellation fees from people with screenshots of having correctly chosen the monthly version). The very highest cancellation fee that makes sense is the delta between the monthly rate and what the annual rate projected on to the number of months of payment would be. If an annual subscription is cheaper because of risk or the time value of money, even that delta is a vast overestimate of Adobe's damages, and the fact that they're asking for 10x-20x is a blatant abuse of power.

> Find a perpetual software license or 12 month subscription that allows for cancellation for convenience.

All of them with Canadian customers, for example. It's a product with incremental costs and incremental value, so cancelling it (neither paying incremental costs nor forcing the service provider to do the same) makes perfect sense.

> It was easier to pirate back in the day

That's not the problem at all. Gimp is way better than the piratable photoshop ever was. It's not useful to ad hominem people who don't want to be abused.
I had no idea a monthly subscription was even available. You have to ask the website in my region for “more details and more plans” to even see the monthly subscription.

Also because they offer “a discount” on the first year here, it’s 38€ month/yearly plan or 104€ a month/monthly.

I don’t know. If you’re going to allow Adobe to buy its competitors and monopolise entire regions of our economy, this seems a bit shit.
Hmm that’s unfortunate. I’m actually scaling up a data journalism project this month which is why I’ve been looking at these.

I’m curious if you can suggest a happy medium between curl-impersonate on VPS (dirt cheap) vs residential proxy ($8/gb)?

Personally I’m not trying to hit any of those common sites.
That's old news: https://web.archive.org/web/20190118221826/https://www.infor...

Fwiw I use EXWM in Guix and only interact with the computer through emacs (though I do need to use terminal and eshell).
What is facebook?
> When I've tried to post correcting information (such as direct quotes from the link that contradict the headline) I'll get a lot of angry responses from people saying they don't actually care that it's wrong because the headline supports something they feel is true. They've already made up their mind about what reality is like and the headline merely exists as a prompt for letting them rage about it a little longer. They don't actually care if it's true or not, because they believe some bigger picture truth justifies the lie.

> because they believe some bigger picture truth justifies the lie.

I go around bleating about this issue quite often and that's the best, most empathetic [1] way I've seen it phrased.

[1] not a typo for emphatic
> Mein kampf is a best seller in gaza based in number of copies found everywhere there.

Do you have any credible source for that?

> And hamas promised to kill all jews, not only in israel.

When? And whatever your theory, what I said is what actually happened.
Sure I’m just saying Europe is not a place. Europe is not a giant coordinated economy. I’m “European” and I know how hard coordination problems are in the continent, since I’ve lived through its mismanagement my entire adult life.
I can't speak to every local subreddit but I can tell you for sure that while it may have started as an anti-bot measure, on /r/newzealand it is absolutely used as a way to gatekeep the wrong opinions from being present on the subreddit.
It is easy to create code where this can be verified. It is difficult to verify for arbitrary code.