skysight-inc/HackerNews huggingface dataset:
I don't disagree with the main point, but Python already has quite a bit of this. A more pythonic version of the first example:

@retry(DOWNLOAD_TRIES)
def download(url):
...

images = [download(u) for u in urls]

To check if a sequence x is ascending, you can use standard library functions:

all( t[1] > t[0] for t in zip(x[0:-1], x[1:]) )
I much prefer DigitalOcean's option of no root password and letting me upload my public key. There's no need for them ever to know my password or private key.
After the page loads, you are redirected to the Syrian Electronic Army web site.

Specifically this page: http://imgur.com/CkIFBmY
If the father dies the child also gets nothing, so no real punishment.
Online ads is a broad category. It includes social media, display ads, re-targeting ads, and paid search ads. Social media adverts are hard to measure in terms of ROI. At my workplace we have found a way to measure profitability for paid per click ads. We can optimize to drive more conversions at a cost effective price. Success depends on what one is measuring and what the end goal is. In the sea of data it is easy to get carried away on optimizing and improving front end metrics.
yes, please use your bright-ass smart phone in the middle of the movie theater. distract every person behind you while you figure out when would be the most convenient time for you to pee.

(this is why i don't go to movies anymore.)
I still use Blogspot because moving my posts to another platform would mean too much time lost. I prefer to invest this time in hacking and writing articles. But yes, the desktop experience is a little awful. However, it's the only theme that works flawless on tablets and mobile devices.
Why is this on top of HN? Because the original founder of Telegram was forced out of his company and his shares now belong to Russian oligarchs, so we all forget that this was a bad softwar with old crypto and claiming to be open source when there's a server side code that was never published and we all thik it's cool to give away all of your phone to Putin's friends.

Why Threema? It's proprietary, so you can't say if it's really more secure. Just use TextSecure and please, build some TextSecure federated services.
It doesn't need direct port. But it can take advantage borrowing ideas or library design principles.
What do you mean by "encrypting group chats with end to end is not even possible"? Can not group chats be viewed as N*(N-1)/2 two-way chats for purposes of encryption?
New leaks show Germany's collusion with NSA
"...and his computer, network, software and environment are a complete nightmare."

Are we talking P4 and XP here or something worse? Just interested (I teach and we have mostly Core Duos with 2G/4G and log into a roaming profile system based on Server 2008, all seems to work ok).
No idea how but I'd managed to miss underscore.js up to this point (this is one of the things that drives me crazy when I have to move into a domain that is adjacent to mine I never know if I'm doing things the best way).

This is going to make things much simpler for me working on the client side.

Nice!
I wish one of these services would allow signing up without a sim and allow chatting over a desktop client.
Unfortunately one of the major backup related pain points with RDS currently is you have no way to interact with the automated backups aside from restoring an instance to a point in time. They are also deleted when the instance is deleted. Manual snapshots aren't. Manual snapshots can be used to launch and new instance, or they can be moved to a different region. You MUST do your own backups of the databases if you want to get them "offsite" or off account. Like I said, PITA right now and from what I here a common request on RDS is being able to get at the automated backups and snapshots so you can move them offsite.
This reminds me of a fascinating article in The New Yorker called "Twilight of the Brands." [0] The author's basic argument is that brands have historically filled an information gap. Before the Internet, when consumers didn't have tons of on-demand info about products, brands were a compass that pointed them in the right direction. If the last Sylvania TV you bought worked well, you might buy another one without hunting down reviews for the new model.

Now that product info is ubiquitous, the author says, the role of brands and traditional advertising is declining. So, when I hear critiques about a particular form of online advertising, I think about the broader, more subtle ways in which websites influence our purchases. Companies are starting to pay more attention to online forums and social sites, which are more persuasive to consumers than traditional banner ads.

[0] http://www.newyorker.com/talk/financial/2014/02/17/140217ta_...
Just

zip(seq, seq[1:])

Won't work with iterator though.
Or they are trying to do the thing BMW and Apple do where they are trying to make you feel good about a decision you already made.
> ...after buying something I frequently see ads for the same exact product from the same exact vendor...

There is a theoretical justification for that (note: "theory" not used in the scientific sense!) -- for large ticket items like cars, recent buyers are more likely to notice an ad for the expensive item they just bought. Some ads are aimed at them to make the whole "experience" somehow better, to offset buyer's remorse. That way you will talk up your purchase and be more likely to buy another when you replace it.

The other is when you have a high volume low-price item (e.g. toothpaste): you've demonstrated a willingness to buy (i.e. you're a qualified buyer at some level) so why not try to remind you that the next time you need toothpaste you should get it from the same place?

