skysight-inc/HackerNews huggingface dataset:
I disagree with the sentiment that watching Apple demos is a great idea. These days it seems that they are somewhat willing to sacrifice usability for looks which is rather bad (imo, I have no data to back this claim).

The influence of Google on their revenue (or time they had to spend) was interesting and a bit scarry.

I also couldn't help but feel this was somewhat of an "add post" (at first I thought it might be a positioning to get acquired type post). Sure enough in the end they "peddle" their newest product and throw in a PG for good measure. Seems like it's a "lets blog about this and get on HN" type "growth hack".
Working with the Retrofit 2.0 Callback
When using Retrofit (http://square.github.io/retrofit/) when you make an API call you need to use a Callback to deal with the response :
https://gist.github.com/lawloretienne/f3c5944985cf686be8ff
However, I am wondering how to do with these two scenarios
1) Make an API call from Fragment A. Navigation to Fragment B before then response comes back. Then the response comes back at some later time while Fragment B is visible.
2) Launch the app with the Screen display turned off, where Fragment A is the first visible Fragment in the app.
The issue with scenario 1) is that if you try to access any of the views to update the UI, a NullPointerException will be thrown. The way I have avoided this is by putting an isAdded() && isResumed() as the first line of the onResponse() and onFailure() callback methods. But if you do this check, then when the display is off and you first launch the app, then the logic which would update the UI in Fragment A never runs since the isResumed() method returns false.
What is the best way to handle both scenarios?
A message to the aliens, part 14/23
ublock origin here, did not see them at all.
This is a fast move since last Chinese PM 's visit in Seattle last week
Shkreli is at fault whether someone else would've done it or not. Someone else didn't do it, Shkreli did. He's responsible for his actions, and the government is responsible for making them possible.
[EDIT] - I should have wrote, can this generate code that will work on Android ? [/EDIT]
I think that was "demanding" in the sense of giving regulatory bodies authority to force things like that.
Nasa to reveal major Mars finding, prompting water speculation
You can't do that with engineers.

Why not? Salespeople must have rules for assigning proportional commissions from joint sales. Why not assign proportional commissions to the engineers responsible for the product sold?
just buy it in? dyn have a REST API.

failing that, bind is not difficult to learn. If you have an artificial divide between your devs and you, then you have far bigger issue. If you can't convince them of the merit of using DNS then there really is no hope.

the whole point of DNS is that you can delegate subdomains, so you can neatly isolate zones from each other

Plus saying something looks hard is a terrible justification for not trying something. I know bind isn't trendy, but it works and is simple. Failing that, there are at least 3 companies out there with REST APIs and 100% uptime SLAs.

prototype all the things!
Google Turns 17 Today, Celebrates Its ‘Least Random Birthday’
Dogs act guilty in response to being scolded, not because they know they've done something wrong.
Respect for changing the license. Thank you!
30 Thought Provoking Questions You Need to Ask Yourself
No there is not.
> PhD in Hegemony

Probably will cost me karma, but I find this incredibly amusing, thanks!
DNS NOTIFY is a mechanism to update slave servers.

if you switch allow-notify on in bind it'll push updates from the master server to n slaves. This updates all records, TXT, AAAA, A, SRV, etc
"If Mark really wants to connect world via free internet why he cant give restriction free internet with limit of some Mbs instead of such walled garden?"

"Contradictions do not exist. Whenever you think you are facing a contradiction, check your premises. You will find that one of them is wrong." - Ayn Rand
Blackphone 2 Review
I can hear the "Socialism" shouts from here, that goes against the god of free market, and how the hell the corporations are going to get the funds to buy politicians.Next you are going to ask is basic health care for the poor.
The big business of spying on little kids (2014)
You do realize that there was a well-documented case of the Chinese government setting the Great Firewall of China to send a altered Baidu javascript to users outside of China to engage in a massive DDoS of github in an attempt to pressure github into removing two projects that the Chinese government disapproves of earlier this year, right? It took github offline entirely and they didn't even have most of the attack deflected until 3.5 days in. Google the words github baidu ddos and you'll have your pick of legitimate sources. It's well known and well documented within the tech community. The mainstream media mostly ignored it.
> mail order

