skysight-inc/HackerNews huggingface dataset:
Does anybody else use several editors all the time? I use Emacs, Vim, Eclipse, Atom, and Intellij. I don't stick to one.

I wish I could stick to one editor but there is always some editor that does a way better job at a particular task. Each editor has its killer feature. I have tried turning emulation of emacs/vim on many editors to provide consistency and its never been really good. Thus I have several "default" keybindings in my head.

Because of this I try not to rely on too much magic or customization that any editor provides and instead write lots of shell scripts (Bash, Groovy and Python) to do code generation and to find things.

But I'm always wondering ... could I be more efficient by sticking to one.

VSCode will probably just become another editor I have lying around. Probably for Typescript.
I'm not sure that addresses the question; likely I'm missing something. Why does it need to send the user's entire codebase over? If it's a question of needing to analyze a given source file to infer types so query results are relevant, then why not do that inference work client side and ship back just the type information to the server where the query is run?

Even if that is a step too far, you could strip out string literals (e.g. API keys), and obfuscate variable, method, type, and file names while retaining a map on the client side so results line up.
A competent specialist will be able to help that guy. rm -rf / is easily fixable if you won't mess around after it. Backups usually have recognizable format, so it's possible to restore backups and then everything from backups.
http://humanstxt.org/
I made a list of some interesting humans.txt files a while back: http://www.andjosh.com/2015/12/17/cool-humanstxt-files/
> I feel like if you use `rm -rf` particularly `--force` with privileges, it shouldn't be the job of Unix to stop you.

I agree, that's what's so good Unix and GNU-Linux the freedom of root to do anything even major mistakes.
For example the Git integration is awesome and even better than Atom's (you can commit, push, ...).

Of course you can do a lot with extensions, but at least in Atom's case they break a lot for me.
There are a variety of anti-Citizens-United positions, but the strongest (and most problematic) one is that corporations are not people, and the Bill of Rights secures rights only to people, therefore the First Amendment is inapplicable to corporations. That would, at the very least, require a revision in important precedents like New York Times Co. v. Sullivan [1], which assume that the First Amendment is applicable to corporations' publishing activities.

[1] https://en.wikipedia.org/wiki/New_York_Times_Co._v._Sullivan
the central idea of the video isn't really supported by anything.

You missed the point of the video.

Thinking of encryption as a 'lock' is only a metaphor, it isn't actually a 'lock'.

There aren't 2 sides to this 'debate.' There is no debate here.

Something is either encrypted or it isn't. There is no in between.

If you want to take an opposing side in a debate, you would have to say something like "encryption is a bad idea and shouldn't be allowed to exist, we must wipe it from the face of the earth."

Yeah... good luck with that.

Not only would attempting such a task be futile and foolhardy, but the vast majority of political will would be aligned against attempting such an idea since so much of the modern world rests upon encryption.

in the rest of our legal system. Nothing there is 100% accurate.

Our legal system doesn't rest on the absolutes of mathematical thinking in the way that encryption does.

2+2 = 4 is '100% accurate'
After a scare like that I'll bet she never makes that mistake again and makes sure to triple check for typos in dangerous commands.
He destroyed his company not with one line. He destroyed his company with extremely wrong setup. That one line just nailed it.
The lower paying get jobs will have to start paying more.

If, all of a sudden I don't need your $4 per hour job, I quit. If everyone else also doesn't need it they quit.

Then you as an employer need to pay more to get people to work for you, or use self driving mopeds to deliver the pizzas.
I don't think it's realistic for friendly C to replace the current C outright. At best I guess one would get -std=friendly or -Ofriendly or such. And HPC users could continue using tbaa, loose fp semantics etc. as before.
Redox: A Rust based microkernel
We tend to think of the human species landing on the moon as an isolated species achievement.

The human view of our future is usually of us colonizing space independently, not of us wanting to spread earthly life forms across the universe.
Your comment is illustrative of a lack of awareness of context. You don't specify the context, but it seems like you're stuck in this academic/language theory mindset. From that standpoint, I rather like generics. It's clear to see how they can enable DRY if used judiciously. (Clear from even a freshman CS undergrad perspective.)

