skysight-inc/HackerNews huggingface dataset:
> For example, another one would be connecting to a VPN, a task that NetworkManager greatly simplifies, assuming that such integration is available of course (e.g. if you think connecting to a Wifi network is problematic, try connecting to a L2TP over IPSec VPN).

That's because there is equally no uniform and simple way to connect to use those, either. The problem is that the "simplification" that NetworkManager provides is illusory. Yes, it provides an interface that is easier to access, and all the complexity is moved in the back, where it's handled by NetworkManager.

Unfortunately, the mechanisms through which it does that are fiercely complicated, too. I've had NetworkManager break on me countless times (I worked for a company that developed networking equipment for a while, so I've interacted with NM a lot), for a lot of silly things -- making me end up with slightly incorrect configurations or reapplying settings at weird times for no apparent reasons.

The end result is anything but simplified: not only do I have to deal with the inherent complexity of a quirky VPN connection -- now I also have to understand how NetworkManager reasons about it and figure out where it's wrong.

I also think it's misguided to have a single tool handle things so disparate like VPN and WiFi. It's not like you're ever going to be able to expose those through a unified interface -- NetworkManager's own D-Bus-based API being a prime example of that.

> There's also the issue that the simplicity exposed in your example is a little misleading. Will the system persist that command and re-execute it on boot? Will it remember my previously used Wifi networks and connect automatically should I want that? How can I view the available Wifi networks in range? Being able to connect to a Wifi network using a simple ifconfig command is great, but the notion that your 80% of use-cases is the same as everybody else's 80% is misguided at best.

You scan for networks with ifconfig <interface> scan.

The system will not persist commands (arguably, a good decision) but persisting those settings is pretty easy -- you just add the same parameters you pass to ifconfig in /etc/hostname.<interface name>. (The same parameters as in argv[1:n]).

The only thing it won't do out of the box is automatically connect to previously used wifi networks. I suspect none of the OpenBSD developers want that. I only needed a feature like that once, a few months ago when I moved to a new apartment and had no Internet connection of my own (cable company is shit) so I had to snoop from the free wireless of nearby cafes. The fact that the interface to ifconfig is so simple and uniform meant that the whole thing was a ten-line shell script to scan for, and connect to previously known networks, and a shell alias to save the current network to the list of known networks.

There's an even easier way, using virtual networks, but I didn't know about it at the time.

> So you're saying that xBSD is simpler / better, yet you can't use it on your laptop, as it lacks things you need. Well, no shit.

I have a Windows laptop, which I also had when I ran Linux. My day-to-day laptop runs OpenBSD.
The Rise of the Permanent Group Chat
Trillian still works with Facebook chat: http://www.trillian.im/
They wrote a little eulogy when imo dropped 3rd-party chat support, I'm sure they'd be happy to see Pidgin add FB support! http://blog.trillian.im/?p=2902
#IRC ...
Women's+Leather+Apron
UBlock Origin
Simple CMS demos not doing well today.
check the following *nix utilities:

ssh one box to another, then:

who -uT // show who is connected to a machine and will they recieve message sent with write or wall command

write // sends a message to another user (tty). dont do this as it can confuse the other user by inserting the message in the middle of his current output.

wall //send a msg to all of the logged in users

talk & talkd // client and server. (old school rulz!)
So he isn't pushing anything, both things can be valid.

You don't "need" jQuery, but you might not-not need jQuery unless you do something about those bugs.

yell.com mobile site removed jQuery from their codebase, and used that list during the process. Looking at each bug, does it affect them, yes/no. If yes, code around it.

I'm a jQuery fan, but sometimes you might not need jQuery, but sometimes you might not-not need jQuery
Bookmarklets are on the way out

https://medium.com/making-instapaper/bookmarklets-are-dead-d...

Also see: content security policy (CSP)
open up a screen session and type whatever you want.
They're all guilty and they should all be hanged, only today I was asked to set up 2-step auth for a Google account and I see that Google are still using "ex" to mean example for telephone numbers. For those of old enough to remember this looks awfully like the old "ext." meaning extension. Since when did "eg." become too hard for people, it is the established abbreviation for example in English. The only reference i could find to "ex" outside of google was a wiki-something page using it. Is this something I should have been made aware of before now in my decades long life?
I asked this question ( Why no Edge for Win 7) to one of the developers concerned with Edge development during BUILD Tour.

He told me that Edge is built on the Universal Windows Apps Platform which is going to be launched with Win 10. So because of its dependency, it won't be possible for edge to run on Win 7.
The good thing about this is that MS is using the same platform that they will give to developers, to build Edge.

So people shouldn't hope that at some point Edge will come to Linux or Max OSX.
I'm lucky that I'm good at technical interviews. That doesn't correlate very much with being an effective developer, but it gives a leg up in the job market. (And even somewhat makes up for dropping out of college.)

