skysight-inc/HackerNews huggingface dataset:
"Europe is currently asleep"

Wrote a comment recently which incidentally and obliquely implied in passing that people are in control of their own body weight, a proposition which I believe within some limited contexts.

It went up to +15 overnight when the Europeans were awake. Then right back down to +5 when the Americans woke up. Got some kind of nasty comments back, too. I'm surprised that it makes so much difference.
There will almost certainly be a way to block Contributor the same way you block ads.
does that means advertisers are leaving adsense/adwords en masse?
Thank you to the HN community. Although we've just filled this position, I wanted to say thanks for all your interest. You are a very impressive group of people, and I enjoyed getting to know some of you during the hiring process.

Best of luck to you,

Jonathan

Cofounder, Inscoop
I used to read the Neo4j source (I wanted to write my own graph database). Then I was always reading the Django ORM source as reference for a Neo4j / Django ORM integration I was working on (https://github.com/scholrly/neo4django).

I've found that diving into a code base is a great way to learn about a new topic or language, and to get rid of the "magic".
> Here's one way of drawing this out. Suppose that X linearly increases from 2 to 5 over a period of 3 seconds. Do we really want to say that there was no change in the value of X between t=0 and t=1, no change between t=1 and t=2, no change between t=2 and t=3, and yet a change between t=0 and t=3? (?!)

Yeah, I get that, but what I meant in my previous comment is that you either limit the domain of t to 0-3 (and X to 2-5) and there is indeed no way to tell the change between t=2 and t=3, or you don't limit yourself to that test and can distinguish the intermedate values by means of the trick I described before. In other words, either you have transitive identity or you have all the reasons to treat non-transitive cases as one (if the identity test is like the one I described in my previous comment).

> positivist skepticism about non-operationalizable notions

I think it's too late in the night for me to understand this, I'll need to come back to it in the morning. Could you ELI5 to me the meaning of "non-operationalizable" in this context?

Again, thanks for making me think and showing me the limits of my understanding.
Horses for courses - for high volume sites this would be awesome. My immediate thought was "Great - at last Wikipedia can get rid of the annual begging bowl". It could also be a great solution to the news site paywall debate. I'd love to seamlessly reward the sites I visit often, and if Google can automate this, more power to their elbow.

Also, interesting that it is Google is doing this. It risks reducing their advertising revenue if it takes off too well - I wonder what their cut of revenue is like compared to their advertising business? This model pays them (and the content producer) per impression rather than per click.
It's also easily among the most self-documenting code I've ever read
Yesterday: https://news.ycombinator.com/item?id=9143082
This sounds more like Oracle vs Google regarding Java, where VMWare, like Google, is stating that APIs are not copyrightable, and the SFC, like Oracle, is claiming that even those APIs are copyrightable.
Maybe 50kg is too much, but you wouldn't be happy with a 1.4kg increase in lean mass? I assume that most of that is an increase in bone density and muscle mass, both of which are good things.
People will likely complain that they paid for Contributor but still see ads on your participating site.
We just launched almost exactly what you describe. It is called FairBlocker. An ad blocker with a monthly subscription fee (of your choice), which we then split up among the sites where ads are blocked.

We're looking for feedback from people who get the problem - what do you think? Feel free to email me directly if you want: zack@fairblocker.com
I just launched a similar concept to bundled microsubscriptions, which I mentioned elsewhere in this thread, called FairBlocker. Its an ad blocker with a monthly subscription that we split up among sites and pay out to the publisher (aggregating microsubscriptions from all our users). Another way to go after a similar goal.
For the chili I make, yes. I've also used it for tacos. And in a red sauce for pasta. It has the right texture for those dishes.
What? Where are you reading that? The only thing I could find was that reddit invested a small amount in Imgur and most of the investments have come from A16Z.
Yeah alright man, it's everyone else who is wrong. Damn.
How do sum types make error handling safer (without also adding exhaustive pattern matching) or easier (without adding do notation or macros)?

The point I am trying to make is that adding some features from other languages doesn't provide sufficient value without also adding other features. Adding all of them can make the language significantly more complex that you wonder whether the benefits gained are worth it.
Thanks for making this. Have you tried to use lossygif https://pornel.net/lossygif (which is based on gifsicle)? We've seen a consistent 20% reduction in file size.
Great story. Sad little addendum at the end though.
Facebook rant lands US man in UAE jail
I love instaparse. It's been an inspiration for some of the work I've been doing recently with lpeg.

I also contributed the viz hooks, back in the day, finding it difficult to work with parsers without an antlr-style tree printer. It's a fun time to be into parsers, there's a lot going on in the space.

Try decompiling a grammar into combinators!
Companies asking their candidates to do a test? Doesn't sound broken to me.

If you want a job with just a 30 minute conversation, you then have to work with people who got the job with just a 30 minute conversation!
This presentation compares TypeScript & Flow for React: https://www.youtube.com/watch?v=9PTa9-PPVAc&list=PLb0IAmt7-G...
Hey, author here.

I don't think we have any scroll event handlers on our blog (not 100% sure as I didn't implement the theme). It's a WP site, perhaps that's the common element -- although I don't think WP ships any JS itself...

