skysight-inc/HackerNews huggingface dataset:
Python is an ideal replacement for small Java programs, not Shell.

The moment your script needs any more than 10 regular expressions, or dealing with >3 files all in a complex interplay- use of Perl becomes inevitable. And that is something like the very utmost basic thing you can do with Perl.

Python is more like tried-to-be-scripting-but-is-a-web-framework language.
Actually, not so simple. Sure, you can do simple crawling easily; but the hard part is to extract meaningful data from it. It's very easy to loop on many sites for instance. Protocol violations abound - some sites serve binaries as text/html, for instance.

What I heard about a smaller search engine was that web crawling is usually augmented with some manually added rules for various sites to prevent spoiling the database. Not a trivial task at all.

Doing queries is IMHO algorithmically much better understood, because it's a constrained problem. But getting information extracted out from the real world, with all the PHP and HTML "hackers", not so easy.
The outer quotes aren't required:

APP_ROOT=`dirname "$0"`

(See http://www.tldp.org/LDP/abs/html/varassignment.html#EX16)

Also, even if ^J or ^M were present in a parent directory's name, the command above would still work. Whitespace-like characters take some getting used to with Bash.
that means I actually might have to be careful about what I write, and THAT is very wrong in my opinion.

You have to be anyway, you are responsible for your actions and every action of everybody can result in something. The problem is what we as society want to be acceptable results, that is, where we as society want to draw the line.
The distance measurement tool has been removed from more recent versions of Maps. It's why I haven't upgraded to the latest version, as the elevation profiles from the distance tool are really handy.
I think rjbond might be referring to the slightly more meritocratic "world" of SV engineering.
See my link below for an Oculus demo using 360 degree cameras. It's doesn't feel nearly as fluid or 3D as the other Oculus demos, but it's promising nonetheless.
The First-Ever Google Glass Porn
You are allowed to play with the hardware. You can remove/change chipsets, install anything, take it to skydiving or burn it. Doesn't mean they have to make it easy for you to do it.
You might find Mark Suster's opinions helpful. The podcast of his Stanford talk(s?) are also pretty good.

http://www.bothsidesofthetable.com/2011/05/09/the-co-founder...
Nice to see they've written the parser from scratch rather than some BISON and FLEX construct that generates impenetrable code.
Huh, no mention of "set -e -u"?
Do yourself a favor and follow this, too:
http://www.davidpashley.com/articles/writing-robust-shell-sc...
The $240k could be realized through a varying mix of: not having debt (and having to drain off 240k + interest in future income), not spending money you earned working over the summer/part-time (this won't cover it all, though), and/or a your parents giving you the college fund. Regarding the point about the parents, I readily acknowledge that not all parents would be willing to do that, but many probably (in my opinion) would.
I'm absolutely stuck on that. Any hints?
Marketing after product - totally disagree. Today marketing and product is one in the same, no way to tell when one begins and the other ends. Basically what he should have said is start with deeply understanding your target customer, that's the hard part and people always screw that first step up.
FreeBSD is not just a kernel, it also ships with a userland, which includes a C compiler (obviously).

In other words, FreeBSD ships with a gcc binary, which means FreeBSD is distributing gcc, which means all clauses in the GPLv3 apply to them.

Any group/company/whatever wishing to ship FreeBSD that doesn't strip out the compiler will be affected similarly.
You should check out a book called The Light Of Other Days, in which remote-viewing wormhole-cameras are invented and a situation similar to what you are describing plays out.
"Your" Cloud Data Is Not Yours, Take 2
Thanks! Same to you :)))
Should there not be a larger emphasis here on the nature of the service? It's not humans reading the mail, and the gathered data -as far as I know- does not enter the hands of a third party.
Linux Virus (Not) Causing Problems
> Elon Musk, an entrepreneur who hopes to make a living some day building cars.

Didn't he already make all the living he needs and now just does whatever he likes?
I thought MySQL AB has dual licensing model and that business can pay for commercial non-GPL MySQL.
Of course, there are also some people crazy enough to write web apps in C, C++, or dare I say Haskell! The latter has become popular, but every tool has a purpose, and every tool can be re-invented, like if you are a garbage social app so popularly social you compile your PHP into C++ and give it a music genre name.

