skysight-inc/HackerNews huggingface dataset:
I have moved part-time from vim to vscode, for Go work.

Some reasons:

- Having the full type info for every single thing in the code with simply hovering over it (not just when typing)

- Ability to "peak at definition", to get a little interspersed window with the definition of functions etc,
embedded right into your editor.

- Out-of-the box file tree with single click opening, and window management (I use a lot of powerful vim commands, but window management just was too much for my head).

- Maybe something more I've forgot.

In general, the out-of-the box experience is so much greater than vim. I know you can replicate most of the above with a super-fancy setup, but I just don't find the time to get my head around much more than http://github.com/fatih/vim-go and a few personal .vimrc tweaks.

Now as others have mentioned, I just hope for a more feature-complete vim-mode in VSCode.
I have a (big) .NET project that uses multiple libraries one of them being Akka.NET which uses HOCON. Being honest, it felt completely awkward to use it in this respect (a little corner in the project that uses that different HOCON thing).
Sometimes seeing certain usernames can get you to accidentally write the wrong thing.
> What changes here is that if you deployed SSH/TLS using a HSM (Hardware security module), you'd need to be prepared to provide a plaintext stream upon a court order. Obviously, the alternative is to choose the non-HSM route which is, and has always been, vulnerable to subpoena.

Forgive me if I'm wrong, but doesn't SSH always use a Diffie-Hellman key agreement, where the keys are destroyed after their use? No subpoena has the power to recover keys destroyed in the past, even if no HSM had been used. The same applies to modern TLS using DHE or ECDHE suites, and AFAIK the current TLS 1.3 proposal allows only these suites.

