skysight-inc/HackerNews huggingface dataset:
Yes, Swift lags behind on this. Part of it is a language design thing (lots of extra allocations by default, certain invariants cannot be reasonably be expressed to the compiler, lots of optimization information is thrown away before it hits the middle end), part of it (IMO) is a priority thing. Rust has an extremely strong desire to compare favorably against C/C++, and missed optimizations make it look bad. Swift is working in this area but it seems to be late to the game.

Also, just to be entirely clear, an example like this (once I “fixed” it) is probably the best Swift can reasonably expect to get, since it hits all the hardcoded semantic hints that Array has been annotated with. It actually does get quite close to the unidiomatic version; save for some extra bounds checks from the zip and a dubious double move, it’s basically done as well as it could with constant propagation and inlining. More complex examples are unlikely to fare as well.
What is he doing now?
The Nothing – HTML events like onclick=“” in ES6 components in 50 LOC library
Oh yeah. It just doesn't can't return a value.
Isn’t that the point behind an AppStore? Otherwise you should do Windows style software distribution.
The life of EU citizens in the UK was not upended.

For people who already qualified for permanent residence (i.e. who had been working in the UK for 5 years) nothing changed.

For people who were in the UK for less than 5 years the automatic right to stay disappeared by in reality I believe that they were given so-called "pre-settled status" until they reach the 5 year mark and can stay as long as they want, from what I understand.

Personally I like have proof of things so I had applied for proof of permanent residence (under EU law) before the UK actually left the EU (there was a gap of several years to do so after the referendum), which was quite straightforward, so moving to the new "settled status" only took a few minutes online.

Of course, EU citizens who have been in the UK for 6+ years and have permanent residence can also apply for citizenship and forget about all of this altogether.
State lines really do a poor job of dividing regions nicely, like you've indicated. My home state of Ohio, for example, is a good demonstration of a border state. Southeast Ohio is definitely transitional-Appalachia, whereas Northwest Ohio is all flatland cornfields where you'd struggle to differentiate from Iowa.

I think your distinction is Upper Midwest vs. the legacy Northwest Territory/"Great Lakes" states. Midwest to outsiders seems to be a catch-all for "not West, not South, but west of the Appalachians" when in reality it's a mix of Great Lakes, Great Plains, and other gradients of other regions.
Sweet, thanks for the pointer.
Amazing. I bet Tesla would do the same if they had enough cash
Maybe not for new hardware, but in the future, mac users get the new M7 or whatever, and want to run a Linux desktop or server on their old hardware. And if this project gets stable enough, I would want to buy an old ARM mac to use as a linux machine.
> that new "#private" thing

I can agree that classes have been more or less a syntactic sugar, but private identifiers are not. The field name collision is a problem in virtually every dynamically typed language with namespace inheritance and each language has their solutions (see Python `__mangled_name` and Ruby `@instance_var`), JavaScript just happens to have another solution and that alone justifies a separate `class` syntax (since the scope of such private identifiers should be lexical).
UC Berkeley uses Scheme as the first course for CS for a reason, to weed out people. I've seen first hand people struggle with functional programming to much higher degrees than procedural. I'm not in the procedural camp per se, I'm in the common person camp who struggles with things like async and functional programming.
Maybe a collection of facebook profiles of people who were publicly skeptic about covid/vaccine and then suffered from the disease would be helpful.

There are quite a few posts like this on reddit, but they often lack in empathy and are simply screenshots that aren't as convincing as a page with history/photos/etc.

I'm wondering if compiling such a list online is feasible from ethical and legal stand points.
Or a "chata" in Czech Republic and Slovakia
I would love to see this implemented within the style attribute in html, it would create a nice middle ground between totally separate css files and the new trend of designing with phudo-css class names with tools like Tailwind. It keeps your css close to the semantic html without drowning it in style and class attributes. So you could do something like this (clearly pointless) example:

<div style="
> h1 {
font-weight: bold;
}
">
<h1>title</h1>
</div>

