skysight-inc/HackerNews huggingface dataset:
And in time, Cloudflare will be what Google is now. Better stay away from them, so we don't end locked in, like we did with Google. They will start using their role as the internet proxy as a lever soon, prioritizing the sites they like and slowing down the sites they don't.
Ask HN: The nitty gritty details of game matchmaking?
I'm trying to research simple but realistic matchmaking. A lot of references to elo online are brief tutorials about finding the two players with the closest elo then throwing them together.

However, if you play a modern game, that's not what happens. If you queue up for any FPS or MOBA, there's a waiting time, even if there's hundreds of other players on. The matchmaker is trying to find players with similar Elo in similar locations with similar map choices and probably prioritizes players who have been waiting longer. That's a lot of parameters to balance.
What is actually happening in that wait time? How does one go about deciding their parameters for when is too long to wait, when to keep waiting for potentially better matches even though you have enough players to start a match, etc.
Then how is that actually implemented? Do I just block my mm server for 15 seconds in a loop and keep rechecking for "good" matches according to my parameters? (I am a hobbyist amateur, if that wasn't clear).

Interested in any tutorials, books, or research papers.
But why not just use a normal JS engine called from Python?
I enjoyed the Selfish Gene but found the God Delusion crass and superficial by comparison, a sign of an expert in one field overestimating their ability in another.
It is literally clear as literal mud
I didn't downvote, but I don't think esprehn is being unfair. Their comment is very informative. They didn't argue that what was implemented is not an interpreter, they did explain why it's not a JavaScript interpreter and not even an interpreter for a subset of JavaScript. It's just a special purpose interpreter suitable for YouTube's code that cannot be re-used for any code that uses the subset that it seems to implement.

It's not pedantry (or I'm pedantic). It's a reaction to the title that can lead people to believe that a complete JavaScript interpreter has been written in less than a thousand lines of Python. This reaction is perfectly understandable.
I don't think that was at all what happened.

I'm a Swede, so I'm slightly disconnected from American politics-- to me the people that are shocking or must be loved or anything else in American discourse are much less shocking or to be loved, basically, everything I feel about American politics is very strongly muted; and in the past I haven't had any conflicts with the Americans I know-- they were all pro-free speech, I think. Certainly, the idea of them supporting large-scale censorship by gatekeepers controlled by powerful individuals like billionaires or the political establishment would have been unthinkable.

However, in the years after the 2016 election they all flipped completely. From my point of view they became dogmatic, insane and willing to do things that I saw as long-term self harm, or at least creating a situation where they made themselves helpless to protect themselves in the long term.

They also ended up very strongly anti-Assange because of a feeling that Assange had helped Trump, even though they from their previous views would have been likely to support what he did.

I have a vague feeling that there's been some kind of major propaganda effort whereby only official views are to be regarded as acceptable and that's it's related to the big internet companies. There is some public information on efforts in this direction in the context of preventing spread of non-official views-- called things like efforts at 'anti-disinformation'.
It’s not the best, far from it, but it was fascinating to me so I will share.

I used to work for a large newspaper. Engineering wasn’t the focus of the business, it was only a means to an end, it was just something they needed to have a competitive website. As a result, the churn rate was very high. But more interesting there was also a very high return rate. Engineers would come and go and return and leave again all the time.

As a result, the code base was a path work of various engineers with various skill level, different directions by different heads of engineering, repurposed old projects, legacy code and last minute additions by urgent request from the editors, among others.

The part I was most familiar with was what I can only describe as a sort of next.js but unlike it, it wasn’t planned or designed but rather it sort of grew organically over the years.

The fascinating thing to me was precisely this phenomenon. Some projects have a clear design and purpose and are built so from the start. Sort of like a building or a mechanical clock.

Others just evolve over time, they change, mutate, evolve, incorporate other bits. More like a biological organism or perhaps nature taking back a derelict settlement.

At first as you can imagine it was difficult to wrap my head around it. But in time, I started to see the beauty in it. It had historical bits. There was code written in 2010 that ran in 2020. Others you could tell little habits of the writer. Not everything gets stamped out by the linter. There was this guy who wrote “class ClassName extends React[“Component”]” - I have no idea why but I would run into code written by him and immediately recognise, ah yes, that’s that guy.

It’s certainly not an example of a good code base, but to me was interesting being able to see the code as a living organism with a history and fingerprints of it’s creators rather than a well designed machine.
I'm trying to get the thread model here. Is the concern that Youtube will inject JS into the payload which tries to break out of the youtuble-dl js sandbox using some zero day in whatever js engine they would use instead?
No, we're not. I believe the movie is just ridiculous in a very fun way. The other side claims that in addition to that it has subtle propaganda that promotes a Hindu nationalist agenda.
Many content on that website is straight up ridiculous claiming shit like gcc, any format, everything more complex than a rock basically is harmful, so I’m not sure it helps your case.

