skysight-inc/HackerNews huggingface dataset:
Just to clarify:

Amazon's "main business" is AWS, not their online store. For many years their store operated at a loss. Don't get me wrong, amazon.com is a HUGE business, but it's not Bezos' breadwinner.

https://www.zdnet.com/article/all-of-amazons-2017-operating-...
In this case, respecting DNT also contradict user's short term desires as it leads to longer manual search on retrieved results.
It worked though. Apple is the most valuable American company when measured by market cap. That didn’t accidentally happen.
It comes down to the question of whether you think the opioid epidemic is mostly bad because even perfectly safe addiction stops people from living fulfilling / valuable / productive lives, or if it is mostly bad because people are dying from their addiction.

Making fentanyl available at CVS would probably increase the number of people addicted to opioids, but would also vastly reduce the risk of death in those people (due to better quality control and consistent dosage).
I assume they're more referring to the shader language and such. An easy way to achieve effects in a performance friendly manner.
WSL is great on windows but the situation with Docker is pretty bad still.

Docker on windows needs to not require Hyper-V but to run as a kernel process like WSL does. Also the volume mounting straight up doesn't work on windows and if they can resolve those issues then suddenly a lot of things open up.
The enterprise software world scares me.
In that case, D developers should all be programming geniuses.

Because even less people use D than they use Go. :)
We do a similar thing in our house. Game time happens after everything else has been done. We do make sure that it ends at least hour before bedtime, so the brain has some time to relax. One thing my son loves is that I spend some time each week watching him play or watching streamers/youtube with him. He loves that I'm interested in what he does and makes my monitoring of these things seem less "parental".
https://github.com/mimoo/democracy_threat_model
I love this idea, its something I've thought a lot about. Our large scale farming strategies seem fundamentally ignorant. Nature it full of complex systems of independence that we should be using directly in our farming strategies. I'm particularly interested in fungi to support the nutrient and immune systems of my farms.

See the work of Paul Staments using fungi to treat bee colony collapse.
Values also have types, it's not something that's exclusive to expressions and bindings.
If it had teeth, every spammer, scammer and bot would be using the system to make their actions harder to stop. Every site with an interest in tracking will happily use this argument as an excuse to broaden their right to keep the "not tracking" to whatever the legal minimum is.
And also google “best google webfont pairings” pick one, apply it to your bootstrap site with only 10 lines of CSS and voila the page suddenly feels fresh and cool
> Honestly, if you need a desktop platform at home for anything other than hard core use cases (photo editing, software development, music production, etc.) those tools have largely been written and established.

Yes, and many of them do not make a convincing case for "native=high performance"
Instead of adding lanes, they should have added some useable public transportation like a light rail. There is 2million~ people living in the SFV and all it has is a stupid bus line that goes to the red line. Light rail that connects the SFV to West LA and LAX would be a huge improvement. It doesn't help that Los Angeles city government is incompetent and the rich in Bel Air and Bev hills like to throw wrenches in everything.
They bought a lot more than just Notes.
This is the crux of the anti-Electron folks that I've never understood tbh.

All things being equal, I'm sure companies would love to develop their apps using native tooling and have them simple, beautiful, accessible etc. Doing this 3 times for 3 times the cost, as opposed to once some sacrifices is the obvious reason for this widespread adoption.
Microsoft is #1 company by market cap right now. Its... kinda weird to claim that they're dead and/or dying.
> It reduces bikeshedding

My team works in equal parts go, ruby and javascript. Code review for go code is SO much easier. And it's mostly thanks to gofmt. It still amazes me how fervently some will argue about a single line of white-space or an optional semi-colon...
One of my local gyms this week switched to requiring fingerprints or you were barred from access

If this is a membership gym with contracts, wouldn't they have to wait until your next contract to impose such a change?
Kap and VS Code are Electron apps that prove you can get it “right” but it is troubling that Apple’s own apps don’t seem to have the same quality that they used to.
I'll throw out /r/indiegaming [0] as well for a place to see what others are working on and share what you are working on. You might alway find someone to work with on this sub.

