skysight-inc/HackerNews huggingface dataset:
If it's N-th time happening maybe there are more problems than just 'too good code'?
Your product is already obsolete – parts 1, 2 and 3
He's not alone.

My advice would be:

- find a better workplace (with more sophisticated and demanding co-workers, or possibly, start up
your own company, and even compete with your ex-employer!), or

- be more pedagogical (which is often harder and slower to give results than it may sound).

Indeed, the problem this situation denotes is that we're surrounded by incompetent and unknowledgeable people. It's not necessarily their fault: economic and time constraints prevented them to get a good education, or to learn on the job.

Sometime people don't want to learn and actively refuses to do a better job, but this is not the most common case, at least in IT, programming.

But then teaching and raising the competency level of a team is a whole different job, and you still need to be allocated the resources to do it: while you're teaching and the coworkers are learning, you're not implementing the next user story; what's more, eventually all this teaching would have to be disruptive. Once you teach iteration to a coworker who used copy-and-paste, you now accumulated technical debt since the team will have to rewrite all those occurences of copy-and-pasted code with iterations! Users stories will have to wait. Never mind that using iterations you will increase productivity and be able to implement _later_, ten user stories in the times you implemented only one, the product manager sees that this will occur _later_...
Using the filesystem as a package database just makes too much sense.
Thanks, yes, always starts with the same quote. I put it as placeholder while creating the div, but then I thought it had some relevant meaning to the final work :)

The code is here: http://codepen.io/deltasoneca/pen/aBJLpW

The logic: it filters comments of all time with more than 120 points (around 800 IIRC). Than randomly select one of them and show when you refresh the quote.

It uses the HN Algolia API. When I started, the idea was to create the most upvoted comments of the last few hours, but for some reason the API is not showing comment points anymore for recent comments (or I missed something reading the JSON).
You can check all the technical details at the World Meteorological Organization here: http://www.wmo-sat.info/oscar/satellites/view/152
Refactor That Code Get those database calls out of your controllers
Similar to the Netherlands, where almost 2/3 of the country's inhabitants live below sea level. We are defined by our relationship to the sea, and you can see how that's related in how we build our cities and farm our land. It's also seen in our tolerance to views/perspectives different to our own - how petty do our differences seem when the sea is indifferent to our squabbles?
Ask HN: As a developer why not pick the Macbook Pro 2016 Without Touch Bar?
As a developer why not pick the Macbook Pro 2016 Without Touch Bar over the one with Touch Bar? Assuming of course you prefer physical function keys or do not want the Touch Bar?

Especially considering some programmers (like me) want to avoid looking away from the screen while typing.

Some thoughts:

It has a slower CPU. <- Single biggest concern for me.
Priced high and quite close to model above. <- Second biggest issue for me.
Two Thunderbolt 3 ports instead of four. <- Not a big concern if an adapter can allow expansion to effectively 4 anyway.
Butterfly Keyboard <- I tried it in the store, I still prefer the old style keyboard but this one definitely felt better than the one on Macbook. One of the two on display at the store had one button (left bracket) sticking which wasn't a confidence boost (London Regent Street).
GPU difference. <- The difference is not enough for me to care personally.

Positives: A possibly longer lasting battery and physical function / escape key, costs less.

I was waiting for these models to be unveiled and was somewhat disappointed by some of the compromises, but I've since looked around and I still don't see anything by the competition I prefer. My main disappointment was that they cannot be upgraded but at this point it's not a surprise. The price was surprising too. Currently I have a Late 2008 Unibody Macbook that I have upgraded to 256 SSD, 8 GB RAM so what I'm lacking is a modern CPU, retina display and decent battery life. As a developer I'm not too desperate to upgrade because I've moved to doing more web development than anything else recently. If I was compiling with Xcode everyday I'd probably be more eager, but I will need to at some point so I'm considering options.
I just came here to write that I think this is THE right approach for wysiwyg editor. Having a full model of the document tree rather and working from that rather than sanitizing `contenteditable`. I expect this approach to automatically solve many problems that other wysiwyg editors have.
Remove "and a transaction cap" part, you are correct.

Going cashless will solve terrorism and counterfiet problem. World is going cashless and naturally India would have gone too without the huge cost of banning notes.

However I have different issue with this, allow me to quote

http://economictimes.indiatimes.com/news/politics-and-nation...

Corruption and black money are a consequence of big government, of one set of individuals having discretionary powers over the actions of others. If Modi was serious about tackling black money, he'd bring about institutional changes that would take us towards the minimum government he had promised in his 2014 campaign. Instead, government keeps getting bigger, controlling more and more of our lives. More government = more corruption.