My best guess would perhaps it's animated gifs triggering a bug in the browser for some reason?

---

EDIT: animated gifs more likely.
I would only use this if the first time I appeared on a website it asked me whether I wanted to add it to the list of sites I wanted to explicitly support.

That may seem intrusive, but otherwise this is going to (further) encourage content farms ripping off Wikipedia or just posting random material and optimising the hell out of its rankings (yes I know Google actively tries to stop this, but it just doesn't work well enough).

It's really important to distinguish money coming directly out of my pocket at someone else's whim, and advertising, where I need not purchase anything if I'm not interested.
> At the risk of being an unpopular opinion, advertising has been a huge boon in the growth of the Internet.

I look at that more of a necessary evil, kind of like the pollution from the industrial revolution. It got us this far, but now it's time to look for sustainable ways to make use of this growth.
Lately I've been sifting through the OpenBSD kernel's source code. I'd like to write a driver or two for it some day.
Back when I was playing with PLDI, I would read the source code for the simpler garbage collectors out there as well as several I wrote myself. Amazing how touchy and error-prone it can be. It taught me a lot, because programming a garbage collector is as one source who I can't remember off the top of my head put it: programming with your back against the wall. Every memory allocation is serious business.
From what I understand you need an API endpoint to unsubscribe users from your list.

Try out the service and drop me a line, I'm sure I can accommodate your use case :)
"I've no idea how Sinclair Basic stored them, but BBC Basic used a hash table that was immediately after the end of your program."

I expected that Sinclair Basic would have a rule that variable names have one significant character, and reserved space for 26 integers A% through Z%, 26 strings A$ through Z$, and forget about floating point, but reading http://www.worldofspectrum.org/ZX81BasicProgramming/chap06.h..., that isn't true; this language even allowed spaces in identifiers.

At the same time, we have (same link):

"You will get a report 2/0, & looking up 2 in appendix B, you will see that it means 'variable not found',

So. This enormous 8kB ROM wasn't large enough to hold error messages.

And, reading http://www.cs.columbia.edu/~%20sedwards/classes/2006/w4115-f..., it seems that loop and stir g variables had to be single-letter (yes, your program had at most 26 strings. Not that much of a limit if you have a few hundred bytes of RAM for your program and your data)

That PDF also gives some more limitations of the language, claiming that it wouldn't do complex expressions such as

10 let a = 2 * a + 1
> I can't stand those shows, I have to change the channel, they literally make me angry. Thinking that there are people out there who actually fall for it makes it worse.

If HN sold gold stars I'd buy you one.

Sadly, the propaganda is effective and enough people agree with cpncrunch: Being treated without dignity, like a prisoner, is totally worth it if maybe it catches a few evil boogeymen.
Dating App Caters Toward Affluent Bay Area Singles
Career-Changing Programming Books
If you're not already following it, check out Handmade Hero (https://handmadehero.org/). Great, free video series from Casey Muratori that guides you through building a game from scratch.
What you describe is exactly how my product works (FairBlocker). We split up a user's chosen subscription among sites where they block ads... I imagine it is what Contributor is doing, too. The way it is working out for us is that a ~$6.5 / month subscription is equivalent to a ~$12 net CPM, though it varies depending on how heavy a browser the given user is. So, higher than what many small sites normally make, but also lower than many video ads or top-tier sites with their own sales teams.
I understand the concept of creating something exceedingly more generally intelligent than its creator, I'm simply suggesting it's not possible. Many people assume that it is, and we'll have to agree to disagree. But even if I'm wrong and it does become possible, think about how unlikely it would be for a human to accidentally accomplish this.

Also, if AI is to be smarter than humans, it will know it could potentially be wrong about anything. Armed with that knowledge, how much smarter can it really be?
You're comparing 5" with 2.8", though.
Complete example:

function fn(y)
return y + 1
end
x = fn (1)
print(x)

Works.

function fn(y)
return y + 1
end
x = fn
(1)
print(x)

Doesn't work. The only difference is a newline; clearly newlines do matter. (And I specifically added the space to show that it's not simply whitespace that matters.) This is, of course, documented in the manual.

