skysight-inc/HackerNews huggingface dataset:
I'm guessing yours is some sort of sockpuppet account otherwise welcoming me would seem sort of beside the point; given my relative length on the site compared to yours, evidently.

That said considering I was just lectured on civility for much less rudeness (I of course think I was not rude at all) in a politically charged thread where rudeness is sometimes expected I believe your opinion of the site is at odds with what is at least hoped for and my surprise at the tone given the circumstances was warranted.

However where rudeness is concerned I believe I can give better than I get if need be, and you're also quite rude so here are some points:

1. When I post a link to an MDN resource it is not because I think MDN is the standard place to get React specific information. That should be obvious to anyone on this site who claims technical expertise in Web matters, and you should have stopped with the patronizing let me tell you about ARIA spiel.

2. I believe a reading through my posting history on HN will show that I at least have enough familiarity with accessibility that you don't need go give me the Aria intro. Even if linking to a part of it on MDN wasn't a clue enough. (I could have linked to W3C but as introductory pieces they are much less successful than MDN content in my opinion)

3. The article was mainly about problems with doing accessibility in React, which I agree is problematic (for big SPAs at any rate) and live regions while helpful is in many ways more difficult to do right where accessibility is concerned than a normal HTML5/JavaScript application. Many people interested in React might read that article and say damn you can't do accessibility in React, because those accessibility experts couldn't do it. I made an offhand comment on a technology I have some experience with in React, and pointed to a resource on the technology trusting that anyone interested would either research matters further or at worst ask me for clarification ( which I would hate because the reason for writing a small offhand comment and providing a simple introductory link to a technology is because I don't have time for much more)
> The last mile isn't solvable.

This does not really apply to your movie name example, but in a text machines could try to escape to a meta-level, like humans sometimes do:
"There is an old gaelic saying, which, roughly translated, goes something like this..."
Perhaps should check out http://www.metalsmith.io/
I did an internship for one of the two big lithography optics companies back in 2005 in their R&D. Their engineers and scientists working on EUV were very cynical about the EUV prospects. Some of that will have been because switching from tech you understand (lenses) to something you don't (mirrors). But wow, did they NOT think that was going to work.
Is there a commercial PC for sale which supports Windows 7, e.g. is there an OEM with a desktop offering with a Skylake CPU?
During about 10 years in the late 90's, early 2000's, I was a kind of Linux zealot, with anti-MS signatures on my emails, which survive on some BBS and Usenet archives.

Nowadays with the exception of a travel netbook, I mostly run Windows or Android on my computers.

Because GNU/Linux never managed to get their act together what means to have a full stack experience for UI/UX focused developers, specially on laptops.

And I just won't pay the Apple prices for less hardware than I can get with a Thinkpad/Dell/Asus workstation laptop, usually about 500 euros cheaper.
Probably none, but to be blunt, not everyone is willing to put their heads into such a noose. Anything banking involves a tradeoff of some sorts, eg. whether I'd like to have my data with or out of the next Equifax-like leak...

Seriously, give me a reason to trust these things, because I rather manage with what I have instead, and so far with little trouble. With what I'd call the upside of me consuming as little as possible from the international money mobsters. I do need some hardware once in a while, and the options there really could be better.
XBox. :)
I set up my Galaxy Tab 2.0 7" years ago -- and it could do all that, way back then. (To save battery, I used a mini USB keyboard though)
Rooted. Added debian with XFCE.

It had/has everything a travelling hacker needed/needs.