Also Center/Modi wants to make prosecuting corrupt public officials more difficult and bribe-giving a criminal offence. Considering giving bribe is unavoidable fact-of-life and cost of doing business in India, Center wants to make CEOs responsible [1] [2].

And I say this as someone who voted for Modi.

[1] http://economictimes.indiatimes.com/news/politics-and-nation...

[2] http://indianexpress.com/article/india/india-news-india/brin...
Swedish online payments giant Klarna acquihires Berlin’s fintech startup Cookies
I wouldn't be surprised to see it cancelled sometime in the near future either. They've all but given up on their pro software - they're not exactly promoting Logic Pro or Final Cut X with any vigour.

Top end Macbook Pros are capable enough for their current audience for running the likes of Logic or FCP. So what's the point in maintaining top end hardware if they don't have the software?

I'm sure Apple will continue to do well with what it is these days, a fashion house. I'm not sure what my next laptop will be but I fear I've dug myself into a hole with OSX/MacOS. I spent most of last night and half of yesterday toying with Ubuntu and sadly it didn't do it for me. Sure, I was running it on my Macbook Pro and so the keyboard was all out of whack, which I'm sure is solvable, but I found it unstable.

So who knows. I'll keep this early 2013 Macbook Pro until it gives up the ghost (I think I'll have another couple of versions of MacOS in it before it's resigned to the scrap pile) but after that, no idea. Things don't look especially bright for Apple users outside those who are only interested in iOS devices.
I'm using nic.io for my personal site and Route 53 for other stuff. I think I have a couple on Namecheap, too..
Except that laziness requires purity.
How much of the 5x was from proper CDN usage? Given that we can all expect a CDN to dramatically benefit delivery time, I would be interested in seeing these kinds of posts with obvious wisdom omitted.
Exactly.

However this move isn't without immediate benefits.

1. Forces all participants in shadow economy to declare cash assets. So it's a data point from which to baseline total cash asset census.

2. Data collected about individuals with most cash declared will allow for revenue services to target those individuals first.

3. The introduction of serious risk for hoarding cash in the future. The government followed through with this threat so it's a precedent.

BTW, I'm a foreigner and I am traveling to India in a week's time and I hope the impact on tourists is all but dissipated by now!
It's great when you discover that some of the tastiest meals can be extremely simple and quick to make - spaghetti carbonara takes pretty much the time it takes to cook the spaghetti, ie about 9 minutes - how's that for fast food.
>Reminder that GNU Emacs is part of GNU/Linux, and thus features are developed against GNU/Linux first and other operating systems later.

Yes, but that's terrible. Making your software demonstrably worse for a subset of your users isn't acceptable. If any other group did this, you'd likely be enraged. What if .NET Core dropped support for an API on Linux? Would you really be comforted by the people saying: "it's open source: fork it if you want the features back"?

>Have fun using the freedoms that the GPL grants you while protesting against the movement that caused free software to exist in the first place. Hypocrisy is so much fun.

I have no wish to protest GNU as a whole. I do wish to protest the pig-headedness of RMS and others, which keeps us from actually moving Emacs and other packages forward. Not allowing Emacs to touch the GCC AST isn't protecting freedoms: it's needlessly obstructive, and utterly pointless.

It's the same situation here: not patching in functionality until there's cross-platform support? Okay. Actively removing functionality that doesn't work cross-platform (yet)? Not cool.
Python versus R for machine learning and data analysis
Why not use something like CloudFlare for ~$200/mo?
We’re checking this petition

5 people have already supported Anthony Buck’s petition.

We need to check it meets the petition standardsbefore we publish it.

Please try again in a few days.

:(
Needless complexity is one of my least favorite bugaboos. My mantra tends to be "Do the simplest possible thing that will work first, and iterate from there". For some reason it is hard to get that across, and some people seem to delight in producing baroque heaps of code for simple tasks, which then often doesn't work correctly.
Interesting. I had zero trouble with this change on any of my boxes. Did not even have to --force the upgrade.
> Making your software demonstrably worse for a subset of your users isn't acceptable.

Which is why they removed a feature after realising it made GNU/Linux users have a worse experience than on other platforms.

> What if .NET Core dropped support for an API on Linux? Would you really be comforted by the people saying: "it's open source: fork it if you want the features back"?

Yes, because I guarantee that someone would fork it. Just like someone already has a fork of Emacs that is macOS-friendly. And it probably already has the patch reverted.

> Actively removing functionality that doesn't work cross-platform (yet)? Not cool.

It was a mistake for them to merge it, and they're fixing their mistake. That's how I see it. GNU packages have to be "portable to GNU", specifically all of their features have to be portable to GNU. A feature which is not portable to GNU is not a feature that the package should have -- otherwise you're both encouraging people to use proprietary operating systems as well as fragmenting your userbase.
It may also be that he actually produces shitty code, but with advanced
esoteric techniques, so it looks like smart code to somebody not trained
enough in those techniques. I've seen this happen (I produced such things
myself).
I worked on a system for the WMO that contains virtually all the weather satellites. The Himawari-8 detail page is here: http://www.wmo-sat.info/oscar/satellites/view/167
I once checked in a database migration that was run automatically as part of the continuous deployment process we have for a client.

