skysight-inc/HackerNews huggingface dataset:
It's "interesting" because it's of general interest to anybody (anybody in the U.S, that is), not because hackers would have a particular reason to find it interesting.

I thought it was off topic:

> Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.

But that's just my opinion. Apologies for adding to the noise.
Magnitude 6.6 Earthquake 67 miles from Japan
Actually I think this is a glibc/BSD difference. You're right that any pure function would be hoisted in the same way, but in fact strlen() is not marked pure in my OS X header (which looks to be the same as in FreeBSD). Compiling with -fno-builtin defeats the optimization, which shows that it is due to strlen being built-in on those platforms.

On my Linux machine, on the other hand, strlen() is marked pure, and there the optimization persists even with -fno-builtin.
So your first question was a leading question, and it was different than your (much more interesting) second question of "How do I help the world?"

There's been an idea bouncing around HN that writing software can be a service. I can't find the post, but there have been stories of everyday businesses wasting gobs of time doing things that software could be written for. (Really dumb things like: Having a secretary spend 3hours/day printing out plumbing contracts.) These things save people time and reduce boredom.

Also, I agree that we eat too many unhealthy things, but I think you might be taking it too far. This TED talk is good: http://www.ted.com/talks/heribert_watzke_the_brain_in_your_g... It makes the claim that we aren't omnivores, we're cook-ivores. (We eat cooked food.)

I really agree with #4. It's why I go to Burning Man-- to live in a tribal setting, if only for a week.
It's the nature of that kind of work. I blogged about this phenomenon a little while ago: http://gaiustech.wordpress.com/2011/06/13/jack-of-all-trades...
> this is argumentum ad hominem, but his tolerance for risk was insane.

That's the crucial point.
A bit of digging around suggests it's a DLL preloading attack which somehow convinces the target apps to load the local directory instance of the dll, rather than the system version.

http://www.crn.com/news/security/226900204/microsoft-warns-u...

has a bit of detail, but not specifically about this attack.

I guess it's conceptually similar to doing something like

export PATH=.:$PATH; cat foo.txt

where 'cat' is an executable file in the current dir.

The actual linux equivalent would probably involve $LD_LIBRARY_PATH ($DYLD_LIBRARY_PATH on OSX, not sure about other unices).
Show HN: Saving trips to the printer with enscript and Dropbox
Just published a Python command-line script called enscript2dropbox on GitHub which some of you may find useful. The script uses enscript to take your source code and generate syntax highlighted output to a Dropbox folder that can then be viewed with a tablet (in my case an iPad). Saves paper (yay) but also makes it one less reason to get out of your chair (maybe boo).

Tested on OS X 10.6 and Ubuntu 10.10.
Mayweather vs Ortiz Live strea
Mayweather vs Ortiz Live stream, HBO ,PPV,Mayweather vs Ortiz Live ,Mayweather vs Ortiz,
Mayweather vs Ortiz Live online,Mayweather , Ortiz,Mayweather vs Ortiz,
I was very careful to separate the financial difference and the cultural difference, and I feel like you're ignoring that.

Having kids at all is not a basic human need on the level of food, water, and shelter. It is a biological urge, similar to the urge for french fries.

Now, I don't personally think that eating a reasonable serving of french fries while getting adequate exercise is blameworthy; nor do I think that buying a Lambourghini while earning $10M/year is blameworthy; nor do I think that having children you can afford and care for is blameworthy.

I do think that it's silly for popular culture to have sympathy and often admiration for unprepared parents, but scorn and derision for indebted luxury car owners.

FWIW, I am childless and drive a VW.
Poddb - browse, search, and download podcasts from command line or vim
Portal being used to teach critical thinking, free on Steam until September 20
Will She Come Back After A Breakup? | I Want My Girlfriend Back
How to Poach a Startup Employee
You are right. It's very similar to vagrant. When we started implementing our idea, we did not know about vagrant.