That said, my MBA is lighter, faster, has longer battery life, and is a lot easier to work with in general. It just can't take a SIM, which my version of Galaxy Tab could.
>All signs seem to point to an upcoming large correction to this bubble economy, and I'd hate to be laid off because of it.
can you elaborate ?
this page fault trick to check insn len is awsome, this is such a good technique!
Saudi Government Planned Jamal Khashoggi Hit: NY Times
Ironically, if I click that link on mobile it downloads a file
That is the news from May 16 this year. As of recently, Whatsapp payments is ready to launch after complying with all the demands of the regulatory authority, like keeping the transaction data in the country itself, and preventing round tripping. No news about sharing the data with facebook though.
Plants extract carbon from CO2 all the time. This material is using photosynthesis so I would assume it works close to as well as it does in plants.
Not quite yet. When I worked for Zeiss in 2005, it was also the next big thing. Well. Maybe the next next big thing but still.
It is the first time I work on a project using protobuf. Previously, I have used corba, asn1 and xml. Protobuf (in java) is a real pleasure to work with.
I am declaring war on the phone zombie apocalypse
I would use WireGuard tbh, but I use pfSense for Networking and there doesn't seem to be a userspace implementation available that runs on it (I did try some FreeBSD binary that I copied over but that didn't quite work out).
> I think the point is that if you're juggling integers

But I don't think anyone should be juggling integers themselves; they should be using a library (just like a library-defined smart pointer) that handles that (the presentation at https://www.youtube.com/watch?v=P9u8x13W7UE may be of interest).

> There are problems (like entity system stuff) where reference IDs are just the way to go, though

Sure, and there isn't anything stopping anyone from both using them where they're practical and not using them where they're not. Some of the comments in this thread seem to be suggesting that you must choose one or the other, but that's simply not the case; using references in one part of one's program and indices in another is totally fine, as is using references and indices together in the same part of the program. They're not exclusive.

In particular, nobody is saying that one should be reaching for indices regularly; I've written Rust for years and have never, ever needed them. References work just fine for plenty of applications. But we have other smart pointers for good reasons, and sometimes an application will call for the use one of those smart pointers, and that's totally cool; again, references may be thoroughly useful, but they are not the end-all be-all of pointer-like abstractions.
Steven Jobs ran a multibillion-dollar company wearing only black turtlenecks.
Interesting writeup. Another aspect to the same thing is why I should pay for knowledge? It wants to be free, this way I don't need to commit self-torture wrt educational funding. I seriously doubt I could have paid for the expertise that made and is making my career much beyond food and rent at the time when I decided to base it on FLOSS...
Hong Kong only began importing water from PRC in 1960. This was as a solution to Hong Kong's water shortages. However, there were other possible solutions – e.g., nuclear powered desalination. Importing water from PRC was the cheapest option, and the UK was more interested in saving money than maximising independence from PRC. If they had prioritised water independence, they would have never begun water imports.

Hong Kong also had its own desalination plant 1975-1981. Why was it shut down – because of pressure from the PRC government? Or because it was significantly more expensive than importing water? I don't know for sure, but my impression is the later was a much bigger factor than the former.
Imagine a car-repair men standing besides your car, smiling "Your car will no longer spontaneously combust and kill those inside!" like that is a achievement to the previous incarnation.

If you want your files to be save, switch to linux. This - for lack of a better term - company obviously considers deleting them a case that can occasionally happen.

And all those additional backups, the time invested into that- makes windows to expensive as a system- even for free.
George Monbiot opines that Germany has never been particularly responsible:

https://www.theguardian.com/commentisfree/2017/sep/19/world-...
Though one of the nice things about using indexes is that you can lookup multiple arrays with the same index. This can be very useful for performance to break up a large data structure into smaller ones (e.g. to fit more elements in a cache line when you only use a subset of the structure for a complex operation) whilst still keeping their relationship intact. Further it’s also useful for all the reasons a relational database is in terms of querying data relationships.
for these kind of low level things, it's best to turn off all compiler optimizations and os specific features. if you run gcc -V or something hten it will dump it's default flags for the distro you are on.

What i ususally do is create a cross compiler with nothing enabled for these kinds of projects. This saves a lot of sifting and disabling options and optimizations.

If you have a bunch of inline assembly and such things, optimizations can be really killing.
I know the following is an unpopular view in the US, but I believe this is where regulation comes into play.

