skysight-inc/HackerNews huggingface dataset:
Young Iraqis overwhelmingly consider U.S. their enemy, poll says
Thoughts about Pi
The mean will be worse than the median due to the influence of 1-point submissions.
Listen to Wikipedia edits
Yes vim keys frequently trip me up.

One of the major reasons I keep vim in my repertoire is that it is on every machine I have to SSH into and it can handle monstrous files. Vim is also better at editing config files (SSH ops stuff) in general since you are typically manipulating and not creating content.
How is Ada lower-level than Rust? I don't really know Ada. I'm also interested in the performance comparison, we're usually neck and neck with C and C++ already.
Have a look: https://news.ycombinator.com/item?id=11499402
I've actually interviewed with them, before when I was in college. In all honesty, I used to be on the defensive side of things against technical interviews only because I got really nervous and my mind would go completely blank, especially this one time when a BigTechCo hiring manager asked me to sort a LinkedList without using additional space.

So after many rejections and rushed algorithms textbooks regurgitations, I decided to start somewhere my well-roundedness counted more than my algorithm implementation skills( a big awesome Fortune 20 company too) , and actually REALLY take my time to study the ins and outs of being a real World software engineer and ENJOY IT.

A year and a half later after graduation, I don't regret my decision at all. My problem-solving and implementation skills have improved tremendously, especially after I discovered Firecode.io, which takes a more pedagogical approach to interview prep than TopCoder or google CodeJam.

I live in Seattle and have a few acquaintances who are in tech at various companies(Google, FB, Amazon, MSFT..) . My interactions with Googlers have been very pleasant; they just seem to be very down to earth compared to other engineers I have encountered, in general. I am not in a rush, though. I am gainfully employed and like my job, so that also drive my job search to be largely serendipitous.
I was surprised when the tech scene took off in Austin in the first place, given that the Dallas/Ft. Worth/Richardson area has a much higher concentration of tech companies and tech workers.
Yes, but the two examples are at the top of the table and together significantly exceed the sum of the rest of the table.
[insert quip about techcrunch.com]

A little off-topic, but this reminds me of how non-straightforward it is to categorize what the true "domain" of a given URL. Blogspot.com has the most submissions by domain, but the API that runs the ?site query on HN returns just 5 links:

https://news.ycombinator.com/from?site=blogspot.com

I suspect that's because HN differentiates between somerandomdude.blogspot.com and googleblog.blogspot.com...but that in itself is an editorial/arbitrary decision...Why is subdomain more relevant for differentiation than for github, in which github.com/blog is grouped in with github.com/somedudesrepo?

And FWIW, it seems subdomain faceting is done manually...education.github.com links are shown on HN's page as just github.com...whereas googleblog.blogspot.com's domain is fully listed.
Uninstall QuickTime for Windows: Apple will not patch its security bugs
Being able to press ctrl+K instead of alt tab -> write "git commit -m" is pretty nice and much faster...

EDIT: that's only the most trivial benefit of git integration
Yes, thank you. When you use generics for a sortable collection class, that makes sense--it's a perfectly reasonable application of the technology. Problem is that "clever" programmers go hog-wild with generics and create APIs that resemble Greek tragedies where everybody dies in the end.

I think that the Go core team acknowledges this tendency, and that's why they resist adding features which tend towards complexity/abuse when those "clever" programmers get ahold of them. Sure, it means some minor pain when implementing the Sort API for your class. The unseen benefit is that you don't get the horrific abuse of generics that I'm seeing in my current Java job.
I read the comments, have tried it out and concluded it's just an editor :-). Evidently other people came to different conclusions.
I once had an incident with a server which triggered notification alerts about a failing httpd service. While I was looking into the issue, the mail service suddenly stopped working, then the database service went down - it was like a slow cascading failure, affecting all services on the server one after the other. I finally noticed the 'rm' command in the process list and asked the client if he ran any custom commands as root on the machine. Turns out he followed the instructions on a website to install some custom software without checking any of the commands and just copied & pasted them into the prompt.
He basically managed to "rm -rf" on / and deleted his own server.

