skysight-inc/HackerNews huggingface dataset:
Yes, just use. The fact that less common edge cases exist doesn't undermine the solution. The example in the article was example.com and api.example.com, the most common setup imo.

> What if the API is shared between multiple domains? Do you need to reverse proxy it everywhere?

It would depend on your specific setup. We use a single nginx server entry to proxy many domains.

> What if it is a public API for third-party sites?

Then this approach would not be viable.
Ask HN: It's always the people isn't it?
I'm in this line of work for almost 17 years now and having yet one more of these days where I'm measuring how much time I am in my current company to see if I'm ok to start looking.

And I remember that every single time I wanted to run away from a role/company/project the main reason was always the other people in and around it. Personality incompatibilities, to put it gently. Ar$eholes to put it right.

That kind of stuff dissolves teams, burns people out, drives people out, wrecks projects and companies.

I'm curious. What's your view on this? If my view is valid then it seems to me that we have been discussing technology (e.g. which prog language is better for a domain) only because we cannot address the elephant in the room - aka peopleware. And if that's so then in large part a lot of what we do is effectively losing battles.

Thanks
Only if you consider that the machine should act like a human player. We can definitely build machines that beat humans in both tennis and soccer every single time.
Avoiding direct conflict is if TW aquiece to blockade. Direct conflict is if TW/US tries to run/break the blockade and triggers direct shooting conflict.

That said, blockade is legally act of war already, but in context of (also legally) ongoing PRC-TW Chinese civil war the point is moot. There's already conflict, but PRC will likely start with "quarantining" break away province through police actions by asserting control over inbound and outbound traffic (air and sea), most likely via coast guard doing the enforcement with Navy as backup. TW could either accept public loss of defacto sovereignty and PRC would likely ensure continuity in most traffic to island, i.e. life goes on mostly normal and maybe such arrangement becomes a workable status quo short of war. Alternatively PRC can salami slice quarantine into proper embargo/blockade - prevent transit of goods like weapons, food, energy, imports/exports, passenger flight to pressure TW into political reunifcation process over time. Then it's a matter of when/if TW/US challenges, after which the conflict will escalate to whoevers willing to bear more costs.
The $9/h is obviously click baity, by itself it doesn't mean the software was malfunctioning.

But it highlights a general policy of outsourcing to the lowest bidder. This is generally a symptom of badly managed company placing spreadsheet profits above everything and seeing product development and Engineering as a cost center, which given the current Boeing situation, is quite telling.
I assume you're not familiar with the developments in the space, like the growth of stablecoins ($20 billion to $140 billion in two years) and their proliferation across numerous domains and developing economies.

This is extremely consequential to US national interests, as at the moment, the USD is the primary collateral backing stablecoins, which means that stablecoins could usher hyper-dollarization as a result of their ability to extend the USD's reach to all corners of the world.

More generally, a free market generally works better than the government dictating, on the basis of centralized binding judgments on what is useful, that particular technologies cannot be worked on.

The former is consistent with US values and the latter is the province of top-down controlled societies like the PRC. The latter lacks the humility to acknowledge that you may not know everything and you may support the wrong centrally imposed plan on other people.
I'm a fan of both, but one thing I've noticed RE: Fellini vs. Godard is that Godard's films are much lighter, more "breezy", and easier to watch. This makes his work feel more modern to me.

Fellini, in comparison, has always seemed quite heavy and serious, even if the plot and subject matter is frivolous.
I am trying to follow ycomb guidelines, and assume the best intent here, but there is just so much wrong about how you view scientific research, and play, and hobby, and learning, and duty, that after rewriting my reply 3 times, I cannot imagine you're not trolling.

If you're not trolling, you need to seriously step back, and think about how play=learning, how any scientific research=benefits us all.

Going to Mars is not good?! A waste?! There is so much wrong with this thought alone, so much broken logic, that it is horrifying to me.

A project such as going to Mars, will yield immense scientific research and output, benefiting humanity as a whole.

Just the r&d into material research alone, engineering, will benefit endless other disciplines.

It as if you see each thing as siloed, as if doing thing x, has zero benefit to y.

I wonder, do you employ this same logic for yourself? That is, you have no hobbies, nothing but work, and spend every moment working?

If you were a farmer, feeding thousands, would you be upset if you make bushes shapely at home, if you planted decorative plants?

I literally cannot view your comment in a positive light.
> if it doesn't get you to the point where you can run the marathon on the day that it happens.

Doesn't the same logic apply to the training system that we created based on time until the marathon? Does the existence of a deadline guarantee success of a training system?

And, doesn't any training system increase the number of miles consistently? Because, if I am to run 26 miles, any training regime should make me able to run 5 before 10, 10 before 26.
If you think that an unsafe binary is safe if you run it in docker then I challenge you to run, on your personal computer, this program in docker:

https://arstechnica.com/information-technology/2022/09/new-l...

use this picture in a hexeditor:

https://cdn.arstechnica.net/wp-content/uploads/2022/09/shiki...
I’ll controversially go a step further and say we need to even begin requiring this via regulation for certain applications, at least for those that involve the personal or financial data of customers. From working with security at a large tech company, it’s abundantly clear that C/C++ should not ever be used for processing sensitive information (it’s fine to keep around for high performance computing or processing non-sensitive data). There are just too many people involved in making codebase changes and too many potential errors to be made. Not every company has the resources to devote to an in-house static analysis team.

We have all sorts of regulation in other industries to protect consumers, and with so much of our economic infrastructure dependent on the security and integrity of information processing, it’s bizarre to me that we’re still using programming languages with severe deficiencies for these purposes.

Will there be performance hits, cost hits, and inefficiencies introduced by requiring safer languages? Of course. But I see that as vastly preferable to the dangerous state of cybersecurity at almost all companies.
*yet.

Also used to be true for chess.
Just curious re salary; did you notice a difference when you moved south?
If you are deeply convinced someone is a cheater why not come out with a proper, official statement? Resigning like this is immature and ridiculous.
This is a common fallacy imho that if I am a good dev, I can easily cross-train.

I have been writing C# almost exclusively for around 20 years and I am still learning tricks/tips/gotchas and not just for new language features. That is why my experience is important. Even in something like Java which looks very similar to C#, it takes a long time to work out what works differently, good patterns and idioms, the correct libraries that everyone uses for stuff etc. even when I know what I am looking for.

When I looked at Rust, I got some of it because I have previously written C and C++ and didn't have a problem with the concept of pointers or references but it still took me several weeks to get a basic example working and I had to ask on a forum in the end.

So yeah, not easy!
Hah the right side (on desktop) of that page shows what kind of "news" site this is... Pfizer vaccine problems, Clinton pedophile-ring.

Also the poster's account co-opts the name "BBC" and the profile is "Comprehensive up-to-date online news coverage, we provide you online trusted world news,as well as local news.Breaking News, Latest News and Current News from www.newsbbc.net". So, hello fake news bot!
More context: https://old.reddit.com/r/LivestreamFail/comments/xii9dz/cham...
I think Carlsen's reaction is absolutely correct. He is just telling everyone "I think this is a cheater, and I won't play with cheaters". What's the problem with that?
It can be. Being professional doesn't mean being good, it means doing something for money, and there is money at stake in some online blitz tournaments.

One important question is whether Niemann has cheated in tournaments with prizes or "only" in ladder-type games (he's only admitted to the latter as I understand)
its hard to prove. lets say you played millions of games, you deeply understand how a human mind plays chess but you can't write it down you just know it because it is your art and you practice it everyday for the major part of your life.

How do you explain to someone else this conviction?
Almost everyone (except some businesses who used legal) I knew used pirated MS Office until about 2010. Most of them are using LibreOffice by now. MS Office is getting increasingly rare.

Nowadays I would buy MS Office just because it looks eye-candy but they have seemingly abandoned selling classic Office versions. I absolutely refuse to use software that requires me to sign-in with an online account.
The guy from "Stuff Made Here" builds all sorts of sports machines: a gun-powered golf club, a basketball hoop that's impossible to miss, etc. I think he would be able to make a tennis playing machine that aces every single service shot (if he's not working on that already! ;-)
This is a very uncharitable opinion that’s pretending to be a summary of a complex situation.

Follow discussions on r/chess and people like GothamChess, PowerPlayChess. Facts and very little speculation.

Evidence is needed.
The online cheating occurred more than 2 years ago. The analysis covered the past 2 years.

Not that hard to reconcile......
Then again I would put less than zero credibility to entity that has financial investment on the accuser in this case. Ofc, they will tow that line.
Celebrate in private, but pretend to investigate and be concerned about values in public like the drone program. Narratives like this is part of the propaganda.
Sorry but that’s garbage. You either have evidence or you don’t. You can’t just say: once guilty always guilty and be fine with that.

I find the general holier-than-thou self-righteous attitude expressed by most armchair commenters extremely off putting.
Married to Sarah Koenig when?
If there's any cheating, how could Niemann himself not be involved?
If you're ever at EPFL or near Lausanne, there's Musée Bolo as well. Probably smaller than this one, but free.
Jpeg bitrot 2.0
You can still use the alternate € 0.49 or € 0.99 tiers.
That'd be really funny. Chess then became all about making a good move, but not too good, lest it may accidentially match with a chess engine and get you disqualified.
The meta would then to put the opponent in a spot with only one viable move option: They either get disqualified on the spot, or slowly suffer because they now lost an important piece.
I was never really good at chess, but even when playing async games with friends over gameknot(?) I'd often used the "if opponent does X, do Y" feature because some moves were just obvious.

