skysight-inc/HackerNews huggingface dataset:
>> If we don't want new file we can redirect the output to same file which will overwrite original file

You need to be a little careful with that. If you do:

uniq -u movies.csv > movies.csv

The shell will first open movies.csv for writing (the redirect part) then launch the uniq command connecting stdout to the now emptied movies.csv.

Of course when uniq opens movies.csv for consumption, it'll already be empty. There will be no work to do.

There's a couple of options to deal with this, but the temporary intermediate file is my preference provided there's sufficient space - it's easily understood, if someone else comes across the construct in your script, they'll grok it.
>Even on an ipad, which I think is the standard device these days

I would want to see some statistics there. A quick google search yields the following article from last year, which states that the PC is still the majority ahead of any type of mobile device, let alone the ipad as a subset of mobile devices.

http://marketingland.com/report-nearly-40-percent-of-interne...
I think the answers to those two questions are roughly yes and yes. I get the impression a lower percentage of people here go to private schools in general (and could be totally wrong), but many do. There are also plenty of other opportunities that are easier to access with wealth. Even with public schools, wealthier people tend to live in school districts with better schools.

There's no simple scaling factor because there's no numerical value to scale (admissions at places like Harvard are not just an objective formula of grades and test scores) but background is certainly taken into account. A kid going to a school without lots of AP classes isn't expected to take lots of AP classes, for example. A kid from a rough economic background who has to work a minimum wage summer job for financial reasons will get more understanding than the rich kid who chooses a summer job for spending money instead of volunteering in a research lab, and so on.

As I mentioned in another comment, I think one challenge is that it is harder to differentiate kids without these opportunities. To use the AP class example, you can help separate kids from top schools by looking at how many/which AP classes they took and what scores they got on the tests. If you take a similarly sized cohort of kids at a school without AP classes, how do you differentiate them?
C++ Truths: Fun with Lambdas: C++14 Style (part 3)
Snapchat valued at $10bn by Californian investment firm
How to Get Started Building Mobile Apps with Meteor
Or just use a better lock. Pin-tumbler locks are just awful and inexcusable. We have know that they are bad and had better options for more than 5 decades. Yet for some strange reason they have managed to maintain their market dominance in the US. Every year they add new mitigation features that generally either don't actually work, or if they work, they just make picking it a tiny bit harder. If you want your front door not to be easily pickable, just get Abloy Protec or a similar lock for it.

Of course, the reason for this is that criminals largely don't pick locks.
I thought the same thing -- cool, an Amazon-commissioned phone! I was hoping it would be along the lines of the very good quality, inexpensive and well reviewed Amazon Essentials "store brand" products that they've been selling such as batteries and USB cables.