Since so much marketing "science" is bull, nobody actually knows if this works (any more than they do with the online ads). But at least your seeing these time-wasting ads is intentional, rather than necessarily a software error.
It would be interesting to see how many GPS pairs map to a single address not at an intersection. I would guess most people don't go directly to their address but to the nearest cross streets since its cheaper and faster.
I disagree, who says there isn't a bug with Heartbleed-like severity in their crypto?

You could flip your argument around and say the fact it took so long for Heartbleed to have been discovered means even OpenSSL didn't have enough people checking it. Which it probably didn't. And Telegram has even less people combing through its source than OpenSSL did pre-Heartbleed.

The only valid reason I can think of is a small and obscure proprietary crypto algorithm and implementation isn't worth the bad guys/agencies' time for finding the inevitable bugs. But Telegram has gained more than enough popularity for that ship to have sailed months ago.
Not sure why they are trying to sell "the most secure messenger"… but it solves all my problems:

- whatsapp — mobile only (and phone number dependent)

- hangouts — slow

- fb messenger — does not have native mac app

Telegram solves it all
> there were several ongoing, large construction projects

This seems obvious to me. When someone donates millions of dollars to a university, they want their name on a building. The Thomas J Somebody Architecture Building. The Susan C Millar Library.

Nobody wants the Frank T Frankhauser IT Department payroll fund.
The article does acknowledge this point, and offers a possible solution. In the edit at the end, i t suggests a system for distinguishing those who initiate defection from those who respond to ti with defection, and in principle that could make defecting against a group that didn't do anything "wrong" a wrong thing.
> tradeoff between readability and compactness

What do you mean by "readability" exactly? Can you provide some kind of definition for what "readability" is? Can you point me in a direction of any research on "readability" (in programming) and it's impact on programmers' productivity?

Sorry for the OT, but this is a pet peeve of mine: we have no way of defining, let alone measuring "readability" in any meaningful way, yet people, including even experienced programmers like you, talk about "readability" as if they knew what it is, how it looks like and as if it was some universal feature of physical world like force or speed.
Another solution to look at: https://guardianproject.info/apps/chatsecure/

Android-only right now but open source.
The premise of the article is naive at best

You can use web analytics to measure a conversion rate from ads. Hence user clicks ad -> sales happens (in the best cases). That's Internet Ads 101

In fact, with online ads the "if it works" part is much more measurable than for other medias

"Last year, a group of economists working with eBay’s internal research lab issued a massive experimental study with a simple, startling conclusion: For a large, well-known brand, search ads are probably worthless."

Once again: "For a large, well-known brand"

Well, so do you mean that pumping ads for something everybody already knows (and already gets massive advertisement everywhere else) doesn't work? Color me shocked.
>We think 4D movies; movies that gets the audiences' devices involved into the experience could be a way of the future.

That is certainly an interesting idea. I'm thinking, though, that getting it to work and be stable across the many devices we have is prohibitly difficult.

If I were to do something like this, I'd look at the Firefox OS phones. I don't think they are ready yet, but crazy cheap Firefox OS phones will come. They target developing countries, but would also be good for something like this. So when people buy their ticket, you also sell them this cheap device which you've prepared so that it'll work out of the box. It'll be similar to the way they currently sell 3D glasses at the cinemas.
It's of course possible that two people on a "level playing field" agree to an employmeent like agreement - fair enough, one is providing the other with a service - but could do without it, as such he or she can make sure that the compensation is fair.

However this "level playing field" doesn't exist today. As such this agreement is not based on a rational choice, but a coerced one, where the one person got the capital and the other person needs the capital. As such the power is with the capital and the compensation is much less determined by the worker. Furthermore the person without the capital can only choose between different people offering compensation against labor. This person can't just do without it.
Micro Niche Profit Formula – Micro Niche Profit Formula2
marccarson.com/articles (occasional freelancer-oriented content)
And we already have man pages for that, thank you very much.
Package Management. Packman Style.
Time-lapse: Planetary Panoramas
NASA to send astronauts a million miles into space to build massive telescope
20 Years Ago, Apple and Kodak Launched the Digital Camera Revolution
Why are we still doing this? We've known how to do secure authentication without the remote end holding your secret for years via public keys. Everyone here likely does this every day with ssh. There is even a browser mechanism for generating personal certificates for web authentication. The correct long term solution to this ought to be making this solution more intelligible and accessible to users. To hell with passwords and password exchange. They are a huge bug on the internet.
Because security is not easy. Often when I ask these questions the responses range from not being worth bothering with because we still shop at Target, even though they've been hit, to just dealing with a breach after the fact, rather than being a little more proactive about it.

