skysight-inc/HackerNews huggingface dataset:
I wonder if the minister wants this right to be enforced at every shop. Should I always be able to pay cash for goods/services? What if I buy something online?

Card payments also have many upsides besides ease of use for the customer. Currently the Amsterdam transport company is planning to disallow cash payments in buses because of the many armed robberies of bus drivers.
You are right, and that is why for instance online voting does not get serious attention. It is far easier to implement all requirements with pen and paper. First one that your vote should be known only to you. I would not trust any computer based voting software. I can easily imagine next day some sad people could come over to my place and question me why I voted for wrong person.
No. I am just proposing a less bureaucratic totalitarianism.
I assure you this is not always the case. I have worked directly with multiple people who could contrive the most exquisite solutions to really difficult problems but whose code was gibberish. Flagging such characteristics during recruitment would be valuable.
Doesn't work, or, you don't think it'd work?
Joel Moses has been credited with coining the phrase in the 1970s

APL is like a beautiful diamond - flawless, beautifully symmetrical. But you can't add anything to it. If you try to glue on another diamond, you don't get a bigger diamond. Lisp is like a ball of mud. Add more and it's still a ball of mud - it still looks like Lisp.
An initial evaluation of Confluent Platform
I completely agree on the culture point:

Programming and math _is_ essentially the same (Curry Howard isomorphism) and the problems are indeed equally complex.

The difference is that programming is driven on economical terms, hence agility, flexibility, etc. has been developed.

Mathematics is driven in the university sphere, where mostly intrinsic motivation drives. Not many mathematics professors have the urge to sit down and learn scrum, read manifests of coding practice etc.

The math culture will eventually see itself be forced to go these ways to keep up.
Better to expose the least possible front to attack. Especially when it's potentially your election to lose.
> My objection to 3 was it did nothing for me...Giving us a GIL-less pypy with jvm-scale performance would be worth a lot of hassle.

worth a lot of hassle to you. I imagine there are people who wouldn't find it worth the hassle. e.g. people who use python as a glue language where it's not close to being near the performance bottleneck - breaking the language to make it 'faster' would do nothing for them.
It's amazing what has been written for public cameras and their privacy issues when at the same time your lovely government wants to know all your domestic purchases or even you to report them incomes you receive in other countries.
hey you can set timestamps on youtube links like so:

https://www.youtube.com/watch?v=RGqZZthc_l4&t=12m
This is from 2014, maybe it should be marked as such. Incredibly touching story nonetheless.
Yes. C++ used to be my favorite language. I still like it a lot, but I no longer love it.

The trick, in my opinion, to C++ was what you were not doing. Coding in such a rich language means making a lot of decisions up front about limiting complexity. That turns out to be a good thing.

The reason it's not my favorite anymore? Because the language designers seem hell-bent on continuing to make it more and more feature-ful. Over time, it's creating a huge, diverse codebase, all with the title "C++ code" on it, but all vastly different in nature and scope. That ain't a good thing.

STL is a good example. On its own, STL is a good thing. Greatly needed in the language. But now that its implemented, its basically its own system. You could solve world hunger with STL (I am being factitious to make a point) Remember the criticism Microsoft always had, that they couldn't build anything that did just a few things? Everything had to be able to do everything? C++ has that, only worse.

I like the language. I really do. I don't know if I've given up on it -- unless I wanted to tweak the hell out of something or was writing lower-level code the answer is probably "yes" -- but it seems to be heading in a direction that is not good for the maintenance programming community. It's great for really smart people who love complex things, but no so much for the poor schmuck coming in 10 or 15 years later. It's become a monster.
The first thing every Emacs user should learn is how to customize key bindings. With global-set-key you can assign arbitrary keys (function keys etc.) to arbitrary commands. Of course you have to learn Elisp for that but that's not too hard. It is worth the effort to learn the basics of Elisp if you want to become really productive in Emacs.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Ke...

Emacs is the most advanced programmable editor ever, and that's the reason why it is still alive. I use it every day for almost thirty years. Of course I don't use the default configuration but a very conventient custom one.

In Unix you just need to know just two editors - Emacs and vi. Vi because it is the default editor on every Unix platform. At first vi's key bindings looked crazy but after a while they felt just natural.
So, by this logic, we merely need to decide whether we wish to elect the politician who meets the needs of Wall St., the prison industrial complex, and war profiteers. If so, we vote for Clinton, because she is extraordinarily favored by those interests. As you note, a politician could be entirely honest and sincere in their beliefs, and still be supported by a corrupt system...so long as their sincere and honest beliefs happen to coincide with the needs of the corrupting parties.

