skysight-inc/HackerNews huggingface dataset:
Not sure if you'll find this delayed comment, but I can give it a shot.

There is a note on the linked video page about `set hidden`, but it doesn't spend much time explaining it. If we open Vim and type `:help hidden`, we get the following:

'hidden' 'hid' boolean (default off)
global
{not in Vi}
When off a buffer is unloaded when it is abandoned. When on a
buffer becomes hidden when it is abandoned. If the buffer is still
displayed in another window, it does not become hidden, of course.
The commands that move through the buffer list sometimes make a buffer
hidden although the 'hidden' option is off: When the buffer is
modified, 'autowrite' is off or writing is not possible, and the '!'
flag was used. See also windows.txt.
To only make one buffer hidden use the 'bufhidden' option.
This option is set for one command with ":hide {command}" :hide.
WARNING: It's easy to forget that you have changes in hidden buffers.
Think twice when using ":q!" or ":qa!".

The default state of `hidden` is off, so with that in mind, the explanation basically answers why Vim warns you about switching buffers. If you switch away, the buffer is "hidden" -- Vim keeps track of what is in it and doesn't unload it. That's probably what you expect, but can lead to loss of unsaved data if you switch away from a buffer, work on some other buffers for a while, then close Vim without coming back to the unsaved one. So by default, Vim wants you to be explicit when switching away from a buffer that will become hidden. In most cases you probably want to save it first.

Turning `hidden` on would remove the warning, you could switch away from an unsaved buffer with `:bn`.

So if you want to always work with unsaved hidden buffers floating around (view them with `:ls`!), you could add `set hidden` to your .vimrc. Alternatively, you could set up a command to automatically execute a save action every time you tried to switch away from an unsaved buffer. Notice that `autowrite` is mentioned in the help text above. Running `:help autowrite` shows:

'autowrite' 'aw' boolean (default off)
global
Write the contents of the file, if it has been modified, on each
:next, :rewind, :last, :first, :previous, :stop, :suspend, :tag, :!,
:make, CTRL-] and CTRL-^ command; and when a :buffer, CTRL-O, CTRL-I,
'{A-Z0-9}, or `{A-Z0-9} command takes one to another file.
Note that for some commands the 'autowrite' option is not used, see
'autowriteall' for that.

So if you added `set autowrite` to your .vimrc, instead of `set hidden`, you could avoid the warnings by automatically saving the file, rather than leaving it unsaved.

Hope this helps! One of the pain points of vim is that many of the defaults end up being somewhat unexpected choices. Many people get over that by just looking up someone's post online and copying in a bunch of settings. When you do that, you don't end up learning much about navigating vim and understanding the configuration process. You just end up with a new set of defaults that might also not quite be what you want. I try to keep my .vimrc pretty plain until I realize something could be better, then spend a moment to figure out how to do that and add it in.
Kogepathic posted this further down, its just two pads you'd put a 0 ohm resistor on or cross connect:

http://linux-sunxi.org/Orange_Pi_Zero#Passive_PoE
Canvas (the educational software platform) is down, and my friends/students are in bad shape now. 'sso.canvaslms.com' returns 504, assume from this S3 outage.
Thanks NSA! Where do you want us to send the bounty award to?
> Funny cloudflare is also having trouble, page only showed on the third request.

I bet they're related. The moment I got an alert of the S3 outage I started refreshing a bunch of status pages at a feverish pitch. Multiply that by a thousands of others doing the same and boom you've got the equivalent of a DDOS.
Trello API is up, so you can use any Trello client except the web client.
Bit of a difference here. TFA and Parent are discussing unilmited video game streaming packages, as a gaming parallel to Netflix or Prime Video.

You're linking to articles about cloud gaming hardware services, which could be used in tandem with the above streaming services, or could be used to play games you already own.

There is the possibility to create lock-in by tying the two services together, but hopefully market forces will prevent this.
Was Microsoft even notified about this? I didn't see any indication on the linked page.
It showed up during the big DynamoDB outage last year.
World Wealth and Income Database
There is an inherent "HOLY SH*T" moment that happens to all desktop developers when they transition to Web. You are used to one type of interaction when doing native that is pretty simple and straight forward.

