skysight-inc/HackerNews huggingface dataset:
I’m afraid this is a recent development in Facebook mobile and sometimes in web applications. I think after the recent hack/ takedown it has gotten worse.

Facebook has definitely apologized for its bugs and has its best engineers working on the problem.
Esbuild is great. That said, I find as its one major weakness the inability to alias/dedupe libraries at least in a pnpm monorepo. Even if it's the same version and I assume the same link, it will bundle it twice and you can get some pretty obscure errors when you run your app.

I did try various setups but none worked. With Vite at least I was able to alias libraries to same import thus avoiding importing them twice/x times.

But I'd kinda prefer using esbuild as Vite can get funky too, especially I've noticed if you build a local library with multiple chunks (eg just using tsc) the HMR will get out of hand. As I just tried, it basically seemed to go on indefinitely. Maybe there's a config for that but it's not nice, I can tell you that.
> Smalltalk/V on DOS (1980s) had extra runtime royalties payments

That's something i don't recall (it was a long time ago).
Thats code folks would have to write instead of focusing on the MVP, it would be better if this loaded it by convention.
It is clear that gov.uk hires _actual_ UX designers, people who focus on user experience. Not what most of us in the industry see, where they prioritise flashy animations with easing over stuff like this.

Nice one
> Perl is a godsend... take a code from 20 years ago, run it on a modern system, and everything works.

That's more or less like "take a VB6 binary from 20 years ago, run it on some modern Windows, and everything works" - that's just because the ecosystem is effectively dead, so supporting it on new releases just means carrying over some stuff that worked 20 years ago.
Or space simulations: https://spaceengine.org/news/blog210611/

> FP64 is extremely slow on Nvidia and AMD GPU, thanks to market segmentation: full performance with FP64 is enabled only on “professional” cards like Quadro. So for consumer hardware, we implemented FP64 emulation using two FP32 numbers. Performance is still not great, but it’s much better than using hardware FP64.
Fun fact but there are very little hazards for GPL with testing software. Since it doesn't ship with the actual software it can be restricted to the source being distributed to the "users" of the tests which are the developers. If source must be provided to the contractor (in the case of say the US gov or a corporation), the tests only need be run in the view of a restricted set of individuals which allows them to receive the source but none of the standard users of the main, non-testing software.
I think it depends on the culture of the company. Some companies do allow engineers say a month to catch up.
Unfortunatly windows has plenty of problems too. First, the system PATH will kick you if of you have more than one python installed, so the official installer does not add to it by default, hence the python command doesn't work after an install. Instead, you get the py launcher, but it's not provided if you installed python from the app store or with anaconda.

The you have powershell permission system.

It's a ton of fun.
I find it odd that anyone who has read that book would write such an essay. He'd be aware that there is whole branch of philosophy dedicated aesthetics/quality and didn't touch on any of that either. Maybe cuz it was derived from a talk he gave and it had to be calibrated for a certain audience (definitely not philosophy students)
I still reread it occasionally. Electrifying. For those who missed it:

https://www.reddit.com/r/AskReddit/comments/k067x/could_i_de...
This is just a redressing of the same “everyone is just as good” bullshit. Some people get a fuckload more work done because they go down the right design paths to start with, know how to work effectively, know what pieces to skip, etc.

The same is true in nearly every field. Programming is not special.
A few requests should randomly fail to force the developer to think about handling errors. :)
For anyone interested, they do tours in several languages.

Additionally, the tours have two sections - the first half that everyone does, and then they offer you the choice of going back up, or going to the museum area; definitely worth spending the extra time (particularly as it seems few people actually do it, so you'll have a chance to actually speak with the guide in more depth).

I've been twice and would happily go again - couple years ago now, so maybe things have changed.

I really should curate my photos - I took hundreds :)
Sovereign Tech Fund: Strengthening digital infrastructure and open source
The Utilitarians
Most divorces are initiated by women. Nowadays, there's an unacceptably high likelihood of divorce within 10 years of marriage. Should it occur, there are significant long term legal and economic repercussions.