Instead, it's this pricey, gimmicky thing that proposes to make it drop-dead easy to buy stuff. Like I need another excuse to spend more money. Thanks, I'll stick with Nexus devices for now!
I recently started using Dropbox to share a folder between two linux Desktops (a household shared Calibre ebook library). My criteria were: Free for some level of service (5GB or so), and decent desktop integration (It baffles me that Google Drive still doesn't have this).

After a bit of experience with the service, I now have a third criteria: a case sensitive backend. I have had to unsnarl several dozen problems in the last week simply as a result of file and directory name changes where the only change was in capitalization (Dropbox then creates a new folder or file with '(Case Conflict)' appended to the name).

Any suggestions for a replacement that meets all three criteria?
They say they’re overstating our charges by a factor of ten.
Of coz Cloudflare already state those number are ratio only. I am not sure if Telstra were taking those into account.
Orthogonal to the point he's making.
No, it shouldn't. The caption says it the center of mass was calculated in 3D then projected onto the closest surface point. Changing the projection used wouldn't change the position of this point.
I drive a Jeep Wrangler. 2012+ they have a 120v AC outlet, cigarette lighters (one in the front, and one in the back where you can connect refrigerators and such), and multiple USB ports. Including a USB port inside the center console which locks, allowing you to charge your phone securely while away from your vehicle with the top off.

It's also worth noting that an adapter that connects the 12v in any car to a USB outlet can be had for less than $10 on Amazon.
Sure, but it's secure enough for giving friends access to my laptop without them being able to look around the rest of the system.
CourtesyImplementation (2004)
lol who cares?
Do you remember when this was? Multiple rows of pins have been around for ... well, since 1848 at least, but in modern locks, Kaba & Sargent (later bought by Kaba) have been using multiple rows for many decades.

Doesn't actually prevent bumping, though! Additionally, the "angle between the rows" is interesting in thinking what exactly he might have said. Sargent, again, with the Keso introduced the idea of somewhat variable spacing of the pins in the Keso.

Additionally, if we're talking angles, there was the Medeco Biaxial (often confused for the original Medeco lock) which introduced the idea of "fore", "center" and "aft" positioning of the cuts in the key/position of the chiseled tips of the pins.

The former, Sargent, can still be readily bumped as even though you won't always know if a pin will be present, you know every possible location of the pins and can adjust accordingly. With Medeco, it's significantly harder, though they caused themselves problems with a heavily restricted code book so that the mere visual observation of the first two pins in the lock could give you a very good idea of the positing of the other elements and allow you to make a few possible bump keys to attack them. They've since fixed that problem.
You are correct, dockersh is a shell. It spawns a "proper" shell (e.g. bash) in a docker container when you log in.
Anti-spy technology remains hot a year after NSA leaks
I'm using Boxcryptor Classic on daily basis for many of my projects and it works really well. The only problem I have seen was caused by Dropbox path lenght limitation. If you opt to also encrypt the file/directory names that paths quickly become too long for Dropbox in certain cases (for example Java projects which tend to have deep directory structures).

I decided that a good compromise is to leave the file names unencrypted and just crypt the contents. This way it is also easier to recover some old versions via Dropbox Web UI if needed (you don't see the contents, but at least you easily see what file you are dealing with).
Where does the idea come from that information cannot be destroyed? Is that supported by strong evidence, or is it just an assumption, axiom, or hypothesis?

My intuitive sense is that information can be created and destroyed. For example if I arrange wooden block letters to form a sentence, I have expended energy to encode information. If I scatter the blocks randomly, I have expended more energy to destroy information.
> Pretty similar to libvirt sandbox (done about 4 years ago):

Or how we ISPs gave dialup modem users their own login shells in mid 1990's:

http://www.freebsd.org/cgi/man.cgi?query=jail

I can't find docs for the chroot shell we used back then, but what we did was along the same lines as this:

http://www.aarongifford.com/computers/chrsh.html
Well I'm more than happy with my HTC One (M8), and the other people I know who own Ones are too, and the same can be said about the Sony XPeria flagships which are very nice too. In contrast, Galaxy owners typically complain about lag and crappy interface, and their phones seem to break all too often... but too many people seem to drink the Samsung kool-aid and just won't look at other brands' offerings.
As far as I understand Dropbox is still using Amazon S3. S3 according to their pricing calculator is roughly $26/month per TB (not including outbound traffic). I'm sure because of Dropbox's multi-PetaByte scale they have negotiated better prices with AWS. I wouldn't be surprised if they are paying $20/month per TB. The amount Amazon charges for data-transfer is quite crazy roughly $120/month per TB. If about 10% of data on dropbox is transferred out on a monthly basis than Dropbox total cost for storage is roughly $20 + 0.1 * $120 = $32/month per TB. Thus in order to break-even they are probably expecting the average paying user to use less than 30% of the 1 TB space. (In reality that is less since Dropbox has a free-tier they need to amortize along with marketing expenses, employee costs etc ..)
Ruby version usage in commercial projects, 2014 edition
I pay $9.99 a month for Office 365, which comes with a terabyte of OneDrive. Except that I can have five accounts on my Office 365 subscription, and EACH OF THEM gets a terabyte of OneDrive, plus each gets full access to Office 2013 and the Office webapps. It's a much better deal than Dropbox, even after this price drop.
So tell me how one would have bumped an Ikon SK6 in the past.
Yep the main reason here is them being cheap. I did travel with some people who really had to save up for this so cheap flight + cheap stay it was :)
Shameless plug for my product, ExpanDrive

http://www.expandrive.com/expandrive

Mount Dropbox as a network drive. Smart local cache. Access the data on demand without syncing the repo in first. Also supports gdrive, s3, sftp, onedrive, box and more.

Makes a 1TB account make a lot more sense if you only have a 128GB SSD. Use selective sync with the primary client to only sync a portion of your Dropbox. Then use ExpanDrive to offload the rest and access it as needed.
How about dividing the domain and hosting cost for the year across the group's 50 members . . . and maybe they can all take you out for dinner for the effort of putting together the website.
I think it's probably a more accurate statement to say that scientists do not respect the critical thinking skills of artists. The fact is that many artists feel the same way about scientists. Feynman wrote about this in some of his memoirs.
Could I also use this to resize images? Or convert them to a different format? That would be interesting in some cases.
one more from google

https://developers.google.com/chart/interactive/docs/queryla...
I see.

Do they have free healthcare in Alabama?

GDP isn't everything.
Yes. The feature of these locks is that now you can bump them with 3D-printed keys.
A bug: I clicked "SEND VOICEMAIL" multiple times and it sent a bunch of emails to my test address.
uniq also doesn't deal well with duplicate records that aren't adjacent. You may need to do a sort before using it.

sort | uniq

But that can screw with your header lines, so be careful there two.
She's a war criminal.

I unfortunately can't avoid produce and my pants (although I'd sure like to!), or thoroughly vet all of my local coffee shops' bean sources. I can, however, choose not to use this service.
Total Linkbait.
My experience with Onedrive (when it was Skydrive) was fairly straightforward: the OS X client crashed all the time, when it even started properly at all, and the Windows 8.1 integration worked flawlessly. Dropbox, on the other hand, works flawlessly on both.

