skysight-inc/HackerNews huggingface dataset:
First, you can't control a right.

Second the cities in the US with the strictest gun control laws have the highest gun death rates. I.e Detroit.
You know, I read through the whole article. I even agreed with pretty much all of it. I didn't run into anything I found particularly insightful.

Actually, I kind of feel like the reasoning in this article can be profitably applied to Taleb's own image management.
Don't blame the community for that. Blame Guido and the core development team. The community at-large weren't rallying for breaking changes to the language. GvR wanted that, it's "his" language afterall. Of course some of the community are more conservative and were willing to more quickly fall in line to goosestep with the core team on Python3. So the tension stems from the Python3 folks having extreme disdain for all the Python2 users and codebases.

I agree with you though, it's what got me looking towards other tech like Node, Go, Elixir. I can look past it all except for the fact they got 'unicode by default' wrong. They should simply do what Go does, everything is a bytestring with assumed encoding as UTF8. What they have today is ridiculous and needs changed before I could embrace Python3+.
Because Rust is all about efficiency and doing things 'the right way'. HTML is one massive hack at this point and one that wasn't even designed for making desktop GUIs. It's also really slow compared to true GUIs. Remember Firefox OS? Yeah.
At least one of the people involved claims that she did not know it was an assassination. After this VX revelation it makes even more sense for actual assassins use this tactics.

>Suspect in North Korea killing 'thought she was taking part in TV prank' Indonesian Siti Aisyah, 25, duped and ‘not aware it was assassination attempt by alleged foreign agents’, says head of police

>Indonesia’s national police chief, Tito Karnavian, told reporters in Indonesia’s Aceh province that the Indonesian woman, 25-year-old Siti Aisyah, was paid to be involved in pranks. He said she and another woman performed stunts which involved convincing men to close their eyes and then spraying them with water. “Such an action was done three or four times and they were given a few dollars for it, and with the last target, Kim Jong-nam, allegedly there were dangerous materials in the sprayer,” Karnavian said.

>“She was not aware that it was an assassination attempt by alleged foreign agents.”

https://www.theguardian.com/world/2017/feb/17/suspect-north-...
I'll gladly offer some anecdotal evidence:

We've got about 2500 tickets in our ticketing queue that have been filed over the past 8 months (excluding spam). Out of those 2500 tickets, only five are valid issues, and only one came with an actual write up.

The signal to noise ratio is absolutely awful - and it's not uncommon for people with invalid issues to demand that you pay them regardless.
Gaddafi Stadium being prepared to host PSL Final 2017
Is it only about Acquisition? Any plans to cover other stages such as Activation and Retention?
What ? No, that shouldn't be possible (unless the site operator massively fucked up, or there's some attack that feasibly lets you go from one or more TOTP values to the likely shared secret).

TOTP works by having (as you said) a shared secret key, and both sides calculate an HMAC of the secret along with the timestamp, and then just modulo the resulting HMAC by 10^6 (usually, for TOTPs with six digits).

Your google authenticator (or whatever) app does this HMAC on the shared secret + time, you type in six digits, and the other side does the same HMAC and verifies that they're the same. If they're UX-conscious, they might decide to HMAC the previous and next 30 second periods as well and compare those too, to account for small amounts of time skew.
Yup.

> For the record: the commits have been deleted, but the SVN is still hosed.
Reports of SHA-1's demise are considerably exaggerated
I agree 'war on terror' is idiotic. Terrorism is a law and order issue. It's an illegal act. Yes sometimes the perpetrators have state sponsors, but that doesn't really change anything about the nature of the crime, though it does actually open up additional means to fight it by applying military, economic or political pressure on that state.

In the case of e.g. Iran they've basically been brought to the negotiating table by economic and political pressure. They're still far from clean, but at least they're tractable. IS on the other hand is functionally a state but politically and economically intractable. We and several Middle Eastern nations are at war with them. However their terrorist activities carried out outside their territory are still criminal activities best dealt with as law and order issues.