[0] https://www.reddit.com/r/IndieGaming/
I can't say I've actually heard this being a thing in my part of the country. However, you mentioned the following:

> (unless they moved to the area)

Why not just lie and say you just moved to this part of the city/town/state? The only downside is that they'll ask about previous records which could get you caught.

And further, what would be a potential reason for refusing to take care of a patient if you didn't follow them from week 1? I honestly can't think of one besides continuity of care.
The context is people in this thread claim current climate change is happening at a historically unprecedented rate. However, supposedly a comet struck our planet and wiped out most large animals. That would presumably be a global climate change that happened really quickly, probably more quickly than anything we can do. If so, it is false to say current climate change is historically unprecedented.
60M Pages of Digitized Canadian Documentary Heritage Soon Online at No Charge
Until Iowa is not the first US primary, these corn producers will always have an an advantage in influencing American politics.
Discord too.

And like Discord or Finda[1] did, wherever you need some parts of your software to be really fast or to interact with the OS you can use Rust under the hood. And you have the best of both worlds. Using knowned technologies with CSS/HTML and React/Redux for fast UI/UX iterations, with “native access” and performance with Rust.

[1] https://keminglabs.com/blog/building-a-fast-electron-app-wit...
I'd never heard of audio programming as such so what I expected this to be was a kind of talk-to-text keyboard-less programming.
It is not that difficult, just a matter of taste/preferences. There are 10s of veggies which you can cook in all combinations and with spices. Add bread, rice and you'll have dozens of dishes with all nutrients.
I like GDPR but it's probably bad for Microsoft.
Code completion, navigation, and debugging are the only VS features I miss on other platforms. What C++ features are you thinking of?
It's not a conspiracy theory. It's the sad reality of the web today. You would've known it if you took more than two seconds paying attention to how AMP was developed, has been developing and is still being developed. And also how Google often holds the web hostage because of it's sheer numbers (search near-monopoly, browser share etc.).

You can also read a bit about how "great" AMP is: https://news.ycombinator.com/item?id=18627692 I've already mentioned that it's not even valid HTML. There are so many more issues with it. I will not re-iterate, you can read for yourself: https://ferdychristant.com/amp-the-missing-controversy-3b424..., https://twitter.com/lukestevens/status/963905898895699968?re... (including effing AMP for email, https://techcrunch.com/2018/02/13/amp-for-email-is-a-terribl...)
Electron isn't the end game, it's a flawed, but workable solution to the problem of having to support too many platforms on a limited budget. I can't wait till we have something better, but I haven't seen a better solution yet. There are not many companies that can afford to build first class native apps for every platform.
Yep, I exactly wanted to make a point that Audi shouldn't risk their reputation on the matter (well aware of the brand value). IMHO, brands are rushing EV little too fast without bringing something different or public contribution.
We save tons on transportation costs, but lose many orders of magnitude more on redundant labor and economies of scale (one tractor working in a big field is a lot more economical than 1200 humans working in 1200 gardens). Maybe technological advancements will change all of that--perhaps we could have fully robotic farms, but even then I would expect one big factory farm with a handful of big, expensive robots to outperform many gardens each with a small robot.
Metasploit for the Aspiring Ethical Hacker
https://ia.net/topics/the-web-is-all-about-typography-period
You become more expensive and you also typically get more specialized in the things that make you expensive. Even if you keep skills up in a variety of areas, you typically major on certain topics where you're really valued.

There are a huge number of random things I could have been slotted into right out of school and I'd have done a good job. Today, my skills and compensation are much more specific.
What's a little confusing for an oldtimer like me is how developing for electron will be different from developing for an OS - don't you make a commitment to a platform that may or may not end up being your best bet?

