skysight-inc/HackerNews huggingface dataset:
https://jango-index.ml/src/

Yeah that's right. I'm back for Show & Tell.

Tell first: I've been reading Excession by Iain M Banks again. Not because Elon Musk pays superficial lip service to Iain Banks. Not because of peer pressure among posers to read Excession. Because I genuinely identify with some of the characters.

A theme in Excession is: nerds collect things. Gestra collects scale models of sailing ships. Pittance collects warships in stasis. Sleeper Service collects people in stasis. Grey Area collects torture devices.

Another theme in Excession is: nerds are not welcome in the Culture. I mentioned four nerd characters. Three of them leave the galaxy by the end of the story. Grey Area goes a step further and leaves the universe.

Yeah that's right. Too much literary analysis for Hacker News.

Show second: I've been collecting song metadata from Jango Radio. By which I mean I wrote code to collect metadata. It took a few months but I collected metadata for every song and made it searchable. I did it because I was looking for a few specific songs which had become unsearchable on Jango Radio. Without knowing the song IDs I was looking for so I had to grab every song ID and once I started I might as well finish the collection.

Bash and JSON and PHP and SQLite are tech nerd tools. Too technical for Hacker News. We all know Hacker News is named ironically because it's really a marketing site.

Finally: Coding is a worthless activity for nerds like Gestra and Grey Area and just as unprofitable as collecting scale model sailing ships. There's nothing to monetize about some nerd's collection of song metadata. There's nothing about coding to monetize. Marketing is what matters always.

Yeah that's right. Hacker News is not a tech site. Hacker News is a marketing site.

I don't do marketing.
This is a bullshit complaint. The US is creating international agreements (the Artemis Accords) to give an equal legal footing for all nations and multinational companies, yet somehow this is being a “gatekeeper”? While at the same time China and Russia are maintaining a policy of unilateral national appropriation?
On the other hand, if you wait too long, you run the risk of being afflicted with the kind of Stockholm syndrome/curse of expertise that explains how bad so much of everything is.

When I start playing with something, once the number of papercuts I'm tracking in my head gets above 2–3, then I crack open a fresh notes.markdown file adjacent to the source repo (if there is one) and start recording all my thoughts in the vein of[1], including everything from outright bugs to opportunities for UI improvement. If the project has reasonable bugtracking infrastructure, I'll file them—or for small projects, I'll email the author along with any patches—but since most projects don't, I mostly don't end up doing anything with them. I've often thought that it would be nice if this exercise of "Let's Critique" became a thing, though. If nothing else, it could provide fuel for folks' blogs that have been lying dormant since that one post from 2017.

