skysight-inc/HackerNews huggingface dataset:
AES is hard to implement on a general purpose computer in a way that is both fast and doesn't leak through cache timing attacks.

The safe way to use AES is by using a hardware implementation, like modern x86 and some ARM CPUs.

The best software implementations use bitslicing and SSE, but are still slow. The best I saw is an Emilia Kasper and Peter Schwabe paper[1] from 2009 on bitsliced AES-GCM has 21.99 cycles/byte performance for constant-time implementation authenticated AES-GCM.

For comparison, Intel shows[2] 0.77 cycles/byte for same with a hardware implementation, albeit on a newer CPU.

Chacha is fast on modern general purpose CPUs without the need for a hardware implementation of chacha. One reason it's fast is that it was designed so that a normal compiler can generate machine code from regular-looking C code in such a way that it uses vector (wide) registers and uses independent operations to use as many operations in the CPU in parallel in the same clock cycle, without requiring an assembly wizard to do that. Intel can afford assembly wizards (i.e. Shay Gueron), other people can't.

Modern TLS stacks prefer AES when running on a CPU that has AES hardware and fallback to chacha otherwise. They of course fallback to either a slow or an insecure implementation of AES if the other side doesn't support chacha.

1 - https://eprint.iacr.org/2009/129

2 - https://software.intel.com/en-us/articles/improving-openssl-...
I haven't read it in detail, but here's the gist from Mises Institute articles that touch on air pollution [1]:

> In sum, no one has a right to clean air, but one does have a right to not have his air invaded by pollutants generated by an aggressor.

Also see this quote [2]:

> There is, first of all, this stark empirical fact: Government ownership, even socialism, has proved to be no solution to the problem of pollution. Even the most starry-eyed proponents of government planning concede that the poisoning of Lake Baikal in the Soviet Union is a monument to heedless industrial pollution of a valuable natural resource. But there is far more to the problem than that. Note, for example, the two crucial areas in which pollution has become an important problem: the air and the waterways, particularly the rivers. But these are precisely two of the vital areas in society in which private property has not been permitted to function.

Agree or disagree, this is the typical libertarian response to externalities as far as I know. There's probably more to it w.r.t to public goods as "naturally given", and when something turns into private property, if you are look further into the literature.

1: https://mises.org/library/law-property-rights-and-air-pollut...

2: https://mises.org/library/libertarian-manifesto-pollution

EDIT: I'm assuming the question is in good faith. To understand libertarian thought in general and their views on property rights and how contracts organically occur, refer to a primer book by someone like Rothbard. It has nothing to do with denying the social domain of humanity.
Show HN: Dio – fast react-like framework
Because the brand new MacBook is still slower than my 3-year-old i7 Air. I'm a developer, and I need speed still, too. If Apple could fit a competent i5 or i7 in the MacBook form factor, I'd be all in.
I've ordered into Canada before with no problem, but I'm not sure what happens if it gets inspected...is it just confiscated, or are there penalties?
Theseus' Meatbag?
This article isn't about searches; it's about the technicians reporting something they happen to see in the course of their business relationship with the customer. I don't see how this is any different than a CI reporting information to LEOs on crimes "in the street".

In other words, a warrant is still required before LEOs can look for information themselves to persue charges.

If the FBI were really asking Best Buy to search everything they work on for illegal/contraband items, that would be entirely different.
Is this UI a template that i'm unaware of? Slack, Flock, Discord, <insert new hip product>, they all seem to have nearly an identical UI. This one especially just looks like Discord to me.

I'm not knocking it, it's a nice Bootstrap-like UI, i'm just weirded out by it showing up everywhere.

Note: I'm a dev, not a designer, so i have no idea which elements make me feel like this is "the same". I don't think it's just the sidebar, but beyond that i do not know. Is it the sidebar + hamburger menu? etc.
If you're a Go programmer, there's a Go-specific metalinter: https://github.com/alecthomas/gometalinter
I still have it... might be able to do a test run.
Switzerland is to Swiss as England is to English.

