skysight-inc/HackerNews huggingface dataset:
The adverse effects of social
A really common error. Also pops up in debates over pensions. While it is true that people tend to live longer post-retirement now than they used to, and that this impacts pension-fund economics, many people quote life expectancy at birth to illustrate the difference, which isn't really relevant, since infant mortality rates are not closely related to pension-fund solvency. (Conditional life expectancy at typical retirement age would be the right statistic.)
"""Even if the executives wanted it to happen, it couldn't. How do I know this? Because Google is full of hackers who would instantly revolt. They've had enough problems with things like their real name policy and the handful of places they've had to acquiesce to DRM."""

Your argument about the "google hacker's revolt" is is even more laughable that the conspiracy theory.
Jamaica News Blogger: We are in safe hands
Five-minute Multimethods in Python
Using a Backlink Builder is Critical
Nicely done. Isn't it going to be better if you hide the scrollbar when you are not actually scrolling? Like Facebook does for their chat and ticker bars.
Posturing and your online business
Is it just me or is everyone overtly optimistic.
Haha, yeah, outside perspective is priceless. Even being able to ask someone for help is a step in the right direction, since it suggests (at least to) that you've identified a problem outside of your own incompetence ;)
Releasing Samba 4
It doesn't seem to do anything... sorry Derrick.
"""Nevertheless it didn't caught on."""

Well, I was kinda hoping it would, but for one thing, the Mozilla guys:

1) never documented it properly
2) never made any usable developer tools, IDEs, etc
3) never delivered on their initial XUL/XULRunner promises
4) never tried to build a community around them
Might Perl 6 suffer the same problems? Or will it be saved by virtue of its compatibility mode for Perl 5 code?
I hope it was an accident/mistake, otherwise it makes Microsoft look ridiculous as fuck.
Ask HN: Is there a reliable way to sandbox untrusted code?
I'm designing on an application which involves running untrusted code. The untrusted code does not need to make any system calls, just take a string as input and return a string as output. There aren't any real constraints at this stage on the form in which the code should be provided. Source code, byte code or binaries would all be OK.

Are there any ways to do this securely, at the moment? NaCl is intriguing, but there hasn't been much incentive to break it yet. Java and Javascript sandboxes have probably been pounded on the hardest, but privilege escalation exploits for them do show up from time to time. Are there any other sandboxes I should be looking at? Is attempting to securely run untrusted code just a foolhardy enterprise?
How the Occupy Movement Can Outsmart Conservative Frank Luntz
What's new document [PDF] - http://www.redhat.com/f/pdf/RHEL_6_2_features_benefits.pdf
Thanks, Siqi - totally agreed. There's always a process behind the person and you get a lot less heartbreak and vitriol when focused on fixing the former.
Come on!

http://www.bing.com/search?q=code+highlighter+online
I thought we got rid of custom scrollbars back in 2000
Iran blocks access to the US's new Virtual Embassy within a day of launching
You are probably right. I've found the MSDN pretty inconsistent. There are a number of C#/VB.net examples that don't have any syntax highlighting at all.

It all depends which area you are in.
For some bizarre reason this made me smile.
It's probably a one-time problem with the person who created the page. on msdn microsoft has code highlighting and even samples in other .net languages. example: http://msdn.microsoft.com/en-us/library/ms132397.aspx
because you are an android fanboy?
As an MIT alum, I'm proud that MIT is having a commencement speaker who is working on something fundamentally disruptive to the status quo of education. It's an enlightened point of view - "disrupt yourself before someone else does."
From a programmer point of view it makes as much sense as deleting a file if it fails to load.
Not sure why poor argumentation skills should be the cause to a 2.4M fine. They are unrelated.
The woman is not to blame, the system is for not managing situations like this.
Like I am to blame if I don't manage exceptions in my code.
Starting an Online Business – Preparation and Putting it up
I think it's extremely unlikely Apple would sell the iPad under any other name. The 'brand' is too strong—and is probably worth $1.6b to them.
http://docs.python.org/release/3.2.2/library/stdtypes.html#b...