It ran through testing and UAT without issue. When the deployment ran for production everything died.

The database change was the addition of a new column to a database table which was set as NOT NULL with a default value. The production table had over 25 million rows. I learnt a valuable lesson the hard way. Never add columns large table with NOT NULL and a default value with MsSQL server. Leave it nullable.
Sounds like the "architecture astronaut" anti-pattern. Either he's choosing the wrong places to work (aim higher!), or he's insufferable to his colleagues and doesn't actually ship the right thing his bosses want.

You can usually get away with either being insufferable but delivering, or faffing around with an air of pleasant cooperative helpfulness. But not both. I strongly suspect he was delivering what he thought people "really" wanted, not what they asked for or needed, and that made it easy to get rid of him when he annoyed people.

(Also, team composition really does follow TVtropes narrative rules. You need a balance of character archetypes and you can't have two divas.)
I'm actually pretty disappointed to hear this. With all the known security vulnerabilities with other routers, and Apple's stand against the surveillance state, I was 100% certain the only choice I could make for a new wireless router was going to be Apple.

Now looks like I'm back to the drawing board w/ my research.
In that case you mean option -x not -z.

Either way, there are several philosophies and schools of thought. Many of them yield good results in different situations. "Do one thing..." is not the same as "do _only_ one thing..." and there are exceptions to the rules and _we_ made the rules so _we_ can/may change them.

Sticking to rules when they don't make sense is stubbornness and locks one in a local maximum.
Ask HN: Do you load-test?
The most cursory google search reveals tonnes stress testing options, ranging from simple http-request tools, to distributed networks of servers to act as clients, available for rent.

Do you perform load-testing on your services?
If so; How, and what are your experiences/2 cents on the issue?
My URL point a whole coca-cola bottle?
Given that server's under heavy load, here's a copy-paste:

"The bootstrap utility for the upcoming release of Debian 9 “Stretch” will feature the ability to merge utilities from the root file system into the /usr file system. This essentially means directories like /bin and /sbin will simply be symbolic links to content stored in /usr/bin and /usr/sbin. Ansgar Burchardt has suggested this file system layout might be made the default behaviour for future versions of Debian:

“It has been previously suggested to make this the default for (at least) new installations. I think Russ’ earlier mail explains quite well why the split between / and /usr doesn’t really work out for Debian these days and that trying to maintain it for some configurations (which are not documented) is mostly busy-work. There is also a nice article on LWN summarizing earlier discussions. I found these arguments convincing enough and would like to see the default switched to merged-/usr for Stretch and later. Possibly also switching systems on upgrade to the new scheme (not necessarily already in the Stretch release cycle).”

Source: https://lists.debian.org/debian-devel/2016/09/msg00269.html"
+1 for Duplicity
Nice comment, right up until your final sentence, which just drips with bitterness.
I think software like LLVM, PostgreSQL, Xorg, Hadoop, etc have shown that you don't need a radical copyleft to push forward free software. You need something better than exists elsewhere, and this kind of behavior from Stallman holds back free software out of fear of bogeymen.
While I will gladly rant about my issues with how NASA handles things: NASA and Musk are trying to solve different problems

Musk's goal is affordable space travel

NASA's goal was space travel (and exploration) period.

That means everything is a prototype. As for why we don't re-use them that much: By the time a project is over, so much has been learned that it and said knowledge needs to be applied to the next round.

In the case of space telescopes and the like: Repairs are made (if memory serves, Hubble was the one that famously launched with defects and needed to be fixed in orbit). As for launching more smaller ones: There just isn't a huge need for it. Getting time on a telescope is something even a grad student can do and the timescales are such that there is very rarely a "we need this NOW! Screw everyone else and block off a few weeks for us" situation. And if there is? Odds are a LOT of people want that data anyway.

One way to think of it is like a gaming PC. Some people buy mid-end and make incremental updates over the lifecycle of the machine. Others go all out and just build a monstrocity with an i7 every 4-6 years.
My suggestion would be to implement TeX.

It's non trivial, and the whole program is available in book form as a literate program.
Eve is based on pattern-matching and is set-oriented. So

all-checked = [#todo completed: true]

would match each of the records with both topic: 'todo' and completed: true. And the following commit block would once per matching record. But what is desired here is one value for all the matching records (an "aggregate" in Eve lingo).

Personally I think we would be much better off with a dedicated aggregate function instead of using if/else here.
And count (which is an aggregate function), should have a default value for when no records match. Then could get rid of the if/else there also, and have something like:

all-checked = all[#todo completed: true]
none-checked = none[#todo completed: true]
todo-count = count[given: [#todo completed: false], default: 0]

Disclaimer: I'm just an Eve user/contributor
What further business problems is he creating?
Walk recognition: Want to unlock your car with your distinctive swagger?
I think it is possible to draw some conclusions from the volume discounts AWS is giving on data transfer. From 10TB/month to 150TB/month the price drops $0.09 => $0.05. I don't see how this kind of change in individual customer's volumes would make any difference on how much Amazon pays for the traffic. So I assume it is quite profitable for them to be selling at $0.05 (and lower) and the higher prices are just because smaller customers accept them.
Yes, this is what it boils down to. However, without these posts people would keep developing more and more overhead, mot taking a step back and questioning oneself wether the current state of the project can be improved.
Especially when you work at a startup, it is sometimes hard to find the time and reasoning to take a step back and analyze the project from a distance. Trust me, these tips are useful to get the optimizing ball rolling.
It's actually an essay of his: "Who Shoves Whom Around Inside the Careenium" [1] discussing a marble-based conciousness (with the marbles 'careening' around the 'cranium' generating the awful pun...)

[1] https://jsomers.net/careenium.pdf
Is that true though? To me, the difference between a simple spreadsheet and say, a floppy bird, is that the spreadsheet requires one to know about rows and columns, and basic math (sum, average). It's a pretty simple abstraction that matches, say, a sheet of paper with a list scribbled on it.

Whereas, say, flappy bird, requires you to think about a lot of other abstractions one is less familiar with, and juggle those. User input, graphics. I think it's the complexity of abstraction and the difficulty of reasoning about it and juggling all the bits in your head, that makes it hard. I think that's a skill you really have to have or learn. Just because some people van add two cells doesn't mean they can easily create their own abstractions f.ex
I think you are being deceived by your real-world presumptions about the fictional example somewhat unfortunately and misleadingly engineered by Google. From your previous post:

> The problem being worked on here is "what if Armenians shouldn't get car loans because they don't pay them back as much as other groups?" I.e., algorithms rightly classifying people leads to results that we believe are "unfair".

No. If you stop playing with simulation and look at the input data, Armenians don't pay back less. They pay exactly as much as Iranians except that Iranians consistently have higher FICO scores because Iran infiltrated FICO with their suckxnet(TM) worm which replaces R binaries with hacked versions. Or something like that :)

The general abstract idea is: you have some input "score" which is know to inaccurately predict the outcome, use the input score and measurements of its biases to produce more accurate prediction than naive threshold classifier would.

And yes, the other guys talking about women's healthcare costing more or men causing more traffic accidents got it wrong too. I somewhat arbitrarily responded to you because you said something about "the real computer science problem being worked on here" and then continued to talk about other things like everybody else.
> pure (the opposite of imperative).

Pure is not quite the opposite of imperative; declarative is the opposite of imperative, although in practice it is true that pure functional languages tend to be more declarative that imperative functional ones.

You can have pure (AKA referentially transparent) imperative languages if they are synchronous[1]. The synchronous style is especially well suited to reactive/interactive applications, and quite popular in hard realtime applications.

Also, we don't really have exact definitions to any of these terms (imperative, pure, functional, declarative). Here is my attempt for approximate, problematic definitions:

* Functional -- a language that models most/all computations as (possibly partial) mathematical functions, and constructs a program by assembling those functions.

* Imperative -- a language that models computation as state transitions, specifying what state should the computation have at each step.

* Declarative -- a language that describes what result should the program give (as a function, a relation or a behavior) rather than at each step.

* Pure -- a language where the semantic value of the composition of syntactic terms can be determined by the semantic value of each of the component terms and no others.

[1]: https://en.wikipedia.org/wiki/Synchronous_programming_langua...
Software that's not maintainable by his coworkers.