The vagrant functionality is part of what we do, but we also have a hosted service and offer access control to your team. We also have a mechanism to synchronize changes between your envs
On OS X, /dev/random and /dev/urandom are the same thing (both acting like the traditional /dev/urandom).
I would highly doubt that.

'Desktop' can be seen as a panel on the start metro UI[0]. Remember, not all tablets will be ARM systems.. and I could see a market for ARM desktops too.

IIRC MS showed the desktop running on their very first demonstrations of v. early win8 on ARM, too.

0. http://www.engadget.com/2011/09/13/windows-8-for-tablets-han... @video.
...and he's willing to chase your ass across the country for months to get the interview! Good to see you.
As I mentioned above, the best way to keep items matching a condition is

filter predicate xs
Hi, I wrote this article, and you should read it if you've ever seen a founder get all bent out of shape when one of their employees finds a better job.
> Senior web frontend positions are pretty much non-existent and from what I can tell those guy don't get anywhere near as much respect or pay as other programming positions.

Depends on the industry/area. In SFBay a talented javascripter can command as much as a talented Rubyist if you are willing to work at a startup. Bonus points if you also have a graphic design or UX chops.

The move from AS to JS is also not going to be as big a jump. Further, if you are taking a pay cut to shift stacks then I would suggest that you are getting in on new stacks too late.
Unless you have an exceptionally paranoid workplace, a much easier way to compromise your boss's computer is just to walk over to it and pop in a livecd after he's gone home for the day.
I wonder if this was in use (for legitimate uses) by anyone prior to its omg-security-breach discovery, and if their use still works. Quite a few Windows applications look in their folder first for DLLs - checking the loaded-file path could conceivably make the same kind of sense. Or just not accounting for current-directory changes when launching with a file (not entirely sure what the behavior is there).
I think the problem is that good jobs (you can save to buy house) are gone. Basically, in SV, you can get 150K salary with 20 years experience and PhD only at Facebook, Google, Oracle, etc. However, these companies are extremely picky and positions like that are rarely open.

Smaller companies (and startups) are just looking for programmers - preferable fresh from college.

I predict this trend will continue: low end of programming business will grow and salaries will be suppressed because level of entry will be lowered as time goes. The high end of programming will shrink and it will be available only in big corporations.
It's our fault too. We automate the easy and empower the capable.
Meet Studio Ghibli’s PlayStation 3 game, Ni No Kuni
Ah, thanks for the specifics. This only underscores the existential threat that a decent quality $300 Android tablet poses. Microsoft would need a staggering advantage to even sell Windows 8 at cost ($22) to a manufacturer at that level.
For a while, just copying the PDF reader plugin from a Chrome installation to a Chromium installation worked for me. I've switched to FF Nightly, but you could give it a try to see if it works.
I don't like that because it forces all of my editing into one terminal window (or into GUI emacs if I use that as the server). I want to be able to pop open emacs in other terminal windows quickly.
It's a malicious dll, not a malicious txt. It could be any txt file, as long as the dll is in the right place. So it must be something to do with the search path the program uses to look for dlls.
The Story of Apple's Dark Side
The Mandoff saga reflected more on investigators abilities than on Mandoff's in my opinion. The SEC having botched 6 investigations of Mandoff so badly that even Mandoff couldn't understand it.
http://www.nytimes.com/2009/10/31/business/31sec.html?pagewa...
I interviewed with them 2 years ago, and got an offer, and my gut instinct told me the same thing back then.

I liked the people I interviewed with, thou'. That seemed like a fun team.

Oh, well, life goes on.
Most of the time I'm just running /usr/bin/emacs which is non-GUI by default. A fast boot for me is about a second, a cold boot is a couple seconds. That's acceptable if I'm doing editing that will take a while, but it's interminable when I'm expecting to pop in and out of the editor frequently (e.g. writing very quick git commit messages). Vim's fast boot is near-instantaneous, and the cold boot is less than a second.
There are some technologies that are practically guaranteed to be good investments, like becoming expert in JavaScript. You can use JavaScript on both the frontend and backend, for example.

