skysight-inc/HackerNews huggingface dataset:
Sure. Digging through my old emails, here's the particular example (a very stiff Van der Pol equation) I was looking at, taken from Intel's own examples, which for MATLAB would be:

tic;
[t, x] = ode15s(
@(t, x) [x(2); ((1 - x(1)^2) * x(2) - x(1)) * 10^6],
[0, 160], [2; 0], odeset('RelTol', 1e-5));
toc;
x(size(x, 1), :)

MATLAB takes 7.2 seconds to output the result [1.872, -0.748].

Intel's dodesol_rkm9mkn() gave me [1.877, -0.743], which is a more accurate result, in less than the blink of an eye: in
0.035 seconds.

That's more than 200x faster, by mere virtue of using a better algorithm. Apparently the algorithm is "Merson's method", which I'm completely unfamiliar with and which I'd never heard of until then.
Maybe the author already used the other 42 words for the day.
Congratulations, both for the award and for not getting your Sunshine request honored by the state of Missouri. I've filed a series of Sunshine requests with the Department of Natural Resources, and as a result of the awful things I've learned I am quite uneasy about drinking water in this state. After badgering the "Chief of Compliance and Enforcement" about his failure to take any action about polluting facilities "referred to enforcement", he finally claimed that taking polluters to court is a waste of time, because judges in this state always rule in favor of polluters. I'm not sure that's true, but if the official in his office actually believes it, it may as well be.

From my limited exposure, it gets no better at the federal level. One facility I've complained about shut down completely (i.e. went out of business) for half a year (the creek downhill quickly cleared up), but the charlatan at EPA still claimed it wasn't a "recommencing discharger" as used by 40 CFR 122.47, when it sold to a new owner and opened again for business with the same shambolic unengineered leaking lagoons six months later.
For those (like me) on mobile who can't read this (well):

"In an effort to get people to look into each other’s eyes more, and also to appease the mutes, the government has decided to allot each person exactly one hundred and sixty-seven words, per day.

"When the phone rings, I put it to my ear without saying hello. In the restaurant I point at chicken noodle soup. I am adjusting well to the new way.

"Late at night, I call my long distance lover, proudly say I only used fifty-nine today. I saved the rest for you.

"When she doesn’t respond, I know she’s used up all her words, so I slowly whisper I love you thirty-two and a third times. After that, we just sit on the line and listen to each other breathe."

The Quiet World by Jeffrey McDaniel
Cryptocurrency jobs are popping up like crazy – even for non-techies
Relevant Snopes article: http://www.snopes.com/do-sonic-weapons-explain-the-health-di...
It looks like most of the libraries are C++11 implementation of some of the C++14/17 standard libraries.
This already (somewhat) exists with contracting firms. My team is mostly people hired this way.

The problem is that the contracting firms still want to stuff your office full of their workers, so we still need to run diligent interviews. (This means making sure that they don't coach the candidates through the interview, because once the candidates are coached, we can't really evaluate them.)

The good news, though, is that we get much better results working with a firm like this. Most of the people we interview we hire, unlike in the past, where most of the people we interviewed were straight up morons.
Top machine learning libraries [audio]
Huh, I am in that group, and I have no clue how I got there, why, nor how do I get out.

Proof I guess: https://twitter.com/r3bl_/status/912800305833799686
Getting deja vu reading this several years ago. I think someone, maybe Stack Overflow, actually did this as part of their hiring process. I think the devs that were brought in were even paid for their work during this time.
The developer had put out a note saying that Tab Groups won't be suppressed by WebExtensions, and the work in order to do a partial port isn't worth their time.
Must be ze evilz Russianz.
I use the Headspace app, it's awesome
Think I see what you are getting at--in practice most folks using React are going to use JSX and build tools, and if you alias the function it's kind of non-standard.

