skysight-inc/HackerNews huggingface dataset:
Prof. Harry Lewis has long been an attentive critic of Summers, paying particular attention to his roles in hushing up Harvard's corruption in Russia: http://harry-lewis.blogspot.com/2013/09/larry-summers-and-et... and in some really terrible investments: http://harry-lewis.blogspot.com/2013/08/end-of-summers-updat...

Both his apparent tolerance of corrupt self-dealing and his reckless investment philosophy should have disqualified Summers from ever holding any top governmental financial office, but I guess we should count ourselves fortunate that his intemperate sexist commentary, or something anyway, has disqualified him from holding any more top offices.
phil already answered you, but to expand a bit, programmers are asked to do anagrams all the time. Except it is not 'does this word have the same letters as this other word, just perhaps in different order', it is "is this list of address the same as this other list?" or what have you. In other words, do two differently ordered sets of items contain the same items? Asking the problem as an anagram just reduces it down to its essence. And, like it or not, there is an important efficiency issue here. The decent solution will be a bit slow compared to the optimal solution, and sometimes that can be important. The naive solution will not work for anything but toy cases. But, you can set the bar for the follow on discussion according to the kind of work you do.

I'm not sure if I think it is a great interview question or not, but it gives the interviewer a chance to see if you can do something basic in your language, and then it opens the discussion to broader contexts where you don't have to code - efficiency concerns if these are string or emails, but 1MB documents, or dealing with Unicode, terminations of strings and so on, algorithm performance, and so on.
Yes! If you want to learn a language or framework, pick one. It doesn't matter. In five years (or less) time it will all be some other language- and framework-du-jour.
If the interviewer expects a correct answer off the bat, or rates candidates based on the time they got the solution, then the interview process is bad.

But the question is legitimate. If you're a programmer then you should be able to come up at least with a naive (but correct) solution. You don't need any tricks for that. Then you estimate the efficiency of your naive solution and see if you can improve it.

That said, there's still the problem that OP and several comments here mention, that the interviewer might get nervous, freeze, etc, even for problems that they would normally have no problem solving.
Make the app then license or sell it to the bus company? I am in the exact same boat, at my university. Actually, a couple years ago I started making an iOS app too for bus timetables but never finished because after a couple months of development google added the city's routes to google maps. Does google maps not have your city's routes? I'd be interested in helping out.

Also I thought that was one screenshot linked and I got this: "https://i.freeih.com/7278/iphone_screenshot.png%20https://i.... and was quite confused...
Guys, do you have recommendations on books in the same topic? (surveillance, hackers, NSA, etc) YA or not?

I've read Little Brother, liked a lot, even thought I'm not in the target audience. So I would like some 'grown up' recommendations.
Who cares why the stakes are as high as they are? They're confounding the results of the interview process, which means they're the employer's problem, whether we like it or not, think it's fair or not, or whatever. The fact is that "we", as an industry, have a counterproductive habit of screening candidates for "ability to gracefully metabolize semihostile job interview experiences", which turns out to be not all that valuable an employee attribute down the road.
There's no one true answer, otherwise there would be only one language, right? Still, if you want to be conservative, I would say Python and Javascript are clearly two very good languages worth learning.. if not for the wide community and great libraries.
So, according to this paper, "GnuPG in its current form is not safe for a multi-user system or for any
system that may run untrusted code."

The attack is against the RSA implementation specifically. Is there a gpg asymmetric encryption that would be considered safe? If not, is there a reasonable gpg alternative?
loads two girls for me...
All fair enough.

Perhaps what we can take from this constructively is that you could consider making the USP for your estimation tool more of a focus on uncertainty/overall project risk modelling more so than straight up timeframes, which we all know are pie-in-the-sky at the best of times and not really as critical as outright SPOFs/third party deps.
I think the general approach in an interview would be to ask the person being interviews "can you explain what time function that runs in".. "can you improve it", and see if they work out the "sort" trick by themselves.

That's how it was done to me anyway (although I talked it through before I started writing, and by the time I got actually writing anything down I'd worked out the trick).
Bayesian updating of Probability Distributions
They don't have to be unbounded to be destructive to this estimation method, just large and unknowable.
Since you know Matlab and C, I would suggest Python as being a good choice. It's much faster to develop web-oriented things in than C or Perl, and if you ever want to do more computationally intensive things, many people find NumPy and SciPy to be fantastic alternatives to Matlab. The nice thing about Python is that you can find so many things all in one language: shell scripting; graphical UIs; web programming and web scraping; web servers and network programming; convenient interfaces to low-level C libraries; fast vector libraries and powerful scientific programming... the list goes on. You can pull data off a serial cable, throw it into a big matrix on your GPU, compute a bunch of statistics, visualize them in 3D, dump screenshots to PNG, and serve them up in a dynamic web app... all in one language.