For the consumer it's great, of course, each of the three big OSes basically allow you to run the same stuff and judging by VSCode performance can be okay.
IIRC that youtube video concluded that the difference in nutrient content was because growth rates were accelerated by the increased CO2 in the atmosphere but the rate of extracting nutrients from the soil was not accelerated. This is then presumably related to the global greening phenomenon we've witnessed where the increased CO2 has lead to a large increase in forestation globally.

It's important to note that the video asserts that food is still plenty nutritious and if you eat a well balanced diet you're fine and my own note is that there is also probably a limit to this effect.
Cop, copy, copy.

I taught myself about color palettes, gradients, margins, and typography by carefully hitting inspect element on websites I love. You’ll get an idea of font sizes that make sense for headers, tables, written content and more. Inspect buttons to see how designers use shadows or changes to indicate function.

Once you start copying enough and read a book or two on design it will start making sense. Pay obsessive detail to how a payment flow or navigation reacts on a site you love when you do something wrong.

Less is more and start by building out simple forms that feel slick and intuitive. Copy the landing page of a website like Strava. Copy the landing page of a SaaS product you love. Copy the layout and typography of the Stripe documentation. You’ll eventually have enough tools to start making more informed decisions when you are not copying.
Luckily we have already solved this problem, we just need to distribute the solution to the developing world. Better crops and machinery result in much higher yields. If you are a small farmer and you are using livestock for labor something like 40% of your land has to be devoted to growing food for the animals to do the work. We must continue to innovate for that is the only way that everyone can win.
I'm unclear on how LACK of regulation leads to fears around being creepy... Torches and pitchforks are orthogonal to the state, either way.
All companies report to the party, there is no free market there.

XI is the new emperor for life
> Do you have any examples other than pdep and pext?

They're my favorite instructions too, and I really hope Zen2 fixes their performance problems. But as you say: they're not really used much in practice. I can only point to Stockfish, which uses pdep / pext to calculate where bishops and/or rooks can move on 64-bit (8x8) chess boards.

Side note: Figuring out where bishops / rooks can move damn cool. https://www.chessprogramming.org/BMI2#PEXTBitboards

"occ" is an occupied square. Remember that in Chess, bishops and rooks are blocked by both allied and enemy pieces. EnumSquare is a value between [0 and 64) that represents where the Bishop (or rook) is located.

----------

The other instruction I came across that's microcode based was:

1. vgather -- I'm pretty sure Intel is microcode based as well however.

2. PCLMULQDQ -- Carryless Multiply, used for GCM mode encryption. Intel's allegedly has 1-clock-per-instruction bandwidth, while I've measured AMD's to be ~2 clocks per instruction, and AMD claims its microcode (it doesn't say which FP pipelines are used)

Neither are scalar code though.

------

Allegedly, Intel improved the integer-division instruction to ~20 clock cycles on the 9000-series, but that isn't implemented on servers yet. So I guess 64-bit division / 64-bit modulo is now a major advantage to Intel. But this is a very recent event and not widely deployed yet.

> The primary exception is AVX/AVX2 code, where Zen implements everything internally as 128-bit operations. In this area you might make some different decisions if targeting Zen - but the gap is not huge.

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.

Remember that its not a pure win on Intel systems either: use of any YMM register begins to downclock the whole chip, since those registers draw significantly more power. There's also some vzeroupper issues (mostly used to avoid this downclocking problem).

In effect: you need to use AVX2 and AVX512 code with a degree of caution on Intel platforms. Its probably a win if you're reaching for the button, but for very small loops, the downclock may slow down the rest of your scalar code.

-------------

Otherwise, I think I agree with you fundamentally. Optimizing for Zen or Skylake is incredibly similar: use SIMD where possible and cut dependencies.

The Branch predictor is different, but I don't think anyone (aside from Meltdown / Spectre code) relies on the details of either branch predictor. The number of execution pipes are different, but the programmer's focus should remain on cutting dependencies and maximizing ILP, regardless of the number of execution pipes that exist.
Thanks a lot for doing this Peter!