And this annoying feature: http://docs.python.org/dev/howto/pyporting.html#indexing-byt...
3 reasons to include developers in strategy meetings
Upvoting is not enough here: As the (previous, now on LG o2x) owner of a HTC Hero this is exactly my stance as well. They are non-existant as far as I am concerned.

They are the worst offenders (granted, yes there are people that like that sort of stuff, obviously) in terms of bloatware and 'Sense' never lived up to its name for me.
Can your REPL do this?
It may just be anecdotal at this point, but several highprofiles libraries have given up on 2to3 entirely and use the 2/3 common codebase approach: Jinja, django, ply. For a library, that's the approach that I find more practical.

I have a hard time seeing how one can use 2to3 on an everyday basis: it makes testing, distribution, etc... that much more painful because it is so slow (2to3 takes as much time as compiling all the C code from numpy, for example). It also removes one of the big plus of a language like python (modify code - see the result right away).
I agree with this. I used Netflix pretty heavily while I was living in the USA but since moving back to Canada I use the Canadian equivalent much less. I don't seriously consider cancelling because the price is less than $10. However, if they hike the price, I will probably cancel.
"...they become a very tempting acquisition target for Amazon/Apple, or possibly even Google."

Or Microsoft. They're not the prettiest girl at the dance anymore, and they don't get a lot of love on these pages. But they've quietly positioned themselves as a very serious force in the entertainment space with the XBox platform. And they've been known to throw big chunks of their warchest at strategic acquisitions.

Facebook may also be a potential buyer. They've got a huge userbase that they need to keep engaged, and if they acquired a blue-chip content platform, it would be a huge deal.

Amazon, absolutely. Makes total sense for them across so many dimensions.

Apple, yes and no. Owning Netflix would be nice, but their hands would be tied on how to leverage it. How do you use Netflix to sell iPads, because restricting it to iPads is not a viable option? Doing so would piss off the entire userbase -- possibly devaluing the platform fundamentally, and giving competitors a major opening. They might be able to offer some sort of premium tier that is available only on Apple devices. But even that would be iffy as a draw. Then they've got the issue of how to make Netflix and iTunes live together in a coherent, cohesive, sensible way. I could, however, see Apple's buying Netflix as a purely defensive maneuver if Amazon made a bid.

Google, I could see pretty easily. They've been trying to make premium content deals for years now. Netflix could make sense for G+, YouTube, Android, etc.
I've owned 2x Nexus One, 2x HTC Magic (one myTouch 3G and one Google Ion dev device) and finally a myTouch 4G (Essentially 1 HTC phone from each generation of device they have produced).