Mithril has "class" instead of "className"; that irks me too.
High-performance service worker loading
I don't know that I can defend the article's claim of "objectively better syntax," but do have a few off hand thoughts of perhaps better signal-to-nose ratio (I guess using C# as a baseline): 1) single-case unions declared in one line of code 2) readonly data structures requiring much less code 3) being able to glue 2 arbitrary things together without needing a class (thinking of partial application, though of course both languages support tuples) 4) optional type annotations, not something you might want to go too overboard with, but imagine how useful in cases where the variable/value has the same name as the type 5) pipe-forward operator, which relieves you from having to declare variables (and choose names for those variables) just to pass the outcome of each line of code to the next line ...
Or set something on fire. Or melt something (like the cord going to the iron). It's certainly one of those things that needs a little supervision, at least for a little while.
Yes, they've migrated to a new multiprocess architecture and the extra isolation requires new approach to integrating extensions. Previous extension API assumed UI, pages and everything else lived in the same process.
It also correlates to the # of characters Google allows in it's headlines.

It's worth noting that there is something to the # of characters a human can scan & understand without turning it's full focus to it.
You don't understand. I live for stickers on Telegram. It's an essential part of communication for millions. This is not a joke. Especially in Asia
Bazel is on its way to be more like Google’s internal implementation: distributed builds, object file cache, distributed tests. That means your C++ build and test runs will take barely any time at all, same as they do at Google. That, in turn, enables the kind of velocity unachievable through other means.
In my judgement it's not worse at all; we live in a world in which the content that actually has an impact on people is hidden no longer behind publishers but online centralised platforms; it is only appropriate that those publishers be held to a good standard by its users, as much as it is possible. But that's not the case; the situation is that the people who distribute the content are only beholden to the law and shareholders, both of which have very little to do with the largest and most socially important interest, which are the users.

Not that I support it, but if Twitter were a paid platform they would have more accountability to the users, not beacuse they have finally realised their place as a setter of massive trends and social control, but because the users hold the shareholders ransom by way of threatening to take away any profit.
> Twitter

> Twitter is hosted on twitter.com

Seems to make sense.

> What is twitter.com

> twitter.com is the "public" instance of the Twitter service.

You were one layer away from the answer. What is the Mastodon Project?

> The world’s largest free, open-source, decentralized microblogging network.
> No, a rational company with accountability for its data doesn't outsource their IT security

There are a lot of irrational companies in the world by that standard.
Or if there was some way to push those updates. [1]

[1] https://en.m.wikipedia.org/wiki/WebSub
To succinctly convey emotions, opinions, viewpoints, "feels". To simply have a non-verbal vocabulary, to have a different quality to certain parts of the communication, to signify a different quality of seriousness/playfulness/feeling.

It's the new emoticon. :-)
could really mess with it:

> alias :q=vim -c ':q'
My first, knee-jerk reaction was “God, that loaded fast!” even though I already knew going in what to expect.

Text-only doesn’t have to be _ugly_ though. Once you embrace minimalism, you realize that aesthetics are primarily a concept of white space and typography. And neither one of those interferes with text only, thank god.

While modern CSS has been inching towards becoming Turing complete (is it already now? I think so long as adding html elements via :before/:after remains disallowed we aren’t there yet?), CSS’ biggest saving grace is that it was a declarative and Turing incomplete.

Of course when the web first started, the idea was that it would serve stylable but-unstyled-by-default content _and then the user would style it as they liked_ so they could enjoy a consistent and customized experience no matter what they were browsing. I don’t know many people that still customize their Browser default style sheets (can you even do that in Edge, I wonder?).

I personally don’t because I appreciate the value in judging people (and the content they produce) by how they’ve styled it (or haven’t, which can oftentimes be preferable).

EDIT

OK, with the caveat that I'm not a designer and have been told I haven't an artistic bone in my body, here's what NPR looks like with only some extremely basic CSS applied to html, body, and a elements and no changes to the actual HTML:† https://dev.neosmart.net/npr/1.html

And here's what it looks like with no changes to the HTML but with some additional CSS styling applied to the various sections of the document: https://dev.neosmart.net/npr/2.html

The focus isn't "design" per se, but merely readability. Less harsh contrast, fonts with better hinting, limiting horizontal eye travel, keeping content from reaching the very edges of the screen on mobile, and making the size of elements (and how much DOM real estate space they take up) match their relative importance.

† A charset=utf-8 meta tag was added to the HTML since the NPR document was served without a charset but contained UTF-8 encoded elements (instead of their HTML-encoded counterparts)
Ask HN: STEM Day Activities
I've been asked to set up a recurring 20 minute activity for groups of 8 high school students.

I'm thinking of doing something like:

http://play.elevatorsaga.com/

or

https://microcorruption.com/login

Any other suggestions? Anything in an automotive context would be great!
I'm not sure of anything definitive, but a more credible explanation is that it is some type of sonic monitoring trying to spy upon diplomats via laser microphone or something such, which then happened to actually hurt people.
For example, can he suggest what sensors would be good for a Lego robot that would knock a tennis ball off the ping pong table without itself falling off?

Right off the bat, this is very muddled question to ask.

For one, "sensors"? I think you meant to say "actuators". Because a sensor by itself can't knock anything off a table.

More fundamentally, "Legos", for those of a certain age, were entirely non-mechanical components in their day. So (even though yes, we've also vaguely seen and heard about, and rolled our eyes at, the newer kind), this just sounds like asking them to (seriously) consider the question of how to build a logical circuit out of tinker toys. Yes, it can be done - but on the face of it, that kind of a question comes off as an invitation to join a mental masturbation session. Not the kind of question you'd ask of someone you respect, and whose time you know to be as invaluably precious as you own.

The person who can give sane answers on those would do a lot better than a coder who knows one toolkit well and nothing else.

This is of course a false dichotomy. Especially given that it was -- not sure how else to put this -- a silly question to ask in the first place.
I think you (and many valiant others) are fighting a losing battle here. God forbid HN should allow a quote style, that'd be so bloaty.
Wait, so how does it work? What if half my message is in Chinese, and the other English?
Yes, it does. Source: I just switched hours ago and it imported my CCs from LastPass. You can see the stuff they're working on via their Twitter account too.
I did see that document, and I don't see how it addresses the underlying trust issue. Again, I don't claim to be super-knowledgeable about this stuff, which is why I asked if I'm missing something.

> If so, perhaps you missed this: "The Attestation Service verifies the validity of the platform. ..."

No, I didn't miss it. The Attestation Service claims to "verify" the validity of the platform, but it provides no proof of that verification. And if the platform is not valid (i.e. not verified to be using an authentic Intel key) then it doesn't matter what other checks you do; the security of the entire system falls apart, because the supposedly "secure" enclave could actually be being emulated.

> It also carries a data-at-rest signature in addition to TLS:

That's a signature generated by the Attestation Service, not by the original processor. It's generated using a "Report Signing Key" which has no cryptographic relationship with the processor's keys, or with the signature of the attestation; it just tells you that Intel claims to have checked that attestation and found it to be valid.

> An OCSP server could just as easily lie to you about the revocation status of an X.509 certificate. C'est la vie.

Right, this system seems as weak as OCSP, in the sense that it can be easily compromised by (for instance) a court order to modify the behavior of Intel's verification API. That's much weaker than the original claim, which was that it could be compromised only by tampering with the processors during manufacture. (Not to mention, the TLS certificate infrastructure would be vastly less secure if browsers had to rely entirely on OCSP and couldn't do any certificate validation of their own. OCSP can lie about revocation, but it can't lie about the signature itself.)

I'll add that v1 of the reporting API seems to have been even weaker than OCSP. In that version, the signed response didn't even include any identifying information about the request, so if Intel faked a response, you wouldn't even be able to prove it to a third party! Thankfully, v2 seems to have fixed this obvious oversight.
I think, with the right platform (ie like hired.com), you could automate much of that initial process of deciding who you wanted to be part of your team.
Hmmm. By Devs. For Business. Buy a Dev.

Seriously, though, that's not a bad idea. I've seen similar startups that pre-interview a bunch of candidates (instead of farming them out for small jobs), so this is a different take to solve the same issue. Both sides get a chance to win, either way.
> I don't know why that bothers me, but it definitely does.

It bothers me, and I can tell you why! Between pandas and matplotlib, the royal road to liberation from routine analysis tasks is paved with Python scripts. Jupyter has an important ancillary role in aiding discovery. But this whole notion of "executable notebooks" seems designed to keep people in bondage to fragile workflows based on capturing and replaying user input. It caters to the least common denominator, to the one person on the team who can't be trusted to read things. I'm infuriated on behalf of anybody subjected to such foolishness.
In particular: you just need these script tags:

<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
(Downvoted)

That's a really nasty attitude to take when someone is trying to evaluate paying you a large sum of money for many years of work.

Considering that I've run a ton of technical interviews, there's no good way to evaluate someone for competency without these kind of hypothetical questions. (This is how I screen out the morons who don't know how to use a database.) It's a two-way street, though. You can learn a lot about an organization by the kinds of questions they ask and the direction they send you down.
Do the initials stand for Runge-Kutta-Merson, order 9? I wonder about the other 3 (mkn)
I always get a little tick when I read the nosql is a new thing. Pick databases like Unidata/Universe and mvBase have been around for a long time and experienced a lot of the problems that newer nosql implementations have/had.
Could the feds POST a confidential JSON blob to an arbitrary server to obtain a warrant to inspect that server's hard drive?
Ugh. I literally just spent several hours adding a workaround to fish shell that addresses a bug in Lynx that’s been around forever that randomly makes html content unreadable [0]. And that was only possible after a lot of research and digging!

How hard do you have to try to screw up the rendering of text only HTML?

It turns out that lynx applies styles (foreground color + optional background color + optional underline) to rendered documents (so you can tell where a link is, mainly) by calculating the hash of the (HTML element name, class) tuple of each DOM member (probably supporting just one class per element). It turns out that the insanely popular `<div class="contents"></div>` element has a hash that collides with that of `em.a` (a link in emphasized text) which styles the link to become readable in the default styling applied to `em`... but due to that collision, `<div class="contents"></div>` elements, not having the default <em> styling applied to them, become entirely unreadably (black on dark blue).

Lynx uses a very primitive hashing function (with a very small address space), and then (out of negligence or in the name of performance? Who knows!) doesn't check if the the (element, class) tuple (not its hash, but the actual tuple) matches that defined in the stylesheet...

To make matters worse, doxygen (arguably the most popular open source documentation generation software) generates the HTML versions of its output with all the content in a div assigned a class called.... yup, you guessed it, `contents`. And that's where fish and my workaround came in :)

[0]: https://github.com/fish-shell/fish-shell/pull/4428
you have a fresh perspective to problems and can maybe help him on something. part of a mentee is being an intern
According to the title, this is Russia taking action against Facebook. Right after https://www.washingtonpost.com/business/technology/russian-o... yesterday where Facebook did something that embarrassed Russia.
* Links are 20 characters, flat (could be less, but users would spam 100+ links).

* Images aren't counted (unless they come from links).

* @handles were moved out of the text for replies.

* Threads have improved a lot over the past year.

* Thread composer is apparently on it's way.
Some permutation of this comment is made litterally everytime any coding interview resource is posted.

I'm sorry man no cares that you and everyone who upvoted this comment are Super God programmers with 30 offers everytime they say they are looking who can afford to tell every company where they can stuff their interview.

Us mere mortals are willing to do whatever it takes to get our dream gigs.

These guides are largely targeted are getting into the some of the best, thus pickiest and most selective, companies in the world.

And if getting on means being a dsalgo monkey in front of a whiteboard for a few hours so be it.

Let us share interview tips in peace please.

This "hurr durr technical interviews suck" but I have no real alternative and have never built a company nor seen any really flourish at the top without this is monotonous.

Put your money where your mouth is and start and only support companies that skip these kinds of interviews.

Like these fine people

https://github.com/poteto/hiring-without-whiteboards

But the snarky comments are beyond annoying.
The LICENSE file is a grant that Facebook can't revoke even if it wanted to.
But why would I as a person looking for a job want to commit a week or more of my free time to do something like this?

Especially since the current job market gives me plenty of much lower time investment options?
> many other OECD countries (which have more strict regulation) allow or even encourage the use of suppressors.

Now this piques my curiosity. Could you perchance name some examples?
spell bounding!
Intel's ODE solver library appears to be pre-release software, retired in 2011, that was only licensed for "internal testing and development."
IdP == Identity Provider. A thing that knows what accounts exist, and how to authenticate for them. Contrast: RP (relying party), which needs the IdP to identify who someone is.

Your IdP can be, like, GSuite auth. RP can be any app that believes GSuite when it makes assertions about who you are, via OpenID Connect or SAML.
Yeah, they could publish syndicated content but it would have to be really simple for non-technical users.

I mean the real barriers to entry are that browsers don't display feeds nicely, you need an additional client or service.
I haven't looked closely at the extension but I think the two big building blocks are sidebars [1] and the tabs API [2], both of which have many applications outside of tree style tabs. The "hide the tabstrip" bug mentioned in other comments here is more narrowly focused than those two but it hasn't landed yet...

[1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/us...
[2] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/AP...
Speed Read at 600 wpm while you do absurd associations with the images [YouTube]
> which is the same kind of extensions that Chrome uses

Sort of. The WebExtensions API aims to be a superset of Chrome's extension API. WebExtensions aren't and won't be limited to Chrome's feature set and Mozilla is in the process of rapidly expanding their capabilities.

As opposed to the previous Firefox Add-ons API, which essentially exposed a ton of unstable internal surface area to dynamically-loaded third-party code, WebExtensions provide a stable, explicit interface that Mozilla can support without breaking things between releases or due to architectural changes like e10s/multi-process.

The kinds of improvements Mozilla wants to make in Firefox going forward would end up breaking tons of extensions anyway, over and over again with each significant change. This way, there only needs to be one migration to the stable WebExtensions API.
I can think of many reasons, why a limit is somehow hardcoded/assumed throughout the entire system including the history and probably a lot of optimizations around it. You can not think of any? In databases you also have limits, like character limits, like 16k for a varchar or something. Or memcaches with bucket sizes and so on. It is not just changing a number, i can imagine.
This wasn't actually the reason for the reduction, but it is something we weren't acutely accounting for since we already have Map+Set polyfills in our apps and expect most other users to as well. We'll see if we can recommend a smaller polyfill that isn't as large.
California’s governor is considering a ban on combustion engines
12 Startup Beliefs That Are Complete Bullshit
The format is incredibly complex kitchen-sink of features and legacy ISO specs. There is an open-source library for it, but it's written in C++, and issues filed about it make it look like it's insecure (i.e. a large complex C++ codebase written by less than an expert) and not even entirely compatible with Apple's implementation.

So I think it's fine to leave HEIF as basically an internal format of Apple's camera app, and for everything else export to formats more suitable for interchange (e.g. BPG which uses same the compression scheme, but is a simple lightweight container).
People can now blog on Twitter in East Asian languages: https://twitter.com/tianyuf/status/912792018962829314
It was likely due to HEVC licensing. HEIF is just the container, so they still should’ve provided ways to generate .heif files using other codecs like JPEG.

They may have assumed that many people would associate HEIF with HEVC (what would technically be a .heic file), and wanted to avoid confusion. But we’re still confused!