skysight-inc/HackerNews huggingface dataset:
> They're my favorite instructions too, and I really hope Zen2 fixes their performance problems.

Me too. AFAIK their slowness is probably due to requiring a specialized functional unit to implement. Something like the unit described in this paper [1].

> Allegedly, Intel improved the integer-division instruction to ~20 clock cycles on the 9000-series

Do you have a reference?

That would be weird if it applied only to the 9000 series, and not other Coffee Lake cores. After all, it's the same core, reportedly unchanged all the way back to Skylake [2], so how could the divider be faster?

FWIW, even for Skylake, Agner reports 26 cycles for a 32-bit idiv, so the chip is already close (if you were talking 32-bit division).

> Even then, AVX2 code is more efficient to decode and run. So even if its emulated on AMD's platform, there are benefits to writing AVX2 code.

Yes, that's why I said you _might_ make _some_ different decisions, such as in any algorithm that doesn't scale cleanly to 256 bits, but still ends up faster when the CPU offers full 256 bit ALUs (so 256 bit and 128 bit ops have the same performance).

One real-world example would be something that uses a vector-width lookup table, say for a shuffle mask. With 2 possibilities for each DWORD element, a 128-bit shuffle mask only needs 16 entries, but 256-bit masks need 256 and they are twice as large (8 KiB in total!). With fast 256-bit units you might suck up this penalty, since it might end up faster overall, but with 128-bit units you might be better off going with the much smaller table and 128-bit lookups, at the same total throughput.

> Remember that its not a pure win on Intel systems either: use of any YMM register begins to downclock the whole chip,

Well not really anymore. Most (all?) recent chips don't downclock for use of 256-bit registers (not counting "high lane powerup"). Only some server chips downclock for "heavy" AVX2 use, which really means a lot of back-to-back FMAs or other heavy FP operations. In general the penalty for 256-bit instructions is small on recent cores (a larger penalty is paid for AVX-512), and compilers generally use them freely (the same is not true for 512-bit) and effectively.

---

[1] https://github.com/tpn/pdfs/blob/master/Fast%20Bit%20Compres...

[2] I think there must be some small changes, since the LSD was re-enabled, implying that they fixed the bug where registers could be corrupted when using the high half of the GP byte registers.
Direct call without args is about nearly 10 cycles on newish hardware, vdso is probably +5-10 syscall on the same CPU that returns something like the function will probably be 4-10x
This document is very thorough; yet it misses a key point. IMHO, the primary concern here is not the algorithms that produce outcomes and regulating those but what happens to the resulting data streams as well as the raw input for the algorithms. Simply storing huge amounts of video footage means you can later run algorithms as they improve or become available. It's the act of storing and exchanging data that is problematic not running algorithms against that data. You might even capture data before algorithms are invented/available to process that data or use new algorithms against historical archives of data to extract new information.

What are the implications of the right to be forgotten on e.g. security camera footage that is stored for weeks or months or even longer. The raw data contains personally identifiable information, given the right algorithms and access. Mining and correlating information from raw data that so far is considered innocent changes the game completely. Somebody with access to isp data logs, cell tower logs, and security footage in buildings, on streets, etc. can start looking for patterns in that data and cross verify and correlate events between data sets.

Recent history in China teaches us that this is neither science fiction nor an imagined risk. China is quite openly implementing mass surveillance using all means available to them and they are already using it to control their own citizens.

IMHO the focus for legislation should be on legislating not the right to be forgotten, because that is inherently hard to enforce and impractical, but instead on ensuring data capturing parties stick to strict rules with respect to auditing and securing access to that data, retention, transparency of their policies regarding all of this, and making sure serious violations have consequences.

Additionally, any surveillance data used in a court of law needs to have an impeccable auditing record proving it was captured and handled lawfully. One critically important aspect here is also ensuring the data has not been tampered with in any way: algorithms to falsify information are also becoming a risk. Capturing data that may be used for privacy invasive analysis creates a duty to adequately handle and protect that data. This should not be optional.

