skysight-inc/HackerNews huggingface dataset:
Or even better ipython / Jupyter notebook
Something similar happened to me with an old location-enabled iPad. The iPad was showing up in a different country, and I was flummoxed on how to proceed as I didn't feel my local police department was going to follow-up with separate country.
I still exist without Facebook. The people in my life I care about know that they can email me (to a non-Gmail account).

It's not that impossible to be "off the grid" so to speak. The vast majority of Facebook interaction I see is pretty banal anyway. I don't feel like I'm missing out on anything.
Should also state that the relatively democratic, even anarchic nature of 4chan posting is the single best mirror of my own thought processes I've encountered in my time on the internet. (Maybe a little less porn gets posted in my brain, but you get the picture.) While it has its flaws, I think it's really a great way to mimic some sort of collective consciousness.
Wouldn't the answer be to disable adblock?
I'm not picking on you specifically but when people say things like "Unix gives you brain damage" this is what they mean.

Your suggestion is that the network should be reliable (a strict impossibility) or that every application should use a bespoke protocol to do simple things like working with a network file system.

The Unix IO model isn't well designed and is far from the only Unix-ism to work poorly in the face of threads (signals and fork/exec are common offenders; not even memcpy is safe in a signal handler!)

This is hardly surprising: it was slapped together ad-hoc over the years.
Or, you know, you could actually pay for a reddit app without ads.
You must be blessed enough to have a fast upload speed. I'm still trapped at ~10Mbps. Thanks, Spectrum/TWC!
Clearly you've never run any of the object detection nets. State of the art is still 70 fps on Pascal for a 300x300 image.
Long time Ubuntu user here.

The solution to your problem is data encryption. On Linux, there are different levels of data encryption, whether you want to encrypt the whole hard drive or only the /home partition (where all of your private files will be stored).

The ArchLinux Wiki has a very detailed page [1] about all the available options for disk encryption.

Regarding Ubuntu, when you install it on your system, it will ask if you want to encrypt your /home partition [2] or your whole disk [3].

I got my laptop stolen in France last summer, and as much as this was a pain in the ass, at least I didn't have to wonder if the thief had access to my private data (photos, documents and the like) since the /home partition was encrypted. Hell, the thief probably had a WTF moment when (1) he discovered it was not a French version of Windows but an English version of Ubuntu running and (2) when he discovered it was a Taiwanese laptop with this keyboard layout [4]. Good luck to sell that on the French black market :)

[1] https://wiki.archlinux.org/index.php/Disk_encryption

[2] https://www.howtogeek.com/wp-content/uploads/2012/06/ximage8...

[3] http://www.tecmint.com/wp-content/uploads/2016/02/Ubuntu-16....

[4] https://c1.staticflickr.com/8/7501/16104079539_00c39c200d_b....
> How is a syscall-level timeout more useful than a whole-application watchdog for handling flaky mounted filesystems?

It's more useful because once you enter into a syscall, it's out of the application's control.

