skysight-inc/HackerNews huggingface dataset:
Can we start by agreeing on whether or not we care about a nuclear reactor going "pop" on mars pre-colonisation?

Because, you know, there's a chunk of me that thinks we can be less risk averse in trying to do things on an uninhabited planet. Nuclear meltdown is pretty awful on earth, on Mars I don't see it with the same fear.

I also feel like this is not dissimilar from dumping rubbish in the neighbours yard because who cares it's not mine but on a planetary scale. Which seems bad but I want to rationalise it away and say "but this is different".
Is it possible to have a syntax extension (or even macro?) that creates identifiers that wouldn't be legal in plain source code?
I don't think they're mutually exclusive.

When level 5 self-driving is available, it won't be too difficult to add a wheel back and have modes where the self-driving capability maintains safety for other drivers on the road, but allows the driver to assume some risk for their own car and personal safety.

Different modes could allow the driver to accept different levels of risk to themselves and of their car, while still providing automatic protection and avoidance of other drivers on the road. Probably some more... extreme... modes could require posting a bond with the insurance company or government to cover personal injury.

If someone doesn't mind risking their car (collision insurance would no longer apply in these modes), and can pay for any injuries they sustain, as long as they aren't risking other people's health and safety, the computer could let them drive how they want, within certain risk limits.

I'm not so sure people will bother, though. Once car-to-car transponders are mandatory, creating an intelligent grid of vehicle awareness, what fun is it to zoom around other cars as if they're stationary if they know you're coming?

I don't believe people want the actual risk associated with aggressive driving. They just want to beat other drivers. Computer games should take up most of the slack. Even really simple games like Race The Sun offer plenty of adrenaline and reflex development with no actual risk. If you want actual (substantial) risk, go rock climb above your ability, or skydive without a reserve chute.
GOD WORKS IN MYSTERIOUS WAYS
Ha, reading that thread and this game reminds me of a temp job I once had.

It was at a sandpaper factory that made sandpaper belts.

My job was to pull a sheet from a roll until it hit a mark. Another guy pressed a button. Lift sheet onto pile. Pull sheet until it hits mark. Another guy pressed a button. Lift sheet onto pile. Pull sheet until it hits mark. Another guy pressed a button. Lift sheet onto pile. Pull sheet until it hits mark. Another guy pressed a button. Lift sheet onto pile. Pull sheet until it hits mark. Another guy pressed a button. Lift sheet onto pile.

For 8 hours straight.

I quit at lunch.
If you guys don't have the original Game Boy Camera and would like to try, I wrote an iPhone app a while ago to get a similar effect. Sorry for the shameless plug :P

https://itunes.apple.com/us/app/pixl8r/id981531620
Deadlifting heavy loads improve hypertrophy and muscle; this definitely helps. People seem to understand that. But those reading this may also be swayed by the fact that properly performed deadlifts (and squats) increase proprioception around the back and also stimulate osteoblasts and bone growth, while killing - over time - anterior pelvic tilt, which contributes to low back pain.

It's more than just muscle. Deadlifts really do a hell of a lot for the body. (They also stimulate growth hormone!)
TOP 5 PREDICTIONS ABOUT THE FUTURE OF ARTIFICIAL INTELLIGENCE IN E-COMMERCE
Genuine question: If it's possible to use mini nuclear reactors in satellites then why they just can't land that thing somehow on Mars (like they did with Curiosity) and use it on planet surface to power lab?
Is "Breakout" still a forbidden word due to trademarking?
>I'm very surprised that Amazon and Ebay aren't hosting all their own product images.

They do. Amazon has it's own CDN. I guess users can link to third party images in the product content but the main images are hosted on Amazon CDN via AWS.
>If safe Rust code does not invoke any of the UB corners of LLVM then Rust can claim to be free from UB.

Sure and I believe that adding a conditional qualification such as "if one does not invoke UB of LLVM" restates my point: one can't make a universal statement that "safe Rust has zero undefined behavior."