The key to enforcing this is sousveillance: observing the observers. This should be both legal and common. In a world where there is multi lateral surveillance by multiple groups of people, companies, and governments, hiding undesirable behavior/actions is going to be increasingly hard and you can never be sure that nobody is watching whether you are a citizen, chief of the secret police, or a head of state. Surveillance is a double edged sword and abusing it might be observed by others. The 1984 type scenarios always assume a single evil government doing all the surveillance in secret. So, we should make sure governments themselves are equally exposed to surveillance in order for us to ensure that they do not abuse their level of access to surveillance data.
If you're around your wife too much she'll get sick of you and leave you.
People will keep using existing vehicles for another 10-20 years like they currently do.
Progressive Web Apps are better solution. Chrome and Edge have PWA installation on desktop, and work is already under way for missing native features, like file system access. In a year or so they will replace need for Electron completely. Although they will never be as good integrated or performant as real native apps.
It's actually the other way around: demand is said to be inelastic if changes in price have little impact on it.
I'm very experienced at UI/UX and suck at programming, so I'm happy to help you out. (I might need your help too one day!)

Find me at www.mathlete.com
Electricity is pretty ubiquitous, not sure why this is a concern?
Didn't Mao Tse Tung have some sort of failed high density agriculture experiment leading to famine? Let's not repeat that particular bit of history.
I think you are close or exactly on target.
Xcode and LLDB Advanced Debugging Tutorial
No ghost for me - https://ghost.org/pricing/
Market research show that noone used RSS/legacy addons/all the other customization options, yet Firefox market share somehow plummeted after they removed all of it.

Literally everything I liked about Firefox is gone, so I have no reason not to use Chrome instead anymore. They are mostly the same, Firefox is just uglier than Chrome now and I can't change that anymore.
I use http from embedded devices that cannot do https due to memory constraints. Http access is appreciated for this use case.

But.... Do you guys have a business model that is going to keep you around long enough for me to bother hardcoding your api into embedded devices? I build things that connect real world actions to cryptocurrency markets, diverting power, metering resource consumption, etc.
The argument about natural variation is pretty well known and trotted out as a talking point on climate change. It is an appeal to normality that suggests we should just accept the condition of the earth and give up any agency.
"My partner dumped me, and I was miserable for a long time, but I managed to move on and now I'm in a happy relationship" is exactly the sort of advice you'd give someone who was struggling through a breakup.
MICROSOFT went heterogeneous client for their AD. I'm sure others can.
Ruminant animals have an important place in Agriculture. They add nutrients back to the soil, and can be raised in land unfit for growing crops. For example, in the UK only 36% of agricultural land is croppable. The rest of the land is perfect for raising cattle and other ruminants.

In the USA, 44% of land is for agriculture, but only 17% is arable, 27% serves as pasture land.

Only around 10% of a cow's lifetime feed comes from grain, and very little of what they are fed is human consumable. Think leftovers from corn (stalks, etc), leftovers from brewing (malt, oats, all that kind of stuff).

Beef is also very nutrient dense, and provides a large % of bioavailable nutrients and amino acids per gram.

Sources:
https://en.wikipedia.org/wiki/Arable_land
https://en.wikipedia.org/wiki/Agriculture_in_the_United_King...
https://www.cia.gov/library/publications/the-world-factbook/...
https://www.ncbi.nlm.nih.gov/pubmed/8791215
https://downloads.usda.library.cornell.edu/usda-esmis/files/...
https://www.beefresearch.org/CMDocs/BeefResearch/Sustainabil...
https://medium.com/@beefitsfordinner/fao-affirms-cattles-cri...
https://en.wikipedia.org/wiki/Biological_value#Typical_value...
Are you saying that outside of Silicon Valley pretty much every client is Windows? Where do you live?