> I might do that. Thanks for the offer.

My email is in the profile.
Maybe it broke; it's designed for small sites after all... sorry, I'm new to HN. I didn't realize it'd get that much exposure that quickly. :(
I'm not opposed to IPv6. Indeed, I'm one of the few % of people who has a dual-stack home network and ISP. However I don't pretend it was easy to set up - I'm no novice, yet several aspects still confounded me and the large Fedora community that I asked:

http://www.spinics.net/linux/fedora/fedora-users/msg459370.h...
(tldr: It's 2015, yet the default firewall in a major Linux distro can't handle IPv6)
Stanford has created a water-droplet computer
Black on white is a hand-me-down from print that made it's way to web without anyone giving it much thought. It is indeed too great a contrast for back-lit screens. Google results also show the page descriptions using grey on white. Surprising that so few people know of this.
France orders Google to scrub search globally in right to be forgotten requests
Interestingly, in C and C++ the ordering of two pointers not pointing to the same array is not well-defined because the address space may not be flat. In C++ the standard function object std::less is specifically guaranteed to impose a total order on pointers even thought the builtin less-than operator does not.
And sleeping on a problem.
Loading over 30 Kb of minified/gzipped Javascript over a 3G connection on a mobile phone is very problematic, as the bandwidth is poor, the CPU capacity for decompressing and parsing is poorer than on the desktop, so the latency can many times be measured in seconds, therefore loading over 30 Kb of stuff that you don't need gets to be a tough pill to swallow. Also the argument of caching is often brought up, but in my tests this can be very non-deterministic, as mobile phones are pretty aggressive in their used storage. JQuery is supposed to be cached, yet in our A/B testing the load times and consequently the conversion rates improved greatly after we dropped JQuery.

Your comparison with "a single medium-resolution highly optimized image" doesn't hold for mobile phones. On mobile phones users expect latency when loading images, but not when loading the UI. Another problem is that JQuery is not the only commonly used library. You add Underscore, you add Angular, or whatever libraries du-jour we have and pretty soon we are talking about 100 Kb of stuff or even more that is rarely used as a whole.

Of course, my use-case is about having really simple interfaces augmented by Javascript and meant for mobile phones. Well, for complex interfaces I think bringing in JQuery as a dependency may be worth it, but then again, I then start thinking that JQuery is not enough. It's because I want more, I want a virtual DOM that's saner by design, I want to work with immutability, I want much better performance without unpredictable behavior (like what you get with Angular) and I want to only pay for the features I use. JQuery is incompatible with React and is incompatible with Google Closure in advanced mode.
Both concepts make use of the mathematics behind xor logic gates.
I crowdfunded my PhD research. This model could change the world
Android be like, press anywhere on the row to check the box on the right. And anywhere on the row to go to the next page in the menu. And anywhere on the row to do nothing, but press the arrow all the way to the right to go to the next page. Android be liek: we didn't think this through. At all.

Not defending some of the choices Apple make, but if you want to get into an old-style flame war of Apple UX versus Android / Win / Linux / anything, you better come with a better argument than that.
Swash
Thank you for sharing, looks awesome!
Can't believe this is Java code!
I definitely need to checkout Java 8 at some point :)
There's some truth to this though. As long as the population numbers are going up, real estate would eventually catch up with them
Here's a quick one:

1) tokenize each text into a different bag(set) of words.

2) Compute the Jaccard index[1] using the two sets.

Here's another

1) tokenize each text into a multi-bag(set) of words, keeping track of token frequency

2) keeping the token frequency, order the sets into lists

3) map the lists of words onto an n-dimensional space (where n is say...all of the words into the two documents) as vectors

4) compute the cosine similarity [2]

Here's another:

1) tokenize the texts into two bags of words

2) compute the set difference going both ways.

3) does either difference contain discriminator tokens that rule it out as being from that person

4 (optional)): extend to 2-3-n-grams

Here's another (a variant of the one above):

1) compute 1-2-3-n-grams from one of the texts

2) insert the n-grams into a set

3) compute the same for the second document and test for set membership

4) compute the number of total n-grams from your second document

5) compute (non-in-set/total-n-grams) * 100 to yield a "uniqueness" measure

6) determine if the second document is "unique" enough

And another:

1) assuming you have a sample corpus from a writer and want to know if a new text belongs in that corpus

2) follow the method above but for step #1 and 2 do it with the entire reference corpus

And another:

1) produce an ontology of discriminator terms and categories unique to the writer

2) use an (named entity recognition) NER tool of some kind to find those terms in each document

3) use the set of found terms as an alternative to a bag of words for the Jaccard or Vector models above

You may need to play with stopword list removal, tokenization schemes and n-gram windows (for example, omitting 1-grams might focus the analysis on phrase usage vs. vocabulary usage)