I simply don't understand why anyone would ever propose marriage in the first place under these circumstances, let alone remarry after experiencing divorce.
> It's not about being happy. Life to most hackers is a quest for wisdom or the truth.

This hits home hard.
1. It’s much faster.
2. It won’t catch type errors.

Regarding #2, I assume that things are set up so that type errors are caught in some other way, such as in CI or in a precommit hook.
The .gov.uk vs healthcare.gov comparison sounds like a typical insourcing vs outsourcing story. The US government is of course big on outsourcing everything, but outsourcing is hard and many agencies don't have the talent and experience to do it well.
Playing Game Boy Color Games in Your Terminal
Here links in the main text are not clicky, so sometimes I copy them for the lazy. (In this case, I copy the same link twice.)
Since Nix packages are distribution-independent, once you have it packaged with Nix, you could theoretically skip packaging for Ubuntu etc., but of course that may raise the bar of entry for your users.
Honestly that sounds more like social anxiety than introversion. If so, that's treatable. Like it's not a matter of taking a pill and it goes away, it takes some work and time, but if it is an obstacle for leading a happy life, you definitely should consider talking to a therapist sooner rather than later.
It's holding JavaScript to its own higher standard: <script src="..."></script> is dead simple, and trivial to understand and get working.

NPM, import, etc. seem mindbogglingly complex in comparison, with an enormous number of ways to do each thing, most of which require at least one build step <script> just doesn't, and enormous numbers of third party dependencies, and if you go away for a few months and come back, there are good odds things will be different and broken.

Like Julia, I don't understand JS build systems and packaging etc., which no doubt contributes to the above experience, but I'm comparing to <script>, whose simplicity is almost unbeatable.
Distro maintainers say that language ecosystem packaging makes it hard for them.

Language ecosystem packaging maintainers say that distro package managers make it hard for them.

The year is 2021 and there is no work towards synthesis. It will be endless, fruitless yelling from each side.

Maybe 2022 will bring change. I'm not holding my breath.

To anyone who finds themselves on a single "side" in this argument: if you have ever said "why do you need to do that" as an accusation instead of with curiosity, you exemplify the problem.
Yet the linked text shows as black on darkish gray background to me, making it very hard for me to read.
For large corporations I think it inevitably people with a C title regard troopers in the trench as mere numbers, just as a general does. He has to because his mindset doesn't allow otherwise. For such a large entity to survive, the leader has to have a "collective" mindset.

My recommendation is to move to smaller companies/organizations so that individuals may be treated more independently (regardless of whether their job matters or not).
> Congo is one of the countries, that is already receiving foreign aid, so claiming, that it is not receiving any is simply a lie.

> The biggest issue of all of the foreign aid is corruption. The output of aid in most cases makes few mega rich billionaires from Africa and total poverty for rest.

One must be careful with this narrative. Foreign aid received by developing countries is dwarfed (more than an order of magnitude) by unequal exchange, illicit trade flows and trade misinvoicing in the opposite direction, often allowed by these corrupt leaders to their own benefit and that of multinational corps, and enforced via rigged systems such as the IMF/World Bank/WTO.

Other comments have responded robustly to your depopulation comment.
Great job and domain name! I like these kind of web tools that does one or two things really well.

Some other examples:

https://tableconvert.com - converts tables from format A to format B
https://editcsvonline.com - spreadsheet-like editor to edit CSV files
https://photopea.com - photoshop in the browser

There are gazillions of other tools, like color pickers, favicon creators, CSS gradient generators. Tools like these help out tremendously.
This is fair. It's similarly long, but I would say not as bulky nor ugly (and aesthetics matters a bit, as these are often in homes), so I just wanted to clarify we don't have those metal things in British homes.

