skysight-inc/HackerNews huggingface dataset:
Another example: finding help on hadoop:

[vagrant@localhost conf]$ hadoop --help
Error: No command named `--help' was found. Perhaps you meant `hadoop -help'
[vagrant@localhost conf]$ hadoop -help
Error: No command named `-help' was found. Perhaps you meant `hadoop help'
[vagrant@localhost conf]$ hadoop help
Exception in thread "main" java.lang.NoClassDefFoundError: help
Caused by: java.lang.ClassNotFoundException: help
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: help. Program will exit.
Linux From Scratch 7.3 Released
I don't do this for the glamor. I do this for myself and the users. Everything else is gravy.
An oxymoron is two words which mean the opposite but yet the two combined words form a new expression which remains "true."

For example "bitter sweet." Bitter and sweet mean two different opposite things, but the two words together are "true" because something can be both bitter and sweet.

Encryption means simply to convert information into a form which cannot be easily read by an unauthorised party. One way or lossy encryption is not a contradiction of that.
Rackspace doesn't support 2fa in 2013. Or multiple users on an account, for that matter... (much to my shock and dismay)
We can ask courts to allow reverse engineering. We can ask them to exempt personal use and backup. We can hope to remain invisible. But even after all of that we are still beholden to these content creators who hold us in contempt(their actions prove that). And if the courts and luck don't smile on us we end up being criminals too. Look at the music industry, even if lossy, the mp3s now available do not have drm. So things will change if we want to and we won't have to shun pop culture.
YouTube's creative search result for "do the harlem shake"
Hm, yeah, if a poorly written article with this "beautiful PHP" is what's needed to make it to the frontpage of "Hacker News" I think something has gone awfully wrong.

Not to mention most of the code is absolutely horrible and should not be used for anything.
You're wrong.

> What the DMCA says is that you can't strip and redistribute the content, not that you can't strip and watch it.

No, the law is clear that circumventing a copyrights protection measure is illegal. Similar laws got passed in many countries.

Here's a case from the US: (https://en.wikipedia.org/wiki/RealNetworks%2C_Inc._v._DVD_Co...)

> The court decided that RealDVD is primarily designed or produced to circumvent CSS technology. In particular, the court found that the removal of crucial CSS technology in DVD drive-locking, secure storage of content keys on DVD, CSS authentication and CSS bus encryption during the playback of copied DVD content from the hard dive is a circumvention of CSS, even though they are not needed when playback from the hard drive. The court further explained that even though RealNetworks is a licensee of CSS technology, it does not shield RealNetworks from DMCA claim because the removal of CSS technology is a violation of DMCA.
Depends, really. Speaking in terms of hours per day, some days 1-2, some days 12 or more.
This seems representative of the PHP community in general. The only thing you need to qualify PHP as being "beautiful" is to apply a few tips on how to iterate over your array.

There are many other ways to make PHP beautiful. In fact, you can make object models that are almost as flexible, DRY and elegant as they would be in any other language.
Its nice for you that you're advanced in your carrier that coding is such a small part of what you do, but its obvious that theres enough people that arent quite as godlike as you. Good for you.

Personally, the one thing vim(and Linux) have taught me is that mastering your tools is hard in the short but entirely worth it in the long run. Do really never learn shortcuts or concepts or the tools you use? A language is just as much a tool as a text editor.

How much of your time did you waste here, religiously debating religious vim users? At least from here(the internet can distort things) it seems you're just as religiously anti as they are pro.
posts like this make me wonder how the frontpage curating process works at HN (or doesnt). i've posted things that had more value and upvotes than whatever this is supposed to be and never made it to the front page. (also php-related, mind you)

my guess is that someone wants to show how dumb php programmers are by selectively promoting stuff like this. just sad.
Threadjacking? This question should be a front page discussion, instead of gossipy crap.

I would love to know as well.
As someone who worked more than a dozen jobs that no movie has ever depicted as glamorous before becoming a professional programmer, I can say the pay, benefits, relative career security are amazing.

Not to mention, the feeling I get from solving problems and creating things others (and myself) find useful (and fun) for a living.

Quit programming for a month and work as a menial worker. See how you feel. I dare you.
I agree with your level of enthusiasm. As I am in the same field, I can relate to the bad and the good sides of being a developer/contractor etc. There are downsides and frustrations that I encounter on regular basis, and while I have learned to avoid and cope with them, they do exist.

Managing relationships in your team, building a rapport with your management and teammates, delivering products that match or exceed expectations, contribute to the bottom line profit pool and balance it all with a healthy time schedule and proper nutrition. All these can be flipped to be negative, which can turn a career into a miserable chore. Notice that I'm aiming to dissociate the programming aspect from the that list. I believe that a programmer doesn't face a unique set of problems.
Technology-savvy users want to be informed and assured as well. Why would they not include it?

