skysight-inc/HackerNews huggingface dataset:
> Manipulating graphs, er, graphically, will not give you some sort of magical get-out-of-jail-free card against syntax errors or undefinable behaviour etc.

It does prevent some errors, like malformed structures. For example, the following Lisp:

(defun (square x (* x x))

Or the following C:

void square(int x {
return x * x;

Or the following Ruby:

while $i < $num do
puts "Inside the loop i = #$i)
$i +=1

These sorts of things can occur when manipulating programs at the character level, but they're inexpressible at the level of parse trees/graphs. Balancing parentheses, braces, quotation marks, begin/end, etc. is exactly the sort of task that machines can automate away.

The idea of a general tree editor is not to prevent syntax errors, undefined behaviour, etc. because those are properties of specific trees, e.g. the parse trees of C programs. A tree editor just edits trees; it doesn't care what those trees represent (that's why the author mentions a plugin mechanism, like Emacs has different modes for editing files written in different languages).

Manipulating programs at the level of parse trees can also be more efficient, less tedious and prevent errors, e.g. see the paredit videos linked in other comments. By analogy, what's the point of a general text editor, when our CPU can already perform arithmetic on bytes? A general text editor doesn't prevent syntax errors, undefined behaviour, etc. Does editing strings of text, rather than numerical bytes, provide expressive power or syntactic clarity that we don't have with high-level languages already?

I also don't think the author was asking for something "graphical" or "GUI" per se; their analogy is with text editors (e.g. Emacs and Vi), which are efficient both in their display and their interaction. A general tree editor wouldn't be based around e.g. drag'n'drop of nodes/edges, in the same way that general text editors aren't based around drag'n'drop of glyphs in a grid.

General text editors have features for moving to the start/end of a line, for cut/paste up to the next space or linefeed, for highlighting parentheses, for folding/unfolding between sentinel characters, etc. General tree editors would instead have features to move to the root/leaf of a tree, cut/paste sub-terms, fold/unfold expressions, etc. No need to care about the existence of whitespace, linefeeds, indentation, parentheses/delimiters, etc. they can all be handled mechanically.
I never use multiple personas on the same site. It's just too hard to avoid linkage. And, on principle, I don't use sockpuppets.
Good enough for documents. Not good enough for "creative work". Emacs can display images (but not really edit them - or at least I'm not aware of an appropriate elisp package ;)), and you can make Org Mode display the images you link to in-line. Including ones you generate from code snippets in your .org file, which makes the whole thing pretty useful for scientific computing :).
I'm not sure why anyone would say GitLab CI is slow. You run it on any machine you want, so it's fully dependent on that.

The script that authenticates and picks up the job is a small Golang app. That's all. GitLab executes CI jobs immediately.

See the architecture and related links here: https://about.gitlab.com/gitlab-ci/#architecture
Hydrogel Based Desalination Technique Using Saponified Starch-G-polyacrylamide
When to Go for 2, for Real (in US Football)
I couldn't find data on this, but I think the ads version of the Kindle Fire is the more popular one, and users have the option to pay more for no ads.

I don't know why everyone gets so torn up about this when we all know Netflix.and YouTube track what we're watching, and the dream of personalized content recommendations relies on this data. I'm guessing it's mostly because adtech companies and advertisers are generally disliked around here.
Have you tried Elm? It is strongly typed and it uses function to represent html elements and attributes, which end up looking a lot like JSX.
To be a millionaire, it's better to be a software engineer than a pro athlete
Laverna looks not bad (beside the white space, if I want to edit a long markdown document I will use something else). Thanks, I will try it out. Turtle (which looks like a private Google Keep) I wanted to try out two days ago but could not register. Do you know if Turtle does some caching? Beeing dependent on Internet (connection) for notes is something which I want to avoid entirely (actually Google Keep is good at that thing, works offline).
> The EU also has far fewer beating deaths

Irrelevant to guns as you say yourself so why bring it up. You seem generally confused about the distinction between correlation and causation

> That's not really a substitute for evidence.

Nothing to do with myths or opinions. The numbers speak for themselves

> Also, you dodged the question

I didn't dodge anything - your whataboutism is in fact dodging so I ignored it
I would like to see account numbers be portable like phone numbers are now.
I think that was his point. Of course they would never do that, as it's opposite their motives.

But it would be the utopian thought experiment of transparently communicating a concept in practice.
If we're telling DDR jokes, I always loved the joke from Das Leben der Anderen[0]:

Honecker walks into his office, looks out the window and says "Good morning, dear sun!" and the sun replies "Good morning Erich!"

At lunch Honecker walks to the window and says "Good afternoon, dear sun!", and the sun replies "Good afternoon Erich!"

Finally, at the end of the day Honecker walks to his window and says "Good evening, dear sun!". But the sun doesn't say anything, so he says once more "Good evening, dear sun! Is something wrong?". The sun finally replies, "Kiss my ass I'm in the west now!"

[0] - https://www.youtube.com/watch?v=q8vDQaAYaQg
I did an experiment with the Chrome Debugging Protocol the other day. It allowed me to write and run acceptance tests in pure JavaScript with no Selenium, Java or binaries (except for Chrome of course). See working proof-of-concept here: https://www.npmjs.com/package/websteps
France's far-left Melenchon uses hologram to spread election message
No, Python, ruby and such have a common interface for all lazy iterations.

In Python you can just loop on anything declaring the __iter__ method, and it will lazily yield results little by little.

IO related objects implement it plus an additional layer of interface so that you can do:

with open('file', [mode, encoding]) as f:

To get an auto closing file handle and then choose:

- for `line in f` to lazy read it line by line. This calls __iter__.

- `f.read([byte_count])` to read it all or some bunch of bytes. `f.seek(index)` to move around, etc.

- `f.readlines()` to get a list of all lines in memory.

- `f.close()` if you wish to close the file manually instead of letting the `with` keyword doing it work you.

This interface works for most IO, including files, sockets, in memory buffers, etc.

So you can choose an automatic lazy loading, a manual loading, load everything in memory, etc. And still have a lot of control.

I think rust should get some traits to expose such a common high level interface on top of the current way it deals with files, to ease simple operations. Just make sure the documentation states what you can do to go lower level.

There is a similar trend with many basic topics trying to do that as 3rd party libs too. click makes creating cmd UI very easy on top of argparse which is lower level. pendulum is higher level than datetime. requests higher than urllib. etc. Those all make doing those very common operation super easy.

Now rust is not meant to be Python/Ruby/whatever, being very low level, and checking safety at compile time implies very different requirements.

But those communities have some good concepts on API ergonomics and it would be a shame to not steal ideas from them.
Not really an algorithm but I like to ask about the difference between inner and outer join. It can start a nice conversation about database design, normalization, performance, consistency,... I did get quite a few blank stares or "Yeah I do have SQL Server, MySQL, Oracle and PostgreSQL on my CV but I don't actually do it that much" answers, unfortunately.
To be honest I didn't take that into account but I guess you're right.
> 144$/y for another cloud note system

That's astonishingly expensive for what it is. Microsoft OneNote is free. Even office 365 "home premium" is only $100/y and comes with a load of storage.
It's called Zalgo [1]. I'm surprised that GitHub allows Zalgo characters in the issues.

1 : https://eeemo.net
While I generally support what you say, I think it's important to note that coping with a disorder/condition/different mind is much harder for a child than for an adult.

University offers some flexibility on how to work, and work in companies often even more. But schools mostly can't offer that flexibility, so treating ADHD (or at least discussing it with teachers) can be very helpful.
Yeah, USSR was so weak, so it was child play to kill it with just a joke.
Because of this we created Bankscrap[1], a Ruby gem to access multiple banks. We basically find the APIs that the Banks are using for their mobile apps and expose them through a common Ruby library with an unified data model.

Each bank has an open source adapter (this is different to Teller) and we encourage the community to help us building more adapters. So far we got adapters for 4 major banks in Spain, and 3 more are a work in progress.

Whether PSD2 is going to happen or not, we believe public APIs for banks will happen (even if banks don't like it).

IMHO banks arte not scared because of security concerns: they all have APIs in production already, they are just not documented. Their main concerns is basically how APIs used by third party services could affect their businesses.

[1] https://github.com/bankscrap/bankscrap
RabbitMQ – Persistency vs. Durability
Cufon is dead
Last time foolish Super Bowl ads were put on the air by startups, was at the peak of the Dot-Com boom.

Is this a portent?
Functional-like data manipulation in JavaScript
Gun ownership and gun deaths are minimal in Europe compared to the US. There's simply no valid debate to be had on this
How would that work? Your money doesn't just sit in your account. The banks use it to fund loans. Loans that they make money on. That's the premise of the whole finance system...
I suspect you may be overestimating how many people have kept Oasis running so far! Sandstorm.io never had a large group of employees, and managing Oasis has never been a large part of what they were doing. Ergo, I suspect I'd be accurate in saying Kenton was already keeping Oasis running pretty much singlehandedly. :) He has confirmed he will still have a couple other people able to tend to it if he is unavailable as well.
https://news.ycombinator.com/item?id=13294318
Interesting, thanks for the example.
Since it's "quite deep" and you might have spent hours looking for a solution on the Web, why would you ask this question to a candidate in a 45 min interview? Do you think it's fair? And how would you define success since everyone would fail on this question? Just curious...
Online Learning about Industry 4.0 and Digitization. Coupon Code: LEARN2017
Why Does It Seem Like Airline Computers Are Crashing More?
A full outer join or left or right? If you want to see how old someone is ask them about the * = syntax :)

Sadly many people have little idea there exists a world of SQL beyond 'select * from table where foo = bar'.
I fear that you must be doing something very wrong...
Or you did not find the rights word to explain your issue (to me).

Do you mean that you, then, have to rebuild your project from scratch?
This report is written by a company that provides Kubernetes support. The thing I found most offensive was that it implies Apache Mesos isn't an open source product.

(I don't use Mesos or Kubernetes; I just think it's dishonest.)
Not sure 40 years is a fair number to use:

[S]ix years after finishing college, 57 percent of computer science graduates are working as programmers; at 15 years the figure drops to 34 percent, and at 20 years — when most are still only in their early 40’s — it is down to 19 percent. In contrast, the figures for civil engineering are 61 percent, 52 percent and 52 percent.

http://www.businessinsider.com/better-to-be-a-software-engin...
> I can't reason about this, I can't understand the evolution in any other way than Chaos.

I think the most fitting description of the process in our industry would be "throwing shit against the wall and seeing what sticks".
The best thing, IMHO, is that pretty much every OSS-oriented company that has "failed" has left behind valuable work for the community. And non-OSS-oriented companies that failed largely have not.
Sounds like bias to me. We're genetically hard-wired to be attracted to those different to us.

For example, I don't think that (on average) the locals where I live are particularly beautiful in comparison to other countries, but a lot of foreigners seem to disagree with me.
There are a number of laws relating to "unauthorized access" of private, digital information. This would seem to fall squarely inside of those, at least in my opinion. Those seem like the low-hanging fruit.

Going out a bit further, you could make a case for fraud or even hacking. Fraud because they are clearly misrepresenting the product and what it does. Hacking because they slipped in an OS update for older TV's that allowed them to have this feature on models that they never intended to have it on.

Also, they admitted to selling this information to advertisers. That's redistributing information they were not legally allowed to have. There are laws regarding profiting from crimes. But even if you leave those out, there is the issue of them selling information they didn't legally own. That could also come with a copyright violation if a lawyer for a class action suit was able to successfully argue that the owners of the televisions owned that information that they stole without permission. That seems like a tough win, though.

So I think unauthorized access, fraud, and the sale of illegally obtained information would be fair charges to apply.
Firebase
which backend server should i use with firebase?
I'd be surprised if this wasn't already done in most countries. Checked my own out of curiosity, and they log all proposals, all votes on them, and provide the amendment text including how the new text would look with the changes applied.[1][2]

Granted, it's not as easy to go back and see all the changes to a certain law, but the data is there.

1 - http://www.psp.cz/sqw/historie.sqw?o=7&t=964

2 - http://www.psp.cz/sqw/phlasa.sqw?o=7&s=54&pg=17
Sadly the story of my current professional life. Rapid expansion first couple of years, two layoffs, now looking for a buyer.
How to answer cheapskate clients asking for discounts
If your app is powered by Django, it has LiveServerTestCase utility that runs your site in selenium and lets you click around, and because test is written in backend, you can also test resulting app state or stage test cases for your integrations.
> I have amazing dental, health, and eyecare.

I do have it too, albeit the only one I pay for is the dental one - but more importantly, the barista at my favourite coffee shop has them too. At the same quality level.

> Free routine health checkups such as physicals,

My doctor calls me to get those done. They chase me! for free! but more importantly, they also chase the barista guy :)

> heck I even get a free gym membership.

Incidentally I do. I don't think the barista does. Gym fees are between £10 and £30 around here. Of course you an always splash out for David Lloyd's and pay 12x that...

> I drive a 350HP luxury sedan.

I either cycle 10 minutes or take a bus for 15 minutes. Why would I need a 350HP luxury sedan? I am already wasting money having a 170BHP Alfa Romeo hatchback parked in front of my house 24x7.

> Oh and I've never shot anyone, had to shoot anyone, or been the victim of a crime other than petty theft where my car was broken into one time.

Same here. Even better, I don't even think about it. Even better, as anyone is allowed to free healthcare there is less desperate people.

> But I do have the freedom to participate in shooting sports (and I do) whenever the heck I want

You can play shooting sports. My uncle does it regularly. Part of my family are actually hunters.

> and I don't need to ask mommy for permission.

Please, don't be disrespectful.

> If that's not high quality living standards, you must make 500k a year and be rich because I don't know what is.

Those are everyone's quality standards in great part of Europe. You are missing the point.

> I think your media has drastically altered your perception of what America is and is not.

Oh, our media - and I thought we all read TechCrunch, Gizmodo, CNN, BBC, ...

Luckily we have you to open your eyes. THANK GOD.

> Tech workers are well compensated and I'd rather be making six figures in America.

Good for you, but I am making six figures in Europe. Anecdotal data is anecdotal.

But even better, the guy not making six figures has free healthcare too.

> I'm sure your country is very nice as well, but there is not enough freedom.

I guess your freedom to play shooting sports (which you can in Europe too) is more important that your freedom to get free or affordable healthcare should you be in a rough spot.

You are privileged, I am privileged. However, I might not be who I am without free healthcare, cheap public nurseries, free quality schools, almost free universities, ... All paid by taxes of those who can, for those who can't. Remember you can be in one of those groups today and in the other tomorrow.
At my one phone-screen with Google a long time ago: decide if all nodes in a binary tree fullfil the condition that elements in the left sub-tree are smaller than or equal to the node value, and all elements in the right sub-tree are greater than or equal. Good question I think, since you need to be able to use recursion + a tree is a simple and useful data structure.
This happens constantly on older versions of Docker.
It doesn't serve my use case.
I chose anova over joule for this reason and this reason only. My concern for a device with an app-only interface is the company might disappear, and the app and internet service might stagnate. With physical controls I'll still be able to use the product.

Id love to see a joule v2 with a display and a twistable top to set the temp.
Just for some extra clarification:

With LSA, each document is transformed into a single vector that has the length of the vocabulary. The length of the vocabulary is the number of unique words across all documents. If a word is present in a document, it is represented as a 1 in the vector and 0 if it is not. So after this transformation, the text is transformed in an D by V matrix where D is the number of documents and V is the vocabulary size.

GloVe (and word2vec by equivalence) however, work on a different matrix. In this algorithm, the matrix is V by V, where V is the vocabulary size and each cell counts the number of the times a word appears next to another word in a document. That is, the matrix represents the counts of how often words are neighbors across all documents. (There are some other technicalities, by this the thrust of GloVe).

The similarity between LSA and GloVe is that once the respective matrix is built, it is followed by matrix factorization. By matrix factorization, I mean SVD. This is a process which takes an N by M matrix and returns an N by K matrix, essentially squeezing the matrix into fewer columns (K is a free parameter that is smaller than M).

So ultimately, what we get with LSA is a D by K matrix (where K is just an arbitrary number, like 100). The interpretation of this matrix is that each row represents a document and each column represents a topic. In GloVe, we get a V by K matrix where each row represents a word and each column represents an embedding.
Fizzbuzz and despite its popularity many people still get it wrong.
Regarding practicals: is there anything more than the overview slides ?
I wonder how many of these Vizio TVs are in government offices, recording and selling their IPs, pixels, preferences and schedules.

Remember, it's not just broadcast, it's also from DVD players. Anything displayed.

And I wonder who's buying, and then correlating IPs and devices, besides the obvious advertisers. The potential for espionage and extortion is interesting.

"That's an interesting fetish you got there, Mr third or fourth down on the org chart who does the actual day to day running of the agency. It'd be a shame if it was to be ... exposed."
Don't use it! I just use hyperscript and functions. Works great.
You are already allowed to leave your bank, and go to a different bank. The 'only' thing this would change is you would be able to take your account number with you.
BTW, european banks have explicitly not enabled this with IBAN, as the bank's name is now part of the account number.
Sounds like the classic 10x problem. Switching costs are so high that your solution needs to be 10x and/or you find an underserved piece of the market to start
Deep Learning in R
It is always a bit awkward to stop a protest once you achieved your primary goal.

You are now a lot of people in the streets, with a lot of power, the government backs off. Should you ask for more or stick to the original requests that are now satisfied?
Moving from CruiseControl.NET to Jenkins in the PVS-Studio Development Team
If there was no Euro, Germany would have a much harder time selling their stuff to the rest of Europe that "it's weakening the Euro".

It's on purpose, part of the plan.
> http://defendinginerrancy.com/contradictions-inerrancy/

I found this to be a very interesting link, but probably for a different reason than you did. It's an interesting very wide circular argument. It describes a group of people studying a book in so much detail they decide to agree that the book must be true in every aspect. It goes to the level of "the book describes how the book should be read, therefore we must interpret it in that way". (paraphrasing "appeal to extra-biblical genre is contrary to inerrancy")

The weird thing about that whole idea is that you could find a group of people to say that about any book. Make them known for studying that book and they immediately gain the book-interpreting credentials. Whether the bible or any other book is completely true or not, this way of arguing any case about anything seems bonkers to me. Why not just say "ICBI believes that..." rather than "The contention of some contemporary NT scholars that there are contradictions in Scripture is both illogical and unbiblical."
> So the complexity is there for a reason.

Reminds me of the occasional questions about equality, like "why Java doesn't let you override ==?", or "why Lisp has eq, eql, equal, equalp, and you still end up using your own equality predicates anyway?". The root of the problem being, the concept of equality itself is complex at the philosophical level. It's easy to lament something is complex, it's harder to ask yourself why it is so, and accept that there is complexity in reality itself.
If you mean "abusive" as in "violates the terms of service," then revoking access to the service is the appropriate response.

If you mean "abusive" as in hate crime, bullying, stalking and so forth, there are already specific laws covering those things.
I think Netflix greenlights 3rd party content creator's projects, I'm not sure they have much if any in-house production.

Those deals probably include some combination of up-front payment as well as per-view payment.
plus jail time
There is no such a thing as zalgo characters. It is plain unicode (utf-8 shaped), in particular it is an abuse of combining characters. Disabling those can cripple non-english languages.
Three principles for multilingual indexing in elasticsearch (2013)
http://edition.cnn.com/2017/01/01/us/chicago-murders-2016/

This is what they are talking about; not terrorist attacks which are sporadic.
Moving from PostgreSQL to DynamoDB Local with Datomic