skysight-inc/HackerNews huggingface dataset:
> As somebody living in Europe, I think it's a perspective you can have only if you live mostly in an English speaking world.

I live in Europe and I (mostly) agree that (most) code shouldn't (usually) contain any codepoint greater than 127.
It's a simple matter of reducing the surface area of possible problems. Code needs to work across machines and platforms, and it's basically guaranteed that someone, somewhere is going to screw up the encoding. I know it shouldn't happen, but it will happen, and ASCII mostly works around that problem.
Another issue is readability. I know ASCII by heart, but I can't memorize Unicode. If identifiers were allowed to contain random characters, it would make my job harder for basically no reason.
Furthermore, the entire ASCII charset (or at least the subset of ASCII that's relevant for source code) can easily be typed from a keyboard. Almost everyone I know uses the US layout for programming because European ones frankly just suck, and that means typing accents, diacritics, emoji or what have you is harder, for no real discernible reason.

String handling is a different issue, and I agree that native functions for a modern language should be able to handle utf8 without crashing. The above only applies to the literal content of source file.
macOS isn't really comparable to what it was in those days, nor is the environment around.

In our company I see a lot of web developers favouring Mac because they have a Linux-style commandline available. And console applications like vim are becoming more popular again.

I wouldn't see these guys working on an iPad though, however if an iPad would become a dockable macOS laptop I would.
Projects there use cURL or Wget and pipe direct to shell to install
It is generally considered bad and unsafe practice to download a shell script from the Internet and then run it directly in the shell via pipe unchecked. However, many projects now use this and it is even their official way to install their software. There are more elegant ways to do this and one would be to check a hash sum first and then run the script, but this is mostly bypassed by a pipe. The installation scripts are usually not designed for this and therefore often a dangerous practice.

This list should not be a pillory but a list for the overview of which projects use this and where you should be careful as a user. This means to take a look at the install scripts before you run them unchecked.
>>What good do computers do without an internet connection?

I mean, computers have accelerated nearly every single industrial process they touched by few orders of magnitude, long before internet was a thing. They will be used exactly for the same purpose in NK still - operating machinery, operating poing of sale systems, keeping inventory, teaching.....also NK has intranet network, while the knowledge about it is limited, it's basically a very restricted and heavily filtered version of internet available to North Koreans.

There are accounts from people who have even tought computer science in NK:

https://www.vice.com/en/article/z4m8qx/how-to-teach-computer...

And general reports on what they use:

https://www.businessinsider.com/what-using-a-computer-in-nor...

So yeah, there are absolutely computer jobs in the country.
When I was involved in the teaching of a course that allowed this, one student basically reduced all the course notes onto a single two-sided page, except they also had flaps on it to fit more in. The exam invigilator took it from them deeming it (correctly imo) to not be in the spirit of the allowance. We decided we'd mark their exam, and then determine what we should do about this cheating-cheat-sheet. Given they got something like 5% in the exam anyway, we decided to let it slide.

My own experience of making up those cheat sheets is the same as yours, the effort put in to create them is an excellent teaching tool in itself, as you're studying and distilling all the stuff you don't know well, and by the time you're done, you hardly have to refer to it in the exam anyway.

For physics, they'd just give us a page with all the formulas but with no context aside from the letters in them, so if you knew roughly what it should look like, you could find it and you're not at so much risk of making a basic error under pressure.
what can go wrong?...
Something a bit more modern and powerful, perhaps?
I believe the majority on here arent from USA, if that's what you meant.
There are only a handful of western countries that use this approach. As counterexamples, Switzerland, the UK, Spain, and many other countries tend to have local municipal police departments, and Germany has state/Bundesland-level police departments as well as the random auxiliary departments that a sibling comment mentioned.

France and Sweden are both far more centralized and less federalized. There's a reason more federal countries such as Switzerland or Germany have more decentralized policing. I think it would be beyond unacceptable to most Americans, myself included, for the US to have a single police department with its bureaucracy in Washington. If anything, I think far too power in the US is already centralized in DC which contributes to bad governance due to the vastly increased distance (in many senses) between politicians and their constituents.

I would be fine with 50+6 state/district/territorial police departments, which is sort of the Germany or Canada (with Ontario and Quebec) approach.
> But this guy is really good at multiple things. SRE, frontend, backend, project management etc. He could probably earn twice as much working a normal job, and even more for the right company.

AFAIK, he is French, so you need to compare it with the local job market: there's no way he could get twice as much even in the most-paying company here, the market price for such a profile is probably around €70k, assuming he wanted to work in Paris[1] (or maybe Lille or Lyon), and if he lives anywhere else in France, he's probably already earning as much as he could wish, and he's working one something that matters to him. I would totally take such a deal.

[1] Ok, this is probably way less relevant nowadays, since covid made remote work mainstream for most of us, but remote work was barely imaginable in most French company before the pandemic came.
This would be great, yes. Just being able to choose how to use it.
It's interesting that he spends so little on servers.

1 billion chess games per year, often with >20k concurrent users and and some very heavy-duty engine analysis occurring for some proportion of these games and they only spends $56k.

I have seen startups with only hundreds of customers spend 10x this on AWS by copying the fancy tools used by tech giants.

It is also interesting how little the creator pays himself ($56k) and how much he spends on data protection ($40k), taxes ($52k) and various administration tasks. I wonder if his time is as heavily skewed towards administration as his expenditure.

I would also like to meet this guy, buy him a beer/coffee and thank him for the value he has created:).
> Punishment does not work as a deterrent.

