skysight-inc/HackerNews huggingface dataset:
Greenwald's home got burgled, with just a laptop stolen, when he was in Hong Kong.
Taylor et. al. don't seem to understand. Apple controls the marketplace and is a legal monopoly, owning the software AND hardware. If you don't like what Apple does, tough luck. Whining about it has never amounted to anything and nobody is going to replace them. Long live the King.

[ now picture me killing myself by slitting my throat with an Air ]
> By trying to weasel out of paying any US taxes, they can't spend their own money.

It's not about avoiding paying any US taxes, it's about avoiding paying US taxes on earnings abroad. This is why so many Americans living abroad are giving up their US citizenship. I'm a Brit living in London and I know several American born friends that have become British citizens to avoid paying both UK and US taxes on their earnings. In fact the current mayor of London, Boris Johnson, is Anglo_America and even though he has never lived or worked in the USA, because he had US citizenship the IRS hit him with a massive tax bill on his lifetime earnings in the UK. On what possible basis could anyone consider that appropriate? He promptly gave up his US citizenship.

The US Government's attitude to earnings abroad is IMHO utterly reprehensible. I'm not aware of any other country that does this. I'm not a US citizen but I do work for a US owned company.
That seems wrong.. you can easily track app usage. Apple and Google have insane amounts of information about the devices and apps being used on each device.
A New Algorithm Reveals the Hidden World of Imperceptible Motion
Many thanks for the nitpick: yes, it was USDA ;-)

Denise Minger's book on the topic, Death by Food Pyramid: How Shoddy Science, Sketchy Politics and Shady Special Interests Have Ruined Our Health, is better than I expected...

http://www.amazon.com/Death-Food-Pyramid-Politics-Interests/...
That's the point of the game. You don't know what the reader will decide.
This is a really big problem in startup-land when a company starts hiring lots of staff before the business has actually grown. You get lots of people sitting around not doing much, and a few core people driving all the work forward. If the business never picks up, then it can turn into a caustic environment.
I, personally, would ditch iOS development for Android in a heartbeat if that happened.

But what if you had just ditched Android (i.e. Spotify) last year after publicly complaining about its usurious terms?
In theory, negotiations over royalties would be simply bargaining over some number, like a percentage of revenue or dollar value per song played. In practice, it involves all sorts of weird deals like this free trial. But ultimately, this is just about how much money musicians get for their music. It is no different to negotiations that determine the price of steel or wool. The only reason that these deals attract so much publicity is that people like musicians because they are so cool and beautiful. When people have a cool head, most can see that this is a matter between the musicians and the company, and no one else has a practical or ethical reason to be involved.
In case anyone is curious:

WebKit and Blink both use 512.
Gecko uses 200.
Trident uses a limit beyond what I've tested quickly (over 4096).
Presto uses 500.
It's generally difficult to say one language is faster than another, but there are some significant differences between the languages and implementations of Python and C/C++ that have very real performance implications.

Python is a dynamically typed language. This means that the language will handle conversions between types depending on the context. For example, one context can yield a 64 bit integer, another a arbitrary precision integer, another a string. Keeping track of when to use one versus another, and converting between costs performance. The different data representations for each type have different performance implications as well. For example, a 64 bit integer can fit into a register, and it's generally only one cycle to perform any math on it. Arbitrary precision requires math and carry be performed for every digit in the value. With C++, types are explicit, which means there is only one type for a value, and the representation is generally the most efficient (eg 64 bit integer).

Python is also generally interpreted. This means that code can't be directly executed on the CPU. An intermediate layer, called the interpreter takes an intermediate representation of the Python code, and translates it into instructions that run on the CPU. This happens at runtime, which adds overhead for each intermediate instruction. The more instructions you need to do something, the more overhead you have. C/C++ is compiled directly into code that executes on the CPU which is typically faster. This also allows for higher levels of optimization in code, since there's an understanding of what a piece of C/C++ code will look like when it executes on the CPU. The compiler can also optimize the code further, since it knows the code (generally) won't change. It's also a lot easier to use native features of the CPU like stack allocation, which is drastically faster than heap allocation.

One of the other differences is that Python tends to provide higher levels of abstraction than C/C++ code. So, doing something like a set intersection using x.intersection(y) may not necessarily be the fastest way. Python may do a hashed compare, but sorting and using memcmp may be faster. It's a lot more code to write though. This is generally the tradeoff for Python vs. C/C++ (natively compiled code) in general.

If you're concerned with performance, but you like programming in Python, you may want to check out Haskell. It's provides a lot of the same higher level abstractions Python provides, but the language is strongly typed and it can be compiled to native code. A simple example... http://uxcn.blogspot.com/2011/11/algorithm-complexity.html.
The "deal" is first of all unfair to Spotify, Rdio and other competitors who still have to pay royalties during their free trial.

