skysight-inc/HackerNews huggingface dataset:
> Obviously, RMW decodes to three unfused µops

It's not obvious at all, in fact it's wrong. Almost all RMWs, including inc, decode to 4 unfused uops (1 load, 1 ALU, 2 store).

More importantly, the numbers you quote above for uop decode patterns are for fused uops, not unfused (after all, the decoders produce fused ops). In the fused domain 2 and 3 uops are common (inc is 3 but add is 2, not sure they differ - you could just use add [mem], 1 to work around this oddity). So in many cases (2 uops) it will decode in parallel with other instructions.

More to the point:

1) This applies only to the legacy decode: most instructions in most applications, and nearly all in small loops like this example will code from the uop cache, where the restrictions above don't apply.

2) Even if for some reason you are running this entirely on the legacy decoders, 3 fused uops per cycle is still "fine" in comparison to the simple instruction variant because the latter will need 4 uops to accomplish the same thing, so the reduction of apparent decode throughput was canceled out by the fact that few total uops need to be decoded.

3) The only case above where more complex instructions actually results in fewer uops is the 3 uop case: the most complex case of 4 and the case of 2-1-1 still result in the max of 4 uops: so it's kind of the exception rather than the rule (if it is even correct on modern chips: if you got this from Agner that section is wrong for Skylake where the legacy encoder has improved but it's not reflected in the document).

4) The more interesting case of "complex" fused instructions is probably load-op, which only generate 1 (fused) uop so are eligible for the fast 1-1-1-1 decode treatment.

There is pretty much no downside[1] to using "complex" memory destination RMW and memory source load-op instructions in modern x86, and all decent compilers generate them when they can.

---

[1] Here I'm comparing using them vs not-using them in x86, which already has them - I'm explicitly not trying to compare whether it is good to put them in your ISA/arch in the first place.
The humanities teach empathy better than any other field.
Imperceptable differences that have no impact on gameplay? Sure. Leave them in. Unless you are playing on a vintage crt screen, these tiny slips are nothing compared to how diffetent modern lcds butcher classic games.
Browser bundling was among the lower offenses they went after Microsoft for. What they did to OEMs is really what buried their anti-trust case. For example, the first DOJ anti-trust lawsuit in 1994 was primarily about OEM contract/licensing abuses, and set the stage for what came later.
So you are working with a bank? Those are the places which mostly block these kind of apps. If you are then it is a matter of time before they are on to Google music and blocking it too.
I wonder if they could also extract elements from seawater to assemble munitions. I used to think military spending was wasteful, but the technology is just too fascinating; I get a thrill just from thinking about it.
You don't need to. I was trying to be helpful.
You're talking like Spotify's days are numbered. Spotify has many ways it can outcompete Apple on, not just budget. Just like Lyft did with Uber, DuckDuckGo with Google, etc. This is not a winner-takes-all market.

