skysight-inc/HackerNews huggingface dataset:
I can only show KDE to my friends and boast off saying that Linux is the best, in order to make them install a Linux distribution, I show several compiz features and Kate, to show highlighting in different colors, then blaming them for using such lame OS(windows), without any highlighting features for notepad, and Alt+ tab graphics being so lame for windows, customizable, I use Manjaro to get some best applications pre-installed.
Show HN: Path Tracing in Go
People who can speak German dialects can understand each other. Books written in some form of German can be understood by most readers.

Same for English dialects.

For Germanic languages this is not the case. English and German are both Germanic, but knowing German does not let me read English literature.

Lisp is like English: a basic vocabulary, a basic syntax, basic semantics understood by all readers. I can look at some basic Lisp code and I will understand the program. A Lisp developer looking at Clojure code will understand very very little.
They removed paid subscription several months ago. It seems that they can make more money from matching WhatsApp and Facebook social graphs than from annual subscription.
10x Your Productivity: The Entrepreneur's Weekly Review
That may be true for desktops, but on a server, you can still run a very clean system. My virtual server has 16 processes running on it, six of them "systemd-something".
Pretty sure GP was joking. But anyway, my favorite word to throw out there in fun little pedantic conversations like this = octopus, which ends up ! actually being octopi like most people think, but rather octopodes due to it being from Greek & ! Latin.
Mostly from a developer side but a little from a user stand point. Parts of iCloud are pretty great, especially cloudkit, but sync itself is really hard to manage and have it work correctly. I've found it fairly common to have a decent amount the production support issues related to iCloud. That being said it's getting better IMO and I think once iOS 10 and Sierra are the default OS's it will be less of an issue.

Common problems include items not syncing, syncing out of time order, and conflict resolution causing synced data to appear lost. Most devs that are really serious about sync tend to roll their own after experiencing enough issues to make iCloud not worth the effort.

This is entirely based on my experience and may not be universally true but I've heard enough devs repeat my own complaints to feel like it's not completely out for left field.
There are plenty of reasons they might.

The (mainstream) Snowden narrative was one of disgruntled employees and treason. The contents of the leak drove some muttering about NSA regulation, but the nature of the leak didn't. It just led to a lot of calls for "internal whistleblowing", which has been repeatedly proved useless.

Enemy action, by contrast, doesn't support a focus on the attacker. Nobody expects Russia to play nice, and nobody can realistically suggest 'discouraging' state powers from hacking and leaking. The tools will be misused (from a US government viewpoint) since the new owner has US-unaligned goals. The only barrier left is security, which appears to have failed.

If insiders leak details, then it's just a conversation about what the NSA does with its tools. If foreign powers get those details, then the "reveal and patch" crowd is bolstered by the knowledge that outsiders are using the same tools.
I would have thought use of a Func<> or a lambda would have been appropriate instead of a local function?
They claim that it's three times faster than typing with your thumbs and autocompletion. How much faster is swype than typing? Do the math.
If classes are types, subsclasses should be subtypes -- so the above restrictions should just be applied to subclass relationships.

One could also have an non-subclassing mechanism of implementation sharing, that might be declared something like this:

class Related does (method1, method2) like Base;

or

class Related does all except (method3) like Base;
> If by "interesting" you mean constant hurricane force convective flows going 24/7 between a scorching hell and frozen wastelands.

Hey, at least it's a short walk between cooking your food and icing your drink!
Vulcan: An API-compatible alternative to Prometheus
Yeah, this is currently pretty bad in Python, which led me to create the jsane library:

https://pypi.python.org/pypi/jsane

>>> j = jsane.loads('{"foo": {"bar": {"baz": ["well", "hello", "there"]}}}')

>>> j.foo.bar.baz[1].r()

u'hello'
So if I have say, a Comcast could they theoretically use this to snoop and uniquely identify the people using that router, as well as determine if someone were watching TV when a given commercial ran? I can picture their audience measurement team drooling over this.
Sorry if that was just an off-hand remark, but how would a GIT workflow account for judicial review?
Politicians usually update our laws to catch up to technology by banning, restricting, or regulating it.

That's not entirely fair. For example, here in the UK, the government did try to reform copyright to some extent by introducing a private copying exception in 2014. This was several years later than it should have been and followed multiple extensive official reviews of IP laws, but at least they got there.

The exception was reasonably clear and quite tightly defined. Roughly speaking, it legalised actions like format shifting, making backup copies, and storing content on cloud services, provided they were for the personal, non-commercial use of someone who already had a legitimate permanent copy of that work. By modern political standards it was remarkable for following the original spirit of copyright so clearly: an individual would be free to enjoy a work they had lawfully obtained, including taking advantage of modern technologies, but the basic principle of copyright that the individual could not duplicate the work to share it with others was also maintained.

