skysight-inc/HackerNews huggingface dataset:
Good question. BlockingCollection is actually a wrapper around a ConcurrentQueue. It provides some nice things like....blocking so the queue can be used in a producer/consumer manner.

Channels does this but has 2 advantages.

1. It is built on the most up-to-date threading primatives (ValueTask) which gives it a perf advantage.

2. It's internal design is very simple and lightweight. BlockingCollection was designed to have swappable guts. Channels are single purpose.

The other nice thing is the channels API is really no nonsense super simple to get GREAT performance out of normal async/await. No tuning really needed. I got >300Krps out of a sequence of chained channels with a buffer size of 1.
Evil Neighbor Boy Party Destruction Game
I work a lot for these guys. The larger companies have whole teams responding to these kind of emails. They triage incoming emails and then the team can send the emails on their own on behalf of the C-level exec.
Right. C is not designed to be memory safe. So certain invariants are harder to prove (or just not true). One problem with UB is that it allows compilers to assume false things.
Yep. A lot of quant strategies actually exclude biotech altogether. Simply too volatile. Even with relatively conservative portfolio concentration limits you can still lose millions on a bio name dropping 50% due to a rumor of a failed clinical trial.
> Article: Firefox doesn’t always work better than Chrome

I assume the author isn't on Quantum because my experience (developer edition) matches yours. Firefox is mind bogglingly fast, which is precisely why I dumped Firefox for Chrome when Chrome first launched. My extensions seriously bloat memory usage; memory is cheap, time is priceless.