I have never enjoyed my HTC devices; they have never worked smoothly, never had some sort of minor or major hardware problem (Nexus One's screen used to have snow like an old TV, myTouch 4G out of the box required a factory reset to work correctly), working with HTC support directly was as painful as using Microsoft Xbox Live support[1] and the "HTC Sense" customized Android experience has always been bloated and of course, un-removable.

I disagree with comments like Raphael's about HTC simply not having that "jesus phone" to put them on the map; they have plenty of spec-perfect phones, the problem is their phone experience is a combination of incomplete/slow software mixed with spotty hardware that didn't spend enough time in the QA lab because the company is growing so quickly.

There was another announcement 2 weeks ago about HTC's sales dipping due to "inferior devices" and I couldn't have been happier to see that specific point actually spelled out for the first time as opposed to Engadget or Gizmodo praising the newest HTC device as the "best Android device we've seen on the market" - I cannot read that phrase without rolling my eyes anymore. I think I've read that phrase about 9 phones this year...

HTC has been enjoying growing at a break-neck speed and continue to ride that Android wave; you see the stress cracks in everything they do if you are actually putting your money down for their cutting edge devices.

Their older devices may fare better. I have a friend with a myTouch 4G that he picked up a year after launch and said he has no problems with it and battery life is solid.

The next time there is an HTC device announced that you think looks interesting, read the forums for the device for the first week and I guarantee you will find complaints about hardware and software bugs (screen problems, camera not working right, battery life unexplainably short, etc. etc.)

I don't meant to hand-wave with a bunch of negativity here... I've just been in the HTC camp for a long time now and they have never not been a pain in my side or made me regret my purchase.

Without writing a wikipedia page worth of reference links I am trying to convey to others the joy of owning a cutting-edge HTC device.

Argh.

[1] http://www.thebuzzmedia.com/my-experience-with-htc-nexus-one...
I think if you hire a smart person that knows PHP inside out and your requirements change, then you should not have a problem - in theory. Every good developer/hacker should be able to learn something new in a short amount of time. So it really seems that they hired not so smart people or they simply fired them too fast.
“Their copyright infringement is very clear.”

Wrong translation, wrong statement or different laws?

Other than that: Boring.
Did you try ixwebhosting.com? Don't waste your money.
ixwebhosting.com destroyed my web business and their support asking me to be patient and wait.
I have hosting service at ixwebhosting.com and website meteo-rs.com on it. This morning I find out that the website is down and I contacted their live 24/7 chat "support". Live chat support staff forwarded my problem to Ticket Center where another person took the ticket and forwarded it to another person, this person changed ticket status from 'Open' to 'Working' and again back to 'Open'. My website is still down. They already promised to me that the issue will be fixed in couple of hours. After couple of hours waiting I went to live chat support to ask what's going on. There I only received this message: "Your ticket is forwarded to our appropriate department. It will be replied as soon as possible." After several more hours of waiting I again received that message. My site is still down for tents of hours! Only what I get from their support is:"Please let me ask you to wait for the ticket reply. It will be replied once it is possible." When I ask for any time line, they say: "I'm sorry but there is no exact timeline available at the moment." Crappy hosting provider. Don't buy anything at ixwebhosting.com
I'm not sure I fully understood your comment but flattr is an interesting platform for paying small sums to pages you enjoy. You may enjoy it if it is new to you. http://www.flattr.com
DreamIt Graduates 14 Startups in Philly, Including 5 Minority-Led Companies
Not at all, bitcoin wants the users to also have the cake while eating it.
Well, yes, of course I have a problem. That's one of the reasons of why many places put regulations on what kind and amount of ads on streets is allowed. If I didn't have a problem, I wouldn't complain about ads that much.

On the other hand, while you claim my previous statement was BS, I claim your statement displays denial.
Any reason why they would want to prevent the code from being searchable from external search engines? Software patents..etc.
For a company of 92,000+ people I am sure there are at least a few C and D-level people in charge of MSDN content.

However, for a company of 92,000+ people, I would have also assumed there would be a standard tool or process for doing this sort of thing.

Edit: updating employee totals. Holy crap MSFT is big.
Looks nice, middle button scrolling doesn't work though.
fails on IE7 & 8, should fallback to os widgets at least
Twilio Raises $17 Million Series C To Expand Abroad
why doesn’t it scroll right to the bottom? the phrase "last updated Dec 7 2011" is half cut off
Budget hosting is budget hosting, don't forget that you are betting your business on it!

I would suggest:

1) Move your site to AWS or something while you wait for them to fix their problem.

2) Move your site to a more expensive hosting setup with better service / support
World War III is Within
This is done a lot. Check out Chroot jails.
Lazy evaluation, however, has the benefit that, at least in theory, if conversion turns out to be unnecessary, one can skip conversion, and never pay the prize of conversion.

One could have an abstract 'String' type with concrete subclasses (ANSIString, UTF8String, UTF16String, EBCDICString, etc)

Assuming that any to-be-handled character strings can be round-tripped through UTF-8 (and that probably is a workable assumption), any function working with strings could initially be implemented as:

- convert input strings to some encoding that is known to be able to encode all strings (UTF8 or UTF16 are obvious candidates)

- do its work on the converted strings

- return strings in any format it finds most suitable

Profiling, one would soon discover that certain operations (for example, computing the length of a string) can be sped up by working on the native formats. One then could provide specific implementations for the functions with the largest memory/time overhead.

The end result _could_ be that one can write, say, a grep that can work with EBCDIC, UTF8 or ISO8859-1, without ever converting strings internally. For systems working with lots of text, that could decrease memory usage significantly.