Situations like these specifically call for not leaving things up to the users' imagination.

The recent Facebook incident (well, one of them) created a big scare. Better to control the narrative, before others decide to tell their version of the story.
Two of them, actually.
I've never been able to make sense of Net Market Share's numbers or why they're so wildly divergent from nearly every other source. Just take a look at the big ones listed on Wikipedia: http://en.wikipedia.org/wiki/Usage_share_of_web_browsers#Sum...

The other stats sources consistently align in a pretty narrow range of around 2%-7% for any given browser. But Net Market Share consistently shows Chrome as more than 10% lower, and IE more than 20% above what every other stats provider is seeing. The only thing I can figure is that their sample base is just too narrow to avoid what seems to clearly be a severe systemic bias.
Could be worse. Could be an artist and therefore free to starve to death in a garret any where in the world, so that your agent can become rich when you're dead. Or as others have said, pick your profession. To paraphrase C&W, "What's glamour got to do with it?"
> you don't know before the interview if everyone else will be in jeans

This is something you ask your recruiter/HR contact.

> all those in jeans are not the one that have a job interview

That's why I advocate dressing one step above the current employees, not the same as them.
Going to sound silly but - a pencil every time. Just seems a better match to the mind flow. Very zen.
3DES is a black cipher but block ciphers can be used for hashing. 3DES in particular was used on UNIX/Linux based systems quite extensively.

http://www.freebsd.org/doc/handbook/crypt.html

See this:
http://en.wikipedia.org/wiki/One-way_compression_function#Co...
Maybe this is off topic but the first I did when I got past page-2 was to look at the page source. An amazing attention to detail
>No, my math is right. It takes a lot more effort and money to move a large mass.

Please explain how it costs more per house to install fiber when you can buy materials in bulk and have a larger number of customers to spread fixed costs over.

>It takes N years to "wire" a large city like Los Angeles. After that you have to get your money back.

They did that decades ago. The cost of installing copper has been paid. The reason they don't install fiber (and make no mistake, they have all but stopped) is that they have no incentive to do it -- increasing average bandwidth reduces their ability to engage in price discrimination against users who are currently willing to pay a premium to reach a threshold level of bandwidth that would become the new baseline. Scarcity raises prices. Why would they ever pay money to upgrade technology that doesn't increase their revenues? The answer in a free and competitive market would be competitive pressure, but they have no effective competition.

>The true test would be the next evolutionary step.

Explain what provides the local incumbent with any incentive to be the first to take that step.

> If tomorrow we all had 1Gb/s service at home and at work it would probably crash the Internet. The infrastructure required in order to support something like that at our scale is massive and cost a ton of money. I don't know if costs are geometric or exponential.

Rubbish. The costs are sub-linear. A user who gets a connection which is 100 times faster doesn't automatically transfer 100 times more stuff. The predominant cost of installing fiber to the home has nothing to do with bandwidth or networking equipment and everything to do with paying line workers in bucket trucks to dig holes and string fiber.

>No, government and regulation is not the solution. It never is.

Do you even hear yourself? Telecommunications is a regulated industry. It's right up there with power transmission and commercial construction. No one is even suggesting changing that. If you went to AT&T and asked them whether they would be in favor of repealing all the telecommunications legislation that applies to them, thereby disallowing them from using eminent domain and providing unlicensed access to all comers to the entire radio spectrum, they would laugh you out of the building.

The only question is whether the regulations we impose are ones that benefit the public or the incumbents, e.g. by causing fiber to the home to be installed sooner vs. later (or never).
Challenge to PHP programmers here: can you point me to some actual coding best practices for PHP (besides PHP the Right Way)?
Passwords are typically not used for encryption, since you don't want to re-encrypt data when user changes the password.
If the output is lossy and doesn't contain all the info needed to reverse it, is it possible to guaranteeing that each each output is unique? Or could two different inputs theoretically create the same lossy output?
I don't think that was the OP's point. The conclusion that is usually drawn from the myth that Linux users aren't willing to pay for software, is that there isn't a viable market there. There clearly is, however, as the HIB has demonstrated.