As a J-2 visa holder, who has been issued an EAD, I will need at some point get a company to sponsor me via H1B. Questions:
a) If I get the H1B visa, my J-2 visa status is abolished?
b) If the company then fires me, am I able to switch to J-2 visa again? Will I need to re-apply for the EAD?
c) Can H1B and EAD somehow co-exist?

In my understanding, it will be best to keep the J-2 visa for as long as possible, in order to have the flexibility of not being tied to one company. On the other hand, it might take couple of tries to get the H1b, so this tells me to apply relatively early on? Is that the only trade-off?
Without teeth--without meaningful consequences for violations--laws and terms of service are meaningless.

What will MS do when their terms of service are violated?

A regulation forbidding use of this tech for discriminating against certain people is worthless if it specifies a $10/day fine. Penalties have to be significant, and life-changing for violators.

For example, HIPAA / HITECH specifies criminal penalties, and pierces the corporate veil, for intentional violation of patient privacy.

Both are important. 1) the penalties have to be criminal, not civil. 2) natural persons (not Romney persons) who break the law must not be able to hide behind the limited liability of corporations.

A third step would be a bounty system for citizens bringing charges. The same thing made the Clean Water Act enforceable in the 1970s-1980s.

Without enforceability like this, it's all chin music. Or even greenwashing.
A UN study from 2013 showed that 1/3 of all food made worldwide is discarded as waste, about 1.3 billion pounds per year. http://www.fao.org/docrep/018/i3347e/i3347e.pdf

A recent survey of US households shows that they throw away an average for 250 pounds of food per year. http://ada.multimedia-newsroom.com/index.php/2018/11/26/surv...
The Ubiquity of Smartphones, as Captured by Photographers
I agree, this is definitely one of those times where we only have one side of the story. I think they are humorous but likely not a real commentary on hiring practices.
Overloading is orthogonal to all this. The reason why it can't implement two generic interface instantiations on the same class is not because method names clash (even sans overloading, the language can provide means to implement interface methods with differently-named class methods - e.g. C# does that). It's because at runtime, once you erase the type parameter, there's only one interface type, and you cannot implement it twice.

The reason why OCaml doesn't have this problem is because it doesn't have runtime type checks of the kind Java does - there's no "instanceof", and there's no downcasts or cross-casts. So it doesn't need reified types, because it doesn't allow the programmer to perform operations that expose the difference. So, for OCaml, type erasure is a sound approach that is consistent with its type system. But not for Java, because of casts and "instanceof".
Part of the problem with "algorithmic accountability" is that you need a way to verify that the software that is being used is identical to the one that has gone through the audit. With open source software you can do this with checksum verification. Is this type of verification something that any AI or facial recognition software has provided?
More like Boeing claimed to have anti-gravity that only worked in Seattle. Very exciting, really anti-gravity, but not yet useful for full scale implementation on planes that need to fly everywhere.
Without the delete tombstone it can be made much faster, yes.
I wrote one recently:
https://github.com/LibreDWG/libredwg/blob/master/src/hash.c
I'm glad awareness is increasing. These asymptomatic viruses are so scary and probably make it trickier to diagnose and help people, let alone at scale.

I wasn't diagnosed with Hep C until my mid-20s even though I was likely born with it - it was just sheer luck I found it before living a few more decades until surprise liver failure. I hate to think of the many who might be in a similar circumstance.
In which case she probably has read the book.
"it has some benefit, in the sense that it grows the economy which pays the taxes which funds things like dams and bridges and fire departments"

The inland cities won't get to see that benefit, since the train that's supposed to be providing that economic growth would only be doing so for two coastal areas.

