skysight-inc/HackerNews huggingface dataset:
What people need isn't sufficient so much as efficient.

To appreciate Lisp (or anything) is really to appreciate the underlying requirements (and that they are done).

Some people absorb requirements very well (and then appreciate them) if they force themselves to implement the requirements, which is fine. Even those people can't just confine their appreciation to that which they're able to implement, because then the scope of their appreciation will be rather small.

I really appreciate John Carmack's approach to determining shadow maps for a scene: the clever "cast a ray from a point on the surface to infinity and determine whether it intersects a shadow volume boundary an even or odd number of times" so then you know whether it's in the shadow volume (w.r.t a light source) or not. So we go backwards from a pixel on the screen, to some point on an object's surface. For each such point (consequently pixel) we can determine whether it's in shadow; and we can reduce that to a 2D shadow map in pixel space. Terrific, right? And about the shadow volumes, they are basically just conical shapes made using the 2D contour of the objects as seen from the POV of the light source, and capped at the end somewhere so they are finite. I'm not going to sit here and implement it all though. It's not that I couldn't find the time but that it's out of scope. I can play it out in my head though and see it working which is a good enough facsimile.
What makes you think that? And U.S leaders are all pro science too (climate change)

It's fear mongering and liberal's taboo, just like climate change for conservatives.
Yep. I'd also mention how many viable alternatives to Google products and services they have shuttered because Google offer theirs "for free".

They have an almost-monopoly on the advertising space, their resources and size make it difficult for others to compete with them, and they treat their users like dirt. Wait sorry, they don't have any users, they have products. And they treat those like dirt.
Since this is IM the most you could do would be to generate a lot of requests to put the spammer on someone's roster list. In the unlikely event that a particular rogue XMPP managed to convince anyone to let them add some bogus users to their roster before it was blacklisted, it would take literally seconds to resolve the issue by removing them from your roster. So there isn't really any incentive to do spam over something like XMPP.

I have been on the federated XMPP network pretty much as long as it has existed and I have not gotten a single spam attempt. I guess I could post my jabber ID somewhere to make it more sporting (they need that to even try) but I really don't want to add random people to my roster. Email is intrinsically different that way.
The number of permutations of 1..N is N! ("N factorial"). The total number of functions from 1..N to 1..N is N^N.
Really?

This is common knowledge. Just go read the book -- Marked: Race, Crime and Finding Work in an Era of Mass Incarceration.

Why pretend like being black isn't a severe disadvantage in terms of almost every metric you can think of? Failing to acknowledge reality just perpetuates inequity.

Sorry, but I'm not sugar coating reality for felons, white or black. People saying "you'll be fine" are just lying, full-stop. You will not be fine. You may be able to succeed, as many ex-felons have (which is really just survivorship bias as many felons stop looking for work all together), but your success will pale in comparison compared to the alternate self where you were not a felon. The discrimination against felons in the United States is borderline a human rights violation.

I wonder how many people in this thread have actually talked to felons who are looking for a job.

- http://thecrimereport.s3.amazonaws.com/2/fb/e/2362/criminal_...

- https://thinkprogress.org/a-black-college-student-has-the-sa...

- https://www.prisonlegalnews.org/news/2011/dec/15/study-shows...

In any case, if you have evidence suggesting that a felony doesn't ridiculously reduce your employment prospects and earning potential (among other things), I'd love to see it.
What about Raft?
X-rays are ionizing radiation. You would just corrupt the fuck out of the memory.
Naw, Lodash is modular. You can cherry-pick its modules. It's less than 716 bytes (with lodash-webpack-plugin).
Then again, Flash has been deprecated for almost 10 years already. When the original iPhone famously came out with a no Flash policy back in 2007, the technical community knew that it was a dead format. Even granting the general corporate mindset of dragging your feet there has been plenty of time to source a replacement for Flash in your ecosystem.
Very funny 2 yr old Tongue Twister
I really like $LASTNAME.xyz
edit: Not the CFR, I had the mag name mixed up.
Because many "smart" developers like to make their pages require JavaScript to display text-only articles...
I've always suspected that half the people that praise Atlas Shrugged have read the plot synopsis rather than the book[1], and Scholl talking about everyone in the book being a pilot makes me wonder if he's one of them[2]. I mean, there is a sequence where one of the protagonists pilots a plane, but there's an awful lot more assumptions the survival of society is dependent on capitalists building enough miles of train track. If I liked the book and was running an aerospace startup I'd probably be more stoked about all the heroes being mechanical engineers...