That law was overturned less than a year later following a judicial review, based on technicalities of EU law particularly around compensation for rightsholders.

There are a lot of things wrong with this situation, but in any case it is now abundantly clear that the EU authorities are heavily pro-big-copyright and have no qualms about using their influence to block progressive reforms or anything else that might be a threat to big rightsholders. They have repeatedly interfered both with member states' national governments, as in this case among others, but also on the world stage with organisations like the WIPO, from promoting longer copyright terms (again, contrary to overwhelming public opinion in evidence given to the official reviews) to blocking plans to ease restrictions on libraries so they can perform their public function.

So yes, unfortunately some politicians seem to have completely lost the plot here, but not all of them. Of course, in the particular case I mentioned, the power structure is about to change between the UK and EU authorities, so hopefully whatever deal gets worked out over Brexit will at least escape that particular unwanted interference.
Of course copyright laws are one-sided. That's like calling the law against murder one-sided for being too against murderers. Most all laws are one-sided. The other side is found not in the law, but in rights and privileges protected by things like constitutions and charters.

Take "fair use" in copyright. The language in the copyright law is a bit of a fiction. Fair use is just a loose description of an underlying constitutional right, freedom of speech. The language used in copyright law doesn't trump the constitution. So while it is one-sided, that side is balanced by the constitution, which is also rather one-sided.

A copyright law that attempted to be two-sided would have to define constitutional rights, something that can/should not be done in a law. Its a fools errand. Instead, you write a one-sided law, with some loose nods to constitutional rights, then leave it to the courts to ensure that you haven't trampled too much. If you haven't, then the law stands. If you've gone too far, the law is quashed and you have to start again. That's our system.
Restaurant Spotlight: Mignonette Restaurant in Miami, Florida
Ask HN: Is there any US bank with a sandbox or API?
I'd like to test integration with various bank systems, is there any API/Sandbox for Citi, HSBC, JP Morgan Chase or any other American Bank - similar to PayPal's Sandbox?
Yes I have noticed this. It is interesting observing the changes to Obj-C just to keep up with the developments in Swift-land, when Swift itself is changing so frequently.
I just found out about it in this article, and already posted a new story (it looks that good):

https://news.ycombinator.com/item?id=12359522
How would software change if RAM memory became super cheap, fast and abundant?
If writing an app is all there is to a business, why hasn't Facebook been replaced yet?

Uber = Network effects. And not just that, but a two-sided market too! Combine that with the verb "to uber" and you have huge barriers!
Univ of Washington: How contact lenses could talk to your phone
If writing an app were all there is to a business, why hasn't Facebook been replaced yet?

Uber = Network effects. And not just that, but a two-sided market too! Combine that with the verb "to uber" and you have huge barriers!
Genuine question: is it safe to assume that dumping is bad for consumers? It's clearly bad for competitors, but it's basically like handing out free money to consumers. The concern is that once all the competitors die, the dumper will have a monopoly and jack prices up. But empirically, what are some examples of that happening? With few exceptions, it's only possible for monopolies to sustain above-market prices when laws block new competitors from starting up.
Has anyone ever heard of or seen a way that option holders don't get 100% screwed if a company is acquired for less than the sum of the investors' liquidation preferences?
This is a mobile keyboard no? The story is misleading imo. It will be interesting to see how this holds up against a regular keyboard on a laptop.
> Academia rarely ranks things important to the application (aka industry) of a field of study.

"Rarely" is a strong word. I think the truth is closer to, "Academia has screwed up as a whole in a very small number of cases, but usually works just fine, and always self-corrects eventually."
Just for reference, IBM tried to do that with the POWER6. Dropped out-of-order execution and (I think) neutered branch prediction, while jacking up the clock frequency. The result was a steaming pile of shit. Performance on our code cratered with respect to the POWER5, Core2, and Nehalem. I ended up having to add ifdef blocks to rewrite some significant algorithms in order to get the POWER6 to be comparable. IBM fixed it somewhat with the POWER6+, but wisely reversed course with the POWER7.
C# > C++?

I was hoping for deterministic lifetimes in this release.... just kidding. Must be me being used to C++'s RAII and useful destructors.

I believe your comment is a huge generalisation.
«It's time laws caught up with technology»

For a brief second I saw the sci-fi view of that headline and am now disappointed this isn't about someone's "time laws".
I don't want to do just "something". It's too little, too late. I want to have what's mine, all of it.