The country is Switzerland; if you are from Switzerland you are Swiss.
Air quality is a bad example, it's a public good only for the reason that you can't sue those, who pollute air at your private property.
I don't see where the author says anything like that, quite the opposite.

"Did wearing hand-me-down clothes prevent others from doing the same?" Him personally, no. The point of his article is that part of the reason his parents could give him these advantages is because the were white and not affected by racism.

Likewise you could ask "how many people were in your exact same position and ended up somewhere else?", but he's asking "how many people weren't in your exact same position, due to the racism of the past, and ended up somewhere else?"
People[1] often press the wrong button even when they're physical buttons.

[1] Me.
How is Alibaba a racist stereotype? The character is from a timeless classic... its like claiming a hypothetical company called Lancelot is a racist stereotype.
It is very interesting/helpful to me as I have held off buying a new MBP for exactly the reasons the author complains about. I suspected there would be issues and I didn't want to be the guinea pig so I appreciate the author taking the time to write and post this.
As an aside, isn't Alexa sampled from a self-selecting set of people who install a browser toolbar of dubious value? Should its figures really be relied on at all?
The argument about "the Joker being the hero" reminds me of a Borges short story, "Three versions of Judas."

In the story, Borges recounts a (fictional) theologian's slow realization that, in the New Testament story, it was Judas rather than Jesus who made the greatest sacrifice. Following this argument, this theologian eventually comes to the conclusion that Judas was the incarnation of God, not Jesus. Without Judas, he argues, the redemption of Man could not have occurred.

Unsurprisingly, the Church doesn't like this version of the story and Borges' fictional theologian dies in anonymity.
Do you use their API?
Apple should find it extremely disconcerting that developers are seemingly beginning to abandon them en masse. Every day there is something posted here, on Reddit, or Twitter by another developer moving to Linux and not looking back. A oft-used retort is developers are not a priority demographic anymore. Well who does Apple think will write software to run on their real cash cow iOS? Developers are the thin end of a large wedge.

FWIW I switched to Linux on ThinkPad X220 on the day of the MBP announcement. I've added 16GB ram and a SSD. I can't think of any reason to go back.
I took my MacBook Pro in for a battery replacement and got the same thing. They replaced the keyboard, logic board, and battery all for $300. I was told though that my computer was manufactured in a narrow window of time where the battery and logic board and top plate were all fused together in some way that they had to be replaced together. In other words, depending on when your computer was made your mileage may vary.
> You are simply changing your argument

No I'm not; or quote me on it.

> If you don't think teaching children about feminism is wrong

I've been specific. even in the last post, I say I re-iterate that I don't believe there is singular feminism, and here you are using 'feminism' unqualified. Respond to the things I've said above, maybe quote them, and I can respond; you keep asking me to respond to your own summaries.

> You are denying everything

if by 'everything' you mean the specific, broadly applied claims you've made; and by 'denying' you mean ask for qualification, then yes.

> making the assertion I'm wrong to say that site is attempting to create a fear of feminism

I've said why I think it is wrong.

> You are refusing to explain why you think their content is reasonable

No, I've explained. misrepresentation, and focus are different.
Yes it is based on an assumption you work for a _legitimate_ employer and not some shady consultant. I'll use your statement to prove that it's a fair assumption in the average case.

> So, say I set aside 1 year for the new employer to get all the internal budgeting approvals and initiate my GC process

On one hand, you claim that it takes a year for the employer to get your GC going. And now to withdraw it (which will include the same filing fee + lawyer fees - time spent= thousands of dollars) it takes them less than a month (or few months) to budget this?

No proper company would want to spend another penny on an outgoing employee. And this is a completely sane assumption. You can choose to disagree, in which case I'm sorry to say, you're paranoid.
Diffeo acquires Meta Search
That has to be the single most weird take on the Joker character in ages...

BTW, homo economicus is the single most dangerous concept that has come out of the "science" of economics.
Fair point, but this is a survey conducted with the users of a 3D/VR platform, so there's definitely going to be a bit of bias there. The interesting part will be watching this ratio evolve with time.
Hello Vivekd. This has nothing to do with yoga. I'm new to hacker news and I wanted to thank you for linking to my story "How My Start-Up Failed" about my experience with condom keychains in the 1980s. If you and your readers would like to read about my other business failures, a place to start is:

http://robertlstrauss.blogspot.com.es/2012/01/my-ebook-didnt...
Or use the same bloody interfaces that have worked for twenty years with the same bloody buttons that have worked for almost a century.
[Edit to add: Though I read the parent comment a number of times, I missed a key line. Leaving my comment for context.]

I've read your parent comment a number of times. Where do they express general dislike for the laptop? They say the keyboard is loud, and that if a non-Touch Bar model were available, they'd buy one, but other than that, I read it as them being happy with it:

I actually like my 13" MacBook Pro with Touch Bar.
Chromium Code Search sounds sort of similar to Hoogle. Can anyone with experience of both confirm this?

Also -- sort of offtopic, but motivated by TFA -- I'd love some way to find out about quirks that native speakers of $lang have when they speak $otherlang.

A few common "tells" that I know, for $otherlang = Englishf are Hyphenating-Things-Like-This and also spaces before exclamation points or question marks !
Consuming Web API JSON Data Using Curl and Jq
Los Angeles Community College District paid $28,000 ransom to decrypt its files
The economic definition of a public good is something that cannot be effectively owned.

https://en.m.wikipedia.org/wiki/Public_good
In economics, a public good is a good that is both non-excludable and non-rivalrous in that individuals cannot be effectively excluded from use and where use by one individual does not reduce availability to others.[1] Gravelle and Rees: "The defining characteristic of a public good is that consumption of it by one individual does not actually or potentially reduce the amount available to be consumed by another individual." Public goods include fresh air, knowledge, official statistics, national security, common language(s), flood control systems, lighthouses, and street lighting.
You're right but I was looking for a more specific term or word, and I've just found it! :)

It's called post purchase rationalization, a special form of choice-supportive bias, a form of cognitive dissonance.
Which, again, means "Pro is now just a marketing label, this is not a pro device."
Good point. Now are dates available if you click on vote/comment link.
Nah, it only shows the amount of frustration over it and fear for the future.
>> If there is an itch to finish and release something, suddenly those limitations aren't anymore.

Good point :-) Funny how things become less important when there's a push to get it done no matter what!
> They are a compromise, not a feature

Touch interface is terrible in almost every regard.

One drawback you didn't mention is that normally with a touch interface hand-distance to screen-distance is a 1-to-1 ratio. If I'm using a 27" display, I don't want to be dragging my hand back and forth a couple feet either way to drag icons.
syrrim was answering my PS questions and not qualifying my comment.
It's almost as if....people are really unhappy and disappointed.

Imagine being on a Muscle Car Enthusiast forum, and Ford released a V8 Mustang that had less horsepower than it's predecessor, and worse handling, but just came with minor stylistic upgrades. The same thing would be happening.
Something I'm sure is missing from this discussion is that there is a specific legal duty to report anything that constitutes child pornography to the authorities.

The NCMEC is the clearinghouse for this sort of information and my former employer had regular training on what our legal responsibilities were with respect to this.

https://www.law.cornell.edu/uscode/text/18/2258A

I can't be certain about this case, but I'd suspect that this was somehow wrapped up in the reporting requirement and things went off the rails after that.
Spinning spider silk is now possible
> 8-bit result that spreads nicely over the 256 values, doesn't let an attacker fill one bucket, and doesn't let an attacker learn anything about the other users and their cache entries.

Willing to be educated, but won't I get that by just masking off 8 bits off of say SHA-x?

[edit: h(s + secret-bits) & 0xff ]
Improved rwlock committed to GLIBC
Could anyone suggest some resources for building a Linux desktop computer from scratch? I've been a Mac user forever and I'm interested in building my own desktop computer, but I honestly have no idea how to select components, much less how to tell if they're compatible with Linux or Fedora. Any help would be appreciated.
Lenono X1 Carbon Gen II. My current labptop and I really like it. I could be better but it is nice to use.
Agile Planning
LOL, let me personally draw up a contract with every commuter on the neighboring highway to demand compensation for invading my rights. I'm sure we'll come to an amicable and just agreement.