E.g. https://news.ycombinator.com/item?id=7920558

Like I said, security is hard. Microsoft is the only large corporate I know of with a published security development lifecycle, and while it's starting to benefit their products they're still not getting it 100% either. Security is also contentious, because doing it right means forsaking the idea of an MVP. It also requires design up front. And experience. These sorts of things are not exactly aligned with the hacker mindset, nor with startup culture.
So true. I run into this when needing to debug some weird stack trace error but have recently run into google fuzzing my "" exact searches. Now I know I'm not the only one
For guys, if you use this app too often you might want to have your prostate checked out. I used to leave in the middle of a movie but post-op cancer surgery I luckily don't need this app anymore. I was in my early 40s when I was diagnosed so it's not just old geezers who should be aware. Luckily most cases are benign, though.
Did Google really name a feature after a P2P protocol? Coupled with the + symbol I initially thought this was about a file sharing protocol that G killed
I won't belabor the point, but I think these concepts in Python (and Ruby) influenced the design of Underscore, not vice versa.
What about p2p search engines?
Are they any good?
Optimal in what sense? Bayes' rule is just an identity - a decomposition of one distribution into the product of two. Decomposing the posterior in this way says nothing about the complexity of the distribution itself.
If you make your extension available as a plain zip file, people can download it, unzip it, and then use the "Load unpacked extension..." feature available if "Developer mode" is checked.

So it's definitely still possible to use extensions on Windows without going through the store.
I'm pretty sure I've reloaded my Whatsapp conversations after reformatting my phone
It would be interesting to run something like http://wiki.openstreetmap.org/wiki/That_Shouldnt_Be_Possible on the data, and aggregate the results to detect segments where OpenStreetMap data is likely to be wrong.
IANAL, but...

The digital restrictions management that Nintendo implemented with the Gameboy described here sounds like something that I've heard actual lawyers say works: you write an API in a way that the only way to use it is to make your code declare something or other. For example, you make you code do something like

some_function(posarg1, posarg2, i_agree_to_the_license=True)

and if you don't pass that named boolean parameter, the API just refuses to work.

If I understood these lawyers correctly, code is indeed law.
How Reuters got compromised by the Syrian Electronic Army
I think the biggest point why python does NOT need underscore is that python has pip and for almost every problem exists a simpler helper library.

Probably _the_ reason for underscore is that it can be distributed via CDNs and cached by the browser. This reason does not exist for other languages. If i want to retry stuff i can use a retry library, easily downloaded via pip. Same as i use argtools because argparse sucks. Same for database access, etc. etc.
Suddenly I feel stupid for complaining about CSS rotation not working when I was 18 or 20.

It is interesting how Nintendo used existing trademark law to prevent reverse engineering before DMCA: games had to display the official Nintendo mark at a certain time or the boot loader would fail, they could sue unauthorized companies that displayed it for trademark infringement.

Obviously I would prefer that they hadn't been so closed off but it is an interesting "hack".
he means not possible in Telegram
No, it wouldn't be too hard.

Here's a live demo where we turn a small crowd & their devices into the movie's sound system.
http://vimeo.com/71647538
GitHubReminder
Absolutely security is hard...and it's also not what `Yo' is really worried about. If they have to worry about security, then they already hit it big and they can just fix the issue ex post leako.
I don't think it is that important. The important issue is that they are suggesting that millions of USPS customer's mail is being monitored in this way. And certainly, they aren't all members of violent organizations.
So, I was skeptical that only 19k webpages would contain the actual word mars (as per the +mars query), and curious why "verbatim" search wasn't included for comparison.

So I tried verbatim search for mars, to find the estimated results count disappears. However, skipping along the pages got me the counterintuitive result that verbatim search for mars finds only 188 results - I'm pretty sure that google has indexed more mars-mentioning pages than that!

Oh, not counting the "very similar" results:

> In order to show you the most relevant results, we have omitted some entries very similar to the 188 already displayed.

Clicking this "include similar results" link gets me 45 results pages or about 450 results that mention mars found with a verbatim search.

I feel like I've gone back to 1994!
https://play.google.com/store/apps/details?id=org.thoughtcri...
Just because something cannot be quantified DOES not mean it does not work....Marketing is often UNQUANTIFYABLE...but almost always effective.
Yeah you might want to read this: https://news.ycombinator.com/item?id=7927795
Why The Cool Kids Don't Use Erlang
'Yo' reminds me to Woof, https://www.youtube.com/watch?v=8wfG8ngFvPk
The problem is that industry does have access to the negotiating documents. It's civil society that doesn't.
DuckDuckGo fits very neatly in this niche, btw (although it has its own flaws of course).
Agreed 100%. It's extremely frustrating to have your search engine second-guessing you and making assumptions about what you really want.