[1]Seriously, the premise of Atlas Shrugged is the great entrepreneurial capitalist novel, but if I passionately believed that the government was so restrictive towards the activities of private enterprises that they actually were on the verge of scaring all the entrepreneurs away, the last thing I'd want people to read to persuade them of this peril would be a tome populated with playboy hereditary billionaire geniuses and philosopher pirates to the point where the whole idea seemed a bit ridiculous

[2]Looks like he's in the thread to correct me on this :-)
Yeah, no. The force upgrade is a dialog box with a countdown timer. In my case I closed it by clicking the upper-right "X". It counted down off-camera and then closed everything and auto updated.

When the 'accept' dialog comes up it'd already been grinding away for 1/2 hour. I've cancelled MS installs before and there's always sh*t left behind.
FEBRUARY HAUL
How about if we made an improved metric, which takes Amazon's story into account? Something like static-profit/equity, with static-profit being the profit they would be making if they weren't investing in growth?

I suspect this is difficult to get exact numbers for since separating per-item costs vs growth-investment costs won't be separated. But I don't think it would be hard to estimate given a slightly more detailed breakdown of operating expenses.
Did we read the same paragraph? The problem with his first thesis was that, though he presented a brilliant and original result, he didn’t show that he’d studied enough prior research.

Nothing to do with schmoozing, everything to do with scholarly integrity.
I bought the Dell XPS 13 (9650) about 8 months ago. It comes preloaded with Ubuntu so you don't have spend too much time debugging drivers. This was my main concern since I was going to be running Linux as my only OS. I've only had a few problems with wifi drivers and ethernet over USB C so far. Costco occasionally has the high end model (preloaded with windows of course) on sale for $400 less than the dell site which is a great deal.

Resources:

1. http://www.dell.com/ca/p/xps-13-9350-laptop/pd

2. https://wiki.archlinux.org/index.php/Dell_XPS_13_(9350)
Came here pretty much to see if anyone would make this comment. Kudos
I always wondered how stuff like this was done. I use spotify often so often discover new music via them aggregating what I already like. But I think spotify does it via finding what other people also like, and maybe have a human element internally where they have audiophiles tag it internally.

So this library does it via analyzing it. Somehow. It seems math is involved, but even with the docs, I still don't get it. It'd be helpful to explain the basics of what tempo, amplitude, frequency, attack is. Maybe a video would help.