E.g., as of this writing, the following "safe Rust" UB issue (3+ years ago) last had comments 21 days ago and I believe it's still open:

https://github.com/rust-lang/rust/issues/10184
> Loops that Neither Perform I/O nor Terminate

> Summary: This UB is probably not a problem in practice (even if it is moderately displeasing to some of us).

Since LLVM is mostly based around C/C++ semantics this actually turned out to be a problem for rust, because rust can encode diverging functions in its type system and assume certain code sections to be unreachable. If the compiler then optimizes out code and the unreachable (thus not-compiled) section is reached things explode.

https://github.com/rust-lang/rust/issues/28728
I'm reminded of a former co-worker that said he could write down the reasons why he'd eventually leave a job after two months, even if he stayed for years longer. Not always true and sometimes change is forced on us, but a useful insight.

Moving has a cost, in time and effort, and a risk. You can look at the benefits of the new job (and likely downsides!), and weigh them against the current one plus the cost of searching and moving.
Let your boat of life be light, packed with only what you need - a homely home and simple pleasures, one or two friends, worth the name, someone to love and someone to love you, a cat, a dog, and a pipe or two, enough to eat and enough to wear, and a little more than enough to drink; for thirst is a dangerous thing.

Jerome K. Jerome, Three Men in a Boat
Well as far as I can tell, "Barne's Dance" is a basically a term created as a pun on the guy's name and the existing type of dance.
Just some thoughts: putting the full message in the discussion tree means that people will tend to write shorter / comment-like messages, and not in-depth argumentations.

On the other end, having only a tree of authors is a bit to slim, cause you have to read the content of each message to know what's going on. I think people who reply to a thread should give it a "reply title". You know it's the same thread, but you can have an idea of the content with the reply title.
This reminds me of the old saying "if you don't have time to do it now what makes you think you'll ever have the time to do it later?"
The question is: can Excel 97 do that with its extension language.
This here is one of the reasons why I think manual cars will never go away, or at least they won't be banned outright - new cars will have enough systems to stop you from crashing in almost every situation, while allowing you to "drive" - so why ban it?
June 2017 Income Report
Switzerland and Zurich is cheaper than you think, here my two-year-old blog post about living costs here: https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...

From a employer's perspective there are advantages in Switzerland compared to the rest of Europe: Labour laws are not as strict, so it is possible to fire people (unlike in Germany or France where employees are like your children, you can't get rid of them). Although salaries are high, in Switzerland you pay 20% on top of the salary of the employee to the state, in Germany like 40%.
Is Techcrunch reputable enough for you guys?

https://techcrunch.com/2010/04/19/steve-jobs-android-porn/

We do believe we have a moral responsibility to keep porn off the iPhone. Folks who want porn can buy an Android phone.

You know, there’s a porn store for Android. You can download nothing but porn. You can download porn, your kids can download porn. That’s a place we don’t want to go – so we’re not going to go there.
It changes what you try to do, but Switzerland and Germany isn't all that different from Silicon Valley and the US.

You use premium resources in Switzerland and try to sell German (or EU) resources back upon lower markets at a high enough volume and mark up to make the high market costs incidental.
Kind of off topic, but. Is running automation as complicated as this? I recently wanted to log in to a website, click some page and download a .csv file. I saw that chrome can be run headless, nice.

So I opened it headless and there's this REPL, nice I can do JS directly into the website. Now how do I automate this.

This leads me into all sorts of things that doesn't seem related at all (I is, but still). Selenium stuff, automation setups, drivers, language bindings, chrome-api-stuff and no end in sight.

All I want is something like "chrome -headless -js script-flow.file http://URL"

Am I to overwhelmed or is there no simple way without buttloads of 3rd party tools and setups required?
I definitely is a good start, with precondition on stopping deforestation.