Even if you ignore the overrepresentation of Linux users, the fact stands that when you look at total revenues, Linux rivals OS X.
> Notice that he's also saying that it's legal to jailbreak a phone (it isn't, anymore,)

Except that it is (in the US at least, the country that is the subject of this article). Carrier unlocking on newly purchased locked phones is no longer legal in the US, which may be what you were thinking of, but he addresses this in the paragraph following the one you cited:

"As of January, it’s not legal to unlock your phone without the permission of the carrier that you bought it from, assuming they locked it in the first place."

> and that the reason it was legal was an exemption to the DMCA (which is completely incorrect.)

"the U.S. Copyright Office explicitly recognized an exemption to the DMCA to permit jailbreaking in order to allow iPhone owners to use their phones with applications that are not available from Apple's store"[1]

> This is why you don't take legal advice from random programmers on the internet.

You said it.

[1] http://en.wikipedia.org/wiki/IOS_jailbreaking#United_States
It's the ultimate irony. People of all walks of life will tell you that the way their profession is depicted in the media is unrealistic and silly. And yet we all seem to share the equally silly misconception that those who work in the media are attempting to depict us realistically and failing.
I don't know enough about this blog author to speak about them personally, but other bloggers seem to solve this problem by only posting positive reviews. Any item that doesn't warrant a positive review isn't included. The threat of readers feeling burned by a purchase is that they will also leave the blog's audience.
+1 for bioinformatics - adding to that are the issues surrounding the complexity of the data (look up HL7 or CDISC to see how complex) and also the legal standards and ramifications (HIPPA, 21 CFR Part 11) of working with clinical research.

In short, getting domain knowledge in the above are essential to solve the tough problems at the big-pharma or national-bio-labs level.

(PS to the other poster looking for bioinformatics programs: I suggest you look in Boston - Tufts, MIT, Harvard etc)
Right, forgot Chrome. I only thought of Opera, when it comes to browser-backed bookmark sync - at least on paper, since it doesn't work at all for me.
As a very small side note, I noticed you mentioned nutrition and health.

I recently bought a large frame/large top geek desk. Apparently I'm behind in the times when it comes to this desk, as 4 or 5 of my friends have been using a standing desk for years and I never even knew.

It hasnt arrived yet, but I heard a standing desk will skyrocket your stamina, increase focus for most busy or easy work (usually write algorithms sitting down). It will also fix your posture and help your health greatly overall.

That should help a ton, I am going to write about it after a week of using it.
offtopic: did new Chrome broke fonts completely only for me? They're now blurry so I had to switch to Firefox.
Agreed, it would be nice to know they are using something reasonable, like bcrypt.

Their description would satisfied by a simple MD5 + salt, which wouldn't be very good for password storage.
I filed a ticket this morning after I was unable to login to the Mac client. Here's their response:

"Dear Valued Customer,

We're truly sorry for the inconvenience this has caused you this morning. We are attempting to contact our entire userbase about this matter, but we feel that immediate action in these cases is the most prudent course."

The rest of the email contained the contents of their blog post.
catch.com incredibly simple + fast + easy to capture. no notebooks though only "spaces"
"It might be legal from criminal law POV but you can still be sued in a civil court for most of those use cases."

You can get sued for anything, but the court will throw it out if the civil case is unfounded. I don't know how you have it in Poland, but the Czech copyright act stipulates that private copies ("copies for sole personal use") of everything except software and "electronic databases" (telephone directories etc.) are completely outside the purview of copyright protection, up to and including the disregard for the legality of the source of the copy (confirmed by a verdict of the Supreme Court in 2006) If something similar is the case in Poland, what basis could a civil case possibly have?
At least in the US, the courts are one of the few avenue of justice. Everything from desegregation to marriage equality to environmental protection was hashed out in the court system. It is the single means for the little guy to tear down big institutions. The court system is the last place in the country where people use the word "fairness" outside of a punchline.
Good point. But the reason jailbreaking is legal is because of a DMCA exception.
ALinux 15.0 features KDE 3.5.10 and targets old computers
Where 'their version' == some made up bullshit that sounds good.
It doesn't integrate that well in Ubuntu to start with. There's no app menu integration for Unity.

Edit: I mean the unified menubar. Steam menubar is attached to the steam window, not at the top of the screen.
And add poor performance of their app on iPad. They are present everywhere but except Windows client, all other apps feel very very slow!
Personally, it doesn't bother me too much. One suggestion could be to have two links - one with referral and the other, without. And mark them explicitly and leave the choice to the user to decide on which link to click.
It depends on your hashing function. What you're talking about is a https://en.wikipedia.org/wiki/Collision_(computer_science)
I know for certain that writing things down makes them more 'important' to my mind. Printouts and the like generally get forgotten a few minutes after they were printed. Whenever I need to map out an idea within a script/program I'm working on I usually turn to my good ol' number two pencil and a couple sheets of paper and map out the basics of what I need to do, why I need to do it and any similar links.

I find that this allows me to clarify things greatly, even the simple act of sitting for a moment and mapping things out. Pretty much I have found that without fail this leads to better outcomes with scripting for me and things just flow better.

I'm not saying this will necessarily work for you, but for myself at least, writing certainly clarifies and brings into focus programming tasks.

Also, getting into the whole bit with reading from LCD screens when reading from them, the material I read on LCD I find that it is remembered less clearly than when it is on paper (be it a book or, notes, etc.). So for myself, the order of order of best/worst material for remembering information is: Writing -> Printouts -> Screen.
Yes they are, just in a more complicated way. You don't have to re-encrypt if the user changes their password. FDE would be pretty useless if so.
Moral of the story: 1and1 VPS Hosting can't handle the HN effect.
More games please. Many of the bundle games are also not available.
What lack of encryption?
Yes. I glanced thru this book at my local library - http://www.amazon.com/How-Sharpen-Pencils-Theoretical-Contra... - Read very zen.
My personal preference is a good/non-expensive fountain pen though. Still searching for one.
You may have heard the saying "Never attribute to malice what can be attributed to WordPress".
It does contradict the claim that "Linux users will not pay for software" directly.

You also have to note that while Windows users are more likely to own the games prior to any given Humble Bundle sale (esp. given that many games were first ported to Linux specifically for a Bundle) at the time of the sale they are unlikely to find a better deal on any of the games either separately or as a package, even games unlocked for beating the average payment. That would make buying those games from the Bundle a rational choice if you are a Windows user and want even one of them.

Of course, the above argument doesn't negates the fact that Windows gamers have more choice. For them the opportunity cost of paying more for a HIB could be not buying another game on Steam, GOG or elsewhere.

I guess in the end it all hinges on how much the buyers (all of them: Windows, Linux and Mac users) are interested in playing those games specifically vs. playing any games at all. If they are interested specifically in the titles sold, then yes, the statistics would mean that Linux users are more generous. Otherwise it's probably more about opportunity cost.
http://www.codular.com/ has some good examples. Further, anything from the symphony framework and the composer stuff is quite good.

See https://github.com/php-fig/fig-standards for some of the good work that is happening.
Encryption on the notes. Who would ever promote using the evernote login to encrypt?!
Evernote hacked, reset your password Now  - Hacking News
You DEFINITELY need to redo the menu. I would close the site right then and there.

Make it HTML so I can read and zoom if necessary.

Best of luck!
Apple does cut deals on batches of computers, but if the student is keeping the device then it is individual orders at the student rate.
How will u make an empty shell company, run by lawyers, pay? They can just transfer the patent and file for bankruptcy. Invalidate the patent first and make them personally liable as well.
"When US citizens live abroad, they keep paying, but stop receiving."

You keep referring to PBS as if it is a service provided by the government. PBS is not a government service, it is a private entity. Why do you think paying taxes entitles you to universal acces to PBS? My local university and the local fire department received some federal funding. A miniscule slice of your taxes paid for that funding. Do you expect to enroll in classes at Syracuse University for free now? Do you expect the Syracuse Fire Department to come help your cat out of the tree whereever you are?
Credits to you too :-) For what it's worth I actually did find your site through the links on https://leansync.com/status.