What do 6-outlet strips look like where you're from? I'd never considered British ones to be a problem because you throw them behind the setee or under a desk, and probably because it's all I've ever experienced. Also, in practice you usually only want smaller strips with 2-4 outlets, where the size matters even less.
I'm using Anaconda, it's so far hands down the best way to manage python and its packages. It just works.
No, using force from the state is a last resort when people really can't use their own judgement, and is avoided as much as possible, this is consensus all over the political spectrum.

And being against parental leave is in no way hyper-libertarisnism and you know it, your argumentation is not made any better by using hyperbole.

Education is only free to the small extent that it's determined to be absolutely necessary. The majority of education that actually benefits society the most is not free at all.

"fuck you, I've got mine" is a funny expression, but in reality everyone always puts themselves first, and only has a limited amount of help for others, which they are very selective with. Nobody lives up the opposite of "fuck me, help everyone else" in reality, and the more you push that, the less effort you get from people. Fuck you, I've got mine gets things done. "why try" doesn't get anything done.
>>>I personally can't stand this degrowth mindset that would bring us back to the hunter gatherer era

Your derogatory language towards forest-gatherer lifestyle means that you have not read article - that article is about hunter-gatherers who live in forests. Where else they can get their grubs, to cook? Where they can gather meat and wood?
Twitter makes big changes for devs as it eyes decentralized future
I think split-horizon DNS is a bit more than a 1% corner case: it's almost universal in corporate and education contexts.
I wish there was a news site that didn’t pretend that most news need more than a single paragraph.
> Just look at the extension of NATO, an organization explicitly considering Russia an enemy, to the East of East Germany, despite assurances from Bush to Grobachev that it would never do so.

The assurances concerned non-sovereign territories of a totalitarian state. Now that these states are newly sovereign and post-Soviet (and likely still politically hostile to the idea of going back to the way things were), they are free to do whatever they choose to do. It's their right.
Because if the US did have that capacity you or others on here would know about it already.
It's not just about disk space, though.

Distros assume responsibility for fixing major bugs and security vulnerabilities in the packages they ship. Old versions often contain bugs and vulnerabilities that new versions don't. Distros have two choices here: either ship the new version and remove the old version, or backport the fix to the old version.

Continuing to ship the old version without the fix is not an option -- even if you also ship the new version -- because some programs will inevitably use the old version and then the distro will be on the hook for any resulting hacks. Backporting every fix to every version that ever shipped is also not a realistic project.

Here in the startup world we often forget that there's a whole other market where many people would gladly accept 3-year-old versions in exchange for a guarantee of security fixes for 5-10 years. Someone needs to cater to this market, and the (non-rolling) distros perform that thankless task because individual developers won't.
Warehouses are overwhelmed by America's shopping spree
I'd say it's a heavy-handed approach to mitigate more fundamental issues with how python packages are maintained, if everybody wants to pin different versions then we're going to have to install different versions of everything which is what npm does and I consider that heavier.

Again, it's all a question of point of view, what we see as a package manager problem and causes us to keep reinventing packages managers, might actually be a problem with how we maintain our packages, my point of view being the latter. But I'm digressing.

When it comes to installing on "another machine", you don't know what Python they have, you don't know what libc they have, and so on, that is exactly what containers attempt to mitigate, so that seems exactly like the tool to use for this problem.
> I really doubt that the python libraries packaged by Debian are any more secure or stable than the latest release of those libraries.

They are more stable because I can keep using the same version for two years, and I'm not being pushed to the latest version that has (intentional or unintentional) breaking changes every two months. Yes, there might be a bug or two in there that have since been fixed, but I very much prefer the failure I know over unexpected failures.

They are secure because Debian (and distros like it) backport security fixes to their packages. You can argue about whether they do a good enough job keeping up with vulnerabilities, but at least I know that once I install the update from Debian, my machine is secure, and I don't have to wait for the upstream authors of all software on my machine to release updates that upgrade their dependency.