Features and privacy are great, but the performance is simply so incomprehensibly far ahead (and we don't even have Servo yet). The omnibar is also default now and is more reliable than the extension - that was one crucial Chrome holdout for me.
Specifically regarding speculative sidechannel attacks, your rebuttal does not address the comment you're replying to. kllrnohj is specifically noting that the mitigations for speculative sidechannel attacks rely on seeing the patterns of a preemptive operating system using the facilities expected by the hardware for that task.
No mention of healthcare at least in the TOC this year, perhaps not surprising given Beth seidenbergs recent departure. Anyone know if they're still doing HC stuff?
Not to mention the Atomic bomb.
Spotify engineering culture (2014)
I think that this was inevitable given the rise of social media and the Internet. It’s still entirely possible to be a great developer without having a Twitter or Facebook account, but it’s tempting to feel like I’m missing out on information from not subscribing to the latest fight on Twitter.
I do Chef and Ansible development. I'd love to know how to sell and find more good customers. I have a long-term customer who's had me on what amounts to a staff augmentation project for 3 years. I know it won't last forever. How would you go about finding more projects like this?
I say this as somebody who has had multiple-hour long debates with people on whether China would have been better off under the Nationalists. Despite ambivalence toward the Nationalists mixed with loathing for Chiang Kai Shek, I've always passionately advocated that China would be better off if the Nationalists had triumphed.

With that said, I can think of two (good) reasons people might think that China's current rise could not have happened under the Nationalists.

1. The Nationalists were extremely poor at stamping out corruption and warlordism. China appears to have been too large a region for them to competently exercise control. Their success in Taiwan therefore may be partly attributable to a smaller landmass over which they were more capable of exercising competent hegemony.

2. Taiwan's success is partly a result of their gradual liberalisation. It's hard to say whether this same liberalisation could have taken place on the mainland.

That said, like I mentioned, I think it's hard to argue that China wouldn't have been better off. Certainly in the short term. Without the Communists taking power you avoid every atrocity under Mao. That alone is hard to offset with any later (pseudo-)unity and progress.
I go to Reddit and HN for technical topics I have an interest in. Mostly Machine Learning on Reddit.

For more political and personal topics, Facebook is far better. Mostly because there are far more Facebook groups than there are subreddits, so in a controversial topic you tend to get vicious, abusive individuals taking control of a given category on Reddit. Because there are a lot of these folks out there and there's no objective way to remove them. On Facebook, you can create a group on topic X, run it sanely and gradually get credibility and get people migrating from the less-sane groups. If there's a way to do this on reddit once some dubious character has claimed a given topic, I'd like to known.

And for really small groups, Dischord seems best.
Suggestion: click select the other piece, click & hold swap them

I lost a couple of times because of that
How we nearly lost the shuttle Discovery (2012)
Not from Apple with so much flexibility. But there could be third party apps that use Apple's CallKit SDK to provide something similar for calls.

I'd also suggest sending feedback to Apple periodically at https://www.apple.com/feedback even if it seems like the feedback is never taken into account for changes or new features.
I guess I was a little surprised. I make a slight effort to avoid furrowing my brows to prevent wrinkles, for example, and this study shows a benefit to making certain expressions. I still am curious if they would make certain wrinkles worse in the long term.
You bring this up presumably because of the tech company angle, to suggest that Bezos buying WaPo is somehow in the same ballpark of influence-purchasing that Uber and Google are caught up in here?

That seems to be a slightly disingenuous comparison. For one, Bezos seems to be taking a pretty light touch on Washington Post editorial content, which probably makes sense for him as an owner, since it's probably worth more as a business if it has a solid editorial reputation.

For two, if you're looking to cast aspersions on the editorial influence of owners, you'd maybe want to take a look at who owns the Evening Standard, since that's the paper whose coverage has apparently been put up for sale. It's Alexander Lebedev, billionaire Russian financial/aviation 'oligarch', who was literally a KGB spy in London in the cold war.

But sure, I bet you're right to be concerned about the sinister motivations of a bookseller now he owns a newspaper.
I hate the fact that Ruby doesn’t get more love. It’s a great language on its own. It doesn’t need Rails.
Thank you, Walter. For everything.
Indian Regulations Holding Back Tesla from the Indian Market, Tweets Musk
I have found that if the earnings comments are easy to understand, the stock is going to go up. If there are lots of qualifiers and they invent new ways to measure: sales, costs and profit, then the stock is going down.

If they mention the weather during the last quarter - run!
In the meantime, my essay has gotten little attention: http://yuhongbao.blogspot.com/2018/04/google-doubleclick-moz...

Even things like this (not covered in the essay) has been hard to find more info about: https://twitter.com/berendjanwever/status/775366191078641664
Always this. Just write. Find a sample unit of your target audience, and ask them to read your posts and give you feedback (what was hard to follow, boring, interesting, too much background, too little, etc) and iterate.

As for #2, if you have a friendly prof for a relevant course or two, ask them directly! Chances are, they'll be happy to have you write about what you learned from their class, and may even be willing to read your posts and give you feedback.
I agree many of my mates would kill for a $90k fellowship, 15 years is too long to commit to anything though.
Also obesity is bad for you.

Or just assume China will fix its air in 10 years while Americans (and Chinese) keep getting fatter? Lotta ways you can work these numbers!
> Process-based sandboxing was too heavy in old hardware systems, but on modern ones is the best approach.

They actually started first with full process isolation, then realized that it had an outsize impact on performance, and now they're going back because the consequences for security are now known. There have been spectre-related patches going into chromium and v8 for the last few months, and they just keep coming, it's hard to overstate how much work must be done to have a decent probability of not being exposed to the known variants of these bugs in a software isolated system.
Another major problem with the software level mitigations is that they cost considerably more. Speculation fences cut performance to a small integer fraction of prior performance.
Justin Trudeau had electoral reform in his election platform; that was swept under the rug when he came into power more deeply than Trump's build-the-wall-and-make-`em pay-for-it.

First I'm hearing about this return of electoral reform. Is this coming from the Feds as a way of distracting the B.C. public from the unfolding oil pipeline boondoggle?

(And is this Canadian cruft even remotely on topic here, by the way.)
They weren’t reliant on agriculture to sustain their civilisation.

Sure, the human race is unlikely to die out unless we get to mass-exinction levels of climate change, but our civilisation is a lot more fragile.
Thanks for the insight! Good answer.
OpenAI Fellows–Fall 2018
Because web browsers are so different, there are millions of ways of getting around it and most devs would rather make their own solutions
Ask HN: What's the best way to make money as a developer without writing code?
Specifically I'm thinking of possible side work. I'm familiar with working as a technical interviewer (eg Karat) and doing code reviews (PullRequest). Any other non-development opportunities that you all partake in or are familiar with?
Not fitting your narrative doesn't mean it is backward. The healthcare infrastructure the government has invested and fast progression of technology to catch up with rest of the world after opening up help greatly. My parents now have something called 'Serious Illness Insurance' that comes only in recent years, which would cover cost for illness like cancer or big surgeries to up to 90% by the government, which I think is a good example where the progress has been made. Also Chinese healthcare system is still largely stated owned, it is bad news for the doctors, but it makes the cost to access necessary treatment relatively low, much more so than the US.

Problem remains, but generally, comparing what China used to have in 90s, it is like a heaven and earth difference.
> You don't have to have an address if nobody wants it

The spec says otherwise:

> An object exists, has a constant address, and retains its last-stored value throughout its lifetime.

[C11 6.2.4.2]

But that's more of a pedantic detail. More pragmatically, you do have a point. It is indeed possible to build a C compiler that has no "undefined behavior", but only unspecified behavior, as long as the program doesn't actually violate memory safety by, say, writing to some random address it can't prove it has permission to write. For example, guessing the stack slot used for a variable and overwriting it pretty much has to be undefined behavior – it's hard to optimize anything if variables can randomly change their values without being referenced. But that's okay, because overwriting random memory is inherently unsafe without obtaining a guarantee of what that memory will be used for. On the other hand, reading from random stack memory could be unspecified. A particular stack slot might be used for a variable, a temporary expression, or nothing at all, so it's unspecified what you might find there. But the compiler will always generate a single, real load instruction, without making any assumptions about aliasing that it can't prove; thus, you'll never get logical impossibilities like "x + 1 > x".

And such a compiler could definitely produce code that's better optimized than -O0 – because -O0 is a very, very low bar (it doesn't even do register allocation, in the compilers I've seen). But I expect it would do substantially worse than a modern compiler's -O2 even on average code, with a lot of little missed optimizations that add up. (Though if you're using -fno-strict-aliasing, you're probably already eating a decent percentage of that penalty.) And in the worst cases, like tight loops that can be autovectorized only by taking advantage of undefined behavior, it might be only a fraction of the speed of the better-optimized version.

Still, it might be an interesting project, especially if you could formalize the "no undefined behavior" guarantee.
Maybe, but I think you would be surprised.

I wrote to the CEO of a company with a market cap of ~6bn (For comparison, WD40 is 1.95bn) about opening an office in a town where I wanted to move (Also his home town), basically so I could work there. And I got a reply within a few hours. It wasn't a crazy big reply but it was still personal.

I think what really hit it in my case was the fact the town in question was his home town, so it was personal to him. We don't know what was in the letters that were sent to these other companies, but they may have hit a chord because they were pet projects of the CEO's, or because they had already invested capital into it and failed and it was already a mark on their resume etc. CEO's are pretty passionate people.
There is definitely mention of health care, including speculation that tech may help bend the cost curve down.
You can't trust Facebook to police it's employees in the saw way law enforcement will. As stated already, seek help from the police. Also, keep evidence if you have screenshots, e-mails, texts, however you know this is happening.
Thanks for the info all above posters. Sounds like dislikes for Rider are mostly from Windows users or people who need GUI support. I'm on Mac and have a lot of experience with Jetbrains IDE's so that's probably my best option.
If you are writing an API that others are incorporating, create equivalent pull methods for every push where possible (or alternatives if necessary).

The reasoning is simple, sometimes programs get in bad states. When a bad state is detected, a program _should_ be able to go into a recovery mode and return to normal. But I've seen push-only libraries (that I could not modify), where access to the data I'd need could not be guaranteed.

This particularly holds true in a client-server relationship. The client should have a method of asking the server for help without needing to reset the session.

Ignoring state effects, a pull model will permit recovery by default, while it needs to be planned in a push model.
I just wish they'd release what they have on Kaspersky. All they've given us is vague assertions.

The only specific thing I know is that a CIA contractor took some CIA tools home had Kaspersky installed, and had it setup to auto-submit samples, so naturally it detected the hacktools and submitted them...

But the implications have been that Kaspersky has been actively used to spy on US agencies and companies. But again no technical information has been published, which would be hugely damaging to Kaspersky's reputation.

There's three possibilities:

- They're right and Kaspersky is working for Russian intelligence (but the US aren't releasing technical information for unknown reasons).

