skysight-inc/HackerNews huggingface dataset:
The first part of the paper compares token threading vs naive switch in cpython 3.2 which has a compile flag to disable token threading[1]. I were referring to direct threading but the difference is probably minor or irrelevant.

on x64, token threading is

; goto tokens[program[ip]]
mov r0, [program_instructions + ip]
jmp [tokens + r0]

while direct threading is

; goto program[ip]
jmp [program_instructions + ip]

the paper says

Nehalem shows a few outstanding speedups (in the 30 %–
40 % range), as well as Sandy Bridge to a lesser extent,
but the average speedups (geomean of individual speedups)
for Nehalem, Sandy Bridge, and Haswell are respectively
10.1 %, 4.2 %, and 2.8 % with a few outstanding values for
each microarchitecture. The benefits of threaded code decreases
with each new generation of microarchitecture.

but looking at the graphic, it seems a few benchmarks still had a +5% speed boost on Haswell.

It would also have been interesting if the paper provided the generated code by gcc for the switch statement.
If the switch statement's cases are linear (0, 1, 2, 3, ...) and if there are more than 4 cases, then gcc
token threads the code.[2]

[1] https://hg.python.org/cpython/file/v3.3.2/Python/ceval.c#l82...
[2] https://godbolt.org/g/yRjFto
I used both of those services and it is really amazing that the quality of ads from Google and Facebook 16+ years later is pretty much the same as NetZero/juno
I disagree that art is limited to things which have no clear value for survival. People have decorated every-day objects in their surroundings for millennia. Survival-themed video games have an innate attractiveness to many of us. Some even seek out to make their homes as plain & functional as possible and call it an art movement — minimalism.
No major conflict is only about religion, including those listed in your link. They're always about power.

But to your specific point, France only entered the war almost twenty years after it started.
If visual aesthetics enter through the front door, music flows through the side window you always leave unlocked. What music lacks in observability, compared to visual arts, is made up for in low level access.

I find it uncanny to even consider the meaning of achieving objective measurements along these lines. Very exciting for sure.
Prefrontal cortex as a meta-reinforcement learning system [DeepMind]
It would be nice to have some examples of what these terms mean, for type system dilletantes like me. I must say, I was a little lost :)

Re: TypeScript:

> TypeScript challenges the status quo, claiming that lowering the cognitive overhead of using types is more important than type soundness. They argue that JavaScript programmers, their main audience, would find it easier to use TypeScript if they deviated from traditional norms.

Im not sure about the official mission statement, but as far as I understand, the purpose of their typesystem is to allow static description of the way existing JavaScript is typed, de facto, in the wild. This explains why e.g. literal strings are a type so you can do:

interface Eventor {
on('foo', FooHandler);
on('bar', BarHandler);
}

Not because it’s nice to have a type that "foo" satisfies and not "bar", but because there is actual code out there that does this, today. Same for structural typing (TypeScript would be absolute horror to interface with existing code without it). And, I assume, covariant arrays.

TypeScript was not created in a void, as a fresh, new typesystem. It was created to formalise the way existing JavaScript was informally typed. It would have been nice to see a little reference to or acknowledgement of this.

Or an example of how this could have been achieved better; preserving type soundness.
The full disk is not very useful though because the disk is automatically unlocked at boot.

Anything you can see after starting the phone without entering your passcode is effectively not encrypted.
If it isn't the type problem, then what is the type signature of the shift operator?
The variable he's not talking about in that equation is body temperature. If you cut the difference between body temp and ambient temp, you proportionally cut energy needed to maintain that difference. I wonder what fundamental physiological force is keeping these mammals from evolving a lower body temperature ...
Find the best sippy cup for your baby
React-Pocket:framework that helps manage state more easily in React
I'm not sure it's that great in a group of fifty, you would have real problems if you stand out in some way or aren't particularly useful.
Capitalism is hardly a “Western” concept. Japan, like many Asian countries, were within China’s sphere of influence long before there was any contact with Westerners.
This is a sad comment that reeks of the gaming community where nobody creates anything so they've no grasp on the feats that these companies have been delivering over and over again for decades.
Yes, the report does include defence from Backpage. Some of it is stuff said by Backpage during the various trials they've been involved in, some of it is comment to this committee from Backpage employees.

Note that Backpage were given the opportunity to put their side, and chose not to:

> Since June 2015, the Subcommittee has sought information from Backpage -first through a voluntary request, then by
subpoena— about those screening measures. Backpage refused to comply, and the Subcommittee was forced to initiate the first civil contempt action uthorized by the Senate in more than twenty years.

Please read the report. It's not that long, and it's easy to read.