I trust that Microsoft will be around longer vs. Dropbox in its current form, but I'm still not convinced that Microsoft 'gets it' yet. With the new third-party cloud integration in iOS 8 and Yosemite I think this is a great opportunity for both to pick up a lot of users, though, and it'll even the playing field as far as engineering goes, so this is a good time to be on either one.
I'm not really disagreeing with you, just saying that full coverage isn't important to some people. I feel like the available analysis tools for Angular are pretty good. There are definitely some gaps, so maybe I'll change my mind later, but the advantages of its data binding are greater than the advantage of being able to use more analysis tools for my purposes.
Sit down with my energy drink and breakfast sandwich while reading through logs from the previous day.
Why not divide by land area, since that has as much to do with GDP as population.
Russia Is Invading Ukraine Right Now
You can do this without sorting:

awk '!x[$0]++'
What are the good tools to monitor network traffic that run on Linux? Probably, there are better open-source alternatives to this?
I'm one of the maintainers for LibreJS, and we are discussing the issue of triviality right now. If you have any input, don't hesitate to send a message to the mailing list (help-librejs@gnu.org) -- https://lists.gnu.org/mailman/listinfo/help-librejs
ExpanDrive is one of those names I've heard for years, over and over. Looking at the feature list, I can see why. Thanks for making such an amazing app!
I'd recommend Office 365 Home Premium. It includes 5 user accounts, each getting 1TB of OneDrive storage and access to the full MS Office Suite. The retail price is $99/year, but you can typically find discounts, e.g. here it's $70/year http://www.bhphotovideo.com/c/product/917386-REG/microsoft_6...

The native integration with Windows 8 is also quite nice. If you're not on Windows it still might be worth considering just based on price alone (especially if you use MS Office).
Show HN: Ragged Dick Meets Silicon Valley
I've been working on a modern rags-to-riches story, and I need feedback. The link to a pdf of the first chapter is below. Please let me know what you think!

