skysight-inc/HackerNews huggingface dataset:
That's just because you lack the tools to efficiently create new DSLs
Just try pasting the following into the default interpreter, exactly as-is:

class Sample:

def __init__(self):
print('hehe')

s = Sample()

IPython wouldn't flinch.
Police in the US are above the law. As evidenced by recent unjustified police killings, they are allowed to execute people in the street with no repercussions. So I don't think accessing a phone without a warrant and deleting evidence is even going to register.
> This is intentionally deceptive.

I strongly disagree. I would be quite proud of myself for finding a hack to maintain expected functionality in that case. As a user of the web I constantly mouse over links to see where they will take me. It annoys me when that's broken.
>Finally, analysis of police shooting data as a function of county-level predictors suggests that racial bias in police shootings is most likely to emerge in police departments in larger metropolitan counties with low median incomes and a sizable portion of black residents, especially when there is high financial inequality in that county. There is no relationship between county-level racial bias in police shootings and crime rates (even race-specific crime rates), meaning that the racial bias observed in police shootings in this data set is not explainable as a response to local-level crime rates.

http://journals.plos.org/plosone/article?id=10.1371/journal....
Thanks for the link, interesting read.
After reading this i don't get how these wars could be lost...
The original idea was flawed. The reason so much blood needs to be drawn is because small samples too heterogeneous. Unless you change the properties of blood no test will fix that. Many many people knew this which shows that investors failed to perform some fairly basic due diligence and instead invested in gut and founder charisma. That may be okay when you're betting on a social network, but charisma can't overcome intrinsic empirical limitation.
Sure, technology changes. I this case it is positive, moving away from monolithic bags of tricks to lighter services. That is all good for Java. But, we will be looking to moving away because Oracle can no longer be trusted.
Just tried this on my mac. And yes, It did output something. But the passwords aren't in plain text. It outputs, what looks like at first glance, encrypted passwords.

Maybe there is an easy way to decrypt them using some other information in the output, but I haven't looked further.
Russ Olsen – To the Moon
So all blood tests are useless?
Why are people not playing the VR games they bought?
Certainly. And when they do they are investigated. The system works: http://www.bbc.co.uk/news/uk-northern-ireland-33085729

Police officer uses gun in inappropriate situation, wounds man, is subject to impartial investigation and disciplinary action.

That's what America needs to do to fix its police race relations problems.
BLE is king for hobby tinkering. You can even re-use the common and dead cheap NRF24L01+ radio module with some hacks [1].

[1]: http://hackaday.com/2013/09/21/sending-data-over-bluetooth-l...
Sounds like the trend of slow television: http://www.wsj.com/articles/SB100014241278873249040045785391...
Not until you said that, brb, reg ex-ninja in ue4 coming up.
How about car oil changes for an analogy? You could probably drive for several oil change periods without apparent issues, until eventually there would be big issues. Django upgrades are similar, not "that" difficult, and it's a good idea not to fall too far back in versions, running into more and more incompatibilities.
Py 2 -> 3 is a bigger one, so maybe like a timing belt change? ;-)
Would they even be able to tell good gameplay from bad gameplay for 100 games in 5 years?
I still default to C++ (or at least, the subset thereof which works for me). Occasionally I've eyed newcomers like Rust and Go from across the room but haven't yet found a compelling enough reason to burn a bunch of my free time learning another language.

Golang looks at very cursory glance to be yet another entry in the "modern C-like" column. If you could recommend one link to read to convince me that it's worth learning, what would it be? My main dev work is native Windows/Linux GUI, Linux command line utils/servers, and embedded development.
Follow-Up Friday: A Year After US Gov Got Hacked, Are We Safer?
If you really want to be fair, you all would count all the LOC that makes all that possible. Then we'll see who is pissing further!
There's a reason why people draw in photoshop instead of typing the values of pixels in an array.

I think the biggest problem with textual programming isn't the text per se, but that text is used as the underlying format. I'd rather have projections of an abstract syntax tree that I could manipulate as text with different types of syntax or as various visual objects when that would be more useful.
Acquire, engage, retain and convert app users with real time actionable analytics
While that threat maybe real, a man in his car with his partner and 4 year old child, is not likely to be a threat on the same scale.

What is a threat is gun ownership. British police do not expect to be threatened with a firearm, or shot on a routine traffic stop. In the US, the police have to expect that as normality.

Now I know there are a lot of US citizens who believe in the right to bear arms, and many more militant NRA members believe that is more about defending themselves from the state, but if you take a step back, they've already lost that fight long ago. The state already tramples over their rights, and there are no armed militias matching on Washington to overthrow the corrupt and over controlling state. I truly don't understand that argument.
May I ask what you use for editing your Haskell code?