Backpage does not deny that its site was used for the sale of children for sex. When Backpage used the Communications Decency Act they claimed that this illegal stuff was happening but they, as a dumb pipe for ads, bore no responsibility for them. This is all detailed in court cases, and you can find those court cases by reading the report and following the references.
I got hired as a backend "rockstar" a few years ago. Didn't work well.

1. I made some mistakes (my general response to said mistakes was to work to ensure the CI tool guaranteed said mistakes couldn't be repeated. Included kicking up CI into the process in the first place by fixing their test rot and enabling someone else to bring jenkins into the mix). One of those mistakes did cause a recoverable partial outage.

2. The extensive unfucking of the backend I performed still hasn't been applied, despite pretty clear demonstration of the safety of said changes . One of which if eventually applied will reduce their AWS bill by 10-20% - I produced a demo that this was safe bug-for-bug. A spectacular security hole that was there is gone, so that's a plus.

I got retrenched (made redundant with a small payout once I pointed out that was what was needed). I went into the conversation to say "I'm going to need more money and we need to work out a process where my work gets applied", but the retrenced bit happened really early, so I never got to propose that :) . I had an offer within an hour of being retrenched. Currently I unfuck code at a similar scale for a larger concern and get reasonable career development opportunities. The place I was working for has been hiring junior devs like crazy, so I do worry about the health of their codebase - having said that when in their comfort zone the senior guys there are pretty good. I think the problem was that I was getting the senior guys out of their comfort zone, and I didn't take a sufficiently gentle approach. However I learned heaps, so all good. Can't imagine I'll be going back their though.
Sorry dang
Ah ok that makes a lot more sense (and it is indeed more than enough). Thanks!
I can't seem to tell the difference between Celiac and gluten sensitivity. They are supposed to be different but I can't tell how. I've asked my GP and GI but they seem to think they are exactly the same.

Anyone following any specific diet for one vs the other. Its all very confusing.
Interesting book to read on the topic is Charles Murray's Coming Apart.

https://en.wikipedia.org/wiki/Coming_Apart_(book)

Very much like this article, Murray focuses only on US, however, this is a global trend. A person born in Koškovce, Slovakia will move to Košice for high school, to Bratislava to attend college, they'll find their first job in Prague, second one in London and after a short while they'll arrive at San Francisco.

It wouldn't take a big stretch of imagination to write a dystopian Sci-Fi about a future where members of Mensa live in extremely liberal city states in Bay Area while the dumb are gradually pushed out to failing hellholes with mad dictators in control.
Good job finding sensitive information in the repo but I hope you ensured that the data is deleted before making this issue public
How about this one, when I joined a startup the founder had made certain claims and impressions about who he was, the funding he was putting in, etc.

As it turns out this man was a liar, confidence man, and tax cheat. Had there been open tax records, I could have (in)validated some of his claims and saved myself severals years of struggle and many thousands in subsequent debt.

It's not just for criminals to leverage. It's for the common man to use to reduce information asymmetry and, this one might be a bit dystopian, but help self-police that everyone pays their share.
No type expert, but:

<< :: Int -> Int | Long -> Int | Long
<< :: Long -> Int | Long -> Long

? If you can express a dynamic type system at all, then this seems intuitive?
> The way TypeScript was designed is in fact more promising than older systems like Java. Those systems inadvertently broke type soundness instead of making it a deliberate action.

Not sure what the article is referring to here...

Java soundness issues like array covariance, final field mutability, unchecked generics casts, etc were definitely surprises to many users, but the Java language designers were well aware. They added runtime checking to make sure those soundness holes didn't cause the JVM to crash or violate the security guarantees.

Sure, there were some additional surprises, but I'm sure TypeScript has had many more. (Partly because the TypeScript type system is more complicated, but also because it's not important to get it 100% right -- JavaScript runtimes don't perform optimizations that rely on the soundness of TypeScript.)
No, they don't sell them where I live. Also I remember the 90's and never will support Microsoft willingly.
This article is so switched on about Facebook wanting to be the platform and not an advertising business, every move (and in hindsight misstep, but not clear at the time) makes sense in that context.

You try to be the platform before you (Microsoft, Apple).
I also noticed that simple questions somehow get higher popularity. If you ask something very specific to your problem, chances are this question won't be answered and also will be downvoted. So people rather answer "how to find an object in JS array" rather than "I have this weird error in X library, how to fix it?". But in my opinion, basic stuff is not what you face with in everyday job. It's all these unexpected errors, bugs and lack of documentation, what makes you Google it. In this sense, GitHub Issues does a better job than SO.
Definitely makes sense.

I imagine a prehistoric tribe dancing in trance around the fire, playing with improvised instruments.