The real killer is the move to asynchronous development for everything. In Delphi (and C# desktop), most calls can be made synchronously be default, and simply. No so in the web (yes, you can do synchronous web calls...but you shouldn't). And that is ignoring the whole statically-type-and-compiled language to JavaScript issue. And then dealing with a huge array of libraries, patterns, and best practices that are completely unknown.

Then comes out "why can't this be simple like what I was used to?" Actually, what you were doing wasn't simple at all, you were just used to it. You understood the complexity, so it seems simple. Web development also becomes simple once you understand it. But first you have to be willing to learn again.
OVH doesn't even want to take my money to keep my server running. Their auto-billing process is busted and when it goes wrong they just delete your server.
To be fair, "name a character in the game" isn't really "DLC", that's just the interface Steam has to give devs more money ;)
I wish somebody writes a book accumulating such stories. Nothing excites me more than learning from history.
Mucking with software installation without a package manager may be even harder sometimes.

A curated app store, akin to a Linux distro repository, is what's missing from Windows experience of many people.

But if you want AAA games, Windows is usually the easiest, or the only, platform. :(
Same here. S3 as a point of failure makes zero sense for dyno uptime, I'm very frustrated with Heroku. (the dyno was already running, no need to download a new slug in my opinion)
Same outage in ca-central-1
While this is a personal feeling and I don't have any data (metrics) to back it up: I think a large percentage (and probably a majority) of metrics don't end up helping a company once they are created - especially if any salary or bonuses are based on them. They are always so gamed that they become worthless.

This is a great case in point if true.
I've been getting intermittent Bad Gateways on HN for the last few days.

Ray ID: 33863460edf54231
Python 3's asyncio and aiohttp do the job for me -- I can crawl several times as fast as the article's 111 qps with just a single process. https://github.com/cocrawler/cocrawler

Of course, it matters what you're doing with the page content, and how you're managing your metadata, and all that.
I have:

- 2 paid for cars, one has 200k miles on it and is sitting dead in the driveway.

- a 1200 square foot house outside of town, not in a nice area. It's the cheapest house I could find and the only one I could afford.

- Internet.

- Cell phone.

- No cable, no Netflix, very little dining out (always somewhere cheap) and no other debts other than mortgage.

I have a decent income for the area I'm in, and still barely get by on a single income. I really don't understand how other people are making it. I'm either much worse off than I think or most people are just doing so much better.
PlanGrid (YC W12) Is Looking for a Head of Product, Fullstack Engineers and More
Ask HN: What problems have you solved in a “hacky” way?
I'm looking for a side project to learn new things. But I'd like to work on "real world" problems which could be useful for others as well (and potentially could even be turned into a product/service).

Let me define "hacky". I don't mean in an "ugly" or brittle way (even though one can include such a definition as well).
By hacky I mean a problem was solved by any kind of custom solution for which no project, product or service existed at that time. It can even be a pretty elegant solution. However, it probably isn't easily reproducible. Especially so by "non-developers" (but could potentially be useful to them).

Let's use Dropbox as an example. Before that, some used 'rsync' to sync files between two or more computers. Although this works pretty well, it isn't really usable by users who aren't keen about terminals. But now, with Dropbox anyone can do so with ease.

Another thing could be using Cron as daily reminders or monitoring if a website is still up every second and perform an action if not.

Looking forward to interesting answers and thank you for your time and input in advance!
To mitigate the effect of S3 going down I use cross-region replication to replicate objects to another S3 region. If S3 went down in my primary region I could update the app config to write back to the backup region and update the CDN configuration to use the backup region as an origin.

I did that out of paranoia but it turns out this could happen to us. Does that sound like a sensible approach?

Fortunately all my company's stuff is in eu-west-1 which still seems to be fine.
"Project Zero's disclosure deadline policy has been in place since the formation of our team earlier in 2014. It's the result of many years of careful consideration and industry-wide discussions about vulnerability remediation. Security researchers have been using roughly the same disclosure principles for the past 13 years (since the introduction of "Responsible Disclosure" in 2001), and we think that our disclosure principles need to evolve with the changing infosec ecosystem. In other words, as threats change, so should our disclosure policy.

On balance, Project Zero believes that disclosure deadlines are currently the optimal approach for user security - it allows software vendors a fair and reasonable length of time to exercise their vulnerability management process, while also respecting the rights of users to learn and understand the risks they face. By removing the ability of a vendor to withhold the details of security issues indefinitely, we give users the opportunity to react to vulnerabilities in a timely manner, and to exercise their power as a customer to request an expedited vendor response."

From https://www.engadget.com/2015/01/02/google-posts-unpatched-m...
In addition, that usability research is from 2001, and reassessed in 2006, with the conclusion "As technology changes the face of the internet, users’ expectations seem to shift as well." It's hard to wrap my head around how vastly different sites were designed (by and large) over 15 years ago. The basic UI skeletal structure is mostly there, but that's about it I think.

Some of the research still applies, but I wouldn't hold it up as a pinnacle of useful data during a discussion about best practices in 2017.
Python 101: Equality vs. Identity
Psychology of Productivity – The Full-Stack
Are any incentives affected by customer complaints? Because if so, all we need to do is complain and they might actually start using the status system meaningfully. (I'm sure this is wilful thinking, though; I doubt people don't complain in this situation!)
I've always held the following questions about space, and moon - in-specific - exploration:

* Why are we not placing a DNA/Seed-vault on the moon

* Why are we not depositing resources on the moon

* Why dont we plan, plant, place autonomous robotic pods on the moon that can be called down/up carrying various resources

* what happens to the moon if we transfer water/create water on the moon

* Why cant this be a global effort, in the sense that we are talking about colonizing/visiting mars, but we can't even colonize the moon? What/Who is blocking this effort?

* Why aren't we actually practicing mars colonization on the moon first???

---

There are so many questions that I have about moon colonization/exploration that are so flippantly replied to as cost...

It feeds my tinfoil: there are things on the moon they dont want us to see??? (I know, just as flippant - but c'mon humanity, get your shit together and put some known colonies on the freaking moon!)
And Swift.
Two novels off the top of my head with far greater significance that anything GRRM or SK have or ever will write that took ~10 years to write: Dispatches (1968-1977) and Infinite Jest (1986-1996).

Feel free to think that a novel is something one cranks out as if it's just an object that carries no meaning, requiring no sacrifice from the author. But that's an opinion, and not fact.
Apple's iCloud is having issues too, probably stemming from AWS. Ironically Apple's status page has been updated to reflect the issue while Amazon's page still shows all green. https://www.apple.com/support/systemstatus/
The only illustration that I know of a "typical set" is as follows:

Take a sample from an N-dimensional standard Gaussian. The square of its Its distance from the origin is x_1^2 + x_2^2 + ... + x_N^2. Each component of this sum has mean 1, so the law of large numbers says for large N, the sum will be about equal to N.

On other words, I take a sample from a high-dimensional Gaussian and with very high probability, it will live a distance sqrt(N) from the origin. Which is counterintuitive as you point out, since the most likely value is the 0 vector.
Exactly what I had in mind.
Article misses one of the big marks as to why WebASM could be faster. Manual memory management allows for much better cache utilization which is usually where managed languages spend most of their time vs native languages.
Quora is down.
Some Android apps use a keyboard to implement this [1]. The web view extension is specific to Apple's browser implementation so it works on "other" browsers such as Chrome and Opera on iOS.

In any case, it is a nifty feature that I think more Android apps should support.

[1]: https://play.google.com/store/apps/details?id=keepass2androi...
I wonder if flatter organizations with broader company decisions made through collaborative online discussion (ie. not face to face) would help? Obviously someone still has to make the call, but at least it lets people put their reasoning out there without dealing with the inefficiencies of meetings and the unequal opportunity they tend to entail for input.
> they use that platform to gather followers under the direct purpose of separating the white race from the blacks or the Jews or whoever the hate-object-of-the-week is

I find the sort of speech you describe highly unsavory, but I also disapprove of many other messages. Many people would advise Twitter to suppress the speech of gay people or immigrants, all the groups they hate.

The point of speech being speech is that it doesn't harm anyone. If some unsavory group manages to get 5K followers then I'd like to be aware of it and see what they are talking about.

Also, for the purpose of law enforcement, public Twitter activity could constitute signals intelligence to help stop crimes.

The idea that words have consequences (as you describe) is one of the most anti-liberty ideas in our modern culture right now. It's behind everything from unconstitutional "material support of terrorism" charges based on speech, to prosecuting journalists who report on classified information under the espionage act, to trigger warnings on works of classic literature, etc.

By censoring politically charged accounts Twitter likely benefits those groups by allowing them to skate by with coded speech in public but then keep their private rallying cries away from public scrutiny.

Keep in mind also that as a company, Twitter will be under pressure from interest groups and governments worldwide to suppress speech. Should we be allowed to criticize China on Twitter? Well, not if the China market becomes important enough to Twitter's revenue.

By failing to adopt a firm stance against censorship, Twitter has greatly damaged its credibility as a platform and opened the door to all sorts of censorship requests.

There are enough moralistic gatekeepers in the world, why should Twitter be another?
Well there has also been a long story of abusing trust on the good people's side. For example on feminism (where I've unwillingly studied the topic), the feminist version of the story is broadcasted loudly and men who don't agree are fired – happens to both laymen and CEOs. It's one thing to want equal rights and opportunities for everyone, it's another thing to impose unfair advantages. To me, people's unbeatable trust for Trump's racism and sexism just shows people are fed up with that.

To me, whether in US or Europe, people start rejecting "facts" because the centrist people take them hostage with "vote reasonably, and we'll shove more illegal immigration down your throats, more Europe, more women rights, more Muslims, etc".

So people go up the chain of politics and reach back to journalism which allowed these politics to exist, namely every article titled "SCIENTISTS PROVE AGAIN THAT MEN ARE PAID 31% MORE THAN WOMEN!" where you had to dive deep in the text to notice that this wasn't for equal work.

It's not that they trust Trump, it's that parties from left to right have entirely abused this trust to exhaustion, and journalism has badly participated.
Yeah, its just a voltage/clockspeed setting that was easily remedied in software.
* Hipchat file sharing no longer works, hangs forever
* CircleCI cannot access artifacts
I'm seeing problems with Kindle downloads.
That depends. In a lot of places, if you expose any wiring (aka, rip out drywall) you need to get a building permit and inspection for the work you're doing.
Get rid of all the fake users.
I hear that their process for updating the status page involves S3.
>I cannot get at my local big box and for less is almost always worth the occasional confusion

I've been finding a lot of things seem to cost more at Amazon lately - although I'm not generally looking at things that are very expensive - like <$50, so I'm probably seeing that "free shipping with prime" being added back in.
Is the manager of that group still working there post-outage?
That is a pretty awesome page.. way better than a page full of green icons, during an obvious outage... I like that they have writeups a few days after the incidents....
From Amazon: https://twitter.com/awscloud/status/836656664635846656

The dashboard not changing color is related to S3 issue.
See the banner at the top of the dashboard for updates.

So it's not just a joke... S3 being down actually breaks its own status page!
It doesn't appear to be global; my app in eu-west-1 appears unaffected.

It's possible that the console won't work however as I believe that's served from us-east-1.
Firefox 52 will ship with WebAssembly support in exactly one week. The era of a JavaScript monoculture on the Web is over.
Even Kindle books aren't able to be served; download attempts hang.
The lawyer taking on Uber and the app economy
That was true in the USA from the 1950s through the 1980s. Since then the middle-class has been more than decimated. Paul Krugman's book "Conscience of a Liberal" tells how/why this happened:

https://www.amazon.com/Conscience-Liberal-Paul-Krugman/dp/03...

I'm conservative in general, but I agreed with Bernie Sanders on (at least) 3 issues and have a 4th bone to pick with USA politics:

1) Privacy is paramount; the government should stay out of our lives as much as possible. "Terrorism" is no excuse for a government to monitor its citizens.