Luckily recent backups were available, so the damage was rather small, but it was interesting to see someone just pasting & executing commands without knowing what they actually do, especially when logged in as root.
Boring programming jobs often relate to bad code bases. Is adding feature X tedious? Why is that not automated? Novel bugs are usually interesting, seeing the same thing crop up 10 times is a sign of brittle code.

Are deployments a single click, or do you go down a 30 item list every time?

Users often push systems in new ways and have interesting issues; the 5th redesign because some manager got a new idea is not.
I think this really makes a case for this being best as an open source API, i.e. something anyone could access and something to which anyone could contribute.

I'd personally prefer not having to manage the indexes on any of my computers.

Regardless of where the info is stored, it should be possible for the client to run locally, and access your code, but not actually send anything more revealing than what you're already sending to, e.g. Google.
Only people who can save & exit vim holds it as the pinnacle of editing technology. :) the rest of us can't save files in it
Right but if you delete your entire file system there won't be anything to come along and do the "actual delete" so you're safe until some one comes along with a rescue disk or otherwise mounts it to a system that knows how to deal with this.

At the very least when you rm important-file.txt instead of importanr-file.txt you have a chance.
I'd be more interested in seeing the distribution across submissions that actually made the front page.

There's a daily deluge of articles from ars, techcrunch, nytimes, etc, so the (tons) of articles that do get to the top get penalized by the ones that don't.

I don't think there's a flag for "hit front page" so might have to estimate that with a min point filter instead.
I work with the team that made that site! That is so funny that they put that in.
I thought they were, but the simple installation of the column select mode failed with a message of missing compiler. I don't want to delve inside my editor internals.

The first difficult thing is to discover that I have to install the sublime-style-column-selection package. So it failed and didn't researched more.
Let me give a concrete example of how I've been personally impacted by the lack of generics. My project makes liberal use of pointers to represent "optional" fields, since they need to be distinguished from the zero-type. Alternatives would be to have a boolean associated with every field, but that clutters the API and still faces a lot of the problems with using pointrs, such as:

- Easy to forget to check that pointer != nil

- Overloaded semantics: it's unclear whether a pointer represents an optional type, or is being used to pass-by-refrence (i.e. unclear whether a value should be treated read-only)

- Need to deep copy every struct, which is easy to forget and inefficient (at least the reflect version)

There are solutions to each of these points, but they all add complexity (e.g. generating code), and most take a lot of extra effort. With generics I could have Optional<T>, With a Get() function returning 2 values: the value type, and present (i.e. the way maps work). The caller is forced to handle both returns, making it much harder to forget to check it.

A lot of arguments for generics focus on higher-level functional programming abstractions, but this is a simple and extremely common use-case, and the lack of a solution is responsible for many real-world bugs.
Edited to protect parent's privacy
This is not nice -- https://github.com/Microsoft/vscode/issues/5275
Corporations are people. They are taxed like people, they break laws like people, and they own property like people.

They just can't vote.
Not a other critizism of the wget UI! We know it's bad, but it's simply because it's a 1:1 mapping to the command-line options. And command-line options is a flattened representation of all options. They are quite often not even combineable. A well-designed options class hierarchy with all constraints in place would map quite nicely to a GUI wizard.
I'm in way over my head and skimming comments to see what I can learn, so my question is a bit tangential: why can't everybody switch to Rust? Are you commenting on the difficulty of convincing everybody to rewrite their entire code-base or on some technical aspect of the language?

Thanks!
Where does the "top 1000" come from?
I have the same problem with the Atom packages behind the proxy. I had to do some npm and git configuration to add http_proxy. It worked for a bit, then the corporate password changed, and I never really updated the buried settings.