1. https://pointersgonewild.com/2019/11/02/they-might-never-tel...
> Ignoring possible futures and going with historical pasts, nuclear plants are what are called "megaprojects" (https://en.wikipedia.org/wiki/Megaproject) and that's their main Achilles heel for our times. Americans at least, have stopped believing in them.

This is a valid point as far as the type of nuclear projects that have been done in the past is concerned. However, nuclear has progressed, and many of the designs being worked on now are not megaprojects and would not require the same huge up front investment that traditional designs have.
One of the things that weirded me out about the cutting of the film was how the guys family was treated- in a way the guy appeared to completely abandon his job, leaving to the ocean and forcing his wife to raise their child essentially alone while he went and had awesome underwater experiences reliving his childhood and becoming one with nature. It’s of course easy to leave and become one with nature if you force all the duties of being a human in society(taxes, cleaning, groceries, raising a child, etc.) onto someone else (in this case the wife).

I highly doubt that’s what actually happened but that’s essentially the first 10-15 minutes of the documentary and really took me out from the main portion, which was the friendship being formed. Then I couldn’t stop thinking whenever I saw this- the octopus is dealing with her life all day, risking life and limb, and in her periphery is a guy who is escaping his everyday life and making someone else deal with it.
I agree, if it weren't for the fact that they give zero shits about Wayland support. I'd be totally fine with them staying closed source as long as they kept up with the standards.
Are they calling it 'Yeet Cargo' or do you like capitalizing many words?
The map appears to be counting some renewable generation in Queensland as CO2 emitting. There's actually quite high solar penetration.

That said, Australian is a large contributor to pollution. The majority of electricity is still produced from coal. It is improving, but with a federal target of only 20% renewables, a lot of financial incentive to build new generation could be about to dry up.
There’s a relevant joke:

Two people on a hike see an obviously hungry mountain lion in the distance running towards them.
One of them quickly starts changing his hiking shoes to running shoes; to which the other responds “do you really think these shoes will let you outrun the mountain lion?” To which the first responds: “I don’t need to outrun the mountain lion, I only need to outrun you”

Whether it’s 1ms or 1s makes no difference; for a class of strategies, any time advantage can tilt the average from “unprofitable” to “profitable” when you are faster than others - and the sums changing hands are huge (trillions notional or even thousands of trillions per day). A tiny advantage easily translates into a lot of money.
Honest question: why these gpu drivers need some many lines of code? Anybody with more background can explain?
“What Makes You Alive? Is Life Even Real? – Physics vs. Biology” on YouTube
Not sure what you mean about being a turn-off to engineers. I'm an electronic engineer currently working on production data engineering pipelines (which has no relation to the engineering in my degree) and I quite like the language. 1-based index is such a small "problem" compared to actual problems you encounter when developing software that is not even worth commenting in this context.

I work on a polyglot company, and parts of the pipeline have different demands. For low latency and fast development speed we use Elixir, for high throughput we use Scala, for data analytics in batch jobs we use Python. As I see, Julia is a language that is more concise and faster than Python for the number crunching I do, and has the potential to match Scala's throughput all while having multithreading/distributed that could rival the erlang VM (not in latency, but in speed and easy to use) and Scala's Akka eventually.

So as an engineer I'm excited about the potential (a single language that you can develop as fast as python that could compete with some of the top tiers in different areas of data engineering), even if it's not yet. It needs to complete the multithreading (structured parallelism so you can safely monitor and restart threads to help with reliability and with no risk of leaking, and have some library that works at the level of abstraction as the OTP/Akka), it needs native support for the infra-structure (Kafka, Prometheus) and a solid support for the web (and both of those last two can be done right now with Julia 1.5). For now it's an amazing language for exploratory data analysis and research, but I can't wait for the moment that I can safely recommend as the backend of my company's data infra-structure.
That's not a necessary skill. You know, there is a principle of traffic engineering that says: First to come first to be served. That means, if you are using the road, and you find a slower vehicle in front of you you are not allowed to run over him or kick him out of the way in any way. You are allowed to pass if safe to do so or just wait behind if not safe.
Try flying a helicopter in the mountains during an alaskan blizzard. All the money in the world wont get you there any faster. And there are sides of cliffs where air rescue is impossible in even the best weather.
No you’re mixing up two things.

1. Python’s std csv parser is very fast & versatile, perfectly good for a range of use cases that don’t have unusual needs.

2. For any production use cases whose needs aren’t met by the std csv parser, nobody would use it and nobody has to - plenty of other options exist (rightfully) as separate packages that allow the user to choose a different point of trade-off properties if they don’t like the std module’s defaults.

Nothing says the std isn’t good enough for production - it is. Just most people will use something application-specific and they have tons of options.
The assumption behind my comment is: Most of the time, you only care about whether the train is coming. A 1-second advantage isn't really interesting. Of course, maybe that's the interesting part in that kind of situation? I doubt it, though.

At 5km, sound will take 15 seconds to cover the distance. That's negligible compared to the time the train will take, assuming a good old train going at ~40 km/h (7'30"). Using the quoted 6 km/s, that gives ~ 0.8 s inside the rail.

I admit I was initially expecting a smaller difference. But I still think that the 14 seconds advantage is negligible over just knowing that the train is arriving from a far away distance: to hear the train at all, wind needs to blow in the right direction, and the train needs not be too far away (~d^2 energy propagation, so ~log(d) in dB vs virtually no attenuation in a simplified model). I wish I had time to look up and compute the attenuation in both cases....
To be clear, the context of the thread is "why do we need to partition the HTTP cache per domain." My example code works under the (soon-to-be-false) assumption that the cache is NOT partitioned (i.e. there is a global HTTP cache).

> In that case, the browser would always load the asset (it is not cached).

Agreed, if the cache is partitioned per domain AND the current domain has not requested the resource on a prior load. If the cache is global, then the asset will be loaded from cache if it is present: https://developer.mozilla.org/en-US/docs/Web/API/Request/cac...

> So the rule would be that only stuff that is directly in the <head> may be cached (or stuff that is on the same domain).

You could be more precise here: with a domain-partitioned cache, all resources regardless of domain loaded by any previous request on the same domain could be cached. So if I load HN twice and HN uses https://example.com/image.jpg on both pages, then the second request will use the cached asset.
If I want to make an HTTP request in Python, which module should I use? There is a built in one (more than one I believe), but the official docs link out to a 3rd party module https://docs.python.org/3/library/http.client.html
So is using any semi-plausible claim to victimhood as a means of acquiring clout / wealth / power in a moral system with a bias toward unquestioningly exalting victimhood.
> Ok, but now the resource is in my cache, so from now on they will think I'm gay?

This resource is just generic, so probably not, but if you actually visited grindr's site without adblocking heavily, they load googletagmanager and a significant number of other tracking services, which will almost certainly associate your advertising profile and identifiers as 'gay'

I also can't believe they send/sell your information to 3 pages worth of third party monetization providers/adtech companies for something that is this critically sensitive.
ZeroAvia completes world's first hydrogen fuel cell-powered passenger flight
> not licensing the driver for datacenter use.

Why are these kind of licenses even allowed. If I buy a product, surely I can do with it as I please?

Also, why doesn't TSMC slap a license on every IC that leaves their fab, taking (say) a 30% profit from every application in which their ICs are being used?
The article doesn't explain why bike sales took off. It really startled me to learn how hard it became to buy a bike or spare parts.

I live in a very bike friendly city, so new infrastructures is not the reason why people bought bikes. I still don't get what convinced people to buy bikes during the pandemic.
If you're taking about foundational dependencies like OpenSSL, Linux, LLVM, or even jQuery and React, sure. Also most stdlibs and DBs, like GP said he uses, also fall into that.

Dependencies in general, like 95% (or more) of the kind we see in modern package managers? No, they're mostly untested liabilities and the majority of them could be rewritten in an afternoon.

This whole discussion is a bit strange. GP clearly uses dependencies, just not as much as everyone else today. I don't understand why the fixation with polarizing the discussion into "use lots of dependencies" vs "write everything from scratch".
I think there are still too many other differences to consider Northrop/Raytheon/Lockheed mercenaries. They're the core of the US military-industrial complex, but I still think they're effectively an arm of the US military and are much closer to contractors than mercenaries.

A company like Blackwater is much closer to actual mercenaries - they're trying to build their own private, independent military-industrial complex, in a sense, by selling their services to existing complexes.
And it still has a bug with residual cursor after wake from sleep on my desktop running Ubuntu 20.04...

https://gitlab.gnome.org/GNOME/mutter/-/issues/1108

Hopefully not for long though with this

https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-stag...
Oh my god, thank you!

How does one find these "hidden" features?
They were subject to US seizure because the Iranians used US-based domain registrars (in the examples given it looks like Namecheap and OnlineNIC). These are US companies that are subject to US law and export restrictions.

Had they used Active.Domains in Russia, DotMedia in Hong Kong, KuwaitNET in Kuwait, or any of the other non-US registrars, they would have been fine.
Does anyone here know much about how they validate correct operation of hardware / firmware / software in the nuclear industry? I'm interested in this question but don't know where to start reading about it.
Yeah, CRT was amazing. In my childhood I experimented with my 320x200 black and white CRT monitor and 4-color CGA, and went over the 720px resolution by manipulating the registers of the video adapter.
often there is just no mechanism to facilitate the trade, or someone else is hoarding all the benefits.

Videos created with this music will end up in social media sites which will make tons of money out of them. Yet the creators have no way to earn a part of it.
Interpreting long-tail risk of consequences the same as long-term risk consequences is simply mistaken.

A likely risk of time spent outside is sunburn.

A long term risk of time spent outside is skin cancer.

A long tail risk of time spent outside is getting hit by lightning.
Not anymore. It’s fairly standard for Canadian brokerage accounts to have a US$ and CAD$ side.

You do have to 'journal' the holdings between them for my broker. This is now possible online, but used to require a phone call.

The big gotcha with this method (depending on your account and broker) is that you might need to wait for your 'buy' to settle (2 biz days I think?) before journalling, so you face some market risk).

