skysight-inc/HackerNews huggingface dataset:
> The alternative could be `git stash -p`

No, because I don't run `git add -p` before committing (I would run `git commit --patch` for that). I run `git add -p` during the development cycle. To emulate this with `git stash` would require a very annoying dance with stash and rebase.

> newbies certainly struggle with it

Newbies don't even know about `git add -p`. Newbies struggle with git because commands are not orthogonal (as the article mentions), and because documentation sucks. There is nothing inherently difficult about the staging area, it's just that it's not very visible what object a command would use or affect (index/tree/working directory) and it's hard to learn this.

The problem is with the implementation, not with the model.

Another problem is that in most cases people don't really want git, they want svn with local commits and better merging capabilities. Git is very popular, for some reason people use it even if it's clearly not what they want or need. To these people I suggest they should use the DVCS features of Perforce.
I have made this transition in stages with the same company (office-based --> home-based but working closely with regional clients and teammates --> home-based and don't see anyone else much).
Motivation and discipline are still occasional issues. I am definitely inspired by working physically next to a colleague. For me, I find a morning routine is a critical component of a successful day (consistent wake-up time, consistent set of activities before working, etc.).
To feel like I am "part of something", I try to focus clearly on the business needs my work resolves. I work to maintain a perspective that shipping a batch of work will definitely lead to a particular experience for colleagues or users.
Show HN: A beautiful starter for your next project, based on Rails
Census: IBM admits it should have turned router off and on again
Cross-Language Compiler Benchmarking: Are We Fast Yet?
You can, but would you?
Having fun abusing the C language
> That would hurt the EU a lot and I bet they'd be more open for discussions after that.

Or they would just boot them out. Article 7 TFEU does exist.
I am decade old Java dev, but Elixir changed the way I design web apps.
You design the functional building blocks. So a non-halting program would likely use a single stack, and never grow. But more than that, you can use continuations to abort the moment the calculation is too large.
Moving from PHP to Rails in 08/09. First dabble with MVC and it really changed the game for me - and the gem ecosystem made things (at least feel...) a lot less hacky than taking random scripts from Google.
MIT Scheme, Common Lisp, SML, Haskell, Erlang.

Scheme - it's so concise, clean, Wow!

CL - LOOPing macros, SETF, OOP is just a bunch of slots and macros. Wow!

SML, Haskell - static typing done right. Wow!

Erlang - Wow!

Scala - concepts from SML + design choices from Erlang.

Java, JavaScript - Packers, packers everywhere...
Not in London.
Visit Aeronaut on a Saturday.
It would be cool if HN had kind of auto TLDR tool. The sentiment seems to be:

PHP, JAVA -> RAILS, PYTHON, JS

PERL (1998)

LISPS, ML family, SCALA, GO, RUST

EMACS

GITHUB
Joburg-New York, on the other hand is a real killer at 16+ hours with a stop for crew change in the Canaries. I've been on that flight several times when they run out of drinking water, toilets overflow,... it's horrible. Once flew it with a colleague who was a cigarette smoker - he suffered terribly!
Reminds me of this story http://www.npr.org/sections/thetwo-way/2016/09/15/494134464/...

You might say some people have a good heart, personally I think they are simply suckers and being taken advantage of is just a matter of time.
It's very strange because, if would have been a glitch that would cause the program to halt unexpectadly, the engines would have remained running. But from the data, it actually entered into "on the ground" state initiating its exploratory procedure.

But what kind of "on the ground" test condition could have made it to do that ?

The fact that it was "designed to decelerate the craft for 30 seconds until it was metres off the ground" but instead it ran only 3, raises many questions. Not to say that there are zillions of ways to actually test that you are on the ground or not..
Sure, I would have preferred a non-branching:

std::string pad = descriptive_name_here(path);

with the added bonus of being able to add "const" to that, for the benefit of the reader.

This is not relying on compiler implementation! Can you name one language that has strings that initialise to anything but a valid object containing an empty string?

This is not an obscure side-effect. This is like assuming "std::vector<int> v;" creates an empty vector, not a undefined-state vector container.

(I don't want someone coding C++ as if all objects are references. Coding in one language as if it were another is a well-known antipattern)
I don't have a suggestion, but I wanted to congratulate you on a wonderful idea, really nicely executed.
Interesting set of materials, and it's great to see these being more readily published and made available to anyone.

I was a bit disappointed with the depth of the introduction course's materials, though. Perhaps the other courses that are scheduled to be available soon will do a better job, but there doesn't appear to be a lot of substance within the available materials and the assignments don't require much thought (or even appear relevant - the question about mnemonic lists doesn't really address anything security related).

It could perhaps simply be because it's an introduction course, but I expected the introduction to cover basics such as password security, the confidentiality/integrity/availability model of aspects of a system that can be compromised, approaches for authenticating users (lattice access control, roles, differences between MAC and DAC etc) and other similar theory. Further courses can delve into the details of cryptography, common security vulnerabilities and such. Some of the linked materials are a bit more useful but I don't think I'd have personally taken this course if I only had the introduction to make a decision from.
Apple has restrictions on downloading executable code, which downloading a Lua script would likely fall afoul of.

It's also a potential security risk - the downloaded script could perform things other than logic and so would require sandboxing/whitelisting of commands.

Putting logic in JSON avoids both of these issues since the actual handling of the logic is performed by a client-side library.
They put that code in github, releasing it to non-chinese developers.

Won't it be good if code has at least some documentation in English ?
It's not that they don't want, they have some part in English.
Hence the quote, "I never let my schooling get in the way of my education."
> Before git there was also monotone, which was fast

Fast?

I played with OpenEmbedded (for OpenMoko) a while ago, which used monotone. From what I recall, it was slow. IIRC, slow enough that they had to use the trick of downloading a "pre-cloned" snapshot and updating it, instead of cloning from scratch.
Maybe, I don't know.

But, I lived in these conditions the past. One day I said to myself, I don't want this anymore, and quit.

What is preventing you to change your life for the better? :)
Discover weekly is hit and miss for me. Some weeks I find plenty of great material, and others I find a lot of junk - that being said I can understand it would be hard to match music you'd like all the time.
Cool, thanks. But there is no need for acknowledgements in open source community, don't you think.. Anyway, thanks for the post :)
You wastely overestimate the capabilities of the equipment we send into space. It is nowhere near powerful enough to power any meaningful deep learning system in an online fashion. Offline has either to high latency, or a problem getting data to seed the initial learning (and even then we have a problem actually running the network).
Rowhammer attack on Android
Except there's already a 'true'. When I see this I know that whoever wrote is completely incompetent (as in "does not know programming", not "is stupid").