What Apple has done here is they've captured their ecosystem users that likely would have never signed up with Spotify in the first place.
Night mode is nice, and Pocket has it also. Interestingly, they also have advanced font/formatting features as part of their Pro offering. I don’t know if any other apps where advanced formatting options are part of a premium package.
Are there thousands of smashes per game? (I'm not a Donkey Kong player.)

Yes, the RNG is not perfect, as the article says,

> the points derived from those enemy smashes are assigned semi-randomly

(which apparently solves an old mystery there).

In any case, the numbers for total smashes is 380 for Mitchell and 242-371 for the other players. Percent of score from smashes is 17.7 versus 10.6-14.8. In both cases the large variance among the other players shows that while he's an outlier, we can't expect the numbers to be close to a specific average, this isn't a simple statistical process where we average out thousands of independent variables.
Most of this is in Agner's docs (check out microarchitecture.pdf and look for 'fusion') and his spreadsheets (which lists the number of uops in the fused and unfused domains).

Once you understand that background see this answer:

https://stackoverflow.com/a/31027695/149138

which has the most up-to-date info I'm aware of about some important issues that doc doesn't cover (in particular, revealing that there is are actually two types of micro-fusion: the bad kind that unlaminates before renaming, and the good kind that doesn't).

IACA is mostly pretty useless for this stuff: or at least I'd never trust it by itself since it fails to correctly model a lot of the various cases (including stuff as basic as L1-hit latency for the various addressing modes). In this case, it actually was IACA that triggered the investigation, so this is a bit of an exception to that - but even here it failed to model it correctly once the details were worked out through testing.
There are several conferences and journals that will accept submissions from open-source developers (or anyone else). Many have a blind reviewing process, so the lack of a famous name/affiliation shouldn't have an effect. Classic compiler conferences are PLDI (programming language design and implementation) and CGO (code generation and optimization). And of course, the LLVM conferences seem a natural venue.

But generally it's hard to publish code. Mostly you have to write a paper, and the paper usually has to have an element of novelty. Can't just be "I built this compiler!"

Lot of LLVM talks seem to be tutorials, which is another approach, and of course very useful.

Or you can do like Adrian Sampson and many others, and publish it via a blog. You won't get tenure that way, but most people don't care.
Except that we didn't see this in fields that transitioned from female dominated to male dominated. There is more going on than just the number of workers. Our society still has a serious problem with undervaluing women.
> If one if distracted by trying to satisfy the borrow checker

That distraction goes away with experience. Once you "get" how to structure ownership in the program in a borrow-checker friendly way, it stops being a problem.

Similarly, if you are used to dynamically typed languages, you may find static typing a distraction that tests your patience. But OTOH if you think in types and use design patterns for them, they become a tool to improve code reliability, not an obstacle.
Every C compiler and major C library out there to begin with, given that it's the most important and fundamental language in the real world right now. Did you get it this time?

Have you been living under a rock lately, or are you just pulling the oldest trick in the psychopath book; condemning others for reacting to abuse? Sharing and attacking others for not agreeing is not the same thing, I hope we agree so far.
MSFT wasn't busted for bundling the browser but it was busted for forcing OEM's to not include any 3rd party browser. To get the OEM pricing for the OS, you had to agree that your OS image would not include any software that would compete with IE.
Ask HN: Business case for cloud i.e. Office 365 Email
I've been tasked with convincing my boss who is quite adverse to the idea of cloud based anything to move our email server to the cloud. Have any of you had any problems with cloud email, data corruption etc, or has it made your lives a whole lot easier. I'm kind of hoping for the latter.
Yeah, I like reddit, but I do feel like if I post too long on one account people can start to figure out who I am. I always think about what people could google search to find things about me, since I myself cyberstalk others pretty well.
While Thiel definitely charmed his way into a NZ Citizenship (amazing piece here by the way: http://www.nzherald.co.nz/indepth/national/how-peter-thiel-g...), I always read his comment more as advice to avoid the traditional Management Consulting / Finance / Law career paths that a lot of Ivy League / Stanford / elite school students end up taking, where they work 70+ hours every week, generally competing for a 5% chance to become a partner 15 years down the track. The payoff isn't great. But the prestige of working at McKinsey / Goldman / Cravath is.
From the guidelines:

> "Are paywalls ok?"

> "It's ok to post stories from sites with paywalls that have workarounds."

> "In comments, it's ok to ask how to read an article and to help other users do so. But please don't post complaints about paywalls. Those are off topic."
Does the citizen score have something to do with the social apps from Tencent? If yes, you have to wonder how does a South African company called Naspers fit into all of this.

https://www.reuters.com/article/us-naspers-tencent-holdings-...
Apple hasnt tried. Seeing how well Apple has done creating performant CPUs compared to Intel given the thermal and power constraints of mobile and how far they have come with GPUs for mobile, they could probably do well. On the other hand, the future is mobile. Has AMD and NVidia shown any skill in developing GPUs for mobile that are competitive with Apple?
If it were targeted towards developers I would highly, highly emphasize type annotations with a type checker.
I too watched this the other day, but I still like Chrontendo's telling much more: https://youtu.be/Z0VKg_dJzzQ?t=29m48s

His entire series is very well done, but episodes have slowed down, especially after starting two more series, Chronsega and Chronturbo.
This is really cool. It makes me wish I were still doing reverse engineering stuff for games...or that I had been smart enough to make a presentation on it while I still was.
This is a stacked lineup of guest speakers for a university course!
USG have a long history of servicing it's debts by taking on more debt. Not that there is anything unusual with that pattern.
Also works with Chrome Cast, which is pretty affordable way to build multiroom setup if you already have some audio equipment around.
Don't know why this is so downvoted much. Just because Facebook evaporates doesn't mean the very concept of "social graph" will go down altogether with it.

Facebook will probably be replaced with more flexible identity and social graph architecture that's more decentralized.

It's different from McDonald's because humans have to eat, and McDonald's can always pivot or acquire other companies to provide the type of food that's more in vogue, but what Facebook has created is equivalent to a nightclub. When a nightclub loses its reputation it's very hard to recover.
The size of the stater brothers operation sounds much smaller than amazon’s. So I would assume the potential upside would be small for somebody to come in and compete. But good point. I’ve been following the whole union thing with Boeing for years and the situation I described is exactly what happened with them for both the machinists and the engineers. Both groups are heavily unionized for Boeing in the Seattle area. After years of the union continuously pushing Boeing to improve wages and benefits, and that made Boeing start looking for a way to get around the union.. moved to “right to work” states, moved head quarters, outsourced to other contractors.. basically the unions pushed the company to diversify their options for building planes. And this is in one of the most expensive product categories you can imagine. So in low margin industries, unionization is without a doubt risky for the future of those workers. You may say I’m speaking the company line but a review of history in the factories in the US shows that unless the company can directly compete with the overseas competitors, they are run out of business by people buying the cheaper and often similar quality product. There are many people in China right now trying to automate as much of their business as possible so that people in more developed countries cannot undercut them once they figure out how to automate before they do.. and if a particular factory in China decides not to do it to help keep their workers, somebody else will do it that currently is not rich and doesn’t own a factory.. why should they let the other guys who already own the factory be the last people to own a factory and no innovation after them? So yea they will get funding and start their own automated factories. So it’s a continuous race to the bottom and every time people say “oh hey stop, we are good” somebody sneaks past them and keeps the race going.. I think the real take away is we need to figure out how to have something like a union that helps people but doesn’t basically hurt the companies competiveness globally.. maybe having the people get paid the same but the robots do more.. the people should push for that instead of unionizing and asking for more money to work less.. because let’s not kid ourselves, that is what people that are unionizing are hoping happens..
If the % required to service it was growing significantly, that'd be a problem. The debt outstanding growing, on its own, doesn't matter.

The government is not a human who better pay off their debt by 65 or they're screwed. The government'll keep receiving income "forever", in a pretty predictable way. So there is no reason to ever stop borrowing; it'd be leaving money on the table (utility of a dollar now > utility of a dollar later).
Is video available?
Do you mean the columns of the row?
Both the city of Chicago and state of Illinois have their own well-publicized debt problems, so I certainly assumed it was regarding one of those considering the source.
Damore's lawsuit is a huge story in the tech industry, yet, for some reason, stories about it always get flagged on HN.
Type hinting isn't part of Python 3, it's part of Python 3.5+.
If you want a great way to play tetris on your way to work check out the Tetris MicroCard. Arduino based card that just plays tetris and is part of the larger Arduboy project.
The US never pays back, they re finance the debts. Ad infinitum. I mean does anyone think that at this point the US could STOP the deficit? Let alone turn it into a surplus and start buying back debt?

US is too big to fail and rich people have to put their money somewhere. At least with US Treasury bonds you get a small but reliable return. So the train keeps going.
It also allows for unioning two dicts together:

baz = {**foo, **bar}
Is there no indignity that the boomers will not inflict on their progeny?
Exact same thing has happened to me. Really disappointing. I have been trying to get access to my Bitcoin since December 17th. Needless to say it’s been painful to watch the drawdown without getting any support from coinbase. I understand they are busy but this is absurd. My ticket # is 3413109.
The US hasn't had a sustainable budget since 2002.

The Obama years added ~$10 trillion in debt in eight years. How was that sustainable exactly?

For the last decade, the CBO has been forecasting blown out budget deficits starting about now, because of entitlement costs. There's no scenario where the budget deficit doesn't explode, unless you cut entitlements, dramatically raise taxes, or both.

Have a look:

https://www.cbo.gov/sites/default/files/cbofiles/images/pubs...
> Python allows the overriding of just about every operator.

Except the boolean operators (and, or, not). For instance __and__ overrides the binary and (&), not the boolean and.
A toddlers guide to memory leaks in JavaScript
I would go for .ai because thats the core feature. domain with .ai gives away your core offering (i.e. ML/Al) and you would have customer attention from the very beginning. According to me, it also adds credibility and legitimacy in a subtle way which goes a long way in lead conversion.
This is a crazy scheme. If you want CO2, there are much easier places to recover it than from AIR. Flue gas of furnaces/boilers, chemical plants that make it as a byproduct, etc.

Worse, their whole plan needs a source of hydrogen, which they claim will come from green energy electrolysis - but the math doesn't work well. You'd need nuclear reactors or big hydro dams to make enough to make fuels at scale.

And it won't be carbon neutral because of the second law...
No it’s not that bad for you.
IMO this is just an extreme extension of the bs which has been peddled by multi national for ages (through celebrities no less). Have sugar laden cereals for breakfast, it helps in keeping your child active or this particular stuff has "added" or fortifies with minerals and vitamins. Or celebs endorsed cola brands.

What is happening now is that people, specially celebs, are realizing they that production assembly lines are now commoditized and advertising has become less and less problematic, thanks to twitter, Facebook and other social media outreach. So, they don't need a multi national brand like Nestle, Kellogs etc to peddle their stuff - there is no need for "Tom Brady" approved Cola or something. They can reach directly to their core audience.
I live on a university campus, with excellent internet (and LTE on my phone). Downloading videos is not something I need at the moment.

The background playback feature is the only thing I would like, but I think it is a really shitty decision to have such a fundamental feature as a paid one, therefore, I won't pay for it.
This happened with MP3s?

It happened to me with several hundred PDFs of sheet music from IMSLP that I was storing on iBooks. I couldn't work out where they had gone or why they were wiped. I switched to GoodReader and painstakingly had to rebuild the entire collection.
Lloyds Bank bans Bitcoin purchases on its credit cards
I’m a little surprised at this point that Apple still doesn’t include a default Python 3.x on macOS. It’s the single thing keeping me from moving (as there’s a big difference between “just run this” and “first download this, then run this”).
You could still make a blog post or presentation on what you did.
yes, i did — but i’m pedantic too, so no worries!
Agreed. I'd love to have an extension that searches my Pinboard prior to going to a search engine.
As does Google Play.
I thought that there was (FDA?) regulation on what foods can be labeled as organic. Will have to look into that.
How would it be decentralized? You and your webpage on your box gave rise to yahoo and then google.
I believe you're thinking about `add`. According to Agner Fog's instruction tables, the load and ALU uops are fused for `add`s, but not in the case of `inc`

http://www.agner.org/optimize/instruction_tables.pdf
This is one big reason I feel pessimistic, considering I’m not very good at programming and I don’t understand a lot of underlying technologies at a fundamental level, I feel as if I truly don’t have control over the devices I use, and how I want to use them.
> Google seems to have embraced the presence of Apple devices in its ecosystem, so why not the other way around?

Google is an online services company with incidental hardware, Apple Music is a hardware company with incidental online services. Google's primary concern with it's hardware is driving online services. Apple's primary concern with online services is driving it's hardware ecosystem. So, sure, Google has no problem embracing other hardware platforms for it's online services, but Apple has a lot less interest in that.
The federal government’s debt to income ratio is roughly 4:1. Private entities get loans with that level of debt all the time.
Could they fuel their plant with their own product and still have net energy gain

No.

https://en.m.wikipedia.org/wiki/Second_law_of_thermodynamics
Well it’s now YouTube that makes you dumb.
don't many option plans say that shares are non transferable until a liquidity event unless company decides they should be transferable (ala what uber did recently).
Labor offers solar panels and Tesla batteries for 50,000 South Australia homes
The link you provided shows percentile by household, not individual. Just clicking on the link on that page to go to individual brackets, suddenly 63% drops to 50,000/yr. That's not a terrible salary, but as expenses have gone up much more rapidly than wages for quite some time, it becomes feasible that that would be eaten up quickly by debt burden and cost of living in many places to where saving is difficult. https://dqydj.com/united-states-income-brackets-percentiles/
Self-plug: I built a 5 minute word game for this very reason (diffuse mind time) that fits right in with your list of options.

www.esoterica.io
Firefox: Grinds to a halt after my 2nd or 3rd attempt, but recognises each one I (sort of, as it stuttered) drew accurately.

Chrome: Stayed smooth but did not recognise a single digit correctly.

Not sure what causes either of these problems :(
It looks like most of that was during the Great Recession. Does anyone have any details?

We spent $1 trillion in Iraq and another trillion in Afghanistan, but that should have shown up earlier?
> Doesn't mention immigration
> Doesn't mention outsourcing/trade deficit
> Doesn't mention how section 8 housing vouchers and violent crime stop gentrification
> Doesn't mention foreign real estate investment

This article is worthless.

It links to an article called "Capitalism Is The Real Problem" with this gem of a quote in it:

> People want the fruits of production and the yields of our generous planet to benefit everyone, rather than being siphoned up by the super-rich, so we can change tax laws and introduce potentially transformative measures like a universal basic income.

To translate out of Communist-speak, the author wants to raise taxes on the middle and professional class, (the people living in NYC & SF) to give it to all the unproductive, low-skill immigrants the super-rich corporate CEOs brought in for cheap labor over the past 30 years. Great.

Here's a better idea. If you need government assistance to survive, you forfeit your right to reproduce. Snip snip. No kids. In 2 generations the problem is solved, and then people who are productive can afford to have productive kids. America isn't a giant factory for making more people who need welfare. We need to stop running it that way.

> Cities, Shoag says, could do more to support fertility rates, population growth, and opportunities for lower-income people to move there and thrive by building more and affordable housing.

No. I do not want my tax dollars paying the rent for a foreign-born cleaning lady who is employed by someone richer than me, so that rich person can pay her less than what she actually needs to afford her rent.
Dabbling in the Cryptographic World (1999)
I'd been a 2.7 holdout for ages, but when f-strings were greenlit for 3.6, I decided then and there that all my new personal projects would be written in 3.

I'm glad I did. F-strings are wonderful, as is pathlib and the enhanced unpacking syntax.

Since I started my current job, I've also been writing as many scripts as I can in Python 3 as well (and Docker has been a godsend for that because I can now deploy 3.6 scripts to the few servers we have that are still running RHEL 6).