skysight-inc/HackerNews huggingface dataset:
"A visitor loads your webpage. They try to use the PgDn key to scroll through it, and nothing happens. You tell them they have to first click somewhere inside the page after loading it, being careful to not click on any element that will respond to the click. Then PgDn will work. Do you think this is a problem, and if so, how would you solve it?"

Yes, I realize the HN Guidelines say "Please don't complain about tangential annoyances—things like article or website formats, name collisions, or back-button breakage. They're too common to be interesting."

But good grief, the last I heard, I thought Google was a web company.

Isn't having a web page that Just Works part of that?

On to something more substantial (as if breaking something as fundamental as the PgDn key isn't substantial).

> Get insights about your answers. No grades, just insights about what you said. See job-related terms you used, your most-used words, and talking points you covered.

I am sorry, but this is really freaking me out. My job-related terms, most-used words, and talking points?

Maybe I should just call it a night and admit I'm not good enough for Google.
In Your Face – Visual Studio Marketplace
I don't even hear "break news" anymore. It just means "you are watching CNN".

The bigger problem with CNN is the excessive focus on attracting eyeballs. I understand the need for that, but CNN takes things beyond reasonable limits.

"The aliens have declared war on earth ... oh, hang on, we interrupt this program to show you an hour of Donald Trump riling up a crowd in nowheresville".
You know what’s not awesome? Buying a home in the last year or two of a housing bubble, having your home drop in value 30-50%, owing $150,000+ more on a loan than the house is worth, losing your job, and being unable to sell your home to move to another area for a new job without walking away from the house or coughing up big money at a closing.
Unity is in the process of achieving parity via Unity Visual Scripting.
Excellent news! The energy consumption required by proof-of-work blockchains is simply unacceptible, and it’s perfectly appropriate to adress it using new laws. Hopefully other states and countries will follow suit.
Am I the only one to think this is just a clever way to induce people into voluntarily disclosing more of their info to Google, so that a better user profile for ads can be built?
It's not that they want to control the person. They want to control what is sent to the competitor. There's a phrase "good fences make good neighbours". This is the history of industrial competition and cooperation. So we want to have cooperation and sharing which is what advances prosperity for everyone. But as soon as you share stuff people can abuse it. We see this with social network data. We see this with AWS abuse of open source. The practical way to have cooperation is to have sharing over which you have some control otherwise people will stop cooperating. So Shimano need some way of saying: We want to share this data with the user and with third party software companies. But we do not want to share this data with a competitor. At the moment there is no way to do this so they just do not share at all (or at least not with that "third party" software company). Shimano probably want to cooperate but they also want to be able to compete fairly. Right now it's not fair competition because SRAM are not sharing SRAM aggregate data with Shimano.
My answer: not as many by far as are/were wasted with various character encoding standards and the problems involved in converting between them. Fortunately Unicode is slowly making that a thing of the past, but brings with it new issues (combining characters anyone?)
It is mostly an example of the mindset that I think GP is trying to illustrate.

Go has nil where Rust has Option.

Go has weird not-quite-tuple returns & if err != nil where Rust has Result.

Go has no real enum concept, where rust has its powerful enums and matching constructs.

Go has generics, but only after a decade of pressure from users (and even then, they are much much less useful than Rust's type system).

I like Go and I feel very productive in it, but its commitment to simplicity is dogmatic in many ways and it very much is missing milestone advancements in PLs from the past several decades. It could easily have been made in the 90s.
And it doesn't work with VSCodium, which was the point.
Hydrogen and BEV charging can easily go hand in hand, too, as hydrogen charging station is most profitable with on-site electrolyzers (which nicely bypass huge chunk of transport problems).

And while this cartridge is not super useful for cars (my understanding is that hydrogen charging been already done to high usability level) it does increase options for disconnected operations that presently have to use fossil fuels.
being this Google, I suspect it's all a clever facade to induce you to give them more of your info. The end game is targeted ads, as with everything they do.
Makes me wonder if I could have made money when I used to write programs for Mu Online and other mmorpgs.

I remember one game which name I forget. You could buy gems. And it used some super old PayPal script. When you posted to the site it posted the data as a form value. So using tamper data I could buy $20 worth of gems. Change the post value to $1 and when it posted back to the game site change it back to $20.

Granted it killed the quickly because I raced to the top spending $100 for prob $2000 worth of gems.
Technicalities of the language matter with respect to laws.

To the second point, that sounds like a failure of the government to provide clean energy. In Los Angeles, we get 16% of our energy from coal and 28% from natural gas. I do not blame Bitcoin miners for this. It is a failure of the government to meet the energy needs of its people with clean sources.

Write legislation that mandates building new nuclear power plants or wind farms off the coast.
Why bring in people with no experience to judge that sort of thing? Whether evidence is convincing is not so easy to decide.

Invent a class of legally informed people who can be paid to think about such things and gather experience in it over time.

Sure, make them separate from the judges so it's not all one guy deciding.
Another crazy thing is requiring companies to document their "carbon footprint". Doing this will require an army of technicians and accountants, with every incentive to tilt the results into looking "green". And then what does one do with that number? Harangue the company about it?

Again, the simple, effective solution is just tax the carbon content in the fuel. If there's one thing the government does know how to do, it's tax things.
Dutch intelligence service allegedly uses Pegasus hacking software
It has been quite a few years since serious anthropologists or archaeologists considered Clovis the first North American culture.
The Texan sites that excavated hundreds of thousands of pre-Clovis artifacts from strata thousands of years before Clovis have been well-known for decades.

It looks like this site fell out of use for a long time immediately after the Younger Dryas bolide strike of BCE 10,816 that wiped out the Clovis culture along with 30+ genera of large mammals, including horses, camels, giant sloths, dire wolves, and mammoths, and deposited a layer of sharply platinum-enriched dust and soot.
I do a bit of arm development that runs via ssh build servers.

Do actually use VSCodium by default but still need a copy of VSCode to play nicely with all this stuff. It's a weird situation, I'd like to go full codium but it's just not possible in my case hey.
The way Rust solves this inconsistency issue is by having a bunch of builtin style lints, that 95% of Rust code follows. The key word here is builtin, as in, they existed since 1.0 and are enabled in the compiler by default. You still have to deal with different naming conventions, but they only exist when you interface with some existing component/API.
There is also TeaVM which is very fast and has both a js and a wasm target.
There is a much easier explanation: Disgruntled customers are always more vocal than happy ones.
I see a lot of people here saying something like "Just use Arc<Mutex>, it will be plenty fast".

As someone who does it all the time, I noticed that code becomes less readable and hard to comprehend that way. Important types stand much less out in function signatures once you have Arc<Mutex<InterestingType>>. Rust is already extremely verbose and adding additional layers to types doesn't help. Not even to mention that now every time you want to access the value you need to do dance with calling .lock().
I used to use YNAB, but they kept on jacking their price up, and I kept on procrastinating with keeping up a record.

Having lately used Google Sheets along with AppScript for other purposes, I think I would go with that.
You normally see the virtual thread’s stack.

Virtual threads are normally run on a fork join pool or other executor service, and can run on any OS thread in that pool. They are not tied to any single OS thread.

Yes, it is easy to understand in a debugger as support has been added to the debugger interface and to JVMTI, along with some
Useful JFR events. We hope that in the future structured concurrency will make it even easier to understand huge numbers of virtual threads in production.
I dunno, the laws of physics are working against smartphones here. How much lens can you fit into a device that needs to be thin?
That's competition.

Little stores have to sell better shit than big stores to be worth the money.

I see plenty of little stores that work where I live.

They have to be upmarket, but they work.
If you default to Arc everywhere, aren’t you essentially just implementing a slow GC?

This type of thing comes up of often when people try the language. They re-implement some part of a program, originally written in a fast GC language, and then wonder why it’s slower.

I feel like the power of the language comes through in specific workloads, or when you take the additional time to avoid naive code. That’s why it is so verbose and rich, it gives you more control. And this is something that advocates often clearly state.
> Such dogmatic views like “proprietary software is immoral” do not help anyone. You have a choice not to use any of it but don’t cross off people who choose otherwise.

Saying that proprietary software is moral is just as dogmatic, no?
Automated trading could help even the big players it seems.
I would argue that the meta-programming facilities that are in Rust are more expressive and can be used to implement things that are not possible in C++. For example embedded dsl and similar. There is likely some cases where templates can express something that cannot be expressed with generics though.
What is missing is some evidence (by which I mean ANY shred of evidence, not necessarily a full-scale research; could be circumstantial) that coders whose native languages lack the concept of upper/lower case ACTUALLY struggle more with this aspect of programming.

For what it's worth, we've had quite a few languages that only used upper case. Off the top of my head, FORTRAN or COBOL, but I believe it was pretty much the standard up until a point. Was it beneficial? Was there a detectable drop in productivity among programmers of Japanese/Korean/... origin once this trend reverted, and case-sensitive languages took over?

The article offers some food for thought, but objectively it does a better job riding the wave of current intellectual climate (inadvertently, perhaps) than producing a convincing argument in favor of the hypothesis.
> In async web frameworks you very rarely need explicit lifetimes, because the workload is mostly isolated - a handler gets an input from the request

Was going to post the same comment. Most of my hobbyist Rust programming has been via the Actix Webframework and I only run into the most trivial of borrow checker issues. I guess my projects are not complex or interesting enough :).
You may not have trouble using the VSCode extensions marketplace, but it's technically against the license to use it from anything that isn't the official VSCode.
This sounds an awful lot like what money in America has become.

An american rags to riches mythos and a small and decreasing class mobility asymptotically trending to zero looks more like caste than not.
> If you spawn new threads, these will be managed by your kernel. If that kernel is Linux, that it already has a pretty good algorithm to pause and restart them, so you're not really wasting a lot of resources.

Thread context switches are pretty expensive. If you use an async runtime such as tokio, all your tasks will be spawned on a fixed number of threads and you won't have any context switches on a task switch.
I feel like I need to shout out aseprite here: https://www.aseprite.org/

It's a really good pixel art tool, but I think their licensing strategy is particularly interesting to the hn audience. The tool is open source, but they don't distribute binaries for free. So if you just want to use it, you can buy a copy like normal software, but if you've got the technical ability to do so, you could just build a binary yourself from source. Always struck me as such a good compromise.
True, you can divide the editor into two (or more) splits, and also divide the bottom part (Terminal/Debug Console/Problems). If you're the type that doesn't move windows around often, that could work.
This feels like a common pattern. Languages like Rust and Go seem to pick up a lot of users from the world of dynamic languages, who then incorrectly associate the productivity gains of static typing with the specific language they picked.

A lot of programs written in Rust would almost certainly be better off being written in Kotlin. The one in the article is a good example. Why are they writing a messenger bot in Rust? That doesn't seem like the sort of use case Rust was targeted at. It's also a modern language with a lightweight syntax and pretty good static typing, great refactoring tools etc, but it's way more user friendly. There's no borrow checker because it's GCd, compile times are much faster (at least for the JVM version) etc.

You can also use Kotlin/Native or GraalVM native-image to produce standalone executables that don't need a full JVM, if that's a requirement for your use cases. The native images are astounding. They can start faster than programs written in C and their memory usage is also way less than a typical JVM app. Downside is of course compilation time but you can avoid that by just developing on the normal JVM and then AOT compiling at the end when it's time to release.
Just did it, thanks for the suggestion!
> WarThunder forum moderators quickly removed the post, adding “Materials related to the DTC10-125 are classified in China”.

Realistically speaking, what's the worst that could happen if they let the images stay? Unlike previous leaks which featured western military diagrams, I don't believe that there would be repercussions for disregarding Chinese law.
Is it a better strategy to have your combat opponent underestimate, or overestimate your specs?
Not the subjective definitions and technicalities he's nit-picking about. Words have many different meanings in different contexts, and he's cherry picking one particular interpretation that's completely irrelevant and out of context.

And governments can do multiple things at once to solve problems. The fact that they could build more nuclear power plants and wind farms doesn't mean they shouldn't also regulate burning coal to defraud people, commit crimes, and get around banking regulation and international sanctions.
I would say that asking would go over significantly better than forcing. I'd also expect a good outcome from it.

I think you meant "country", not "state" ;).
I hate hate hate questions that are "tell me about a time when..."