But trees won't give negative carbon emissions unless industry cuts emissions dramatically. And also, the other problem with trees is you might have to convert farmlands back to forest, what happens to the food production then?
The hardest part about where you are and where you want to be is the getting there from here.

This is some good practical advice (and a welcome improvement) from Mozilla.

I'm also reminded of an email I sent out to a technical mailing list some time back, in response to a user's question about suppressing warning messages when running his program (this for a runtime-based interpreter).

Various suggestions came for how to limit, suppress, or remove warnings from the log.

My response, which apparently earned some favourable consideration at the vendor:

"Fix the bugs in your code."
CollectNode: Free tool for sysadmins and devops people
Not yet - but people seem to confuse legislators and corporations more and more frequently...
Not symbolic arithmetic though, and the answer is not precise.

If people are going to argue that inanimate objects perform arithmetic, they will need to define arithmetic. Digital or analog calculators do it symbolically, subject to interpretation of the symbols by a human.

If a human is using a calculator or an abacus or blackboard to perform arithmetic, would we also say that the abacus or blackboard performs arithmetic? (Great, now we have to define "performs")
Focused mainly in massive commands execution at Unix/Linux, generating a report that can be filter.
To have a look how does it work check this video:
https://collectnode.com/documentation/collectnode/?section=u...

I hope it is useful, and please don't hesitate to comment anything about the tool, good or bad is always welcome.
thanks!
Seeking API developers to complete survey
Hi all,

I am soliciting answers to the 2017 Hubrix API Developers’ Survey. We are creating open source APIs, but in order to spend our time wisely and build APIs that will truly help you to deliver apps faster, we need your input. We will be releasing the survey results as Open Data, so all will benefit (you can opt in to be notified of the survey results in the survey form itself).

If you design, build, consume or are involved in any way with REST or GraphQL APIs, then you are the kind of person we hope will complete the survey.

The Survey has 30-35 questions and takes 5-6 minutes to complete, depending on how quick you are.

I’d also appreciate it if you could share the survey link with your API-building or API-consuming developer/devops friends & colleagues.

The survey will close 31 July 2017. We will post the results ASAP in early August.

If you have any questions, suggestions for improvements, or questions you think should be included in future surveys, please send them my way.

Survey (on TypeForm): https://hbr.li/surv2017

Thank you.

Daniel from Hubrix.

P.S. I am trying to collect data of general interest to (a specific subset of) the hacker community. I do this with humility, good will and love in my heart. But I’m a noob on HN. If I’ve overstepped in any way, please let me know and I will delete / take down this post ASAP, or otherwise do as instructed by someone with admin/oversight.
The power of the other companies would not be their patents or such related to production, its their ability to produce in any number they choose to do so. Hell GM proved they could pivot/etc with speed when they delivered a well developed and beat expectations "affordable" two hundred mile range EV before Tesla.

While its cool Tesla has entered "production" with the model 3 I haven't seen one story on what the actual production line looks like. How many people are hired for it and trained? Did they get all the equipment in, installed, and certified? Surely these can be found out.

I hope this is not like the X launch where some insiders made jokes about the paint being practically wet in regards to how close they cut it getting just the stage vehicles delivered.

the big concerns going forward are obviously cannibalization of the S sales and the fact these cars will be in the hands of people who won't be as accepting of issues as the early adopters have been. its easy to dismiss issues with your third, fourth, or fifth family vehicle. However some of the 3 buyers will be likely pushing their finances and this will be their only or second.
Clink or Hoosegow?
Chinese malware Fireball infected 250M computers worldwide
Propaganda is just as pervasive in the west as it is in the the various totalitarian regimes around the world where we see the more overt and sometimes comical (from our perspective) types of propaganda.

It's just a lot more subtle here.
The opposite thinking is what lead to the EU cookie warnings.

Users can easily block cookies themselves, but that is no excuse for the cookie intrusion, so every single website must display a pop-up warning that it uses cookies.

Imagine that: every single website you visit shows a pop-over or an extra top bar that you have to close. Every website.