Ruby, JS, Perl, etc. can't really touch this. There are all sorts of "flavor of the moment" languages right now on HN but at the end of the day, if you want a mature, workhorse language that's easy to learn, has a lot of good libraries, and has a great community around it, choose Python.
gevent is based on an eventloop to do the scheduling, it's quite different than the scheduling done in offset and offset will soon support the possibility to launch your goroutin on different OS processes for //. More over gevent monkey-patch the standard library which make sometimes the integration with your code difficult, offset however use its own syscall module.

Also the implementation of channels or stackless in pypy is a little different than the one you can find in offset (or go for that matter). offset channels support buffering, and you can also select them. offset like the implementation of stackless in pypy is using the continulets to do the job when you are using in pypy and python-fibers on cpython which bind the stacklet lib from pypy as well.
Unfortunately, there are way too many unqualified people out there applying for jobs and ruining it for the rest of us. As a hiring for manager for years, I've seen a huge number of people try to fake their way through interviews. They can talk vaguely and grandiosely about all the technical problems they solved at their past jobs or in school. But the breakdown always happens when you ask them to solve a problem for you.

Sure, they may be undiscovered geniuses who are too nervous to think straight. But where there's smoke, there's fire, and in this case behind the smoke are ten other people lined up to interview for the same job. All things being equal in terms of general personability and hygiene, the one who displays technical competence gets the job. Just imagine if the odds weren't so skewed in favor of job hunters. When the economy slows, when your jobs are really subject to outsourcing to a lowest bidder overseas for a fraction of the price, these sympathy hires will be a thing of the past.
You might be interested in the results from this study by the Online Privacy Foundation and Kaggle into whether Twitter can be used to detect some of these traits in individuals and groups:

https://www.onlineprivacyfoundation.org/twitter-psychopathye...

I'd imagine Facebook/Google could also possibly have explored similar analysis internally and/or as research partnerships, and they should have much richer data.
"Copyright has created the financial means to create such music specifically for the public's tastes."

Hypothesis there, I don't accept it, and there's little controlled empirical evidence for it.

Piracy is hurting artists is also a baseless assumption that is grounded really strongly in a bunch of reactionary people's minds who can't yet realize that the economic assumptions they had from an earlier time were actually flawed to begin with.

"Losing sales to piracy" is a tenuous hypothesis. Some evidence shows that piracy increases sales more than it reduces them.

At any rate, we have enough music now for everyone to listen to neat things for the rest of all lifetimes on the planet. There's no need to subsidize it anymore with these schemes to criminalize sharing.
Machine Learning. We will only have increasingly more data and we need to make good use of it. It's cool for the starter. It will take a lot of time to become good at it, so start now slowly, learning necessary tools, specific math subjects at least for the beginning.
I tried porting the ColorEffects library from the Arduino to the Raspberry Pi, and it's either not possible to do, or it has to be done much differently than the Arduino does it.

The problem is that the bulbs and the controller each have their own clock. You need to get Linux (a multi-tasking OS on a low-end chip) to write to the GPIO pins at the proper millisecond intervals. (Have a look at the underlying library; there are some values in there that are "well, these seem to work... adjust the timing if your chip's faster/slower.")

It works on the Arduino because it doesn't have a multi-tasking OS running underneath it to preempt the task. If you could get a realtime OS running on the Pi though, you might have better luck.