My mind literally goes blank. The pressure of sitting down with someone you've just met and they are testing your memory.

I don't remember times, I remember the lessons. Kind of like I can't remember any source material unless I have an intuitive understanding of it.

Ask me about what I learnt when x happened - or what lessons you've learnt previously that apply.

You might suggest that's what they're asking - but not in my experience. They want the actual story.

Basically I now prepare fake stories before hand. Seems pointless. Give me hypothetical scenarios any day of the week.

It's a me problem for not optimising for interviews, but the thought of gaming the system feels dishonest.

Basically, these interview warm up questions would be incredibly useful for people like me. If I ever go for an external interview, I would make use of this. Practising for something that is useless.
Acceptable to me. Such bills on the other hand seem perfectly inappropriate to me.
Rust pro tip: use type alias.
As for using lock() - you'd have to do it in any language in some way. If you have sharing and mutability, you need some kind of synchronization.
Just wait until banks stop giving carbon offenders credit, interest or loans when monthly personal carbon footprint limits are exceeded. You'll see the usefulness then /s.
I for one as someone who programmed professionally in both Ocaml and Ada still don’t see where Rust is supposed to fit.

If I was doing something high level, I would probably use Ocaml which has nicer features. If I wanted to write safe code, Ada offers a better experience with the availability of SPARK for parts I would probably end up wanting to prove. If I just want to write concurrent code with the certainty I could find someone to maintain it, Go seems the way to go.

