skysight-inc/HackerNews huggingface dataset:
I disagree. I don't care about a difference of a few days one way or the other, because I keep enough cash in my checking account that I'm never in danger of bouncing a check or not having money for a big purchase. However, I do care about my finances.

For example, I often examine my spending over a period of a few months to see how I'm spending my money and decide whether I want to make adjustments to my spending habits or budgeting. I can (and sometimes do) do this by exporting a CSV from my bank's website, but I like the convenience of using tools like Mint and letting them auto-categorize my transactions.
This is exactly why the arrival of mp3s was in reality hugely damaging to the independent music business and favoured the majors.
It's already live! https://www.minohubs.com/
A lot of that is sounds, textures, models, animation info.
Apple did not become one of the most profitable companies in the world by paying expenses partners can be convinced to eat instead.
I can relate to what you are feeling.
You have to take a couple steps behind, take a deep breath, and start to see things how they really are.
There's no evil that will last. You will get over this, I can assure you.
make a list of your strengths, of what you are passionate about. Maybe change job, work on something else that might make you happy. Maybe relocate and start over.
A good friend of mine, sysadmin for a couple of decades, burn out one day. Left everything and bought a small house on the country and he's producing wine. He's never been happier he said to me.
Do some sports, go out, be with friends, talk about what you are feeling. It helps.
Take care mate.
Tell you what: you get me the source code, and I'll tell you what it's doing.

I'd say it's pretty much a given that it's continuously listening. How else would it know when to respond to an "ok, google" audio cue?
The basic clock app on your Android phone has up to 4k assets, shadows, faux-3d layering, tons of animations, multi-touch support, gesture support, includes a timer, a countdown timer, an alarm system, every timezone imaginable, a separate "night mode", automatic "home time" for when you are traveling, multiple clock styles (digital vs analog), and all of the code runs in a VM.

Besides some of the features, there is no way in hell a Commodore 64 would be able to handle the textures, input, and UI of an app like that.

And while you may think that those things are useless, to the overwhelming majority it's the reason why they use that app at all.

Besides, why not use 33MB of memory? I think the number of people that would actually benefit from being able to have 30MB more memory (while using the clock app) on their Android devices is literally 0. Plus being able to be somewhat wasteful with memory provides tons of benefits. It speeds development time, it reduces CPU usage via caching (which reduces battery consumption), it allows higher res textures and a nicer UI, it allows easier-to-maintain code, and tons of other little benefits.
Stripe CEO here. I just wanted to let everyone know that I'm taking a look at what happened here.

OP (disappointeddev), if you could drop me an email, that'd be great: patrick@stripe.com.
It depends on what your needs are. If you just have a lot of data that is coming in quickly but you aren't doing constant analysis on it, you can still use Postgres. Switch to large batch writes for getting the data into the database to reduce the transaction overhead and look at using a Master-Slave replica setup. The 9.4/9.5 log replication features worked really well last time I used for them handling streaming data. We had a write master and a read slave and optimized accordingly. It worked pretty well once we got the log replication tuned accordingly.
I've stopped using the word pop in favor of soda. Soda sounds more professional.
There are more people trying to get Mickey Mouse into the White House than there are competent people with realistic opinions about Bitcoin.
Ask HN: Better way to write specs?
Is there a standard way of writing BDD specs in a rule-based format? To me, the traditional Gherkin-style format is too verbose and depends on defining edge-cases in lengthy scenarios.

I'm looking for something that more defines the business logic in English and covers the edge cases in the test code.

Like:

Feature: Serve coffee
Rule: If there is no coffee left, refund the money
Otherwise:
Rule: Coffee should not be served until paid for and until the button has been pressed
Rule: If the customer is on the VIP list, don't charge any money

Instead of:

Feature: Serve coffee
Coffee should not be served until paid for
Coffee should not be served until the button has been pressed
If there is no coffee left then money should be refunded