1 - https://en.wikipedia.org/wiki/Jaccard_index

2 - https://en.wikipedia.org/wiki/Cosine_similarity
"It is designed to have a small footprint and boot extremely quickly on VMware platforms."

Look's like it's only for the VMWare platform.
Most electrical engineers do go through quantum mechanics in their modern physics classes, in order to understand how transistors work...
Have to say I'm fairly unimpressed by how bad the UK looks in these rankings. The government ought to be incentivising take-up if they don't want the country to be a technology backwater.
Aren't you confused with Upstart, which is event-driven? Systemd is mostly goal-driven (e.g. on startup it will start default.target, which involves recursively starting its dependencies).
It is easy enough to just write a shim. Google "bootstrap zepto shim" to get you started.
Sure, those examples are quite contrived. Here's one that's not:

console.log("woof")
(function() { console.log("foo") })()

Without semi-colons, that blows up (with a super unhelpful error message, to boot). Sure, if you understand ASI in JS, then you'll figure out the problem very quickly. But if you just always use semi-colons, then ASI is one fewer thing to have to worry about.
The comparison doesn't strike me as a very good one. There are no good, quick, easy ways of measuring how far from a cyclist you will be when you pass them, or your blood alcohol content (which is anyway only a crude proxy for level of intoxication, and besides is commonly measured by alcohol in one's breath, which isn't quite the same thing). That's why people are advised to err on the side of caution.

When it comes to speed, on the other hand, every car comes with a speedometer. Erring on the side of caution would not be a crime (the speed limit is a limit, after all, not a goal...), but it's far less necessary.
It's funny. If you transplant ziles88's comment to when Flight was released two years ago, it would be just as appropriate as it is today.

The JS framework landscape is insane (has been for at least 2 years).
In Las Vegas, they certainly optimize their "products" for big spenders.
It's been quite some time since I was in school, but it seems the author breaks grammatical rules regarding the number of phrases and clauses that can be strung together with punctuation. In addition, he uses a semicolon where a dash was necessary.

It's dangerous to publicly give a lesson as we sometimes stumble during our lecture (as I probably have done in my comments on the author's essay :) ).
Thanks - I now see that you implemented the ssh server functionality yourself. I am now busy reading the source code for HeavyThing including the code relating to SSH.
Not sure what you mean by "voicemail" and "videos".

Photos: No problem with XMPP. Just inline them if you want.

Voice calls, video calls: Easily done with Jingle, which is a XMPP standard.

Stickers: See above, they are just a special form of smilies which like any client supports.

And so much more: http://xmpp.org/xmpp-protocols/xmpp-extensions/

I wonder if you know what Whatsapp is based on.
Business Plan Writing Service from UK
> When we note that acceptance of gays has become mainstream or that smoking has decreased or that people get married later, we don't presume that it has to do with abortion rates or leaded gasoline -- we just understand that cultural shifts happen.

We absolutely try to discover the causes of those shifts. There are similar articles about why those things are happening, too, in each case!
EarthBound Beginnings is finally released
This fork[0] adds delegation.

[0]: https://gist.github.com/MadeByMike/7e7707eff116229a5948
...historical or cultural bias.

What you describe is not bias, it's some groups being actually less qualified.

Further, you don't even get the incentives right. If the message sent is "we let anyone qualified in without even looking at who you are", that provides incentives for anyone to acquire education.

If people have an impression that they can't get accepted because of their race, they tend to avoid even trying,

Given that Asians can't get accepted because of their race, yet keep trying, that doesn't appear to be true.

If your theory is true, at what point do you expect Asians to avoid even trying? When that point occurs and Asians don't avoid trying, will you change your views?
Or have an option to mark a project FF only, with a public statement how long this option has been switched on.

Atlassian Stash has FF only as a config, and for most projects it makes quite a bit of sense!
I suppose it depends on what the purpose of democracy is. Is it better create legislation, in which case it is a flawed system and should probably be changed, or is it, which is much more likely IMO, to allow citizens to have agency in their lives by allowing them to have a hand in who legislates, in which case there is no alternative.

I'm normally the first person to say that we should stop all the ill-informed people voting (which tends to mean excluding the majority of the right-wing), but this is so subjective that I don't even know if it's a real dilemma.

Ultimately any compromise will frustrate people, it's where we draw the line that counts.

Apropos of the system in the US, I think your politicians are far more partisan than those in Europe, although we have our own fair share of stupid policies based on popularism and ill-thought-through ideology.
Network Manager still has problems. I've had a lucky streak for a few years where it hasn't given me problems, but the other day the GUI decided not to save my settings anymore. It looks like it does, but it doesn't. If I kill the beast and tap in the commands it just works, but if I run the daemon it keeps feeding the backends with old settings.