Just add a way to inherit from a css class within the style attribute and you have a sort of inline sass.
Meh! I'm sure there are use cases for this format but it ain't what this article claims it to be.
A question to those dismissing the author: would you help a family member sign up to some random app that tracked their keystrokes, sent them highly targeted ads, sold their personal data to 3rd parties, interrupted their work by forcing them to reboot their devices and constantly violated their privacy?

No? Then why is it okay to encourage it when it's Microsoft? This is how deeply ingrained brand loyalty is, to the point that like Stockholm's syndrome people will think up any excuse to enable their oppressor.

How is it in your benefit in any way to keep cheerleading the corporate behemoth, rather than plucky newcomer who only has your freedom and best interests in mind?
But the M1 air charges and runs simultaneously on a 30W USB-C power brick…it has a slightly dimmer display at 400 nits.
> Another thing I wish JavaScript had kept was the "with" statement.

Consider the following:

with (a) {
with (b) {
with (c) {
d = e;
}
}
}

Does this mean:

(1) a.b.c.d = e

(2) d = a.b.c.e

(3) something else

(4) it's impossible to tell?

Correct answer: (4) it's impossible to tell!

One of the worst things about programming is looking at someone else's code (or worse, one's own code) and thinking "WTF did they mean by that?". And that's why I don't like the with statement.
Zoom and screen sharing work even on Wayland (from flathub on Fedora 34 (Sikverblue)).
What is a reasonable price to you?

You can in Denmark borrow 95% of the house/apartment price at very low interest rates. I have a fixed rate 30 year mortgage at 1% interest rate for 80% of my house value, the rest if a loan is needed would be a bit higher.

If you are willing to gamble with a variable rate loan you can get negative rates at the moment.

Houses near metro areas are expensive but outside that they still seem reasonably priced.
The environment impact the chemical balance of the human body. The chemical balance impact how the environment impacts the chemical balance.

Depression is the inability to recover from loss. With some of the more extreme depressions the mind can even invent losses which does not exist in the form of delusions. There are also seasonal depression where individuals lose temporarily the ability to handle loss. The actual situations in your life is not major factors in those, through the environment could provide protective benefits.
Its a Intel Dual Band Wireless-AC 7265NGW (ThinkPad x250) running with 802.11/g (the maximum), with the right driver and firmware. Sitting about 5m from the hotspot.

BTW: The hardware is supported:

https://www.freebsd.org/cgi/man.cgi?iwm(4)

>device iwm7265fw

>Currently, iwm only supports 802.11b and 802.11g modes.

https://www.freebsd.org/cgi/man.cgi?query=iwmfw&sektion=4&ap...

>iwm7265Dfw_load="YES" -> This one works

>iwm7265fw_load="YES" -> This one is not working

I would say OpenBSD is as behind as every single BSD is...from the Wireless standpoint.
Thanks for that interesting point and tl;dr -- I found the details quite buried in there and difficult to unearth! :) -- ah, I see you fished it out of the other link. The pdf is not exactly easy to parse...I thought so anyway.
Do you purchase a license for Anaconda? Last time I checked, it seemed like conda required a license for professional use. I may have misread it though.
Frank Abagnale, the Catch Me If You Can guy, did exactly that. The whole book is made up. https://www.esquire.com/entertainment/movies/a36338912/catch...
In a very different style, I wonder what both of you think of this Superbowl ad: https://www.youtube.com/watch?v=mYsFUFgOEmM
Encyclopedia of Organ Stops
I know it's possible to detect incognito testing for specific APIs and browser behaviour, but it's a very brittle method as every new browser version changes something here and there. Anyway I've never encountered a website doing such a thing. Perhaps I'm unknowingly blocking the gatekeeping scripts. Also why prohibit incognito browsing? Cookies?
There are centainly some racist/xenophobe people and they were pretty loud during and after the Brexit campaign.

However the main issue is that the mainstream leadership took cues from them and the dialog about immigration has changed.

Now it's pretty much native vs immigrants, England vs Europe. It's no longer a family/love story.