- They're doing this to promote American and European alternatives which can be manipulated by Western intelligence (e.g. exclude state sponsored malware from definitions).

- It is just a "red scare" within the US DoD, and they aren't releasing technicals because they have no technicals. It is just playing Telephone between analysts using vague assertions and feeding off of one another (see Iraq War).

All I am asking for is "Here's a technical paper explaining exactly what we caught Kaspersky doing." If we got that and it held up, I'd be fully onboard.
Complete tangent:

Most studies I’m familiar with find that intellectual skills and communications skills are very correlated (highly g-loaded) in the general population.

Your phrasing using “lacking” and “inverse proportion” could actually be interpreted as agreeing with that in a circuitous fashion, but the rest of the tone makes me think your “lacking” was an editing mistake, you meant the two skills are inversely correlated (apologies if I misunderstood your intent).

But you may be right that HN appeals to the outliers whose communication skills/maturity/desire for internet points don’t match the general population.
Something I’ve been curious about:

Let’s say you’re a business using Microsoft Flow, Mulesoft, or something similar. You have user data considered GDPR-applicable within these systems as part of your business process workflow automation. How do you comply with user GDPR requests for visibility or deletion of their data if these systems don’t expose this to you (such as data in their logging, storage, and indexing systems)?
I am glad at least someone is honest. So sick of hearing "This worked out so great" and then everyone shitting on the nay-sayers.
Why? The worst that will happen is you get downvoted.
Not a single mention of money, which means that this author has it (or plenty of it).

