skysight-inc/HackerNews huggingface dataset:
I don't have the IP for the code so I can't copy it here, but what I did was very simple and the gist of it is described below:

The parser used regular expressions to recognise function definitions and calls in those definitions.
I used file names as the function scope, this was good enough because there were no two functions with identical names in the same file.
Function calls became the following terms: "calls(x,y,z).", meaning that function x in file y calls z.

These "calls" terms actually define a directed graph.
If you google "prolog path through directed graph", there are lots of hits that will help you out.
The following (untested) code should get you started:

%there is a path if there is a call
path(Caller, File, Called, [calls(Caller, File, Called)]) :- calls(Caller, File, Called).
%there is a path if there is a call to some function and there is a path from that function
path(Caller, File, Called, [calls(Caller, File, A) | P]) :- calls(Caller, File, A), path(A, _, Called).

After that, you can find all possible paths with "findall/3" and check for existence of a certain known good/bad function with "member/2" (again, google is your friend)

Due to some properties of the code, this simple approach worked well enough for me.
Hopefully this helps you out.
Is the CIO an Idiot?
We've not run specific tests yet for Android, but, unlike Scala, our runtime is small and the code performs as fast as Java on most benchmarks.
"Today, your social graph lives in a brown box, called Contacts, on your iPhone’s home screen"

Is my plumber a member of my social graph. Am I in the social graph of my clients. I doubt.
Pointless and unfunny. Nintendo doesn't even produce the kind of hardcore games, that are most popular on KS. And not a one mention of Ouya - too scared to draw in that comparison?
Well, pure mathematic models also don't have any real-world meaning, and no predictive power with regard to the real world events. Still, nobody thinks that the analytical proof of the Pythagorean theorem is somehow inferior to the empirical one (involving multiple reproducible experiments that measure sides of the actual triangles drawn on a piece of paper with a ruler). We are content with mathematics being consistent within itself.

However, if we (1) add certain assumptions about, say, physical laws, the structure of the reality, the way we can observe it, (2) propose a reasonable way to map some aspects of the world to our mathematical models, (3) calibrate the result according to the future experiments/observations -- we might get a quite useful natural science like physics or astronomy. The pure math will serve only as a low-level tool. That's how the Austrian economists see the place of the pure economics theory: just an analytical tool to be used along with the other disciplines/sciences for solving real-world problems.

For example: Austrian economists believe that it can be deduced from the first principles/axioms that enforcing minimal wage above existing market wages results in involuntary unemployment (most of the non-Austrian economists also believe this is the case, although their methodological basis is different). Assume there was a policy act that included, among other things, raising the minimal wage. A year passed, and it so happened that there have been changes in the economy indicators, including lower unemployment rate. The act was not the only thing that happened in that time; lots of factors may have contributed to the outcome. An Austrian researcher will definitely not count raise-the-minimal-wage factor as contributing in favor of the lower unemployment rate; the factor will be counted against the lower-unemployment-rate outcome, and will require further explanations, what other factors have outweighed its effect.

Using math (well, formal systems/notations) does not guarantee your whole research about the real world is correct, but it establishes a baseline for consistency and rigorous reasoning. It's the same with basic economics.

(My formal education was in mathematics / CS. I study economics, epistemology etc. only as a hobby.)
My own biggest vim productivity boost: :set rnu

This enables relative line numbering, meaning that moving between lines suddenly gets much quicker. For example: I can type 18j and not miss.
Maven Git Flow Plugin for Better Releases | Atlassian Blogs
Who gives real information as answers to security questions? The approach I took is to use a hardware device with limited login attempts to generate store most of my (random, 16 character) passwords (an IronKey, in my case).

IronKey have a reset mechanism involving security questions; I've never used it, and I don't know the answers I gave; they're on a sheet of paper, in a safe somewhere. Yes, it's going to be inconvenient if I ever need it, but if it happened tomorrow it would be a once-in-ten-years event.