Getting my voice heard out loud, my interests acknowledged.
I'm really splitting hairs here, you have valid points but…I use a steno machine to write code all day. I know, I'm probably the only one. But steno was forever locked up in proprietary industry until only very, very recently when Plover came to be. There are more and more people learning it every day. I'm hopeful that it will be comparable to the number of people using Dragon and the like. Sure, it won't replace the QWERTY keyboard, but at least people won't say "a what?" when I tell them I write on a steno machine.
I was talking about something like coq.
> Let's say you comment out some line of code in go and go complains about an unused import.

If you setup your text editor to execute goimports on save, it won't happen, because the import will already be removed.

> If you uncomment out that line of code and re-run goimports, will goimports automatically re-add the correct import statement every time?

Most of the time, yes, but not every time. It works well for the standard library and when the last segment of the package name is enough to identify the package.
Here, look, I can do overly-broad, potentially-insulting generalizations too:

Only a functional programmer would think that recreating the entire universe is necessary to change a value.

See? Not very helpful or particularly insightful, is it?
I too admit that I'm a huge Hg fan (will not switch the company code to git) but I also admit history rewriting is a damn worthy feature. At the very minimum I think we can agree that safe rebasing is better than a plethora of merges that really serve no purpose other than to clutter history. The more distributed and diverse/disparate your team is the more I think history editing + cheap branching is worthwhile (but on the opposite end I think Hg consistency is better for corp).

One of my greatest challenges in using/understanding Git was(/is still) the reflog. I know the reflog isn't that complicated but there isn't anything really analogous in other SCM (of my limited knowledge of perforce, svn, hg, git). Also for some reason the presentation of the reflog UI wise is intimidating.

Reflog is nice gem for git particularly since the builtin Mercurial rollback (I wish they would just remove that command) is fairly awful (use histedit or rebase instead). That being said Mercurials new changeset evolution experimental stuff looks really promising [1].

That being said if you are looking to undo in hg like this article talks about you have to look at the

hg unbundle backupfile

Unbundle is a pretty nasty command compared to the reflog commands but on the other it is just restoring from some backup file. I'm not too sure how you can transfer reflogs around.

[1]: https://www.mercurial-scm.org/wiki/ChangesetEvolution
Is the United States not listed in the dropdown for this petition?
> There's nothing wrong with keeping an accurate picture of history. It's just not actually useful.

Except for the relatively rare cases when it is incredibly useful. But that's why we have the reflog.
I expected this blog post to be launching their API - which is now, what, about 3 or 4 years overdue? But alas no - just some privacy encroachment changes to their T&Cs...
You needed to press F5? I just assumed it was nonsense - a new order shipping company, shipping 100+ items per second?
Even Qt Creator sticks out. OS X/macOS users (disclaimer: like me) are really, really nit-picking when it comes to minor UI inconsistencies.
The problem is "falling through" the case statements. You can do this in C++ and C, which is really useful. You can't do this in Swift, and it's incredibly annoying.

Break is there for a good reason.
> Almost everything interesting these days is distributed across networks

That's yet another reason to use TIPC[1] instead of inventing a new protocol, which can be used in either single node mode or in a network.

[1] https://en.wikipedia.org/wiki/TIPC http://tipc.sourceforge.net/
I don't see how this is related to statically typed vs dynamically typed. This is more a case of Primitive Obsession http://c2.com/cgi/wiki?PrimitiveObsession and a lack of a adapter/serialization layer.
> Only a functional programmer would think that recreating the entire universe is necessary to change a value.

That's wrong. You can't change a value at all. What you can change is the state of an object. And functional languages have mutable objects too:

https://docs.microsoft.com/en-us/dotnet/articles/fsharp/lang...

http://hackage.haskell.org/package/base-4.9.0.0/docs/Data-IO...
I'm quite certain that maybe Apple has been doing this for a while as well. I can't seem to find any setting allowing FB to access my contacts but somehow people I've only texted, called or communicated over email are showing as suggestions too. But I'm not certain since they might have just cyber-stalked me.
Python for sure. Usually they care if you can do the algorithm. Python doesn't get in your way. It's almost plain English
I am surprised to hear you assert that there is no time saving to be had in running red lights.

In my opinion it's just too bad for annoyed drivers. They are welcome to join us.

What angry drivers usually don't get is that the equation is much different for cyclists. Our capacity to cause harm is a tiny fraction of that of a car. Also, we can't get tickets that raise our car insurance premium. Wheeeee!!!
No, as in some instances you may wish to do the same thing for two case statements, so you need it to fall through case1 into case2.

In other situations, you really don't want it to do that, so a break is required.

How would the compiler know the difference? Note that you can't "fall through" cases in Swift, and it is irritating. It stops you using the same code for two case statements - you have to duplicate it or put it into a function.
I use voice recognition for taking notes whilst on the move. Although good for short sentences, a lot of improvement is needed before i could, for example, dictate a document. Punctuation is an example of a weak area.