It's clever, yes. The bad kind of clever that's also misguided.
Or maybe a successful landing was only a bonus and the whole thing can actually be viewed as a success because it will provide with tons of data and metrics for the engineers to poke at in the future, which will in turn make future missions more interesting and smooth.

No need to be cynical at all cost.
So in the future, what happens when no one owns a car and we're all dependent on summoning a self-driving car to get any real distance from home?

Will we have internet arguments about the rights of people to go where they like?

Will the arguments become as fine-grained as "Well, yes, if you want to go to the rally to protest the cuts in UBI, you really should expect that Uber will send one, but it's very difficult and expensive to build out the system for such peak demand events. And ultimately, that just cuts into the funds available for UBI. Why not just register your complaint on the website at https://myvote.ubifunding.gov? Or you can just click the button on facebook."

Followed by blog posts about what a "Sunday drive" was and comments reminiscing how readers used to take drives just to explore and lamenting that this is no longer practical.

I'm all against surrendering autonomy to machines and the corporations who own them.
It depends whether the rented ML is key to your product / startup. Alternative is running your own mini service with API based on open source software and public models or slightly modified models. Look at digits, deepdetect, bit fusion, etc..
Programmers make plenty.
So let's say we'd make a Black mirror episode about CRISPR. What could it be about? Biomachines making most of our stuff including houses? Designer babies that glow in the dark and can communicate telepathically? Both? 10 other things? Let's choose one. It's difficult enough to imagine the social impact of that. If we choose multiple such inventions in one swoop you would have to make a lot of assumptions that each would be enough content for a single episode. Then audience will no longer be able to use what they know about today's society because they don't know what assumptions the author has made.

edit: I realize I might be overselling a point that you're already agreeing on...
Are there going to be any jobs left? It seems like there are a lot of jobs that involve driving. This technology has the potential to displace a very large number of workers.
Clojure. Before learning Clojure, I didn't even have a career. I just wanted to get into software development.

But at the time, all I knew was a bit of Python. And while I could've learned Java, I figured that being yet another Java programmer in the marketplace, but with no experience and a liberal arts degree, was probably going to get me nowhere.

So I decided I had to learn something emerging. Something where there was nascent demand but not much supply. I chose Clojure because it looked weird, and all these bright people were talking about how great it is. I invested a couple of months learning it deeply, open-sourcing my side projects, and blogging about it. I also spent that time learning non-programming fundamentals.

When I felt I was ready, I started reaching out to people in the community and companies on "Who's Hiring" threads mentioning Clojure. Within a couple of months, I landed my first full-time programming gig at an investment bank.

I know that if it wasn't for Clojure, I wouldn't be here today.
Here's my current discover weekly playlist: http://imgur.com/a/6l5bN

The songs with a checkmark are the ones I've liked and added to my collection. I haven't finished listening to the playlist yet, but I like almost every song that it recommends.
The songs I didn't save aren't bad either and I've never had a recommended song which I totally disliked.