My bank inconveniently REQUIRES security questions in addition to a PIN for online banking; again, the information they have is made up. I remember it because I use it regularly, so that ISN'T written down anywhere.

For almost anything else less important, I've either just ignored the security questions (ie. entered random data) or noted them in the extra account info field on the IronKey.

For email, I run my own mail server in colo. It's maybe overkill, but I don't care. Credentials are again 16 character random passwords that I couldn't tell you, and authentication is only allowed over TLS. I'm toying with going for full client SSL certificates but device support would be the issue. I've already discovered more than I wanted to about incompatible SSL implementations on mobile devices over the years, which is why I'm still building Debian packages from source linking to OpenSSL instead of GnuTLS... And there's no webmail access. Never did find one that wasn't either written in PHP, half-functional or abandoned.
I looked at http://www.vim.org/maillist.php and came across https://groups.google.com/forum/?fromgroups#!forum/vim_use. I came across plenty of tips there, but that's mostly in QA form. If you want to read just tips, try http://vim.wikia.com/wiki/Vim_Tips_Wiki.
Yep.

Who has time to shave when you're killing it.
I don't think this is a problem that can be solved via a technical solution to be honest. Personal recommendation can go a some way, but being able to vet developers for a specific role is something only the prospective employer can do.

Someone may be good at bashing out CRUD rails apps day and night and so anyone who uses them for this task is going to highly rate them, but that doesn't mean they're a good fit for your company, especially if you don't actually know what you need them for at the point of hire (especially true for non-technical founders).

Couple that with the fact that there's no motivation for 'better' developers to sign up to these services (as good devs are normally stacked up with work and have an existing network to hook into) and all you're left with is something similar to an odesk clone.
When I read articles like this, I imagine scenarios involving some United Earth Government sending vessels deep into space with one time pads which would protect us from evesdropping from advanced hostile civilizations with vast computing/cracking power. I guess it would kind of suck if your glass got broke and then you couldn't decode any more messages from Earth.
Years ago I listened to the creator of Sodaplay: http://sodaplay.com/ (http://soda.co.uk/)

His speech was about how you develop something and people start using it completely different from what you imagined or even wanted. His tip: learn and take use of it.

Probably people like to have 1TB of free storage.
Interactive checklist for your website
Thats a really well made ad. I'd never have normally sat through a game trailer and watched it all, but for that I did.
Shocking how common this reaction is from people.

I used to play an online soccer manager game. One day I found out - essentially because I had copy/pasted a bit of buggy javascript into their homebrewed forum to help them spot the bug - that the forum itself would execute any javascript a user put into their posts.

Alarmed, I notified everyone I could think of. And waited. Knowing these guys were infamously non-responsive, and that this was a pretty bad issue, I then posted about it for everyone to read to raise an uproar and get their attention. Which it did. And we all waited.

Finally, I posted a small script that popped up an alert with "You've just been infected by a nasty bug", put it in a few places with "tasty" subject lines to get people to click & read it.

Oh, they fixed the bug. I also received from the non-technical Forum Moderators - real quotes, I kid you not:

-- one week forum ban for "taking advantage of a bug" because "someone had to be punished for this"

-- one week forum ban for "spamming the forum" (I had post I had a great player for sale to get clicks, then explained the security flaw instead in the post)

Users were outraged at the bug; moderators of the forum were outraged that I had caused such a PIA by causing all these popups when they were trying to browse the (insecure) forum
Google Plus update brings the web’s best new features to Android
Help is at hand:

http://www.flickr.com/help/forum/en-us/72157633549071436/

"But we are working on a plan to let non-recurring Pro member sign up for recurring Pro subscription. We will post more details when they become available."
Unfortunately there still are persons that view those that find security flaws in products, and report them, as a threat to the stability of the world, like if the problem is an insult to them. Never got to understand them.
As long as the game quality is still good, people prefer to keep playing a series. I'd pick a Mario game, or a Metal Gear Solid game over some generic first in series game. I don't see anything wrong with mario, wario etc. They produce familiar decent games.
A Modest Proposal for Improving Website Authentication
The Android app STILL does not provide automatic upload. That is the only thing I want or need from the Android app - I backup images I take on my phone, and make public the few that I want to share. So now I use Google+. But I have years of photos on Flickr, so I'd still like to switch back.

