skysight-inc/HackerNews huggingface dataset:
Lots of big companies (1) are still using Windows 7 and (2) don't allow users to install their own software (no admin rights). So they'd be stuck using IE 11. (If these companies use Chrome or Firefox, they're also not likely to have the very latest version, since they need a version that's been tested with their internal applications. Auto-updating your software is very risky if a bug could disable your business for a couple of days.)

I'd suspect that there are lots of smaller companies out there who are still using Windows XP (IE 8).

Don't expect a company to change its IT policies just to be able to use your software.

(I work in the enterprise software space, and my employer's customers include lots of big companies. We only recently dropped support for IE 8.)
> Doing websockets with something like Phoenix/Elixir means that you have to bring in Redis for pubsub between nodes

I haven't even tried this myself yet, but it's been stewing in the back of my mind: you should be able to (efficiently) pass sent messages between your nodes using server-to-server websocket connections.

You just need

• some supervised GenServers that establish and manage long-lived connections to your peers using a websocket client library, e.g. https://github.com/jeremyong/websocket_client or https://github.com/ninenines/gun

• a "server peer RPC" Phoenix Channel, that authenticates server peers in its connect/3 using a common pre-shared key (ala Erlang's own "cookie") or somesuch

---

Going a bit further: once you have these two components set up, you can actually extend it out to being a fully-fledged transport layer for the Erlang distribution protocol.

Look at the guide at http://erlang.org/doc/apps/ssl/ssl_distribution.html. It mentions two reference implementations of a distribution-protocol connection handler:

• inet_tcp_dist
(https://github.com/erlang/otp/blob/master/lib/kernel/src/ine...)

• inet_tls_dist (https://github.com/erlang/otp/blob/master/lib/ssl/src/inet_t...)

Between the two, the API an `inet_websocket_dist` would need to follow is pretty clear.

With such a thing, you get cluster-presence and cookie-based auth "for free", and automatic leader election for use with `global`. But most of what you want is probably just rpc:multicall/3.
Technically, the Cargo /already/ bundles a full copy of libxdelta as part of libgit2 (in addition to the separate Git binary delta algorithm); I just checked using nm that it's actually included in the binary. It could probably be removed, but, well, it probably adds a lot less than 44MB to the binary size :)

Alternately, since JSON is text, I suppose you could just ensure that whatever emits this hypothetical merged JSON file puts newlines between different packages' entries, and then use a regular text diff (on the uncompressed version, of course). But reading 44MB of JSON isn't instant; it would probably be better to switch to either a binary format, or even something silly like a sorted list of JSON strings separated by newlines.

There would be some incidental complexity around generating and applying the diffs… you'd probably want to precalculate them on the server side, but it could be rather expensive to, on every change, calculate a diff between the current version and every previous change. Instead, you could have daily checkpoints: each day the server would make a checkpoint and calculate a diff to the last N checkpoints; on every update the server would recalculate the diff between the latest checkpoint and HEAD. The client would store both HEAD and a reverse diff to the latest checkpoint (or just store the checkpoint separately and waste a few MB), so when it updates, it could revert to that checkpoint and request the diff from there to the new latest checkpoint; it would also request the diff from the checkpoint to the new HEAD. If its checkpoint is too old then it would just redownload from scratch.

Overall, not a trivial change, but probably not too hard either.

apt-get does something vaguely similar with its pdiff files.
Real state seems to be a preferred way to stash money overseas. Vancouver is full of homes without occupants in them because of this reason. They're now trying to mitigate the problem by applying a high tax penalty for home owners that keep their house without occupants, making it inefficient to buy houses to keep them vacant.

They also do it domestically, but leading to ghost towns.
Profits don't generally have a simple/strict meaning in business terms, AFAIK. Maybe you mean EBITDA? (earnings before interest, taxes, depreciation and amortization) I think even that is maybe not what you mean/wouldn't acheive your goals, even if it's theoretically unambiguous, because of what is invested in R&D/aquisitions/etc.

Also, presumably you're talking about new laws in the US here? What stops businesses from just moving their HQ overseas to places with different laws they like better?
I mean, you took a simple rule, got on objection, and made it a lot more complex. That's usually a sign that the underlying issue is not all that simple, and a simple rule will not remedy it.
Will this cause double-buffering (one buffer for host FS and another for BTRFS) with doubled RAM consumption?
I agree but also recommend the book "strategy of conflict" by Thomas Schelling. It's a counterpoint that shows why highly specific contracts are important, especially with regards to binding oneself to future actions.
If I was a teacher in that sort of scenario, I think I'd go ahead and teach the pupils, and take it as a challenge to keep on top of their hacks. I'm guessing it could be a lot of fun and all parties involved would probably learn quite a bit.
I guess I'm gonna have to write a blog post about how hateful Go is.
almost like the reverse of https://en.wikipedia.org/wiki/Rounding#Round_half_to_even
Microsort has taken a similar approach for adding long filename support to Windows 10[0].

[0] https://blogs.msdn.microsoft.com/jeremykuhne/2016/07/30/net-...
> In any case "it misses my pet feature" and "the whole multi-year effort is terrible" are not exactly the same thing.

It's clear from context that this is just an example. The issues with the Wikipedia editing UI are legion and described in many other places.

> You think it's too much and you have the ideas how to do it better - you're welcome to comment

Clean house. Put the people who built Zotero in charge.
Personally, I don't think it's a terrible thing that marriages end. If we all lived to be a thousand years, but our psychology and perception of time remained otherwise unchanged, I doubt many would make it the whole way from 30 to 999 with the same partner. I daresay that it would be rather unusual for anyone to do.

That said, for those who wish to see their marriages last, compromise and change tolerance seem quite necessary.
For iso images you can use fuseiso (https://wiki.archlinux.org/index.php/Fuseiso). While for all other purposes you really should take the time to learn about udisks. ArchWiki would be a great place to start.
Riot is a good one! Awesome location and fun company to work for.
Yes, he had a real world problem, discovered that there's not really a great solution in existence, made a new tool to solve it, and presented it in its entirety, all in a single page.
I could never figure out if it was stupidity or willful ignorance. Probably elements of both.

So I quit that company.
I guess you gotta decide if you like the "person" or something. Yea I don't know much/care about this topic.
I would think the leaders of said countries would count as those specific people...
For everyone who hasn't played SOMA, give it a try if you like video games and/or philosphy (related to self discovery).

The game itself has great mechanics, environment and audio. But the story is what makes me like the game more than anything. It makes you think.
> It should give us pause when free software/services have a significant amount of design in common with the lottery and slot machines.

Paid software, too, and especially video games, and even more so if it supports paid DLC, can also employ similar tactics that exploit human psychology for profit.
More succinctly: [A-z]+[A-z0-9_-]
Minimizing accumulated error. The term you are looking for is "banker's rounding"
Nobody seriously though Shuttle could bring back a hostile spacecraft. The logistics of such a thing are ridiculous. What Shuttle could have done was to bring back friendly sats. The only friendly sats worth bringing back would be something that couldn't be allowed to re-enter. The only things that couldn't ever be allowed to re-enter would be something nuclear, either a reactor or a bomb. Shuttle was envisioned as a system for maintaining some sort of nuclear tech in orbit. That never happened, but the worry that it would was a driving force behind Buran.
True, he appointed terrible people to the head of some important organizations. Dismantling them could be labeled "anti-establishment" but if they were a net win for humanity and kill/downsizing is a net win for business, that is clearly the establishment trope of pandering to big business.
I think you mean jaguars.
where are you based, and what do you do?
See also: https://www.reddit.com/r/shutdown
Well, Windows technically supports files with the reserved names - if you use the right APIs - but they break many programs including Explorer. You could make an analogy to Unix filenames with spaces or newlines, which can be created but don't work properly with some tools. (For spaces, try 'make CFLAGS="-I/path/with spaces/"' - there is no way to escape it or otherwise make it work. Newlines break a lot of stuff.)
Just look at Mac OS X, which is also from the Unix family. It has the feature of decomposing precomposed characters in file names, so if your software writes a file named "café" (caf\xc3\xa9), and later lists the directory, it will find a file named "café" (cafe\xcc\x81). That tends to confuse software which expects to find a file with the same name after creating it, like for instance git.

For a while, if you were in a team in which some developers were on Linux and others were on Mac OS X, and someone on the Linux side checked in a file named with a diacritic, on the Mac OS X side the file appeared to have been deleted (and a new untracked file with the "same name" appeared). Later git grew special code to work around this misfeature.

And yes, Linux has the "bizarre feature" of being way too permissive. A filename is a sequence of bytes of which only the null byte and the slash are forbidden, and only a single or double dot have special meaning; one can have files named with control characters, and/or with something which is not valid for the current character encoding (LC_CTYPE), leading to pain for languages which insist that a string must be always valid Unicode (this includes Rust).

But yeah, nothing compares to the madness that is forbidding simple names like "nul" or "con" or "aux" (alone or followed by any extension) in every single directory, made worse by the fact that you can create files with these names if you use a baroque escaping syntax (which is not available for every API), confusing every other program which does not carefully do the same.

And let's not forget about the fact that the file you just created might not be readable or writable the next instant, because some other process (usually some sort of "antivirus") decided to open it in a exclusive mode. I've seen several projects add retry loops when opening (or moving, or deleting) a file on Windows, to work around that issue.
and I stand by my interpretation

I can't figure out what your interpretation is. The picture you linked to in the NYTimes shows a woman who is unhappy her husband didn't live up to her illusions she had during the honeymoon stage. That is something that can happen to men or women. In fact, it used to be a stock joke: the woman who scares her husband without makeup once he finally sees her.
The cited paper is available at [0].

The discussions of reasons for divorce begins on page 4.

Edited for formatting.

[0] https://web.stanford.edu/~mrosenfe/Rosenfeld_gender_of_break...
depends on the interest rate on that loan.

if you are working for a large co, consider putting money in 401k first, and get (up to?) 50% match.
In the order I happen to think of them: Filenames may be straightforward on the filesystem level, but a lot of UNIX programs do weird things with them. Many programs use "-" to mean STDIN or STDOUT as appropriate where it is used. Bash has a somewhat ill-conceived feature where it synthesizes a /dev/tcp/$host/$port filesystem that will write to TCP or UDP sockets. Most people don't know about this, a few people think it's a UNIX feature rather than a bash-ism.

The fact that multiple /s will be normalized to be the same as one sometimes trips up security code or code trying to validate that some particular file isn't used (i.e., checking that the filename doesn't start with /dev or a list of other blacklisted directories will fail if the user passes //dev).

Symlinks! Oh, gosh, symlinks. Were this not a stream-of-consciousness dump they probably should come first. You can do terrible things with symlinks, like upload a tarball or zip file that creates a symlink to an arbitrary location in the system, then use that symlink reference as a directory reference to plop a file down. (Some archivers prevent this, others don't.)

Also, /dev is just a convention, it's possible to place device nodes anywhere you want.

You can also pretty much mount arbitrary things in arbitrary places via bind mounts. Hard links can also cause some fun with code that assumes file systems aren't cyclic. Windows technically has a lot of these features but they're harder to get to and less well known whereas UNIX uses the various links in base Linux installs and they're readily available.
I'm not sure how other package managers do it (it should be noted that this approach was designed to avoid some problems that other package managers have encountered), but there is still room for improvement here: ideally, I think we'd be hashing crate names rather than storing them verbatim on the filesystem, to enforce more uniform distribution in the trie.
Clearly you've never needed to plant a nuclear bomb on an asteroid hurtling towards the Earth.
Thats from 2015
> Roman soldiers to ancient egypt

Do you have some examples for these two, or maybe a link? I am interested in these subjects in particular.
Thats from 2015.
I got into Python/Django seriously in 2013, which is a fair way along in their history, and have loved it ever since. Now even doing async & websockets stuff using django-channels after thinking that would never be possible.

Wonder why the difference?
But if the voice recongition is part of your driving experience and it bugged out you can end up in a car crash. One such example is Siri and Google Home must hear the phrase to starts with 'Siri' or 'Google', but what if your car's has a bug and it heard you say 'stop the car'? Or that came out of your radio host's mouth? I remember a couple years ago some news covered this, you can trick Siri to think it was you commanding if Siri hears a conversation starts with the phrase 'Siri'.
Or literally a ... in the corner of the text box that changes to a check when it saves.
That's a rather weird graph - it doesn't show house price to income ratio at all, even though that's its title. It shows change in that ratio since 2010. Tells you essentially nothing about the actual house price to income ratio.
Ask HN: Looking for a product comparison system
I'm looking for something that shows a catalog of products, sort of like http://www.gigabyte.com/Comparison/Motherboard.

My staff should be able to edit descriptions and add fields to be compared, and all changes should be "version controlled" so that the diffs could be examined and stuff.

Has anyone seen an existing open source solution for this?
Preface: I don't think this is a likely explanation.

But if you think it is, there's a big advantage of kinetic weapons over ICBMs, namely that they are a lot more credible as a first strike weapon. ICBMs launches are quite detectable, allowing counter strikes (hi there nuclear deterrence).
Blatant sarcasm.
Such a system could orbit a number of times during maintenance operations of friendly satellites; It would not need the cross-range that the Shuttle was built for.

I get a lot of "Nobody seriously thought this", but the high cross-range required of single-orbit-and-land is the long pole in the tent that stretches the rest of the requirements; It's not a reasonable tradeoff unless espionage was a use-case that could not be ruled out.

Without the requirement to land a large cargo bay with an extreme cross-range, the optimal design looks nothing like the Shuttle. The Shuttle cost an order of magnitude more than that optimal design.
I think they meant paternalistic https://en.wiktionary.org/wiki/paternalistic
But it isn't just a 10 year old feature no one uses. It seems if you write to the NUL file in any directory it still works the same as writing to /dev/null today. There might be scrips written yesterday that rely on that behavior.
Keeping algorithm skills fresh?
Hi all,

I recently tried doing the TripleByte interview questions and found myself rusty having jumping straight into the long problems without reviewing.

I grinded on leetcode a few months ago but haven't touched on it since (I was doing React Redux Express in the mean time). My question is how do you guys keep your algorithm skills fresh? Do you go back and do questions before interviews or maybe do some every weekend? Anyone willing to share their experience?
I don't know that I would state it so strongly, but regardless, most of life isn't about raising awareness of meaningful things, and probably shouldn't be.
To me, it just seems like the problem is solvable by having really clean data (Maybe single data point has to be verified by a DNA test? There's plenty of ideas here) -- much more solvable than taking a random group of (probably) unqualified people off the street, calling them a "jury", and then having them make potentially life-or-death decisions regarding the fate of their peers. Right now, the existing system we have is so stacked in favor towards the wealthy and Caucasian that I can't possibly see a well-intentioned algorithm doing any _worse_ than what we have now (a study even successfully correlated good looks with less-strict judicial outcomes; it's pretty easy to design an algorithm that doesn't give an extremely lenient sentence to a Stanford swimmer), but at least, it has a fighting chance of doing _better_.

Try reading anything at all about the jury selection process, and you'll be shocked at how abysmal our existing system is.

People tend to dismiss machines as being cold, calculated, and emotionless, but that's exactly what we WANT if we're aiming for equal, fair justice for all.
Confronting a Nightmare for Democracy
True but then again we are all most certainly descendants of rapists and murderers.

Point being, life apparently doesn't care much about situational and human derived ethics. And that's what got us here. So what gets us there may not be according to values of our culture and time.
I have an Intel NUC set up with Kodi (formerly XBMC) on linux. Able to connect to remote samba shares for serving media, kodi has plenty of extensions and features so you can use it with youtube, radio streams, weather, photos, etc. when not watching video. Also the NUC I have has an IR receiver so a normal tv remote can be used to control kodi (big plus).

Another thing that's nice about setting up a full computer over an android based media device is that you have a fairly decent computer directly connected to the tv to use when/if you have to.
Nobody reading HN will ever have any effect on these sorts of policies. It's best to stay out of it all and do something more productive with your life.
Informing or challenging is a tiny fraction of the different reasons to communicate.
How about giant rats? https://www.theguardian.com/global-development/2015/mar/05/h...
If you look closely at your comment, you'll realize the hilarious HN bug that prevents me from writing it as you suggest. :P
What it's like to have a surprise dinner with Mark Zuckerberg
That's what you think. Duplicates are expensive. Same as if you drove carelessly and wrecked your car because you could just get a new one :)
OT, but, Jefferson appears to have anticipated fake news and the thirst for eyeballs.

>To your request of my opinion of the manner in which a newspaper should be conducted, so as to be most useful, I should answer, “by restraining it to true facts & sound principles only.” Yet I fear such a paper would find few subscribers. It is a melancholy truth, that a suppression of the press could not more compleatly deprive the nation of it's benefits, than is done by it's abandoned prostitution to falsehood. Nothing can now be believed which is seen in a newspaper. Truth itself becomes suspicious by being put into that polluted vehicle.
I agree with you, and my wife and I will have been married 27 years in June. I will add that not only is part of my motivation for staying married religious (I'm Catholic), but I also depend on God's help to keep us together. Marriage can be hard, but it's absolutely worth it. Learning to love the same person for a lifetime makes one a better person.
It appears not. Nor does it account for the severity of the crime among the included indexes.

ADDED:

I misread. Does seem to be a rate.

Not totally clear to me how per capita adds. On the one hand it captures the family member or neighbor known person assault. On the other hand, it's not terribly comforting to know that there are lots of murders somewhere but there are lots of people so you'll probably be OK.
Interesting, hashing them makes sense but it was a corner case; huge outage but it was definitely something that was easy to overlook for sure
So what browser and version does your company use?
Precision Geometry Transform Pipeline for PlayStation Emulation (2016)
This seems worth dividing into a couple of concerns. One is: Can it provide an accurate enough simulation for the baby? I think we would definitely get there with advanced enough AI, since the level of sophistication needed for cuddling and interacting with babies is lower than, say, having an intelligent conversation.

The other concern is that even if the simulation is good enough, there's still an ick factor to "tricking" a baby into forming an emotional connection with a machine that doesn't have real human feelings.

If we build caretaker robots with software that closely models the internal function of human brains, to the point that we're satisfied that their outward behavior is accompanied by complex and human-like feelings of caring, that problem goes away too. Whether that's even possible is more of a philosophy of mind question; depends on whether you think internal experience depends on the exact nature of the physical substrate.

(Of course if it is possible, there's yet another layer there with the ethical issues of designing a slave race of beings with real feelings, see e.g. Robin Hanson's ideas about "ems.")
See also: Pheonix, I mean Firebird, oops I mean Firefox.
What do you mean by "extremist" ideas? What makes someone who thinks their country's immigration policies should be crafted in such a way as to provide maximum benefit to their country's own citizens an extremist?
>It's almost like you're just making shit up, since the EU did exactly that with Apple's Ireland tax scheme already...

It's almost like you have no idea what you're talking about. The issue in that order was whether or not Ireland had to charge Apple the normal EU rates, not whether Apple had done anything illegal.
Hosting is a minority of their budget - $2 million out of a budget of $65 million