I'm not particularly political, but Clinton is a particularly unnerving example of the kind of politics I find distasteful and a symptom of our broken democracy.
I've given up on finding another C++ programming job for the foreseeable future. The problems I have is not with the language itself it is the other C++ programmers I have issues with. Not to say that I don't think the language doesn't have issues. With proper care you can work around the issues and avoid overcomplicating the code. But occasionally you have other C++ programmers who just makes things too complicated and don't realize that they have done so.
Do you really think choosing between vim, emacs, textmate, sublime, etc is going to make such a big difference in the end result?
It is so stupid that we have this concept that managers should maximize shareholder value as if they are the only stakeholders in a company.

Really and truly what did the current shareholders do for YHOO on a daily ongoing basis?

The current shareholders did not invest any money in YHOO - they bought their shares from 3rd parties (YHOO did not get any of that money )

The current shareholders are not helping make YHOO better in anyway - arguably shareholders in any public company are just making management's job harder to think long-term and strategically.

This concept of "maximize share price" as the true role of management has lead to financial engineering of fiscal reporting, and then subsequent earnings restatements.
Negative interest rates are about fighting deflation; in a deflation the surrounding society needs to produce a positive real return to the holders of the most riskless asset, cash. This is why it is an unhealthy state for an economy to be in. If you are cash less you can avoid this.
> I'd rather criminals got away with their nefarious deeds than give up privacy

Are you sure you mean this statement in absolute sense, as in "I'd rather criminals got away with any nefarious deeds than give up any privacy"?

Or, may be, you have some sense of balance between these two things? If you have, what kind of balance it might be?
Preprint here: https://peerj.com/preprints/1733.pdf

Contains a figure showing pull request acceptance rate as function of how many pull requests a user has made.

Many graphs start at 60 % >:(
You can get most of the speed with C and it is not as complicated

Flexibility should not imply in being "hard to use"
You've misconstrued my argument. The other reply explains what I meant.

While Sanders might play a straight bat (cricketing term I think, but you can guess the meaning) you can bet Clinton's potential GOP opponent down the track will not at all. Hell, even amongst the Republican candidates it's an out and out poo-flinging war.
Logic dictates that it shouldn't work, anecdata suggests that it probably doesn't work (if it did, tax avoidance wouldn't be a problem), and I'm sure you can find actual well-researched real-world examples that it definitely doesn't work.
The host (assuming the same host) is responding with a different website when accessed via IPv4 vs IPv6.

$ curl -4s http://kairos.xyz/ | grep title
<title>Kairos</title>

$ curl -6s http://kairos.xyz/ | grep title
<title>Welcome to nginx on Debian!</title>

$ host kairos.xyz
kairos.xyz has address 107.161.29.121
kairos.xyz has IPv6 address 2604:180:0:a54::24d9
As a European, I have great respect for Bernie Sanders. Some of the policies he's pushing forward are actually (by his own admission) inspired by some concepts that were implemented in part of Europe (Denmark, Sweden, The Netherlands, France, etc) and proven to be successful in those countries (and at scales that are not ridiculous like some people in the USA posit, see France and Germany, big economies with dozens of millions of citizens).

But to be honest, he seems to be more of an idealistic that is only driven by ideology, an ideology of the common good. Because we're on HN, I can use the following metaphor: he's (kind of) the Haskell of American politics.

To compare his views to those of Clinton is unfair to her, because just like in programming, there shouldn't be scorn and contempt for someone trying to accommodate reality and pragmatism into their views, because as awesome as Bernie Sanders' ideas are, he's pushing so far to the left of American politics that finding common ground with moderate Republicans in the general election will be extremely hard. I relish that he's setting an agenda of social progress and economic justice, but do take into account that chivalrous theories are evidently great until you actually have to act upon them and draft legislation, find consensus, navigate Washington, forge alliances.

All of which is extremely hard if you don't have the kind of flexibility that Hillary Clinton possesses. I say both candidates are important for the Democrats and I'm glad they present slightly different facets of the liberal ideals in 2016 America.
Free science journal library gains notoriety, lands injunctions
I am suspicious of their motives. They say it's to curb illicit trade using anonymous cash but I'm suspecting they will like the side effects of removing cash. People wouldn't be able to do bank runs as easily which would give even more leverage to the central financial planners using techniques like negative interest rates. I really think cash shouldn't be abolished until we have a decent alternative(maybe some crypto currency).
I've been on both sides of HackerRank. I helped develop/configure a HackerRank test for candidates for my team, and recently I've taken a HackerRank test while applying for a position at another company.

HackerRank is just a tool. Its effectiveness depends on how well the company interviewing candidates configures it. I think algorithmic questions are the most popular, but it's completely configurable; you can have it ask whatever you want. It's also possible to manually review submissions. When we used it to evaluate candidates, we'd manually review the code for candidates that scored somewhere in the middle of the range. Depending on what their submission looked like, we'd decide whether or not to proceed with them. (HackerRank lets you see each version of the code attempted by the user, in addition to the final solution submitted.) We actually found it particularly efficient at finding good candidates; there was a very high correlation between interview performance and HackerRank score. If properly configured, HackerRank makes it easier to identify good candidates, which is (IMO) a good thing for everyone. For companies, it means that they spend less time interviewing bad candidates, and for candidates themselves, it means that they might be able to get their foot in the door somewhere where they'd usually get blocked by the "resume scanner" filter (since the company isn't risking engineer time/productivity to send out a simple HackerRank evaluation).

That said, HackerRank isn't perfect. My biggest complaint is the lack of feedback for some failure modes, most notably segfaults and failing non-sample testcases. For segfaults, it simply returns "segmentation fault" and you're expected to be able to find the problem (a similar tool I've seen, coderpad.io, dumps a stack trace). In some algorithmic questions, non-sample testcases include data that is vastly more voluminous than the sample data (which is intended to catch non-optimal implementations of the algorithm), but this isn't obvious at all. It would be nice if the non-sample test cases had titles (e.g. "extremely large input" or "edge case") so you could theorize about why yours failed.

People who have experience using HackerRank have a definite edge over candidates who have never used it before. If you are planning on taking a HackerRank test for a position, I would recommend trying some open questions on their site first. I also recommend having a local text editor, compiler, and debugger ready in case you hit a segfault that isn't immediately obvious. If your solution fails with "Terminated due to timeout", or your code works on all the sample cases but fails/crashes on the hidden cases, then your algorithm is likely not efficient enough (in the timeout case, look for ways to speed it up; in the 'mystery crash' case, look for ways to reduce memory usage). Lastly, if you have extra time after completing a HackerRank test, I recommend making sure your code is as clean as possible and is well-documented (but not over-documented), in case they decide to manually review it.
> at its most basic, it's a tool that inextricably ties DOM state with JavaScript

Thank you for this!

It seems like many people get the impression that React is a really fancy template engine, which sucks.

Part of what its capable of is rendering templates, but only as a byproduct of the task you described.
I have had decent experience using https://www.sharelatex.com/

I compile my cv using latex. And once I had to make a few changes to my cv. So I used their service from my office. It worked pretty well for my use case.

PS: I have no affiliation with them.
Couldn't agree more. Developing for the last couple of years code that is highly sensitive to dates and time, and Arrow saved my life.
I've got a bunch of examples of use of Excel as a calculation engine for pricing and risk management in investment banking at spreadserve.com
> It's a terrible language for those of us who compulsively try to be clever and use every little nook and cranny of the language they're using.

Do you mean the Boost developers? :)
Yep. Seattle, King County, and Sound Transit all have local public art projects and I think that's awesome.
A few reasons why banning cash is a bad idea:

1) When you get into financial trouble and are unemployable for some reason, there is no way for you to earn something on the side so you can feed your family and pay the bills.