If the majority of people don't know how to use a search engine correctly, maybe we should focus on teaching them how to use one, instead of dumbing down the search engine so it gives only "OK" results for stupid queries and is nearly useless for people who know what they really want. I know at least the "introduction to the Internet" courses used to teach how to use search engines effectively, i.e. use precise search queries, +/-/boolean operators, etc; don't know if they do anymore.

I hope this isn't the case, but to me it almost feels like they're trying to deliberately make it more difficult to find exact information on what you're searching for, and that makes it harder for people to get the information they need to make informed decisions, so they can be more easily persuaded to think what companies like Google want them to. For a lot of people, Google is how they view the Internet - in some ways, Google is the Internet for them. Google has immense control over what and how people can find things on the Internet, and that is what I find most truly quite worrying.
Being a Ruby developer for quite a while, Underscore.js always struck me as an attempt to bring some of the native functionality of Ruby into the language that had none of it. Internal iterators being the most immediate example.

Problem is that Javascript lacks a lot of the things programmers need at hand. So they write stuff to complement that deficiency. I write in Dart as well and can tell you I love it precisely because it provides better OO capabilities through its core.

Which really brings a very important question to the table: what should be a part of the language and what shouldn't. A Unix minimalist in me wants a language to be as small as possible. But then when you actually start writing code, you mostly want simple things done without having to import new libraries.
The point of the article is that the sale would happen regardless of the ad.

Ie showing an ad on Google to someone who types 'Ebay' in the search string is a waste of money - since Ebay shows up as the first natural result anyways.
So, 1 out of every 200 searches contain a "+", possibly for refinement. In 1 out of every three of those searches, the "+" helps the user find what's wanted. No information on a) some users are better at using the "+" correctly than others, b) If removing the "+" means that now three out of three of those searches fail.
AngularJS slide deck collection
In this repo I collect slide decks I created for several meet-ups and conferences. Maybe you find them helpful somehow.
Why ansible? I'm storing my dotfiles in a private git repo and sync across multiple laptops. Works fine so far.

Put the dotfiles and directories into git. Symlink from ~/.vim to ~/dotfiles/.vim and be done with it. (~/dotfiles would contain the git checkout of course).
Creating ring tones with Debian Linux
What do they even mean by "it was used incorrectly"? Did they somehow reach out to and ask the user if they found what they were looking for...?
I remember reading the tobacco industry was actually secretly grateful when the EU banned them from advertising.

As I remember it, they were in a stale-mate. The market was pretty much divided up. Most people were loyal to their brand and that was that. Despite that, they were spending a massive amount of money on advertising even though their market shares remained unchanged.

The reason was that if one of them stopped funnelling massive amounts of cash into advertising, they would lose a big chunk of their market share to the others. So they were all paying mostly to maintain the status quo.

With the ban on advertising, the amount of money saved greatly outweighed the revenue lost as others couldn't advertise either so it really only affected new smokers rather than convince current smokers to switch brands.

I see a similar thing happening in my line of work. In our niche of e-commerce every player of importance works with the same online marketing networks and paying rather a lot per sale or click.

There's a whole lot of sites out there which basically exist to infest organic search results, send traffic to us and our competitors and collect their referral fee from the advertising network. They add no value[1]. Without them, the customer would have been similarly divided amongst the competition as well without having to pay for it. Yet, if we stop paying them, we'll lose a lot of business as our competitors will continue to do so.

Disclaimer: this is all as I understand it and in no way my employers opinion or persepctive ;)

1) Some do, by providing extra information or ranking the shops by what's best for the consumer (price, reviews) rather than the most cash-per-click.
> Can you provide some kind of definition for what "readability" is?

Sure. In this particular case, your parent considers an algorithm "readable" if it can be readily understood by someone who is not familiar with the particular language being used, and is not experienced with Lisp-style languages, but is experienced with ALGOL-style languages.

That's not a universal definition, but at this moment in this path-dependent world it's a reasonable thing to consider.
Is Whatsapp open source?
Plus, do you really read through hundreds of thousands of lines of code before using a service?
However, this leads to the other flaw in the argument, where eBay has been the company most famous for abusing Google's ads, and using them in a completely nonsensical way.

http://www.searchenginejournal.com/how-not-to-run-a-ppc-camp...

I'm sure you've noticed that a search for any noun called forth an ad for eBay. You're enticed to "buy Dog Vomit on eBay" when your dog is sick. And then, even if it was something eBay plausibly sold, when you clicked through it'd take you to a generic eBay search page or, often, a landing page that was not useful at all.