That's the online life of the European netizen.
Isn't a computer an essentially analogue operation of transistors restricted to a subset of it's states?
We are attempting to use it to enable P2P trade of electricity, without fiat money exchanged at the energy trade level although fiat money should can be exchanged at the coin level.
If anything I'm angry at BBC reporting this as "ransom demand".

How can a firm rely on a free service without a contract guaranteeing anything?
I wouldn't be angry about not letting people do the thing, but after letting people do the thing for over a decade, they could have been a lot more graceful about changing their mind.

Like, I don't really blame them for not sticking with a clearly nonviable free tier, but taking the easy way out at the expense of fucking over your (free, sure) users is still sorta rude.

idk if people "should" know better, it's a pretty dreadful world where you're to completely understand the business model behind every service you rely on to some extent, or else it's really your own fault when they pull the rug from under you with like five minutes of very non-specific notice.

Society just couldn't operate if everybody actually read the entirety of the terms of all the services they use. We'd get nothing done.
Singapore’s train displays have serious design issues. Here’s what we can learn
Ask HN: How do you name your files?
I have a big amount of files on my hard disk. As i've got myself a NAS now, i want to have a good order for all the folder and files.

But how should i name this and that and which main folders should i create?

There are so much questions to ask. Which main folders should i create? (Documents, Media, Courses, Work, ..) And how should i name books (PDFs)? (Author - Name.pdf, Name.pdf, ..)

You would help me very much if you could provide me with an article or your own workflow on tidiness of your data.
>Or is the signal processing being performed "directly", through the essentially analogue operation of the neurons?

You almost described a transistor. :)

The physical world, at our scale in inherently analogue.