Rust seems to want to be a replacement for Ada but seems to actually attract programmers used to high level language chasing the hype.

What’s the story with Rust and verification nowadays?
Because csv import into Excel can be a bit of a nightmare if the data is formatted in a way not covered by the import wizards. I've written Python scripts before to format data so that Excel would parse it correctly (which tbf was mostly the fault of the party producing said files), I wouldn't have minded having a light-weight visual tool for that.
In fact it's simply a poverty aid of ~600 euro that every other civilized state provides. But Italians complain about it (because media do) and no one complains about 600 euro wages for full-time workers (because media don't). That's what the article is about: lazy people in a otherwise perfect situation. It's a perpetual gaslighting that Italians go through daily. We are talking about 600 euro wages the 3rd economy of the EU and the ~10th of the world.
don't "legacy" students like status?
Tencent is their publisher in china.
Starlink's success in Ukraine amplifies interest in anti-satellite weapons
>The way they skimped on wages

Levels.fyi is pretty accurate and while they do not pay as high, they certainly do not pay low.

> benefits

No issues here. They have 20 weeks of paternity/maternity leave now, fully paid.

>work life balance

very generous WFH during and after the pandemic, lots and lots of teams with no complaints about work life balance.

>accommodations, vacation

Vacation is on par with other big tech, and again, wfh is very lenient.