I'll probably have a pretty easy time getting the MSFT Visual Studio Code approved for machine installation for devs on my team, even though we're an Eclipse/Java shop. I've been trying to get everyone normalized on a JavaScript editor, since the tools we have in Eclipse are severely lacking.
domains such as github.com, github.io, nytimes.com, etc. are far more prevalent and important to HN

NYTimes.com is certainly more prevalent but, just like Grauniad lately, it seems to be diluting quality on HN rather than being important. Same goes for Medium mentioned above.

Whereas sites like patio11's or cperciva's blogs, YC startups (bu.mp), tutorials are what makes HN unique and interesting.
It works on top of Quartz Composer, which is OSX only I believe.
They said:

"the r deletes everything within a given directory"

which is what it does. Non technical readers aren't going to understand "recursively remove directories".
Medium is more noise than signal. There are an absurd about of Medium submissions submitted to HN (in fact, my curiosity into why everyone liked Medium all of a sudden on HN is the primary cause why I started doing data visualization on public data.)

If Reddit and YouTube submissions can have ranking penalities due to highly variable quality, so should Medium.
Because the low-level modularity of Vim and Emacs gives you more control, by letting you choose the combination of tools you use ; instead of tying together the language(s), the compiler, the tag/completion engine, the build/project system, the debugger, the profiler, like many IDEs do.

The sole concept of IDEs specialized for one language makes me cringe.
Even if you normalise for the relative population of white vs ethnic Chinese and Indian people?

I'd be really surprised if that was the case and I'd like to see your data, please.
Actually, there are quite a few other differences, including the fact that Ponzi schemes are intentionally fraudulent, and the fact that the many of the "overhyped" startups actually do have a chance at succeeding, which is proved by the fact that some do succeed.
>I wonder how they decided spending money on this would be a good investment.

Its not their money and they have no shareholders. They don't care if works or not. These PR people cashing the checks are probably friends of friends of the Chancellor.
Wait, they don't use hashes? Why???

Image ID
Each layer is given an ID upon its creation. It is represented as a hexadecimal encoding of 256 bits, e.g., a9561eb1b190625c9adb5a9513e72c4dedafc1cb2d4c5236c9a6957ec7dfd5a9. Image IDs should be sufficiently random so as to be globally unique. 32 bytes read from /dev/urandom is sufficient for all practical purposes. Alternatively, an image ID may be derived as a cryptographic hash of image contents as the result is considered indistinguishable from random. The choice is left up to implementors.
In Rust:

let x = std::u32::MAX + 1;

This line will generate a warning upon build, and in a debug build, will panic. In a release build, it will overflow.
It's not a language, but an API. They could have called it JQA and avoid a potential Atlassian lawsuit
Wouldn't they basically need to do this (compile the code) even if they have all of it?
I can speak personally to a warrant Amazon literally said "no thanks" to. It took a while for me discover (and Amazon never informed me it occurred) but later in court, officials released Amazon's denial of the warrant on grounds of being too wide sweeping and vague. I will upload it later and redact all the details...

The exact same verbiage was used for a few other companies including Comcast who bent over backwards to lower their dragnet.

This statement by Bezos rings really true to me and they will keep my business.
> Middle East to predict locations of IED.

Would be interesting to know how that would work.
I don't know...log jam was a pretty big deal
I can't find the option to open a terminal in the editor. Am I missing something? Needs a terminal pane.
How I Recovered a “Dead” Twitter Handle for $69
>In my study of history the case which government lays out for their new intervention is based on twisted truths, exaggerations and most likely downright lies. This has been the case in anti-trust, social security, medicaid and many more instances.

Well, you are certainly entitled to your opinions. I guess we fundamentally disagree on how historical events should be interpreted.

>The idea that an entire industry is failing to meet consumer demands is economically absurd. Why would competition not arise to match consumer demands?

Industries don't exist to meet demands, they exist to create profit. Meeting an external demand can create profit, but so can unlawful or immoral business practices. This is the very reason why people seek an organized entity (like a government) to negotiate on their behalf. Pristine economic theories work nicely in a bubble, but we don't live in one.