"Once Britain is free of the EU’s shackles, there’s nothing it cannot achieve". This kind of slogans extend to simple immigrants as well because "they" are the reason UK is no longer an empire...(so they said).
Why Zebras Don't Get Ulcers was the most profound book experience I have had in 50 years' reading.

In the final chapter, it took me a half hour to read each page, because it was tying together threads from the whole rest of the book. Each sentence called out themes from widely separated chapters.

I had always wondered how systems as elaborate as the human body could work at all. This book made it clear that, for any vital process, you have at least three and often more separate systems for each function, and they all suppress one another, so that if one is interrupted, it stops suppressing the others and they step up. But, each system is also doing more than one thing, so you never get just one effect. It's a massive Rube-Goldberg / Heath-Robinson contraption tuned over million of years for a sort of statistical robustness, at the extreme expense to simplicity.

To be an endocrinologist, you need to be several times smarter and more careful and diligent than any other medical specialty.

Another endocrinologist worthy of close attention is Robert Lustig. He has excellent lectures on youtube that, if you pay the close attention he deserves, will lead you to make radical changes in your daily habits.
The volumes of money being exchanged on NFT platforms – hundreds of millions of dollars per weeks – are making me kind of dizzy. Quality doesn't seem to have much influence on how well a collection does, to me it all seems like a giant scheme where a few individuals manipulates the market, or maybe just a group of billionaires having fun?

I truly don't understand this whole thing, who are these people? How can hype alone move such massive amounts of money? I guess it's very similar to how stock market has worked for decades.
For about 20 years I've been "the IT guy" for my friends and family. I also stopped using Windows during the Windows 7 era, and I've never used Windows 8+ on my own hardware.

Reliance happens because you demonstrate both the willingness and knowledge to fix something. I'm still willing, but I'm utterly lost in front of a Windows 10 PC. That is what now makes people less likely to reach out to me for help.
I had this one in mind while reading to be honest https://knowyourmeme.com/memes/sir-this-is-an-arbys
I've had the displeasure of having to write quite a bunch of JS over the past few years (I'm mainly a system programmer usually). I do think that the JS "standard library" is ridiculously under-featured and makes dealing with even basic arrays or objects much more painful than it needs to be. It's been improving of late but it's baffling to me that it took so long to have something like Object.values() for instance.

That being said I never though that JS was really lacking syntax-wise. "Arrow functions" are a nice shorthand for sure, and "let" should really have been there from the start, but this addition of classes feels really unnecessary and redundant. It just creates more ways to do things you could already do, without obvious benefits and the obvious drawback of making the language more complex.

Since nowadays transpilation is so common place, what even is the point? You already have a rather large selection of other languages to use if you don't like raw JS.

I'm all for improving the existing JavaScript language but that just looks like tacking on a completely different language on top of it in order, I assume, to make it look more familiar for Java/C# coders?
I'm a fan of this sort of back-to-the-basics thing. I wrote a library that does something similar (our syntaxes seem very similar, I do like yours rather a lot!). I still use this library in production code, and get a great lot of mileage out of it! :p ;) xx
Meanwhile, we still don't have operator overloading. Even Lua has it.
It's weird to have this tone of hating on someone for not having two homes. If he can live without occupying a giant property, good on him. Why should only rich people get allotments?

Any tax he owes can be deducted from his carbon/pollution under-footprint.
Not at all surprised. Perhaps it’s better to say, a more widely supported operating system. My relatives have a better chance at finding someone in their church to help them if they use Windows.

I’m the only person in my rather wide friend group that has any Linux experience and most of that is with servers.
Does "Windows 10 upgrades the driver for the monitor to a Microsoft-provided version, causing BSOD on boot" count?
I wonder how many will get PIPed in a year ;]
Yes, you can throttle the CPU, but then the CPU scores in Benchmarks will be lower and that's not the case... (Benchmarks are collected from different machines). So it looks the Macs consume pretty much the same amount of power.
I'd not go for AMZN for double the salary I currently have at GOOG....
Cannot recommend this more! Seriously. It has been an eye opener to me. For people who loves books over video, he wrote those books where he covers the same topics:

- Behave: The Biology of Humans at Our Best and Worst

- Why Zebras Don't Get Ulcers: The Acclaimed Guide to Stress, Stress-Related Diseases, and Coping
mostly for living cheap in expensive cities.

Are they still cheap in Denmark? Here in Sweden they tend to cost almost as much as a small flat if they're anywhere near an expensive city.
Google developing own CPUs for Chromebook laptops
Thanks for the helpful perspective :)
I can hear all those binary trees being sorted.
Historically, multiple bank accounts at different banks in Germany were a way to speed up payments, in a time when wire transfers were dependent on local distance and different banking networks which exchanged wire transfer data on magnet tape in central bank parking garages (and thus were called "Garagenverfahren"). Which ended not too long ago, IIRC in 2006... If you wanted the invoice to lead to cashflow quickly, you asked the customer to pay to an account that would speed up payment.
I didn't think this was special? I've done this in the mirrior? Not fast or anything, but it is "on demand".
"the infamous Numberphile claim that the sum of all natural numbers is -1/12"

Number file definitely cannot be credited with that. I thought it dated back to Euler though I now find that is doubted - origin seems uncertain. It is so fantastically counter intuitive it certainly belongs in recreational mathematics. And that it is used in physics makes it a thing.
Didn't he also help making asset forfeiture as bad as it is in the US nowadays?
There's an observable difference with your getter based approach and the "normal property values" approach in the article:

const t = new Translation
// property value that
// is initialized once
t.translations === t.translations
// getters which return
// new objects
t.translations !== t.translations

so at the very least the browser can't optimize that behavior away, it needs to create new objects. Besides, ensuring that say, call to `Object.keys` is side-effect free is challenging.
hmm, considering to land a job on amazon, is there a good hackernews advice on how to prepare yourself? classic leetcode grind or things changed since then?
Linux, and all free software, is at its heart a gift economy. It's all about making amazing things, solving problems, and working together as a community to make everything better together so everyone can have better choices.

So my feeling is that if you're claiming to represent and evangelise that community, using obstinate tribalism to justify commoditising your familial love isn't the way to win hearts and minds. Seems, to me, like a way to perpetrate some pretty terrible stereotypes.

Computers aren't inherently useful, or good. They are just boxes with a number inside. If we use them to make people we love happy, only then are they useful and good.
It's crazy how few people know how to actually send a physical letter. This service helps solve the problem of designing and shipping mail. Interesting, interesting
At the risk of being "that guy", I have to admit that the author lost sympathy with me after reading his "Doctors Don't Seem to Care if They Kill Their Patients"-article.

This is either satire or a really cringeworthy personality.
If your system exceeds the maximum amount of power provided by the power adapter, it will use the internal battery. Otherwise it will throttle the CPU.
No, it doesn't. A piece of code n bits long can only have a maximum of n bits of information in it; you can't get more than n bits of information out of it. It can't create information out of nothing.
Ask HN: What can /u/spez realistically do?
For those of you unaware, reddit is going thru another cultural revolution. Many top mods of the largest subs are upset because they feel spez isn't cracking down on 'misinformation' strongly enough.

They have either blacked out their subs, or placed stickied post at the top of the subs. They use these stickied post to push their agenda and advocate that readers move to reddit-alternative sites.

If you, the causal reddit user, comments negatively against this (ie. "this post has nothing to do with the content of this sub and is harming the site"), the mods will ban you. In effect this is their scorched-earth policy: Destroy the experience for causal users until they get their way.

What are spez's realistic options here: (a) Capitulate, (b) Remove the mods, (c) Something else?
meanwhile they illegally resist workers who want to unionize and have awful conditions for drivers and factory workers.

The National Labor Relations Board has determined that Amazon violated labor law after workers at its Bessemer, Alabama, warehouse tried to join a union, the Retail, Wholesale and Department Store Workers Union said Monday.
https://www.nbcnews.com/tech/tech-news/amazon-violated-labor...