I really don't understand why it's missing.
Is there any way to force it to keep the assets for open tabs in the web page cache?

If I have a few tabs open I should be able leave the browser, run enough stuff (take a call, play a game, text) to force the browser code to flush from memory, and come back and view the pages I have open without having to endure ANY reloading.

This seems to be a problem with all the android browsers I've tried.
You're right, I hadn't thought of it that way.
This is very encouraging. The fact that not only this is possible quite effortlessly, but that they actually encourage this kind of customization drastically increases the likelihood of me buying this thing.
Unity drops licensing fees for the engine’s basic tier on iOS and Android
"According to CNET, the law originally meant to prevent landlords from turning residential properties into hotels."

Which is what AirBnB is essentially?
Why Women are Always Hungry During Pregnancy?
Games are not a game changer. What makes Linux great is grep. That is why it will not be a mainstream alternative. The tragedy of casting Android as a success for Linux is that it comes to the mainstream on locked down devices and as a vector for widespread corporate data collection on individuals and their personal lives.
Behind the Scenes at QueryTree: The Anatomy of a Web Based Data Tool
Show HN: Raspberry Pi Laptop
This kind of looks like a fight Google was never going to win. They either continue doing what they were doing and allow MS to take competitive advantage of their openness, or they shut the door and MS wins again because Google is suddenly evil.

Maybe I am misunderstanding what happened here, but right now this looks like a perfect example of "see, this is why we can't have nice things," played out in the real world.
Once I decided to make my final.university assignment with Game Maker, and I.bought two copies for me and one for a teammate.

The thing started to refuse to launch after a update on Windows, and this started a long talk with their helpdesk and people in forums. Eventually I was convinced the bug was in their DRM, found a cracked.version, and indeed the cracked version worked just fine.

I told this finding to the helpdesk, hoping they would fix it, or at least say sorry...

Their reaction was call me a filthy pirate, delete all my support tickets, and after I wrote.the whole tale on.the forums they quickly hellbanned me, by removing all permissions.instead of.banning me, so other users.think.I left, not that I was banned.
I think the battle for working font rendering in Chrome for Android has been lost, the developers apparently consider it "acceptable quality" and are "ramping down development":

https://bugs.webkit.org/show_bug.cgi?id=84186

Which is pretty amazing, considering how Chrome for Android seems to horribly misrender every other site. I'm almost tempted to switch to Opera thanks to them just adding an option to disable this misfeature, even if losing sync with desktop Chrome will be a bit painful.
I really love the latest FF23 dev tools, been using Nightly for quite a while now. The dark theme is nice. But I think the keyboard-bindings need some work.

- Chrome has this nifty feature where pressing 'Esc' in any of the dev tools brings the Web Console.

- Also, consider this use case. Let's say I enable dev tools on a page, use the Web Console, do some investigation and focus back on the page leaving the dev tools enabled. Now I want to get the focus back to Web Console, but using Ctrl-Shift-K disables the Web Console all together and I will have to re-enable it. Some key binding that brings focus back to the dev tools would be nice.
Not really a great feature of opera mobile 14.. the last version was available for android 2.1+, and Firefox mobile (IMO the best mobile browser) is available for 2.2+.