Scenario: Buy last coffee
Given there are 1 coffees left in the machine
And I have deposited 1$
When I press the coffee button
Then I should be served a coffee

Scenario: VIP buys coffee
Given there are 1 coffees left in the machine
And I have deposited 1$
And I am on the VIP guest list
When I press the coffee button
Then I should be served a coffee
Then my money should be returned

.. scenario for VIP trying to buy coffee, but no coffee left
.. scenario for regular user trying to buy coffee, but no coffee left, etc.

(example from: https://github.com/cucumber/cucumber/wiki/Feature-Introduction)
4 Reasons Not to Use MySQL for Analysis
> They wrote their own runtime -- which, to this day, is at a great performance disadvantage compared to OpenJDK

This is completely incorrect. OpenJDK is absolutely not optimized for mobile and it would have been a disaster on mobile. A lot of the Dalvik runtime and libraries have been rewritten with performance and memory in mind.
I was about to write a rant about how Apple's efforts are just a ploy to get students locked-in to the Apple ecosystem early on.

I stopped myself when I remembered how Apple is one of the reasons I really got into development. I started with Logo on the Apple IIe in kindergarten. Did a lot of programming in BASIC on the Apple platform in middle and high school. One summer I did a lot of GUI programming in Hypercard controlling Laserdiscs and playing videos on the Apple Macintoshes the school had.

I'm still torn but I think making polished material like this available is going to get kids interested in learning more about programming for sure. Having access to programming technologies in school is what got me started and if that means that kids these days will have the same chance I'm all for that.
My understanding: when you're doing standard gradient descent, you push the error down through the layers, modifying the weights at each layer. Now, in "normal" NN training you stop at the input layer; it makes no sense to tweak the error at the input layer, right?

But what if you did the following: flow the error down from the outputs to the layer you're interested in, but don't modify the weights of any of the layers above it; just modify the values of this layer in accordance with the error gradient.

Added later: I think we should wait till @akarpathy comes along and ELI5's it to us.
If you are homeless, a website so you can find us, and see where the showers are

Do most homeless people have access to the internet?
Verbosity is not clarity.

list.map(function(x) { return x * 2; });

verses

list.map(x => x * 2);

The actual functionality of the first is swallowed in visual noise (function, return). Yes, it's something new to learn for Javascript programmers, but it's useful and makes the meaning of code clearer.

That's not even touching on the this-binding element, which is also incredibly useful in common Javascript code.
Apparently i am bad at reading, the blog post actually had a link to that aswell :)
if ownership is measured by the ability to do what you want with something, than Apple almost owns music.

does this constitute a basis for suing Apple under anti-monopoly laws?
There are many services that will do data sanitation. It can be difficult but certainly seems in the purview and capabilities of a $170 Billion company (visa).

You can get pretty far with with fuzzy matching or just a simple levenshtein distance between name on record and name sent with order.
At that point may be something like Kafka starts looking attractive
How is this any different than Youtube? I was at a party last weekend, and the host had their PS3 setup to stream a youtube stream from anyone who connected via their WiFi. Basically anyone at the party connected to their Wireless Lan was instantly authenticated to add music (it was pretty slick). Everything I tried (including all the artists like Taylor Swift who had dropped spotify) had pretty much all their music there. everything seems to be there. When I asked how much this cost, given that it was also showing videos, the answer I got was, "It's all free, man!"

Everyone talks about rdio, spotify, upcoming apple music, etc... But Youtube already seems to have unlimited free streaming of music + videos, with what appears to be universal selection.
Yep. But even then you don't "pay" that fee (it's deducted and you get the net) and you don't have a set monthly fee. So there's no hard cost of setting up and maintaining a site with them.
There's no way you're "supposed to" do it. There are tradeoffs and you pick the approach you like most given those tradeoffs.
Coach: An alternative to Rails controllers
As far as I'm concerned - the man who owns the press controls the price books are sold for - this analogy is directly applicable here.
That's the state standard for new sewer systems in many locations in the United States as well. It's also actively subsidized through a complicated system of grants by the Federal government. The motive, however, usually isn't reuse of the stormwater runoff, but to reduce pollution.

