skysight-inc/HackerNews huggingface dataset:
I usually care about functionality more than about small noticeable differences between platforms. "Not available at all" is way worse in my books than "doesn't look like 100% native".

Sure, any cross platform UI can be a trade-off. The question is what is more important, to leave out users of all other platforms by making the UI look more native, or to reach more users.
Oh yes. Numerical underflow is such a common problem when you're training machine learning algorithms. If you don't understand floating point numbers not only will you get inaccurate results, you won't be able to troubleshoot why.

Understanding the difference between time and space trade offs for floats and doubles (this is why even something as high level as numpy allows you to specify floats/doubles as a datatype) will not only allow you to trouble shoot things, but it will make your life a lot easier when debugging.
Exactly, but of course putting the permission in a list that nobody reads (I do) in a confusing way that does not allow any customisation is easier.
I think it's pretty reasonable to say the executive branch has no legitimate purpose in keeping secrets from select parts of the judicial and legislative branches. That completely undermines our system of checks and balances, which seems to work quite well otherwise.

Also, there are at least two kinds of secrets to consider: "structural" ones, like "this program exists" and specific details "agent Bob is part of this program". I could see the need to keep some of the latter even from other parts of the government, but it seems the former could do with some review. That's where the problems usually come from, after all: either government programs that overreach their authority or failures swept under the rug. At the same time, they're much less of a security threat than specific details of a program.
This PDF does not appear to have searchable text.