Would be wonderful if IE supported WebGL so these features could find their way into more apps.
Each output is NOT unique. Since it can take in an almost unlimited amount of data and output a set length string we know for a fact collisions will eventually occur.

The question is - can we predict these collisions or guestimate when they might occur without having to actually try every combination? If the answer is "yes" then the hashing algorithm is broken (see MD5).
Stop worrying so much about how other people perceive you and your profession. Anyone worth talking to is going to realize that what they see depicted in a Hollywood film and B(or C)-level shows on Bravo is probably not representative of the vast majority of real experiences in the field.

I say stop worrying, not because I simply don't care, but because no matter what we're needed now and will continue to be needed in the future. If public perception sways a bit and begins to define us as 'lazy slacker partiers', then we should just get back to the keyboard and create something. It's just a function of society trying to come to terms with something that many of them don't have the slightest clue about. We all try to categorize the new and unknown using simplistic stereotypes. It's part of how we build mental models of how the world works.

With time, people will begin to understand more realistically what we do. Until then, let's just enjoy our relatively high job security, satisfaction and compensation while continuing to push technology forward.
> most of them just look like cruddy PHP code.

Complete with extra syntax and forgetting your own tips from one example to the next:

> return ($string === "");

parens unnecessary:

return $string === "";

> $ret = false;
> if( time() > $end_time ){
> $ret = true;
> }
> return $ret;

aka

return time() > $end_time;

> function ($string = null){
> if ($string == '' || null) return 'massage';

pretty sure he meant to say

if ($string == '' || $string == null)

because there's not point to if (cond || null) since null is falsy, it's the exact same thing as if (cond)

> $data = include 'school_data.php';

Oh god, no…

> $data_update = $data + array( 'name' => 'surname', 'size' => 40 );

That's not an array update, since it doesn't update the first array.

> if(!is_array( $options )) $options = (array)$options;

That's absolutely horrible, you've got to know that contrary to what you might expect PHP doesn't convert a sequence of characters (a string) into an array of characters, but essentially does `array($options)` (create a 1-element array with the string). So write that.
Fat Burning Foods and Fat Burning Exercises are a Reality for Everyday Life