skysight-inc/HackerNews huggingface dataset:
This is definitely going to backfire. Stuff will be outsourced. The state should provide incentives to the best of IT crowd.
Permutations and combinations already exist within the itertools module.
A quote from the piece: "If I bought a fridge, would the manufacturer force me to register my product before turning on the compressor? Or if I bought a car - would the carmaker force me to hand over my personal details before allowing me to start the engine?"

The answer of course, is "yes", if we do nothing.
I prefer scheme for an extension and wrapping language, but I can see how LUA's paradigm could be the fisher price buttons non-coders need.
You can get decent savings (~90-95% of the optimized size) with some brute force at the encoder level, more time spent testing different filters and rearranging the palette, but it takes a lot of CPU for little gain. At some point, you might spend minutes to save bytes.

This service is much faster than that, so they probably don't use brute force at all.
If you're exiting prison, someone does generally tell you of the terms of your release. I'd also imagine that sort of knowledge becomes common among prisoners and ex-convicts.
PS. Our Errors and Omissions insurance did not cover the tax bill
It doesn't (and can't, unless Congress changes the law) override the basic requirement that Massachusetts can only require you to collect sales tax if you have a Massachusetts nexus establishing jurisdiction. However if you are 1099 consulting for an MA client, in many cases that will establish an MA nexus, so this will apply to many consultants who have MA clients. On the other hand if you purely operate a website where people can purchase software or hosted services with a credit-card, and you have no MA presence, merely having customers from MA won't establish an MA nexus.
I'm confused how a library written in Fortran 90 can be called "the C library of numerical computing".
How is this related to hacking now again?
Sure, at this point HTML/CSS has grown to accomodate many features. But there's a lot of ugly and non-obvious cruft that has been inherited over the ages and it won't change soon.

Perhaps a tool can bundle resources, but in the end it's still going to be inserted into the DOM and can potentially clash with other code since everything lives in a global namespace. There's also the problem of competing tools and the dilemma of which one to choose. Any other additional library that is meant to augment/fix HTML/CSS is another dependency that can cause problems and needs to be maintained.

QML is meant to be extensive. Not happy with how the drop shadow works? Write your own shader that does it the way you want it. Feeling that there's some primitive like an Ellipse missing? You can write your own in C++ and expose it to QML easily. In fact you can expose any native code to QML.

With HTML/CSS you are constrained to the environment it works in.

QML supports components, animations, transitions, particles, states, bindings, i18n and much more. It's also very smooth, qml is hardware accelerated. In the case of CSS so you get some hardware acceleration only for animating properties like translation, etc.

Here's the dialog I posted before which I changed to support states and transitions and also added an inline shader and particle emitter:

http://pastebin.com/hh7xARTS

http://i.minus.com/iATg82IRCaMa9.gif (result 4MB gif)

As it can be seen it's highly declarative and it basically contains no javascript logic at all besides setting the states.

Of course a lot of such features are available indirectly in HTML/CSS by piggybacking on third party libraries/frameworks, but wouldn't HTML be so much nicer if it were designed with those things in mind from the very beginning?
Show HN: My new show about startups -- Small Empires
10 Watches that would each buy a Ferrari
Have you looked at "useresponse"?

http://www.useresponse.com/faq
http://www.community.useresponse.com/responses/php-source-co...
http://www.singularcore.com/ #This is the opensource engine based on php-zend framework.

For other alternatives look here:
http://alternativeto.net/software/uservoice-custumer-feedbac... #Yeah, custOmer is spelled wrong ;)

disclaimer: I'm not affiliated with any of the products, just trying to help.
The other "darknet" options: https://en.wikipedia.org/wiki/Darknet_%28file_sharing%29