I work for a Fortune 100 company (not in SV, or even California) with 70,000 employees. At least 50% (it's probably higher) of computers here are Macs. When I go to a meeting, the table is a sea of Mac laptops with the occasional Windows laptop here and there. And these aren't meetings with developers, I'm talking about sales, business, training, etc. people.
There are millions of rural Chinese labourers that face daily document checks and discrimination from local authorities while working jobs in the city.

I wonder what they would think if they came across this story and the worst thing that happened in it was that an American had to sell his upscale burger restaurant and complain about how unwelcome he felt in China.
> > The absence of a legal prohibition doesn't mean something is ethical

> Nobody claimed otherwise.

Yes, you did, when you said: “If it's ethically defensible to abort fetuses for no particular reason (i.e. general legalized abortion)”

That is an explicit statement that the legality of abortion necessarily implies the ethical acceptability of abortion.

> > it can mean that the perceived incidental costs of policing it outweighs the benefits.

> That's an ethical defense.

It's an ethical defense of the legality of a thing that does not depend on the ethical acceptability of the thing itself.

> We can disagree about the costs and benefits of abortion or genetic engineering, but purely based on principles I don't see how you can defend non-medically indicated abortion but not genetic engineering.

One can defend the legality of non-medically indicates abortion but not designer babies theogh genetic engineering because one believes that permitting government inquiry into the justification of abortion (given the fallibility and corruptibility of government) poses an unacceptably high risk of intrusion into legitimate bodily autonomy that is not warranted by the benefits of the prohibition, whereas the same is not true with human genetic engineering (either because the latter does not as closely impact legitimate bodily autonomy issues or because the potential public impacts of each instance of gene editing warrant accepting greater costs to control it.)
About halfway through the article it says

"VW will continue to modify its combustion engine technology after the new platform is introduced next decade. After 2050, there may still be some gasoline and diesel models in regions where there is insufficient charging infrastructure, according to Jost"
>Continuing to improve artificial meat (e.g. Impossible Burgers) to get to the point where it's better than the real thing.

It already is better than much of the fast-food/cafeteria grade meat people use. Taco Bell's taco meat, for example, was mostly soy protein with other fillers and additives as it is. Swapping it out for lab-meat would actually make it more meaty. The barrier right now is cost, not quality.

You don't need to 100% replace everything. You can have a situation where people eat real meat on special occasions or offered as gifts, but rely on cheaper fake stuff for their everyday meals.

But part of it is also just food-culture. Eating meat used to be a status symbol so once meat got cheap enough to be a staple people insist on having it with every meal. Consequently they've forgotten how to eat and enjoy mostly plant based diets. India, though, has plenty of great and satisfying vegetarian dishes as part of its food culture because meals without meat aren't believed to be any kind of special niche.
Magnify the emotions involved and time scale by a couple orders of magnitude, and you're describing It Gets Better, an effective and beloved project.
Are the browsers on the Mac also that bad? What is the difference between say Chrome and Electron?
True, and I meant to mention that along with Emacs and Vim but spaced it while typing. It seems to be similar to those two in its approach.

They're all good reminders that being cross-platform isn't the issue; it's the way Electron does it that's more of a problem. (Qt-based apps are a lot more performant, although in my experience they stick out like sore thumbs among apps using the native GUI toolkits.)
So is vim.
Oops wrong place, sorry.
Να συνεχίσουν νικηφόρα ΑΕΚ και Αστέρας Τρίπολης
We’ve already been in the process of it.
Weird facts, maybe, but most of them are not science.

Not a very worthwhile article, in my opinion.
>and distribute it to millions of other devices...

Or just hundreds of other organizations and corporations.
I submitted it about an hour ago.
https://foreignpolicy.com/2018/12/06/bri-china-belt-road-ini...
Like someone else said, you can't talk about that decision without talking about the time and context in which it was made.

People were being introduced to wildly new concepts and it served to anchor people in familiarity.

Today, it's not as useful of an anchor for obvious reasons. Mobile phones and touch interfaces are ubiquitous.
How are gasoline or diesel powered vehicles running in areas where there is no fuel distribution system to support them?

I guess either people bring along what they need or they don‘t work. However I don‘t think EVs will fail because of a lack of gas stations. Obviously owners will invest in the future and also provide charging for EVs.
I'm happy for you, but I hope you're also that honest with yourself and your employers about your limits when they want you to built something that you know is over your head
I have to ask. Are those crazy wireframes really part of how facial recognition works? If so are these real for those people in the photo?
Windows 10 added a separate settings menu which doesn't support CPL applets so they kept the old one too. So now all of your settings are in two different places, but phrased slightly differently and in two menu trees and with fewer or more options for each setting. Oh, and now all the windows are WPF in a SPA, so they look different too.
None of the desktops are any good at high DPI yet, and Gnome seems to have gone off the deep end in terms of killing useful features and settings (removing desktop and tray icons for example).

It’s absurd to remove these things, and have the community re-implement core desktop feature as Javascript plugins without even a stable API between major versions.
Java has had about 20 years to get the implementation right. In my day job I still run Java desktop code because that's how server remote consoles work and they've been slow to switch to HTML5, so there was obviously a market for getting Java applets to work soundly until very recently. If your design results in buggy implementations despite 20 years of work, it's a buggy design. If your "proven safety characteristics" are that it worked on paper and not any implementation actually secured anything in the real world, it's a useless definition of "proven."

I do not think that "JITs and GCs are tremendously complex beasts" is a meaningful argument against wasm, because plain old JavaScript on the web has JITs and GCs, and is overall a much more secure environment to run than Java. (For instance, approximately every enterprise disables Java for security reasons except for people with a business need for it, and approximately no enterprise disables JavaScript for security reasons. I'm not claiming JS is foolproof, just that it's been much much more secure in practice.) You might note that Sing#, where this subthread started, had a GC. So does Inferno's virtual machine. If you think GCs make things too complex for software fault isolation to work, do you believe Singularity and Inferno are insecure?

I don't claim to be an expert in this, but I think there's a coherent reason why Java's design failed: Java attempted to do isolation at the language level (and inside a language-specific bytecode), which is a richer interface. It should be entirely possible to develop a high-performance interface for software fault isolation as long as it's a small enough interface to successfully secure, and my sense is that that's where wasm is going.

One important advantage of wasm over Java, Flash, and Silverlight is that it can learn from their failures.

Message-passing doesn't need to be slow either - just write your messages in a high-performance but securely parseable format like Cap'n Proto. We know how to do such things now; we didn't 20 years ago. The state of the world keeps advancing.
There are more free apps to choose from. For example, the two Electron apps I'm most familiar with (Atom and VS Code) are given away for free. And Google apps are free.

Free beats getting all the keyboard shortcuts right.
Yes, many people in China hold racist attitudes. No, those attitudes do not usually result in negative views on Westerners.

You're much more likely to hear negative comments about Uyghurs (terrorists), Tibetans (underdeveloped people who'll never make it at a university), South Koreans (obnoxious) and Japanese (the arch-enemy).