However, as a professional who gets paid to wrangle C++, I find the "Tragedy of the Commons" that results from every bright-eyed recent grad wanting to leave their mark on a system...tiresome. I recently fixed a bug caused by a small find-replace mistake, where a static_cast<int> was left out, resulting in an int() operator being generated by a confluence of preprocessor macros, inlined functions, and composed templates, where the call breaking in the stack trace was expressed nowhere in the code-base. It's one thing to DRY, but taking it one step too far to "Don't State Yourself In The First Place" is way too implicit. Abstractions have a cost, and sometimes the cost is epiphenomenal and gets paid years afterwards.

An argument from ignorance isn't much of an argument.

The decision of the Go team to not include generics is conservative and pragmatic. The context they consider is across an entire language community, and their decision is informed by observations made on code-bases at Google and elsewhere. How many 500k+ line code bases that have been around more than a decade have you worked on? I'm on something like my 4th. My conclusion from that is that we programmers as a group are mostly too anxious to be "clever" and biased towards doing too much when they evaluate the cost-benefit of "clever."

Do you have good data/experience on the epiphenomenal harm done by many, many "clever" programmers over years?
The Tumblr choose your own adventure is amazing.
US Coal Giant Peabody Energy Files for Bankruptcy
The rise of autism: Spectrum shift
As part of my PhD research, I developed a shell scripting language (shill-lang.org, previously on hn: https://news.ycombinator.com/item?id=9328277) with features that provide safety belts against this sort of error. From speaking to administrators and developers, we believe these types of errors cause take much more worry and time than they are worth.

Now that I'm graduating, we've started the process of refining Shill into a product that we can offer to administrators and developers to make their lives simpler. If this sounds like a tool you wish you had (or if you wish a similar tool existed for your platform of choice), we'd love to hear from you.
Yes, you can using `ssh -X` (except for the "in a terminal" part)
Vim – Visual Studio Marketplace
It's nice to see when two big corporations compete over each other over who fights harder for the civil liberties of it's users. You one-up those Apple bastards, MS!
I'm a long time vim user who's switched mostly to Atom(at least for bigger projects, vim is still my "quick fix" editor). Last time I tried VS Code(6ish months ago?), I liked it all right, but stuck with Atom because at the time the availability of vim like bindings was weak and ruby support was lacking.
Not to mention more restrictions to come via the various secret international trade pacts being made.

People must understabd this, to disagree is to be disingenuous on the face of mountains of evidence. The American people have zero say on policy, the laws the government wants the government will get, it may take a few more years but it will happen.

The system cannot be reformed, it's very core is corrupt, those who disagree are for the status quo of the police state and they are our enemy and the enemy of justice.
Another lesson to be learned is that it's exceptionally bad practice to use Ansible to push out shell scripts that can be handled by native Ansible modules: http://docs.ansible.com/ansible/file_module.html
> editing a file that's a few hundred megabytes big? As long as that's not possible it's not even a contest ;)

I usually try to keep my source files and config files smaller than a few hundred megabytes. Sounds like you might need more specialized tools for your unusual approach to editing source code.
Thanks, added Eastern Orthodox, Oriental Orthodox, Anglican, and Restorationism & Nontrinitarianism.
And when you died, the machines would still exist.
Any word on linux-musl builds so that you can use official rust builds on alpine or void linux? Same question for FreeBSD builds.
i do hiring. limit it to 15 minutes.
Yep. That's exactly what I was thinking about. Rust just keeps getting better and better.
dogs,cats:
don't pretend to be human

robots:
don't pretend to be human

google(self):
do pretend to be human
I'm not a Scala developer, and I don't think I'd ever heard of HOCON. Has it seen much adoption outside the Scala community?
Plants force fungal partners to behave fairly
On an etymological side note, I love the origin of the word ginormous:

ginormous |jiˈnôrməs, jī-|
adjective informal, humorous
extremely large; enormous:

ORIGIN 1940s (originally military slang): blend of gigantic and enormous .
It's a conversation about go, isn't being smug and/or incorrect fundamental to participating?
Now hypothetically, what if you divide the "government key" in half. Give half of that key to the vendor controlling the encryption and half to the legal system. As long as you don't restrict the company from speaking out about its cooperation, that would seeming prevent abuse as well as minimize damage if one key leaked.
I hadn't considered DH, but if this bill would be used as basis for a court order to decrypt data obtained via a wiretap, then yes, it would be problematic for PFS cryptosystems. :(
You're not alone: https://visualstudio.uservoice.com/forums/293070-visual-stud...
Financial technology: Much hangs on mobile money
http://humanstxt.org/humans.txt
The CIA Is Investing in Firms That Mine Your Tweets and Instagram Photos
Not sure how accurate this, alternatively it might need different assumptions - What about: NYTimes, WSJ, GitHub, BBC, ArsTechnica, Medium etc?
Building highly detailed maps for robotic vehicles
Comments would be nice but it is also nice to keep JSON pure and simple. There are some other json formats that use comments like jsoncpp but really not needed.

But, if comments really are needed, another easy way to have comments is have a file that rides to the side of any json files or docs. Sometimes we use a markdown/text file next file.json -> file.json.md / file.json.txt to describe overall or a file.meta.json that has comments per key. This is only needed sometimes for physical files. If json is from the server, commenting can be done there or in docs if needed.
The Untold Story of the Teen Hackers Who Transformed the Early Internet
VSCode knockouts Atom in a dispute for becoming a developer editor in a corporate computer.

Sure, you all have root password in your computer. Unfortunately, I belong to a lower race: the corporate developer. I work in a Windows 7 machine, don't have root password and there's a big wall called proxy around me.

I didn't know about VSCode before this HN post, but I was trying to use a new editor instead of Notepad++. In my 5 minutes comparison match between Atom and VSCode, Atom was knocked out in the first minute. To quickly test a new general code editor I just want 3 "simple" things: column selection, regexp search and replace, and a python mode.

Atom: got the regex, must install a column mode extension, need to install a ntlm proxy authentication downloaded from (argh!) Sourceforge, configured it after some google searches, failed to install the extension because it needs a compiler. Ops, just spent 30 min for my 5 min test. Can't spend more time playing with a code editor, must go back to work.

VSCode: Download the portable version https://code.visualstudio.com/docs?dv=winzip and unpack it. Just works.

You've got a new fan VSCode!
http://grahamshortart.com/ He has this website which hasn't been kept up to date but shows some of his work
VSCode is so good.

I do wish it had a global symbol search, similar to Sublime's (cmd+shift+r). It's indispensable for code navigation.
The Chicken and the Pig
This doesn't account for the possibility that his teammates have a higher percentage because Kobe is the biggest threat to take a shot and the opposing team sets up to defend accordingly.
How to label 1m+ images per day to train an ML model for visual recognition?
I am looking to create an ML model for recognizing types of apparel in am image. I need to label data (1m+ per day for some time) to train my model.

Tasks involved

- Marking the relevant portion of the image with bbox
- Tagging the marked portion with relevant apparel name

Looking for something like MTurk but simpler to use & great in quality?

Other relevant discussion thread https://www.quora.com/unanswered/How-to-label-a-million-images-per-day-to-train-an-ML-model-for-visual-recognition
Why? Do you have so much spare time to waste on things like this?
Silverlight is actually a descendant of WPF.

WPF > Silverlight > UWP

All your skills are transferable.
google.txt: don't be evil.
Regarding BSDs: https://users.rust-lang.org/t/psa-rustc-cargo-can-now-be-ins...

We are still working on musl as a host, it's not there yet, in my understanding. Cross-compiling to it should be easy, but that doesn't help much if you're on Alpine.
> so it's not like it's an abandoned app.

The AOSP version is.

> Is your complaint that Google is letting AOSP apps languish? In which case I'd agree, but it's not like you're short on alternatives

Well, I am short on open source alternatives.

I always have ideas of features I’d want, and wish to integrate them into the apps I’m using – like integrating with the local phone book data for reverse caller lookup, as that has far better data than Google or OSM.

But I can’t do this with the closed apps.

Sure, I could replace everything now by installing other apps, but when all of them use SecureNet to prevent me from tinkering with anything, then I honestly prefer the good old days where I could just mod anything.

> Get a different launcher? For eg, Nova Launcher (paid, but does not have any dependancy on Play Services) is basically Launcher3 (in terms of looks/functionality) with a ton of extra features.

This is the very same issue.

I want a minimalistic launcher, with some special features I wrote myself already for Launcher2, but the AOSP Launcher3 is totally broken, and Nova Launcher is not even close to anything I’d want – minimalistic, not "accidentally swiped over an icon and half my screen is full of menus".

Since Google continued to drop work on AOSP apps, I’ve had to spend more and more time.

By now I have to maintain my own apps for music, notes, etc, now Launcher and SMS are becoming an issue, too. Sure, I’m a student, but my time is limited, too, and I’d like to not spend it rebuild things Google took from the community.
> >Generics would not make our codebase significantly better, more maintainable, or easier to understand.

> Generics are literally a form of abstraction. You might as well be arguing that abstraction doesn't help.

You missed one word: "significantly". Sure, abstractions help. That wasn't the claim. The claim was that, in a million lines, the lack of that particular way of doing abstractions did not significantly hurt.

Would it have helped? Sure. Would it have helped enough to matter "very much"? No (by NateDad's standards, which may differ from yours).

67 implementations of sort.Interface? Sure, I don't like it, but in a million lines, you've got much bigger things to worry about.
They should have. He also should not have given out the password.

A failure to change the locks does not mean you have created an attractive nuisance to former employees.
this is a complete mind shift for the process. Step 1, people currently employeed and happy with their job get permission to work from anywhere. i.e. a Self Contained Tech Worker. I work from any coffee shop I want to, my employeer is happy with my work. Step 2. I start crashing offices and working else where, still working for my current employeer. They don't care where I work, coffee shop, or some other office. Step 3. Over time as I work at new places I'll get to know new people. Leads to my next job when I'm looking for a switch.
GoPro launches a Developer Program
Do you have any suggestions how to practice algorithms?
Doesn't this implementation actually undermine the whole point of humans.txt? This is the equivalent of a robots.txt file consisting only of comments.

The whole point is to list who is behind the website. A LinkedIn list of people currently working for Google might suffice.

This is the best example of humans.txt:
http://nest.com/humans.txt
But remember what they are saying they are trying to find here is the main character, not the main character in the universe. You actually argue against your own point. You say this is a popularity contest, and then say no one in universe would remember it that way. But if his impact, and hence relationship to the actual story, is what this measures.
It's coming soon. The aspnet team demoed coreclr debugging in VSCode earlier this week. It was all done on nightlys, but it worked.
But honestly, since these are all extensions, I don't see any reason 1.0 would need to be tied to these features.
One place where I worked had a rule that you couldn't invoke DRY until something had been repeated at least 3 times. Empiricism wins in the end when the goal is to seek truth.
Could you not wrap it all in a div and do something like:

#ascii-art {
font-size: 2vw;
overflow: hidden;
white-space: nowrap; }
I'm noticing a lot of Reddit posts showing up here that don't seem all too related to tech. Perhaps Hacker News is just growing to that size where it starts to get off topic sometimes.
Spare time wasted on what? Me reading the three sentences or someone else writing three sentences?
That theory is called Risk Compensation: https://en.wikipedia.org/wiki/Risk_compensation
Agreed. "Robot on autopilot" sounds far more like depression than ASD to me.
Not the distributed secret sauce though.

> Does Bazel require a build cluster?
Google's in-house flavor of Bazel does use build clusters, so Bazel does have hooks in the code base to plug in a remote build cache or a remote execution system.
The open source Bazel code runs build operations locally. We believe that this is fast enough for most of our users.
Really enjoyed your post. I had a question about your usage of ProxySQL.

1) Do you have to update the ProxySQL configuration on your application servers when you do a slave promotion or is that handled automatically?