For the literate project I’m using my usual programmer’s editor. It handles switching between the LaTeX and Haskell reasonably well in terms of syntax highlighting, but it does lack most IDE-like features, even with any of the extra packages I’ve tried installing so far.

A tool that provided reasonably reliable go-to-definition functionality would certainly be a helpful addition, and the kinds of pop-up help you get in IDEs to keep track of function parameters and their types seem particularly relevant to a language like Haskell, but I’ve yet to find an environment that both offers those features and handles the documentation aspects well.
Show HN: Introducing realtime REST
"We've already completed step 1. We're half way there." applause

https://www.youtube.com/watch?v=DkGMY63FF3Q
Driving is the most dangerous activity we do on any given day and a large number of fatalities and injuries are caused by lapses of judgement which a computer is not capable of. The idea with autopilot is newish. Tesla’s making mistakes and learning. But such practice will bring more crashes and human death. Are we ready to pay a high price for company mistakes?
I can confirm this works on 10.11.5 ( El Capitan ). To confirm, you can "cat keychain.txt | grep -i SECTION_OF_YOUR_PASSWORD". However, you must click Allow on each dialog, or Always Allow.
Did you run the AppleScript? I got the expected error:

> error "System Events got an error: Can’t get group 1 of window 1 of process \"SecurityAgent\". Invalid index." number -1719 from group 1 of window 1 of process "SecurityAgent"

You're not supposed to be able to script SecurityAgent – and it doesn't work on my computer. Specifically, security windows should appear empty when read by other processes.
Some people are totally cool when crap hits the fan and don't freak out at all. Training and experience helps but it's not odd for someone to be able to pull it off naturally (see "bystander does something heroic" type stories).

x2 on the shock and fear thing as well.
Going offtopic from the rant to an Android development question, if I may - I thought background services were shut down brutally at random times, and hard to keep running reliably unless some app which uses them is open? I'm a newbie to Android dev, but I have an app which (attempts to) maintain an always-on connection, and I've gone with a foreground service because that doesn't get killed (as often).
Here's a different hypothesis:

We are mostly not human. Our bodies contain a vast assortment of usually symbiotic species so it is appropriate to think ecologically, more co-evolution.

It seems reasonable that flora and fauna responses to environmental factors that in of themselves may not be directly relevant to a human, but that we benefit from the interaction as a side effect e.g. useful compounds being produced naturally, partially synthesized from plant life even though the direct plant product may show no sign of helping us because we cannot yet process it artificially. Hope that makes sense.

Having said that, the Japanese researcher I mentioned above does say some kinds of hinoki oil produce comparable effects to traveling in forests.

Now seems like a good time to plug my favorite anime on tiny invisible life forms:

Mushishi http://www.imdb.com/title/tt0807832/
11 things a HTML5 Player must have
Ravaged woodlands
I have and many other people have as well. You can find a lot of examples of live projection if you search for it.
Snippet from the man page for security:

https://developer.apple.com/legacy/library/documentation/Dar...

>dump-keychain [-adhir]
Dump the contents of one or more keychains.

-a Dump access control list of items
-d Dump (decrypted) data of items
-i Interactive access control list editing mode
-r Dump raw (encrypted) data of items

I'm not at my Mac so can't test what it means by "dump decrypted", but I don't think it dumps all data in plain-text as the article suggested. I am curious if the keychain was unlocked when they did it for whatever reason.

I still question why such an ability exists through terminal without more control, but it's not quite as described.

edit: was very unclear I was posting a snippet of the actual command. fixed
Did you mean Chrome and Firefox don't quite fit?
Blood tests use a relatively large amount of blood to counter the problem. Also many blood tests are repeated multiple times before the doctor produces the final diagnosis. So multiple units of blood from a vein distributed over days vs a pinprick's worth of blood from a finger.
To monolithic, interdependent bag of lighter tricks. Microservices don't magically make developers know how to design.
Oh yes. I was just pointing out that there has always been actors having that role and that HFT wasn't special in that regard. They are simply better at providing the service.
You could, I guess, annotate C++ child classes as likely, and then perform this optimization. That'd be an extension to the standard of course.
Best QuickBooks Cloud Hosting Services Provider
Yeah, direct manipulation of the program in real time.

The issue with programming is often that programs tend not do work exactly how we think they work, so we have to reverse engineer/debug them to find out how they work and then change that into how we want them to work. Especially as programs grow larger. I think visualizing the program and the state of the program can help with this, especially if the visualization can be directly manipulated.
That only allows exporting the passwords of the currently logged-in user.

If you let someone untrusted (!) log in remotely to your computer with your user account or you give it to someone while your user is logged in it's your own fault if your keys get stolen. You should use a guest account with restricted privileges or a separate machine.

It's not much different on Linux, if you use Gnome-Keyring (used by default in Ubuntu and others) you can also get the passwords easily, in plain text [1].