Expect to always be retooling. Embrace it, in fact. I made a switch in my career from being an employee to being a freelance web developer. That forces me to always stay on top of things. I also think of myself as "that guy who can build you a web app" instead of a frontend or backend guy. As a consequence, I've learned frontend stuff, backend stuff, design, business dev, anything needed to get the job done.

I think it's a sign of a healthy economy that puts pressure on workers to always be updating their skills. An economy that has workers who can adapt quickly to changes in demand naturally reduces unemployment.
Google Chrome 14 Released
Or... the business isn't located in a tech hub or major city and there just aren't many developers in the area. It's not a profession where people are so desperate to find work that they'll move just anywhere for the job. My father's company had a software dev position open for almost a year because it was in a relatively low population area -- the pay and benefits they offered were well above market for the region.
Does anyone know of a similar quality article for dealing with UK law enforcement?
Contagion,movie,trailer
Contagion,movie,trailer
Although transmission Surfthechanel online transmission of movies, there are some points you should take your mind in a way coz harm your PC with viruses
Google APIs Client Library for Python
90% of the 8 billion dollar world-wide market for academic research is paid for by library subscriptions. There is a serious problem here, indeed. Some excellent facts and recommendations were posted in this report. It was written by the Association of American Universities (61 leading research universities) in January, 2010 and it was initiated by the U.S. House’s Science and Technology Committee in conjunction with the White House’s Office of Science and Technology Policy (OSTP):
http://www.aau.edu/WorkArea/DownloadAsset.aspx?id=10044
That depends what you are jiggling around :-) If you can't immediately make basic loops work, then yes, you shouldn't be anywhere near production code yet.

But if it's starting to use some advanced OO concept, a new protocol or similar, experimentation and learning-by-doing is a very valid approach, even if you are highly experienced.

If it was not alright to code something without understanding every single layer from the highest to the lowest level, not many programmers would get anything done.

Except maybe Linus Thorvalds or Steve McConnell :-)
In addition to Olivier's comment, we will also have deployment option to popular cloud providers such as Heroku, PHPFog and EC2
The compiler can't see inside functions in the general case (because they're opaque binary blobs in a library that hasn't been linked yet), so no. It's limited to optimizing stuff it can "see", which broadly means the current function and anything inlinable into it.

But yes, if all your functions are marked inline and visible to the compiler, there's no theoretical limit to GCC's ability to hoist constants out of the innermost parts of the loop. In practice, there are surely some performance limits to how much inlining will be expanded.
Stupid me. I was honestly thinking that AOL's market cap is about 20B. Wow...
Another aq. story: Steinway & Sons Enters the iPad Age
> I think the problem is that good jobs (you can save to buy house) are gone.

Assuming that you are in the San Francisco area, doesn't this have as much to do with the difficult real estate situation as the job market?
I feel the same way about my cat. I love her and would rather spend a bigger percentage of time with her than what I spend now.

Question though is, why is this on hacker news?
Droidsheep : Android Application for Session Hijacking
I don't feel too bad about that. I do feel bad about not peer-pressuring them into programming more.
I think this vulnerability is related to WebDAV and SMB, not the DLL/path issue mentioned.
Whenever a loop index is modified inside a for loop, it should raise immediate red flags. Also, with intellisense in Visual Studio, it shouldn't take more than a few seconds to check if there is .Clear() or .RemoveAll() method.

That said, I've been guilty of doing stupid things like this many times when I'm tired and just want the damn thing to work. Its amazing the kind of errors you make in situations like that.
Reinventing DRAM with the Hybrid Memory Cube
Now we know a planet that has two suns
The article doesn't mention it, but does anyone know if a requirement to reproduce the vulnerability is that the files be opened in Notepad, Wordpad, or Word? What if you used a third-party editor?
These are still "Googles and Facebooks" compared to the rest of the country. If you were willing to leave California/Washington/New York/Boston/etc. and have any kind of decent resume you'll have a job in a heartbeat.
Here is the link to the Hejlsberg presentation at build:

http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-816T
(the Roslyn part starts at 00:35:45)
Url_parse.js at master from bytespider/Javascript-a-Week - GitHub
It looks like a crappy clone of DevStructure Blueprints. http://devstructure.com/
Which only means all the bugs get a "MovedFrom-14" tag.
It does, both of those. Except the patches are driven by lobbyist donations or ideological axe grinding rather than fixing defects, for the most part.
First off, the issue is not how it would help them, it is how it would help you. And tzs explained how it would help you: it would keep the investigators from getting suspicious of you, and possibly making your life harder.

As an aside, it would also help the investigators, by not distracting them with irrelevant suspicious behavior.
Coder Talk - A podcast. For coders. By coders.
Are they taking a loss under the new prices?
It's certainly not in my region. Companies are begging for developers to take their jobs.
From the "Mitigating Factors" section of CVE-2011-1991:

"For an attack to be successful, a user must visit an untrusted remote file system location or WebDAV share and open a document from this location that is then loaded by a vulnerable application."

Since a ZIP file would extract to a local directory, nothing would happen.
Say we start with three tabs, so i goes 0, 1, 2.

When i reaches 2, two tabs have already been removed, so there is only one tab left. So in the loop body we then do:

this.MyControl.TabPages[2] // oh no!

In general, modifying a collection is a bit of a code smell, and a lot of iterator implementations will actually throw exceptions if you try it.
There's this guy, who I think is doing tree tabs:

http://code.google.com/p/sidewise/
> Intel lists their throughput at 3 instead of 0.5!

Agner Fog lists ADC/SBB on Atom as having latency 2 and throughput 1/2. I guess Intel could have made them run with ADD/SUB-level performance in cases where there are no intra-pair dependencies on the carry/borrow flag, but the extra interlocks for handling that were probably not worth the cost.
Nice post, definitely got me thinking about where I need to go next
Punk Hairstyles for Girls
how is this different from "does nothing"?
I see you're new here. Thanks for submitting this, as it certainly is a discussion-provoking piece (albeit a bit trollish). That said, please make sure you that you don't link to the comments anchor, unless your intention is for HN folk to read the article's comments. Given that the quote cited in your title comes from the body of the article, I'm guessing this is not the case.
Can we get some citations on these numbers please? ..we aren't even in Q4.11 yet?

Another key factor to bear in mind is that, at least today, tablets are an additional computing device, and don't replace any existing PC.
It doesn't matter how fucked up or well run the society is. So long as the justice system is implemented anything like it currently is this will be the case.
Was anyone else annoyed that they can't pronounce "Rocket"?
We (Gobble.com) pay for the two-day trial (the last step after phone screen and after-hours skype session) we ask candidates to partake in -- and we only have that trial as a way for both the candidate and us to try each other out before an official offer is made.

I hate it when people don't reply promptly, and I endeavor to follow-up to each stage within 24 hours either way.

Then again, I am a programmer directly hiring other programmers so I know what it's like. At those bigger places, you aren't interacting with the people you'd actually work with =/

We are hiring people to hack with ruby -- nerds@gobble.com
OpenSource IDS Snort 2.9.1 HTTP and SMTP logging features
Awesome Modelbinding For Backbone.js
Compilers and [lack of] Termination Revisted
What is Your "success definition"? Mine = Make Money+Fun
Raising the standard of living for all - just like all the other technologies from the wheel (putting people who haul things on their backs out of work) to the loom, to the Ditch Witch and so on.
i guess you didn't watch the youtube link flying around. Otherwise you'd understand how slight mistake in your talking - you washed your car on Tuesday, not on Wednesday 3 weeks ago - would _help_ you in that investigation and "keep the investigators from getting suspicious of you".

>As an aside, it would also help the investigators, by not distracting them with irrelevant suspicious behavior.