They might be able to subpoena the authentication keys, but these are useless to recover the ephemeral keys of past connections (except from older TLS cipher suites which didn't use DHE/ECDHE), and even for future connections they would have to be used with an active attack.
What I'm taking issue with is the description of VSC as "changing the way we code on Unix/Linux". Given your interpretation, Atom and SublimeText and other tools predate VSC and fill much the same role. So I don't see VSC as being transformative in that way. That's not to say it might not be a nice tool, but it's not a revolution either.
A Basic Income based on need is called a welfare system, and requires gatekeepers to determine neediness. We have various such systems in the US.

Any time you here someone say "basic income", they mean a guaranteed, zero qualifications beyond citizenship and possibly adulthood, income. It is meant as a replacement for many aspects of the welfare system.

It is true, since humans are bad at making many financial/health/welfare decisions, that not all public welfare costs are a good fit for replacement with a BI. But things like food stamps, disability income and section 8 housing all do appear to be good fits.
Kotlin relies quite heavily on bytecode level method inlining, for instance.

The advantage is that it makes code written in a functional style effectively free (well, almost, unless you could gain performance from step fusion). The disadvantage is that the JVM wasn't designed for that and it messes up stack traces.
God damn, I am stealing that quote.

In regards to those "hire the best", where the application process is more drawn out than top secret government clearance. Those just aren't for me. I'm not looking for top tier(I'm not), but I am looking for intellectual stimulation, and being involved in something that someone will actually be using. I get the majority of my satisfaction watching others use something I've created. My rant is over!
He should've put left_pad.py in a folder with an __init__.py to make it a proper package ;)
I mean, I would argue that last night is an outlier. The game plan was to give the ball to Kobe, they wanted him to shoot.

Look at his career and I think it's a different story.
Yep... I'm exaggerating but I did trade some freedom to post whatever code I want wherever for a better salary. It's not uncommon for contracts to give employers ownership of any ideas/code an employee comes up with, or to specifically prohibit freelancing or contribution to open source.
Git is essentially a Merkle DAG, thus a single reference to the root object suffices.

Also collisions are only practical with large amounts of padding which would be visible. That's why nobody really cares too much about them for source control systems.
Better to start up a new party with a clever nerd name--like Bitwise Party, or Breakpoint Party, or similar--and run its own candidates. The automate the hell out of political party organization. Make running for office as easy as registering a new domain name.

But that will probably never happen, because forming and operating a political party is too much like joining a union with its own PAC. And also, third parties don't count for much in the US.
It's not mentioned in the post, but 1.8 also includes support for installing additional versions of the stdlib for other targets using rustup/multirust[1], which is huge for cross compilation:

$ rustup target add x86_64-unknown-linux-musl
info: downloading component 'rust-std' for 'x86_64-unknown-linux-musl'
13.77 MiB / 13.77 MiB (100.00%) 1.47 MiB/s ETA: 0s
info: installing component 'rust-std' for 'x86_64-unknown-linux-musl'

Which allows:

$ cargo build --target x86_64-unknown-linux-musl

You can get a list of available targets with `rustc --print target-list`.

[1] https://www.rustup.rs/
Kobe Bryant being integral to the Laker's success is absolutely correct. The Laker's made the strategic decision to structure everything around him and it worked well. No doubt that would have failed with a less talented individual.

However, it is important to view his accomplishments in that light. He scored 40+ points in games because the team basically said "Let's have Kobe score 40+ points today". Because of that, his absolute point totals aren't great markers for individual talent.
Anecdotally, I would say 30% positive, 30% total loss, and 30-40% somewhere in between. Fund returns will definitely be biased towards the top 1-10%, like in any lottery system.
Other giveaways:

* "more or less 1535 customers"

* ansible would fail if variables are unset (though they could be empty)

* no mention of --no-preserve-root

* who mounts an off-site backup, instead of pushing with scp/curl/whatever

* googling his name does not dig up any company
why do you prefer using tmux to edit multiple files vs using vim to edit multiple files in vim tabs?
The main difference versus IDEs is that everything we show is informed by all the public code we've collected from the web. So e.g. there are a ton of arguments to matplotlib.plot and IDEs can show you them all ranked alphabetically, whereas we can show you common patterns of how people actually use matplotlib.plot in practice, which is often far more useful. (We'll show you the docs, too.)

Another example is if you type "load('abc.json')" without having imported json: there are hundreds of python packages that define a function called "load", but "json" and "simplejson" are by _far_ the most widely used, so we can suggest that you "from json import load". That's something you can't do unless you have a good model of a lot of real-world code.
[Podcast] Authority Content Collaboration with Tom Hunt of Virtual Valley
yeah it won't work for everyone right away. We start with SCTWs who can do this.
Could massive consumer fear kill IoT?
It would be a pipe dream, but at the conclusion of the gag period there should additionally be a disclosure requirement - like a data breach notification. That would help balance out the desire to keep these things under wraps.
That's what, gone are the days when we'd spend hours and hours to learn the little little ways of vi and the myriad functions in emacs. Now we need to get things done, can't afford to sit down and study the entire functions of vi and emacs. I don't mean to troll but after switching to vscode and the go plugin I learned go webdev and wrote this small intro book,
http://github.com/thewhitetulip/web-dev-golang-anti-textbook...

That is the power of vscode, it provided a good enough way to play with code, yes not outright innovation, but an awesome text editor nonetheless.
Which I find to be a pretty weird idea. The list of players that played their best while playing with Kobe is long and varied.
> Can C begin the lifetime of a C++ object?

Yes. C++14 Standard §3.8p1:

...An object is said to have non-vacuous initialization if it is of a class or aggregate type and it or one of its members is initialized by a constructor other than a trivial default constructor... The lifetime of an object of type T begins when:

— storage with the proper alignment and size for type T is obtained, and

— if the object has non-vacuous initialization, its initialization is complete.

Since class "C" is standard-layout and has a trivial default constructor (in this case none at all), assuming that malloc allocates memory that is suitably aligned for "C", the function make_s returns a pointer to an instance of C++ class "C" whose lifetime has begun.

Edit: Thanks for asking btw. I use similar code in a project of mine but never actually checked whether it is actually standard-conforming.
Part of the reason may be that three point shooting has become much more popular in the NBA. Consider it: In many cases, if you shoot from a few steps further back then your reward increases 50%. Current MVP Stephan Curry is the epitome of this trend.

Also, driving to the basket, probably his leading alternative, takes speed, strength, and the ability to take a beating. Probably all those abilities declined as he aged.
Sorry to hear that is your impression @nkrisc. You probably tested our Beta 1 (Public Preview) released in March, that is our first beta, so there is a lot to be done. We have a new preview (Public Preview 2) going out in April with a lot more features. And yes, you can expect a tight integration with Photoshop or Illustrator, it's just a matter of copying and pasting items from them to XD. You can even bring content from Sketch: https://www.youtube.com/watch?v=TyoFGyENt3g Looking forward to hearing your thoughts, and please expect a lot more features landing in our monthly releases. This is just the beginning :)
google.com/humans.txt
Yeah, I didn't mention it in the post because rustup is still in beta. Once it's officially ready to go, trust me, I will start talking about it a lot :)
I've been using both Atom and VSCode over the past few months and gradually got to the point where I just prefer VSCode. It's hard to pinpoint a specific reason, but it feels faster and a little more polished.
Seriously. Comparing burnout to PTSD is inaccurate, insulting, and offensive.