"I resort to peeing in bottles, and women urinate through funnels into bottles, just so I'm able to get done with my deliveries," Valerie G, a driver for one of Amazon's Delivery Service Partners (DSP), told Insider. "Those conditions are extremely unsanitary, and we are there with all those packages and our own urine and bodily fluids. That's unsanitary for the customers receiving the packages."
https://www.businessinsider.com/amazon-drivers-interview-gia...
>Because that's also how we got the Boeing 737 Max.

You mean the plane that was grounded for having 4 accidents per 1 million flights? Do you mean the industry with 1 fatal accident for every two million flights? An industry so safe that most people have a higher likelihood of dying on the drive to and from the airport than on their flight? If that is your nightmare scenario of safety failure, I’ll happily take the FAA model of safety.

Speaking of comparisons, how many people do coal plants kill every year with fly ash, just as a matter of course and not even as a safety failure? We aren’t comparing nuclear power risks to nothing.
Wireguard may use less power, I've not noticed any loss of battery life when using it across multiple devices.
As sibling says, you really should use virtualenvs.

But if you're not and you're using vscode, this is the relevant thingy to do to get vscode to play nice: https://code.visualstudio.com/docs/python/environments#_use-...
Why encryption is important: 10 facts to counter the myths
If one is doing async programming my experience with Promises in JavaScript is that glossing it over only works to the degree the async mostly behaves like synchronous. To quote Albert Einstein, make something as simple as possible, but no simpler. If one is writing programs for asynchronous applications abstracting them away as if the asynchronous behavior environment doesn't exist is problematic.

Most developers I work with day-to-day are not designers. Fred Silverman's "The Mythical Man Month" from 1972 has a good take on this. The way I see it, languages like Erlang are amber that locks in dead code because no one except the original author can maintain it. Once code goes into maintenance mode good luck finding Erlang maintainers.
I don't see any mention of a bathroom. Did you have to install one?
RIIR is a thing. Also, the Rust Evangelism Strikeforce.

I love Rust, but I think it does go over the top, more so than other languages.
You're trying to make a mountain out of a mole-hill, and again I don't understand why.

An error to a few people (100 out of millions) and that resulted in nothing at all is not evidence of nefarious policy.

Sending payslips and council tax bills is hardly a problem for anyone who's been living and working in the UK, and that was a standard EU-wide procedure. It was not designed to be difficult or make people fail, it only required evidence that the applicant had been exercising "treaty rights", which is quit reasonable.

I was not in favour of Brexit but there is no reason to invent problems where there are none.
I wonder how Amazon's poor reputation as an employer is going to effect this hiring push. I would take one of those 55,000 jobs for a FAANG salary but only if I was sure Amazon wasn't going to chew me up and spit me out.
I'm probably biased because I work at Amazon, but really not for double your salary? That's an awful lot of money to say no to.

Obviously Amazon doesn't actually pay more than Google so I guess we'll never know.
Tell them we live in a fake world
That is due to spite probably. Making Brexit about for/against discrimination was a serious media mistake in my opinion. I am not from the UK though, but I followed the discussions. I can also understand why people voted to leave.
Detailed PDF: https://news.ycombinator.com/item?id=28377661
High-stakes software needs observability
Are there actually 40.000 available people in tech to hire?
Of their precious bodily fluids?
you aren't going to get a very large sample size of death row inmates...
what's PIPed?
I loved this ad when I was younger: https://youtu.be/6d8nWbo9e6k
i'll let the jury be the judge of this
It does for the time being, but conflating "android" and AOSP just because of the linux kernel is a bit of a stretch, to me it feels like saying macos is "fine because Darwin is open source"
All H1B's probably just doing the needful.
Performance Improvement Plan.

Fired, but with extra steps.
Satellite communications for a small RC plane in the sixties seems like a large leap. Furthermore, with one dedicated satellite, you have abysmal coverage, like some tens of minutes twice per day. Unless it's geostationary.

Maybe I'm not understanding something.