2) I didn't fully understand how you know which database host has a shard (i.e. shard 22). Is that also part of your ProxySQL configuration?
http://www.gm.com/humans.txt I never would have guessed it.

Disclaimer: I work at GM. It's probably not as terrible as you imagine. Any opinions are my own.
It's buggy. Plugins break all the time.

Also: Doesn't ask me to save my unsaved files when I close the editor. Sublime Text called this feature "hotexit", but in Atom there's no way to disable it.
That is what I'm saying (I think we agree). It seems like a focus of Go's simplicity is to improve compilation speed and yet there are languages like Ocaml that do have generics (and a whole lot more) that seem to compile faster.
I had a similar question - One of the things I appreciate about Atom and Sublime is the ability to add folders to current "project" even if they are at different hierarchical levels of the folder structure. Other than that VSCode was pretty cool.
Any script that includes rm -rf followed by variables in a path is an accident waiting to happen. Mounting the backup volumes is just icing on the cake for this extremely incompetent web hosting provider.

It made me nervous to type rm -rf in this comment form. Those letters are dark magic.
How REST Turns Microservices Back into Monoliths
Funny, that was deleted years ago, now returns:

"404: File not found."
For the 2nd point, is googling not helpful? As in, can't the user just Google for that stuff and buy it from eBay or whatever?
This sounds more like Python dictionaries. I don't see more bugs when I am using those over JSON, and I find them a lot easier to work with.
i was cofounder at a startup a long time ago, and wrote most of the backend code.