Why not?
The authors of the post have both been central to Haskell's development, among other PL things – I'm guessing they've read them all :)
But the point is that people do not care about the cpu in their mac. They care about screen size, price and other stuff.

Apple is still selling intel versions, because either they are cheaper (older generations), or because the newest version does not have the M1 yet (like the 16" mac book pro).
In sql server you could create an index view for a simple query then add triggers.
Referees’ home-bias in football disappears without audience: study
Just lol. I’m sure every single step of his is pure goodness, and not money.

And electric cars have been here since 1900. Their comeback was inevitable as can be seen from basically every car manufacturer having E models. And you know what? Not everyone should have a car, building a proper public transportation system in cities would be much more beneficial, something elon opposes greatly. With “fantastic ideas” like cars.. in a tube.
The ability to understand and praise (although not share) someone else's goals in life!
You'd think these years into crypto that someone would have figured out multi-sig with a custodian.
Interesting, but the lack of detaching functionality is a dealbreaker compared to tmux. Once it gets that I will try it.
On the surface, it sounds like a good idea. When thinking about it further, I think this is solving the wrong problem. Bugtrackers usually (in my experience, after 1-2 years on a project) end up with thousands of tickets, too many of them open. If after every release, you have to re-check all of them, the QA department (or whoever will do the review) will spend all their time reconfirming bugs that the engineers could easily have said "Yes, still an issue" or "Nope, fixed" after just glancing on it, compared to a tester who might not understand all the code changes.

Instead, aggregating information and making your bug tracker "clean" should help engineers knowing what's open and what's been fixed, and when doing a new release version, they should know exactly what has been fixed already.
In a simple 2x2x2 matrix of

* product aimed at specific audience / general audience

* product is "one big idea" / a lot of little ideas

* product requires long term engagement / short term engagement

Only "specific audience" / "one big idea" / "long term engagement" can expect to - indeed, must - thrive on patronage.

The 7 other boxes are beholden to their users' fickleness.
I haven't really given Standard Ubuntu a chance yet, because I don't like the direction they're going in recent years (different topic). But will definitely consider it, if my issues persist.
My XPS is a work laptop and I haven't used Windows for work in over a decade or so, which makes switching a potentially bigger undertaking ... which I might avoid, if possible.

Thanks for the cable length tip! Hadn't considered this and am using a 1,20m+ cable -- will definitely try a shorter one.
Beej himself lists this as an 'alpha-quality document' on the download page [0] and if I remember correctly, it has been so for years. Wonder why this is posted here on HN.

[0]: http://www.beej.us/guide/bgc/
AV1 has some support for progressive images as well. It hasn't been used much in AVIF yet, though there are a couple of PRs that contain some sample images encoded progressively: https://github.com/AOMediaCodec/av1-avif/pull/134 https://github.com/AOMediaCodec/av1-avif/pull/131
> Coming to Stockholm, the thing that shocked me - I'd even go as far as to say traumatized me to a certain extent - was that Swedish people were completely at ease pretending that others around them were invisible.

For a very extreme version of this: In Germany there are somewhat regular cases of duty to rescue charges against people because they just straight up ignored a person in distress.

One of the worse cases was a 82 years old man collapsing at a bank ATM and going unconscious [0]: Four people were just ignoring him on the ground, literally stepping over the body to keep doing their banking, it took 20 minutes until somebody who found him actually called for help, he ended up dying in the hospital.

[0] https://www.sueddeutsche.de/panorama/nordrhein-westfalen-82-...
Discovering Diverse Athletic Jumping Strategies
I also live in Berlin, since about 6 years.

I think I'll always feel like an outsider here, but this city is very much my own.

Part of it comes from a personal investment in this city. I invested in its language and its bureaucracy. I have built a business with this city in its name, whose purpose is to help others who face the same bureaucratic and cultural challenges. I also moderated a Berlin-related community for a few years.

Another part is exploration. I actively seek new experiences in Berlin. I try new places, new dishes, new bike paths, new activities. I read about German culture and history, watched dozens of German movies, cooked German dishes, and all the other things.

The one missing part in my opinion is the social aspect, and I blame myself for it. I usually keep to myself, and didn't take learning German seriously enough for a while. Yet, it took me so long to make friends and become comfortable with the language that it's my strongest attachment to the city. I'm not ready to start over again.

By now if I went back to my home country, I'd feel much more alienated. I have spent the better part of my adult life in Berlin. It's where everything I built lies.
> No doubt they would get a job like the rest of us

"I personally think that the founder should have enough money to never worry about money, or at least have a big buffer"

> The problem with your proposition is it can never be satisfied, you will never have enough

Where did you get this idea from? If you control your expenses (Like it sounds like the founder does) then the "never having enough" problem doesn't exist. At that point more money just means a larger buffer.
You can disable being able to be iMessaged via your phone number.

https://support.apple.com/en-us/HT201349
> It might sound weirdly low for someone in IT in the USA, but first, not everyone commands FAANG sales, and second, wages in the EU are comparatively low. With some seniority, you can rise to $100k relatively easily, but you have to sell your soul to either some consulting company or old Fortune-500 industries.

Exactly.

The non profit is registered in a small town of Maine-et-Loire.[1] Assuming this is close to where the developer lives, €42k goes a long way there. You also have to factor in that he doesn't have to take the Parisian Metro every morning and live in a tiny apartment for €1,000/month.

[1] See the "Is Lichess a non profit?" https://lichess.org/patron
Firing all white police officers would certainly make a dent though
> I'd love to see this extracted out into a library by the supabase team.

Supabase cofounder here - I'll raise this with the team. Feel free to email me if you have any specifics around how you're using it so we can make sure it fits your use-case (email in my profile)
I'm not an expert, but isn't power efficiency the selling point of ARM? As in it runs efficiently, but there are diminishing returns to running it faster?
The difference between the AOM license and React license is that the React license terminates if you sue Facebook for any patent infringement, whereas the AOM license only terminates if you sue an AOM user for an AV1-related patent.
Back in the old days you'd get that sort of improvement in 2-3 years, not 5. I used to expect at least a 4x improvement on my last machine every time I upgraded.
There's a Spotify playlist of his podcast episodes related to mental health here

https://open.spotify.com/playlist/1ruKlNJJXHaK0GDiCxsHAP?si=...
I'd like to have a serverless bug tracker, like Fossil, but for git.

Basically a bug tracker that stores the whole DB in the git repo but separately from the main tree. The tickets get synced when I push/pull, I can interact with them locally without needing an internet connection, without having to filter out projects, authenticate, etc. An open ticket would have my current branch/tag/commit as a default value for tracking, although it could be change.

And I really, really don't want notifications. Just a dashboard where the last things that are important to me are listed as long as I haven't marked them as read, and an access history.

But you can't make money with that I guess.
What’s wrong with “Made with Love”?
> beautiful array of opportunities of monetisation

I think that's the first time I've seen "beautiful" and "monetisation" in the same phrase.
Jira, with less features and FAST low latency UI navigation. Less Javascript, actual pages.

Great overview of code changes related to the ticket.

Less CSS and bars and icons. More visual hierarchy, better grouping and simple call to action. Less dropdowns to do anything.
Go to settings, app, stop now
> Foot guns and and lack of easily reproducible environments

I kinda agree with the reproducibility concerns around R, but you can use conda or MRAN if you really need that. The massive benefit of your concern is that if you install the latest version of R, then you'll get an entire compatible ecosystem of packages, which I really, really appreciate and the lack of which drives me mad in Python.
As far as I recall, they were also heavily censoring and/or banning users from their integrated community system for who was critical of the update.
Ha, I was just using Z39.50 yesterday. I think so-called "GraphQL" borrowed a lot from CQL. But CQL is so much better.

https://www.z-brary.com
I am not sure, what parent thought and I don't have examples without any spending to advertisement, but there is very "low profile", almost no ads categories.
1) Big business-to-business manufacturers. I haven't ever seen ads for compal or asml. I am sure they are presented in trade shows and contact directly to potential customers.
2) Small data recovery shops. I know few those, one don't advertise at all, one uses only google ads (and only few keywords, not big budget).
> I now have no moral qualms about a society choosing to put to death people who are guilty of heinous and depraved acts