> It’s essentially like version locking packages except some random Debian maintainer decides when it’s time to update.

Yes, but version locking isn't my problem. The crucial difference is that distros pick a version and support those for years, while upstreams usually force you to use the latest version all the time to get security support. With distros _I_ get to decide when I upgrade, and the reduced frequency is a nice bonus. Having a single entity for all software on the system is also valuable, as there's just one tool to learn and one place to check for updates.
So, Perl is the new Latin?
Where are your stats from?
> The fundamental problem is the difference between Curated and Uncurated packaging systems

Exactly this! It is expected from linux distros that they have curated packaging. I think that is good and I really expect it to stay that way.

Whether you want curated or uncurated packages depends on the use case.

As the user of a program, I definitely want curated packages.

As the developer of a program, I want to specify myself which version of a dependency I want to develop against and I don't want to be hindered by the linux distro in doing that. I do think that developers in that context are not always supported that well in linux distros. And on the other hand, I do think that tools supported by the programming language can assist in that scenario. (for example installing multiple versions of the compiler and runtime in the users home directory and being able to easily switch between those versions on a project basis...)
Not exactly. My goal is mainly that I'd like to avoid running git log and manually deciding the starting commit (and copying its hash around) before rewriting local branch histories.

What I want to achieve is that I can run my script (i.e. `git autosquash`), and it will automatically start the appropriate interactive rebase for me. That means I still get the rebase description I can check by eye in Vim (and have the option of aborting by emptying the buffer before quitting it).

I usually use this to clean up the history of a private local branch, so I won't trigger anything like `git rebase master`. This means that I have to specify the commit where Git is supposed to start the interactive rebase (i.e. the oldest commit that won't be included). And finding that by looking for the subject line after "fixup!" is rather finnicky (especially if the subject line also matches those of other commits), whereas the simple commit hash would be nice and explicit (and finding the starting point would be a simple `git merge-base --octopus` of all fixup! hashes).

So, my problem isn't the autosquash resolution built into Git, but that I have to reimplement it in a script in order to find the proper rebase starting point. That, and all backward searches for commit messages I know of are either really fuzzy or needlessly convoluted.

The best exact matching search I could come up with is something akin to

git log --pretty=$'%H\x1F%s' "$fixup_commit_hash" | awk -F $'\x1F' -v "subject=$query" '$2 == subject { print $1; exit }'
It's a lot faster (runs in 0.1 seconds) so it doesn't affect our iteration speed at all.
All right, sorry I didn't get it (I'm non native)
Sure, but if legacy support is your business, you know it. I don't think there's any reason to default to supporting ancient browsers any more.
Japan looking to beef up chip, storage battery sectors as part of stimulus plan
For me it's black text on white background, in one narrow easy to read column of text.
"Ronen Amiel - Build Your Own Webpack" [1] is a great way to understand what a JavaScript bundler does.