But big-ups to using a Surface!
Hm, top result for me with that search. I think search results are personalized on my end as they are usually highly relevant. Are you incognito or something?
Notice all the sibling comments that insist the email is required now? It’s an understandable misread of that sign up flow. Only one field and then a Next button.

Almost no other input flow allows you to hit “next” when the only form field hasn’t been addressed yet. Why not put username, password, and email on one page instead of splitting it up the way they do? Then you can mark the two fields as required and the third as optional.
>The auditors don't look at the first mapping "reality -> accounting books" but only at the second one "accounting books -> financial statements"?

That's not entirely correct. A good portion of SOX audit efforts in the US, for instance, is spent on examining configuration of the various systems on which financial reporting is dependent (e.g. examining exactly how segregation of duty controls are implemented in the ERP system). A good portion of time is also spent examining if human-executed processes (e.g. employee on boarding/off boarding, granting permissions to data and financial system capabilities, manual review of backup job reports, etc) are actually being carried out in a manner that complies with the organization's SOX controls.
They're actively monitoring the CIA, FBI, and NSA because as far as large state actors go, these are very dangerous groups. Why shouldn't they look at every government spy agency including us if their job is to actually protect the computers installing their software?
Exactly this. Tim Ferriss had Frank Blake, the old CEO of Home Depot, on his show where he discussed this. Super interesting. https://tim.blog/2018/03/15/frank-blake/
The art of scientific glassblowing
Agreed. Also noted three potential flows:

1. They applied pandas.qcut over the entire returns (i.e. training and validation set) when generating the target performance labels, which could compromise the validation.

2. The ordering of news is actually important when it comes to forecasting the movements of the market; their training/validation split was done after shuffling the entire dataset, which means the model will have access to information that shouldn't be available to it during training.

3. It makes more sense to use a training-validation-testing setting rather than a training-validation split when reporting the model performance in order to avoid inflated results due to all the hyper-parameter tuning.
Intel at last announces Optane memory: DDR4 that never forgets
Thanks for your work on this! That sounds like a great direction for future development. I hope that you are able to make this work out!
> i.e. adding this check (as a warning) to rustc doesn't look too hard and wouldn't break existing code.

One point of distinction: Zig does not have compile-time warnings, only errors. Simplicity by design. Either it will complie or it won't. Removing the uncertainty here means less greyarea, no space for edgecases in between.
Where's the part about not having a safety net?
Rich, secure people love to tout their riskless efforts as perilous when they did it voluntarily with no potential for long term negative consequence.
US military and economic support for the ROC may have been a much smaller priority too if the mainland hadn't "gone red". But then again if the ROC had won the mainland, they probably wouldn't have poured resources into the Korean War.

And so on... it's a fascinating sequence of hypotheticals.
You have to make time for sales. You HAVE to. To say there is no time because you are busy developing is dangerous. Even one hour per week can be meaningful. But you have to do it. No one knows your product, service or vision the way you do.

One of my companies builds the sales funnel for SAAS and digital agencies. We handle the entire top of the funnel (lead gen and nurturing) so by the time it's a qualified opp it's actually a prospect that has an identified pain, time line and budget to go with an understanding of our clients solution to their problem. But we dont ever close the business precisely because in digital and SAAS the results are so much better from the heartbeat then the hired gun.
Also, if you're worried about the occasional regression, you can archive an installer package of the OS X .app (--with-ns) version each time you build by adding something along the lines of

version="$(date +%Y.%m.%d.%H.%M.%S)"
packagedir="$HOME/Unreliable/Packages"

pkgbuild \
--identifier at.jasomill.pkg.org.gnu.Emacs \
--version "$version" \
--install-location /Applications \
--component nextstep/Emacs.app \
"$packagedir/Emacs-$version.pkg"

to your build script; add

sudo installer -package "$packagedir/Emacs-$version.pkg" -target /

if you also want to install. The resulting package is also a handy way to push the updated version to multiple Macs.

Note, however, that I've reverted to a previous version maybe twice in the past 5+ years of weekly builds (from the GNU master branch), and even in these cases, the regression didn't affect core editing functionality (last one I remember, editing over ssh via tramp was failing in certain circumstances [that I never got around to working out in detail]).
That doesn't mean they haven't made bad plays, and we can't talk about one of them. This was one. Lets not pretend it wasn't.
FDA halts one of the first human CRISPR studies before it begins
Ask HN: Have you been able to teach yourself advanced mathematics as an adult?
What courses and how did you do it?
Would you pay $7300 for a bitcoin if you can produce it yourself for $1? Or why would not someone sell it for $5? At the moment, the price for producing a bitcoin is very close to the market or exchange value.

How does that figure given timeframe? Are you somehow calculating equipment initial cost and electricity in an estimate? Over how long?
Are they actively monitoring? Kaspersky's job is to stop known malware and make some guesses about potential unknown malware. Actively monitoring TLAs sounds like a waste of time/money in that scenario. TLAs will be more interested in specific targets and will likely know what protection they have to work around. If they need a specific solution for a specific person they can spend some time making sure Kaspersky doesn't detect it. (It's not that hard)

Virtually none of their customers will be safer if they did the monitoring. If anything widespread actually gets released, they'll likely know from telemetry.