Terrorist acts are crimes. Very rarely does the definition of a crime include specific criteria on the nature of the perpetrator. In other words the crime committed only changes based on who committed it in pretty specific ways. For example there's a crime and there's conspiracy to commit the crime. Unless the definition of terrorism explicitly defines it as a crime committed by groups, I see no reason to exclude acts committed by individuals acting alone.
The thing is - normal immigration and refugee immigration are two different things.

The refugee problem cannot be solved by "not accepting refugees". That's not a viable solution.

What should be done differently? Building huge internment camps? Would the human suffering really be smaller in those camps than it has been in society as a whole now through crime etc? I doubt it.

Those who argue that the wave of refugees caused so much problems rarely present any solutions.

Non-refugee immigration on the other hand (of which Sweden had had lots) thats a different matter. But somehow that's not the focus of this recent debate.
Is this your site? If so, and it meets the guidelines, this should likely be a "Show HN":

https://news.ycombinator.com/showhn.html
I wrote a paper earlier that's relevant here:

"Publicly Releasing Open Source Software Developed for the U.S. Government", by David A. Wheeler, Software Tech News, Volume: 14 Number: 1. https://www.csiac.org/journal-article/publicly-releasing-ope...

It goes over the various rules for releasing software as OSS when the US federal government pays to have it developed.
Agreed. Call it what it is. Your first thoughts are worth examining, a lot of times they're right.
The Django notes I looked too are for a beta release too. I agree that it's less important but consistency never hurt.
Yes, the mailing list post backs this up:

https://lists.webkit.org/pipermail/webkit-dev/2017-February/...
I don't think that I would call a low calorie diet that only lasts for a few days out of the entire month 'dangerous'.
#python code

def flat(x):

if type(x) == type([]) and len(x)==1:

return flat(x[0])

if type(x) == type([]) and len(x)>1:

return flat(x[0]) + flat(x[1:])

else:

return [x]
I tell people to `ipython; %magic`. For all of python's faults, that REPL is the gold standard and makes for a nice way to learn the language.
Update: Seeing the TSLA tank yesterday, I decided I will never self doubt myself again and resume gambling.
Primarily because they have engaged in the "We didn't really like the way project XYZ worked out, so we're going to re-do."

Look at the DAO. It's more than enough reason to dismiss this as a libertarian capitalist's experiment, with straight up dictatorialism if they don't get their way.
> identifying memory leaks through fuzz testing.

Do you think that was in the original draft of the release?
Codœristwrights then.
I used the lastpass CLI tool and some UNIX tools to do a tentative check of which of my domains might be affected. Something like the following should work okay:

lpass ls | egrep -o '[a-z]+\.[a-z]+' | sort > mydomains.sorted
sort sorted_unique_cf.txt > cf_really_sorted
comm -12 mydomains.sorted cf_really_sorted

It's not perfect (since it will only look at the lastpass item description, not the actual URL, and will only match foo.tld type domains), but it still found a number of domains for me
Maybe you should have done a little case study before buying it? I replaced my 2012 mbP retina with the 2016 maxed one. It's a blast, the touch bar, while not that useful, just work and IS more useful than old functions keys. And it's fast, I don't see how it could be faster actually.
It is strangely unnerving to read a blog post formatted in the Standard UK Government Website Template. There is nothing wrong with it, but I keep expecting a stern message about paying my taxes.
Just for reference, since you don't choose your processor explicitly on GCP, but instead choose your zone with homogenous processors, here is their current processor/zone layout: https://cloud.google.com/compute/docs/regions-zones/regions-...