Businesses will take shortcuts to save money because saving money is pure profit. And consumers will generally put their own financial needs above the concerns of the wider planet - because "what difference does one person make?" (a point I often read / hear). So the only alternative is to set mandatory guidelines for which products have to adhere to. Sure that will make products more expensive in the short term (R&D costs) but those prices will come down in the mid to long term and you end up with cheaper hardware to run (than if you just put electricity prices up) plus less energy consumption per device. It's a win-win.

But as I said, this is more of a European opinion than a US one - who tends to favour a lack of corporate regulation.

However I think ultimately there isn't a "correct" approach, just different opinions on the least disruptive.
Linux one is just untrue.

If you're not technical, just go with Mint. Looks like Windows 7, behaves like Windows 7, doesn't break. You don't have to leave GUI environments once, neither in installation nor in usage. Doesn't break. Gives you the opportunity to optimize your workflow if you want to.
Well, I should at least help this scientific experiment...
I'm also in favor of nuclear power, but you have to admit that there are valid concerns. Nuclear waste is unsolved as long as we don't build breeder reactors. Uranium supplies aren't limitless either. Without breeders we'd run out quickly. Thorium is unproven tech. Safety is a concern, both engineering (do you really trust for-profit companies not to skimp on safety?) and proliferation of nuclear materials (how many people does it take to break into a nuclear power plant and steal enough material for a dirty bomb? Which nation states do you trust enough to use nuclear power without building bombs?). Nuclear power is also quite expensive because of all the regulations you need to make it safe.
"an actual author"
I've switched from macOS to Win10+WSL as my main dev machine this summer, mainly because I like Thinkpad hardware much more (and wanted to give the standard OS there a try), but I'm close to giving up on it and switching to Linux. It's crazy how much crap it throws at you at a daily basis.

* explorer, and even in general file operations are dead slow for some reason. an expand of a zip from explorer with a couple of 10s of thousands of files can take an hour, while in WSL takes maybe a minute. explorer also takes its sweet time to load, including in open dialogs. This being on a near top-of-the-line 480s with 24GB Ram and 1TB SSD.

* windows don't remember their previous position on multi-screens.

* copying in terminal sometimes seems to work, sometimes not.

* terminal beeps at you on every tab with more than one option, always have to keep sound muted.

* bluetooth menu is glitchy and there's no standard quick way to connect to a previous device.

* no idea whether that's win10, spotify or thinkpad software, but hitting a media key produces a NON DISMISSIBLE big overlay for spotify that just hangs there for a good 10 seconds and blocks the stuff I want to click.

* solution for a full taskbar? just make it scroll with very small scroll buttons...

* some older Logitech mouse I connect has buggy assignment of forward/back keys - does a completely random operation instead. Windows doesn't seem to have a GUI-way to set this stuff up

* terminal has no tabs and crappy colors and I don't wanna go down the rabbit hole of trying to integrate WSL with a non-default terminal emulator. I've installed the spring update, won't touch october one for a while at least.

* there's no integration of WSL & windows GUI layer. Have to start an X-Server separately and have Linux GUI-tools instead. If I seriously need that I will simply switch to a Linux distro instead (which given the above I start to suspect I should have done from the beginning).
Show HN: A simple web page for your projects
Ask HN: Anybody in PC business, have you got a pricing notice from Intel?
Anybody in PC business, have you got a notice of immediate price hike from Intel this week?
Energy demand is not elastic so raising prices is not the right way to reduce demand. Raising prices for inelastic commodities does not change the behavior of the consumer.
It's been okay since I upgraded to Windows 7. The lack of updates may become an issue at some point. On the other hand, the lack of updates can also be a boon. I really want to swap to Linux, but can't let go of Visual Studio. The second WINE can get Visual Studio running, I'm out.
Thermodynamics kind of forbids efficient ways to suck CO2 out of the atmosphere. Unburning coal takes more energy than you got from burning it.
People want to see the podium only when they win. In other words, if you aren't leading the leaderboard, you don't want it.
If it ain't broken don't fix it.
Relatedly, I found it useful to pass -g1 and not just -g to GCC. The resulting debug information is a fair bit smaller and GCC itself also takes less RAM and less CPU time to compile template-heavy code (going from 10s of GB to 1-2 GB on one particularly nasty object file).
AMA with Jameson Lopp (ex-Bitcoin Core Dev) on Hashnode
XBox OS is based on Windows.
so what is your problem with all this? that these functions have both provided a flexible interface for use cases that are not this single one?
A reaction to the new American tariffs I would imagine.
Doubt all you will, but being able to update different pieces of your service independently is a huge win. Having to update everything in lockstep is what I'd describe as 'out of control'. Which is precisely what forcing every field to be required does.