How do I debug this? There's just sockets and layers of GTK. I'll probably end up doing whatever voodoo I need to keep it away and give it another few years.
What causes great companies to fail
Indeed, just use "talk someuser".

Make sure to "mesg y" before :-)
The Internet is the answer to all the questions of our time
Skype is actually not that complicated a protocol - at least on the enterprise side. It is basically just straight SIP messaging, with a few Microsoft-specific extensions.
Distributed Code Jam 2015
Ocaml can do this

let do_something (thing : Thing.t) (logging : [`With_logging | `No_logging]) =
...

Even better, it can even infer the type based on you using it (for example matching on it):

let do_something thing logging =
let logging_as_bool =
match logging with
| `With_logging -> true
| `No_logging -> false
in
....
Spark is a great technology, for sure. I was hesitant to get into Spark because I have lots of experience writing Hadoop map reduce apps. Then I decided a while back to base all of the machine learning examples in my current book project on Spark and MLlib and I am happy with that decision.

As the article mentioned, IBM certainly did validate the Linux "market." When people would ask me what was great about Linux I used to just say that IBM was investing billions in Linux, and that was an acceptable answer for people.
How is this different from the normal / existing uBlock?

https://github.com/chrisaljoudi/uBlock/releases
Unfortunately, the systemd development team is not that easy to work with, which is part of why a lot of people distrust systemd the way they do.

In theory, yes, it should be the way you mention it. In practice, even bug reports end up unacknowledged and labeled as features after a few philosophical debates.

No one who has used more than one Linux distro would disagree that a unified system to control init services is a good idea. It's this particular implementation that's problematic, not the principle.
> I think booleans (flags) are unavoidable at times. Consider a case where you want a flag to switch verbose logging on and off selectively.

In my experience, even these situations tend to grow arms and legs pretty quickly, so you end up with a 'verbose' boolean that accepts four values: True, False, "superverbose" and "off". Then you notice that in some places the function is being called with an array as the value for 'verbose', because you're in a language where arrays are implicitly cast to Boolean (I'm looking at you python).

There are too many cases where the optional parameter is not really a boolean, but merely a sum type which coincidentally only has two members at the moment, but is likely to grow to more members.
actually, wpa_supplicant isn't that hard to configure as long as you only use the GUI. just scan for APs, double-click on the network, and type in the PSK. no documentation-reading required.
I think what you said is reasonable. We only approximately know how most stuff works.
The normal one is IIRC a fork when the original developer disappeared for a while. He's now very active again.
I think if people were over-borrowed to rush to buy stocks, it would be fair to question the sustainability of the stock market on the medium term. This is exactly what is happening with housing.
The original developer explained the situation here: https://github.com/gorhill/uBlock/issues/38
> But why was this posted 3 times today?

Completely a co-incidence for me. Yesterday, I had a discussion with some friends about creative process and how I like long walks. Today, I saw this 2014 article on my Twitter TL. Hence, the share.
uBlock Origin is actually the "normal" one.
For me it is anything that helps me not fix on the problem. Standing in front of the computer, staring at the code always pushes me in the same direction; once I am up to something else, but still 'lightly' thinking about the problem I come up with better solutions. It's almost as if I am thinking about it I can't think of anything valuable; once I stop thinking about the issue at hand everything just happens to fall in place.
Once I read it I thought this is exactly what I would use for friend projects. Personally I find most web tech to be a horrible hack and don't enjoy working on it. This would be quick and easy and allows me to just hand off quickly.
I doubt that "how things actually work on the internet" is "generally" reflected by RFCs. The history of the internet is people trying to work around and fix RFCs actually ("at least with the popular ones"). If you're going to say "SHOULD" you may as well leave it out because people won't follow it.
Yes, it's great and I have been using it for quite a while (on Chrome as well), but it's nothing new, unless I am missing something.

It would be helpful if the submitter also wrote a comment about the reasons of the submission, when they are not immediately apparent.
Most Powerful Cloud Based Media Planning System by Telmar
Probably because today it was on the homepage of Reddit.
Colt Defense, 179-Year-Old Gunmaker, Files for Bankruptcy
Absolutely. It's also more secure this way, since you aren't putting the passphrase in a readable-by-any-user command line argument.
Facebook to invest €200mn in new Irish data centre
Ah, gorhill's Github page sort of answers my question: https://github.com/gorhill/uBlock
Explained on https://addons.mozilla.org/en-US/firefox/addon/ublock-origin...
Martha Lane Fox hits out as 23% of London tech firms employ NO board-level women
A very simple rule - if line starts with '[' or '(', put semicolon before. Thats it.

Personally, if all is encapsulated inside self executing function, i put one semicolon before and one after it.
It's the fork developed by the original author. He transfered the main repository to another contributor for maintaining and then open-source drama ensued.

I don't think they've diverged enough to recommend one over the other. I'm using Origin.