Among the disadvantages of such an approach are:

- supporting multiple encodings efficiently will take significant time that, perhaps, is better spent elsewhere.

- the risk of obscure bugs increases ('string concatenation does not quite work if string a is EBCDIC, and string b is ISO8859-7, and a ends with rare character #x; somehow, the first character of b looses its diacritics in the result')

- a program/library that has that support will be larger. If a program works with multiple encodings internally, its working set will be larger.

- depending on the environment, the work (CPU time and/or programmer time) needed to call the 'correct for the character encoding' variant of a function can be too large (in particular, for functions that take multiple strings, it may be hard to choose the 'best' encoding to work with; if one takes function chains into account, the problem gets harder)

- it would not make text handling any easier, as programmers would, forever, have to keep specifying the encodings for the texts they read from, and write to, files and the network.

[That last one probably is not that significant, as I doubt we will get at the ideal world where all text is Unicode soon (and even there, one still has to choose between UTF8 and UTF16, at the least)]

I am not aware of any system that has attempted to take this approach, but would like to be educated on them.
More importantly, that is some of the nastiest looking JavaScript I've seen in a while.

I think MS are doing everyone a favour.
It's great as an additional protection in your mail setup. My personal domains are few and email accounts not widely exposed. ClamAV caught 7 viruses in 2010, though I get about 20 spam emails per day. Since I never check the imap folders for spam, it might be that some of them were not caught by ClamAV, but by spam filters instead.

Anyway, for 7 virus emails per year I couldn't justify 100+Mb memory requirement on my 512 linode, so ClamAV no more.
I may have one of the single dumbest reasons every to not be able to use IntelliJ as my primary dev environment: their comment/Javadoc formatter isn't as robust as Eclipse's.

I am very verbose commenter for both other people coming behind me (in closed or open source software[1]) as well as myself a year down the road going back through thick code and needing to get back up to speed on it.

Because of this I frequently use HTML formatting in my Javadoc (lists, code snippets, etc.) and find Eclipse's Javadoc formatter more or less perfect.

It breaks lines exactly like I want it to, leaves blank lines entact where I want it to, etc.

I've attempted to file bugs for IntelliJ over the years to refine their Javadoc formatter and they have been fixed, but it still misses the boat on complex single, multi-line or Javadoc comments that requires hand-editing.

I know it's silly, I just can't get over that.

I also find the module/web/deployment/artifact model untenable; but even that I could get around if I had an effective formatter. (FWIW the Eclipse/WTP model is just as stupid when it comes to J2EE project modeling, so no one wins that battle)

[1] http://www.thebuzzmedia.com/downloads/software/imgscalr/java...
Google Wraps Internet Explorer in Chrome Clothing
Indeed, that is the only correct use of Design Patterns.
Atos boss Thierry Breton defends his internal email ban
I see many guys (yes, only the guys) here curious about Justin's sexuality.
Really, if you're interested in him, just email him already.
If your developers are either incapable of pivoting to a new language or flat out refuse to, then they are terrible developers.

Regardless, Digg v4 was clearly the problem. I still haven't seen him outright admit that the fact that at launch Digg v4 was basically a blowjob to Mashable, Wired, and other "content" sites and a big middle finger to the average user.

If he could honestly own up to the fact it would demonstrate a real understanding of what caused everyone to flee.
Lua's sandboxes are very lightweight, if the untrusted code could be pure Lua:

http://stackoverflow.com/questions/1224708/how-can-i-create-...

You can do the same in any interpreted language that allows you to specify the environment to eval calls.
NSA OS X hardening tips
Some simple steps to make your OS X a little more secure. I especially like the suggestion to cover iSight with opaque tape.
Breaking stuff is worthwhile if it brings other things in exchange. Cleaner is almost never a good enough reason in my experience. New features is what makes people willing to upgrade. People will evaluate whether porting is worth the pain over this feature vs effort line. Armin is not the only one who wonders whether it really is worths it.
Research - Facebook valuation and nonlinear demographic dynamics
Your original post (and to an extent your reply above) was a bit dismissive, I think. Dismissiveness is not really a unique sentiment here; I see a lot of posts along the lines of "well yes he's complaining but it's a break with the past and its for the better, it's just a matter of time, and it will all work out in the end, yada yada"..