This carries the risk of fakes, though. I mean fakes are everywhere in the first place, but through mail order the risk significantly increases.
There is a whole host of old in work there, not just the floppies and the DOS software.

Notice that the company he works for gets the records that are to be distributed in EBCDIC format.

According to Wikipedia that can be traced back to IBM punchcards! https://en.wikipedia.org/wiki/EBCDIC

And i'm not surprised, likely older, doctors cling to their DOS interfaces. I recall watching cashiers operating similar ones at various stores, and once you have the keys down navigating the interface can be quite fast.

Also, you never have to worry about some errant popup or other stealing focus...
Their offer was $4000 less than the others and they didn't seem like they wanted to negotiate. I took it anyway and I now work 40 hours or less per week

You made the right decision. Until time can be purchased, let alone at a decent price, time is the most valuable thing you have. You only have so much of it and we're giving it away to poorly managed companies like it grows on trees.
Medicine seems to be more of a craft than science. Just like programming. Mastering a complex craft in general is more demanding than recieving M.Sc in physics, IMO.
What tests do we have for the existence of consciousness in an organism and how did dolphin pass the tests?
it's been a while, but, yes :) (parts of the paper - the texture generation part - were prototyped in python, but machines were sloooow)
The first thing I thought seeing the picture in that article:

"Classified info on a Lenovo Thinkpad?"
That looks fantastic, I've been hunting for a home automation controller with a modern architecture for ages, and I think you've just pointed it out.
Well you have to start somewhere. If they plan to build their own fibre in the future, then this is just a test run to see usage patterns and test the infrastructure. Of course you're not going to put the fibre in some unused rural area. I don't think this is a charity move from Google, and they didn't really disguise it as one (unlike Facebook).
Wouldn't this require larger datasets? That isn't always an option. I'm imagining that a smaller, more computationally efficient network could learn nearly as well with fewer data points given these heavily engineered features. Is that off base?
Volkswagen opens the door to a very different car industry
Drone Age: Miniature, pilotless aircraft on the verge of becoming commonplace
Gates touted thorium molten salt reactors previously. Does anyone know if this is now a preferred technology staying with Uranium or a compromise from his POV?

Old Thorium article if you missed this from a couple years back: http://www.the-weinberg-foundation.org/2013/07/23/bill-gates...
Cloud Security
Cloud storage provider says, "Your data is fully encrypted", BUT only maintains a "Plain Text Index", Is that cool?
A backdoor is not for normal operation.

Backdoors like these (when intentional) are for when the device is not functioning as it should, or the user messed up the device, and now it needs to be repaired by someone.

I'm not defending this practice by any means, as it's a perfect example of why not to do this, but the root user was more likely intended for system maintenance rather than remote viewing of a functioning system.

Also, you misunderstand the server component. It's most likely just a name-resolution service that allows the device to phone home to allow connections back through your firewall/router.

If they were sucking up all your video data, the latency would be huge, the costs would be exponential for the manufacturer, and it would be a huge point of failure.
Implement Change Password functionality in custom portlet in Liferay 6.2
on point 1, I've not seen local authoritative DNS take that long to resolve a local address.

If the local DNS has to recurse out to find an address, then yes. But if thats the case, then something has gone wrong with the setup. (this is local service discovery after all.)

on point 2:

Yes, long running processes cache DNS. so does SSSD and nslcd. However in the world of containers, the first point of call for debugging appears to redeploy, so this goes away, by accident. (and not entirely convincingly)

on point 3, yes, yes very much.
Your comment does not make any sense to me. 'The Structure of Scientific Revolutions' does not just propose 'theories': it mainly shows how the Popperian and other accounts of 'how science works' are simply wrong, as a close consideration of historical evidence shows that science just does not work that way. It goes on to explain why it would also be impractical if science did work that way. Those parts are all pretty uncontroversial.