For the original example, I meant that expressions are not valid statements.

true or false

On a line by itself does not compile. It's an expression, but not a statement.

This is one of the things I like about Lua, that it prefers explicit over clever, although sometimes the difference between statements and last statements gets annoying. I'd like to do

function fn()
return nil
-- more code, stubbed out for testing
end

But you can't have code after return. Instead it needs to be wrapped with if true.
I'm going to quote this on my blog, I love everythin about this comment.
If she can remember George, she can recognize herself. Otherwise, George wouldn't work either, anyways.
Function Pearls. Generally code in papers.
HighView iPad hanger for travelers- gives clean water to Guatemalan kids in need
I hear they can even copy your whole drive and send the contents off for analysis:

http://endoftheamericandream.com/archives/the-u-s-border-a-c...
It was a bit sluggish for me at first but now it's fine: I bet it's the gifs.
Its a problem that doesn't exist, but will in a few years from now. Those billions of sites depend upon advertising revenue. As ad-blockers have become more popular, the rates that advertisers are willing to pay has fallen. Eventually we could see a majority of users block ads and sites would have to shut down for lack of revenue. This initiative can preempt that.

Also remember the overused line "if you're not paying, you are the product". This could lead to a web that doesn't depend on violating the privacy of its users to make a dime.
Loss of water (and/or dissociated hydrogen) on rocky planets is an interesting area of study. A few weeks back I ran across a reference that the Earth is thought to have lost a quarter of its water to space over the past 4.5 billion years:

"The Earth has lost a quarter of its water"
http://sciencenordic.com/earth-has-lost-quarter-its-water

The determination was made by a similar H2O / D2O ratio analysis.

Given that the Earth has seven seas, that would be 1.75 oceans worth of water lost. The process is moderated by the presence of oxygen in the atmosphere (which recombines with dissociated hydrogen), so, curiously, not only is water necessary for life, but life may well help retain water on planets.
Since the comment you were responding to has been deleted, I'm not sure if my comment will clarify anything for you. But it is possible, so here goes:

> Wait, Microsoft is distributing and loading GPL'ed kernel modules for windows?