My point is that for this to actually be true (as opposed to just being wishful thinking, which there's a lot of right now), people are going to have to not only port their libraries but they will also need to maintain the resulting code. If the library is at all popular already, the resulting code will, for some open-ended period of time (perhaps "forever") need to work on both Python 2 and Python 3. And right now, though producing a port isn't monstrously hard, maintaining the resulting code across the 2/3 straddle is just no fun. The code looks bad, it's harder to read, it's harder to maintain, it's just less fun overall. Basically, maintaining a Python 3 port just takes some of the fun and aesthetic out of maintaining an open source library. It's an imposition to those folks who want their code to be popular, forward-compatible, and beautiful due to the need to straddle.

IMO, I'm not sure that a Python 2.8 helps much here, but a more backwards compatible Python 3.3 would. For example: match py3 bytes behavior with py2 string behavior, add u'' literals back in, maybe readd iteritems/iterkeys/itervalues on dict as aliases so we can use a common API for dicts, add the print keyword back in maybe, and other minor things that are really easy to do and don't have much defensibility other than "it's cleaner to not have to have bw compat here".
Did you keep exercising? I found that the combination of fasting & exercise meant I was alert and reasonably focused
Slow?! Thank God it was! Guido laid out a 5 year adoption timeline and things are moving along nicely being that we are only half way through it.
Painful cancellation kills brand loyalty
Defiant Atos sticks with 'time saving' email ban
1 - You shouldn't re-use a name that already exists. Elm is a long existing mail client. Pick a different name.

2 - Is writing JavaScript really that hard to people that we need so many of these CoffeeScript like languages? JavaScript is really damn easy to write as is. The biggest pain is the DOM and there are various libraries to deal with that if you want.
So far, the only real successful method of removing mosquitoes has been massive spraying of insecticide, along with draining swampland. The Panama Canal owes its existence to these efforts, for instance.

Genetics may be a second way to do it now. What would be a worst-case scenario in these Cayman Islands trials?
A second concern is that the engineered lethality gene could somehow be transferred to other environmentally-important insects, such as those vital for pollination.

Really? And they still released them into the wild? What about the consequences for other species that consume those mosquitoes as part of their diet?

I'm still amazed at how we humans consider ourselves so wise to keep messing around with nature in this way, just to keep one disease under control.
I have been working with the RC/Beta-version for some time now because I need the Grails 2 integration for a new project - and it works really well, it's a joy to work with this IDE.
Also, bugs in the development versions were fixed quite fast (in my experience).
I think a more disturbing detail here is the alt text being used on the images themselves:

Description: \\christw4\c$\TranslatorHelp\en-us\GSG_files\image014.png
Description: \\christw4\c$\TranslatorHelp\en-us\GSG_files\image015.png

edit formatting
AdWhirl v3.1.1 for Android and iOS Platforms
I really urge anyone who's in a situation where they have to write Java to use IntelliJ. Java is the language of choice for much of my CompSci course, and it is the only tool that makes that bearable.
3 Incredibly Simple Ways to Get More Links and Traffic
Vaccine developed against Ebola
I don't think it's stock. There's something up his sleeve.
> SICP is dated and doesn't really match what modern languages can do.

You really need to elaborate on that. Especially given how Guido could have used reading SICP when implementing Python and how Brendon was thoroughly inspired by Scheme (and I assume SICP) for Javascript.
there _is_ something to be said for not allowing copy&paste, but I'd be more worried of poor read&type-rs :)
Apple Submits Updated Campus 2 Plans to Cupertino
These are all fine points I agree with. It wouldn't surprise me if there were more racism here.
It sounded like I was indignant but I'm really just shocked you manage to break the taboo.
But you still have to be careful with these college things...
It should be controlled a little.
NYSE & NASDAQ: You don't get IT innovation without a driven CEO
HN doesn't read usernames, that's why they're in small gray print.