You can only submit to social services. There was one case in Germany where social services threatened a women to cut off the payments if she didn't take a job as waitress in a brothel. This is an extreme example, but you get the idea why it is a always a bad idea to be dependant on some bureaucrat.

2) The only ways to earn money or trade is to take a job or create a business. As it happens the government controls what types of jobs and businesses are allowed. This is also bad for businesses as not every startup is being run from the very beginning like a serious business following all regulations. Often it is a side business that develops into something bigger.

3) A group of politicians decides to run a media campaign to demonise a certain profession or type of business. You can now expect that you get a special XX% tax or loose your money because how could you dare to be successful.

4) I imagine it is very nice for power hungry officials to know about every payment made and received by every citizen. Did you ever buy something (of course legal) that you wouldn't like everyone to know about? Well if you do something they don't like this might end up in the public.

5) it gets very hard to invest money in a way that prevents you from being taxed arbitrarily by the government. (for example haircuts) Even if you bought physical gold the government would know about this and demand you to give them a share.
Kepler's Tally of Planets
My own take on the original article that this author is responding to:

>C++ IDEs suck. Big time.

I find Xcode quite a pleasure to use. The autocompletion, debugging, the quick moving around the interface, splitting files side-by-side.. I haven't used other IDEs besides emacs, but nothing about Xcode is getting in my way.

>It’s an unmanageable language.