I also see someone wrote an MPD plugin for it (https://github.com/Phyks/Blissify). That's worth checking out.

Most people don't understand how audio and programming works. In the same way people may not specialize in geo + programming (but they use Google Maps) or color theory + programming (Yet they use color scheme generators and Photoshop). So there is domain knowledge that could be conveyed.
And I often do, thanks for the invitation.

On the other hand, if there's a non-popup at the end of post that asks for my email address, and if I liked the content and think more would be useful ... I'll provide it.
Hm. Are other things in the reflect package threadsafe? By default I wouldn't expect it to be since it doesn't seem to claim it is, but it is a little surprising that a language-introspection feature could just crash because you're doing it at the same time as someone else. And it seems hard to guard against - you could carefully lock on the class for your own code, but you can't really guarantee libraries will work with that (e.g. they may get into deadlocks).
They're apparently still going to allow google voice SMS from hangouts, but this combined with them having recently released new google voice apps (despite previously having tried to push everyone to hangouts) makes me think that they're gearing up to kill hangouts entirely.

Google shutting down tons of products all the time has been something of a joke for a couple years now, but in the last several months it seems like they've gotten a lot more serious about it. I just switched to Google Voice and now I'm worried that they're going to kill it off too.
A wider set of devices that accept it.

If you have a service that serves to a fleet of STBs, TVs, or other embedded devices, they have a fixed set of RootCAs and getting the OEM to update those (and possibly through a ton of different resellers) is a nightmare.

While the embedded devices won't be impacted by this announcement (if the deprecation goes ahead), there might be some additional work for anyone that services web browsers AND embedded devices from the same endpoints.
It would be rather peculiar if during the American Civil War the Confederates had retreated to something like Cuba and remained there to this day.
But you also have a different diagram in which B has been removed; a different object.

Purge from your mind a whole aspect of who you are, and some other two parts become disconnected: uncontroversial to me.
Go + Qt and/or QML
It's JavaScript ruining the world
It seems there's sort of an unwritten standard that static methods should be thread safe or avoid shared state :/

Another great failure is UUID.generateRandomUUID(); One would think that's thread safe... [maybe it's fixed now]
The GP was talking about arbitration clauses. It's an absurd that any democracy would accept those (and favored forum ones), and they don't seem to be restricted to software companies in the US.
Both sides of that conflict were chock full of assholes.
I disabled the Windows update service, (literally "Windows Update" in the services panel) and surprisingly it has never once tried any update or to auto-enable the service again. Very clean fix, especially compared to group policy settings and the like which never seemed to completely disable the 'required' security updates.
Someone needs to realise that employing 100 cheap junior people to deliver a software project is not going to work. You end up with <20 developers + 80 people overhead (PM/QA/etc) and communication overhead will kill any productivity. Better to hire 10 people that know something and just pay each of them 10x.
California Upholds Auto Emissions Standards, Setting Up Face-Off with Trump
Yeah, using Flow with React is painful. Which is weird, considering they're both from Facebook. Want to add a propType for 'children'? Sorry, nope. Want to use the equivalent of PropTypes.node? Good luck with that.

The biggest thing that I see as a barrier to entry for TS (and someone please correct me if this is no longer a problem) is integration with build tools from the rest of the ecosystem. Webpack with fancy loaders, third party language tools (linters, etc.), top-tier non-VS Code editor support, and so on.
Everyone should have a cloud provider total-outtage strategy. You should atleast control the ability to move DNS if everything in said cloud provider is out.
March 2017 Ntp-4.2.8p10 NTP Security Vulnerability Announcement
Seems like escalating this fight with Google is pretty much the last thing they should be doing. They need to be proving they can be trusted, not throwing a tantrum.
10,000 Games projects have been successfully funded on Kickstarter
It's perfectly ok for courts (or law) to order arbitration. It's completely not ok for contracts to order them - even less ok if it's between "people" with different power levels.
plenty of pesticides that aren't tainted

... as far as we know... now.

Sometimes, adverse effects of pesticides aren't known (widely enough, anyway) until decades later. Dursban comes to mind and still pops up in new papers.
Ask HN: How can you frequently post to HN and also be a very successful person?
I've recently been digging into some of the reasons for my procrastination and inability to consistently do "deep work". My participation in HN conversations intuitively feels like a distraction that's holding me back, but that can't be the whole story. After all, there are plenty of members of this community who engage very frequently, yet are also at the top of their respective fields in the "real world" — e.g. tptacek, patio11, Animats, and grellas.

So, how does one both stay engaged in this community and prevent it from distracting and derailing your real work?
Also, bandwidth is a function of how much spectrum is available (for example between 1900MHz and 2000MHz there is a chunk of 100MHz) and the spectral efficiency (for example, 1 to 2 bits per Hz available).

For example:

If a carrier "owns" the block between 1900MHz and 1940MHz, and let's say LTE supports 2 bits/Hz using Frequency Division Duplexing (each direction, up and down, gets a chunk of spectrum), with 3 sectors per cellular tower, the carrier can support a total of 40x2x3 = 240Mbps per tower, or 120Mbps each way.

If the tower serves 1000 users (they serve far more in dense urban areas), each user will have 120kbps of capacity, and if they all use it at the same time, that's the speed they'll get. If there's a single user, the maximum down speed for that user would be 120/3 = 40Mbps.
It's a reasonable concern that Trump may try to abuse his power in this area as well, given his rhetoric and behavior so far.