Almost all older sewers in the United States use a combined sewer system, with a CSO (combined sewer overflow) into a nearby river. So when there's a heavy rain, the system dumps the excess combined rainwater and sewage into the river. Most U.S. towns and cities are this way.

Right now, whenever a system is ripped out, the combined state and local regulations and incentives usually drive the municipality to put in separate sewer systems, with the stormwater system using the old overflow site as its outlet.
I think that's a smacking great idea! Have you considered a freemium concept where you could set a basic free package of features and then an enhanced set of paid features?
I expect Bitcoin will be global currency.
Yes, that very well may be true, but you do have to consider the fact that they cannot go public, or it would be difficult to do so, at a price below $24B. So whatever "special treatment" late stage investors get, they do make it much hard for themselves to realize a successful IPO exit.
But it seems like you can just give them your Eastern European address for both and get through just fine, no?
>the freedom of new languages in LLVM would be guarenteed.

No, the GPL does not work that way.

If LLVM was GPL it wouldn't make any difference. LLVM is modular. You can write a front end that generates LLVM IR, then pass that LLVM IR file to LLVM to be compiled. It would be no different then a program that generates bitmaps and then passes them to another program to be jpeg encoded. The licence of the jpeg encoder doesn't affect the licence of your bitmap generating code.

This is why GCC is not modular.
> Instead, we're left with a slow OS

To make that claim, you will have to show another mobile JVM-based OS that's faster than Android.
Hacker News: where some people legitimately believe that the entire world will abandon the current credit/monetary system, because reasons (or alternatively, "just because" - you know, to see 'how it works', because an entirely new monetary system is like testing on some FiveFinger shoes to be spontaneous).

Also, Bitcoin is totally an invention by the Fed to ween people off fiat, despite the fact the Bitcoin network and its total overall volume are a joke compared to global currency trade, and basically worse, or completely irrelevant, for consumers in pretty much all cases.

If there was any ever proof techno libertarian supernerds are insanely disconnected from reality, stuff like this is it. You have a better chance of actually being The Highlander. But seriously, I could write a comedy novel about this stuff at this point - so do continue to go on.
That makes sense. It has been done before to a degree. For inspiration, look at Net Integrators Nitix appliance [1]. A UNIX system that was easier to configure, self-managing, largely auto-configed, partly self-healing, automatic backups, HA support, had most applications and a UI to integrate their configuration. It was selling well despite being priced above most SOHO servers. As often with good tech, a big firm (IBM) gobbled it up and rolled the tech into their own stack (Lotus).

A stack like you describe with good traits of Nitix-like solutions could be great for businesses not wanting much IT overhead. Might spread like wild fire so long as you don't sell out or balk over patent suits.

[1] http://www.pcmag.com/article2/0,2817,1734766,00.asp
Umm what about entire countries...Iceland...Greece.
For the sake of sanity keep your budgets the same/channel over a time period. The variance in traffic attribution will thus even out so you can add up marketing spend and conversions over the same period of time. I subscribe to KISS
Ola você poderia me ajudar ?
> How else would it know when to respond to an "ok, google" audio cue?

Because you open a new tab or you go to the search bar and then starts to listen IF you have activated that option?

"Ok Google" only works on a new tab page. Look at the microphone icon in the search box to see whether it’s listening for the phrase "Ok Google" or not:

https://support.google.com/websearch/answer/2940021?p=ui_hot...
Because writing:

var self = this;
foo(function(x) {
return x + self.y;
});

rather than:

foo(x => x + this.y)