The human experience is so "lonely" - we all are separate entities in desperate need to belong - and sharing a common experience and emotion definitely bonds people. It would help glue a tribe together, which is decidedly a survival advantage. And the poor fella who didn't join in because he didn't care much for music would have been marked as an outcast :-)
In a mere twenty years, we have gone from fears of the Government controlling the Internet to fears of the Internet controlling the Government.

We have? Last I checked, countries were turning off the internet when there are protests, the Chinese are taking the internet and turning it into a Panopticon of enormous scope and scale. Countries everywhere are swooping in and picking up whatever data they'd like from ISPs and social media providers. And the ISPs and social media companies are helping them do this. Cell carriers are turning your location data into another profit center.

Government intrusion hasn't gone anywhere. Anybody worried about the current landlords controlling the net are just worried about the caretakers. You could eliminate all of them tomorrow and the problem wouldn't go anywhere. (The root of the problem is that data, once collected, can go anywhere and do anything. There's no way of putting the genie back in the bottle.)

It bothers me to see people focus so much on Facebook or other companies like that. They're just the tip of the iceberg, and if you don't define the problem right, you have no chance of getting the solution right either.
Privelaged white older male identified. Not all of us find work mundane and not all of us can afford the luxury of leisure yet alone choice in friends. Congratulations and enjoying your laid back life!
>Capitalism is hardly a “Western” concept.

It is, based on all conventional historical sources, originating around the 15th century or so with the city states of Italy.

>Japan, like many Asian countries, were within China’s sphere of influence long before there was any contact with Westerners.

Which is irrelevant. It was a feudal economy back then, and it tried to be so even after contact with Westerners for a while.

But it realized that with those pesky westerners it couldn't defend itself if it didn't get in with the program and build an industry.
Wouldn't

<< :: Integer -> Integer -> Integer

be good enough?
Why Mark Zuckerberg’s 14-Year Apology Tour Hasn’t Fixed Facebook
The blockchain is not currently fit for most "real world problems", because the way it achieves consensus and performance, but there are initiatives like the one below to change that:

https://github.com/Azure/coco-framework
>Europe doesn't have free speech, so, no problem.

Just because hate speech isn't protected doesn't mean we don't have free speech.
Web apps vs. native desktop apps is a different story in companies such as China
This sounds about right. I came to most of these conclusions myself after trying to build a secure personal VPN . Oh what a fool I was.
This concept reminds me of the "uni-mind",a concept from Jack Kirbys comic series "The Eternals", which I read as a kid.
Yes: your program fails at runtime, and you have no idea of where the problem is, because the place where the type invariants are violated is not related to where an exception is thrown or an incorrect result is produced.

It's basically like using and debugging C/C++ code, where it looks like there is a "type system" but in fact you are just arbitrarily manipulating a big byte array that contains all your data and the call stack (except with TypeScript it's a graph of untyped arrays and dictionaries instead).
> Do you have any idea how telecommunication companies work?

I know, and it ain’t fucking pretty. Plaintext passwords (and stupid customer service) are just the tip of the iceberg.

Telcos are right up there with internet-connected industrial control systems when it comes to security and the huge fallouts of a breach.
Professor at a med school here.

Regardless of whether you think the specifics presented in this article (e.g., NSAIDS-esophageal cancer) are right, it’s great to see this kind of philosophical approach to biomedical research. We need more people like this professor.

That she started with a plant and that made her think about humans was a great insight. She rightly recognizes the key role of cell autonomous vs. cell non-autonomous processes in how multicellular organisms work.

That she is a woman and someone not at an Ivy League school is also very refreshing to see getting publicized by Harvard. There are so many great scientists aground the world doing great stuff. Let’s keep finding them and reporting on them!

Please media, more of these types of stories and less clickbait please! I loved this article. My faith in humanity was restored just a touch here.
No it's not. It's the job of law enforcement to, unsurprisingly, enforce the laws. If you have a problem with the laws being enforced, call your congressman.
This review durability rating was 0.3 writes a day for 5 years. Hopefully they mean rewrite entire drive every 3 days.
If you're going to "get discovered", in any industry, you're doing to be very disappointed. Marketing, just like engineering, shouldn't be an afterthought.
As there are already 21 mentions of Horowitz's and Hill's 'The Art of Electronics'[1], here I add another one. It's a great book.

[1] https://artofelectronics.net/
We need a "right to be forgiven" instead that would be a social thing, not something a corporation or the government can control.
We are also programmed to be producers, but in a way that favors the current economic model. The idea that you absolutely have to make your mark on the world or that people with "normal", boring lives are somehow worth less is quite prevalent and linked to the industrial revolution and modern culture.

I don't mean to discourage you from your own goals, but it's worth considering that as people age, they tend to see glory and distancing themselves from others through social status as less important in comparison to maintaining a social network and a family and even simply enjoying what you already have.
Towards a Unified Approach to Access Control and Concurrency Control (2009) [pdf]
The Human Diagnosis Project is hiring a software engineer to join our core team
Build the open medical intelligence system for all.