But I can agree with the Carmack quote, but that in itself doesn’t contradict OOP’s supposed benefits.
I evaluated it with my Pedantic Interpreter which only results in the `pedantic` token.
I'm thinking yes to battlefield nuclear weapons. Nothing bigger then that.
SpiderMonkey (Mozilla’s JavaScript and WebAssembly Engine)
Expand your perspective: What does scroll bar mean when you have no intention of ever scrolling all the content?

"Infinite" scroll isn't breaking anything, the content all broke scrolling inherently.
Best Software for Fighting Procrastination and Internet Addiction
Sure, you can roll with this definition of 'censored', but it makes the term almost meaningless.

Would you describe HN as a "censored" forum because they engage in moderation? Even 4chan doesn't allow child porn, would it also be accurately described as censored?

Generally, when we refer to a platform as 'censored' we do so for much stronger reasons than "they've banned a few users/customers in the past".
yt-dlp sometimes doesn't know how to evaluate the javascript / emcascript and will call out to an optional dependency, a real javascript interpreter, if installed.
My first experience with Zoho was their Zoho mail when working at a small (2 people) civil engineering firm.

At first I was turned off because I was used to either Google Workspace or Office but over time I got used to it and we started using more and more of their suite of products. It was really great to be able to add what we needed over time and not have to find multiple different vendors.

Our focus was the civil engineering work so administrative tools like this was just something that we needed for decent cost and to work. Zoho provided that.

It's amazing to see where they have come. Hope they keep growing and refining their product suite.
You're probably better off using adb. (Which does have its problems, like not handling copying directories well).
Embedding a whole js engine and then interopping with it from python would be non trivial. Good luck fixing any bugs or corner cases you hit that way. The V8 and spidermonkey embedding apis are both c++ (iirc) and non trivial to use correctly.

Having full control like this +simple code is probably lower risk and more maintainable, even if there's the challenge of expanding feature set if scripts change.

The alternative would be a console js shell, but those are very different from browsers so that poses it's own challenges.
The poster seemed quite clear in their view that any restrictions on free speech at all were a bad idea.
And if not, the whole debate, as others have noted, is just one about where to draw the line(s).
Personally I'm happy to live in democracy where we can choose between potential governments who may wish to draw those lines in different places.
> Korea is starting to sweep the Oscars, Emmy's, and Golden Globes.

I don’t think Korea won a single award at the Oscars this year. They won a single golden globe and two Emmys. It’s just parasite and squid game, so far. They are very far from sweeping the award ceremonies.
First (Micro SaaS) Acquisition
It is a very unergonomic choice, though. Having warnings you can allow during development and deny in CI is the best of both worlds.

Otherwise it leads to absurd situations where some code gets commented to avoid errors caused by unused things, which defeats the point of the lint.

When coding in Rust, I extensively use warnings as a way to know what remains to be done before my code is done.

Treating all warnings as errors all the time so as to address people who would ignore warnings is overtailoring the language for beginners at the price of ergonomics for experienced programmers.
In quantum information theory the ability of Alice to instantaneously change Bob's quantum state (and hence measurement probabilities) is referred to as quantum steering. No information can be sent, but the influencing effect can be defined and observed. Steering is distinct from both Bell-nonlocality and nonseparability. See, e.g., [1] and later papers.

[1] https://arxiv.org/abs/quant-ph/0612147
> If the poster is saying that "no one should tolerate any person who is intolerant", by definition, that includes themselves. The poster has waived their own right to tolerance from the POV of literally any group who views said poster as "intolerant" according to the very principle they are advocating.

Here’s an analogy. Group A says “violence is never ok”. Person B says “No, it’s ok to beat the shit out of someone if they say something you disagree with”.

Group A proceeds to beat the shit out of Person B

Two things are true. Person B has nothing to complain about. Nothing happened to them that they didn’t say is acceptable. Also, Group A doesn’t believe the thing they said they believe.
The Eton Notes app is just a way to show what the download/install UX looks like when combined with a Compose app. It's mostly just a mockup with no real functionality.

Yes, for transient apps that are only used occasionally or where the user isn't committed e.g. social networks, the combination of sandboxing + no integration/unintegration steps, automatic deletion from the cache etc is really useful. Of course there's no rule that says only web browsers can supply these features. Other kinds of browser-like thing can do so too.

It's also worth thinking a bit outside the box. Although we claim web apps don't have installation steps, that's not really true most of the time. The lack of any explicit integration step ("install") means the browser doesn't know if the user values anything they do on the site. So you have to provide data persistence, and that in turn means you need a signup / account creation flow. It also means you're on the hook to store, replicate and back up any data any user ever creates, even if they only used it once and then never return.