is so much less error-prone?
Other payment processors that do not use a 'freemium' model charge less for their processing fees (and varying rates across cards). The reason it seems freemium for Stripe and other competitors is that they charge higher processing fees for the convenience than other traditional processors do.
The story is that they are leveraging their position as a platform to enforce new terms. This is the kind of sharp practise people complained about with 'the big 5' record labels using their collective monopoly over distribution and can be seen as a form of bait and switch.
Good to know, but is there anyone that's better right now?
I agree with both of you. I think the piece is brilliantly done, and the writing is just jaw-droppingly good. But I said to myself, about half-way through reading it: there's just no way a non-coder is going to "get it".

But then, how much better a job could anyone do to explain it to a non-coder? Past a certain point, you either dive in, or you don't.
The indies, who overall can't afford losing three months of revenue, are just caught in the cross fire.

People keep saying this. Is there much evidence to support it? It's very understandable that they don't want to forgo revenue, but that is not the same as being unable to continue operating with the lower revenue.
Apple receives praise from the EFF for its transparency regarding user data
Ctrl-C conventionally does not kill shell-like things. This is, technically, of course because of cooperation of those shell-like things and their handling of SIGINT, but that's not actually relevant.

The following things (off the top of my head, and quickly verified) all handle Ctrl-C so that it kills only the current command and not the containing process:

bash, zsh, csh, ksh, mail, gnuplot, gdb, psql, vsql, python (interactive), ghci

While I object to captive user interfaces in general, if you're going to have one then handling ctrl-c inside it is the right thing to do.
That doesn't change much.

This is not "email", as everyone understands it. It's another quasi-closed messaging system. Granted, if your communication partners are technically well-versed, they can live with it and get around its limitations.

To the general public it's not email, but the destruction of it.
Actually there is a positive 0 and a negative 0 in JavaScript. Try 1/+0 and 1/-0 in your browser console and notice how the result is different for each (+Infinity and -Infinity respectively).
Probably an artifact of the color space used.
Superb writing is ALWAYS deserving of adoration.
I think you're mistaken if you think that the majors would voluntarily relinquish three months of royalties from trials of Apple Music just to hurt Spotify, when they could simply pull their content from Spotify a la Taylor Swift to hurt it much more. This is Apple trying to push costs wherever they can and ignoring the indies during negotiation. It wouldn't be the first time that indies get the raw deal from a large corporate making decisions with the majors in mind.
That suggests that what we care about isn't just the average, but also the standard deviation. How big would the bucket need to be? How long is it between droughts? Would storing large tanks of water between years have other risks, and how can they be mitigated?
Alles klar. Thanks for clarifying.
What the heck is the second one supposed to mean? At first it looks a bit like low <= x <= high but with one comparison operator in the wrong direction. I guess it will first compare a and b evaluating to a boolean value, then implicitly convert this result to an integer and finally compare that to 7 again yielding a boolean value. If you write code like that confusion with the arrow notation is one of your smaller problems.

EDIT: Now I got your point - you could accidentally assign a boolean value to a variable when you intended to create a function. One word - compile time type checking. Okay, four, Übersetzungszeittypprüfung in German.
Many 3rd party sellers rely on Amazon for their business. It also makes up a large percentage of Amazon's profits.

The same with Google. How many people use Adsense, Adwords, Analytics for their business? If you want any sort of tech business these days, it's hard to avoid.
Could the sisterns be used on the farms? Scrape off the top soil, install sisterns, replace top soil. Plant crops.

It should be cheaper than digging up streets.
You didn't answer his question as to where this 'clear mass disillusionment' is. Where is the actual proof fiat is on the way out?
The purpose of my note was not to suggest ways to reduce CO2 emissions. It was to counter the assertion that desalination is impractical because it necessarily increases them. The scope of this discussion was limited to addressing that assertion, not to list ways to reduce CO2 emissions in general.

