skysight-inc/HackerNews huggingface dataset:
> Please please please follow whatever style guide is handed to you. I am so sick of looking at gobbledygook code.

You might get either absolute refusal or slow subversion from me there. In my current place of work I was initially handed the utmost horror of horrors of style guides, namely the so-called google style guide. A thing that is optimized to result in code as unreadable as possible. Rebelling against that worked pretty well, so now the thing is gone. And, honestly, if I am ever going to apply for a job and hear that they use the google style guide I am not going to work in that place. I don't follow style guides. Style guides follow me. Currently planning the next rebellion as the utterly evil practice of demanding that every method shall be commented has emerged from whatever wretched place such things emerge.
If this is true it's a perfect example of Goodheart's law. Maybe they assumed they were making it faster to choose content.
Hmm what is the modern file sharing thing that we are supposed to use that is not Samba? if I wanted to share some directories on my LAN that can be browsed/read/written to by non-technical users without extra software what is the right thing to use these days?
Also has a few commits since then. The impression I get from the repo is that it's "done", not "discontinued".
There's also the "It's what all the cool companies are doing" factor.
I have no strong love for s-expressions, but objects and arrays are programming language constructs, not data format constructs. There's also no way in JSON to distinguish between an int and a float and a decimal type, but that's fine because it's a data format, and not a programming language literal.

The JSON and s-expr have a different indent level, which is why the hierarchy is less obvious to you.
Not on the heap, but it can certainly have uninitialized variables on the stack. These cannot be created in normal Go code but the optimizer may decide to leave some values uninitialized when it determines that this is safe to do.
There was a time where every login was followed by auto-playing trailers for a show about suicide, during a time that I really just didn't need to be seeing that. With no way to prevent it... other than canceling and ceasing usage.

I don't understand the dark patterns and general user hostility. I don't need to watch Netflix 20 hours a day to feel like I'm getting my money's worth. Do they somehow benefit from me utilizing more of their bandwidth, if I'm already paying?
Backup is on a separate network.

The network is segregated to limit impact if they do get hacked.

To keep everyone familiar, Data Recovery processes are practiced regularly.

...
Perhaps you're unaware of the panoply of extremely postmodern memes that come out every week in the darkest crevices of the internet?
IntlliJ has a depth of code understanding unmatched by any other environment I've tried. Perhaps someone quite expert with emacs could improve on it, but at a great cost in time.

VS Code doesn't come close in these terms - editing in it is still 'editing text'. But Microsoft has been very canny with the combination of WSL2 & the VS Code remote extension - allowing essentially a true linux programming environment accessed via Windows GUI. That even tempts me, and I'm a fairly diehard Intellij user.
Stay in the Game – Albert Bridge Capital
My prediction: this will accelerate a housing crisis.

The cap on rent increases and the other restrictions on landlords will make it a lot less likely that rentals will be offered.

The lack of protection for single family dwellings will make those areas a lot less attractive.

If you want to get more of something, regulating it and increasing the cost of it, and increasing the regulatory uncertainty is a surefire way to do the opposite.
Wealth Distribution Analysis
Superhuman: Breakout Company Memo
I rarely ever use actual vim, mostly when I'm in the terminal. But I have vim plugins for most IDEs I use (VS code, intellij, XCode). It makes editing so much faster. When I have to get by without it I feel as if someone put weights around my wrists. The reason I don't use Vim is because it's frankly not a smooth experience for most languages (unless you fiddle around a lot, and even then I found Ide+vim plug-in superior). I do hope Neovim will solve this, though I didn't test it because the last time I checked windows support was experimental.
No punishment is enough for auto-play previews.
I wouldn't even use nano for typing notes; I'm so used to vim that I don't see why I wouldn't want its powers, even for something as simple as writing notes. I might very well want to reorder the notes, for instance: that's very easy in vim with dd/p. nano might have some Ctrl-key combo that does the same thing, but why bother learning that when I already know vim?
That was then but this is now :-). Microsoft now employ Samba Team members, fully document all the protocols used by Windows and help other vendors implement them.