A few years ago, the Linux kernel project accepted several patches from Microsoft that were meant to make it easier to run Linux in a VM hosted on a Windows machine ( http://www.dwheeler.com/blog/2011/07/14/#microsoft-linux-aut... ).
So... the product I just launched is identical to what you described. An ad blocker with bundled contributions, check it out if you want: fairblocker.com
Good job! Thanks for sharing
"For those of us who aren't US citizens, remember it _is_ a privilege to be permitted to visit, a privilege the possibly minimum-wage customs/immigration/border people on the ground have the authority to revoke"

This is a libelous accusation. The US Government doesn't pay its employees minimum wage. Those border police make more than engineers and programmers on average.
The word 'science' is used to justify lower salaries, while 'data' is there to make the job sound cool and trendy (like Big Data etc.)
Thanks! I'm actively working on enhancing the feature set to match what MailChimp etc provide.

If you try it out and find something you need missing, drop me a line and I'll see what I can do!
You can do things other than just invest in regular stocks and mutual funds with your RRSP? I've got to look into this.
If everything is mass market then there's no individualism
or culture.

Would you expand on this? I'm interested in knowing how you mean this.

I ask in the context of the larger debate of who deems a commercial establishment - a place of commerce - culturally relevant and which ones culturally distracting.

Does the neighborhood take a poll on a NextDoor bulletin board as to whether let a Wine bar set up shop, down the street but not a Gastropub, because you know it attracts a culturally misfitting crowd? So the majority wins? As simple as that?

Then what's stopping a billionaire buying up some four blocks and instilling his own brand of culture, you know cigar shops, vintage firearms shops and a boutique golf shop, through a bunch of proxies and trusts?

These are very valid questions that need answering if we want to meaningfully advance the debate of who gets to manufacture "individualism" and what is vended as "culture".
That is not true, sir.
That was a long time ago though - he's been out of jail for 20+ years.

http://en.wikipedia.org/wiki/Reg_Spiers
Not for the majority (by number) of websites as you can not click on the ads. Websites tend to be a CPC model for all but the larger websites. Larger websites tend to mix CPM pricing with sponsorship & affiliate deals.
HN's first kneejerk reaction is cynicism. I like to see us proven wrong.
Double Murder and Drug Violence Lead to Ultramarathon Cancellation
Another Earth may be 500 light years away
Right. How much is it to have someone on staff (or available for calling up in an emergency) who knows how to configure mail servers? Far more than 5k/month.
My general experience with the two systems is that when performing trivial queries (e.g. simple selects or updates that only hit a single table), MySQL is faster, but not enormously, and that gap can be narrowed with good tuning on the PG server.

As soon as you get into anything fancy, pg eats mysql for lunch. The query optimizer is MUCH smarter.
In the US equivalent, the IRA, you have to be very careful with this. You're not allowed to e.g. buy a blighted property with your IRA, fix it up with your labor/materials purchased with money from outside the IRA, and then sell and accrue the gains in the IRA. If you were it would effectively allow you to circumvent the contribution limits.
I am following it, slowly but surely.

Unfortunately, he's up to day 75 and i'm still on day 11.
Yeah, Babel and the Babel team is great. I got very suspicious of the project after my first experience with it broke perfectly valid code, but after reporting the issue and then another and having them fix it almost immediately they won my confidence back. :)

For production code I'd still stick to a whitelist of features that have been released for at least a month though. Babel is aggressively pursuing ES6 coverage and new features might not have all edge cases covered when they're released. Give them one month though and with their responsiveness it's 90% likely it's going to be fixed.
Beautiful piece -- whether manic or not, after one hell of a stressful day, coming home to find your dog waiting for you really brings you back to reality.

Also, while reading this anyone else here reminded of the totems (the spinning top, weighted dice, etc.) from the movie Inception? Small objects that remind you what's real and what's only a dream.
Keep up the good work, FairBlocker is giving content creators a fair cut and users everywhere an ad-free experience.
I'd like to know how this compares to cloud-based web presences.
The users' gmail accounts are at user@gmail.com, but they're sending mail as user@mydomain, via mydomain's authenticated SMTP server. This is exactly the scenario described in the comment at jwz.org.
Here's an attempt: http://guscost.com/2015/02/21/react-why-use-it/
No, I didn't intend it to be. The sentiment expressed by Adria came up at the time, and was a big part of this interview (not sure how much faith we can put in the quotes attributed, but for the moment I'll assume they are accurate).

Specifically the bit several other people have been drawn to and quoted in other threads here.

When asked how she felt about the impact on the guys involved:

"Not too bad, he's a white male. I'm a black Jewish female."

I find this kind of attitude / rationalisation uncomfortable because it turns out that I am, through no fault of my own, part of the demographic identified as inherently worthy of less empathy.