Sucks for my nook stuck on 2.1, no more updated browser. (I do understand why though, and can't say I blame them).
I was a heavy Amiga user in the day and constantly got into arguments with people advocating its office software. No Amiga word processor was capable of producing decent output or handling documents longer than ten pages. They looked fine (ProWrite was a MacWrite clone, Excellence was a WriteNow clone) but didn't stand up to any kind of serious use.

The Amiga was the world's bestselling home computer and utterly dominant in the games market outside the US for several years but never became a credible desktop productivity computer.

Having non-square pixels in its highest resolution non flickery display mode sure did not help.
I wonder if they read it as blackmail. Like imagine you received a phonecall from a stranger saying 'Your house alarm is insecure. Someone could break in at night if they wanted to. You might want to think about that.'
A few people have asked if the video and slides for this talk are available. Unfortunately it did not get recorded and the slides don't make much sense without the words and there was a considerable amount of live coding in a REPL.

However I'll be attending http://webrebels.org where I'll be giving a more refined version of the talk - it will be recorded.
there need to be employee protection laws for cases like this.
Not really. As long as you build in redundancy. Ie, automatically distribute multiple copies of the same files or blocks over multiple different sites. Yes, all of the sites could make breaking changes at the same time, but then all of the disks in your raid array could die at the same time too... Hence backups.
Google Person Finder: Oklahoma Tornado
Seems they're being pedantic about icon colour?
A Journey Through A Dream World
Maybe.

Mac sales increased when the iPhone/iPad was introduced, the same can happen with linux. It doesn't really help when Ubuntu hides the term "Linux" on the homepage.

There is very little brand recognition among regular consumers.
My roommate and I ruled out moving to NYC about a month ago when we started reading about NY and NYC government.

I was going to visit for a few months at my roommate's insistence. According to this, it's legal as long as I rent for at least a month, but I'm becoming less and less inclined to visit at all.
If you're crossing the road and there's traffic coming, should you walk diagonally away from the oncoming cars, or walk straight across (perpandicular to the pavement)?
I've said it many times and I'll say it again, the only way Linux will reach a rapid turning point is the day Adobe port over Creative Suite and or Creative Cloud to Linux. Lack of Fireworks and Photoshop are the only two things preventing me from switching to Linux completely, I know many others in the same situation as I am. I currently run Linux in a VM which is fine, but not ideal.

So to me, lack of commercial and popular applications like Photoshop are the reason people don't use Linux. While there are tonnes of open-source alternatives, lets not kid ourselves, we all know Photoshop as well other applications have no decent open-source alternative that makes the switch worthwhile: especially not a decent Fireworks alternative which is a must-have tool for me.

Unless something dramatically changes, PC will always have the games followed by Mac.
There are angel investors in Silicon Valley (and elsewhere) who focus on smaller but less risky wins. It's not a horrible strategy, I think, if you make only a few investments and do it for reasons other than getting rich.

(If I were in a position to invest, I'd be happy investing in businesses which were sustainable/profitable but not the next $500mm exit IFF I wanted the beneficial side effects of those businesses. Even down to the scale of a single individual, sort of the "patronage" model. I think it's entirely reasonable that a single person could accomplish great solutions to small to midsize problems, like say a good zerocoin implementation. Sadly, I'm not right now, and probably won't be for several years.)

Plenty of angels seem happy with longer term or potentially ongoing revenue streams -- the kind of people who invest in restaurants, dry cleaners, consultancies, etc. Seems like it only makes sense if you really like the industry/product or the team, though.
I think the point was that now that so much of our interactions take place through our phone it is very easy to migrate to new platforms. Think of how quickly Snapchat or Instagram spread for example. I doubt they would have been nearly as popular if they were web apps.
George Soros cuts Apple stake, adds Google shares
They did say your social graph lives in, rather than your social graph is. Ultimately you can add and subtract from your followed/following lists in an app.
Offtopic, but this is the second comment of yours where many space characters have been replaced by random periods. It really makes your posts more difficult to parse. Did you get a new keyboard or something? ;-)
I remember playing with storing files in gmail years ago. Unfortunately, they rate limit how quickly you can "upload" emails via IMAP (or at least they did), which prevents you from using it as a general purpose filesystem. Also, it's dog slow, but that was always going to be the case.
Guantanamo Hack Threat Prompts Wifi Shutdown
...are you people kidding?