This is not your father's Microsoft :-).
So then it seems like using "is" in the first sentence would be strange? I do not understand why the usage would not be consistent.

> Facebook is trying really hard to plug...
Yes, I agree targeted ads work for some things, like people who are wanting to find the thing the advert is for. But the claims being made here are very different - that ads can "capture" people politically even if they didn't set out to be converted and this was "pivotal". I'm very skeptical of this claim and the only studies I'm aware of refute it.

To be clear, I'm not arguing that voter databases are useless: they're useful to get your own base out to vote and not to waste time canvassing hard-core supporters of the opposing party. This isn't the sort of data people are hyperventilating about when they talk about Trump, Brexit or Cambridge Analytica, is it?

But even if data was useful in this way, why would that be bad? If data is used to most effectively focus effort on convincing people, they're still convinced by the arguments at the end of the day, and feel they made the correct decision. What's wrong with that?

Google has shown this with an experiment called the redirect method in which they used ads to target and deradicalized potential isis members.

I recall this claim. It's implausible on its face.

The problem is they have no idea if the people who saw the ads were actually potential ISIS members. This isn't a precisely defined term and they can't test that theory against reality - it's not like normal AdWords where you can measure against sales to figure out if the ad viewer was really interested in making the purchase. The assumption that they targeted "potential ISIS members" was based on using (some admittedly clever) keyword choices and then assuming the only people who search for those things are people who want to become a jihadi - a massive and untested leap of logic.

They say over 320,000 people clicked the ads in only 8 weeks. That's a staggering number of supposedly potential terrorists. In 2014, when ISIS was growing in strength, they had only about 14,000 fighters according to US intelligence. So they're claiming they "redirected" a population 20x the size of all of ISIS in only eight weeks. If there were really so many people trying to join ISIS at that time their army would have been vastly bigger.

Much more likely, the vast majority of people who clicked the ads had no intention of ever becoming a jihadi and their campaign achieved nothing.

The suicide ad is much more believable - it's well known that many people who attempt suicide don't really want to die, they just want help.
> 2. Real-time preview of regex search

Doesn't vim have this by default these days?
Disneyland Under Construction [video]
Last time I tried the 'Getter & Setter' extension, it was quite a pain compared to PHPStorm. I had to click on each of my variables to generate a getter and setter. Wish it was just let me choose which variables I want to generate getters and setters (issers and hassers) for.

I really like to work in VS Code when I am on my home laptop (as in: not at work) but things like these more or less force me to keep a PHPStorm trial version open in the background.
The Future of the City Is Childless
I just don't feel like Netflix is made to make my video viewing experience better anymore. They don't take customer feedback seriously, they're removing features that people obviously love, and becoming victims of the ever-growing race to "increase engagement."

1. Autoplaying trailers: Netflix straight-up says that's not going away (https://twitter.com/Netflixhelps/status/947587245086859265), and I haven't met a single person who actually likes it. When stopping to talk about a show, my wife just mutes the television on the main screen, and I navigate to the Search screen, which is the only one that doesn't autoplay something. It's almost hostile amount of "HERE LOOK AT THIS SHOW" going on, and I despise it.

2. Removing reviews: If you've been on Netflix long enough, chances are you remember the pages-long reviews left by extremely passionate users on all kinds of films. Netflix just decided one day to throw all that away, probably because negative reviews decreased engagement or some other silly reason. The users added value to your service, and you actively threw it out. This also had the side-effect of tossing aside the count of films I've watched or rated, which I found to be an interesting bit of data.