It's incredible how it can suggest songs of various genres and still hit my sweet spot.

So I don't agree with tfa.

I would love to be able to re-generate the playlist on demand and also suggest the 'direction' in which it should go - like 'mellower', 'harder', 'sweeter', etc.

But all in all, Spotify is doing a really great job.
Heathrow airport expansion gets government approval
Well, even in the small quote you mention, it has arguments on why it is a success. So they definitely not "just called it a success". They explained why they think that.
They should have used Haskell.
That's correct, we sell B2B enterprise stuff. I find myself changing the format from customer to customer, ending up spending too much time on this crucial process. I'd like to standardize the docs/info to adhere to the receivers' preferred format.

I agree that the content is everything.

You raise some good questions regarding competitors. From what I've seen they send out generic pdf's and a generic project timeline. I need to study them more closely. I'd like to one-up them by having something convenient, effective and visually appealing.
Facebook references all over this thread and literally the comment below yours is in regard to Standard Chartered :D
If you used to like finding new music through blogs, Hype machine does a pretty awesome job of taking the pain out of trawling for new stuff. They aggregate everything for you on their site so you just see and stream a playlist of music from all of the blogs you follow.
It seems no matter the problem there's always someone trying to blame IT.
> No software that I know of is engineered to the same level of precision as hardware.

Are you counting NASA-produced software? I'm not familiar with ESA's software pipeline but I imagine it's similar.
GitHub isn't just for English users
Growth comes from reinvestment of capital into the business. This makes sense from a shareholder perspective when the risk-adjusted return on this invested capital outweighs the returns capital could get elsewhere (other stocks).

Some companies will actually stop growing and start paying dividends/sharebuybacks for this reason.
I maintain a small list of places friends should visit when they are in Boston. Algiers was on that list. The Curious George Store and Out of Town News are on that list, but they'll soon be gone too. My recommended Harvard Square places are now Club Passim, Harvard Book Store, and Grolier Poetry Bookshop. It's a bummer.
It's not just the hassle of charging overnight but also the fire risk; charging Lithium batteries a metre from my head whilst I sleep is not an attractive idea.

Hence I charge phones and laptops during the day and only when someone is around to supervise.
Don't most landers have a mechanical probe extending down from the landing gear to indicate contact with ground? I wonder if this lander was so equipped?

Unless they used a ground proximity radar which sent back false pings due to overheating caused by the too early discarded heat shield?

I'll wait for the final crash analysis and report, but I trust that the lessons learned here will significantly improve the chances of future missions, if at least by adding some more redundancies into the mix.
The article cited 1.5 million jobs in the US trucking industry. That number seems low.

edit;
That number seems hard to define.
Of the 7.1 million people employed throughout the economy in jobs related to trucking activity, 3.4 million were
truck drivers in 2014. There are over 10 million CDL (Commercial Driver’s License) holders in the U.S., but
most are
not current drivers and not all are truck drivers. There are between 2.5 million and 3 million trucks on the road
today that require a driver to have some sort of CDL. Of those trucks, 1.
6
million are tractor
-
trailers. Of those
tractor
-
trailers, n
o more than 800,000 are used in OTR (i.e., non
-
local) operations.