The most complete one seems to be http://retroshare.sourceforge.net/
Veto sign-in-required articles on hn.
Unfortunately Mass. has unfunded pension liabilities exceeding $20 billion (not including municipalities), and unfunded health care liabilities exceeding $45 billion (including municipalities. At the same time, states will have to deal with the new normal, which is lower economic growth indefinitely and lower returns on invested assets.

Is there any place where one can read about this/ any place where one can see data? Now that we are in the new normal and have seen cities like Detroit go bankrupt, maybe states are facing the chopping block as well (depending if they can still afford to make payments on their liabilities). It will be interesting to compare other places based on their financials as well.
Well, there's the concept of unlawful combatant per the Geneva Convention, which allows most any fate including summary execution on the battlefield. To not be an unlawful combatant is not that difficult, e.g. it requires things like a command structure and identifying clothing on the field, an armband will do. Fighting for a nation-state is not required.

According to Wikipedia, the standard Hellfire II missiles the Predator and Reaper drones use have a long range, 546 yd – 5 mi/500 m – 8 km, although these models can't operate farther than the laser designator can reach. No "sharpshooter", that is individual rifleman shooting a battle rifle cartridge has no practical chance. Maybe someone using a general purpose machine gun or better with plenty of tracer rounds in the belt, but of course that's going to be rather obvious to the operators and invite getting out of range and firing a Hellfire back. Hmmm, looking at heaver USSR/Russian stuff, these drones would be able to easily keep out of range of even the famous ZSU-23-4 4 cannon mobile AA weapon system, SAMs are going to be required.

I don't expect a Supreme Court decision, unless unfavorable, they're very reluctant to take up 2nd amendment cases. E.g. only one 20th Century case in 1939, then Heller in 2008 and *McDonald 2010. Since then I believe they've denied cert to every case that's come to them, although in terms of "clean" cases (e.g. not a criminal trying a Hail Mary appeal he's going to lose) as I recall only a concealed carry one in New York state, despite there being a circuit split with the one covering Illinois. We'll see, but I at least am not that hopeful. They will get more opportunities on concealed carry, e.g. from the circuit covering Maryland, and I think another.
Single element CSS animated camera
Now Arch, in the past I've used Ubuntu and Gentoo. I may be misremembering, but I think in all of them there is a packages with non-free codecs either pulled in automatically or at least recommended when you install a media application.
What makes you think this only applies to software developers?

I provide editorial and publishing consulting - I don't write code to sell, but I do configure and patch other people's code. Am I covered by this law? Well, I guess I am.

Easiest solution for me: don't accept clients in Massachusetts.
My experience with mplayer (and hopefully mpv) has been that it's very resilient - it's able to play almost any video file, even those that crash or lock up VLC. And it's blazingly fast too.
Naive implementation might be:

fib :: Integer -> Integer
fib x = truncate $ ( 1 / sqrt 5 ) * ( phi ^ x - psi ^ x )
where
phi = ( 1 + sqrt 5 ) / 2
psi = ( 1 - sqrt 5 ) / 2
That's not a Haskell question per se, but in any language you can implement it using two intergers (a, b) that represent the number a + b * sqrt(5).
Yemen: The Most Dangerous Place You Have Never Heard Of
So much for ever shortening attention spans.
And it’s not just Massachusetts developers that have to deal with this. It’s anyone who has clients who have “software” that is being “used” in Massachusetts.

Talk to your lawyer if you doubt me on this one, but Quill vs. North Dakota means that it is the well-settled law [+] of the United States that you cannot be liable for sales or use taxes enacted by a state which you don't have a "nexus" in. What exactly constitutes a "nexus" can be hazy, but the punchline for the overwhelming majority of HNers is that if you do not have an employee who performs work for you within Massachusetts you almost certainly do not have a nexus there.

Theoretically HN users who are also Massachusetts residents will have to start remitting use tax to the state to cover purchases of covered which they made from out-of-state merchants. It is an open secret that compliance in the US with use taxes is nearly zero.

+ Well, until they pass that threatened Internet tax legislation.
San Bernadino and Stockton already went bankrupt, so I guess bond holders exposed there were just fine with that.

It's a game of wack a mole, and like all arcade games, they end pretty quickly when you can no longer put any more coins in.
"your internet, huh?" sense of entitlement? Check.
Excellent news! I work for a very large publisher in Canada that uses WordPress as its CMS of choice. Because we use Akamai and shrug at bandwidth costs, I don't have much of an argument there to use of this service, but shrinking all images on a page by 25% to 50% is going to have a noticeable impact on page rendering time.

The plug-in would have to make the process completely transparent, though - it should happen as part of the normal WordPress upload workflow, with not even one extra step for users to have to take.
Sadly this module has been killed by the department and is no longer available to students
I am more of an emacs guy, but your last point is making me want to give Vim a shot...
I don't think it needs an official standard library, just a community agreed and supported one which is well maintained.
CSS Solar System Model
‘Mega’ To Fill Secure Email Gap Left Behind By Lavabit
Agreed. I run a small business (thankfully not doing software) in Massachusetts. I don't mind collecting sales tax, but when they make it an overhead nightmare it's impossible to figure out. I'm just one person; when your revenues are in the $10k range, hiring someone to figure it out is impossible. If they just charged a fixed rate for everything it would at least not so heavily favor big business over small companies.

I'm also confused because it seems that most of the reasoning is that companies sell the software for cheap and then make the service contract expensive. I've seen this done by companies like Autodesk and National Instruments for sure, so I can see why they'd dislike it. I design custom equipment, and I'd be tempted to do the same (charge at close to cost for equipment and charge as a service for labor). But this seems like an incredibly poorly conceived way to fix the problem that will cause more issues than it will address, and it's surely not limited to software. I could pull the same trick in any kind of contract work.
Pulselocker hits version 2.0, offers 'Spotify for DJs'
There are a ton of reasons the stay in or set up shop in California. Talent pool, established community, etc. I can't think of any for Mass. Massholes.
Are they factoring indie sales into these numbers?

Large media producers of all stripes are notorious for conflating their sales with all sales. That makes for a particularly egregious practice here, where indies may account for 30-40% or more of sales.
Blueprints Of NSA's Data Center In Utah Suggest It Holds Less Info Than Thought
I'm all with you on this anti China bashing rant, it's too easy and sometime even get the smells of the yellow peril. But there is another x in the equation: seeing foreign companies or institutions go firm against governments, including China's, and taking the risk of losing market shares and money, is very instructive for the Chinese youth, it shows them, and everyone in fact, that the world is not all about money.
There is nothing wrong with it for what it claims to be. It is just content free and shouldn't be normally front page material, except right now there isn't much competition.

Most everyone is on vacation.
How China Is Blocking Tor (Winter & Lindskog 2012)
There are a couple of Chinese-native products like Wikipedia: Hudong and Baidu Baike, at least. They both have more articles than English Wikipedia, although I have no idea about their quality. And unlike Wikipedia they are for-profit companies. Anyone know of a good article that compares them in depth?

In the US we tend to look at the parallel Chinese Internet largely as a political question, censorship. But a primary reason China encourages homegrown products is simple economics. China isn't content to be a US economic colony, they build their own successful businesses.

http://en.wikipedia.org/wiki/Chinese_Wikipedia#Competitors
The Sad Truth
I can't help it, but this sounds like straight from 2001.

Never had any issues with the things you mentioned for the last 3 to 4 years.
>Virality on our social networks can be used, and I am sure it will be used, for more than just getting Psy to the top of the charts or Obama elected. Its just a matter of time.

Greater errors have been made in the understanding of human nature; think communism and libertarianism. The technocracy is a bit more reasonable, but we are still far away from it. We need some crisis to drive radical social change, and for all the crying right now, we are pretty comfortable.
Many Entrepreneurs Believe Viral Marketing is Free
It's not really possible for a human-powered bicycle to go 80mph. Air resistance tops you out at probably around 50-55mph and there's not much that can be done, the power output of human legs has a hard ceiling.

So inherent in a story about a bicycle going 80mph is some way around that limitation.
Thank you for your comment. It certainly made me think. I am not sure I see this the same way that you do. But I do realize now that my comments might seem negative and I do not want that - I think I have said enough and I should stop now.

https://news.ycombinator.com/item?id=6194860
There's a fun Minecraft addon (ComputerCraft) that lets you write robots in Lua.
Good riddance.

If this becomes a business case to bring back something closer to real journalism, it is a good day. The NSA/prism story is really well-suited to this format. Connect the Guardian interview to administration concessions to POTUS conference. Would have been more valuable to the public than the soap-opera story that developed around Snowden's asylum seeking.
Stop using email:"If you knew what I know, you might not use it either"
I think that the NXP LPC11U2x based boards with on-board USB don't require the second interface chip. I haven't implemented it yet, but they allow direct USB programming via the same kind of system.

http://mbed.org/platforms/mbed-LPC11U24/

The chip itself is under $5, so if you're implementing it yourself I think it comes in pretty cheap. You still need two USB ports though, which for me seems pretty irritating to explain to a customer I'd end up integrating it for.

The best I can think of is to have a USB port for the interface, and then have a hidden internal USB port that you have to take off the case to access for reprogramming the firmware. That's ugly though, compared to the Arduino style where you can use the same port for both.
Been using mpv for many months as my only video player on my laptop Archlinux setup and everything has been great.
Been telling people to check it out and no single complaint has been given, and most have changed solely to mpv.

The -opengl-hq option is a great option to easily get acceptable quality playback without the hassle.

But even still, Windows is so much ahead in video playback by just a hobby of one guy (Madshi, software being Madvr) that it is a shame to Os X and desktop linux. FRC (smooth motion without any of the soap opera effect people hate) completely removes the need to use 23.976 Hz on your monitor, so you can use what your monitor is build to use. With Jinc + anti-ringing filter as the scaler, your image looks gorgeus even how much you need to upscale it.

These are the reasons my HTPC still runs Windows even though I love mpv and would like to change but my eyes can't make the jump just yet.
It is possible, the record is 82.33mph ( http://www.ihpva.org/land.htm ) and Graeme Obree is currently working to best that and aspires to go significantly beyond it:

http://www.gizmag.com/graeme-obree-beastie/28234/

It's actually happening this week and they're out there right now doing it:

http://obree.com/obree-news/297-ihpva-world-land-speed-recor...
If you want to have expensive ground breaking research done in the private sector, you basically want superprofitable corporations that have at least regional monopolies and power to guarantee their long term security via direct or indirect law-influencing/making/changing powers. If you get to this, then they'll also need corporate police, corporate armies, corporate intelligence services etc., that will also have powers over and provide protections to civilians depending on their corporate affiliation.

You basically want the dissolution of traditional states and their replacement by corporation states - a form of corporate semi-anarcho capitalism.

...and it doesn't sound like such a bad idea actually. We just need to choose between gross incompetence (what governments worldwide have shown us they are capable of) and pure for-profit maliciousness (what corporations showed they are capable of). We just need a 3rd magic ingredient, maybe something like a "global karma system" that could help keep the "profit driven maliciousness" in check. If this magic 3rd ingredient is ever realized, and corporations agree to become more democratic, a switch to the new system becomes possible if desirable.

Over all this, the basic truth is that in order to take on the risks of costly research you need to have either:

1. guaranteed long term and real power (governments and monopolist corporations can have this, less for corporations since the landscape is too dynamic now to guarantee the "long term" part, nor more big Bell and AT&T :( )

2. a reliable way to turn a significant percent of any kind of research "outputs" into guaranteed profit (this is actually an area I'm very interested in and I think I have some ideas, but I'm not sure if I should just"open source" them or wait until I'll be able to "sell" them...)
Designers Checklist Advices
it's the federal government, canonical Peter Principle in action. Your answer is the correct one, but moving the family to take a new job is not desirable.
Yes, it is a Haskell question more than you think ;-) since, for example, using types for fraction or other kind of patterns can work different in Haskell than in other languages. I think it's possible in Haskell to add symbolic manipulation as well like in http://christopherolah.wordpress.com/2012/06/01/hasksymb-an-... or http://homepages.inf.ed.ac.uk/wadler/realworld/docon2.html

Also, there are implementations in the list that can be implemented in the same way on non functional languages.
Since I became wedded to my Kindle for consuming journalism thanks to the superb sites such as http://longreads.org and http://longform.org * my reading time has exploded, plus I pay for services where possible as I am in need of their curation. Since using these sites I feel better informed about the world and I have a deep, deep respect for longform journalists. I'd love to see this stub idea extend to the Kindle being able to manage updates - it seems to be an exiting idea for readers and journalists alike and I'd willingly pay a subscription.

*fixed url typo

Also - these sites can send articles directly to my Kindle email, or I use the Readability plugin to right-click on any url and have the contents delivered on demand.
Chicago is also boned in the future: http://mobile.nytimes.com/2013/08/06/us/chicago-sees-pension....

EDIT: Alternatively http://www.suntimes.com/news/cityhall/21642911-418/city-defi....

Keep in mind that Detroit had loaned money from other states that aren't likely to get it back.
President Obama: 'I don't think Mr. Snowden is a patriot'
Previous discussion of this item: https://news.ycombinator.com/item?id=5689157
I would like to just say that I like OS X's design, why wouldn't you want to copy it?

Edit: I noticed a lot of people saying Linux is, in fact, sexy, due to compiz and what not. Linux looks like shit and always has, there is no elegance. I, for one, have never been happy with the appearance of any Linux distro, even if for some small thing that just bugs me. Compiz might let you do some wigglying and having a box, but what Linux needs is polishing and that's what it looks like Elementary is doing, so props to that.
I am probably the only mplayer+teletext user in Australia. I'm trying to strip out the subtitles from a DVB-T stream and do an analysis of the words used on a commercial vs a public channel.
You're in fact wrong, the chance that users will have exactly the same version of jQuery cached is pretty small. [1]
If you want to read more about jQuery on cdns, there is a long discussion on html5boilerplate github page. [2]

[1] http://statichtml.com/2011/google-ajax-libraries-caching.htm...

[2] https://github.com/h5bp/html5-boilerplate/pull/1327
Wikipedia works just fine, it's not blocked by the GFW, even the Chinese version. Wikemedia is blocked on some networks (like CMCC), so you might not get images, and of course, some pages are blocked. Https may or may not be blocked depending in the ISP, and if it isn't blocked you can access any page you want.

China is 100 times worse than the USA on freedom and censorship, whatever you guys are complaining about over there, don't get the wrong impression that it is even close to what we get here. I'm neither for attacking or appeasing china on censorship. Frankly, there is enough internal pressure that change is inevitable, they'll deal.
Yeah, there's not that much difference between drafting behind a car and using an aerodynamic shell.
Thanks! I can't say I fully understand what you mean; I was mostly taught to do electronic music using Max/MSP, so most of the stuff I make is all about generating sounds without much direct conception of things like notes or patterns. It's a little unusual of an approach, myself I do things like build simulations of throat singing based on research papers.

Here's a video I did with my throat singing simulator accompanying an LED art piece I did a long time ago.

http://web.mit.edu/neltnerb/www/artwork/ultraluminous-2008-0...

I guess I don't understand how a rythmic sequence would get so complicated as to overwhelm a computer =) Is this like Conlon Nancarrow stuff? His work is incredibly bizarre.

https://en.wikipedia.org/wiki/Conlon_Nancarrow
Right-click download is an implicitly inherent feature of the HTML5 <video> element that is used, not an explicit choice by the creators.
I love it, too.
Melbourne's where I ended up. Beautiful place.
200+ comments topic 14 hours ago :
https://news.ycombinator.com/item?id=6193148
But this is all about the factorial function, not the fibonacci sequence
Anecdotal evidence: most articles I find on Baidu Baike are copied straight out of Wikipedia, but many articles on Chinese topics have extra information added.
This statement is deep realization and the fact that everything is ephemeral is hard and painful. But there's gotta be more to life than moving from one distraction to the next. I guess it's a religious thing; a greater sense of purpose.
That was before they started their vicious attacks on VPNs. We've been through 3 paid ones this year, and still can't find one that works.