Of course things like pirating people's software or publicly posting an exploit is going to result in some sort of ban, if not worse! Has human nature and its long history of overreaction just escaped everyone lately?

It's not great, but it's reality. If the only fix available to you is piracy, pirate and go about your business... if they're ignoring the exploit you've reported, making it public isn't nearly as likely to help anyone as it is to turn you into a whipping boy.

Of course, if you don't mind these consequences, go for it. But I don't see how you could possibly fail to foresee the potential backlash.
Highly illegal in Sweden as well.
The non-sleazy way to sell on forums
Black Rock (2012), Watch Movies Online Free, Full Download
Never.

1. Only one thing wins the desktop: pre-installations.

2. Gaming requires superb driver support, which almost always means commercial drivers. Linux's licensing inflexibility makes this very difficult.
I don't know if you live in a building where someone is AirBnB'ing their apartment out, but it's not the most pleasant thing. A lot of weirdos in my building and I get paranoid every time I come to Vietnam for a few months.

I'm kind of +1 on this.
It's worth noting that if you cancel your Pro account (I just did), Flickr pledges to return the balance of your membership fee (prorated).
I'm going to go out on a limb and day that it sounds as though your behaviour wasn't very responsible. Fair enough - there was a bug, it needed to be fixed. Bringing it to the attention of everyone in the way you did doesn't sound very mature.

Obviously you thought it was urgent and maybe the admins weren't being responsive enough. You have to keep in mind that priorities vary. Always keep in mind, there are real people on the other end who have to deal with this. What if your actions dragged an unhappy parent away from a sick child to deal with a PITA who thought his issue was so important as to demand immediate attention?
True story.

But FFox has made major progress the last few years :)

And I would like the give Google a good reason to continuing their support of Mozilla: a userbase.
Given the sublet abuse where there are people subletting apartments with 50 year old rent controlled apartments (500 dollars a month for 4 bedroom apartments) on West End Ave, I think NYC should take a quick look at itself, since WWII ended...a while back.

NYC rentals are hotels and always have been...and thats not a bad thing.
I feel like you didn't read the article.
I tried to use NHL box scores to predict NHL outcomes. Seemed like a pretty good opportunity to use machine learning. Ended up only being able to predict at like 54% or something like that which isn't even enough to break even.

What I did find though was that if I looked for games where my estimated accuracy rate was high and the odds were good then I probably could have bet on those games for a profit but they were very rare.
> Of course things like pirating people's software or publicly posting an exploit is going to result in some sort of ban, if not worse! Has human nature and its long history of overreaction just escaped everyone lately?

Did you read the article? He told his boss that he thinks the security badge system had a big flaw. His boss agreed but then fired him. No software was pirated and nothing was publicly posted.
Ghost.py seems promising but is painful to work with. Installing the dependencies took about an hour (compiling PyQt itself took about 25 minutes). When we did finally get it working, PyQt would crash after the third or fourth scrape and would take between 15 to 30 seconds per scrape. Where we used it: https://github.com/createch/PriceChecker.py/blob/master/pych....

My advice to anybody looking to do headless webkit in Python: Don't use Ghost. Try out PhantomPy and try using the Selenium webdriver for Phantom.

We switched over the Selenium webdriver for PhantomJS and found it to be much more stable and fast. See this SO answer by another Ghost.py user who gave up: http://stackoverflow.com/a/15699761/854025. Where we used the Selenium driver: https://github.com/createch/PriceChecker.py/blob/phantom/pyc....
Dog-slow-array-of-free-websites. Definitely needs a sexier acronym.
It seems quite elaborately made-up but that does help to illustrate its point more effectively.
Have you looked at fastmail.fm? We do paid email right. And we have a web interface that's faster, slicker and more powerful than GMail.

Disclaimer: I (obviously) work for FastMail. But still, you should check it out. :)
Hopefully there wont be the same issues as with posterous:

https://news.ycombinator.com/item?id=1441997