Somehow, libertarians get through life without ever becoming aware of the existence of transaction costs. I don't know how they do it.
People love their Macs very much, hence all the venting. All they want is Apple to build them the proverbial faster horse.
Does it have anything to do with class/systematic bias or is it truly a behavioral issue?

Generational choices will affect you, just as your choices will affect your children. Studies show that if you wait to have kids until marriage, don't do drugs, finish high school, and work you will be in the middle class in the US - a pretty privileged place to be on a global basis. And those choices will have a positive impact on your kids as well.

There's no denying some people have advantages, but everyone has a chance to get ahead and better their situation and the lives of their children. And I think that's what really bothers me about the "privilege" point of view - it pushes people to justify their situation based on the hand they were dealt, not what they did with it.

Based on the stats, the system is rigged to favor one class: Asians. Earnings, credit scores, advanced degrees, longevity - Americans of Asian descent are kicking butt in every category. Those darn founding Asians shouldn't have set up the system to favor their progeny. And the white poor really need to start using their privilege correctly.
Black Holes Hide in Our Cosmic Backyard
If the Best Buy employee is paid for a successful find, what's to prevent an entrepreneurial employee from placing his own images onto a computer?
> The recommendations of the developers and engineers they know who do care about those specs.

None of the non-technical people I know (and I'll admit that's a small number) who buy Apple kit do not take recommendations from developers and engineers because they're non-technical people - they don't read HN or tech blogs. They look at things like Which? reviews or BBC think pieces or that glossy insert that comes with the Sunday paper.

Or they go into an Apple store where they can touch the machines, use them for browsing the web, get answers to their questions (ok, bit slow at peak times) vs something like a PC World where you can't use the machine or they don't have that particular model in stock despite it being on display or there's no-one around to answer your question or you can't tell which particular constellation of stickers on the laptop means it'll work for you or ...

> Apple needs to [...]

People have been saying this since 2005. They're still here, printing money. shrug
Using 100% brightness makes the test basically invalid. The backlight is one of the biggest power hogs in the whole machine, and the new Macbook is 65% brighter at maximum. That's helpful for e.g. outdoor use, but for office use the proper setting is 150-200 lux (about 50% brightness on the old machines, 30% brightness on the new ones). Testing the machines at different brightness settings is akin to testing them running different workloads.
I love how these articles begin by listing their pro-Apple credentials. We're so tribal that we have to say, guys, guys, I'm not an Apple heathen! I'm a believer! A follower of Jobs! So please do not dismiss my bad news as the mad ravings of a heretic.
My dad and I have the same Samsung laptop from 2012-ish. It came with Windows 7, and after upgrading to windows 8, a lot of stuff stopped working. Samsung didnt have "special" drivers for windows 8, so a lot of stuff (like the backlight buttons) didnt work properly. Eventually they fixed the problem, but they were weird out of date drivers. Windows 10 had no drivers at all.

I moved my laptop to Linux full time around the Windows 8.1 transition (which had also re-broken the drivers somehow). Everything worked great in Linux for me until kernel 4.2 or something when backlight brightness stopped working. Then after a few weeks or searching, I found a parameter that made it work again.

After applying the fixes to my dad's laptop, and setting up a few of his "must have" programs under wine for him, he claims that Ubuntu runs better for him than Windows ever did.
Watch the Pentagon’s new hive-mind-controlled drone swarm in action
It still sounds like an HMAC albeit with a 64-bit output rather than a larger (say 256-bit) output.

From reading up on it a bit more, it is an MAC[1]. The difference between it and a generic HMAC construction (say with HMAC-SHA256) is that it's intended to specifically be an MAC which leads to more efficiency.

> An HMAC gives you something very nice, but it's of its choosing. If you want a 256-entry cache, the security properties of a 256-bit HMAC result is not a good fit for the needs of a cache key.

It'd be a fine fit from a cryptographic perspective. It's just slow relative to something like this which more catered to the specific problem.