https://www.humandx.org/team?gh_jid=4008127002
> wire transfer

Which will include everything interesting about your identity. It literally is equivalent to using a debit or credit card
One annoying thing is that Samsung NVMe drives do not support the things that would allow Microsoft Bitlocker to use the drive's hardware encryption and just manage the keys.

It's quite surprising if WD does not have the build-in encryption(). Typically the secure erase on the drives is using this. For example on Samsung the data is always encrypted and doing a secure erase means just generating new encryption key and removing the old one. On SSD this is pretty crucial, because you can't wipe the contents by just writing random stuff on drive. The drive is managing the writes (wear leveling algorithms) and might not actually overwrite existing data.

() Of course it is be possible that they have this internally, but just don't expose the password part to user. Could not see anything on the specs on quick search.
Yes, and it means (<<) is not closed over Int, which means that you will need to be able to compare instances of Int to instances of Long. Before you know it you're wondering what the result is of

>>> -1j * -1j == -1

and

>>> f(-1j * -1j) == f(-1)

where f is some pure function. Some people think it's the road to perdition.
I don’t think books are very helpful, you basically just write lots of functions with immutable data structures. It’s hard to understand unless you’re forced into functional programming. I recommend clojure. Programming in a functional paradigm is closer to writing mathematical proofs. It’s not fun at first but it will totally change the way you think about programming.
I see plenty of cars on the road. They are Toyota’s and Honda’s.

I love how American companies are justifying weak sales as the economy and not their complete failure to make a compelling vehicle in the sedan space.
There are basically two important results for type systems, soundndess and completeness.

Soundness means that every program that typechecks is valid. Completeness means that every valid program can be typed.

So basically typescripts type system doesn't match the language semantics so type checked programs may crash at runtime.
All the other sites on http://plaintextoffenders.com do
NEW BEARD STYLES FOR MEN 2018 – YOU MUST TRY ONE
It will be hard without solid high school physics, which looks to be the case with most US secondaries.

Functioning of electronics was more or less clear for me by the time I finished high school in Russia, the only way up was to learn real electronics engineering.

So, begin with dusting off your school textbooks.
Avoiding reading the news does not address a deeper problem: the way we think can be hijacked by people who know how.

I am reminded of Blaise Pascal's "Pensées" from which I'll try to translate a passage:

"Man is but a reed, the most feeble in nature; but he is a thinking reed. The universe need not entirely arm itself to crush him: a vapor, a drop of water suffices to kill him. But when the universe would crush him, Man would be even more noble than what kills him, because he knows he's dying, and the advantage the universe has on him, the universe knows none of it. Our dignity consists, then, in thought. It is from this that we must elevate ourselves and not from space or time, which we cannot fill. Let us work, then, to think well; this is the principle of morality."

Maybe we could look at it from this perspective. That avoiding the news is avoiding a channel we are aware of but not tackling the way we think makes us vulnerable to the channels we're unaware of that use the same mechanics.

The intelligence community has a body of knowledge on this subject. Richard Heuer and Randolph Pherson's work might interest HN members: "Structured Analytic Techniques for Intelligence Analysis". "Thinking Fast and Slow" has been mentioned here quite often.
Maybe a self-hosted blog and help your social circle getting started with a RSS reader?
math is the secret weapon here. Cybersecurity, data science, programming
I had the opposite experience. After growing up an anxious and timid child, it's only in my mid-twenties that I started to develop this child-like flow.
Find your Twitter friends on Mastodon
https://github.com/crypto101/book/blob/master/Crypto101.org#...

While that was true before GPUs

>To a modern attack, salts quite simply don’t help.

Everybody should really move to key derivation functions (ideally scrypt)
One is definitely a real condition. The other... well, there's reason to be skeptical - whether it is actually gluten or whether it is psychosomatic. I'm more than half suspicious that most of the self-reported benefits of avoiding gluten are really benefits of also slashing carb intake.
Bit late to the party, a lot of great answers already and I can't add much more but this list of resources I maintain will probably be useful to you, especially the learning and video section.

https://github.com/monostable/awesome-electronics
TclDevKit is opensource
It's Comcast, they are a terrible company. They manage to somehow rank worse than haliburton and BP after that oil spill
Found in a comment[0] in a thread[1].

[0] https://news.ycombinator.com/item?id=16780179

[1] https://news.ycombinator.com/item?id=16774271
Am I missing the statistics for foreign auto makers? Maybe people just don't like American made cars?
LAMP and WordPress.
No, at least one wasn't. Plus, this happened even when they were directly connected.