On one hand, the music industry tries to get higher revenue on every front but then agrees to something that has essentially one goal in mind, to kill off any competitive streaming market, which will eventually lead to them being solely dependent on Apple. Interestingly enough, all major labels have stake in Spotify (not sure about the exact number but around 20-30% in total). Why do they now apply different rules, I don't know.

Unless of course Apple demanded not to pay any royalties, in which case the music industry is really hopeless (again). The cry for "we love you Apple but pretty please, we gave you all our music, would you mind paying us" just confirms that. They feel being robbed in an era for which they've been long overdue with a business model, don't know what to do, and look up to big brother to save them.

I love Apple's products, their marketing is brilliant, and they cleverly use all their power to make the most money out of anything. But they're getting more and more hungry and arrogant every year. Microsoft, anyone?
This dry erase board automatically saves your notes
A lot of it is all posturing right now, but there has been news of indie labels considering boycotting Apple Music, for instance:

http://www.theregister.co.uk/2015/06/16/apple_nopayforplays_...
Problems arise with regular expressions when they are used against irregular grammars.
Without knowing anything about your product or service, my gut instinct would be the 7-day free trial would work the best. With that in mind though, what works for one person with one product/service may not always work for the next so my A/B results (I don't have any for this type of test) would vary to yours most likely. The results are going to also vary based on the overall presentation of your site.

To me personally it is trivial to set up an A/B test with available tools that the best route, and to get the most accurate results, to go is to conduct your own A/B testing using your product/service and your own site. This is especially critical with the timespan question you ask as well.
This... sort your ideas in terms of which ones you like the most - if you like them equally, do a coin flip - as someone said, if you want the coin to land on one side, you actually had a preference.

Talk them over with someone you trust - never keep ideas only to yourself, that's not a good idea.

Then, do some kind of experiment to validate your idea. Do a very early MVP, a "pretotype" - you might want to take a look at the Design Thinking, there's lot of material, but what you want to know is Pretotyping - https://www.youtube.com/watch?v=t4AqxNekecY

It's tied to the "Fail Fast" mantra :) , and the Lean Startup by Eric Ries, or my favourites, Steve Blank and Alex Osterwalder - see this slideshow:

http://www.slideshare.net/Alex.Osterwalder/successful-entrep...

I'm doing something of the sort - a very early pretotype to have a starting point to talk with my potential customers and discover their REAL needs (aka what they WOULD pay money for :) ). Remember, "no plan survives contact with the enemy".
I would think that the reader should make their decision after the discussion but before others make their choices. If the reader chooses Agree / Disagree before the discussion, the discussion is a moot point; might as well skip it and hand in your cards.
Exotic? Obsolete? Really? Linked lists are used in pretty much all functional programming languages (because head/tail splitting is extremely useful)
The artists paid for those copies themselves when they paid back the record companies for marketing.
As Sniffnoy (https://news.ycombinator.com/item?id=9753381) mentions, you are talking about formal power series; but, although certain power series (like `x`) admit closures analogous to those above, not all (like `1`) do, and so I don't think that the formal-power-series ring (not just semiring!) is closed in any useful version of this sense.
they won't. maybe they only look at their bigger customers? ;)
"we don't ask you for free iphones" it's something
What's disingenuous about it? If Apple said that they'd pay during the free-trial but went back to the same industry standard rates would any of these artists still be complaining? I don't think so, they stand to benefit more overall from a service that will offer them higher payouts than the payment they get during the free-trial. The artists/labels complaining would obviously prefer that Apple offer the higher payout AND pay them during the trial, but that's why this is nothing more than a business negotiation being played out in public.

The fact is that Apple is paying for music during the free-trial, in higher and on-going payments.
See you all in another 10 years.
if you rely on triggers for data integrity, then I guess this is one more case where MySQL is letting you down and allowing your data to get corrupted unless you're really careful.

While it's not always good design to use triggers for this, sometimes, it's a valid reason to use them for integrity checking or enforcing. Having `on delete` triggers not run for some delete's is violating the principle of least surprise.

When feature break this way, people start to distrust them and best practices get adopted that discourage using them, killing the features all together.

Using a database that does not have this misfeature, both triggers and foreign keys are perfectly safe to use, but because the one database that is the most widely used has issues like the one described here, you often hear the recommendation to not use triggers or even foreign keys.

Yes, you can potentially move the logic normally contained in either of them into the application, but as you deal with more concurrency and as you start accumulating bugs, sooner or later your data will be messy and you will need to add cleanup-scripts, or, heaven forbid, work around messy data in your application logic (don't. do. that. it's the path to the dark side of unmaintainability).

Or, of course, use a database system whose features work correctly and the principle of least surprise is in effect.

PostgreSQL is one of these, by the way.
C++ Asynchronous RESTful Framework
We're excited to announce the release of Restbed 2.0. With this release the asynchronous RESTful framework is capable of HTTP 1.1 compliance.

https://github.com/Corvusoft/restbed
Previously: http://showterm.io/
I vote with the others: cygwin, and install openssh in that.

You have the added benefit of having a bash command line (or zsh or whatever) to use as you like.

But for your question, cygwin plus openssh is an excellent solution. Try it.
Something tells me we'd see a direct correlation between the amount of lobbying and the amount of legal backing your "product" needs in order to have value (copyright protection, patents, brand trademarks, etc).
You don't have to use the Spotify client; for example Clementine supports Spotify.
Presumably, the labels are responsible, not Apple. Apple represents Apple's interests, while the labels are supposed to represent the artists'. Though in practice, the labels probably represent their own.

So, presumably, the labels have decided that offering their content for free to Apple for 3 months will result in more revenue in the future, just as Apple has. Surely any artist understands the idea of giving away their music in order to build a paying fan base in the future.

Ultimately, any artists who lose a significant chunk of income due to these 3-month trials and never see increased income after the trials should be upset with their label's failure to represent them well.

Then again, isn't that to be expected as an artist? Your label encourages you to give CDs away, or tour at a loss, and sometimes it pays off and sometimes it doesn't? Isn't this the same idea? It sounds to me like a worthwhile risk. How many people were going to buy your debut album or come see a show and choose not to because they used their iTunes streaming account? Versus how many people easily stream (and pay for) you music 3 months later because they got hooked on iTunes streaming?
And a 3 month free trial is a hilariously short period of time they won't be getting paid in the grand scheme of things. Aside from our characterizations of what is "hilariously small", the fact is that the major labels saw that the deal was worth it to them. And if any of these complaining labels were put to the test as to which deal they would prefer, (paid during free trial and industry standard rates or no payment during free trial and higher than industry rates) I'm pretty sure they're going to pick the latter.
Building a primitive wattle and daub hut from scratch [video]
dx is changing in response to the user making inputs.

Imagine you are showing a different players character - at first the server tells us he is moving to the right by 5 pixels per frame. So we start moving him, in the absence of any more information we keep moving him, then we get a message from the server saying 'actually several frames a go the player decided to move at 4pixels per frame' we have rewind our predictions back to the when that happened and then replay with the new movement speed.

For the current frame I just took the first packet received from the server as the baseline frame.

So if you get a packet from the server saying "the game is currently at frame 100" that's your baseline frame, start counting from there.

You're right, if you're using TCP then you don't need to worry about out of order frames.

One of the issues with TCP is that if you are going over a slow connection to some players they will get behind the gameplay. With UDP packets if they are on a slow connection the packets will just be thrown away and they should keep up with the latest game state.

If you do a search "udp vs tcp games" you'll find a whole host of discussions.

e.g. http://gafferongames.com/networking-for-game-programmers/udp...

Personally I prefer udp - but then you have to be careful about packet sizes.

This is a pretty good library that lets you mostly forget about udp or tcp - http://enet.bespin.org/
Wow thats great!
Yeah especially your CI is really really easy to setup for small customers like us. No more XML dangling inside Jenkins or unnecessary options. Just an easy script + your multi runner..

The only thing thats bad on GitLab is that you don't have a Startup license for Enterprise, so we are running Community, since we are only 4 people. However the only things that are won't as good as on your enterprise version is the linking with jira, which however we need since the standard "issues" are just not enough for us. However thats not a fault of gitlab itself. they are good enough for the most things / projects.
I think the explanation is quite clear. It's also a game that I know me and my friends would enjoy. I've subscribed; thanks for sharing.
Macroscopic and Direct Light Propulsion of Bulk Graphene Material [pdf]
Show HN: Corbie – Your personal reading assistant
Then it's back to the web (or album sales and touring in Swift's case).
One of the more insidious ways that reading books / training up on management or being civil is when people understand the high level message and can relate to some of the individual strategies without personally embracing the ideology. So when you're face to face with other people, you can recall strategies of being civil, you play the part, but deep down the message hasn't been really been fully embraced. All it takes is a situation where strong social cues have been removed (electronic communication) and you're unable to notice that the situation requires care and involves other human beings, and you see a lot of reverting to old, poor habits.

One very skin-deep method to help out there is to create a strong culture around not having endless email discussions and knowing when to take things "off-line". Close, personal communication with care and compromise is how disputes get amicably resolved, and the impersonality of email leads to sides just wanting to be told "You are right, I am wrong". Which is a situation that will never, ever, ever happen.
> If she disagrees with the free trial don't put any of your music up for that time span

Because Apple will not allow her to do so. It is not 3 universal calendar month: every user gets 3 months free when they start a subscription, depending on when they sign up for the service. Artist cannot opt-out of the free-service tier catalog and just go with the paid users.

So Taylor Swift is withholding her music because she won't get paid for all the listens by users in their first 3 months.
Protocol-Oriented Programming in Swift
10 Social Media Marketing Tactics for Big Traffic in 2015
Classic:

[30 Jun 2005 19:04] Dmitry Lenev
We will fix this in 5.1
FYI, this paper has been accepted to Nature Photonics:

http://www.nature.com/nphoton/journal/vaop/ncurrent/full/nph...
I don't understand some of the people commenting on the bug report. If they really want it fixed, then they should fix it. Making rude comments isn't going to make it go any faster.
It's a game about guessing what your friend, the reader, thinks about the card they read? Sounds kinda interesting. Of course, it could also be boring if played with someone you didn't know very well (or someone you didn't care to know very well.
It would be really awesome if MySQL crew could spend a few months (half a year?) working on paper-cuts:

https://bugs.mysql.com/search.php?search_for=&status=Active&...

That's all the active bugs against MySQL. Note that this 10 year old bug isn't the oldest.

This is the oldest, from March 2003: https://bugs.mysql.com/bug.php?id=199
Note someone submitted a fix for that over a year ago (and verified under the OCA in November) but it still hasn't shipped. This is a bug that should never have taken 11 years to fix.

https://bugs.mysql.com/bug.php?id=3052 This one is great. ROLLBACK in a stored procedure doesn't close the cursor.

MySQL, for all its strengths, often feels like there is a bunch of typical geeks running the show. Lots of focus on the 'sexy' new features, not so much focus on keeping the lights on.
I don't think current subscription systems make the best use of this data. I personally believe that royalties should be calculated per individual paying user account rather than aggregated over total playbacks in the service.

In other words, If I only listen to 'my favorite niche band' in a month, but don't use the service much, it's unlikely that they will see anything near the full possible share of royalties from that months $10. The system instead is biased to musicians whose fans use the system most heavily on loop - ironically more likely to be taylor swift type pop megastars.

[edit - explained more clearly by http://lit.vulf.de/spotify-so-little/]

Anyone know how apple will compare on royalties after the 3 month period compared to spotify? I've been a spotify premium subscriber since 2009, but would move to a system that meets my definition of equitable.
What you aren't factoring in is that dynamic languages mean that input can change the types of variables, so types essentially become inputs.

Then there is the issue of heap allocation of most if not all variables since their life times are hard if not impossible to determine. Heap allocation is fast, but not so fast that you can do it for every variable.
In a few days #20786 will have its 9th birthday.

https://www.youtube.com/watch?v=oAiVsbXVP6k

https://bugs.mysql.com/bug.php?id=20786
This is caused by a layering problem in MySQL itself:

- Triggers are at the SQL Layer

- Foreign keys are implemented natively by InnoDB at the storage engine layer

It is not as easy to fix as it sounds.
Thanks Nicole. I've got most of the game mechanics built out and am now finalizing on a printer.
> oh you're about to buy this album? Why don't you listen to it and the majority of our catalog free for three months instead

I think it was Eddy Cue who said specifically in an interview that they will not do this.

Edit: from the Guardian

He also denies a recent report that Apple is planning to aggressively promote its new streaming service to people buying albums on the iTunes Store. “That’s the wrong way to look at it. You shouldn’t take a customer who’s buying an album, who’s happy buying an album, and try to tell them that what they’re doing is wrong,” he says.

“But we don’t have to, and we shouldn’t try to kill the iTunes Store or kill people that are buying music. If you’re happy buying a few albums a year and that’s the way you’d like to continue doing it … but if we can help you discover some new artists or some new albums through Connect or through listening to Beats 1 radio, great.”
If they are so useful that the dangers are considered a worthwhile tradeoff.
PyPy is still just a Python VM--it's not compiled, like C is.

You could write a Python compiler, but it would be difficult, and you'd need to sacrifice certain parts of the language (and/or extend it, even).

Take a look at Crystal[1]. Most Ruby code will compile without modification. Sure, some cases where type deduction is not possible (like `[]`), and certain cases of meta programming (like dynamic class creation at run-time), or accidentally calling a method on Nil (which is actually a feature to prevent runtime NPE[2]).

[1]: http://crystal-lang.org/
[2]: Null Pointer Exception, in case the acronym was ambiguous.
The Ethics of Scientific Collaboration
Maybe your graphics driver is blacklisted? https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drive...
What's also missing is that most resumes are culled mechanically by grepping for keywords. Nobody reads every resume they receive. That's why they ask for digital documents -- and then ask you to submit them again in plain text elsewhere on the form.
I was worried about this as well! Funny thing is, when I did play tests with people who knew each other well...they actually started lying about their true feelings in order to trick the other players into guessing wrong.