Since some GCP engineers are watching: Presumably we'll see some new zones to provide these processors, or will it be a limited release within existing zones? And if so, will you be moving away from homogenous zones in the future?
Thanks for the pointer, but the passages in this piece still make no sense even in that context. (If you want to reply, let's merge this thread with https://news.ycombinator.com/item?id=13725124)
First you state socioeconomic factors are not major factor, but then you go on saying "well-educated people of any origin would behave more or less similarly", but socioeconomic factors are: income, EDUCATION and occupation, ergo you're contradicting yourself or you have no clue what socioeconomic factors are.
It seems the parser is implemented as an nginx module, thus having access to its memory. CloudFlare terminates SSL in nginx and establishes SSL connections to their upstreams, but inside nginx everything is cleartext.

Private keys are not exposed because they are not stored locally (they use the Lua module to implement this).

Of course, AFAIK.
Eh, of course it is?
On a tangent, but because they read HN sometimes: please can the ESA phone number (0345 608 8545) be made easier to find?

It's not currently on the site anywhere (as far as I can tell).
For better or worse, it now appears the Crispr system is an entire generic 'immune system' with many variants found across many species. It is not a singular exotic find. Though the most used variant of Cas9 was first found in the bacteria that causes strep throat, we've since found similarly effective proteins in all sorts of other organisms. Just a couple of weeks ago a few more variants of the system were published after being found in archaea through a large bioinformatics search.[1]

Some of the new CasX, and CasY proteins [2] in these alternative crispr systems are actually even smaller than the original Cas9 proteins. I'm not sure how related it is, but the land grab associated with a broad patent has come with a large exploration effort to find alternatively systems that still provide similar utility.

As these kind of synthetic biology tools come online there definitely needs to be some reanalysis of how the tools should comport with the patent system, it being ultimately for the public good. As what's being built today in synthetic biology is very much the nascent infrastructure, the comparison to the rollout of the internet is not an unfair comparison.

[1] http://www.nature.com/nature/journal/v542/n7640/full/nature2...

[2] https://serotiny.bio/api/parts/10465
Anti-immigrants protests and violence in South Africa
I played with J and have it loaded on an old Android phone...but I copy pasted the code from Rosetta Code after Googling 'flatten a list in Java' which is where I became aware of the <object> issue {racket I knew and clojure I suspected}.
I think it's pretty stupid to consider any consumer device to be secure enough. I did hear on HN some time before that interview that some USB device can be used to bypass the lock screen, which was the basis for my worrying. Now, some are saying in this thread that it is possible (or at least was at the time) while others saying that it is not (and was not) -- Even an educated sample of tech folks cannot make up their mind, so there is (or at least was) room for justified concern... no?
parent said "if you setup TOTP". If you did that, you somehow communicated the shared secret key to your authenticator, presumably from a web page. Which could have leaked.
The Mac Pro is barely a business for Apple. There's almost nothing about that line of business that makes any difference to Apple. Frankly, the entire macOS part of the business doesn't really matter much to Apple from a financial point of view.

I think they should give people what they want - a high powered upgradable machine. If they don't want to make it upgradable, then they should at least refresh it annually.
Darn. I should have read the fine article, but I was really hopefully that there would be a migration path off OpenSSL... RedHat has FIPS validated most of their software, but it is expensive and slow work that someone building from source cannot leverage, unlike OpenSSL.
In this discussion, please don't forget to count violence that was avoided because a migrant was able so seek refuge somewhere. It's often overlooked that the fact that someone got out of a war in the first place is a glorious success story to begin with.
Larry Ellison said the future was in "Grid Computing" (whatever that means) which is why a lot of versions of Oracle software had a 'g' appended.
Somehow I thought this was going to be more like the barber question.

"There are only two barbers in town. One is neatly trimmed, smooth shaven, professional, and is sweeping up after his last customer. The other has a wild appearance, terribly-cut hair, his shop is messy and has no customers. Which do you go to?"

I wasn't quite sure how it would work with surgeons, though... "One has perfectly-sutured incisions all over his body, the other has organs flopping out..."
Policy is great and all. But the DoD culture is more than just policy.

Our team once had to defend the decision to use OpenSceneGraph, because one PdM was convinced it could be hacked after deployment.
It's not unlikely that migrants coming from a less educated background choose to settle in highly segregated area as they likelier to opt to live closer to their country men. The problem with this is very obvious, many have problem learning the language, norms and fail to gain useful knowledge about their new modern society and what's worse is their children is in the same trap and the result is poor education, poverty and rising crime. The problem grows worse as people that become successful choose to move away because they are sick of the issues plaguing these areas, economics of scale works in reverse in these areas.

The left (S, V, mp) haven't touched much of these issues (ignorant or delusional), the right (C, L, KD, M) have chosen to ignore the problems for a long time until recently (swayed by the left?), and the extreme right (SD) has gotten very popular as they acknowledged problems but they seem to believe that it's an innate trait of the culture where these people are coming from and have extreme ideas about how to deal with it (rescind citizenship and deport). I don't think it's an innate trait, I myself is an immigrant and know many other immigrants from different backgrounds, and there's a huge difference between those that grew up in these neighborhoods and those that grew up in more areas which better represent the Swedish population. The one thing that is common to all successful immigrant (and immigrant children) is that they are confident and optimist, fast learners and choose to only hold on to parts of their original culture that fits within the Swedish norms.

This failure of integration, to build a modern, cohesive and beneficial culture for everyone, is common in the west, and particularly in Sweden who primarily takes in refugee immigrants from countries in war and not highly skilled immigrants from diverse backgrounds.

I hope these areas don't deteriorate even more and became like some ghettos of USA, where people die every other day because of gun violence as that's what I would call a no go zone.
Yes but it's unwise to treat it like it has economies of scale-software has diseconomies of scale.

Treating engineers like cogs in a machine with high turn over is exactly why Japan can only churn out video games.

You can't build market fit product by moving slow and treating people like shit.
I'd rather wait for Ryzen. You won't know which Skylake processor you're getting - the gimped one or the non-gimped one. AMD tends to keep their features consistent across the line.
I've been benchmarking these against Haswell and Broadwells. Despite being 300 MHz slower, we're getting between 5 and 45% faster benchmarks on linear algebra functions that we run a lot, even without doing much work to tailor to AVX512 instructions yet.

The cache is also a whopping 56 MB.
I would be quite nice if they actually advertised the particular type of CPU core you rent, rather than some abstract unit of computation. Or at least some kind of performance baseline.
Also:

resolveip -s $1 | tee >(xsel -b)

(which I prefer)
As long as it doesn't hurt the iPhone, do they really care?
Out of curiosity, why would you prefer Google Cloud to AWS?
Should You Bank Your Own Blood? Actually, Yeah
I understand, but in the developed world, every country with lower murder rates than the US (nearly all of them) has stricter gun laws, and in most cases much stricter. There is a somewhat rough relationship between stricter gun control and lower violent crime rates, which is the opposite of what you would expect if violent criminals were encouraged by defenseless civilians.

Also, there are instances in the US and elsewhere of shootings on places like military bases where everyone is armed, and many cases where the shooter planned for a confrontation with armed police. It might seem counter-intuitive, but much like the death penalty does not seem to be an effective deterrent for murderers, I don't see much evidence that armed civilians are an effective deterrent for murderers. I think murderers in general just don't think very logically.

The core question I'm asking is, why is gun control so effective in every other developed country? Why don't murder rates increase when gun control increases and ordinary people can't defend themselves?

Edit: Also, I want to address this claim:

> They're all marked by the same tragic feature - the total inability of the victims to defend themselves.

This is not always true. For a recent example, look at the shooting in Dallas. The victims were all armed, as were many civilians in the area:

> [The Dallas police chief] said 20 to 30 people, some of them wearing camouflage, showed up at the peaceful Black Lives Matter protest carrying AR-15 rifles and such items as gas masks, ammunition gear and bulletproof vests. “Doesn’t make sense to us,” he said, “but that’s their right in Texas,” where people can legally carry long firearms in public.

> Those people “began to run” when the shooting started, Brown said. “For our officers, they were suspects” until any involvement in the deadly sniper attack could be ruled out, he added.

- https://www.washingtonpost.com/politics/dallas-police-chief-...

You can also look at the history of shootings on military bases: http://www.nbcwashington.com/news/local/A-History-of-Shootin...

There's shootings like the 2011 one in Tucson, Arizona, where very lenient concealed carry laws did not seem to deter the shooter.

There are also instances of crimes being stopped by civilians with guns, I just want to point out that "all mass killings are marked by this feature" is not true.
It's also a model supported only by anecdote.
> At least change the cookie name

This is bad advice, you should invalidate the tokens, that's it.
You can, in Texas.
Disclaimer: I work for AgileBits, makers of 1Password.

I am combing through site lists trying to find sites that are impacted. However, I am only updating based on sites that have suggested that they be updated. Very few are suggesting password updates right now. But, there are a few that are in Watchtower now.

Lists like the one this link to are useful, but they don't actually say if a site was indeed impacted. In the end we may just treat this like Heartbleed and suggest they all get updated but for now, we're trying to only suggest it where necessary.

If you're aware of any that have suggested password changes please let me know and I'll get them added immediately :)