3. Shuffling algorithms: Maybe I'm doing it wrong, but I have a difficult time navigating to anything that's not a specific title. Genres, their weird made-up categories ("Comic Book Superhero Movies" or "Classic Sci-Fi and Fantasy"), or even foreign films. There's no way to browse this stuff unless the category happens to pop-up on screen. In addition, the "Continue Watching" category moves around randomly. Sometimes it's right at the top, sometimes 3 pages down. Similarly, why is "My List" not always at the top? It used to be a top-level navigation element.

4. Already seen: There's no way to hide anything in the UI. Not things I watched, not things I'm uninterested in, and certainly not things I dislike. I used to be able to signal disinterest in shows; now I can't.

I could go on at length despite having already done so, but I think there's more at play here than Netflix's catalog. They're showing that all they're chasing is more money and bigger deals, and damn what the users think. Maybe I'm wrong; maybe it really is their "content slate drove less growth in paid net adds" this quarter, but I'm willing to bet that (at least in part) it's because even Hulu, owned by a bunch of traditional television media corporations, gives more consideration to its users.
I'm curious to understand what you're describing. Can you give an example of a Netflix show, the season and political trope, and how it detracted from the show's quality? And I'm definitely curious what you're imagining as you write out "repulsive".
Hanlon's razor says to give this organization the benefit of a doubt, but to see this space go up for sale makes me sad.
Why are you not supposed to use Samba ? Samba works great as an SMB 2/3+ file server. Both Mac's and Windows use SMB3 as their native file sharing protocol, and Microsoft employ the cifsfs (SMB3+) linux kernel client maintainer.

It's just easier to keep using SMB3 :-).
Every thousand years this metal sphere ten times the size of Jupiter floats just a few yards past the Earth.
You climb on your roof and take a swipe at it with a single feather. Hit it once every thousand years til you've worn it down to the size of a pea.

Same thing but start with the biggest vim config you can find.
I've grown quite dependent on multiple cursors myself. Supposedly, Kakoune is a vim-like editor with good multiple cursors support.

http://kakoune.org/
Just out of general interest, do you watch foreign TV and movies at all then? If not, why?

Or just dubbed? If so, how do you bear it?
Emacs has a built in tutorial. It is advertised on the welcome screen. You may find that it is a thoughtfully constructed and actually quite helpful. You won't be able to finish it in five minutes...
It is not obvious to me that reducing the cost to consult public data is necessarily a good thing. Just because this data is accessible, it should not amways also be accessible inexpensively. Example given: trial records should be public but it would probably not be nice to have all your judicial record displayed in people's glasses.
>> with most changes such as removal of the rating system being universally criticized

Being a dinosaur, I remember when Netflix would let users write reviews for shows/movies they'd seen.

Does anybody know why they discontinued their review system? Did they not want to deal with all the sticky content moderation issues?
Medallia Stock up 76% on the first day of trading
How does it compare in binary size?
A most excellent answer :)
using the ambulance for a free ride is a huge risk: you'd have to be insane to try this. If they get your name, you'll be out 4000$!!!!
The freeloaders love it because it helps them goof off together and they have no need to concentrate because other people carry them
Presto at Pinterest
If only there was a technology solution to eradicate this office politics?!
There are subgroups with above-replacement total fertility. Some people don't want to continue existing, but not everyone.
What I don't understand is whether you think the post actually broke a rule or whether you were simply policing it out of fear of a future crime. I believe the latter is wrong. I say that as someone who's also moderated some high-traffic forums.
Also of note, the first part of https://vim-adventures.com is fun. I expect the rest is too, but I got sticker shock when I went to buy. Probably worth it for someone who doesn't already know vim well, though.
That could work! They just need to show some examples of using it for that purpose.
So are your IntelliSense extension and the PHP Intelephense extension competing solutions? Why? Isn't there a way to join forces?

And I have to say that I've had better experiences with the latter. Also "last commit: 14.11.2018" on IntelliSense doesn't sound that great.
From the linked project page:

The stable version of miTLS including the new 0.9 release are written in F# and specified in F7.

Excuse my confusion.
Yeah, I think what they want are the options