The procedure is somewhat formalized: https://www.finiki.org/wiki/Norbert%27s_gambit
How to Use the NES Controller Like a Pro [video]
That is because you are taking the article at face-value. This is just content marketing for a kid with a start-up, nothing more.
I'm just copying the language from the beginning of the article.
> That frankly seems like horrible software design.

Why? If it's auto-generated and the generated code is never touched by humans, that's not too bad.

This information is sourced by some CAD/synthesis tool and just describes the hardware register layout.

Manually maintaining that would be much worse and error prone.
I don't understand that, what's the difference between letting a computer search or a human search? at the end a human looks at the result and can confirm if the match looks the same or not. This will just make police work slower and will let criminal elements flourish.

Another thing, if we ban government and the police using it, why not ban it for everybody? Why Google can use it but not the government? At least with the government I can vote them out if they miss use it but what power do we have ver those huge corporates?

It seems to me like it it a power grab by those corporates, they want to have this power but not the government which might prevent them from taking over the world while preaching to us how good they are and on "the right side of history".
Adding a small intersection traversal penalty/cost to the calculation should eliminate most instances of this.
"It is terrible that people equate bike lanes to cycling. Bike lanes are built to kick cyclists off the roads that motorist believe belong to them."

You should see cyclists nearly running over pedestrians on bike lanes that cyclists believe belong to them. :-)
Awesome hack :) How are they going to begin to validate the you're a EU citizen?
It is another highly complex computer after all.
lol. When was the last time anyone actually bought a copy of software? You own nothing. You are a party to a contract written by nvidia and signed by you when you installed their driver. You can do only what they allow and they can yank thier permission whenever they see fit.