Nothing wrong with pointing that concern out, to give the article some context about the potential domestic power of this agency.
I live in Australia - there is no Amazon here - it's rarely the go-to for anything. Regardless, it's still nice here.
Scraping by on Five Hundred Thousand a Year
Also see a similar map by the National Park Service: https://www.nps.gov/subjects/sound/soundmap.htm
I think something must have a form before you can say it has many. By your definition a cloud is a polymorph instead of a random shape. If you weaken the definition that much, it takes on a lot less meaning.
If the corporation is donating directly, it should be possible to show that the legislation was quid pro quo.

I'm sure you're familiar with the numerous ways corporations (and others) add indirection when donating. Especially in the era of "Super PACs".
Well, sure, if your query is limited to bad effects of anything, you'll get disproportionately negative results.

Try this, for that matter:

https://duckduckgo.com/?q=climate+change+due+to+ddt

or

https://duckduckgo.com/?q=damage+to+bagels+due+to+ddt
Primordial Black Holes – How They Can Help to Understand the Universe
This sucks to hear, but probably true. Meeting me in person, never would you ever consider that I've been in any trouble with the law at all. Knowing that the rest of my life could very well be an immense struggle is a pretty shitty feeling.. but I need to hear it.
This isn't just a social media mentality; it's a capitalist mentality and an American mentality.
Surprising as the Windows upgrade process may be to some, that's no excuse for not having backups of your data. If the plaintiffs' data was indeed "destroyed", that's on them, not Microsoft.
We didn't take the responsibility of being a CA seriously, and now Google is being mean to us. Waah.
I agree the post is overly politicized and biased towards Trump, but I think a strong argument could be made that Obama's reasons for and uses of expanded intelligence capabilities may turn out to be less concerning than Trump's. (Not to defend Obama's intelligence expansion.)
Did you say "prove it, take the plane there", and how did they respond to the fact that you need a special visa?
Or 49 :-)
Wow that looks like extremely shady practice.
Wrong magazine.

https://www.foreignaffairs.com/about-foreign-affairs
The Detonation Detectives
Add Attributes to Database-First Model Class
This reminds me of CA Conservation Corps director B.T. Collins[0], who drank malathion to reassure those being exposed to spraying in 1981.

[0] https://en.wikipedia.org/wiki/Malathion#General
If QT had proper C# binding I'd be sold...
This was to go-to answer when I started learning Lisp a decade ago. Glad to see nothing's changed.
Thunderbolting your video card
Lisp has always been like that. Seriously, always.
There's always room for another language.

What's hard is cracking into the very, very top tier, the C++, C#, Java, etc. tier. I am also increasingly of the opinion that it simply takes massive corporate backing to get to that level, based on the observation that I haven't seen anything get to that level without it. Python's the only one that has arguably gotten there, I think, and it's still debatable.

That said, I do think that if you want to make a new language right now and really see it take off, you do need to find some problem that isn't well-solved, or come up with a reeaaalllly novel combination of things that didn't exist well before. It seems to me that this project is going to be shadowed by Haskell in a lot of ways.

But that's only if you want to see it take off. Not all languages are put out there with that intent.
I haven't used Elm yet, but if you like it, check out the language it is implemented in, Haskell
Rand Paul cosponsored the bill, so he was an effective yes. I don't know all of the rules of the senate, but apparently it is common to abstain on your own bill.
I don't know Chinese, but I don't like the explanation in English at the side. I think that both diagrams are part of the same proof, not two independent proofs. I agree with the first comment by Martin Cohen http://disq.us/p/1h6y5qx

> The way I read it is that the first diagram says that(a+b)^2 = 4(ab/2)+c^2 and the second says that c^2 = 4(ab/2)+(a-b)^2. Both of these simplify to c^2 = a^2+b^2.

I only have a small proposed stylistic change that is to keep the are of the triangles as unknown values, let's call it T. So the first diagram shows that (a+b)^2 = 4T + c^2 and the second that c^2 = 4T + (a-b)^2. And simplifying you get simplify to c^2 = a^2 + b^2.