Rainwater collection is not a substitute for desalination because in many years there is little or no rain. The author's principal position is that there is no drought because once every 10 or 20 years there is (or was) a wet one; of course, to conclude this he includes the extremely wet 2004 and excludes the extremely dry 2013-2015. Even if we ignore his cherry-picking, that position is not a sensible one; it is equivalent to asserting that with an infinitely large reservoir, California would always have enough water regardless of the consumption rate. The reality is that consumption exceeds the long-term average supply by a considerable margin and has increased due to population growth even as the likely future supply is shrinking. Furthermore, large quantities of water cannot be stored forever; it evaporates, seeps into the ground, or both. The wet years, rare even in the past and likely to be moreso in the future, don't come often enough to keep reservoirs full. There's also the problem of the inland cities, where even historical average rainfall is far below 14 inches a year, which the author conveniently ignores.

Rainwater collection and recycling of treated sewage are therefore necessary but insufficient measures (at least in southern and inland California; they're probably sufficient for places like Eureka). In addition to those measures, additional sources will have to be found and/or large-scale reductions in consumption will be required. Desalination is perhaps the only plausible means of increasing supply (all Western river systems are already critically oversubscribed), and while it is costly, it does come without the political problems of forcibly reducing consumption. As such, I predict that solar-powered desalination will eventually become the central piece of the state's response to its water shortage. It does a good job of matching plentiful resources (solar energy, ocean water) to visible needs (more water for coastal cities). It does not address the needs of agriculture, but nothing can. The only policy options with respect to agriculture are in assigning the required curtailments. For political reasons, they'll probably also build more storage, but the practical benefits of that storage to agricultural users will be minimal as it will be empty or dead pool most of the time.

These aren't things anyone wants to hear, but they're reality. The author, like many others, is whistling past the graveyard. Anyone who believes that simple, inexpensive measures can address the problem is in denial of its true scope and scale.
TDD is hard. You need to work up a skill, and you probably need someone experienced to guide you at first.
Reminds me of this tangentially-related comment from jwz a few days ago:

http://www.jwz.org/blog/2015/06/internet-commerce-how-does-i...
In case of PayPal the bad reputation is deserved

In case of Stripe i sent last week a question in reply to an email from them from last year, there is no ticketing system it seems I got replies from 2 different people today after a week (not the same person one who originally was friendly and talked to me and might not be working there). Both answers were somewhat positive but a bit contradictory.

I do not believe that Stripe are fundamentally "evil" like PayPal, well not yet anyways we will see how turns out with more growth and more staff who might not care about customers.
Reddit defaults to HTTPS in bid for secure, encrypted cyberspace
That's a good point, hellbanner should have used the test API, but this is still troubling. First, due to the lack of the communication and a proper ticket system from Stripe. Second (and more troubling), the idea that someone could maliciously cause you to lose the ability to process payments on your site simply by submitting a bunch of fake (or half-fake) transactions.

Creating a system that processes payments can be an involved process, requiring significant development effort, even when using API and libraries like Stripe provides. It seems like Stripe should only be shutting people down as a last resort, after repeated warnings with a clear way on how to fix the problem. This is also just good business practice. No one wants to be shut down without a good reason and without any recourses for appeal or reconciliation.
I want to live in the world where only 7 transaction can occur a second.
> you don't drop the disk cache

Yes that is why I said the benchmark measures "just CPU impacts."

I don't think dropping cache alone would be sufficient to simulate loading of a large project -- I think the benchmark would also need to split the input across many files to recreate the seek time effects.

> you don't have very complex code

Given what I know about parsers, I highly doubt that the performance profile of parsing real code differs from my benchmark very much (ie. >30%). But I'm happy to be proven wrong on this, if anyone wants to try.

> you timing includes starting/loading the intepreter itself

That is why the benchmark makes the files pretty big, so the constant interpreter startup overhead is not a significant factor. Again, I don't think that you're going to be able to significantly change the shape of the results by adjusting for this.
Plans to add monitoring components to this? Our API monitoring tool is very popular in our customer's microservices architectures: https://www.runscope.com/docs/radar