i put a humans.txt in there, and updated it every time we had a new employee.

then the CEO fired all the best engineers, and I decided to leave shortly after because sometimes in life you gotta let go.

the company is still (miraculously) around these days, although all of the original engineers are long gone.

the humans.txt is still accessible on their domain as it was on my last day, with all the names of the founding team for the first ~2 years inscribed in there - looks like their newer engineers never stumbled upon it.

sometimes when i get nostalgic i like to hit that URL and look at it
last time i tried to do serious work with go and mssql, i ran away screaming. maybe situation isn't that dire now (this was almost a couple of years ago), but it's hard to beat java in db connectivity.

for the record, i ran to python.
The Complete Guide to Function Mangling in iOS
These websites have the low median score. That is, many submissions, many of them not relevant, so the median is low.
I wonder if we'll ever see a maverick player perform well because he's taking these shots, trains for them, specialises in them, positions for them, in a world where defenders train supposing you'll position differently, and reposition rather than take the shot if you happen to receive a ball in a deep two position.
Without a single name listed, Google is doing it wrong.

So for me this is a negative reflection of the Google brand.
It is the norm for PC games that have settings to have pre-tuned config settings (Low, Normal, High and Maxed, usually called Ultra) which make it easy to find something according to your hardware's power and age.
Elsewhere the article described him buying up "1-kilogram" bars. I don't know where you would get such a thing (I'm not in the gold market), but this does make more sense with the figure of $20M dollars (although it still works out to gold at $1800/troy oz.).

It's still a great deal of mass, and I definitely wouldn't put it in the trunk of a cab, but it sounds at least almost plausible, especially if the taxi is a van or SUV.
One take-away from this is that it's probably better to save your backups somewhere where you can't delete them. Make sure that nothing using rm touches your database backups. Also, try to keep them backed up in multiple places. For example, store backups on a server you own, and on a cloud server, like on S3.
I didn't downvote, but you can easily answer your question about what's interesting/exciting about it by simply reading the other comments here. It's pretty clear this scratches the itches of more than a few devs.
Who's on the couch?
Great catch. What you're observing is the effect of a new trend (or a nonstationary distribution, if you prefer) wrt. shooting tendencies, as it affects the coaching and strategy of one (star) player. Your suggestion that

> [the] extra point outweighs the increased likelihood of missing as an overall statistic

is a relatively-recent discovery for people in the NBA: the expected point value of a three-point shot is much higher than the expected point value of a very very long two-point shot.
UnixStickers Review: Where to Fulfill Your Geeky Needs