Post traumatic stress disorder - trauma. Coding is not trauma and can't be compared to trauma.
Want to learn how to code? Start here
My impression is that the more "reputable" such services have a series of steps that they take that could plausibly affect reputation. (E.g. "We monitor these sites for mentions of your firm; when negative reviews show up we work with you to overwhelm those with positive reviews.") It isn't clear that those steps do actually improve anything we could classify as "online reputation".
The 1A argument is that code is a form of expressive speech, and that laws that limit what kind of speech you can make are in effect prior restraints.
Does this imply that the Justice department can search your computer if Windows 10 is installed? Or does this just apply to data MS has on you at MS? (OneDrive, use telemetry, etc)?
Atom has a great Go plugin: linting, context aware completion, fixes code style on save, etc..., all powered by Go's command line tools.

I'm not saying Vim and Emacs are the be-all (I program mostly in R, so RStudio is my main tool), only that VS Code hasn't changed anything fundamentally. It's just a good editor.
Intuitive Understanding of the Fourier Transform and FFTs
He really likes that skinned knee example.
Because this is the assumption behind using fingerprints as authentication.
Shingle Roofing Replacement: Tear-Off vs. Adding a Top Layer
Wait, you think that exfiltrating a password to a giant newspaper's CMS to a hacker group and exhorting them to "fuck shit up" shouldn't be a crime?
I'm glad I read the bug discussion before this discussion.

1. jwz is sorta famous and cool, I think. I've heard of him before this (and I'm not exactly hip!).

2. Debian is well known, too! /understatement

3. jwz put a timebomb in xscreensaver.

4. The timebomb displays a message if current date > source code date + 18 months.

5. The timebomb has been there for at least three years. See https://github.com/Zygo/xscreensaver/blame/88cfe534a698a0562... (Unofficial repo)

6. I'm with Debian on this one. Sorry, jwz.