I consider the society to be at least somewhat to blame for those acts.
Researchers Take Down Botnet Pretending to Be Millions of People Watching TV
I also have a right to handle their HTML the way I see fit, for instance by blocking their ads. If they don't like it, they should make their website private.
Brutality is also not progress. Far from it.
We shall try elavating ourselves away from brutality.

Killing is the upper end point of brutality.

Society not deciding to end death penalty is Society with one foot in the mud of ancient brutal regime.

Ending dath penalty is, of course, avoiding killing by mistake 4% of those sentenced. But is is also elavating ourselves from the mud of past regime.

We shall not kill
I’m actually implementing that right now for my own use, as a pre-processor.

There is a much more advanced design and implementation at “A defer mechanism for C” (December 2020): https://gustedt.wordpress.com/2020/12/14/a-defer-mechanism-f...

For my own purposes, I think I can live without handling stack unwinding so I continue working on my pre-processor.

Since the pre-processor is not yet finished, there I use a vector¹ of {.pointer, .destructor} where I put objects after initialization, with one macro at the end of each managed scope that calls the destructors for that scope in reverse order, then another macro meant for the function exit points that calls all the destructors in that vector. This has been built many times before by other people of course, it’s just an exercise to see which difficulties arise.

¹ Vector, growable array: I did my own trivial type-generic growable array, with the classic {.capacity, .len, .items}, but again there are many previous implementations. The two I’ve found more interesting are:

- “C Template Library (CTL)”: https://github.com/glouw/ctl

- “Klib: a Generic Library in C”: https://github.com/attractivechaos/klib/
You know there's a popular school of thought that basically says, "Thinking you are better than people leads to bad things", or at the very least people thinking you are an asshole and not wanting to be around you?
I recently cancelled a NowTV subscription because of the unskippable trailers at the start of each programme.

For free to air TV I only watch, and it's very occasionally these days, shows that I have recorded to PVR where I skip all the adverts.

I avoid sites with pop-overs for newsletters or animated averts whenever possible.

They're not a "distracting vase at the entrance" they're a "crass man who steps into your path whilst screaming in your face".

I don't know what business models such sites should adopt but I do know that things that invasively take control from me or try to break my concentration, if only for a moment, are things I find deeply unpleasant.

That might say more about me than the advertising industry but there you go.

I'm grateful for sites like lichess and the stance they are taking. It's lovely and quite.
There was a paper with stats from Google Chrome, with over a billion of image sampled, saying 90%+ of image on the web has BPP over 1.0. And the median of image BPP is between 2.0 to 3.0 depending on image dimensions.

I keep swinging from one side to another, on one hand I want image size to be much smaller ( HEIF / AVIF or better yet, something based on VVC ) BPP 0.1+, on the other hand a 500x500 image is only 32KB at BPP 1.0 with JPEGXL.