Good luck with the rest of this project. I did something similar at one point; I was using a RS-485 link between the Arduino and the controller. (Check SparkFun; they have some relatively cheap breakout boards for RS-485. I used one basic RJ-45 to bare pins for the Arduino end, and a RS-485 to USB adapter for the other.
What If 60M/PH Hits The Foot
Food is basically a solved problem. Priority #1 is medical care IMO. Housing is expensive, but really Japanese-style closet hotels can solve that problem for ultracheap if needed (as I understand it's mostly zoning laws preventing it right now). If we can get medical care to the point where, say, the 1970s standard of care is as cheap as food is, then we're basically at post-scarcity.
People skills, but since we're talking about computers; I'll put a vote in for Node.
JavaScript for sure. Stay away from frameworks/libraries in the beginning and learn the ins and outs of the language first.
That's because multicultural nature of India is not a recent phenomenon but has been a way of life since thousands of years.

In fact we take pride in having so many cultures. The situation else where is different.
I happened to have a conversation with someone about this recently.

Software developer: the career where you study to get the job, toss much of that away when you actually do the job, then study for the interview for the next job, where you toss much of that away when you actually do the job...

It's a rhetorical question, but I can't understand studying for a job. You either do it on the job or you don't. Studying, however, puts a ton of stuff in short term memory where it gives the appearance of brilliance.
Go check out YouTube and see that participatory music and culture is alive and well, and always has been. It never went anywhere.
odd when i'm not logged to speaker deck I'm able to see the slides and download the PDF on the left :/
Context of job constraining. I rather would follow my bliss, more rewarding in the long run.
India's bureaucracy is dysfunctional for many of the many of the same reasons as the author mentioned. Everybody wants part of the pie so the bureaucratic overlap is total.
>The problem is simply that teenagers like to get stuff for free.

Thats funny because I sometimes download indie amateur stuff without paying and I am not a teenager, but I (and my many friends) are apart of the problem. So is the problem really teenagers getting stuff for free? No, not entirely.

Augments with absolutes rarely work and make you seem like you have an agenda.
I doubt you can scan the entirety of IPv6 address space in under 6 minutes ...
Like you - I've never needed to solve an anagram in production.

I think many are missing the point. In an interview situation, the anagram problem gets the person to write some basic, naive code (ie, proves that can track loops) which I think we would both agree is reasonable.

Then the interviewer gets you to look at how to improve it. Hopefully you'll notice that iterating over both strings isn't very efficient, and reason about ways to improve that.

It's that reasoning process that is important, not the knowledge of how to write an anagram solver.

To be fair, though - most programmers should be able to solve it with a couple of hints.
As someone who's read some of Jim Thompson's books (notably The Killer Inside Me and Pop. 1280), that's not really a spoiler, the books are quite different from that.
In today's record industry, Dave Brubeck would not be homeless, he'd be one of the many thousands of extremely talented people recording stuff you've never heard because there's so much competition; but he'd find some audience and go around performing and making do. He'd probably struggle financially like lots of others and rightfully complain about gross economic inequities today in our corrupt system. None of this has anything to do with the red herring about "piracy".
I can report the same.
Thomas Flohr: The high-flying multi-millionaire
The key part is the first line in the abstract

"Flush+Reload is a cache side-channel attack that monitors access to data in shared pages"

The OS does not allow arbitary programs to share pages with gpg. If you share pages with gpg you can already read the key directly, no need for any side channels.

As far as I can tell the paper is completely pointless, a variant of this fallacy http://blogs.msdn.com/b/oldnewthing/archive/2009/01/21/93533...
There's still no magic technology that replaces the #1 biggest expense in writing and recording original music: time.

And not just the time it takes to make one album (which is more than people think unless they've done it themselves). Even more important is the time it takes to mature as an artist--years and years of doing nothing but writing and playing.
The purpose of a question like this, and of the classic FizzBuzz question, is to be a lightweight test of whether a candidate can actually write code or not. That's all. It provides a negative signal if they fall completely to get anywhere close, and nothing more.

There are alternatives, you could ask them to explain a piece of code they wrote on their own before the interview, any piece of code would do. I suppose that could be gamed which is why most companies opt for FizzBuzz.

Personally, once I started thinking about these kinds of questions like this, I had less issue with them. Interviewing people who failed to write FizzBuzz opened my eyes too.
Yesod?
Alright. Fixed.
Vedis: An Embedded Implementation of Redis
At that point, might as well just do `sorted(list(x)) == sorted(list(y))`.
I think that way of looking at poverty is also very telling about the people doing the assessing.
I have similar feelings about Scala. Combines functional programming w/ a strong/static type system and all the benefits of the JVM. Very practical and fun which I found was not the case w/ Haskell and ML languages. And you couldn't ask for better timing, first day of class starts tomorrow[1]! (and in a month and a half, reactive programming[2])

1 - https://www.coursera.org/course/progfun
2 - https://www.coursera.org/course/reactive
What's the best 'technology' vs what's the best 'language', I wonder if people are getting the two confused, or what the question you're asking truly is.

With a PhD in Electrical Engineering, I'd think you could go far in the growing hardware market.

I think the key in selecting a technology to learn 'right now', you need to consider when you'll want to use this technology for.

The way I (kinda) do it, is to not look at languages specifically, but what I want to do with them, and how I can leverage what I already know.

For example, recently I've wanted to start playing with hardware (RaspberryPi and Arduino). But I didn't just jump in and start learning C, I looked at what I already know (javascript/ruby/etc.) and am looking at how I can leverage that in this new technology.

I've also got an interest in algorithms and data, I've done some work with parse-trees in Ruby and have tried umpteen times to get to using the Stanford Parser with Java, but it normally ends with me curled in a ball sobbing, so now I'm doing the Coursera class in Scala (how often do you get to learn a language from the creator of that language).

I learned RoR, not because it was popular that day, but because I was working on a project I knew I would be passing on to another team to manage long-term, they had some RoR experience, and the structure of an RoR project meant I knew would lead them to easily understand how to manage it without much knowledge transfer.

So, to me, the best technology to learn is the one where you match your interests, and your existing knowledge to become an expert in what should be a growing field.
One thing to consider there (of course) is where that technology will land you in 1-5 years.
Can someone explain this really simply for me?

I understand that the whole thing is actual source and its manipulating the center commented area. But I am having trouble following the code.
Alibaba is hiring top engineers from USA
requirement:
1. us phd
2. more than 2 years working experiences in us internet companies
3. willing to work in china (hangzhou or beijing) and willing to take the big challenge here.

* big data
* search engine/ads/algorithm
* security
* cloud and infrastructure
* mobile os

if you're interested, mail to frankyao#163.com
and leave a reply here.
replace # to @

about alibaba:
* we process trades of 19.1 billion rmb on 2012.11.11;
I'm taking the PERT 3-point estimation technique as my starting point (decompose the project, for each component, give best/likely/worst, roll up results with a formula). It bakes uncertainty and probabilities directly into the outcomes.

I'd encourage users to look at estimating project size first and then deriving effort, schedule and cost. But I won't constrain them to it.
Depends on whether you prefer working on the front-end or back-end. For front-end I would suggest JavaScript as used to develop WebApps. For the back-end, you could look at Go - Google created it and many people have had lots of success with it, especially when scaling services.
Pardon the relative ignorance... but I thought these types of problems (SAT and SMT) were NP-Complete in the general case? Does Z3 do something special (eg apply heuristics)? It looks very impressive!
Yes, I understand and agree with the first sentence. The fuzziness is in what those limits are.

The first person mentioned, Carla Chavarria, is not a legal resident of the US, but she "obtained a two-year reprieve from deportation under the Obama administration's deferred action program." She does not have proper visa status. We are agreed on that.

Foreigners can own a US LLC, independent of their visa status. Therefore, she is allowed to own a US LLC. Owners of an LLC can draw money from the LLC. Therefore she can draw money from her LLC. Are we agreed upon that?

What then is the illegal part about the way that she makes money from the work that she does?

"most certainly do NOT say that a foreign person without proper visa status may form an LLC and then work here"

Since a foreign person without proper visa status may form an LLC, the key part is the "and then work here." I agree with you that her LLC is not a reason to let her stay in the country. She gets to stay in the country because she has a two-year reprieve.

In that case, starting an LLC is a way to make it possible for her to get money, based on her work as owner of the company.

So if "work" is broadly defined to include work done by non-employees (eg, owners), then she's legally making money from her work, no?

If not, then what law is being violated?
"Unlike US, State govts can't enact their own laws and all of India is ruled by one law"

Mmmm... what? States may have less powers in India than in the US but they do have their own legislature and do have their own legal system. Here's an example (state of Maharashtra):

http://bombayhighcourt.nic.in/libweb/acts/listofmahacts.html
Take another look. It's not just an ASCII animation; it's the source code that produces the animation.
Want a ticket to StrangeLoop 2013?
I have a ticket to StrangeLoop 2013 in St. Louis. I cannot go due to a family emergency.

Instead of canceling the ticket, I'd feel better if someone else attended it. I'm willing to offer the ticket at a discount if necessary.

If you are interested, please email me at sraj at shutterfly.
What's impressive about this or zmap? they do not magically invent bandwidth. Zmap requires a 1 Gbps connection or more, this will require 10X the bandwidth.
Those projects are basically dumb packet generators, what I find really impressive is the Internet routing infrastructure that can accept those outputs.
I'm currently on day 211 mysef[1]. About 50 of those days were contributions made from my Nexus 4 (Connectbot, tmux, vim) while traveling without a laptop.

1: https://github.com/uggedal/
Graphene made from DNA could shape electronics
I'm currently learning go, hopefully in 5 years there won't be another language du jour. Rust maybe but the problem space go is serving isn't all that crowded.

I hope... >.<
How much money do you have now? Depending on your starting amount, the $10,000 number becomes more or less realistic.

If you have $0, it's not very likely. Your best hope is to find a job and re-evaluate in a couple months.

If you have $10,000, doubling it becomes more realistic, but not exceedingly so. Writing an app costs money (yeah, I know, it's amazing to think that you can't just do this shit for free!) and you still have to live while developing it.

If you have $100,000, that's a 10% growth. Betting correctly on the stock market should be pretty straight forward in this market.

If you have >$500,000, this is cakewalk.

If there were a manual to life, it'd tell you that having money is the easiest, most reliable way to make more money. Social climbing is still extremely hard in our generation, but at the very least computers have made it easier for the intelligent and dedicated.