On the other hand, Westerners (whether black or white) are seen as exotic and high-status and their presence in China indicates how far the country has made it.

It's probably similar to European authors like Karl May (who'd never been to America) glorifying Native Americans as noble heroes, while Europeans who settled in America did their best to demonize and kill them. Simple tribalism: strangers from a distant land are exotic and no threat, but neighboring tribes that are only slightly different need to be shunned at all costs.
Progressive Web Apps + missing features like file system access is exactly what Electron is.
I say VW will fade away before 2026.
> And yet, every election cycle there will be candidates complaining that the regulations are too burdensome and killing entrepreneurship.

So? The rules are still there and applied fairly consistently. Whether or not the rules should be changed is what democracy is all about.

> The rules are the same for citizens and non-citizens? There is a reason why the Immigration lawyer AMAs on this site are so popular.

You mean the rules are different because non citizens need visas and citizens do not? I guess you got me there, but I’m not sure what your point is.
One can write very similar things about the evils of C, Java, or JavaScript, particularly if you happened to be an asshole. It's mostly value judgments, and consequently it has low informational value. It's an angry rant. CS needs far fewer people who think that it's okay to write vague, angry rants about other people's code. Yes, that is quite a common thing to do, and no, that does not make it okay.

If you must rag on PHP, presumably after some contemplation of the beam in your own eye, then this would be best accomplished by a more neutral and factual presentation, such as phpsadness.com. Spreading an angry, dismissive, fact-light rant is just poo-flinging.
A solar installation and battery system seems much easier to build in isolation than a gasoline supply chain
Electronic invoices are one of the coolest features of lightning network. They handle the vast majority of these components with near-instant confirmation.