Right now I am mostly alining to JPEGXL because I think AVIF or others Ultra Low BitRate format are sort of over optimising, not to mention JPEGXL decode faster and uses less resources. So it seems to be the most practical one.
But what is it good for, if it does not improve performance? For example, increasingly larger and larger part of transistors on a chip is unused at a given time, due to cooling issues.
And that's assume a genuine video that isn't doctored. Just a few months ago the Queen of England was on national TV dancing on her desk.
To be more precise, there will be a short term spike in inflation in 2021 and 2022, it will be short term precisely because the source of the excessive demand will also result in more supply over the long term and therefore prices will fall over the long term again averaging to less than 2% inflation. If the inflation rate ends up staying up over the long term then the Fed gets to play the hero, which is something it was waiting for since 2008 and perhaps since the dotcom bubble.
Your browser is the entity transmitting information to ad networks, your browser is obeying instructions from the website instead of obeying your instructions.
>You can help discourage further such campaigns by making sure that they don't achieve their stated goals.

Holy Elon, you're the biggest manchild I've seen on here in a while. How can you get so easily offended?
Yeah that can be done with BrowserFS - probably among other ways
https://github.com/pyodide/pyodide/issues/613
Hi Avinash,

I would like to see the Estimate, Time Estimate and Time tracked for each issues. As well as i would like to Reply for each comment for an issue like how we reply for the comments in Social media or other platforms ( Example : Linkedin )
Back in the day, my grandparents told me people get killed at rock concerts if they get caught in the moshpit.

This reads at a similar level of credebility. Compate the footage from the capitol with footage of Ukrain protests back in the day.
Or maybe that’s how consensus work in general. There’s some proposition or statement that are truthful in the end, but until it has been orthographically formatted, individually verified, and/or accepted by the majority, remains unproven.

So you might know something for a obvious fact, like “hey it’s raining”, and you might be objectively right, but it could be literally not-a-fact until at least everyone in the room also agrees.

Some security researchers might “just know” the OpenBSD security is “duh, ha ha”, but until someone formally compose it in a text format as “OpenBSD security is overrated”, they don’t necessarily has the words to put it together. And once it has been written down, security sub-community would agree, and the greater software engineering community then has to verify the phrase and the agreement process within the security minded, and only then the phrase can become a “well-known fact that everyone knew about since forever”.

But I think that’s how facts and consensus work.
Profiling site speed with the Chrome DevTools Performance tab
Which happens because you run non-free JS code: https://www.gnu.org/philosophy/javascript-trap.html
libavif (and the libraries that back it) have a speed parameter to control the CPU/quality tradeoff. Have you tried tweaking that and seeing if you get acceptable speed?
Nice looking tool.

Is there a way to search for functions in C (other than printf!) whose return value is ignored at the call site?