Unless you're claiming here that the prosperity of San Francisco and Los Angeles means that Fresno and Bakersfield magically become richer, in which case that'd just be trickle-down economics (but maybe that'd be fitting for the state where Reagan was Governor).

"Frankly, I wish we'd stop using my tax dollars for road subsidies in Flyover, Oklabraska"

Okay, you're free to vote that way. I don't wish that, and I'll tend to vote accordingly. Or, more precisely: I'll be inclined to vote for politicians who in turn vote/act/etc. accordingly.

(I do agree with you about the proliferation of military assault vehicles in civilian police departments, for what it's worth; that's a waste of money that'd be better spent elsewhere, like on transportation infrastructure).

In the case of this train, the point of the State of California funding it is for the State of California as a whole to benefit. If San Francisco and Los Angeles want to build a train that only connects those two cities and leave the rest of the state high and dry, then they can spend their own money on it. If you expect us inland Californians to pitch in, then the least y'all can do is give us some stops in the bigger of our cities.

"They're already getting more than their fair share in Bakersfield"

It's called redistribution of wealth. Just like how some individuals are disadvantaged relative to others, some cities are disadvantaged relative to others. Just like how we help subsidize the welfare of less-fortunate Americans by asking for a greater contribution from more-fortunate Americans, we help subsidize the welfare of less-fortunate cities by asking for a greater contribution from more-fortunate cities.

The subsidy arrow in America points solidly toward the middle because that's where it's needed most right now. Trying to move the arrow back toward the coasts will only amplify that need.
When you're talking about a "fade" in audio, there's a start time, an end time, and a duration. So it's not at all inaccurate from that point of view to say that combustion motors will fade away after 2026.
When electronics fail, it's generally a handful of causes, or one or two well-known design flaws in some particular model of device. I'm not sure I've ever had a device that I haven't repaired at least once, and I haven't had a laptop I haven't repaired at least a half-dozen times before upgrading.

You know what's usually useful? A youtube video of disassembly, digging up a service manual with google's help; pretty much the same as a toilet, but generally far safer than trying to fix a light switch.
I think GP is talking about improving performance just by omitting deletion support in hash maps. For example the tombstone marking in the original article won't be necessary. Experience tells me that for a host of data structures (vectors, BSTs, hash maps and many others), omitting deletion support can simplify the code a lot as well.
When I read the headline I couldn't help but think "how is VW still in business?".

If you're not familiar with the degree to which they deceived regulators and the public I suggest the Netflix documentary. https://www.netflix.com/title/80118100 (Season 1, Episode 1).
VS Code might be a nice editor and relatively efficient Electron application resources wise, but it is definitely not native.

You can't even CMD + CTRL + D words to look up their definition, which is such a basic expectation of any native text input area in any real Mac app.

This doesn't excuse Apple, but it's hardly a good example to the contrary of what is terrible about Electron. Maybe for an IDE it matters less since almost all of them have terrible interfaces and the advantages of being able to write extensions for anywhere being more relevant than most apps, but Electron apps like Slack are still hot garbage compared to a native app for any platform.
Depending on the country you go to and its particular tax treaty with your home country, the fact that you are traveling AND working (I'm not capitalizing 'and' to be an asshole, rather I'm capitalizing it because I don't want to mislead people into thinking that being a tourist can fuck up their taxes) affects just about everything. Depending on the country, the type of income, and my authorization to be in that country, the funds earned when I am physically in another country could be taxable in my home country, in their country, in both countries, or (very rarely) in neither.
> I really don't understand why engineers choose to use JS to made a text editor.

Not to sound snarky or anything, but because of their sheer numbers the argument is that it makes them a lot closer to the infinite amount of monkeys with an infinite amount of typewriters.
Awesome list. One point I’d add that changed how I think about UI and UX is being aware when UI reflects internal code structure instead of just doing what a user would want to see.

The latter is harder, so engineers tend to avoid it, often subconsciously.
"5. He operated under a cloak of secrecy..."

Well, they say He works in mysterious ways...