Source [http://www.trucking.org/ATA%20Docs/News%20and%20Information/...]
Page 4, footnote 6
One interesting thing here is the savings, even though there's a driver.

They say "more frequent schedules" . How ?
I don't know what my reaction will be to a fully autonomous self-driving truck at a 4-way stop when we arrive at the same time. You have to decide who goes next.

I usually wave the other guy through if they appear to be in a hurry. Now, there is no other guy. Will the truck sit there and ignore me waving? And finally do the start-stop dance when I try to go?

(Or roll it's headlight eyes and mutter "humans..." when I do a rolling stop and flip it off?)
Microsoft Visual Source Safe

Maybe Perforce or something, but recommending VSS in 2016? Hope it works out for you!

http://www.highprogrammer.com/alan/windev/sourcesafe.html
Standards change. Don't they?
Computing Needs Time [1], which focuses on the handling of time, is a nice read on this topic from the software point of view.

[1] http://digitalassets.lib.berkeley.edu/techreports/ucb/text/E...
The algorithms/hardware are hardly proprietary.
It's the Kerbal way - when your rescue mission for a rescue mission for a rescue mission fails, and you now have 10 astronauts stranded on the Mün, just call it "establishing a colony" and be done with it.
Yes, Twitter should become a non-profit. They just were spitballing around, then the users came and made them what they are today. All their good ideas, besides starting a micro-blogging platform, came from outside the company.

And how did they thank them? Cutting of 3rd party clients and shadowbanning users?
Well there's NAT and dynamic addresses.
Two thoughts on this:

(1) We have a similar sort of "expression language" at my job; in our case, the value it provides is ready access to the pseudo-AST we parse it into. We transform that AST at runtime (along with subexpression results) into a human-friendly error message like "Total Amount must be less than $X when Blah Mumble is under Y". The downside is that that "configuration" data now behaves more like code but doesn't have any of the tooling of the host language: we've had to add specific code to provide a stacktrace-equivalent hint about where expression evaluation failed.

(2) The bummer design decision in JsonLogic, IMO, is the leakage of the JS equality operator into what could have been a language-agnostic description. That's going to be nasty to implement elsewhere.
How to Create a Stronger Relationship with Your Customers
TRust-DNS: A Rust based DNS server
Torrent Hunter – an extension that handles your torrent hunting needs
As i said in my post, i don't mind having upwork's program send 6 screenshots an hour from my work machine while i'm working, because it keeps me from being hassled by nontechnical clients who're otherwise fine people to work with.

So i guess the only thing keeping me from making things even better than they already are is finding technical clients with Perl work that pay on the level of ~100$/h.
No post on traffic is complete without a reference to the original "traffic hobbyist": http://trafficwaves.org/ from Jan 1998.
Totally understood. There is something pretty cool about having an object that you bought integrated into a national museum's collection though, knowing that it'll be preserved and exhibited and quite possibly outlive you. Imagine kids 150 years from now peering at your iPod and going "ooh, weren't people funny back before the brain slugs took over!" I wish I had something neat enough to donate :)
Lots of people were put out of work when the loom was invented. We've gone through this before many times in human history
@csete
@ibelings

My handle is @madengr
a variation on this: http://www.linfo.org/csma_cd.html ? Just without actual collisions...
Thank you! My thoughts exactly - glad to see someone else with the same sentiment
If I were a truck driver, I would be very worried about this tech, and be thinking how I can get some other skill...
Sure, nothing ever stays the same, but I think that for the foreseeable future, we can reasonably expect English to stay the universal language of software development. It's the default foreign language people learn in their home countries for a lot of reasons, so a lot of people who want to get into the field already have at least a basic understanding of English. This aids them in learning and communication with other developers, and it's just too convenient to be displaced any time soon.
If it had been spilled - no damage!
that awesome
What are you implying? What should they have used?
Once you don't need the driver you don't have to worry about sleeping - the truck can drive 24/7 without breaks
Not sure about US laws but in Europe there's mendatory rest periods for drivers. Drive n hours, sleep/rest m hours where m is relatively large. For an autonomous vehicle that time is reduced to zero (I'd assume)
Can't speak much for the project, but have to admire them for sticking with Mandarin.

India is atleast a 100-200 years away from something of this kind happening; or more likely never at all.

Indeed, there is not a single research university worth its name that isn't also essentially an export hub of brains to the 5-eyes (& Singapore).

English is crucial for India's system of feudal slavery to work.
Maybe the mandatory resting periods for drivers will be less strict when they're driving a self-driving truck.
How did it get unloaded?

How did the returns (kegs etc) get back into the truck and spoils too?

Who unloaded back at the distributor?
It's one of the chief causes of the country's economic success. I don't have time to look up the references now. You're right about the recent rise in minimum wage though.
How long have you been using the Discover Weekly function? After almost a year, I find my current discover weekly playlist looks very similar to yours. I have a similarly large number of check marks against songs in the list, but not because I've recently added them. Or recently discovered them.

I've since switched to the Daily Mixes, which also seem to have the same stuff most days, and then Release Radar, which finally now gives me something fresh.

So +1 for Release Radar, but everywhere else I feel is lacking, and ultimately, I do agree with tfa.
Not sure why you're being downvoted. The transition to "digital rails" will surely be gradual, but it will come.
App Store Optimization Tips
Show HN: Serverless 2-player 2048 Game Using WebRTC with Annotated Source
Yes, but there are also the taxis and local delivery using trucks and cars. Are my children going to ever need to learn how to drive?
Does it support ipv6?
Do you think that's any more likely than the constructor of std::string changing?
> It manages to be everything and nothing at the same time

True.

To me it is mostly a pre-filtered news website. I follow people who talk about stuff that I'm currently intersted in.

But it seems many people using it diffrently.

Some people use it to update their customers. Some to force their political agenda onto the world.
Is there a workaround for Android?
> AB InBev said it could save $50 million a year in the U.S. if the beverage giant could deploy autonomous trucks across its distribution network.

Sweet words for AB InBev shareholders, not so sweet for the obsoleted truckers though.

Obviously this technology is inevitable, but I think that the authors of such technologies should also come up with political proposals on what to do with the displaced people.

Politicians should start acting now and figure out how to respond to these changes. And that should be done on a global scale, because technology is very fast to spread across borders.