> If you want an infinitely big cache, an HMAC gives you zero collisions, but in this case what you want is an 8-bit result that spreads nicely over the 256 values, doesn't let an attacker fill one bucket, and doesn't let an attacker learn anything about the other users and their cache entries.

The result of SipHash is 8-bytes (not bits). You'd still have to truncate or consolidate the bits to reduce it to 1-byte (8-bits).

[1]: https://en.wikipedia.org/wiki/SipHash
Applying Deep Learning to Natural Language Processing
I did the same thing and it was truly like having a new laptop. The following week I dropped my freshly refurbished MBP. So, now I have a new 2016 MBP. :/
Ah, thanks for that information.
The choice of desktop environment is quite a personal matter. I would recommend Gnome 3, which is especially polished on Fedora.

The early transition years from Gnome 2 to Gnome 3 were rough, and I switched to KDE for this time. KDE was fine, but Gnome 3 has been polished a lot in the last view years. So I switched back to Gnome 3 and never looked back :).
It's like that everywhere. family plan at my work or through exchange is like 17.5k before they pay out dime one.
Quick tip: if you press and hold on volume or brightness, and start sliding immediately, you can get more immediate feedback. Don't tap then slide; tap and hold and slide at the same time :)
I don't think it was ever case sensitive. I'm pretty sure that in 1994, I was using lower case html tags without issue at university in Mosaic. Netscape Navigator definitely allowed you to use lower case tags. My final year project was littered with mixed case tags.
You have to be prepared to deal with an old home's quirks. It is not going to have all the amenities and features of a modern house. Yep, it will wiggle and squeak and probably will need to have its electrical and plumbing checked out by a competent contractor.

It will have been "maintained" by people of varying skills, desires, tastes, budgets, etc over its lifetime. Many of the repairs I've had to do in my old house have involved undoing or fixing the previous owner's poor work.

The flip side, our house is over 100 years old and has most of its original windows. Other than some painting, glazing, and caulking they're fine & pretty weathertight. It has 12" wide floor joists ... I could park a car in the living room. And it has glorious architectural details not found in (or poorly imitated in) modern homes.

The inventory of old homes will never be larger than what we have now. Every year, old homes are lost to fire, flood, tear down, and insensitive remuddlings. If you're not willing to live in and love an old house for what it is, please, buy a new home.
I believe your argument is that libertarians frame adjusting for externalities as defending rights?

If so, then doing so still requires cooperation. I was responding to a comment which seemed to claim that private property was an alternative to social cooperation.
For those interested in more details about .NET garbage collector here is some reading.

Garbage Collection Overview

https://msdn.microsoft.com/en-us/library/0xy59wtx(v=vs.110)....

Fundamentals of garbage collection

https://msdn.microsoft.com/en-us/library/ee787088(v=vs.110)....

Visualising the .NET Garbage Collector

http://mattwarren.org/2016/06/20/Visualising-the-dotNET-Garb...

Clr Book of the runtime : Garbage Collection

https://github.com/dotnet/coreclr/blob/master/Documentation/...

Maoni Stephen's Blog

https://blogs.msdn.microsoft.com/maoni

https://blogs.msdn.microsoft.com/maoni/2004/06/15/using-gc-e...

https://blogs.msdn.microsoft.com/maoni/2004/09/25/using-gc-e...

https://blogs.msdn.microsoft.com/maoni/2004/12/19/using-gc-e...

https://blogs.msdn.microsoft.com/maoni/2005/05/06/using-gc-e...

There is also a refactoring effort to standardize the GC<->EE interface

https://github.com/dotnet/coreclr/projects/3

I would link to the source code of the GC itself, but it's a single 35KSLOC file.
This reminds me a little bit of the IDA disassembler. There are moments where you might face production issues with external JS code and have no source maps available. A tree view to dissect what is going on would be useful in these situations.
There is another site[0] that is very similar that is linked to off of the official bitcoin website under find an exchange[1].

[0] https://www.buybitcoinworldwide.com/
[1] https://bitcoin.org/en/getting-started