There are also certain words and phrases that it gets wrong much of the time. I have learnt to not use these when making voice notes. There's definitely a learning curve to use voice effectively.
You either die a hero or live long enough to see yourself become the villain.
5) Gathering tons of data on where riders start/end their trips across time. Lots of rides requested at 6:30pm at the Palo Alto cal train station? Start moving cars that direction before 6:30.
Yeah, it could easily be just a portable app.
Magic operates in ways we don't understand. I think we understand negative energy density, we just don't know if it's possible in reality.
By specifying the parts you want to include when you commit. I think it's unnecessary for any reasonable work flow, and doesn't manage to break even on its benefit vs. cognitive cost.
Why so complicated?

sed -ne 'X,Yp' /etc/passwd
> A perhaps better example is Jazelle on older ARM cores, which supported exectuting most of Java VM's instruction set directly on the processor.

That's interesting. I vaguely remember one of my professors mentioning that one of the original plans for Java was to have processors that could execute the bytecode (somewhat) directly. I wasn't aware any actually existed.
To avoid this, simply collect and destroy any phones owned by your friends who might have your phone number or email in their contact lists. I always use a sledge hammer for this, but some people prefer a sturdy boot. Don't forget to recycle!
Look towards video rental back in the nineties. Blockbuster would move into a town, give very cheap rentals until the moon and pop stores went under, and then raise prices.
I usually find that any arguments following the phrase "come on" are garbage.

If you'll sell out millions of people who trusted you, and then pat yourself on the back for mailing a check to "help" another group of people you'll never know, then more power to you if that helps you sleep at night.
Great news for developers to get better syntax highlighting, but another nail in the coffin for gcc, sadly.

This exact topic notoriously came up last year where emacs wanted to use exported gcc datastructures to highlight code. This proposal was disallowed by rms sticking so dogmatically to his core values that one GNU project ended up not being able to interact with another, for fear of proprietary vendors doing so.

While I fully understand the technical background to what exporting such data would enable those acting in bad faith to the letter of the license, whats happened here is that 1) emacs users didn't get better highlighting 2) kdevelop never had a chance to even consider gcc as a result and 3) gcc is now failing to compete with another compiler that it really needs to.

What's better, a dead but libre compiler that doesn't interop, or one that has a degree of compromise while still having an effective license that risks proprietary vendors "freeloading" on some good work?
Anybody interested should read the comments and participate in the discussion on the original post at LWN.
It 100% is. Theres someone i've NEVER spoken to in my life other than over whatsapp, they know noone I know and yet they popped up on my suggested friends list.
For what it's worth I was able to read it without logging in.
Could it be that those other people are sharing that info to facebook? They only need one side to allow sharing contacts to find the connection.
The facebook app prefers to sync your contacts with it in your phone. ?You do get the choice not to, but it certainly was a dark pattern at one point, and persistent.
serious question for someone that knows the answer to it - isnt google much further ahead than UBER/CMU in the whole autonomous driving technologies ?
I hope not! I downsized to a dumbphone just to get away from email at night. The last thing I want to know is my boss's every whim for me.

I think you are thinking of a eusocial hivemind organization. Though they are very good at getting goals done, like building these tunnels or that termite mound, they are not very adaptable outside of their environmental niche. It's the opposite of capitalism you speak of. Democracy is a thousand voices all yelling different songs to make a chorus, and it is slow and messy. However, it tends to find the 'right' choice at a higher rate than the top down model.
It wasn't meant to be correct... That's the whole point.

"What we've got here, is a failure to communicate."

Your definition of a "value" seems to be a strictly immutable, functional-oriented definition. Which is fine; that's a valid definition and there's nothing wrong with it. The issues come from the fact that you seem to refuse to accept that that is one definition of many, and continue to push it without compromise.
One thing I find frustrating about driving in the US is that stop signs are everywhere! Even on a fully open junction in a quiet suburb where you can see a good few hundred feet down the road, you still have to stop. I know it's the law, but why?

In the UK you don't have to stop at every junction, if the junction is open (i.e. you can see traffic clearly) and it's clear you can go on through without stopping. If the junction is closed (i.e. you can't see oncoming/cross traffic) then you must stop, and get a good visual before pulling out.

As a result of this cyclists in the UK already don't stop at junctions because, unless its a closed junction, no one has to stop if it's clear.

I'm pretty sure in the US you can crawl right on a right light if it's clear so what's the difference in letting a cyclist carefully go through a stop sign or red light?
I have technical leads tell me to copy paste code all the time instead of making better abstractions. It drives me slightly mad.
I've investigated this lightly. The bulk of the weight of electron is actually in the media stuff. Dropping video support would reduce the storage footprint by around 50%.