Not sure about Windows, but you can most likely get to the passwords without installing anything as well if you're already logged in as the current user. If you're allowed to run executables, there are quite a few already [2].

[1] https://blog.schmichael.com/2008/10/30/listing-all-passwords...

[2] http://www.nirsoft.net/password_recovery_tools.html
I dealt quite a bit with nanowires during my PhD research a decade ago.

E-beam lithography can be used for features this small but it's more for one-offs as in academic research like this. It's not an industrial scalable solution for high-capacity production.

Optical lithography works well for industry, but the wavelengths are larger so it's hard to pattern structures this small. Though by pushing wavelengths further into the UV and doing tricks to compensate for diffraction, optical lithography has also come a long way in terms of feature resolution and may be a potential solution. I'm not up-to-date on the current state of the art.

In my lab, one technique we used involved carbon nanotubes lying as a bridge over a trench, over which we'd deposit superconducting alloys. This was a way to create nanowires about 10nm wide, allowing us to study superconductivity in one dimension.

But you're right in that alignment was difficult. We'd basically put an optimally-dense suspension of carbon nanotubes in a fluid on the substrate and hope that some would cross the trench, find them in a SEM after applying the superconducting alloy.

They're also super delicate, so we had to hope we didn't blow them up with tiny static charges while patterning the leads, wire-bonding the silicon substrate to a chip carrier, connecting to our wired cryostat, and evacuate /cool them down to cryogenic temperatures. Felt a bit like Edison and first light bulb attempts!

One of my lab colleagues was studying the physics of the carbon nanotube itself, and interesting things that could happen with magnetic leads in magnetic fields (aligning electron spins). Once he had a working sample it stayed in the dewar for over a year as he studied different aspects of it!
For the 18 years I lived in Brooklyn, the trees were never maintained by the city. Our block association planted them in the late sixties, and the houses on either side watered them when they were hosing their own sidewalks (as well as keeping all the stray dogs from shitting and pissing in their soil!).

I remember only one incidence of the city being called in, or a private contractor to repair the sidewalk by the two oldest oaks on the bottom of the block whose roots had lifted and cracked the walkway. They just expanded the opening; I'm sure it was not up to code after for width between the areaway fence and the tree's opening in the sidewalk.

I can't believe it costs much to maintain them after the initial cost of planting them. I never had to care much for the trees on my property in NJ either, other than pruning some dead limbs that were about to fall over my access way or roof from the taller trees. The younger trees did fine on their own. Although, almost all of the hemlock trees succumbed to the Gypsy moths, but even neighbors who spent thousands on trying to save theirs, suffered almost the same number of losses. I was also not quick to cut them down if they didn't 'look' right. Now one that neighbors said looked dead, is thriving again!
Facebook's deletions are surely soft-deletions, at least initially. You and I can't undo it, but Facebook undoubtedly can. Maybe it's purged for real after 90 days or something, but I'm sure they can provide deleted death threats against the President to the Secret Service and whatnot.
>I just think that most people, for whatever reasons, do not have the capacity for "relaxed empathy" in stressful situations.

It is not about "relaxed". It is about instinct in stressful situation to help the wounded member of your tribe. The modern technology just made the whole human race the same one tribe.
I think if you had a chance to look back on your life and you considered critically how many of your books did you ever re-read or lend someone or actually leverage -- that number would be small. It doesn't seem too extreme to me, but, yes, I own more than 30 books. It's not terribly rational of me to keep as many as I do, though.
How to Build a Startup – Tips for Creating Spectacular Company Pt1
Write emails as a human being
Meet Angus, the C. difficile-sniffing dog trained to detect superbugs
Agreed - most do get little use. Most the ones I see with different uses have different sorts of things for different ages and sorts of people. You are correct, it doesn't need to take much to liven them up. Most of the costs are upfront.

Heh. If only I were closer in location and had time and money... It'd be a fun project in areas.
This is true! Perhaps my comment was a bit in haste, however there's a lot of caveats with "exits" rather than returns which complicate the matter, for example in Java System.exit can fail (and finizalizers may or may not be run).

On top of that you have to type System.exit all the time, which is quite annoying
If it is known beforehand that all the participants will answer in the same way, testing 5 will produce as much information as testing 10000, so the question is whether any beforehand assertion like that applies.

One reason that assertion might not hold is if the 5 being tested come from a special interest group, knowing if that could be the case or not depends on domain knowledge.

http://www.bd.com/vacutainer/labnotes/Volume17Number1/compos...