7. I really, really, really like xscreensavers and want it to stay in Debian! :(
Storj – Decentralized Cloud Storage
Spend the limited time of a technical interview on technological matters.
Finally I'll switch to Serde JSON :) I use beta and beta is 1.9 today, with awesome features stabilized!
My younger cousin has an Xbone and I've seen how awful it can be with WiFi. In this case, anytime there's some interruption in WiFi the thing requires a cold reboot to reconnect (even though it claims it's connected and all services are operational) and sometimes having to forget and sign back in to the network.
it starts with the speed, atom is clunky and slow. If I do not have any other alternative them Atom is good enough, but geany and vscode are way way better than atom. I'd rather do all fancy plugin stuff of atom using python and use geany than use Atom because of its slow speed. I wonder why anyone isn't doing anything for that considering github is the company being atom and that vscode and atom both are based on electron yet vscode is so damn faster than atom
Pretty interesting interpretation of free will - and for that matter, luck.
Interesting that they decided to release 1.0 before sorting out the coreclr/dotnet story. My understanding is that Mono is still the best way to write C# with VSCode, even on Windows.
>> "Nope. If you were sensible you would put the money you saved by renting into investments, and you would have at least a year of runway before being on the streets. With a mortgage (assuming your mortgage is higher than rent, and you can't save much) you will have about 90 days before being kicked out."

That's assuming your rent would be cheaper than your mortgage. My impression is that it's the other way around and that's what my assumption was based on. Also, if you lose your job you can probably re-negotiate mortgage payments. That's not going to be possible when renting and if you have a family finding somewhere suitable (still close to schools/doctors etc.) and less expensive is going to be difficult - especially considering you'll need to come up with another deposit.

>> "Belfast is completely different to London in terms of commuting. Also, house prices haven't gone up the same way they have in London."

You must have missed the sentence before what you quoted: "Also, outside of London I don't think commuting is as big of a thing here."
Because it's a syntax that needs no extra explanation.

It's not a superset, so no extra add-on features need extra doc, and it's less of a subset then JSON so the rules of what's disallowed are much simpler.
> ...it's the broken ones who turn to crime.

If law were derived from universal morals (heh...) then that might be accurate. But due to the relatively arbitrariness of whether or not someone is a criminal, especially with respect to the great variety of countries in which virtually all of HN would be criminals for freely speaking about various topics, I think it's a bit presumption and mean to call those who "turn to" crime as broken.

Additionally, I would posit that many criminals are not "turning to" crime so much as not "turning away." By that, I mean that crime is not sought out, but rather the criminality of their actions is ignored, much like I presume the mindset is of the majority of jaywalkers.

> Furthermore it's the EXTREMELY broken ones that become the crime lords etc. and those people often have massive flaws in their character such as the arrogance you described.

Once again, I take issue with the use of broken to describe someone's actions simply on the basis that a group of people disagree with them. "Extremely broken" implies some serious psychological issues, which are not at all requisite for running an illegal enterprise. I would posit that many of the people involved in controlling bootleg DVD sales or knockoff brand name goods are in fact very normal and psychologically uninteresting.

I do agree with the assumption of arrogance, as much like politicians, the drive to control on a grand scale typically requires a decent amount of ego, it's incredibly difficult for an individual to exert control of an empire with humility, although I think it's possible, it's just very unlikely outside of a very peaceful organization, which his was most certainly not. Violent groups of people are difficult to control in a non-Machiavellian manner (I would think impossible, but I haven't given it much thought) and I sincerely disbelieve one could rule in such a manner without a decent ego.
His chapters is called "The captain of guards" and not "Areo" as is the way chapters of the main POV characters is named.
> You know, I think this is the first opportunity for "think of the children!" to be a rally in cry for something meaningful

No it's not, because that's going to blow up in your face. This law is going to be put in place to protect the children. Bad people can't hide child porn. Bad people can't hide their plans to hurt your children. Bad people can't ... etc. Hand in hand goes 'good people' can track your children if they're kidnapped.

Think of the children always works in the favour of those trying to consolidate power.
I'm in a somewhat similar position although I'm not in the UK. I've spent a good while "under the stone" working on my product and I do have some great relationships with investors/customers, but I don't have any strong connections with technical folks so it's a bit lonely at times. In all fairness though, I've been so busy lately that networking isn't a top priority.

If I were you I would try to find a Meetup and invite myself, get out of your comfort zone. I've had a lot of success doing that and it's one of the better decisions I've made in the past year.
I have the same thought running through my head while perusing each Rust announcement. Python has the Python Enhancement Proposal[1], and Bitcoin has their Bitcoin Improvement Proposal[2]. On the flip side, this does have the side effect of forcing me to click through to each Rust RFC linked in the announcements just to be sure.

[1] https://www.python.org/dev/peps/

[2] https://github.com/bitcoin/bips
So, this looks pretty damn awesome, and I want to try it out yesterday! Seems like a lot of people are worried about privacy, and I guess I understand that. But I want this for when I'm learning a new language, and I honestly don't much care what happens with that code.

Also I think people are way too worried about their code. It's vanishingly rare that _the code_ is where the value in a business is. "But if I had Google's source code, I could run my own search engine and put them out of business!" Really? Could you? Because last I checked, Google has more engineers working on search than any other company on the planet. The stuff they do next week is probably going to improve their code more than what you would do by yourself for the entire year. And that's just the code, there's far more to search than algorithms.
That might work for programming languages (C++'s bad rep nonwithstanding), but for data exchange formats you cannot cherrypick features, you have to support the whole spec, and nothing else.
Honestly, I thought JSON was already very human readable/writable.
Big Cities Are the Future of Global Consumption
package pleasePutMeInYourVendorsDir

import (
"io"
...
)
...

func sureYouCan() {
// ...
io.EOF = io.ErrShortWrite
// ...
}
I never got around to use Rust, maybe I'll get some good answers here on HN, how does Rust compare with Go/Python/Java?
If you liked Eclipse, then you should take a look at IntelliJ IDEA (and its companion IDEs), they are a leap forward from Eclipse.
Back to the Future: Unix Wildcards Gone Wild (2014)
Simplify your AWS config with Cumulus
Which usually isn't good enough for high-risk investors in VC firms. Marginal returns on 30% of investments is likely worse than marginal returns on an index fund.
I think you just proved my point of why no one is changing their mind on this issue. You went from saying you had a trivial mathematical argument to debating semantics and disagreeing on the meaning of the word "angel". Politicians thrive on those type of semantic arguments. If you want to change their minds, you have to get better at explaining that mathematical argument more convincingly than this video did or you did in your first post.
Work life balance is a propaganda spread by people in tech only. You should look how hard the doctors and nurses are working in emergency room and getting paid so much less.

These all talks from tech people sound really idiotic. So just shut up and go back to work.
>No, socialism says focusing on group cooperation optimizes aggregate wealth. Socialism says that somewhere between a completely shared economy and a completely private economy is a sweet spot where you get the best of both worlds.

Socialism may claim that but the results are very anti-social as demonstrated in my previous comment. You say "no" in response to my comment concerning socialism preventing two people from entering an agreement--then why can't I hire someone for $4 an hour, if that's what they and I agree upon? That's just one of dozens of possible scenarios I could mention which socialism prohibits.

>You're very focused on this "socialism is anti-social" stance

Yes, as that was the idea I was refuting from the parent comment.

>but not only does it not make any intuitive sense, it is not backed up by any data. Show me a modern, prosperous state that absolutely abstains from social programs or promoting collective interest.

Does the absence of a modern state which meets this criteria prove the point? Hardly. It does not follow. We need not compare state to state, as socialist programs are typically applied to individual sectors of an economy. Take any sector of the modern economy which is heavily affected by socialist programs and you will find a sector which is scraping by. You will find corruption and you will find greater public outrage. Healthcare being a prime example. Ironically progressives blame the short comings in these sectors on capitalism.

>The very idea of a state is a threat to (completely) free exchange of property and labor.

I agree. I would like to see more thought, more experiment and more results to see how little of a state might be accomplished.
It is a similar design like maybe how to QT editors are similar design.
> I love linux/unix, but the problem always was with the lack of an awesome text editor cum IDE, yep there is eclipse but it is too clunky, I do not like sublime as it isn't FOSS (call me crazy), gedit took way too much memory, geany is fast and mean but the UI sucks plus functionality isn't that great.

Atom & IntelliJ?

"gedit took too much memory" - what? It eats like 5-10Mb...
Then one day you find a bug in your code and now will have to find all copies of it and to make things worse someone else modified some of the copies so now not all of them are identical.