Also, from what I gathered, you can instruct most chess engines to supply you with a list of moves for the current board state. So instead of picking the best move all the time, pick another good enough move to avoid your suggestion.
> BTW, she's not merely a friend - she's his relative.

I don't know that she is. She describes herself as a family friend. Her brother was friends with Adnan. I'm sure they now all consider themselves "family", but I couldn't find any statement declaring blood relation. Perhaps in her book she goes further than I could find on the interweb.
Wow cool.

This really makes me want TUIs for many other clis.
Where in the Constitution does it say that the First Amendment only apply to citizens living in the country? It does not. Within the US, China or its representatives have exactly the same First Amendment rights as anyone else.

The First Amendment is broken, unfortunately, and the result is that a fire hose of paid, anonymous lies drowns out hard-won truths.

Don't get me wrong - the Framers were brilliant men, but two hundred years have gone by.
I tend to disagree on no other basis than I've found python 3 to be a lot friendlier to use than python 2. Also, a number of scripts I have operate quicker under python 3, not by a lot, but its still a small win.
Don't stack your rabbits. That's how you end up with extra rabbits.
Nice!!! Thannks a lot man :)
This has been answered many times. He probably has deals regarding what kind of public statements he can make for a while, in connection with the sale of his company.
https://www.ft.com/content/6db3ca59-6495-47e8-8885-3f90c4090...

> The bill would also require the White House to impose sanctions on at least five Chinese state-owned banks if the US president determines that China has “engaged in a significant escalation in aggression” against Taiwan, such as a blockade or the seizure of its outer islands.
"Dr. Regan analyzed all of Hans Niemann's games over the last two years."
Ask HN: Have you ever learned a technical topic successfully from eBook?
Like computer programming, mathematics, engineering
No. Sam Gross’s PoC included a number of optimisations besides the gilectomy. It were those optimisations that made it faster, while the GIL removal slowed it down again; so only the optimisations were implemented.
They have given zero evidence. They haven't refuted, merely disputed.
Pinning it all on the people can be disengenious in my opinion. Remember, you are going to be one of those people for somebody else. We cannot forget either, that people are heavily influenced by their environments, even moreso in the workspace. So, I think it's perhaps better to analyse the environment that causes people to behave in these ways.
Thank you for that compact summary of the state of the world. I completely agree. Reading those 12 simple points was like doomscrolling, except I didn't even have to scroll, which feels so efficient!
MEGA65: The Next Batch
Old man is getting older.
News at 12.
Some of "Sam Gross’s proof of concept" was implemented of which the GIL removal was only a part. The rest was performance improvements.
I'd say that the people our (European) governments are spending most of the tax money on aren't necessarily the biggest users of Apple hardware...
I find that the more languages I learn, the easier it becomes to switch between them.

Each language's syntax depends on the design choices of that language, and the wider your knowledge, the better "feeling" you have for why does a language use a certain syntax, and switching between them starts coming naturally.
>now calling for him to be expelled despite having no evidence whatsoever.

Considering how Carlsen has not made any public statements about the matter how did you get to this?

But true. There is no evidence, but there is quite a lot of suspicious activity around Niemann if there wasn't this wouldn't be a story.
12, 16, and 19 are worlds apart.
I guess the simple answer is the largest number makes for a more exciting artical. And how many journalists actually know and understand the details anyway. I do wonder what the actual amount of hard cash that was lost was. I guess five hundred million dollors lost in confusing crypto project in a land far away is not as snappy as $43 billion lost.
> The "safe" solution recommended by the rustaceans was to use integers as references to the data in a vec or hashmap

This is not correct advice; not sure why you've been given this answer.

There are a couple of solutions.

1. you use a data structure (library) that returns you a handler, which can be an int, but it's not an int as in "position inside a vec" (index), but a symbolic reference, whose management is deferred to the library.

You can't use an index directly because if a position is freed, then taken, you will hold an invalid reference (int).

This is a handy solution, convenient to work with; if you do something wrong, you'll get an error from the library.

2. the manual solution is to use strong/weak references, which are quite ugly to use :)
M-Pesa exists: https://en.wikipedia.org/wiki/M-Pesa

Crypto/Bitcoin is frequently touted as a solution for banking the unbanked. But the transaction fees alone make the technology useless for that. Existing solutions like M-Pesa are widely adopted and work. They don't even have to make up new currencies to use it.
A very easy way to do it would just be to serve the ball at > 400km/h. It's unlikely that a human could accurately return a ball at that speed more than 50% of the time.
At a glance an iPhone seems like one of the worst general purpose computing device for the global poor so in this case it's maybe not that big of a deal.
So he’s a kid exploring what he can get away with?
They are different in important aspect - in OOP, conformance to an interface is defined where the class (new type) is defined, while conformance to a type class can be specified independently of type or type class definition.