(Might be digital at a quantum level, but we don't know that yet.)
This is crazy. Might be time to revist "chaffing" and see if it's possible to warp that into working as vpn and/or tls/ssl wrapper/replacement? (Or of course, due the usual thing and work politically to get crazy legislation off the books....).

https://people.csail.mit.edu/rivest/Chaffing.txt
Impossibly Hungry Judges
High-precision control of printed electronics
I strongly suspect that this article got its upvotes because many people on HN feel it is an important topic to discuss, not because the quality of the article itself is that great.
Junk food and cigarettes (and "modern" lifestyle) is not all though.
This is equivalent to looking for the exit when the ceiling has already collapsed.
My source is a comment to that effect on the JPMS/Jigsaw mailing lists, from Mark Reinhold. I don't have the link off hand unfortunately and pipermail is from the dark ages so searching for it again would take time.

I think the Oracle guys were aware of how much would break when they blocked access to internal APIs, but felt the costs were worth it and/or that people would adjust their code during the Java 9 development cycle so the breakage would be less by the end.

Another cited reason was simply getting to the point of shipping something. Java 9 is already quite late. I can see why they'd punt features to future releases to try and ship what they have.
Yes, when your project is just a single functional layer --
e.g react -- you can then subdivide your code along feature lines. But the entire codebase will include server side code, DB code, and lots of other code that cuts across functional areas and for which you are going to have a hard time organizing it according to features.

Do you put bits of the DB schema definition files/SQL code in there as well? Back end server code? What if it's a completely different team working on that code? What happens when you decide you want a permissions engine or data access layer and need to couple your UI logic to those layers? When you add a replication engine to synch state across different instances, or a dedicated code handling session management, etc.

Over time, the code is going to reflect team structure and functional roles rather than features, and you can really organize by features only when there is one functional area -- e.g. a react app.
Do both and reference the ticket in the comment (something like "// TODO: deal properly with NULLs here, see Jira://PRJ-123" with the ticket going into as much extra detail as it relevant).

That way someone looking at the code can see that it is not in its intended final form rather than having to intuit the fact from other clues or knowing every ticket in the work list. Particularly useful if trying to find/diagnose a bug that may be caused/worsened/highlighted by the code in question. Also works in reverse: of the ticket doesn't give accurate location information for the related code you can search for the ticket ID and find where you should start looking from the comments.
In fact no we didn't do any kind of benchmark. It's an assumption made of feedback from other users. As we knew we wanted to switch to headless Chrome anyway, we didn't investigate more into this part.
15 previsões feitas por Bill Gates há quase 20 anos que se tornaram reais
Celine Dion Poses Completely Naked for 'Vogue'
>a conditional qualification such as "if one does not invoke UB of LLVM"

A conditional qualification which is intended to be unconditionally true of safe Rust code, outside bugs in the compiler. The universal statement is totally possible, because your conditional is equivalent to saying "if you write valid code".
A quick rundown of the best SDK’s available for Indoor Navigation Systems
Indeed, some features are not supported yet (setting size, alerts, ...). We're lucky not to use too many of them in our actual test suite!
I don't think these people are a big segment of the market. When you drop from 100k to 35k you are opening the doors for a whole bigger market.
Complete n00b question -- this is very, very far outside my domain -- but by using much more of a chip in parallel, does this present any challenging thermal implications?
It doesn't matter if the language defines the behaviour of, say, offsetting an array beyond its declared bounds. That doesn't change the general undecidability of statically proving the offset will always be within the bounds at compile-time - in other words, you need runtime checks in some cases (it's just a matter of whether the compiler or the programmer supplies them).
Regarding the hunger problem - is increasing calorie consumption a viable option? A physically active male with significant muscle mass can fairly reasonably find himself needing about 3000 kcal a day without having to be a pro athlete. Would becoming much more active and gaining lean mass help, or would the amount of food needed to feel sated just increase?
SDK for indoor navigation provides a programming interface, plugins and other aids that will allow the programmers to map and create an indoor navigation system
Your pov is understandable but i treat it differently.

They are essentially comments that explain missing functionality. You shouldn't add future features or random ideas but obvious missing functionality or workarounds that happen at this place.

i also prefer to leave my name b/c blame never works as it should. it's not the name of the person doing the todo but writing it

// todo(andreasklinger): feel free to remove this when the normalization api
// workaround (see fileX.js) is no longer needed

Related: https://dev.to/andreasklinger/comments-explain-why-not-what-...
Using Jenkins CI for UI Testing. Will Selenium Do?
The article is focused on the "now" part of the equation instead of the future. "Now" quite a lot of places in Europe and US rely on renewable sources for production lowering their "total carbon output".

This might be resolved as things go forward. That said article is kind of clickbait. The actual point is hidden towards the end - "both the manufacturing of the batteries and the operation of the vehicle produce more pollution than they would elsewhere."

That said recycling figures, though they are for steel and not batteries are concerning. Its "renewable" only if it can be reused.
Counting Bloom Filter in C++
That's my point actually. You can't predict that, like you could predict the sudden demise of Diesel only 3 years ago.

3 years ago you could probably have done exactly the same reasoning with electric cars (eg: London 0-emission goal are for 2050). And I mean, if my country decided to go full electric in 10 years, I have no idea how I could own a car, unless charging speed, or street infrastructure, or millage vastly improved. Nothing of that has a clear 10 years roadmap. Yet here we are.
Before you switched back, did you also realize that c) you're also not really required to do most of your "real work"?
Humans only have one in their genome. You get one from each of your parents. So everyone has two copies of p53. You can afford to lose exactly one of those copies, but once you lose the second...
Good quote from the article:

> Mel Greaves, a cancer biologist at the Institute for Cancer Research in London, agrees that TP53 cannot be the only explanation. “As large animals get bigger, they become more and more sluggish,” he notes, thereby slowing their metabolism and the pace at which their cells divide. And protective mechanisms can only do so much to stop cancer, he adds. “What would happen if elephants smoked and had a bad diet,” he says. “Would they really be protected from cancer? I doubt it.”
The Information Commissioner, the Royal Free, and What We’ve Learned
Always learn the shortcuts