>Are you one of the lucky 20% (perhaps less) of the population which your candidate of choice won the election? Did that candidate match all of your ideas, or was he or she the least-rotten of the bunch? Is that candidate really "advocating on [your] behalf" when they get into power? What of the other 80% of the population who were unhappy with the outcome of an election? How do you measure these "aggregate outcomes"? Is the $4 trillion (on the books) spending of the US government all necessary to accomplish these improved aggregates?

Do I agree with everything that the US government does? No. Would I rather be a US citizen than one of any other country? Yes. Do I think this country has the potential to move itself in the right direction? Yes.

>I'm not sure I would say "pointless". I may not agree with what is going on, but certainly some people are getting rich with the trillions of dollars being squandered. Some people are benefiting by regulations which strangle out their competition. Some people feel good about having their morals forced upon others. Some people like having positions of dominion and power which they exercise violence over others. Some people make a pretty penny from blowing up people in far off lands. I may think there's a better way, but I wouldn't say its pointless.

In what world is it good socialist policy to squander trillions of dollars? Obviously things could be improved. Yes, some regulation is bad, just look at the anti-competitive practices Comcast has lobbied for over the years (and make no mistake, those policies are only in place because of Comcast's lobbying). Regulation is not the same thing as socialism. Socialism can impose regulation to promote certain principles, sure, but that doesn't mean all regulation is created to further social goals.
Yep. That's the general theory so popular and makes enough sense that in a way, I'll be both pleased (for picking up on it) and disappointed (for lack of surprise) if it really turns out that way.

At the same time, it would be sort of lame if GRRM decided "well, everyone figured out R+L=J and the three headed dragon and all so I guess I better change some things around".

Then I just get a little bit bummed out (and guilty for feeling entitled) that the next book probably won't be out for a while still.
Thanks for the explanation.

Would you please clarify something to me?

1. So to say that a language has concurrency built-in is, in general, misleading, correct?

2. Than a language may have concurrency primitives, but the capability comes from C through the OS?
> That's not "the government" and to think so kind of misses the mark.

The difference is that when it's not the government we're free to disagree. We're only concerned with people wanting to force it on us which these civilians with their personal concerns would not be doing.

> You may disagree with a perhaps naive perspective like that, but that interpretation does not make it any less real.

You may honestly hold a view but that does not make it any more real or sensical.

People want the comfort you describe (easy unlock) and perfect security. They believe it's possible but they resist thinking critically about it.

> For the common people this comes in the form "I believe my dead relative's phone has information which will expose their killer, I want the carrier or manufacturer to make that data available, it's legally my phone, not Apple's or Samsung's, I want that data."

And if the data was in a safe you'd be saying "It's legally my paperwork, not American Safe Co's paperwork. I want that paperwork." If you hadn't planned ahead they wouldn't be able to help you either.

If you don't have anything super-secret or valuable in the safe you can take advantage of bricks-and-mortar key escrow like putting the key/combo in a safe-deposit box, or trusting the manufacturer to hold it such as with restricted keyways and encrypted bitting patterns.

And similarly, you (or rather, the relative who might be killed) could buy a phone with some family unlock option on the cloud backup or they could put their unlock code on a piece of paper, put it in their safe-deposit box, and will it to you in event of their suspicious death.

We're all worse off if unlocking a phone or safe is easy to do without these measures. It's better that a few people lose their paperwork than that none of us are ever secure in ours.
Let Spotify go, they only are interested in taking out money from the common welfare and put it into their pockets.
They are just the nth carrier of the neo-liberal virus that is destructing our world by stealing the common welfare.

b.t.w. I am a businessman, not a socialist.
When is the movie lol
I've used Go in a lot of database work as of late, and it's done a fine job for me. I've used it to connect to MS SQL, PostgreSQL, and Teradata. The Teradata connection was a little tricky, as nobody had written a Go/Teradata driver yet and I had to route it through Windows ODBC, but once I had that sorted out it worked just fine.

I only started using Go in the last couple of years, so I don't know how different it is now from when you tried it last, but I bet you would be pleasantly surprised if you gave it another look.
Also in the case of programs running rm -rf.

Like what happened with the Linux version of Steam: https://github.com/valvesoftware/steam-for-linux/issues/3671
One place wouldn't give me an offer until I agreed to take the job.

I assumed it was a hard sell tactic (and red flag) and declined.
https://bitbucket.org/humans.txt
Visual Studio Code has been a very pleasant surprise indeed. Fast and simple. Not everyone needs a powerful IDE, especially when learning.

I have been using it a lot lately to write snippets of code in C or HTML.
That story would make a class movie.
Exact platform support, including "cross compile only" or "rustc/cargo runs on it" are listed here: https://doc.rust-lang.org/book/getting-started.html#platform...
I'm a bit confused by people's praise of VS Code. Are people really writing software with anything less featured than that?

As someone who uses Visual Studio for everything, I have a hard time understanding how people can get anything done in Atom/Sublime/Notepad++/etc.
In the case of paris and belgium it would have been more helpful if the european agencies would work together. I can remember there were similar cases in the US.

One of those belgium bombers was supposed to be in prison, but the belgium police did not care. For the other one they did get a warning from the turkey, but it was ignored. Those two mistakes are only the tip of the iceberg.

I do not understand how throwing away our freedom would help in such cases.
Does anyone have any information about when/if we will see support for higher-kinded types in Rust? There is the RFC thread on Github (https://github.com/rust-lang/rfcs/issues/324), but I haven't been following the trajectory very closely, and a quick synopsis would be wonderful and appreciated.
It's probably not out of the question, though are there a lot of people out there who want to actually develop on e.g. Android rather than just targeting it?
I hate ruby or why I'm switching blogging platforms
Not directly no, but some FS give you a hard time to recover the file structure, which in some cases is a big problem.
You could probably recover files, but if the backups aren't stored in a tar/zip/... file, it will be hard to recover both the data and the structure.
Doom – Play the New Open Beta on PS4, XBox, and Steam April 15th-17th
U.S. Universities Failing in Cybersecurity Education
There's no reason the Recycle Bin couldn't work for scripting languages, except for lazy OS and language developers haven't bothered to wire-it-up.
He says he's recovered almost all the data. FWIW. https://serverfault.com/questions/769357/recovering-from-a-r...
It's more like "We designed the type system to take concurrency into account, and then provided various types ourselves in the standard library (like Send/Sync) to be used with them. We also provide a bunch of concurrency abstractions and tools, in the standard library, but due to the guarantees being more in the type system, others can also write their own. Some of these do rely on OS-level capabilities as well.

In general, very little of Rust is technically "in the language", but to the user, something in the standard library vs the language itself often doesn't matter, it's the same experience either way.
I think you are selling yourself short by not asking questions particularly as a junior dev. Depending on the role, people are hiring you for not only your current skills but your potential to grow. Write some questions down in advance - no one is going to ding you for having a cheat sheet for asking questions.

Here's some questions I'd ask:

- what sort of training or growth opportunities do you have?
- do you offer any aid for continued education or online courses? What about conferences?
- do you have a buddy or mentor program to help me get moving quickly?
- Are there any books or resources you recommend so I can hit the ground running?
- If I got the role, what would make you feel you made a great hire in 6 months or a year?
The only bad part about Jetbrains is that no matter how much i've tried i can't use a text editor without feeling crippled.

A big factor is probably that I started programming using Jetbrains tools (except some c++ in codeblocks before that). It's so awesome everything else just sucks.

The problem is when i want to try some language that is not well supported by IntelliJ. No matter how cool the language is i get frustrated by editors like sublime/atom/emacs.