Well, a lot of users really hate creating yet another account, especially if they aren't committed yet. It's tedious, they think you'll spam them with marketing emails and they're probably right, plus they don't want to make another password. Or they make one, abandon for a year, then can't remember how to log in.

You might think that's so fundamental it can't be any other way, but it's really just a side effect of how browsers have evolved. Think about how you might do demos outside the browser. You could just have a trial mode where the app spins up a local in-process RDBMS like H2 that writes the data into the app's private data area (on Windows) or home directory on macOS/Linux. No accounts necessary - just one or two clicks to download+trigger app install, and you're done. If/when the user decides to graduate, then they create an account and the app uploads the data from the local DB to the real remote DB. If they abandon it and don't care, it's not your problem, it costs you nothing. If they run low on disk space the OS will suggest they delete old unused apps at that point and you'll get tossed along with the rest.

Mostly though, this is about making developers more productive. If the primary determinant of your success is feature throughput and not shaving a few seconds off your onboarding, e.g. you're making specialised apps, internal apps, enterprise software, then optimizing for better dev environments can make sense. Installation just isn't that bad.
esprehn didn't say it isn't an interpreter. They're saying it is an interpreter and what it's interpreting isn't (all of) JS. That's also what you're saying, so you're agreeing with esprehn.

Edit: You misunderstood baobabKoodaa in the same way. Nobody is arguing about what constitutes an interpreter, except you. The question is what language is being interpreted.

Before accusing someone of pedantry, it would first be good not to completely misread them.
I must admit, I've never visited KiwiFarms, so I can't defend the contents of the site even if I wanted to, but I still think it's a weird framing to suggest 'KiwiFarms is against free speech because it supports killing people, and dead people can't speak'. That's like saying that Jack the Ripper is famous for not supporting free speech.

If (as a hypothetical extreme) you believe that KiwiFarms (the community and/or the site) is "specifically dedicated" to killing people (via swatting or suicide), then you should make that case clearly, and explain why the forum rules and moderators made efforts to prevent violence (though I accept they could have done more to prevent it).

A more reasonable claim would be that KiwiFarms was "specifically dedicated" to harassment of certain people, but I still don't think you can say that those people were targeted specifically because of their speech. (The fact that people were targeted for non-speech reasons doesn't make the harassment any more acceptable though, of course).

Even more reasonable would be to say that KiwiFarms (if I'm not mistaken) was "specifically dedicated" to discussing and insulting certain people and communities, whose actions and lifestyles they disapprove of. However, the fact that some members approve of harassing those people could be more a symptom of lax moderation rather than actual malicious intent on behalf of the moderators or community as a whole (not to mention the possibility of false flag accounts).
Sneakers is in a league of its own.

We've been desperate for more films of this type and quality ever since. Mr Robot was the only thing that came close in the first season.

There must be a bunch of obscure B movies containing authentic tech/hacking/social engineering methods that just fly under the radar. Anyone know of a list?
My own - hell is other people’s code.
Interesting stuff. There’s org anki for quick card creation with bidirectional sync. I’ve seen someone adapt org-drill into an incremental writing system. Finally org noter is an amazing complement to an incremental reading system.

Sorry, on mobile so no links.
AWS Beats GPT-3
Ask HN: What's the best SDK documentation you’ve ever read?
Finding a good sdk is hard.
Finding a well documented one is harder. Would love to see what you consider as the golden standard for documenting sdks!
What if Stable Diffusion generates those images ? :-)
> mobile-optimized reddit without audio ads

I don't know if you've tried it already, but https://i.reddit.com might fit the bill.
https://en.m.wikipedia.org/wiki/Pruneyard_Shopping_Center_v....

It's not that simple.
Sales and engineering are arguing again
> Even the small interruption of clicking Load More might make users consume less content and cause them to switch tasks.

In other words, infinite scrolling promotes addictive behavior.
More info: https://analyticsindiamag.com/amazon-unveils-new-ai-language...

Repo
https://github.com/amazon-research/alexa-teacher-models
This is a trash article. It's basically a top-level PR guide for denial of responsibility for corporate bad behavior.

People are absolutely addicted to their phones. It's very easy to see: just take it away for a paltry amount of time. Sometimes minutes is all it takes.

The top revenue app-games are all a litany of sunk cost fallacy, gambling dopamine payout ratios, and false identity membership, along with dozens of other approaches to addict people. All without gaming commission regulations like Las Vegas gambling has.

These tactics are being used in completely unregulated form for children's games for all ages.

Social networks strategize and redesign for maximum engagement. What is "maximum engagement" look like? Yeah, that's called addiction, people.
You should try Covid.19 so it covers dash or space.
The Java standard library will forever be my baseline for “good.” Perhaps the C# beats it, but then the overall ecosystem of third-party libraries is such that it isn’t worth the slight improvements in design.