I am sure no one will get that reference. :-)
any chance to open source DOM too?
Thug made a solid DOM with pyV8 but still not 100% compatible as far as i know.
I'll take "Because Google's entire business model around email is processing it to serve relevant ads next to it, which requires that they be able to read it" for $1000, Alex.
They sell supports. Theorically, they don't even have to contribute to development of Linux at all.
I always wanted a shell best practices book (for formatting, beyond the TLDP Advanced Bash Guide, or dare I even say the POSIX spec). I will definitely checkout the Gentoo ebuild scripts. I used to look at Debian in my youth to try and find someone to imitate.

However, are there are any people writing lint or prettify or Perl Critic like progs or web services that will properly wrap and do things you mention?

Would there be interest in such a thing?

UPDATE: I found this stuff. Does anyone use these things?

https://trac.id.ethz.ch/projects/bashcritic/

http://man.he.net/man1/checkbashisms

http://stackoverflow.com/questions/3668665/is-there-a-static...
There's a difference between having 40 dollars, and having 40 dollars to spare :)
What part of the Open Source Definition[1] does AGPL not comply with?

[1]: http://opensource.org/osd
http://www.tldp.org/LDP/abs/html/

TLDP's Advanced Bash-Scripting Guide is a great resource for learning bash.

For example, this section talks about the meaning of "$*":

http://www.tldp.org/LDP/abs/html/internalvariables.html#ARGL...
KYou, a new open source solution to know yourself better
Agreed. Piping and a few of the other syntax niceties ('&&' for conditionally chaining processes is my favorite) are a hard match for even the best process-management library you might have in a general purpose language. Maybe a Lisp DSL could match that, I don't know.
Correct, in many countries there are more laws protecting the privacy of snail mail than laws protecting e-mail
That's not a great term as it's both a bit vague as well as a bit condescending in some circles.
I get daily trending repos in my emai from

http://www.githubarchive.org/
Come to an agreement where both parties are equally unhappy.
Thanks. I ve updated the corrections.

I guess it also comes because of my Indian accent!
It's a load of tosh, we all dabbled in some early web coding using packages like freeway and dreamweaver, same shit but better. Let them 'code'. Let's see what happens.
Stuff like this makes it really hard to stay angry at Google.. just beautiful.
SoundManager 2 makes it easier to play audio using JavaScript.
*This* is how you write a pull request
Anyone still using Google services since the NSA revelations is an idiot. I'd like to see them bankrupt after their betrayal of their do-no-evil and open source roots.
If you like the engineering ideas of yore you should get your hands on a copy of "Engineer's Dreams" by Ley. It's full of delightful megaprojects, some of which, like the channel tunnel, have actually become reality by now.
Does lavabit-like services scan the email for spam or full text search? If so, they have the lack of privact Google is talking about
Le Pliage Sac Longchamp de voyage Taupe 1625089116
That's got me thinking. I suspect it might. The psychology behind it form me is not to be getting a worse deal than everyone else. If everyone else can enter a discount code, then I should be able to as well.

But if the code is targeted at a specific set of customers that I know I don't fall into, then I would probably overlook.

Things like:

- Student discount

- Over 60s discount

- Job seekers discount

But finding the right label that doesn't offend, and right way to validate the authenticity of the customer's eligibility, is no trivial task.
You can't stand up in a car either. In any case the ride is going to get you to qualified medical personnel within half an hour :)
Does Gmail's tarted-up tab makeover bust anti-spam laws?
The article makes an important point: Even if you don't care about your own privacy, you should still respect other people's privacy.

That is, don't publish your personal information if it is related to others, unless they gave you permission to do so.