The account of how science does work is still being debated. Perhaps Kuhn disavowed his account later, but that doesn't matter with respect to the most important parts of the book.
" With emails, meetings and lunch, I feel like I don't really get going until 3pm."

That sounds like a really wasteful work environment. You spend tremendeous amount of time just synchronizing with people. That's just bad management and lack of vision from your employers part, not a law of nature.
Except that the vast majority of doctors are not working in an ER. They are running through the flow chart for "how should I treat this child's ear ache". The way medical school works now is like saying that every programmer must understand circuitry in order to write websites.
Good for them. Incredible success, all without a single salesperson.

I've often wondered, and I know HN can educate me on this - did Atlassian create Agile or are they just big supporters of it?
In the states there really is no active regulatory agency to pursue this; the FDA having been all but gutted, (all the clinical 'safety' research is now done by the applying company itself). One only has examine who are among the largest political donors to both parties to understand why this might be.
Nero Platinum 2016 Crack and Serial Number Download
It was already known that liquid water can exist on about half of Mars, though in a very narrow temperature range (around 0C).

The green and blue bits have the adequate pressures for liquid water to exist:

https://upload.wikimedia.org/wikipedia/commons/2/2c/Mars_top...

Very narrow phase-space in which liquid water can exist, the yellow rectangle is conditions on Mars:

https://i.imgur.com/BeDg1KM.gif
"Until time can be purchased, let alone at a decent price, time is the most valuable thing you have. "

This is so critical. It is sad people realize how much precious time they have only when it is running out. Yes, one needs to work but unless the work is also a healthy passion one should have time for other things in life.
They may not be revenue generators, but they can be profit generators, by reducing costs.
From looking at the webpage of TFA's author I'd say it's very probably airgapped and running some BSD flavor.
Trevor Paglen, the artist visualizing the surveillance state
But I fail to see how a single profession could be so much more complex then say quantum physicist

Because if a quantum physicist fails, all they've done is waste money. If a doctor fails, then you're looking at patients in pain or even dead. Let's say you have a conversation with your doctor and your string theorist: which would you prefer to not be wrong? In medicine, it's difficult to get a do-over. If your surgery ends up in necrotic tissue in your patient's leg, that's it, no more leg. If your quantum physics experiment is wrong... try again. Even finding for the null hypothesis is technically a win.

Also, as someone who has straddled both physics and biology, I find that these kind of comments that downplay the difficulty and complexity of medicine to be patronising. The human body is ridiculously complex; physics ain't the only game in town that needs smart people.
I don't go to Costco primarily to save money. (Most of the time.) Of course, if you're able to plan your meals out enough to use 100% of what you buy from Costco it's impossible to beat them. (Exception: if you're an extreme couponer who has the time and energy to watch grocery store sales, which are rarely on items I actually want to buy.)

I go to Costco because I know I will get something good for a decent price. At the grocery store, it will (probably) cost more and very likely be mediocre if not strikingly bad.

For example, the lowest grade of steak Costco stocks is Choice. Until recently, Costco was the only place in my town you could get choice ribeye for under $17/lb (Costco was $8 or 9 at the time.) Recently, the groceries have started stocking that grade - according to the packaging, but the meat is visibly inferior and it's still more expensive.

I'm not saying everything there is great, but I can buy a product off the shelf because it looks tasty and it will almost invariably be good.
Well then the matter is even worst than I suspected. I am funding drug research just so the government can sell it to a private company that will charge me 100x. Clearly this is rapacious.
Why do you believe that wooden enclosure needs a CNC mill?

It requires a few miter cuts and a good chamfer bit.

That's it.

Heck, you could do it with all handtools pretty darn quickly.