Node, by comparison, is a ghetto.
Funny how this stating facts as the (blank) contributes (blank)% of (blank). Can be either political correct or not depending what the (blank)s are.
Let's say they end up using Node. Node has a quite complete standard library that lets you access files and everything.

Now if they do it right and only embed some bare JS interpreter, it's still way harder to audit than these < 900 lines, for which it is quite easy to convince oneself that the interpreted script cannot do much.
Sounds like the codebase really was a living thing in a sense
The early Go standard library (before it was hyper-optimized.)
Censoring is a management decision. Your point about public companies makes no sense.
I don't use tiktok either way, so I guess you will be sleeping for a long time.

In case you missed part of my comment I mention the small detail of being an avid email user, but of course you needed to do some tiktok marketing.
Vox is just cookoo. Jacobin on the other hand is full on deranged.
File storage, block storage, or object storage? (2018)
Because federal laws and especially Department of Education mandates affect us.
maybe they build set and write script for movies ?
I love the Critical Drinker and I also loved this movie. I am not a fan of Indian movies usually, but this one was so good that it is really almost mythical in the way can tell a universal story.
What was to stop the NSA funding, creating, acquiring, or controlling CloudFlare so as to be useful for MITM surveillance?
A complete platform used by millions of people, and apparently has saved several lives as per this week's announcement, doesn't count as flagship, got it.
Because fork() was very simple and conceptually "easy" to do when it first was introduced, and is now massively complex and has huge implications on every part of the system. It's not compositional, isn't thread safe, insecure by default (inherits env/fds), and it's also slow with all the state it must copy. And at a conceptual level it doesn't work in environments where the nature of a "process" and "address space" aren't synonymous. For instance if your application uses a hardware accelerator (NIC, GPU, whatever) fork() isn't ever viable or sensible, since the hardware resources can't be duplicated safely. And it'll never work in a design like WebAssembly (just an example of this idea, but WASM isn't the only one), again "process" and "virtual memory address space" are not the same. Consider that posix_spawn can make reasonable sense in WebAssembly at a first guess ("launch this wasm module"), but fork() in contrast is much more difficult when it implies COW semantics.

The reality is fork() is pretty much exclusively used to launch new processes these days, outside a few specific cases. Today, it's a poor fit for that problem. And the answer is what Windows has been doing (and POSIX has now had) for a long time: explicitly launching processes by giving a handle/pathname to an executable like posix_spawn. That's the first solution, anyway; a better one would be more capability-oriented design where you have to supply a new address space with all its resources yourself.

This HotOS paper is a pretty good detailed coverage of the argument; I find it very convincing. If fork() went away, I honestly wouldn't miss it, I think. https://www.microsoft.com/en-us/research/uploads/prod/2019/0...
Smalltalk 80s entire source code.
Zig VP of community comments on Rust
Do they even maintain something resembling a backbone? A lot of these CDNs just use public transit for outwards traffic
i will unfortunately give you a half-assed response. Because the truth will take up a lot of time & space & is very inflammatory. So here's what I honestly believe - there are only isolated tricks. The ones who sit in judgement of us, like savants, and claim some sort of coalesced mastery of these tricks into some larger theoretical construct, are faking. They are good at faking, so we listen to them. They have better rhetoric, better optics. But beneath it all, it is a grab-bag of tricks. I worked with several professors. When trying to prove something they will start with their favorite trick. One guy was like - okay let me see if i can cauchy schwarz this. I'm like, why ? Why cauchy schwarz always? There are million inequality bounds. Why pester cs all the time ? He actually looked at me curiously then said I don't know I just have some favorite tricks it seems to work! Atleast he was honest. So that's the deal. If you probe deeply there are a few isolated tricks. They seem to work well. In reality we don't know why they work. But they do. Its like why do you not use spoon for spaghetti ? Why fork ? Ok you can cut lines into a spoon and call it a spork, but then you can't drink soup with the spork. So you reach for the spoon if you want to sip soup, use your fork for spaghetti. Don't try to design some universal theory of cookware. Just buy 1 spoon & 1 fork. That's basically all of mathematical statistics. Few tricks. They work. Why ? I mean who gives a fuck. Maybe bickel & doksum do but I personally don't.
> Making a pedantic argument on what constitutes an interpreter is silly. The title is bad. It is an interpreter.

It's not a pedantic argument. Based on the title I thought that somebody wrote something akin to V8 in 800 lines of Python. After reading the comments I realized those 800 lines just interpret a particular JavaScript function written by Youtube. Those things are different. Pointing out the fact that they are different is not pedantry. The title is misleading and the comments pointing that out are helpful.
The problem is that the mobile gatekeepers are generally in bed with the scum and ban non-user-hostile alternative clients from their store, so you won't find any good YouTube clients for example.