The kernel's off in its happy place doing whatever it does, and the application has no control over that other than being able to specify timeouts to begin with or having async epoll-like interfaces.
It's not really a credible idea that an industry accounting for 0.05% of U.S. GDP somehow manages to out-lobby the industries representing the other 99.95% of GDP, so as to keep tax filing complicated when otherwise there would be a critical mass in favor of simplification.
I use Netguard (https://github.com/M66B/NetGuard) and found it to be better polished than DNS66, check it out if you're interested, I'm a happy user.
You can black/whitelist per site in chrome://settings/content -> manage exceptions
Thanks, nice to know there are lots and rather large usage of FreeBSD companies sticking around.
It's already been mentioned that the egress limit is 1 GB.
Because iOS apps don't have ads, right?
I see where you are coming from but this just does not fit the way a typical rails coder operates.
You can effectively get wait() with a timeout by setting a handler for SIGCHLD, spawning the child, and using select(). This works on all UNIX and gets you everything signalfd would. And as long as you set the handler before you start the child, you don't have to worry about the self-pipe trick or pselect, since you avoid the race condition. The sigtimedwait() approach also seems fine.

The big trouble you have is that there is no approach to signals that composes; if someone else is waiting for a SIGCHLD via some other means, you're likely to eat the signal they were waiting for. If you're particularly unlucky and both children terminate while you're not scheduled, you'll only get a single SIGCHLD - even with siginfo_t, all that means is at least this child exited, maybe others did too.

Perhaps the better approach is to just spawn a thread for this, which is also the general-case answer for every other syscall, whether it's wait(), mkdir(), readlink(), or sync_file_range(). On the other hand, threads are a "now you have two problems" sort of solution.... I'd like to see a generic API where you can submit any system call to the kernel, as if it were on another thread, and select on its completion.
> Why would anyone oppose a simple system like this?

Because you want to make people angry and upset at least once a year at the government? Because you want to remind people that taxes are something the government takes, instead of letting them think of taxes as money they never earned to begin with.

I love paying my taxes, but if you think taxes are bad (and lots of people do), then the current U.S. system makes total sense.
> Your description sounds more like the far-right than anything else

Generally both extremes of the political spectrum are immune to reason, and these two extremes seem to now have taken over in the US. What remains is a shouting match.

What a friend of mine described from his recent visit to the country really concerns me. Hotels either showing "conservative" or "liberal" media only. People and cars with stickers and pins everywhere. Exactly like two football fan clubs - unconditional support of the own and hatred of the other.

Americans, you need to fix this as quickly as possible. Truly liberal minded should stand guard when conservatives are speaking and vice versa. Go into the details of each argument and find common ground, points of content as well as a synthesis. And stop listening to organisations like the "Southern poverty law center" who go as far as labeling Maajid Nawaz and Ajaan Hirsi Ali "Anti-Muslim extremists". In fact, stop with the labels altogether - if full blown KKK members and even grand dragons can be befriended and turned by a black musician [1], I think it's time for those shouters to stop and think about what they have done personally to mend society.

[1] https://en.wikipedia.org/wiki/Daryl_Davis
Imperial Airship Scheme
LOL. Who said anything about an underground gas tank, pricing, or a display? If you're adding pricing, you have to add a payment system. It'd be out of place for a Vehicle to know anything about paying a bill. Objects just model reality; they don't have to mirror reality.
As if. At $WORK, we service requests (millions per day) that require access to NFS mounted files [1]. A network hiccup could effect one request but not another. I'm not sure how a "whole-application watchdog" would work for us.

As it is, the main thread will schedule a "wakeup" from another thread whose sole existence is to interrupt file system calls stuck in NFS. Yes, it would be nice if such code didn't have to exist. But it does.

On the plus side, it's there for a feature that isn't used that often. On the bad side, it's there for a feature that isn't used that often.

[1] Like most such decisions, it was a political decision [2] rather than a technical decision.

[2] Strippers and steak, baby! Strippers and steak! And those responsible are not bound by their decisions. We lowly engineers are.
The web wasn't stolen we gave it to them. You didn't have to sign up for Facebook. You don't have to sign up for googles services. Look how people like RMS use the web .
Actually, both their data center and their support team are located in Lithuania.

Time4VPS is essentially the international brand of the largest ISP in the country.

I was sceptical at first, but I have a VPS running there for a few months, serving 100k hits per day, with no technical problems from their side so far.

I just used their support once, but they responded in minutes.
For me the path has mostly been BlueJ (Java) to Eclipse (Java) to Visual Studio (C#) to Eclipse (Android) to Intellij (Python/Android/JavaScript) to vim (JavaScript/Python).

Some people try to turn vim into an IDE. Personally I like to use a real IDE when I feel like I need it (when I'm working in an unfamiliar codebase or when I need to debug).

I love vim for writing small programs (command line utilities and client side JavaScript) and editing code (such as HTML, CSS, LaTeX). For single page web applications the best IDE for me is the browser in combination with a simple text editor.
South Korea Does Impeachment Right
A First in Decades, More Businesses Are Closing Than Opening in Most Metro Areas
One of my complaints on the subject is that academia is so fascinated with OOP. I took multiple courses on the subject, and the issue I'm hitting is that your "proper" example would probably have failed me a course, because the "bad" example you've given is exactly what we were taught.
In our case at $WORK, it's because we have hard timeouts to meet our service level agreements with the Monopolistic Phone Companies. We need to return a response within X time, no exceptions.
Perhaps someone more familiar with the topic than me can answer, but I believe the warhead casing protects from most external explosions (unless it is direct high-kinetic collision).

If it does penetrate the casing, I believe it would not trigger a nuclear reaction but rather become a dirty bomb. This is obviously still bad, but NOT AS BAD as you might think.

Side note, I'm not sure why the article says kiloton? Does the US still use kiloton warheads in its arsenal?

Either way, the reason for the reduced detonation (or imputed dirty bomb) is because multi-megaton nuclear detonations require hexagonal detonators arranged around in sphere with near-perfect implosion timing so it creates the appropriate nuclear reaction (which must implode before it can explode). If a detonator is triggered arbitrarily, I think a dirty bomb would be the only effect (yes, still bad). If the timing is off, then I believe the detonation would be kiloton, not megaton (reduced effectiveness).
Not Ruby but for C code, I like Redis's code:

https://github.com/antirez/redis/tree/unstable/src

I don't personally use the product, but I find the source well written and always share it as an example of nicely done C code.

Here is some nice Erlang code I like -- network packet parsing:

https://github.com/msantos/pkt/tree/master/src

Notice how concise this is:

codec(
<<4:4, HL:4, ToS:8, Len:16,
Id:16, 0:1, DF:1, MF:1, %% RFC791 states it's a MUST
Off:13, TTL:8, P:8, Sum:16,
SA1:8, SA2:8, SA3:8, SA4:8,
DA1:8, DA2:8, DA3:8, DA4:8,
Rest/binary>>
) when HL >= 5 -> ...

This is due to the beauty of binary pattern matching. You could kind of do it in C by casting to a struct but notice here it is also calculating header length (HL) as part of the match operation. So it can do a bit more than just casting a binary blob to a struct.

Another thing here is that it is also big endian by default so there is not need for htons(), htonl() and such functions sprinkled throughout the code.
Iceland Exits Capital Controls Eight Years After Banking Crash
It appears that you now have to create an account in order to see what's being presented for funding on Indiegogo. I'm not that interested.
Is RuneStoneInteractive (RSI) secretly implying that we should think twice about becoming too good at programming through their educational materials?
I'm surprised most people don't think like this.

I think that we have a cultural problem. People chose to take out loans for their tertiary education because of our beliefs in the tertiary educational system. College is to get a job, but we believe it's there for us to "discover ourselves." And that's how we end up with accountants.

Sometimes I wish there was some website where non-partisan smart people scientifically identified the current problems and come up with a finite, exhaustive list of possible problems. And then, determine the amount of money it would take to test a hypothesis. If they do and it fails, then they must take into account that hypothesis and correct for it.

How much money would need to be raised?

It's just too bad that I've never encountered anyone in real life that thinks like this. It feels so intuitive when you approach it like a computer problem.

I think the problem is that that political science is paradoxical in itself and goes against on of the most important tenets of science and reason: that we must give up our beliefs if the evidence proves them wrong.

Is there anyone out there who is balanced enough to actually be bipartisan? How would one search for such a unicorn? Is it really impossible?
This irreverent spirit is exactly why trump won.

Compare his campaign messaging with some of the messaging out of the clinton machine and you will see how deep it goes.

Consider Trump's
1) Make America Great Again (subtext: we've been letting the establishment make america not-great)
2) Build a wall (subtext: I'm going to do something audacious and unpopular and there's not a damn thing they can do to stop me)

Clinton came back with several messages beyond the core "I'm with her" and none of them stuck, because they were the sort of thing you'd hear the teacher's pet say. Nobody likes a teacher's pet--they're no fun at parties.
A friend of mine used to be in the Navy nuclear power program, and worked at LLNL for a bit, too, and he talked about how they would throw nuclear material in the back of a van and drive it around. And this was in "Nuclear Free Zones" in the Bay Area. It is so sad to see people protesting and blocking trains carying low level nuclear waste (like the suits workers would wear at nuclear power facilities) through their towns, when this kind of far more dangerous shit is going on and know one knows about it.
It shows the problem with short-term vs long-term interests. For people it made a lot of sense to use these services individually. But collectively, it leads to undesirable outcomes.
I recently completed a trek to Everest Base Camp, and saw some incredible porters. Here are just a few pictures I managed to capture, including a mule who can carry two propane tanks while the porter was carrying five.

http://m.imgur.com/a/9mSNe
From the article's first paragraph:

> The use case is something like this: you spawn a subprocess, and you expect the subprocess to complete within ten seconds. If it doesn’t complete in that time, you want to treat it as an error (and perhaps kill the child).

I've had this exact use case myself, several times. It's painful.
"Wow, you mean Bitcoin fans were prone to exaggeration and unrealistic claims two years ago?"

No one ever claimed it actually processed 7 tps.

"Speaking of which, this graph you're showing me definitely has not quadrupled over the last two years."

It quadrupled from 65k in Oct 2014 to 260k today. It's 2 years 5 months. Close enough. "2 years" was an approximation (perhaps I should edit my post to make it clear).

"It is if the jobs never produce any actual value"

Well I think they provide value. But it would be tedious & complex to argue about this on HN by reviewing the list of employees at 729+ companies...
The internet started as a server-to-client effort, and the peer-to-peer nature evolved much, much later. The entire purpose of ARPANET et al in the early days was to give researchers access to national supercomputing centers across the US. If anything, what we're seeing today is a regression to the days of old because large corporations provide centralized value to consumers, and consumers can't pry themselves free.
True. In my case, I think the thief already sell it to another guy. Poor him, he got a locked Mac right now.
>The context you are referring to has repeatedly born out that American law allows private citizens to say or express anything, no matter how hateful, as long as it's not an incitement to violence nor slanders a specific party.

This is still very ambiguous. There are MANY situations where the above statement is not true.

>you and I will be considered the Nazis.

That's absurd. If you look back 100 years ago there are many people I would not consider a "nazi" so why would it hold true 100 years from now? Your rhetoric has very little substance. It's Godwin all the way down.

>Stop dodging, actually respond to what you're replying to. Do you consider capturing the hypothetical Nazi flag differently than the HSNDU flag?

I'm not dodging anything, I'm sick of people throwing around the freedom of speech like it justifies everything anyone wants to say.

To answer your question: As an individual I view it very differently.

BUT I don't think the government should snatch either flag, and if you're on someone else's private property doing so it should definitely be considered theft.
Just fill out the PDF and mail it in. Free no matter how much you make. They have been saveable for some years now so you can use them as records.
This book is amazing
Los Angeles Abandoned Underground Railway
You... love paying taxes?
because far too many people vote against their own interest just so gay people can't get married, or transgenders using the right bathrooms or to stop the war on christmas or whatever fake crisis was invented for that election year.
> Those "bleed the beast" pricks, extreme LDS sects, etc... all seem to have little trouble withholding taxes.

Those people live in isolation without corporate employment, use of financial institutions or the ability to hold title to a vehicle. Hardly "little trouble".
But it can never be truly peer-to-peer or decentralized due to the economics of last-mile connectivity. Connecting machines in a neighborhood is more expensive and difficult from an infrastructure perspective than hooking up a computer in a server farm.

This in of itself changes the costs and expectations of the parties involved which means things will likely slump back to a permutation of this status quo even with a different standard.
I suggest you stop thinking about it as a benefit and think about what it actually is, which is insurance.
My travel insurance is cheaper if I don't cover any lost property, but what if I need it? Anecdotally many young travellers who head overseas 'lose' their $1500 DSLR or their 6 year old macbook when in South America in order to make use of their $300 travel insurance
Apple allows ad blocking software in the app store.
> NFS basically assumes a reliable network. Operations should complete more or less immediately.

I don't know what you mean by this; are you claiming that NFS' design, by nature of being part of the kernel VFS, only makes sense in a reliable network because it pretends to work like a local filesystem? Then yes, we're discussing ways to fix that.

But if you're claiming NFS only works in reliable networks, that's absolutely untrue. NFSv3, at least, is designed to work in unreliable networks by being stateless (dare I say RESTful) and having well-defined semantics for operations that may not have completed. Close-to-open consistency is a way of sacrificing consistency for availability. And so forth. I've used it in production on remarkably unreliable networks and it absolutely works. But, of course, you need the application to be aware that it's using a filesystem that will expose the network's unreliability.

By "unreliable network" I mean a real-world network. I'm not suggesting NFS-over-wifi where you're expecting some sort of moshfs, I'm talking about inter-data-center WAN links, LAN links that occasionally get congested, etc.

> Filesystem bugs are filesystem bugs -- the application layer shouldn't have to work around them.

Shouldn't have to, no. But with the UNIX API, it doesn't even have the option of doing so. And being liberal in what you accept from others is a good way to build robust systems; this continues to apply when "you" is userspace and "others" is kernelspace.

For instance, a specific type of application, maybe a high-concurrency web server, might want to add timeouts on filesystem operations that can interrupt the current request and raise a 500 or something, but not abort the entire server. We have exactly this problem with https://lost-contact.mit.edu, a web server that quite intentionally provides access to all public AFS content via the web. It's running normal Apache on top of the normal OpenAFS client. Sometimes a remote AFS server maintained by someone else will go unresponsive, and eventually all threads on the entire Apache server will hang, one-by-one, making requests to the stuck server. There's no way to solve this in the UNIX design; we'd have to write a userspace AFS client to make this work.
Arq can write to Amazon Cloud Drive, which has unlimited storage for $5/mo.

I personally use Arq against Google Cloud Storage. I have around 1TB, and I use it to back up several external drives in addition to my MacBook. (Arq is nice in that it backs up the drive if it's connected, but won't prune olds backups if it's not, unlike services such as Backblaze.)

I think I pay around $6-7/mo. I use a coldline bucket, which is the cheapest kind of bucket. Restoring is super fast (unlike Amazon Glacier, which I used previously) and not too expensive.
Having worked in both Public and Private Australian systems as a Dr, and as a Medical Student in the US, I agree with your comments - we have a 'reasonable balance' of a system that does a reasonable job of allocating resources in a reasonable manner.
As you say, nothing is perfect and in anything as complicated as healthcare there are going to be inequalities and problems... But even on the healthcare investment side, our Government has made some really intelligent decisions and built some beautiful facilities recently. It is rare that I work in a hospital that has not had a major renovation within the last 5-10 years (or about to undergo a rebuild)
Nothing exciting to report. It was a resource-sizing problem and they didn't adequately separate prod and dev environments. Someone choked the dev and the prod went down with it.
It depends. Metadata is always redundant with 2 copies (even when using copies=1). So if the file's metadata is corrupted, yes ZFS will fully recover and rewrite a 2nd good copy of the metadata. But if the data is corrupted, then ZFS can do nothing to recover (you may be able to partially read the file, but the rest of it will return I/O errors.)
I wrote this from the heart. You can ascribe whatever agenda you want to believe. But I wrote this for founders and it is based on thirty plus years of working with founders. I don't want to see them get screwed and notes screw them over a lot
Actually, it is incredibly likely that they'll admit it, and that you won't have to go to court over it.

That's not to say that it will won't be a huge pain in the neck.
That's awesome advice, thanks for sharing. I'm in a similar position to the OP as a one man band, can you recommend any books or blogs on exactly how to start testing each channel? A lot of the advice I've come across only mentions it in broad strokes. Maybe there's some foundation level knowledge I'm missing but I don't know where to look next to get up to speed. :)
This would only present a minor annoyance as far as chemical cleanup operations go.