set hlsearch
set incsearch
Ask HN: Is Important vs. Urgent Broken?
I'm experimenting with yet another planner / organizer, and like many it allows me to flag tasks with some combination of "important" and "urgent", and based on that they go into a quadrant to a. do, b. schedule, c. delegate or d. delete them.

And as I was going through that, I realized I have a host of ideas that I don't plan to do any time soon. They're certainly not urgent, but they're important to me, but I don't have any schedule for them. At some point, I'll finish a current project and pick one of them up.

Maybe these task managers are just not well suited to anything beyond errands, though ideas lists must be pretty common. Or I'm just going about this the wrong way.
Yep a more appropriate term would be "older".
Just going to gloss over using PHP 5.4?
I'm back to a send-CD service like Netflix started with. I love this mode: I maintain a list of movies I'd like to watch. I have two of them available to watch in the evening. No Ads. No continue seduction.
Tell HN: Review your password/2FA setup – too easy to recover?
Today I left my phone on a coach. I immediately locked it, and revoked its login to the most important parts: Keybase & Google account (Android) in my case, and then chased it down. I later revoked its access to Firefox & Lockwise.

Once I recovered it, I was able to sign back into Google by pulling the password from Lockwise, which was still showing all the passwords I use in Firefox. That my Google account is one of those is an error of judgement on my part, and I will be fixing that; I'll also be filing a bug report about Lockwise not actually logging out.

I do have 2FA on my Google account, but of course, that's on the phone too. I will also be adding fingerprint requirment to access that, if supported.