Compared to a dynamic language or a weakly-typed language (I'm looking at you C, and a few others), I'd say the strong typing of C++ alone helps in code manageability. And, unlike Swift or Clojure or other languages, I find putting an API in a header file and an implementation in a translation unit really helps me reduce time later on. It's an automatic API summary without needing to review your implementation. When I move on from one part of a program to another, I don't want to study my source code just to remember what the access is. Just show me the header. I miss header files in other languages.

>It’s a counterproductive language.

and

>STL sucks.

The tools in the STL are serious time-savers. Sure you can choose not use them or implement your own, but in either scenario, you will likely spend a lot more time writing code than working on your actual problem or idea. In that regard, I'd say C++ and its standard library are very productive. And all the new multithreading and async primitives in C++11/14 take this productivity to a new level.

>namespace stupidity

Without namespaces, you have to work harder to name your stuff and to debug name clashes. Every good language that I've worked with uses namespaces. I consider them a requirement for any language that will handle a large project.

>The language sucks. It sucks because it’s so complicated.

C++ is probably the most complicated language I will ever use. I'm not sure why that makes it suck, though. Unlike many other languages, where it is wise and expected that you can keep the whole language in your head and understand entirely how it works, C++ is a different thing altogether. Nobody on this planet probably understands 100% of C++ -- including its creator, who has said that he gets maybe 80% there. In C++ you can use a small and ordinary part of the language and choose to go to the complicated stuff only if you really want to, but rarely do you need to. Yes, complex metaprogramming is mind-bending in what you can do -- and also, you cannot do a lot of it any other language. But you don't have to do any of that, and most people probably shouldn't, until they want to have some fun and really see how deep C++ can go. And a lot of the most complicated stuff that was important to understand in the past is no longer required reading for new programmers to the language, since the latest standards handle many things for you automatically. I.e. just writing "new" or "delete" and deciding when and how to do so are no longer required and actually discouraged thanks to smart pointers.
I'm curious, are you saying LaTeX is bad for math?

I'm not doubting you, I'm no mathematician, but my understanding is that it is only positive, as it improves the legibility of the text.
>Haskell - Type classes support polymorphism and extensibility.

While most of your examples are valid, I don't think Haskell is remotely object oriented. Type classes are not classes.
Man I am so glad I escaped all that. Sheer luck !
Parse vs. ShepHertz App42: A Comparison
I've recently been thinking of using some kind of reading comprehension test during interviews. Other than poor craftsmanship, the biggest disappointments among developers I have hired are the ones who seem to struggle to quickly read and absorb information. I think having good reading comprehension skills is essential for code as well.
Tone-deaf Carrier manager announces layoffs
There's also some similar talks/presentations on various topics related to software development for spacecrafts from the yearly Flight Software Workshop at APL: http://flightsoftware.jhuapl.edu/
There's another incumbent advantage here: I imagine it's much easier to provide good results when you also have data on which results thousands or millions of people clicked on for millions of search terms.
Free App Development Program for Innovative Ideas
> Lisp is like a ball of mud. Add more and it's still a ball of mud - it still looks like Lisp.

Such claims are usually made by people who haven't discovered the power of Lisp yet.

http://www.defmacro.org/ramblings/lisp.html
They could use the Bing API directly or just stick with Yandex.

http://datamarket.azure.com/dataset/bing/search
8 Insanely Clever Ways to Optimize Your Mobile Landing Page
Motives are irrelevant, I think all the nut jobs that have been saying this for years, that the government wants to take away people's right to cash have been right all along.
Nice. It has an WYSIWYG editor for vector graphics.

It's confusing as hell, though.
I do not want to give up any privacy. The stasi wasn't that long ago.
No, every UNIX shell is a poor Read-Eval-Print-Loop when compared to what Xerox PARC machines allowed in terms of interaction with the running OS.

UNIX shells don't allow to call functions declared in .so, execute scripts applied to elements selected with the mouse, apply functional algorithms over data.

Well, you can write external commands in another programming language, but then it isn't a REPL anymore.
Interesting - how would you flag it? In what way was their code gibberish?

In my experience people who understand complex concepts can also understand how to write clear code. Maybe those that you are writing about were not motivated to do that - or maybe it never occurred to them that this was needed?

Would you mind also explaining what you mean by this in "this is not always the case"? Because it does not seem to refer to my comment.
Compared to how strings are handled in many other languages or libraries, std::string is pretty limited. It works, though, and I use it. But when you have to do something basic like a trim, you find yourself wondering why it's not included.
Women write better code than men
I haven't used HackerRank, but got experience with similar product Codility (https://codility.com/).

My experience:

1. Works great if engineers apply to you, much less if you try to poach a engineer from great company.

2. Great resumes or credentials sometimes don't correlate with great performance. Especially there are hidden self-trained engineers, who can build great products, but never had CS degree or worked in well known company. It can be competitive advantage if you can give standardized test to everyone who apply, when most companies wouldn't bother to invite them for an interview.

3. Still they can save a lot of time for both ends:

a) candidate usually prefer to spend one hour on an online test than to take a day off for full day of interviews

b) company can offer this test to anyone, time of senior developers is usually too costly to offer regular interview to anyone

4. It is not a replacement for regular interview process. You still have to interview candidate. Most of the time, signal from this tests is clear if they are used properly (e.g. give mix of tasks with different difficulties).