Kyle

AgileBits
While you're in the terminal, you might as well fire up `bc -l`, etc. I can't stand GUI calculators that don't display the whole formula.
As others have pointed out, that only flattens one level (which, admittedly, is a much more useful thing most of the time - arbitrarily deeply nested structures are relatively rare).

If you do want to do this, the better method is:

itertools.chain.from_iterable()

That has the advantage of being lazy, as opposed to a list comprehension, and has the potential to be more optimised. It also doesn't rely on the somewhat obscure and relatively hard to read nested list comprehension syntax.

Docs: https://docs.python.org/3.6/library/itertools.html#itertools...
still way more than $35,000 USD / year which is average salary of junior developers in Vancouver, BC
I was replying to a comment about T2 diabetes.

If you're genetically predisposed, then "proper diet" is pretty strict. I am a T2 diabetic, and control my blood sugar with a low carb diet. I'm pretty familiar.
How composable are these presets? I like to use Typescript and ideally that is only additional one preset rather than a combinatorial explosion of things like "neutrino-react-electron-typescript".
The design would have worked just fine if they'd supported it. They won't sell you an SSD upgrade, which is absurd. The design should have made CPU and GPU upgrades possible, even if they were only available from Apple, but those never materialized.
If you know the multiple id's, why not make a role for them?
I have, according to my MRI, severe cervical stenosis. I also have carpal tunnel, which was diagnosed first. Based on my symptoms and the awful looking MRI, 4 highly regarded spine surgeons recommended a 2 level fusion right away. The 5th doctor, instead recommended carpal tunnel and ulnar nerve releases. My symptoms abated by 80+% and is something I can live with comfortably.