There's a million and one reasons for why you may want to push, or rollback only 1 out of X services. If you follow a few simple rules when adding/removing fields, you can do this safely.
Your argument makes no sense because it is self defeating. The point of increasing the price of electricity is to increase the incentive to use less of it.

How would we use less of it? Precisely by actions such as development time spent on tasks to reduce energy usage.. such as improving the CPU idle states (among many, many other such options).
Do you have a reference to this?
I expect most BSDs do this.

Dragonfly actually removed it two years ago: http://lists.dragonflybsd.org/pipermail/commits/2016-August/...

- Pre-zeroing a page only takes 80ns on a modern cpu. vm_fault overhead
in general is ~at least 1 microscond.
- Pre-zeroing a page leads to a cold-cache case on-use, forcing the fault
source (e.g. a userland program) to actually get the data from main
memory in its likely immediate use of the faulted page, reducing
performance.
- Zeroing the page at fault-time is actually more optimal because it does
not require any reading of dynamic ram and leaves the cache hot.
- Multiple synth and build tests show that active idle-time zeroing of
pages actually reduces performance somewhat and incidental allocations
of already-zerod pages (from page-table tear-downs) do not affect
performance in any meaningful way.
Yeah, that’s what happens when you shut down all your nuclear power plants. Suddenly you really need coal. It’s very, very cheap if you don’t count the costs of air pollution, the lives lost to people inhaling fine particulates or the cancer from uranium and other isotopes released into the air by burning it.

Coal’s a great deal for a poor industrialising country but that’s not Germany.

Bring back nuclear!
> To me it feels a bit like a workaround for something that cannot be validated by the borrow checker

Is it so hard to believe that references are not the correct abstraction for 100% of use cases? Reaching for something other than references when references are the wrong tool for the job is not working around the borrow checker; it's choosing the right abstraction for the right task. Being hung up on the borrow checker is missing the forest for the trees.

> get a third party library, which someone has to validate that actually works as expected.

How is this different from using any third-party library, ever?

> Meaning, using a tool outside of the core language for added safety.

Rust explicitly supports users defining their own smart pointer types to provide pointer-like abstractions with custom semantics; using tools outside of the core language for added safety (for whatever definition of "safety" one wants) is completely expected and encouraged.
10 European edtech startups that are transforming the way we learn
Actually the numbers including women don't look too bad. With the recent recovery in employment it actually looks like labour participation has been relatively flat since the mid-eighties.

https://fred.stlouisfed.org/graph/?g=lxWv

One does have to wonder how the statistics are affected by millions of working adult residents participating in the economy as illegal aliens and therefore not counted. The reduction in male labor participation also brings to mind what is clearly now one of the biggest splits in American conservatism: between people like Kevin D. Williamson[1] and Nicholas Eberstadt[2] who focus on a moral and cultural downward spiral, vs Steve Bannon [3] who credits the decline to free trade, and both legal (H1B) and illegal immigration.