Not happy? That is what makes FOSS so appealing.
Is it? This is the same driver that makes me shut down X and fucks up xorg.conf every time I need to update?
TSLA/AAPL and options.

Seriously get in TSLA. It's going to double by March, probably earlier.

I could buy ETFs and do the boglehead/lazy portfolio but the returns are minimal compared to picking market leaders. Also you need to be making serious money for those to be valuable or live a frugal life and then spend when you are dead.
Ask HN: Should I quit my job?
I'm a lead developer in my late 30s working full time in London.

I have a one year old son with my girlfriend and a mortgage for the next ~18 years.

I’ve been working in the same role at a late(r) stage start up for the last two and a half years. I’m ready to move on (partly to do with boredom in my current role, but mainly to do with a change in the company culture that is making it hard to work there any more).

At work I've been offered a part time contract role that should allow me to spend more time with my son at roughly the same wage I'm on at the moment. The trouble is that it was a few months ago (when they wanted to cut down on expenses a bit and it suited them) and I've not heard anything since. I've asked my boss a few times and they say that they are working on it, but I'm not sure I really believe it.

I would apply for other jobs (preferably contract) but I have a three month notice period and it seems like it’ll get in the way of a lot of applications.

I’m considering waiting for my next pay day then handing in my notice. I figure that I can cut down on expenses a bit and have another month’s cash to live on after my three months are over.