Acquiring sufficient inbound channels to receive large payments is still a significant problem though.
Cool I just tried it with Fastmail and a Yubikey 5 and it worked. Gmail however still checks if you're running chrome so it doesn't work.
As an American, I agree. I think one of the factors is that it's easy for the US to be a world unto itself. With 325m people versus the EU's 505m (soon to be 440m), and with roughly equivalent GDPs, it's really easy for Americans to stay in their bubble. E.g., hear only English, experience only one culture, deal with only one system of law. We can easily move a thousand miles and still be in a place where, well, people measure in miles.

There's some hope, though. As recently as 1994, only 10% of Americans had passports. But now that number is above 40%. [1] Part of that's due to to no longer having passport-free travel to our nearest neighbors since the 9/11-inspired security tightening. But I think part of it's real.

[1] https://www.bbc.com/news/world-us-canada-42586638
Mass surveillance does something a lot more insidious than car wrecks, it sets up a future where people are killed. It's like global warming.
I use a MicroSoft ergonomic keyboard with my Mac Pro. It works just fine. I also have all of my keys mapped to the same as what I was used to when I used to use Windows (ironically the last time I used Windows was about 15 years ago, old habits die hard).
regarding the duckduckgo study there is a bit more to say.

Their methodology was pretty flawed and to top it all they also results "positive" to this kind of analysis.

This does not implies that google does not track incognito users either.
There's a double standard. Rich Chinese are buying industries and property around the world, but secretly (or perhaps not so secretly anymore) have a problem with Western entrepreneurs owning things in China.
Before adopting this approach, please be aware that chicken has substantially higher animal welfare costs than beef -- likely by orders of magnitude. This makes the calculus more complex, such that if you're sympathetic to animal welfare you may very well reverse the recommendation[0]. The safest recommendations are plant-based alternatives (e.g. Beyond Burger) or fueling cell-based meat research.

A good book on how various animals are treated is Compassion by the Pound[1], authored by agricultural economists. The short of it is that chickens bred for meat are treated very poorly throughout their lives, whereas beef cows are treated reasonably well (with the possible exception of slaughter). Not only that, but you also have to raise far more chickens per pound of meat compared to cows as they're so much smaller, amplifying the effect. It's a far more extreme difference compared than the environmental impact differences.

[0] Some animal welfare activists do so explicitly, whereas others do so implicitly by strictly focusing on chickens. Latter examples are 88% Campaign (https://88percentcampaign.com/) and One Step for Animals (https://www.onestepforanimals.org/).
[1] https://www.amazon.com/Compassion-Pound-Economics-Animal-Wel...
Really?! I don't think it is a good line in the sand. Because even though we can draw lines around how an AI might act like a human in a certain case, recognize you as a frequenter of a store, when we connect that AI to the rest of the computer capabilities out there it quickly becomes something a human couldn't do. A convencience store clerk might remember several dozen, even several hundered frequent customers but it tops out somewhere. And after some time the clerk will forget many of those who stop coming in. But an AI with a database for recollection suffers from neither of those issues. But you might say the recall has nothing at all to do with what the AI is basically doing. We have to look at this much more wholistically.