[1] Read the last few paragraphs: https://www.nationalreview.com/magazine/2016/03/28/father-f-...
[2] https://www.amazon.com/Men-Without-Work-Americas-Invisible/d...
[3] https://www.youtube.com/watch?v=NAfm5L_DOLM
Why NYC-Based Agency Switched from a WordPress Shop to JAMstack
I can’t help but think about what this thread would read like if it was thousands of software engineers displaced by machines writing code. I’m guessing there would be significantly less preaching about economics 101...
I think that only works for UPS because everyone else is turning left. But imagine a world where no car will turn left. I wonder if traffic would flow better or not.

I suspect not, because if that were the case, cities would outlaw left turns, and as far as I know, no city has done that.
When I first tried W10, I noticed a distinct lag before the start menu opens. Often, menus would pop under the taskbar, instead of over, being unreadable and unclickable.

I assumed they pushed it to market before it was ready, allowing users to find the bugs to save on testing costs (helping justify why it was free). Only, now, years later, the start menu still lags, and things still open behind other things.

Combined with all the mysterious data it sends to various IP's, I think that when you press Start, those first 300 ms are spent as part of some sort of distributed computing effort.
What about Zerotier with Hetzner?
It's OK, you can call your on-premises machine/IoT "Fog" computing - thank Cisco. :)
DevAwesome: New network for developers, see new projects, top GitHub projects
Not in Q4.
But your argument is solely build upon fancy words.

Here, let me pull an absurd scenarios out of nowhere too: Two of the now jobless workers are destined to become the next Beethoven and Musk, only able to follow their dreams being relieved of their crushing day job.

It is just absurd to diminish the positive effects of automation just because the negative effects combined with the (US-only) horrible state of state provided safety nets makes for better sob stories.
Andrew Roberts is a pretty well-respected historian, though he's not without his controversies thanks to his political outlook. The Economist has actually been pretty brutal in their critiques of some of his previous books, so it's interesting that this one has been well received by them.
It's written in JS so you'll need node to run it

I happily run JS in my browser all day. Why do I need node for this code?
Interesting view-point, unfortunately often true though
I would dispute this fact.

Just yesterday I saw that my brother's Win10 desktop was magically empty after he'd rebooted due to windows update. After hunting around for solutions, (none of which worked), I noticed that all the missing desktop files were magically in the recycle bin.

Nice work M$.

From memory, the update was #1803, so not sure if this is relevant to the arctechnica article... but since it was yesterday, it's clearly not 100% accurate.

(PS: No, my brother didn't cause them to be put there)
That's good, although I'm a bit wary of what will happen to GDPR after Brexit, and whether it gives the government a mandate to reduce penalties for businesses not meeting security standards.
I cannot see that happening on the consumer side of things because consumers have generally* not looked at power consumption as a factor for which hardware to buy nor how many to run.

* "generally" because home servers / media centres / etc are often picked for their power consumption. As are mining servers (eg crypto-currency). But these are by far the exception rather than the norm in terms of consumer devices.
Have to agree on all points.

You’ll find the slow file operations are entirely down to NTFS. Regardless of how you play around in fsutil it’s hopeless on lots of small files. This incidentally makes WSL unbearably slow. Hence why I still use VirtualBox and putty.
Can’t fence in the sheep? Fence in the trees.
Yes I am referring to that proposal, as for ECS, indexes are not a must.

https://www.gamedev.net/blogs/entry/2265481-oop-is-dead-long...

In this particular case, currently Rust's borrow checker isn't of much help either, hence the workaround with generations.
"No longer". That's a very bad sign about QC and how confident the major retailers are that we're not going to switch to a different and more stable OS. The problem is that they're right, because Unix/Linux/etc was never and is not meant to be a single-user desktop home OS for the general public. Of course, random broken updates completely bricking your system should be no surprise to those users either.

Anybody got a suggestion for an OS I can use that exists on hard media, doesn't use kernel or base OS code that's been distributed digitally and has optional completely non-destructive updates via hard media no more than once a year, so that I'm not feeling like I'm trying to hit a moving target with the stuff I want to use, and it either works or not until a year later?
Why do you think I added a smiley?
Pagination.

There could be an option to opt in for single page rendering.