This is really important for interoperability. With type classes, I can say that type (class in OOP) from library A conforms to a type class (interface in OOP) in library B (without A knowing anything about B), which is impossible to do with interfaces.
you still need to have a whatsapp account?
The ability to quickly answer a question is related to knowing the answer. The school system teaches students enough facts ("When Boston has been founded?") that the idea of a quick known answer sticks.

Certainly most interesting questions don't have a known answer. Some have answers that can be quickly inferred from known things; the ability to quickly come up with such reasoning chains is also prized.

But a lot of more interesting.questions can only be answered after some thought and consulting with sources. For many people, receiving such a question from a beginner is uncomfortable: they and onlookers expect beginners to ask simple questions with well-known answers.
> You check in, sit at the gate. At 2:40pm you are informed that, sorry, the plane isn't actually there yet. It's still on route.

This is pretty much what regularly happens.
> There is no permissiveness here.

Shall we permissive against people who cheated, or who admitted to have cheated?

If this is permissible, or even acceptable why we have a word for this?

Note: Consider this as a meta question. This is not related to Hans or Magnus, but to humans at large, incl. me and you.
> gcc-rs splitting the Rust ecosystem into two; the current npm-style crates.io ecosystem and a more destro-centric properly vetted package ecosystem

Has there been discussion about this here on HN or an article about it you can point me to? I'm very much interested in exactly the same thing.
Anecdote: the creator of the biggest poker site ever made (Pokerstars) is also the creator of the chess.com platform.
Tell-tale signs of fake agile
His analysis is on games in the last two years, and Hans' admitted cheating online is before that.
https://www.areweguiyet.com/

Until rust catches up with some meaningful feature set that Qt provides starting a GUI project in rust is probably going to be painful.
> You can't tax a company you hate higher unless you make the market closed,

so it's okay to substantutivaly reduce their tax burden as done today but not to increase it because that would mean a closed market?

> Fining a company also has a negative consequence as it makes less rewarding for small company to grow

There's so many more differences than just 'fines', I don't think you can draw that simple a conclusion.
This is because you have forgotten to return a `Vary: Origin` header in the response. If you don’t do this, caches will presume the response is the same regardless of the Origin header in the request and so you will get the bug you describe.
I think the important bit is the "last two years". Niemann has admitted cheating like 5-6 years ago.
How can one even cheat in chess? When I was a kid we used to distract the opponent and move some figures as he didn't watch. Apparently this is not the case but I can hardly imagine another way.
I think the best is just to listen to videos of Demis Hassabis (Lex Friedman interview was great as well).

He loves to talk about how much it shocked the go community when AlphaGo created new moves / strategies that humans could learn as opposed to just brute force search algorithms. And of course it translated to chess as well somewhat.

https://www.fnac.pt/Game-Changer-AlphaZero-s-Groundbreaking-...
Legacy software or technical debt doesnt have to be a rewrite sentence
This is a terrible mythbusters way to test a hypothesis. What’s the variance and how many samples are needed for say 95% confidence in disproving null hypothesis?

WCC is a dozen+ rounds. Even then if you were watching it in the 9th game, it may appear the one player is stronger than the eventual champion.
How can it be someone from his own team? If someone from his own team leaked the prep to Niemann and Niemann prepared against it, that isn't even cheating on Niemann's part?
I am not married, bit since living with my partner and she managing many aspects of daily life I am definitely more productive when I want to. I do contribute that to her.
> Right, and my point is that it's not free as in beer.

But it is. Being free as in "free beer" has nothing to do with being or not being public domain or copyleft.

Public domain or copyleft refer to free as in "free speech".
At your stage I think switching too much can be detrimental. You are still learning and getting familiar with both the craft itself and the languages.

The same goes for tooling, frameworks, and libraries.

You probably want to have extended deep focus on as few "things" at a time as you can afford now, given that you are experiencing issues.

Look up spaced repetition and other techniques - IME much of what goes for learning human languages apply to programming languages as well.

Just like it's counterproductive to start taking beginner classes in French, German, and Spanish at the same time... Get to base level with one and then adding more gets a lot easier.

Over time, as you get practice, code switching will become second nature, especially if you do it more. I might be even advice more senior devs to do more of what you should do less of right now, if that makes sense.
Absolutely. That’s why I’ve never been able to follow or watch any sport. Except maybe Ronny Sullivan playing snooker? Anyways the point is I have never been able to appreciate the value of sports as something you watch.
It's no easy feat actually getting on the phone with a lawyer, like making their phone screen, both messages the call would be recorded, the redirect, not easy.
Yes, but you can still loan people money to train to become truck drivers.

You can even enter into agreements with them, that if they pass you must employ them.

There's no need for an agreement tying someone to an employer. Such things are very dangerous, since it has the potential to give the employer very great power.
What would you have wanted?