So, it is known that small samples of blood taken from capillaries will have a different composition than large samples taken from veins. Is it possible to write a test that compensates for the known differences? Or is it just known that they are so different that one can't be inferred from the other? Hard to tell, needs cutting edge domain knowledge.
Londoner’s Believe in the End of Cash Within 20 Years
iPhone 7 Release Date, Specifications, and All Other Rumours
5 Things We Learned from Analysing the Location of 950+ Blockchain Startups
Apple launches macOS Sierra, iOS 10 public betas
Is Tailor made to build wordpress themes or single page on an already existing wordpress website ?
It's not Jamie Zawinski, so I assure you, you won't end up seeing an actual "techsticle"
> There is a trusting trust issue here, of course.

In case anyone doesn't know, this is referencing a famous paper:

https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp...

Some further discussion: https://www.schneier.com/blog/archives/2006/01/countering_tr...
[ Finally, analysis of police shooting data as a function of county-level predictors suggests that racial bias in police shootings is most likely to emerge in police departments in larger metropolitan counties with low median incomes and a sizable portion of black residents ... ]

That's a lot to go through this early in the morning, so forgive me if this has been covered already, but did they analyze the risk of police officers being attacked/killed by the particular race that there's a (police shooting) bias against compared to other races in those counties?

I'm curious if there's a correlation between "assault on police officers is X times more likely to occur by someone from race Y" and "police officers are Z times more likely to shoot someone of race Y".

I'm not trying to imply anything (even though I know it sounds that way). I'm just curious.
Emscripten and SDL2 Tutorial
12 Best Android Hacking Apps 2016
dump-keychain: command not found
Even if you disagree with the ability to track outbound clicks, ping would be good as if it becomes the main way of tracking clicks you'd be able to stop tracking by turning it off. When people do tracking by rewriting links server-side, on the other hand, you don't have an easy out.

I don't see this as a special case at all - a substantial proportion of link shortener usage, for example, is not for link shortening, but because most of them offer analytics.
In general, only Armed Response Units (ARUs) in the UK are actually armed. There are a small number of ARU's in each police constabulary, but it depends on the size of the area covered and the perceived threat from assumed criminals.

Most ARU's are rarely called on to use their weapons, and every time they use their weapon it is seized as part of the investigation. Every bullet has to be accounted for.

Each officer receives an extremely intensive training, and only the best, with a secure psychological profile make it through. They have to follow a rigid set out protocols before they can engage a threat.

I find the British police protocols and training to be an excellent example of how to approach armed policing. That being said it sometimes goes wrong. In those cases the actions of the officers need to be reviewed, and any negligence or deliberate acts of harm need to be punished within the law.

These officers don't have an easy job. On the most cases they've had to make a split second decision based on their training and their immediate situation.

I'll exclude Charles de Menezes from that, since I still believe that he was shot by armed SAS soldiers operating in public on British streets, authorised by the home office, which they'll never admit to, as it would cause a public outcry:

https://en.wikipedia.org/wiki/Death_of_Jean_Charles_de_Menez...
For those not familiar with static analysis, MLton is very famous due to http://mlton.org/WholeProgramOptimization
This just isn't true and should not be part of a productive discussion.

Edit: Do the downvotes really mean HN thinks the above is an accurate description of every black person's life in America? That would be surprising to me.
If people bought more stuff from seeed studio which is in that business model, than perhaps LG or Apple or Philips which is not in that business model, then China would be better known for open source stuff.

I've bought stuff from seeed studio before. Nice stuff, nice people. Obviously your mileage may vary WRT individual pieces of hardware.
Researchers break record for DNA data storage
http://apple.stackexchange.com/questions/184897/how-to-dump-... This is nothing new apparently
Someone I know commented on this when I posted something similar to Facebook. He said:

If Australia had the criminal gangs and the
drug war which both empowers and assaults
those gangs, as America has, the results
might have been different.

To say nothing of any discussion of defensive
rights or of genocides.

He also talks elsewhere about how home-invasions would become endemic if home-owners were prevented from having guns. In other words, America is effectively lawless, and so-called "gun control" can't and won't work, as it will expose law-abiding citizens to unacceptable risks. The ownership of guns is part and parcel of American society, and cannot be removed without the immediate collapse of law and order.

Is this true? Who can say. But when one of the "good guys with guns" gets shot in his car by a law-and-order officer, one wonders.
> at this stage I'd say it was 50/50 that the shooters were white supremacists trying to escalate the situation.

One of them is apparently dead so I figure this will be known quite soon.

And I really wonder why you'd make that assumption on a 50/50 basis with 0 evidence, is there something specific that makes you write that?
Agree, it makes things harder to design and much harder to debug. The win is down the track.
Er, in Australia one can drive to the next state over where the laws might be more lax. These laws were federal laws, just as one can have in the good ol' US of A.
I wonder, could this put those moon landing denial conspiracies to rest?
It's used to build page layouts using an existing theme (any theme). Certain effects would depend on the theme used. For example, a full-width slider or hero section would require a page without a sidebar.