https://docs.google.com/file/d/0B5pJiMhEI_cyRDUwSTRFVnhZQXc/edit
By pinning the cert, the inspection of the protocol wouldn't have been possible the first place, since the app would reject fiddler's SSL cert. The tinder APK would only contain the information needed to verify the cert, not generate a valid one. If this wasn't the case, SSL would be useless.
To shamelessly plug a much more minimalist solution, https://github.com/polydawn/siphon-cli can also give you new shells shells inside existing containers (or whatever; it's more like screen than anything tightly bound to docker).

Siphon does nothing but create and forward psuedoterminals, so it has a lot less features to directly interact with docker than dockersh appears to have, but it's also able to do its job without root or any priviledged syscalls, and doesn't rely on any knowledge of kernel namespaces at all. Which is more useful may depend on your perspective and usecases.
List of ethnic cleansings in 21st Century
That is very shameless indeed... However it is warranted. I've actually been looking for something like this, especially a something like this that supports Hubic!
Dear Linux, I'm leaving you for Windows 8
Timetables, a new type of to-do lists, without the actual lists
For anyone without a concept of the Minecraft team size: They have 12 coders and 5 artists. With the business and infrastructure teams included, Mojang has 40 people.

Source: https://help.mojang.com/customer/portal/articles/331367-empl...
Yay, another linkbaity apples vs oranges comparison. As per the comments mention, no accounting for social services like health care.

(I'd love to downvote but I don't have the karma)
This is not a fair comparison.
Is there any workaround?
Daum-Kakao merger approved
Interesting comment from a thread on ARRSE about that article:

"It would also be the most populous by a very wide margin so would get double the number of votes than the next nearest state which would mean we would have the balance of power in all elections. Now wouldn't that be fun"

[NB I don't think it would be wise to directly link to ARRSE from HN]
BlockSign Utilises Block Chain to Verify Signed Contracts
Whoever downvoted my previous comment, can you explain to me why you care about Dropbox Pro?
Thanks! I think it could be an awesome game/concept if I spent a little more time on it. As it is... it's just an oddity.
My point wasn't that there aren't multiple types, but that someone who wins both the IMO and the Fields Medal is exhibiting at least two "types" of genius at once -- normal thinking but at a much faster rate (IMO); slow thinking but at a much deeper level (Fields Medal).
Your sales growth sounds good . . . the investors are looking for something you have that your competitors don't.

I would focus on your customers . . . maybe even do some quick phone interviews with them . . . or look over your feedback/support requests and add some features they request that would make your startup even better, providing them with more value . . . there are always ways to innovate and do it better than the other guy while providing more value to your customer. Then outline a few of these differences to your potential investors.
The Silent Yield Killer Lurking in Your Garden
It's not a skip-list, though it is some kind of a graph. I once tried to think of what kind of a graph it is, because it has some weird properties. It is a directed acyclic graph with 1) a fixed number of paths, 2) and each vertex occurs on each path exactly once, and 3) the paths are mutually exclusive, i.e. you cannot traverse one path half-way to a vertex and then follow another path from that vertex. I'm not sure if "mutually exclusive" is the right term... maybe a formal Graph Theoretic definition could be created based on some sort of coloring or labeling of edges.

But when you put these properties together you essentially get a single structure representing multiple lists. That is, given items 1 - 5, you could arrange the pointers to traverse them in orders [1, 2, 3, 4, 5] or [1, 3, 5, 4, 2] or [5, 4, 1, 2, 3], but not [1, 5, 2] or [1, 2, 3, 2, 1].

What I don't understand is why anyone would put what is essentially a number of different lists into a single list. I see no advantages either in algorithmic complexity (traversal and addition/insertion/deletion operations are still the same complexity) or implementation. In fact, I can easily see the implementation being a nightmare. It's tricky enough deleting a node from a singly-linked list. I cannot imagine a problem this was invented to solve that could not have been solved more easily with multiple linked lists. Maybe the problem was non-technical, e.g. "get a patent to put on my résumé".
When gas stations are selling e-cigs, how is that a techie-bubble at all?
The two differences I can think of are

1. If you don't assume exception throwing (which
may be valuable) then you can more easily distinguish
one failure from the other.
2. It reflects in the type a more accurate representation
of the effect going on. If such distinctions are
undesirable it's a trivial `join` to eliminate them
but if the distinction is never exposed then you can't
get it back.