Is there a transcript and translation of the Chinese text?
> This seems like a good time to ask about the actual impact of the vague executive order Trump issued in January

Trump Issues Executive Order Scaling Back Parts of Obamacare | Jan 20, 2017 https://www.nytimes.com/2017/01/20/us/politics/trump-executi...

What Does Trump's Executive Order Against Obamacare Actually Do? | Jan 21, 2017 https://www.nytimes.com/2017/01/21/upshot/what-does-the-orde...

Get a digital subscription to the Washington Post or the New York Times. There's a lot happening that affects the little guy.
How much computation can you fit in a voxel?
Excellent article on that topic by Brad Plummer at Vox:

http://www.vox.com/energy-and-environment/2017/3/23/15028480...
I live and die by these two cmds on my browser. wow. how else do people manage the avalanche of tabs that is browsing today?
pile like attack dogs as if I am completely in support of the hardware! Just enjoying the poking fun at 'less for more money' apple... geez :P

Also that stick-out power button is an AWFUL idea now that someone pointed it out.
My point is that a felony conviction is a massive barrier, period.

Saying that a white person with such a conviction is no big deal is ludicrous.
get a lawyer and get the charges reduced to misdemeanors.
The actual complaint was that the thesis failed to "exhibit a heavy technical apparatus of learning." I'm not sure exactly how you get from there to "didn’t show that he’d studied enough prior research".

That extrapolation notwithstanding, what exactly do you think "shmoozing" means? In academia it does not mean going to your committee's cocktail parties and letting them win at golf. It means citing their work (i.e. "demonstrating that you have studied prior research") so that they can then use the fact that they are highly referenced to advance their own careers.
1. Let's Encrypt has fairly stringent rate limits: https://letsencrypt.org/docs/rate-limits/ You can only get up to 2000 subdomains per week (20 certs * 100 names per cert). If you want to provision a large site, this might be way too small. For instance, my college computer club ran a web hosting service that offered everyone a $username.webhost.example.edu hostname, and there are well more than 2000 active users. So it would be a multi-week process to issue all the certs.

GitHub, for instance, has three million users. Provisioning a cert for each github.io domain would take 29 years. Yes, you can contact LE and ask for a limit increase, but three million certs would still spam the public cert transparency logs, LE's internal records, etc. significantly. That is a cost. LE rounds down the cost of an individual cert, even 20 certs per week, to zero, but the cost of three million certs is very nonzero.

2. Wildcards work in mass-hosting situations where individual certs don't. Again, for my college computer club's server, putting a few thousand <VirtualHost> blocks in Apache's configuration makes it take forever to start. I tried this. It was a bad plan. The better plan is mass-hosting tools like mod_vhost_ldap or even RewriteRules based on the hostname, but they don't let you interact with SNI, because as far as Apache (and thus mod_ssl) see, it's just a single <VirtualHost>.

3. In order to issue a cert, you need to publicly respond for the name on the cert. If you're issuing public-CA certs for private-network websites (which is generally a best practice over running an enterprise CA), you need to briefly configure a DNS entry for the private name to respond to either the DNS challenge or the HTTP challenge. You can't just configure a DNS entry internally. So your internal deployment process now involves updating public DNS. For anyone who's not running publicly-facing infrastructure (i.e., most companies, whose public Internet presence is just a website), there may not even be an automated means of updating public DNS.

A wildcard cert, meanwhile, will just email the owner of the registered domain via e.g. WHOIS contact info, which requires no external configuration, and is a one-time setup process. Everything else is internal at that point.

I love Let's Encrypt, but it's ill-suited to use cases where wildcards are popular.
Yes, it was not banned for malaria fighting in a few countries, but it was banned for all applications in most of the world including my country, Brazil.

Now with the recent Zika virus outbreak many kids were born with microcephaly (crippled brains half the normal size), many people died or were crippled by Guillain–Barré syndrome.

I'm not saying DDT is a safe chemical, just arguing that its ban is exaggerated.
Tip: You can right click on video and download for offline viewing.