Could you provide direct citations or quotes of allied countries infiltrating our government or private infrastructure? Excluding Israel, because they have the same mindset as the NSA/CIA (in which case I also don't take issue with us hacking Israel).
In PHP the best one is TCPDF (replaces FPDF) along with FPDI. TCPDF is a library to generate PDF content, FPDI extends TCPDF/FPDF to allow for importing PDF (as templates, etc) for use in your creations.

Works really well.
> last_5_seconds = song[5000:]

I think it should be song[-5000:]

EDIT it was already reported https://github.com/jiaaro/pydub/issues/65
One possibility is that the CDC should spend more of its (rather ample) budget on responses to infectious diseases and less on "playground safety and occupational hazards." http://www.usatoday.com/story/opinion/2014/10/05/ebola-cdc-j...
None of this matters. If (when) Apple/Google choose or are forced to implement backdoors, then smart people that care about privacy will confine their communications to apps that do not have them. Apps also have the added benefit of not exposing activities to phone companies that will readily turn records over to law enforcement. Even a simple web chat app accessed via Tor browser on a mobile device would bypass nearly all of our concerns about backdoors, pen registers, etc.
We live in a police state where the police are allowed to legally rob and even kill people. The sad part is that hiring "Sparkles the clown" actually makes people forget this and trust the police. Stupidity of the people is on par with the vileness of the police. You should consider yourself lucky that that is the only thing that happened to you, which BTW is standard procedure. I would say that's SOP only at the border, but it is becoming more common everywhere within the US, regardless of alleged constitutional rights that are no longer considered by the police or courts.
Nothing wrong with it, just less convenient.
Honestly Arc should get another flagship/notable thing that it has been used to create...
I would qualify that to allow certain bona fide exceptions.

If a nuclear missile launch team has the position that nuclear weapons are unjustified and that pacifistic solutions are the only correct solution to national disagreements, then I think it's okay to remove them from their position, even if they've never acted on their views by not launching when the launch order came.
CyanogenMod's Privacy Guard gets this right.

It defaults to a silently fail permission policy, and notifies you when an app is requesting access. You can then chose to deny, allow, deny always, or allow always.

It's the antidote to Android's insane security model where all users see is "do you want to be able to run this app?".
I was actually the guinea pig for that fix: https://plus.google.com/100479847213284361344/posts/9FaVBgxP... .
Some very powerful images, as well as some humorous ones and some that are just interesting! These are pretty impressive finds, I wonder how many people it took to find them and/or how long it took? Some of them I wish they'd included the location, like this one: http://41.media.tumblr.com/201fabddc9a0fc8cb3d923658344e408/...
Of people who use these tools, only a very small percentage of them also build said tools. Which makes sense. In industry, companies want to build meaningful products and data sets that provide value which can be exchanged for money. That means delivering some majority of the value in the shortest amount of time possible. For that reason, engineering teams have little room for R&D, including the kind you're hinting at. Scikit, for example, has largely academic contributors (http://scikit-learn.org/stable/about.html). Not surprising. Talents of pedantry, proof-writing, and pushing the boundaries of theory probably lies in academia as opposed to industry. Industry rewards shipping code (useful oversimplification) and academia rewards novel theory (yet another oversimplification).

Solving problems requires understanding what solutions exist (and whether they can be used, must be built upon, could be used in ensemble, etc). Choosing among those solutions requires understanding (to some varying degree) why and how the solution solves the problem. Choosing the correct out-of-the-box solution is not trivial.

One very real danger here is unwittingly lying with statistics. Which is arguably worse than wittingly doing so.
A uvular /l/ – Brokaw talking ebola, Middle East allies, fall of the Berlin Wall
>where there are a class of apps which could conceivably rely on you not being able to lie about it.

I don't think having 'mock' data is the right approach, but as you mentioned below, it's enough that the relevant API simply throw a security exception and let the app handle it gracefully.

>If the user refused you'd get an exception, but you were expected to handle it gracefully.

And that's absolutely the right approach.

>It really wasn't that big of a problem, except for the user experience of the prompts some manufacturers chose to implement being fairly horrible.

That should be handled by the OS, which would completely negate this issue.
Try it, the change can be dramatic. Ads have a lot of JS these days.
(Error code: ssl_error_bad_cert_domain)
http://40.media.tumblr.com/tumblr_losmkwvftj1qzun8oo1_1280.j...
http://www.tumblr.com/photo/1280/9eyes/2377914534/1/tumblr_l...

Why are these on Google Street View?
Nick Hanauer: Beware, fellow plutocrats, the pitchforks are coming
Walking. And google creates maps of stadiums and other important places of interest I believe.
Can I come play? I played it at XOXO and enjoyed it s lot. (Probably doesn't hurt that I am an investor in Pure.)
What stack
Also 6to5 which was linked on HN just a few days ago: https://github.com/sebmck/6to5
Ebola threatens chocolate
My /etc/hosts has 3000 lines...

If it wasn't hard more people would be doing it; I think for users, this is hard.
>But, he adds, "I think it's safe to say, and we anticipated this early on, that policymakers erred. They turned an aspirational goal that inspires support, into a target for accountability, meant for consequences."

Unfortunately, this is how nearly every department of the government views pretty much anything. That is why the regularly fail, and its also the reason why intelligent, talented people rarely want to work for the government.
I think you'd find that would make it better, because the top results would no longer be ads belonging to the highest bidders, but would actually be the most useful and relevant links.

Yes, you can avoid this by having an adblocker installed or being savvy enough to recognise what is and isn't an ad, but that doesn't apply to the majority. Just did a search now with adblock disabled, and 70% of the page is taken up by ads that look extremely similar to organic results.

Can't find the link right now, but there was a well documented case about companies who buy Google ads for things which should be provided free via the government, and slap a large processing fee on top of it. These companies end up making big yearly profits by duping people who don't know any better, and trust Google to show them relevant results, not realising that it's actually showing them the most lucrative results first.

Yeah that one might not bother you, but it's just one example... there are many more ways, some a lot more subtle, that having a primary focus of ad revenue degrades the quality of products.
Exactly. Google has people with backpack cameras that get 'street view' images for walking paths and things like that.
So did you take up Dan Shapiro's offer?
For more information on some of the C magic behind this well-written piece of software, check out the authors blog[1]. It should be pretty interesting for any systems programmer.

[1]: http://tia.mat.br/blog/html/index.html
Much of the advantage of using a DFA generator like Ragel is lost because the HTTP header grammar is actually ambiguous in several places and can't be streamed. You can use it as a component, but it isn't entirely sufficient on its own.

The HTTP 1.1 RFC requires whitespace be stripped at the end of header values, yet also permits (although deprecates) header folding, giving rise to the following ambiguity (using _'s in place of leading spaces):

Foo: Hello\r\n
______\r\n
________\r\n
________ world!\r\n
Bar: smeg

This requires that the parser buffer all the whitespace between 'Hello' and 'world!' (and the RFC doesn't put a standard limit on header value length) just in case 'world!' never comes and the value of the Foo header has to be stripped back to just "Hello"

Here's a related observation from a commit[0] by the Joyent guys, who wrote the streaming parser used by NodeJS: "For http-parser itself to confirm[sic] exactly would involve significant changes in order to synthesize replacement SP octets. Such changes are unlikely to be worth it to support what is an obscure and deprecated feature"

Another example is parsing the Request and Status lines:

GET <uri> HTTP/1.1

Technically <uri> can't contain spaces, but the RFC says you MAY accept them [RFC7230: 3.5. Message Parsing Robustness] ... which then gives rise to the possibility of <uri> containing the literal string " HTTP/1.1", and ultimately opens up bad user agents that send spaces to header injection.

Resolving these ambiguities require implementing your own buffering, and dropping down to Ragels 'state charts' feature to avoid your semantic actions being munged... which leaves you to design the top level state machine yourself.

[0] https://github.com/joyent/http-parser/commit/5d9c3821729b194...
A real shame you can't click on the images to get to the location. But.. this, and the general quality of some of the shots, makes me wonder.. are these all from Google Street View or is it an art project that includes photos doctored to look like Google Street View? (Which wouldn't necessarily detract from it, IMHO.)
The current problem cases are those where either the app developer can't justify it (flashlight app example in the original article) or is ready to write up actively misleading justifications (purpose-created apps with malware).

Your proposal would help only in combination where after seeing the justification, users can still choose to fake the data anyway. And if the justification isn't obviously acceptable, then a 1* review is a feature, not a problem.
jsaxton86's Test Result's:
Input File:
Title: The Simpsons Movie - 1080p Trailer.mp4
Kind: MPEG-4 movie
Size: 147,399,359 bytes (147.4 MB on disk)
Video Dimensions: 1920 x 800
Codecs: H.264, AAC
Duration: 02:17
Audio Channels: 6
Output Cram:
Title: The Simpsons Movie - 1080p Trailer.mp4.cram
Kind: Document
Size: 113,620,340 bytes (113.6 MB on disk)
Time to Cram File:
Seconds: 3313.306152 (55 Minutes ~13.3 Seconds)
Memory Usage:
GB (Rounded): 24.67 GB
Hardware Overview:
Model Name:	iMac
Model Identifier:	iMac11,1
Processor Name:	Intel Core i7
Processor Speed:	2.8 GHz
Number of Processors:	1
Total Number of Cores:	4
L2 Cache (per Core):	256 KB
L3 Cache:	8 MB
Memory:	16 GB
Processor Interconnect Speed:	4.8 GT/s
Boot ROM Version:	IM111.0034.B02
SMC Version (system):	1.54f36

We're really proud to try our best on your test jsaxton86, and we know that test results from the person showing you something always come with a healthy pinch of salt. So we'll ask the community to give it a try, and back us up here. Scientific testing means repeatable parameters, so we urge others to take his test too. (--EDIT: Turns out this file is too big 50MB in the limit of Github push-- We're also making our Cram file available on github, check it out with the decompressor or in a Hex editor: https://github.com/Cramcore/Crams)

From these results you can clearly see areas we aren't happy with either. Time and memory, but this is just the beginning for us, we developed this system because 4 decades of research hadn't yielded these results. Then we sat down and threw out the book. With some notes on the research of Marcus Hutter (http://prize.hutter1.net/) and Matt Mahoney (http://mattmahoney.net/) plus the input of wonderful mentors and mathematical genius like Brad Feld (http://www.feld.com/) we started code for the Cram project over 3 years and research another 2 before that. We're very grateful for the opportunity we have now.

We encourage everyone to try if for themselves, request the decompressor and try it too. But let humanity never believe that innovation is impossible. In 1966, the idea of a flip open communicator was science fiction, today we have not only communicators in our pockets, but whole computers. At Cramtec we hope our work can help move humanity to the next set of great technologies.
I've wondered about this. If somebody had tens of millions of dollars, it seems like it might be worth it to pay a lawyer a retainer or insurance or something–"Hey, you have to take care of me if a government ever seized all my assets." Otherwise, how do you hire legal representation to retrieve your wealth?
Unity is great and certainly has a lot of room to grow, and already has a monopoly on 3D engines.

It definitely needs to find a home in a bigger company. Despite providing so much value, they have difficulties with business model and bringing in revenue. The only worry I have is that the new owners won't keep it cross platform.
You're using Windows and you're using Firefox - two things that the target demographic for this product would never do.
Second this. Privacy Guard in CM11 solves this and is quite simple to configure. Add to this Droidwall and whitelist only the apps you need and you have a fairly god setup.
I guess it'll look quite empty after that.
Octocat Screensaver for OS X
A fictional account of a street view driver could make for a great story.
Exceptions are not a solution - instead of the OS request "grant permission X to install the app" you get an app request "grant permission X to run the app".

This is the exact scenario that needs to be avoided - if the app developer wants something that I don't want to give, then you can't rely on cooperation from the app.

The whole point is that if a flaslight app wants to read my SMS, then I shouldn't have to choose between using that app and keeping my privacy; the OS is perfectly capable of keeping that app in an ignorant bliss thinking that it read my SMS and can turn on the light.
Check out Oracle Application Express (APEX) - very quick for standing up applications, and provided free (as part of the DB) by a company that won't go away any time soon.
makes me remember that it's not always the equipment that makes a photo, but the photographer's eye for scene composition.
There's more to "look and feel" than just look. Qt's been using native rendering APIs for years, but they still have to emulate the native functionality, and when they get it wrong that's a lot more annoying than getting the look wrong.
That's fine on your local network. If you're pinging a system out of your local network, what you're doing is considered by many to be a denial of service attack.

http://en.wikipedia.org/wiki/Ping_flood

It's not even close to the most effective denial of service attack, but if I were to do that from my 100 Mbps Internet line I could overwhelm many company's Internet lines with a simple ping flood.
After reading your comment I was wondering the same. Some have weird angles.

Then I saw this
http://40.media.tumblr.com/895fd4acb119502f93ba099ad434de32/...

Which doesn't seem much like an art project. And is somewhere here in Mexico (the vehicle has 066 which is Mexican 911).
So while I'm not sure about all, I guess some of those are real.
I find it interesting that Kagan, a former prosecutor, sees no problem with this, while Roberts, a former defense attorney, does. How many members of the SC are former prosecutors, and is there any further alignment with voting?

What is now required to restrict the numerous variations of civil forfeiture, considering the 4th and 6th amendments, despite their clarity, do not appear to be sufficient?

Is this something that can be remedied just with normal legislation, or are we now in need of a new constitutional amendment?
Optimization Challenges – World's Largest Optimization Community
I remember my blackberry would ask all kinds of permission prompts whenever I installed a new app. It was a pain, but now I see how bad it can get when you don't do it that way.
Your next project needs a white-hat jerk
Didn't catch that one - thx!
ReportLab is a good product all right. Also, it has been around for a while and is pretty stable.

For text-only PDF reports (i.e. no styling, graphics or image support), my xtopdf toolkit may be worth a look, since it provides a higher-level and really simple to use API for basic use cases of PDF report generation: lines of text with pagination and page numbering, headers and footers, and setting the font - that's about it. But it turns out that you can generate many kinds of useful reports with just those features. As an aside, xtopdf can also create simple PDF ebooks from either text or XML. xtopdf is built using ReportLab.

xtopdf is open source, under the BSD license, and free.

A good high-level overview of xtopdf:

http://slid.es/vasudevram/xtopdf

The above URL is a presentation with many links in it, to more information about xtopdf, and many programming examples of the use of xtopdf for various applications.

The xtopdf project is at:

https://bitbucket.org/vasudevram/xtopdf

Also, a plug: I've available for consulting on PDF report generation from Python, using either xtopdf or Reportlab, or to some extent (can be decided on a case by case basis), even for PDF report generation using other libraries and from other languages, at least Ruby, Java and PHP.

I'm interested in feedback on xtopdf, including bugs, suggestions for features, etc.
That's pretty dishonest. I wouldn't call that a 'life hack', it's just deceitful.
Your first point here is critical. I've been lucky enough to get to know several extremely successful people (outside of tech), and while all of them are bright, they're probably about average for most of the people I went to high school and college with. The thing they have in common though is that they're all very good with people and got their starts through favors others did for them.
http://greenycloud.com/easy-vpn-with-digitalocean-and-docker... here is another method to run openVPN on docker.

Netflix,etc works however will be slow as every data has to be routed through the proxy.
As someone interested in doing work-travel soon. I don't want to compete with the thousands of other competent, english-speaking engineers on elance/odesk/vworkers when my current market-rate salary would be 5-6x more.

I was also considering taking on one big project (maybe 1-3 months full-time), and then traveling without work.

What about trying to make money doing your own thing while traveling? I was thinking about starting a slice of life podcast series where I interview people I meet, and kickstarting the entire project. Or making a photo book of all the places I go. I'd imagine that these kind of projects would be much more effective to execute/promote if you get fellow (remote) travelers on board. Heard of any good ideas like this?
I realized it sounded a little paranoid after posting it - didn't mean it that way.
Show HN: TeamChirp – Collaboration perfected
Hey there!

Teamchirp is a team collaboration tool which I've created over the last 2 - 3 months with some input from my friends and a few people who work at startups. I'd like to hear what you think of it!

tl;dr Team(Chat + Discuss + Tasks + Notes) = TeamChirp
"When a measure becomes a target, it ceases to be a good measure." - Goodhart's Law [1]

- or, originally-

"Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes."

[1] http://en.wikipedia.org/wiki/Goodhart's_law
Despite all the agony, the world is beautiful.
I try to engineer that specific feeling. Working on a very small team, or even alone, I'll intentionally rotate among projects on a timescale of days. When I eventually swing my attention back to a recent project, the additional set of eyes that makes bugs shallower is my own. I'm slightly different in the Ship-of-Theseus sense.

If I don't have a sufficiently large team in the space dimension, my best option is to increase its size in the time dimension.
You can't, and that is on purpose. You know, if you could pay your legal fees, so could a drug lord.
Wow. That is shockingly dishonest. Are you a RoR 'developer' ...? Always trying to get something for nothing.. pathetic
He needed a visa to enter the U.S. (probably to even board the plane).

It's easy to find articles talking about him receiving the visa in August (I guess he would have applied for it some weeks or months before that).
From the article...

'''Even Rand acolyte Paul Ryan (R-Wis) is now distancing himself, calling his well-documented enthusiasm an “urban legend.”'''

I'm guessing urban legend really mean "political inconvenience" in this context?
> flaslight app wants to read my SMS

I got so frustrated with flashlight apps asking for Internet access to show ads and getting stuck when there is no Internet (typically the same time when I need a flashlight) that I wrote one and made it completely permission free:

https://play.google.com/store/apps/details?id=com.bigosaur.l...
I guess that chromebook laptops are cheap (?). Chrome OS seemed appealing to me initially, because of the short start up time. But then, reasonably sized SSDs became affordable[1], and any faster boot times than what Linux + SSD can give me is kind of meh, to me.

What are the advantages of ChromeOS over other operating systems?

[1] And if you are considering a Chrome OS laptop, chances are that you won't be needing something like >500GB storage for it, I would presume.
I wonder if we could crowdsource the locations. I recognized the Fuji-Q Highland one immediately, for example.
If you look at some of the other releases on the artist's website you can find some of the images with their locations included, e.g. http://googlestreetviews.com/16GoogleStreetViews.pdf.
Definitely in Czechia, looks like http://commons.wikimedia.org/wiki/File:Trinecke_zelezarny_Q1...
Show HN: 01 – Binary Training Game for iOS