(If for some reason, you really want to CNC mill it, and are in the bay area, contact me and i'll mill it on my CNC mill for you)
The boom of Dubai’s short-term leasing market
"The public already has a large misunderstanding regarding this point *(not to mention the difference between IT and CS)*"

Is there a difference between IT and CS? (Serious question)

(Maybe I misunderstood your point)
From my perspective this is pretty major. It was not very long ago that we had no proof of liquid water on any other rock in our solar system.
ISRO launches ASTROSAT, India's first space observatory satellite
Money Tips – Vaastu
Hacking the Amazon Dash button to cool the interior of Tesla car
“Propositions as Types” by Philip Wadler [video]
Phantom Js (Amazing library for web scraping)
Latest related blog post is from this month: http://urchn.org/post/sun-and-sky-mini-tutorial
Thank you quadrangularis for your feedback. I really appreciate first of all the concepts and ideas that you wrote down. But also the time that you invested in understand the concept that I'm trying to deliver with this proposal.
I understand and agree with all your suggestions. Along with them, the challenge is how to achieve an effective and massively promotion of the initiative.
I really believe that the key for this project and many others is collaboration. This idea works based on that concept and also the way to carry it out successfully passes for this same aspect.
Thank you so much again for your contribution.
Because for product development, the time from starting a project until scalable revenue is very long. Granted, even the sales part can sometimes takes months, even years. But the engineer's work starts much before the sales work begins.

Engineers who want a bigger piece of the eventual profits start companies.
How do you know which engineer(s) are responsible? Maybe Alice and Bob both worked on the product but Bob spent all day on HN and Alice did all the work. And what about Charlie who joined after feature completion but fixed a couple of major bugs and closed a security hole that would have bankrupted the company had it been left open?

It's just unwieldy compared to the salespeople case.
For Writing/debugging software definitely check out Codeanywhere.com. I am the founder so would love your feedback if you haven't tried it out yet. Thanks :)
How many Ubuntu Phones there are?
This talk is super relevant to anybody writing a traditional monolithic web app. Eventually bugs creep in and you learn that your initial assumptions about transactions are basically all wrong. I really enjoyed that the talk extended to micro-services -- it gave a lot of insight into what you take for granted in your monolithic architecture when you start breaking things down.

One tiny improvement I think could benefit the talk would be if the speaker commented about the usage of "SELECT FOR UPDATE" and maybe gap-locking.
To clarify: I have been looking for something along these lines because my company is looking to invest heavily into Clojure.
We come from a Java/JVM environment, and we are very happy with it, but we have to ship a "beacon" to appliances. This means: Java on the server, GWT or JavaScript on the browser, and perl/C on the beacon.
With Clojure / ClojureScript / ClojureGo we could have the same programmers moving between the three environments, and it would be a major win for us. Clojure might not be perfect, but we still would be able to write any critical code in the host language.
Our department was mandating 20% OT for the last 6 months. I switched to a new program and the management really would like about 10% OT (8%-12% band).

Oh we used to get some pay for OT, but they took that away.

6 hour workday - how do I get to 8 hours?

This is a Fortune 100 company.
My guess is that this was the result of an internal hackathon. Makes me think working at Netflix could be fun.
If the goal is to prospectively keep the peace, then the monitoring should be directed towards those most likely to break the peace. I think that is rather orthogonal to fair and equal protection.
India launches its first dedicated space observatory ASTROSTAT
Yeah, they've had other hackathons before with good results: http://thenextweb.com/apps/2015/03/10/a-netflix-hack-day-pro...
Yeah, maybe. I don't think they ever used it though. I think it was just the hacker / experimenter part of Reed that wanted to do it.
I'm really glad to hear this! I'd like to think that the community and inspectability argument for Julia is actually one of the strongest ones out there, but it's not easy convincing people who haven't had that experience.
They didn't create agile, but I'd say that their products are a large reason why agile methodology caught on in mid-to-large businesses.

Companies are hearing about agile, and then Atlassian offers a series of products that enable it, that work well together and are decently flexible. I've been through some companies that are just wall-to-wall Atlassian products.
Wow. That's amazing. Their ability to get people to want over-priced stuff is and often was amazing. I'll give them that.
You might want to start gently with a 48 week working year, that seems to work OK in Europe too.
Gatsby – Static Site Generator with React and Webpack
Well I did say "potential punitive measures" which I thought would make it obvious I meant legal punitive measures. Last time I checked holding a gun to a drug addict's head to achieve a change in that addict is not only illegal but highly unethical.

Pressure, as I took it, meant legal methods of affecting change. And even so, widespread violence against addict's and their families certainly didn't eradicate the problem for China. Today there are around 4-5 million drug users in China and yet that country has laws allowing for the death penalty for trafficking and very stringent use laws.

And certainly putting a gun to someone's head is definitely not a long term solution to addiction but rather a very cruel way of incentivizing treatment.
So Long, “Send-to-Kindle”
Speaking of which, do food APIs exist? I've often been tempted to make a generic pizza API that — by limiting options — will deliver a pizza to almost any address via Just-Eat or whatever is local to you.
The reason a lot of Norwegian doctors cling to their DOS interfaces is not because of age, or a resistance to upgrade.

I have discussed the topic of medical software with my father extensively, who is a M.D. in a rural town in Norway.

The reason is efficiency. As a doctor you are required to look up a lot of information on the patient, while maintaining a conversation with them. This is only really possible with a keyboard only interface. The older DOS systems does this, and the newer GUI based packages largely does not.
I'll be very interested to see how this turns out, it certainly can work.
When Rust Makes Sense, or The State of Typed Languages
Steve Jobs is simply not in the same class as Sorkin's the Social Network
I've come to the conclusion that more flexibility often leads to a race to the bottom. Like the "unlimited vacation" that's so popular now. Same with flexible hours, I'd guess. Anyone know how to combat that aspect of it?
Why I Fucking Hate Unicorns and the Culture They Breed
Top+10+Funniest+and+Most+Bizarre,+Frivolous+Lawsuits
That is the usual "what's easier - starting from scratch or updating existing codebase to newer python". Obviously starting from scratch is more fun, but finishing it to support full python will be a major task that will probably not happen.

PS. Jython also would be called transpiler in modern lingo
Android Global SearchBox
> Sola lingua bona mortua est...

It's hard for me not to understand this as "the only good language [ever?] has died".
Show HN: Free and Instant Ubuntu Linux Server on the Cloud for All Your Testing
Most motherboards still prioritize floppy drives when it comes to boot order. The early viruses were transmitted by floppies.

I also wouldn't trust a floppy controller's firmware any more than I would a CD or USB controller's firmware.
How about, "Could the U.S. Ever Adopt an Eight-Hour Workday?"

I'm not talking about including off-hour emailing and such. I'm talking about a plain old 9-5. I'm probably biased by living in SF, but I don't know anyone who works such short hours. Did salaried people ever get to do eight hour days like wage workers did?
Show HN: Go Tapper – A terminal clone of Don't Tap the White Tile, in Go
Wanted: Designers That Can Design and Code? Really?
Redneck Beer Hats Gloucester VA– Manta.com
What you describe is a classic example of the prisoner's dilemma. They will all be better of not hiring a salesperson, but if one does it all have to do it to keep status quo.

That said, the real world is not that simple.
wikitravel co-opted the community content, and started showing ads. Hence the community moved to the wikimedia foundation as wikivoyage.org.

Does not make sense to encourage this kind of behaviour.
I went to Japan a couple of years ago and one of the ATMs we used had an internal conveyor system of some kind, which resulted in it ejecting the card with the cash and receipt simultaneously from the same slot.
I've always wondered why those weren't more standard, it seemed much more efficient.
> pretty much unreadable

Could be worse: http://i1.wp.com/etc.ancient.eu/wp-content/uploads/2015/07/O...
Secret life of Japan
Good suggestion! Done.
I really enjoyed this article. Great job.
Gallup put out a poll a year ago, indicating around 37% of full-time salary workers put in exactly 40 hours. For full-time hourly workers, it's 56% by comparison. And 25% of full-time salary workers are at 60 hours or more.

http://www.gallup.com/poll/175286/hour-workweek-actually-lon...