and that too.
I agree front-end guys don't get a lot of respect compared to the back-end guys. However, most of the back-end guys I know still think coding in tables is the way to go.

The thing you have to remember is supply and demand. Companies will pay you when supply is low, since they are in need of good talent. If you're a good negotiator - like myself, you can write your own ticket.
It remember me of an old stack overflow that I posted just running the command cat: http://seclists.org/bugtraq/1999/Sep/432
Why do you think it's crappy?

We might use blueprint in the future and contribute to the project. I think Matt and Richard are great guys.

That said, we offer more than blueprint, so it's not a clone.
I don't know what your current gig is like, so it's hard to advise. But there's nothing wrong with taking this job with an eye toward moving on, as long as you work honestly at it while you're there.

My wife was in a similar spot when the company she was working for started to decline and experienced people started to move on. She stuck around and took a new position within the company in a different field she wanted to crack into. She was still very early career and saw an opportunity to get some good experience.

The company did tank, but she got at least a year and a half of experience, and later she got interviews/offers afterwards and built a network that is still active a decade later. She never would have been hired directly into one of those jobs in a new company, but she did get a chance at it in an existing company that wanted to keep her. She wasn't surprised that more senior people were leaving, because they had the background and network to generate comparable offers elsewhere, something she wouldn't have been able to do at that point in her career.

So much depends on your current situation, what kind of risks you're willing to take, what experience you think you'll get...
Not really. Actually, my friends in other professions with similar education (lawyers, public servants, marketing, advertising, hedge funds) have no problems saving for a house. In other words, real estate market in San Francisco seems to be healthy: people are buying houses. It is just not for programmers.
8 Marketing Secrets of Successful Startups
How come they didn't mention it includes Native Client and the Web Audio API? That is very newsworthy.

http://www.readwriteweb.com/archives/new_chrome_blurs_the_li...
These are notes from this week's FutureM session in Boston.
SellStage (YC S11) Wants To Help You Better Showcase Your Products
You probably get a few false negatives out this, depending on how good you are at drawing people out. Some people would be thinking "this question seems easy enough that I should be able to solve it without asking dumb questions, but I'm so nervous I'm not thinking straight" and then just freeze up. You should be able to draw them out, though, as long as you're aware that the reason they're not answering is mostly because they're nervous. It sounds like you've done a lot more interviews than I have, so I'm sure you could handle it. It is harder when their facility with English is poor.
Thanks for clarifying. I wouldn't know; I'm on the east coast. :)
We're live here now:
http://t.co/LMUXVayc
The author originally posted an article showing how compiler optimizations disproved Fermat's Last Theorem (http://en.wikipedia.org/wiki/Fermat%27s_last_theorem): http://blog.regehr.org/archives/140

The submission is a follow-up to that article discussing the topic in greater depth. It includes the relevant specifications for the behavior of non-terminating, non-side-effect-causing loops in a few different programming languages. It piqued my interest since I hadn't even considered that such behavior would be specified.
E.O lifestyle: 7 Ways to Healthy Living
Health problems can occur anytime, especially if we are unaware of the symptoms and causes. Without we realize the lifestyle and unhealthy eating patterns is the primary causative factor.
Although there are other causes that can not be avoided such as fakor genetic, environmental pollution.To stay healthy, there are many ways to get it. One of them, follow these seven tactics and get a better quality of life:
1. Clean air, healthy lungs wereTo avoid respiratory, breathe clean air and healthy. The trick...
Retro side note: Back in the 80s in the laserdisc era of arcade games one of my favorite games was Cliff Hanger which used footage from Hayao Miyazaki's Lupin III: Castle of Cagliostro and Lupin III: Mystery of Mamo: http://en.wikipedia.org/wiki/Cliff_Hanger_(game)
It's not a poor example, and it's not about sending the document without tags. It's about whether special characters should be escaped, and the answer depends on the Content-Type that the client requested.
I never used "AST" term in my comment. I assumed that intermediate DAG is what the parent poster really meant.