More generally, never impose your own decisions on others.
LE PLIAGE SAC LONGCHAMP EBÈNE 260500231
Error handling in Node.js and Express
Anybody have a link to a version viewable without proprietary plugins? "Flash Player 9 (or above) is needed to view presentations"
Uh, this is not really a tech article, its more of a fanboy article, or something. When he says "all other operating systems" I'm not sure what he's talking about, because most of the statement is basically untrue...
The government says the boy in question wasn't the target. We don't know who was, so it's impossible to know just how much of a threat he posed.
I feel as though this list overly generalizes. Don't just blindly follow these; many of them can be proven to be wrong.
Interesting discussion, if a bit inconclusive. It also very much highlights the limitations of twitter as a means to discuss things.
It's impossible to convince anyone that they should pay you even $1 if exactly the same thing is available for $0 from somewhere else.

Radiohead's In Rainbows, the Humble Bundles and other pay-what-you-want sales disprove that statement. All had average purchase prices well above the minimum. (That doesn't mean such a model is very profitable compared to fixed prices, of course.)

Even in a purely self-interested point of view, there are reasons for paying (e.g. keeping development active).
SpaceX Grasshopper Divert (13 Aug 2013)
I agree, that the Haskell community is generally awesome. There are just a number of vocal trolls that tend to frequent HN.
Android isn't always better.
Can you point me to the sections above where you directly disagree with my statements? I don't see them? Or do you agree that America is a terrorist state because it ignores the rule of law and carries out vigilante acts.
Ok, I had a feeling that would be already settled but a lot of people seem to think you should be paying taxes now and I don't see how can that can be done without knowing which of the many exchange rates to use.
The Rohr Aerotrain tracked air-cusion vehicle
>I doubt there is enough daily people traffic to warrant it otherwise?

Sydney<->Melbourne is the third busiest air route in the world with 8 million passengers in 2012[1]. I'm sure there's more than enough "potential" passengers.

[1] http://en.wikipedia.org/wiki/World's_busiest_passenger_air_r...
More about the problem with The Pirate Bay and the future of file-sharing
Could you please look at my other comment in this topic? I'd be very grateful if you could help me.
The "a person has no legitimate expectation of privacy in information he voluntarily turns over to third parties" quote has been massively taken out of context by everyone who is covering this story.

The overall case appears to be about people complaining that Google scanning their emails and showing contextual ads is a privacy violation.

Most of this document is an explanation of why that shouldn't hold (Gmail users agreed to this when they signed the ToS, automatic scanning is essential for things like spam filtering and full-text search, legislating against this will kill innovation in online services etc).

The section that contains the "expectation of privacy" quote is in reply to part of the case which suggests that, while Gmail users may have accepted the ToS, non-Gmail users who send an email to a Gmail user have NOT accepted that ToS and hence are having their privacy violated.

The counter-argument presented is that, if you send a letter to someone and they allow their assistant to open it, you shouldn't be surprised by that. The analogy is that if you send an email to someone who has chosen to use a specific email provider, and that email provider automatically scans your email in some way, you shouldn't be surprised either.

As I read it, the "third parties" in the troublesome quote aren't Google themselves - they are the recipients of your email who happen to be using Gmail. You've turned over your information voluntarily to the recipient of your email, they can then chose to allow it to be automatically processed by the email provider they have an agreement with (without this violating your expectations of privacy).

I call bullshit on the whole story.
Making Mobile App Development Easier with Cross Platform Mobile Push
Check your bipedal privilege cis scum. No but seriously, every time you feel the urge to make a luddite point remember that there are disabled people who are getting a whole new lease on life via enabling technologies.
You need to add this whole message from this point up the tree onto your site front & centre.

-"Slow, costly internet connection? Save your bandwidth and download quotas by..." (identify problem)

-"Our service saves files from the internet directly to your dropbox without using your connection" (how it works)