The point of this post is just to say (perhaps bugs like Lockwise's aside) - how confident are you really in your accounts' security?

When I've caught my breath or had a night's sleep I intend to thoroughly review and categorise everything in some way that I can be confident there's not a recovery path that doesn't require at least either something else I have or something I know.
Bypassing Headless Chrome Tests, the game goes on...
Consider, perhaps, the alternate case: where your medications are not going well. Tons of people people will power through feeling awful and won't go see a doctor until they're half-dead.

Is it not a societal good to make sure somebody at least gets eyes on a patient? To me, the failing here is the cursory lack-of-care of your doctor, not the notion that you should see a doctor to check in on your meds.
I’m not usually a “let the market decide” person, but ARIN has only made this problem worse with their idealism over reality policies. Their response has continued to be “time to switch to ipv6” which grossly oversimplifies the reality of the issue.

Oddly enough, the Europeans, through RIPE are doing it right by allowing a market system so that unused but assigned net blocks can be sold to people that actually have a need for them.

I’ve also faced denials from ARIN for tiny allocations, with a clearly justified use case. They are a miserable bureaucracy to deal with. But as others have indicated, there is still a lot of IPv4 that is allocated to organizations but completely unused.
Some "public" records are in the gray area as in; should or should they not (black and white) be published. For example salaries, the employer might forbid disclosing salaries, but anyone can just request anyone's salary from the government because its public. But if they could be downloaded from an FTP ...
ARDC is notorious for radio silence followed by soundly rejecting claims for address space. They're absolutely squatting on it and hoping it flies under the radar, as noted in other comments.
I'd prefer it to be a bit more battle-hardened before going into a widely used browser.
You sure you aren't looking at the organic ones? They are smaller.
I do not have a completely fair comparison. But a migration from Elasticsearch 5 (2016) to the Vespa 7 (2019) we reduced half of our nodes, and cut in half the average response time. Another amazing feature during the migration, is that Vespa allows you to reduce or increase the number of nodes dynamically. And it take full care about the data distribution.
In ES we (used to) had to follow the limits of the pre-configured number of shards/replicas during the Index creation.
Honeycrisp apples are awful to grow. Terribly fragile, etc. but they distort the market through demand in such a way that farmers in places that can't grow them well still have to.
Every jar has a lid
Thanks for the heads up before I read the article!
Nah, more like clicking one node and then another and having them snap together and union their children.
“crossed with Enterprise”

I can’t help but read this as a B2B software pitch.

I imagine a landing page that says this is the fruit that consumers know and love but is somehow more robust. Instead of pricing by the pound or bushel they would have “click here to speak with a representative.”

Does Gartner have a magic quadrant for fruit?
>I have a hard time imagining our apathetic population going to war with each other in our day and age

I don't think our population is that apathetic, and I don't think a return to 60s & 70s levels of political violence is really that farfetched. It's what was normal just one generation ago! Small scale groups could conduct random bombings, lone wolf types can carry out assassinations, etc.- this was my parents' generation in a nutshell.

The US has political radicalism (including but not limited to religious fanatics), a violent population relative to other developed countries, obviously lots of weapons (over 300 million firearms!), a very high level of military training/combat experience/institutional military knowledge from 80+ years of wars, loosely organized 'militia' groups, tons and tons of rural areas to hide in, a sympathetic population in those rural areas, etc. We literally check every single box that countries with insurgencies check. I expect a return to small-scale political violence in my lifetime (with gun control, not immigrants, as the flashpoint). Look at a group like Oath Keepers as a great example of who's potentially the most dangerous.

Honestly, my biggest fear are not insurgents but far right-leaning police & military personnel. That's how countries move from insurgencies into coups
Given their development was at WSU, they've been "sort of available at times" for a few years, but not like mass market available.
Swap caps lock and escape, then set the bottom row from the left as windows key, alt, ctrl, space.

Then you can easily use ctrl with your left thumb.
There's a bigger problem than stated here. In the 1930s, the feds were confiscating gold. They were forcing people to sell their gold to them at a low fixed price.

FDR put out an executive order forcing people to open their safety deposit boxes in the presence of IRS agents.

Here's the order:

By Executive Order Of The President of The United States, March 9, 1933.

By virtue of the authority vested in me by Section 5 (b) of the Act of October 6, 1917, as amended by Section 2 of the Act of March 9, 1933, in which Congress declared that a serious emergency exists, I as President, do declare that the national emergency still exists; that the continued private hoarding of gold and silver by subjects of the United States poses a grave threat to the peace, equal justice, and well-being of the United States; and that appropriate measures must be taken immediately to protect the interests of our people.
Therefore, pursuant to the above authority, I hereby proclaim that such gold and silver holdings are prohibited, and that all such coin, bullion or other possessions of gold and silver be tendered within fourteen days to agents of the Government of the United States for compensation at the official price, in the legal tender of the Government.
All safe deposit boxes in banks or financial institutions have been sealed, pending action in the due course of the law. All sales or purchases or movements of such gold and silver within the borders of the United States and its territories and all foreign exchange transactions or movements of such metals across the border are hereby prohibited.
Your possession of these proscribed metals and/or your maintenance of a safe deposit box to store them is known by the government from bank and insurance records. Therefore, be advised that your vault box must remain sealed, and may only be opened in the presence of an agent of the Internal Revenue Service.
By lawful order given this day, the President of the United States.
Franklin Roosevelt – March 9, 1933
Interesting, don't know much about the spousal rights thing as never been married but felt like they are asking too much info. I figured it's to try and collect if you don't pay since also employment info was a question.

I know I heard in Europe there's some law called PSD2 that banks would provide standard APIs too, but haven't been following that space since not in Europe. I know there's budgeting and other apps but they login to your bank account and scrape the data. I was using a app that categorize your spending for a little while but got sick of it making me relog my accounts over and over. I think one of my credit cards was thinking their servers were trying to hack my account. So a actual official API sounds like the move in the right direction.
Without any insider information, I feel confident guessing that the accuracy number is merely % correct in environments where people quitting is relatively rare to begin with. If 95% of people aren’t planning to quit next year, 95% accuracy is remarkably easy to achieve.
It used to have this.
The recommendation engine used to actually be good.