I suspect it's meant to be more nuanced than this, however I conclude that either her thinking is fuddled, or she can't properly express the sentiment - neither is ideal if the goal is to have a sensible conversation.
Hmm, might stop the larger one from autoplaying. Better safe than sorry.
The latest version of curl does support HTTP/2, I believe.
On the contrary. Regardless of what people SAY they want when discussing ads on forums, when faced with the choice of getting content for free with ads, or paying and not seeing ads, people vote with their mouse and choose free with ads.

One might say that advertising has been a hugely POPULAR way to get awesome free services on the internet.
Definitely some truth to this, but in practice, the fact that you have to manually do things means that you'll make decent choices -- you'll use interfaces for most stuff, and specialize the stuff that needs to be concrete, and life will be OK, if a bit clumsy.

With generics, it's easy to end up in a situation where just by instantiating some simple-seeming class, you get a whole giant pile of stuff, more than any sane programmer would create by hand.

(I wish I had it at hand, but there was an excellent post from a .NET/CLR guy a while back that went into all the crazy stuff that got instantiated just by creating one specialization of List<T>, the associated performance overheads, and the things the compiler and runtime tried to do to avoid those.)
Could have been worse: http://en.wikipedia.org/wiki/The_Gift_(The_Velvet_Undergroun...
> Support the people who make the web.

Oh, you mean the ones who are already big enough to generate large amounts of revenues (based on their advertized partners) ? My first thought was that this would be a good way to support smaller websites instead.
It's so beautifully understandable.
Three Great Camera Phones Under Rs. 14,999
Build a Golang web application, esp. the Assets
I've been reading the code for Pound lately, trying to get a handle on where I'm getting some latency events. I'm really wishing I had something like dtrace for OpenBSD, since all I have is ktrace. You can get timing info out of it, but to get what I really want, I'm going to have to add some utrace calls at the appropriate points.
Yes, but you don't get a native UI with hybrid solutions like Cordova. Also, in order to use native APIs, you have to create special wrappers for them, whereas in NativeScript, it looks like you can call the APIs directly. (How this affects performance, I don't know.)
I didnt like the Camaros/firebirds either. But the 440 t top trans am was iconic.
30 days with swift – Day 05 – Creating the first app
Look at some of Elon's videos--instead of trying to "making something complex to change the world", he aims to "reduce complex things to simple base principles"

WATCH his videos about hydrogen cells and why he thinks they are way too complex and not useful. He didn't start SpaceX by starting with a complex theory. He started SpaceX by looking at the basic principles of cost of production and using that as a starting point

Instead of aiming for "Making a crazy complex spaceship that will have more features than those made by NASA", he's going in the other direction, namely "cutting corners and reducing complexity to come up with a simpler, cheaper spaceship".
DevArt Art Made with Code
Harmonious Toyota I-Road Mobility
Calling the Clojure api directly from Java would look something like the following:

import clojure.java.api.*;
import clojure.lang.IFn;
import clojure.lang.PersistentVector;

public class Core {

public static void main(String[] args)
{
String grammar1 = "S = AB*\n" +
"AB = A B\n" +
"A = 'a'+\n" +
"B = 'b'+";

Clojure.var("clojure.core", "require").invoke(Clojure.read("instaparse.core"));
IFn parser = Clojure.var("instaparse.core", "parser");
IFn asandbs = (IFn)parser.invoke(grammar1);
PersistentVector result = (PersistentVector)asandbs.invoke("aaaaabbbaaaabb");

System.out.println(result.get(0).toString());
}
}

But, my suggestion would be to build a Java friendly api in Clojure, with gen-class, and then consume that.
I don't think it's a bad thing that there are multiple competing front-end frameworks in JS right now.
One of my favorite space news webcasts, TMRO, uses Patreon: https://www.patreon.com/tmro

They are making $952 per episode, which is more than what annoying ads would pay.
> Also, if AI is to be smarter than humans, it will know it could potentially be wrong about anything. Armed with that knowledge, how much smarter can it really be?

That's not a big leap. In fact, we humans know this already, and we've even quantified it nicely, and called it probability theory.