-"Spending $x per yGB? At $4.99 per year you can save $z" (value proposition

-features (esp security), how it works (diagram?) pricing/signup

Good luck & congrats on your launch
40 Maps That Will Help You Make Sense of the World
To put that quote in to context:

While the non-Gmail Plaintiffs are not bound to Google’s contractual terms, they nonetheless impliedly consent to Google’s practices by virtue of the fact that all users of email must necessarily expect that their emails will be subject to automated processing."

This is talking about non-Gmail users who send email to Gmail users.
Um... Incoming Naive Questions.

Why do we need yet another HTML5 Parser?
What's wrong with Webkit?
What's wrong with the new Gecko2 HTML5 parser?

And what license is it?
Talking about privacy. Why use services like Scribd ?
A simple link to the pdf file hosted somewhere else would have suffice. I then can do my searches locally without them tracking exactly what I do (who views what, who searches what). SASS (Service as Software Substitute) is evil...
We have two perfectly fine terms 'free software' and 'freeware' to denote programs that are distributed under a license compatible with the ideals of the free software movement and for software that's distributed free of charge.

Of course the free software movement doesn't own the term 'free', but context matters.
How one does search(CTRL+F) in DOM in Developer tools? Either I could not find such a feature or it is very well hidden?
Infraestruturas Offshore em Discussão no OTC Brasil 2013
The tradeoff you are suggesting in this case is not valid. BSD-licensed software does not become any less free the moment someone uses it in a non-free project. It is only the changes to the code by the non-free project that are non-free, but none of the original code is affected.

Whether those changes would have been made free if the original code was GPL-licensed is highly debatable, and there are plenty of examples on both sides. Notably, there was more or less no way MacOSX would have been built on GPL code. Conversely, many router projects have been forced to release source code due to being based on GPL-licensed Linux code.
It's a shame that the page performs so `jaggy` on my computer.
Google Maps easter egg: street view inside the Tardis
Agree. The sender has no guarantee that the recipient haven't handed over authority to open and read mail to somebody else. It is not necessarily anything wrong with that.

At my office my secretary reads most of my snail mail, and at home I have authorized my girlfriend to do the same. Gmail reads my email. In all cases my reasons are the same; I am having a hard time keeping up with all the mail that comes in and want someone to filter out what is relevant.
It's great to read well documented studies like this. Most blog posts on such topics tend to be based on very little evidence
What open source roots? Their core software was always proprietary; if anything, with Android and Chromium, they're more open source than ever.

And frankly, I don't see great changes in the "don't be evil" policy either. When has Google been a great champion of users' privacy? Targeted advertising has always been their business model.

Frankly, the only thing I see is people's rose-colored glasses about the early Google.
They could still do that in a secure way, client-side, if they wanted: when content is displayed in-browser, javascript could parse it, send home relevant words (on an encrypted channel), and receive relevant ads. The server would have to ensure that data is not saved, or it's anonymously aggregated right away -- you'll have to trust their word on that, but that'll always be the case.

Computationally expensive, maybe, but it's 2013 and browsers can take a bit of abuse. It wouldn't cover people using POP/IMAP, but Joe Average doesn't bother with that geekery anymore. Obviously it would take some time to implement, but it could be done.
"We promise, we won't screw up with your Dropbox folder."

Should be

"We promise, we won't screw up your Dropbox folder."

But it'd be even better if you just left that out in my opinion. It creates doubt because you're stating something that is kind of expected from a service like this.
Lavabit founder, under gag order, speaks out about shut-down decision
Ironically enough, anti-spam processing on Lavabit was reserved to paying customers, i.e. people who valued their privacy even more.
IIRC there was an article about feds tracking meta info (recipient, destination, date) on letters too.
I still use google services.

I'm conscious of what happens, much before the NSA revelations this year.

I use 8.8.8.8 for DNS on some networks (for external resolution and for nagios) knowing perfectly that each request is registered and extrapolated.

I use an apple macbook air for some tasks, even if I know I've no control over many privacy issues in such machine.

On the other side, I've had offline networks for some data I didn't want never go out of my firewall. The only conection of such networks, was a 2TB USB disk, to update the mirrors of the software that such networks did need.

When I want to make something online not related to myself, I start from the beginning: using hardware not related to me or my credit card, and using an internet connection not related to me or my bank account.

I trust certain things, don't care about certain things, and care about others (i.e. my webcams and micros are always with duck tape, since invented, bluetooth? disabled, 3D in the browser? disabled, external fonts in the browser? disabled, etc).

Should I wear an "I'm an idiot" t-shirt ?
>>Anyone still using Google services since the NSA revelations is an idiot

Care to name a good alternative then? And a good way to notify hundreds of people and companies to change my address to a new one,and convince dozens of friends to stop using hangouts and use X instead?
Open Inspector, there is a search field in upper right corner of the page source pane.
I'm confused. It sounds like this is all limited to data built on Cozy such as Cozy Mail and Cozy Todos, why would I want to switch over to those applications to do my mail and todos?
I assume it isn't done knowingly in most cases, since very few people will read the fine print.
Unless you can persuade everyone who has your contact details never to use these facebook features then you can assume they have those details.
I think it's a little naive to assume Google just matches a few words in each email and serves ads based on that.
At least in Firefox Aurora 25 there's a small search icon to the right in the inspector. But its search functionality seems buggy...

Edit: It only shows searches as a CSS expression, and it doesn't show the results in the DOM view, only by highlighting individual results on the page (like inspecting that element)
PKI specifically means you don't have to rely on secure key transfer.

Encrypt everything, and post your public key on any keyserver you choose. There is very little sensitive information in a public key (though it can tie you socially to another party, in a cryptographically strong manner, for those who are concerned about such things).

But the point is that an out-of-band and secure key transfer isn't required.
You enter by clicking the double arrow on the ground (move your mouse around the image if you don't see it). Should look like this: http://i.imgur.com/mrl11c8.jpg

I'm told it doesn't work on the new Maps beta, so if you're on that you'll have to opt out to see.
First impression on the name: KYou sounds like a pitch for personalized lubricant.
http://mywiki.wooledge.org/BashGuide is the ultimate bash guide, along with http://mywiki.wooledge.org/BashFAQ

For learning the differences between POSIX sh and bash (which can trip you up if you want to run on systems without bash, or if you simply don't know that #!/bin/sh is different from #!/bin/bash), see http://mywiki.wooledge.org/Bashism

And regarding how to parse your example, the $* in a string expands to all input parameters to the function, separated by the first character of the IFS variable (e.g. space).
Note that some of those long arguments don't work on OS X or BSD, so do some tests if you want to be portable.
Adsense Async in hungarian
I'm trying to decide whether you're making a positive point or a negative one.
Also, there's no reason to use uppercase for all variables, it's just that environment variables are by convention uppercase so people seem to think their local vars need to be uppercase too.
That eternal debate: native app vs mobile website
Ask HN: Where to find programming challenges for sharpening algorithmic skills?
I am looking for a set of programming challenges that'll help sharpen my algorithmic skills.

I've worked a bit with CodeChef and SPOJ. Both have problems that test problem solving abilities of varied nature.

However, I am unable to decide which one to follow through with. So I decided to ask the community.

What resources would you suggest for improving my thinking/algorithmic skills? Something, that'll have problems spanning all the fundamental concepts.

I am a student of Computer Science Engineering, and I'm not new to programming or algorithms; though I'm a far cry from being an expert.

I had tried my hand at Project Euler too, but you can get through those problems with sub-optimal solutions. For eg. the first problem's solution can be arrived by at by using an O(1) algorithm, but the system would accept a solution generated using an O(n) algorithm too. That wouldn't motivate deep thinking.
(http://projecteuler.net/problem=1)
Chrome's PDF Viewer allows execution of embedded JavaScript XSS
HTML5 Popularity Among Fortune 500 Companies
As a travel planning startup, we’ve always thought that travel and mobile were long-lost twins. We had natural strength in building web apps but wanted to experiment rapidly on the app stores too. I just did a blog post on how we threaded the proverbial needle on this issue.

Would love to hear your thoughts. What do you think of the tradeoffs we made?
I'm very excited because even though is useless for me is an enough small project to actually learn something of C programming...and from Google no less.
They are the easiest trackers to build. But I would like to add stuff like weather tracking (based on forecast API), number of posted tweets, number of github commits...
What is a Passion?