So really, my thought is that given greater opportunity to distinguish between end-user meaningful effects it's worth exposing them by default. It should be a deliberate choice to hide them with join.
Get top trade-in dollar for your old iPhone while waiting for the new one
EZ Entrie machines[0], first of all, as they've been around for a decade or so and are purpose built to mill one-off high security blanks out of brass, so they're significantly more effective than their plastic counterparts. They are admittedly expensive, but when I briefly had access to one the gentleman running it was cutting me fresh blanks for a Euro a piece. They also have rather jaunty bows with smiley faces inscribed in them.

Additionally, people have been bumping things with just about anything that can fit into a keyway, it doesn't particularly matter if it conforms to the exact shape of the key, so long as it can still interact with the pins directly. So, bent sheet metal with teeth cut into them, flexible grocery loyalty cards, etc. have all been used by folks in the locksport community to bump locks they didn't have proper blanks for. I can't deny the SK6 (and many Ikon locks, they are vicious) didn't have a particularly murderous keyway, but the possibility of carrying out a percussive attack wasn't nil.

[0] http://www.qtactical.com/easy-entrie-key-machine/
Show HN: Magnetiq – Just a nice unfinished game
Ask HN: [Feedback Request] ECG Based Authentication
Hey Guys,

Who: We are two ( http://sutas.eu ) ( http://alesisnovik.com ) Computer Science & Electronics graduates from the University of Edinburgh.

What: We’re making an ECG (electrocardiogram - i.e. your heart signal) based authentication device. A first prototype will be a small USB-enabled device which you can stick on the back of your laptop/desktop screen. It will have two touch sensors where you place your index fingers for authentication.

One can store a private key and your ECG template on the device. For example it could be used in: two factor auth; logging into your user/OS; decrypting your HDD; filling master passwords...

Why: Passwords suck. We believe that because you’re already unique you should not be required to remember passwords or carry additional items with you. (plus it’s awesome!)

Progress: So far we've made proof-of-concept hardware (on a breadboard) and software library. We are able to successfully identify a set of 50 people with 98% accuracy.

Feedback: We’re looking for feedback on:

1) the idea (e.g. passwords are fine as they are)

2) proposed implementation (e.g. no one will want to stick something to their screen)

3) possible use cases (e.g. driver identification in a car)

4) would you use it? (we’re thinking of releasing dev kits soon)

5) how much would it be worth for you?

P.S. If you're interested in a demo kit sign up https://docs.google.com/forms/d/1imZBazwucEn0IpnH9TwBEERP4aUZ0fqVXbs31vEiOT8/viewform and we will keep you posted.
it's exactly the same as with America (the continent)

Where is this continent called "America"? I've never heard of it. I've heard of "North America" and "South America", but those are separate continents.
JPEG-XR conversion with auto browser detection, optimize images for IE users
He must be surrounded by yes-men, because you'd think there would have been some push-back from people who know what they're talking about.

Elite techies and brand specifiers are panning the Fire phone; why didn't Amazon reach out to such people sooner and find out what features they are willing to pay for?

The Fire phone is hobbled right out of the gate by a non-standard Android version and a non-Google app store. They have to offer something more compelling to customers than "it will scan things into your Amazon shopping cart".

As others have suggested, bundling 5 years of Prime membership would have been a nice start. One year - not so much. I, like thousands of others, am wondering whether or not to renew my Prime at $99. Do I really need to spend that much money just to spend more money? Starting to doubt....
You are going to hate the new --upcoming-- BTSync.
I agree. I have the $99/year plan. It's like getting Office for free. I'd love to support Dropbox monetarily as I've been there since the early days, but having an integrated office suite beats it out.

What they should do is partner with Corel and offer Wordperfect X7 with Pro, or have a $129/year version that includes it.
Chrome Extension: View customer history by highlighting an email address