2) Taxes must be severely increased on the wealthy. "Death taxes" must be restored and income taxes raised on the wealthy. To do otherwise creates a situation where wealth accumulates to individuals w/o bound.

3) corporations must not be allowed the rights of persons. Campaign finance reform must occur and the power of special interests must be cut.

Until we restore heavy estate taxes ("death taxes"), income taxes, and reduce the political power of corporations as well, the USA will continue its long slide toward an economy like Mexico's, where there are only the poor and the rich, and no middle class.

Finally (something Sanders would likely avoid):

4) as part of (3), non-profit corporations and all foundations, public or private, (churches, foundations, organizations, etc.) should be both taxed and audited. Today they're little more than an end-run around taxation. They are too powerful politically. They're controlled by their founders and their families. They are economically inefficient - releasing their resources (by breakup, taxation, etc.) would boost the economy greatly.

During the Middle Ages the British and French took possession of the (then) Roman Catholic Church's lands, possessions and clergy. After all, the Church _was_ meddling in the political, and not the spiritual, realm. I think its time for the USA to do the same:

"Dechristianization of France during the French Revolution":

https://www.google.com/url?url=https://en.wikipedia.org/wiki...

"English Reformation - Wikipedia":

https://en.wikipedia.org/wiki/English_Reformation#Actions_by...
Woah Bro! :) That was awesome advice. I am aware of the desperation that sets in when we don't have a plan B. But I am resisting such a state of mind. I believe sometimes when you let go, your mind calms down and starts facing the facts.