1: https://www.youtube.com/watch?v=Gc9-7PBqOC8
* [Joel on Software](https://www.joelonsoftware.com/) - engineering, leadership/startup, management, and recruiting.

* [Martin Kleppmann](https://martin.kleppmann.com/archive.html) - databases, distributed systems, and information security.

* [antirez](http://antirez.com/latest/0) - a blog by Salvatore Sanfilippo on engineering and open source projects.
Ask HN: Blogging platforms for highly technical content?
I'm looking to start a blog, because I have a lot of stuff I'd like to write up both from a work point of view and privately. It'll be very technical content mostly.

So, I've been looking for a platform. I really like Medium as a platform, but I hate their monetisaton by tracking. I don't want to 'sell out' my readers. Also, I don't need it to make money for me. If anything I'd pay to publish it. But it would be nice if I could use it to get my name out there more on the topics I write about. I want to write from a purely technical point of view, I don't want to do any placement even for products from my employer.

However I'd like to get some kind of attention to it. I could of course publish it on a self-hosted wordpress or something but it means there's hardly any point because nobody would ever see it. Ideally I'd like to be on a public platform where likeminded souls could come across it by chance. I don't want to actively promote it here (I know that's not even allowed anyway!) or anywhere, but it would be nice if people that are interested could at least have a chance to come across it.

In other words, I'm looking for the "Hacker News" of blogging sites :)

Any ideas? Of course I've been looking but the mainstream ones are all collecting data. I came across https://habr.com which kinda resonated with me: very technical content, not much marketing placement. But it's very Russian focused. Digging into stuff about the site (like pricing and privacy: https://habrastorage.org/storage/stuff/habr/service_price.pdf ) turns up documents that are in Russian only.

So I was wondering if you'd have any other ideas. I'd appreciate any feedback!
You are supposed to use a sunlamp for only 30mins a day first thing in the morning. Is that what you did?
Hah! I'm not sure my MVP has ever had error handling beyond "Something went wrong.". That's something for a real production app, not the minimum possible product.
This is going to make the US use CAATSA even more punitively now.
No.
T | E should only accept T or E. If their underlying type is int32 then int32 will not be accepted.

If we want to accept underlying types then we would need ~T | ~E.

Either way this doesn't help since typesets cannot be used as normal interfaces, only generic constraints.
No NFT in Upcoming Game Awards, Soon NFT Game Awards?
Hera (YC S21) is hiring a front-end engineer – $60K-$90K andequity – Remote UTC+-3
Ok but Go compiles statically, while you can do the same with pyinstaller, I don't think that's really comparable as we're talking about deployment right there.
You say "Objectives and Key Results"
I say "Pre-emptive Hierarchical Blamestorming"

OKRs further entrench hierarchies in a way that is harmful to productivity and harmony. They allow for a whole middle layer of management that simply decomposes their KRs and passes them down. The people below them are ultimately the ones on the hook for delivering, and if the middle manager doesn't achieve their own KRs, they already have an agreement about which person that reports to them is to blame. In my organisation OKRs are being used as a sort of feudal system whereby the peasants work the land, but the credit is passed up the chain to the seigneur.
Webpack is definitely a difficult beast because it's sort of an everything tool. It's supposed to be just a bundler but because it supports plugins people use it as a full build system. It doesn't really work that well as a full build system. It's also quite buggy in my experience, e.g. the multi-config feature doesn't really work at all.
Tesla has offered this in the past:

https://www.tesla.com/videos/battery-swap-event

No idea though how they thought they’d handle battery degradation.
There are EV busses made by ABB in collaboration with other local companies, e.g. TOSA in Geneva [1]. They charge on few stops on the route for some sub-minute (15-30s) periods and can operate the whole day without charging for longer stationary. The contact pads are hidden from weather, so the busses operate all year round for few years already.

1. https://youtu.be/fm3_N4Js3Nw
How tado° starts heating hundreds of thousands of homes at 7:00
At tado° we develop Smart Thermostats. Here is a three-part article about a typical cloud scaling problem we have: the service that starts customers heating according to their Smart Schedule.
It explains the problem, the new backend solution, and how we rolled it out gradually. It's one example of our highly iterative and lean development process.
Is your unified JavaScript build system using NPM or Yarn? ;)
Yes. No catch. You can host it for you (personal) or your company but you can't host and sell it as SaaS.

Several others projects such as Sentry.io or Zerotier are using this license. Be aware that this license is not considered open source but is more like "source available".
برو
فلوس كتير و جوائز اكتر
> That is a small nicety.

As I read it, it's more than that - you get to see the expression passed as an argument.

If they would bake in that expression within NullReferenceException, well that would be so good... because there are methods that contain dozens of lines and that particular exception can happen almost anywhere. Usually I'm considering that when writing code and thinking: well this method can't throw NullReferenceException, just to be greeted with that particular exception at runtime, ugh.