That gives me four months to apply and interview. I can also say to my current work that if they want to keep me they can give me the contract role.

What do you think? I wouldn’t even have worried about doing this a year ago, but with current economic conditions (especially in the uk with brexit coming up) I’m concerned that it might be a mistake.

So HN, should I quit?
So You Want to Write Fiction with AI
> The vast majority will depend on IT

They use PCs right now. As of this moment. They are using PCs, just fine.

It is the existing status quo that everyone is using PCs already.

> I'd rather not let anything get to that point if it can be prevented.

There is not "getting" anywhere. We are already here. We are already living in a world where lots and lots of people use the PC.

Thats what you don't understand. This is the status quo. There are no changes. People already use PCs, right now.

> as easy as just throwing out all restrictions

There is no throwing anything out, because people already are using PCs, right now. Lots of people use them.

You keep phasing this as a "change" when it is not. People using PCs is the status quo.
Given the recent posts about keyboard ergonomics, I thought it was fun to see one of the worlds top Super Mario Brothers 3 players, Mitch Flowerpower, talk about the ergonomics (or lack of) on the NES controller and strategies he use to hold the controller for hours a day without it hurting.
For many, I think the "global Hum" is too much caffeine :-)

See https://www.audible.com/pd/Caffeine-Audiobook/B083MVZ91Y
Compile times increase superlinearly with program size. How many cycles and developer hours are wasted if this duplication is not necessary?
Author has good intentions, but absolutist and dangerous thoughts here. For example: "In order for this to work in the United States, the federal government could consolidate the nuclear arms of General Atomics, General Electric, Westinghouse, and others into a single public corporation. This federal entity would be mandated to decarbonize the American electricity grid."

They suggest making a monopoly for nuclear? Are you kidding me? That is a recipe for bad technology choices and taking advantage of customers. Let the market figure it out, with dozens of designs and vendors and demonstrations. It's already an oligopoly with maybe 2 or 3 incumbents in the US. And it's been that way since the 60s when the government created that market power for military and international nuclear export reasons. Essentially they picked water cooled technologies because they made sense for the Navy, and picked just two companies to export them internationally, subsidized, etc for civilian use. We need more companies not less. And we need the government to stay out of it. The only thing federal government should do is help lower licensing costs and timelines and establish locations for rapid and responsible demonstration of advanced nuclear projects. The only way to do this is smaller reactors that take less money and time to demonstrate and verify. Think small not big. The DOE might be doing this with the Advanced Reactor Demonstration, but it seems they may be in the business of monopoly creation with just two companies out of 20 or more selected to demonstrate billion dollar mega projects.

Whatever we do, we should not deploy more water cooled technologies just to decarbonize. Yes, they work; yes they have not caused damage human life the US. But the GE designed Fukushima reactors and the RMBK water reactors are astonishingly close to catastrophe. People don't understand how much effort goes into avoiding meltdowns. We need new meltdown proof designs that don't need active cooling to keep the reactor at safe temperatures.

TO THE FEDS: prevent monopolies - make demonstrating new nuclear technologies easier
The Python standard library is amazing. A few weeks ago, I wrote a program that provides a SMTP relay, mail storage, and web UI for managing email sequencing. The only dependency that it pulled in was pywin32 so it could run as a windows service; if it ran on a Linux box, there wouldn't be a single dependency.

Not including integration testing, the whole deal was two days of work. If I had to pull in and evaluate external libraries I would have spent two days just working out the details of which libraries to select.

At least for now, I don't think anything can replace Python for prototyping an idea.
So does my latest macos with intel video and second monitor.
Wasn't half of the problem in CA due to unexpected natural gas plant power-downs? That was hardly renewable's fault.