None of the 4 other doctors even considered dealing with my carpal tunnel first, which, combined with stenosis causes what's called a 'double crush' scenario. Only one surgeon recommended the least invasive and risky procedure for me! Even though a fusion in the future is likely, for now the risk - reward for such a procedure does not warrant immediate action.

I also think it's worth noting that that 5th doctor is the only female of the group. She was the only one that didn't seem gung-ho about the fusion. I'm not saying gender plays a role but...
They claim the last terrorist attack was 2010, but Wikipedia mentions two incidents in 2015: https://en.wikipedia.org/wiki/2015_Copenhagen_shootings#Krud...

Guess it depends on how you define terrorist attacks...
No. I was not talking about the sexual harassement stuff.

I was talking about "people make serious complains and get rebukked". Now, whilere there's quite a wide range of what a "serious complain" is, people say that everywhere.

Not all complains are equal. I'm not pretending they are.
When I first moved to the US (Capitol Hill, Seattle), reading the local news about someone being shot and killed in street robberies gone wrong a few blocks from my apartment were a bit of a shock having moved from Australia.
Clients mostly find me. I'm honestly not sure how to optimize for that, it's usually pretty random. I guess for those clients I do seek out, they'll post about wanting developers in forums or mailing lists or whatever.
I hate the BBC's article format

Heading :(some alarmist half truth)
Content :( what we said in the headline probably isn't true )
The smart meters are medium-range wireless for the most part. The utility still has someone drive around in a truck, but they just need to drive by. The driver doesn't need to get out or even stop.