> It's no surprise they are having trouble hiring.

All big tech is having trouble hiring, because they need qualified people, and those are hard to find. CS turned into one of those fields that people get into for money, and a lot of people think that they can approach a technical field by simply learning patterns and regurgitating them. May work for some turnkey web app shops, doesn't work for big tech.

Anyone considering a role as an engineer at Amazon... Do your research, but not in online forums where there is no accountability.
Well, I mean not actively maximizing your CV score, just accepting normally insufficient CV scores.

For example, in a tree based regression with a very small number of training samples, the leaves will almost resemble some of the training samples. A good generalization might not be possible at all. But this is not too bad if you know that your prediction samples have high similarity with at least one of the training samples. In the end, this is an edge case for Machine Learning but goes more into the direction of Expert Systems.
Organic social media growth in YouTube, Instagram and TikTok
I almost bought today a Shimano DriveTrain.
Very much thank you to Post this here.

I will switch now to another producer.

No money for customer hating companies.
English underuses it

You mean it underuses capitalization? What are the examples in other languages that uses for other purposes?
The game has a chinese publisher. There's no way this would be accepted by Tencent.
Americans with single family homes aren't the only market in USA.

USA is not the only country in the world.

Other countries can have wildly different situation and setup, and in fact building home charging stations might be problematic for significant portion of future buyers that Toyota might want to grab.

P.S. A bit under 30% of worldwide Toyota production goes into USA - that still leaves a huge chunk of sales that might have wildly different needs to cater to.
Government cannot create a bottomless supply of renewable energy by pen stroke. Proof of work mining is taking exponentially more resources out of the universe that anything facilitated by it is giving back to the economy or anything. It's terrible trade-off for humanity. This is precisely what mandates are for to stop harmful action not to wish into existence some magical thinking solution so that people can do bad things with negative consequences forever
Bloat and slow is really a problem when it comes to GUI app. Slowness means less responsive ui, longer to load is also negative in human's perception. Things get in a way of solving business problem.
On the other hand, maybe we'd be forced to actually confront those equivalences and make languages that accommodate them.

Research has shown that the lowest hanging fruit in programming language design would be to make names case-insensitive - allowing you to have two variables that differ only in case causes far more problems than it solves. But, programming being a pop culture, no-one dares.
I thought this was satire at first pass.

“I don’t expect most people will buy into our long-range vision,” Weyl said. “We need to give people breadcrumbs to follow."

Just so long as those breadcrumbs lead to a place where accountability still exists. I'm still yet to read any "Web3" idea that includes a scenario of who is responsible when something goes wrong.
EV are regulated also. See for example Tesla's trouble selling directly to customers in some states.

https://en.wikipedia.org/wiki/Tesla_US_dealership_disputes
Most probably a tool to collect data for a product they are working on.
Not Quite.

The people i have referenced are experts/scholars in this field (and non-Indians to boot) so you can be sure that it is as close to factual as you can get. The Wikipedia page contains links to their papers/books which you can refer for edification.
There are some very practice oriented books for rust: zero to production, rust in action. And a third one that I didn’t read, it is game programming focused and seems pretty good. Something with “handmade”.
> If you default to Arc everywhere, aren’t you essentially just implementing a slow GC?

Like I posted earlier, you don't do this everywhere, just some sporadic use where it makes life a lot easier. It doesn't have to be all or nothing.
Thank you for making my day! :}
That's pretty tragic, aside from the pension - which I don't expect to receive anyway (like most everyone under 40).
>remote ssh

That was my first thought too - the majority of the value I get out of VS is via this.

Though I believe there is another IDE that has similar...forgot which one. So at least not a monopoly
Debunking the Crypto Critics Letter