Same here, would love to travel and take a break. :) For now as you have said, would take up another job and start planning my exit from the rat race. :) Hope I will get my ticket soon :)
Same with when we developed oracle forms apps in late 90s or to a lesser extend VB. So much slower and more complicated to produce something simple which works for 90% of cases for business apps.
Funny, status page is incorrect because of S3

https://twitter.com/awscloud/status/836656664635846656
Live sports rights are expensive. ESPN has been feeling the pain of having to pay the high prices while losing subscribers. Twitter wouldn't do any better with their ad-based monetization.
Judging an employee by "hours of ass in chair in office staring at computer screen is the most common startup metric. I dislike it as much as you, but that won't change anything on it.
Explaining SNARKs Part I: Homomorphic Hidings
QUESTION.
There could be data lost from this failure?
> Because we [sysadmins] will be the ones called to the carpet to explain why <services> are down when <provider> is lying about being up.

But isn't that the whole point of lying: to the less technical manager (often the only person whose view matters at major customers), the status board saying "up" means the problem is the sysadmins, not the vendor.
I think you are mistaken. Anything syscall-related is seen by SELinux which may accept or deny the request. Checking file access is one of the major use of SELinux. libvirt comes with the appropriate integration with SELinux (and Apparmor) to ensure that a QEMU process won't be able to read or write a file it shouldn't (and to avoid spawning process, transitioning state or poking into the memory or disk of a neighbor QEMU).

SELinux/Apparmor defeat most of the latest vulnerabilities in QEMU.
they have the chicken. just lay some eggs. i would probably make a micro payment system.
The truth is stranger than fiction.

https://twitter.com/awscloud/status/836656664635846656
Sounds like you want RSS and blogs.
Yes, we can. You can host static content in GCS in the same way that you would using S3, or you can Google Cloud Load Balancer to do more complex setups, such as mixing static GCS content and compute URLs on the same domain.

If you're interested:
https://cloud.google.com/solutions/web-serving-overview#host...
https://cloud.google.com/compute/docs/load-balancing/http/us...

Disclaimer: I work on Google Cloud Storage.
> On balance, Project Zero believes that disclosure deadlines are currently the optimal approach for user security

You mean, like when they disclosed the cloudflare vulnerability after about a week and then the web turned into a race to whomever could find older-than-a-week cache with valuable information.