skysight-inc/HackerNews huggingface dataset:
Haskell has a difficult learning curve, that is all. A person coming to Vim from a modeless editor might feel the same way, but nobody doubts that someone familiar with Vim finds it easy to use. It took me a couple of years to "get" Haskell, but once you do it is very easy write clear, concise code with.
more efficient solution: read the public location info in people's github profiles.
is it responsive
I think that's bad advice: you would likely be running as your user account, the one owning all your important data.
Given that there are newlines in the text being copied, the # won't necessarily save you. Much better to use a text editor.
True, though not very comforting since it's presumably running in a shell that has access to all your files and is where you do all your work.
Why not follow the same system as domains? Allow for yearly renewal of copyrights. Failure to renew moves the item into the public doman regardless if it has been 2 or 200 years.

The net-effect could be interesting; articles would move into the public domain fairly rapidly (why pay to maintain the copyright of an article from fifteen years ago about Y2K?) and established bodies of work with huge corporate incentives would stay copyrighted for decades.

Disney want's to keep their mouse until the sun burns out and I couldn't care less. All these other works that are now in legal limbo because of that is what bothers me.
I disagree. The mechanism used for this is pretty basic html/css. The HTML looks like:

<p class="codeblock"">

git clone

<span style="position: absolute; left: -100px; top: -100px">

[Evil code]

</span>

git://git.kernel.org/pub/scm/utils/kup/kup.git

<\p>
Even if you're not root, if you're having trouble setting something up (which is why you're copying things off the web in the first place), you likely have a fresh sudo timestamp, so the attacker could become root anyway.
I use rxvt and never figured out how to paste the clipboard buffer, so I use shift-insert to paste the primary buffer. Unfortunately, the primary buffer can be overwritten without my consent, e.g. an autofocused web input field.

Vim and emacs also have their own shortcuts for accessing the clipboard buffer.
It won't work in this situation. Multiple commands here are separated by newlines (like pressing enter on your keyboard) and putting # will only comment out the first one.
Same for me. I thought it was broken, as without scrolling to the bottom of the page, the buttons are not visible and the content itself isn't clickable.

Also it isn't obvious what X and Z are supposed to do before using them (as the explanatory text is hidden slightly behind the orange bar at the bottom for me at least). When Z is selected it is unclear how to return to the previous page, as the images on the previous page aren't clickable, but the only way to exit the 'Z' screen is to click the image. Just feels a bit inconsistent, that's all.

Personally, I find the placement of the up arrow being adjacent to the left arrow but the right arrow being placed on the far right a bit jarring. I expect it to be a block of three buttons together - left arrow, up arrow, right arrow - in the centre of the menu options.

Interesting idea though - good luck!
Fundamentally because it's been more than two hours since I asked for a password reset.

But really, because I'm not trying to fix this. This message was mostly for me, because I'm leaving what has been a fundamental part of my experience on the Internet, since Netscape. I wrestled with the decision to go with either Netscape or Mozilla, when that was a decision.

I just feel bad, and needed to say something to someone. Anyone. Which I've done.

If other people are having the same problem, someone who still knows their password will report it. And if it's just me, well, I'm just one of millions. The galaxy turns.
This put a smile on my face. Thank you Geocities for first sparking my interest in coding.
Well... yeah, but even without hidden text, what are you going to do after you clone the repository? Probably `make` or `ruby something.rb` or any number of other commands that can run arbitrary code. If you don't trust someone, you shouldn't be trying to clone their git repo in the first place.
Ridiculous. You might as well "honeypot" the Internet by encouraging people to mail a letter to you. Now you have their mailing address because it's the return address on the envelope!!!
I was able to reproduce the first two problems in FF on Linux, but not Chrome (everything seems to work perfectly there). It seems to be FF's problem, not Linux's.
Oh man. I nearly just spit water on my computer.
Thanks, forgot about bash behavior. On Zsh the 'e' doesn't need to be pressed with control.
Second that. People need to keep in mind that this is Hacker News, not Complainer News.
I, who grew up in Texas, was recently in a truckstop in Sweden (don't ask) and the lunch special was: Tex-Mex Buffet!
This is really neat.

You should get rid of the words "a weekend project", you don't need an excuse if something is not perfect.
The merchant is 100% responsible for these losses, which is why they care so much.
Yes. This is incredibly accurate. The spinning "HOT" gif might actually be executed a little too well for the 90s.

The professional web was bad back then, but usually in slightly different ways. For instance, there were a few years where it was incredibly common to have a splash page that did nothing but show a logo (and take 45 seconds to load). Splash pages became a bit of a trend in part because there was an influential (but terrible) web design book that recommended making your user see a completely useless page before letting them get to actual content.

It was like any new technology. People played with it and used it in stupid ways while they figured out how to use it. Some people learned faster than others.
I'm not seeing an attack on free speech here. Unlike some campaign-finance proposals, he's not advocating any restrictions on anyone's ability to say whatever they want (and spend however much money they'd like in doing so). Instead he's proposing a public campaign-funding scheme which would be opt-in for candidates.
Right, so it uses uniqueness typing and not monads presumably.
I cracked up when it came to the primary action buttons.
oh thanks for the edit - also found this https://www.youtube.com/watch?v=IuSnY_O8DqQ and am watching now.

and the above tactic starts at 11m in. huh; and it's just euclid - a non-unity gcd means two keys (products) have a shared prime (and you get one of the primes).

edit: also, "batch number field sieve" is the answer to my original question.
But there's the other side of the coin - usually making things more secure means making them less useful and less fun.
Maximally might have been a better word choice, or just dropping the adjective. Absolutism never survives scrutiny⸮
Better idea: check which of those keys are in the Debian Weak SSH Keys list and own their GitHub accounts (or find if they have any servers and start SSHing into them).

Less nefariously: send them an email asking to regenerate the key.
Not paying your dues is the way into the comedian inner circle true, so that will have a chilling effect on his career.

What will be worse is that he has not paid his dues - learnt both the emotional resiliency of near continuous rejection and the ability to handle the hundreds of different situations that occur on and off stage.

At 16 he may be talented and appealing to the right demographic, but most likely he will need to trust some mentor and learn those lessons we all need to - success is a limited subset of the phase space of life. Failing - everyone does it in their own way
How can you tie a public key to a real name? What information does a public key leak?
What Social Media is Missing
But the code I am copying is "git clone git://git.kernel.org/pub/scm/utils/kup/kup.git"

I know what "git clone" does, and I do trust code from git.kernel.org.
You might find urxvt-perls useful, amongst the useful things it offers is clipboard interaction.

https://github.com/muennich/urxvt-perls
Valid point. "Design-delivery platform", then.

My big point is that this is one of the many ways that the ambitious goals of the browser makers and authors of web standards screw up the workflows of those trying to use the web for reading and "allied activites" like navigating, scrolling and cutting and pasting.

These ambitious goals include assisting app developers and assisting design professionals (design professionals on the internet intersecting very strongly with "professional persuaders" on the internet).

Note that I am not saying that these ambitious goals are worthless or nefarious, just that maintaining a smooth and reliable way to share static documents over the internet is important, too.
Hardly. What I'm describing is a dynamics problem. Right now we are at one equilibrium point due to various factors, many of them related to the particular nature of the popular media today. However, there are other equilibrium points (many of them more desirable) which are within our reach if certain changes happen.
At Macchu Picchu they still allow tourists to climb all over the site. It's a wonderful experience...but it's simply not sustainable.
He probably means blackhats.
this.

There was so much more excitement all around. The technology was arcane compared to what's possible today, but most of the bad stuff was missing. People were looking for ways to use, not abuse the internet.

There were barely any lawyers, marketers or managers who felt the need to interfere. Things were driven by sysadmins and their curiosity, just governed by gentlemen's agreements and common sense.

You could go on irc (with mIRC) and talk to strangers who where thrilled about talking to people around the globe. Like chatroulette or whatever but without the dicks and trolling.
Yep, you're right. This one had a " char on the second line that made me confused. A heredoc will still work though, I should start doing that instead :)
Or you could have a separate public key that you use only for Github, e.g. by using IdentitiesOnly and IndentityFile settings in ~/.ssh/config.
Thank you for the resources. Yes I realize there won't be a step by step guide/quick fix for marketing. But most of the developers I know, including me are completely lost when it comes to this, even when we don't admit it.

I read some post that suggest using adwors and such tools. Now I understand how non developers feel when they see code.
That makes sense, thanks! I figured the template was being used to magically substitute some sort of meta-type or container for temporaries.
All users' public ssh keys are also available through the API:

http://developer.github.com/v3/users/keys/

It seems mostly harmless, but I'm not sure I see the point of making this information available.
The "Guestbook" got a chuckle out of me. Haven't seen one of those in years.

Then I realized that we just call them "the comments section" now and put them on every article.
And that's the thing a lot of people who grew up under this new regime don't realize -- that machismo was pervasive. Among Quake's multiplayer kill messages (found in client.qc) were statements about Player A riding Player B's rocket, Player A being [nailed|brutalized|smeared] by Player B, Player A accepting Player B's [discharge|shaft], etc.
Watsi intendeds to be financially stable so their core work will not collapse, even if external donor funding is withdrawn.

pg's post welcoming Watsi : http://ycombinator.com/watsi.html
Running a simple game using Pygame | Packt Publishing
It's not so much about cloning a repo than spilling this trick on blogs that explain how to run alsamixer to get skype recording running or install a package that is needed to debug a random joe's scrolling mouse problem. For things that requires a sudo for instance. Or a malicious `rm $HOME -rf`.
Check out this project's source, too:

http://mezzoblue.com/archives/2010/10/07/paintbrushjs/
I'm not being facetious, I really want to know the reason I would do that. I buy the "Perl is better than C" argument 100%, but how is it better than Php, Ruby, or Python

Off the top of my head.

* I'd disagree that other languages have better libraries and frameworks than Perl. Perl has some pretty darn awesome libraries and frameworks.

* It has the best testing infrastructure in any language I have ever used. Period.

* The Moose OO layer has some really rather nice things for composing large OO projects

* Because something doesn't have to be better than another language to still be worth learning

* Because there's a shit load of perl out there - and knowing how to deal with it well will probably make your life easier.

* Because learning new languages always tweaks your perspective in useful ways in my experience

* Because the Perl "infrastructure" (CPAN, metacpan, CPANTESTERS, CPANTS, etc. etc.) is still best of class. I so wish I could have reports like http://static.cpantesters.org/distro/D/Dancer2.html in the Python, PHP, JavaScript or Ruby world.

* Because Perl takes backwards compatibility and keeping old code running very, very seriously. Shit just stays working.
Tune your C-programs with CConf
I always thought this concept to be silly unless you are a sysadmin.

For most people who are not sysadmins losing ~ is much worse than losing /. Go ahead and wipe my OS, I just care for my photos to be safe.
I think "confusing" in this context doesn't mean that the concepts are hard to enumerate or understand, it means they're hard to apply with low error rate in a practical setting.

I don't have a problem with X selection+paste if I'm just using Linux. But using it when connected to a remote machine via various remoting technologies (NX, Chrome Remote Desktop), and then mix in that the host machine is a Mac with its terrible command/control split, and the result is pretty confusing.
Most Python 2 code runs on PyPy without a port anyway. It would be more helpful to focus on specific pain points like getting connected to MySQL.
Wow, crazy, never really thought about this as an attack vector but it seems pretty obvious. I must confess that as a person who solves many problems by Googling I have directly pasted terminal commands from unknown websites countless times...
You will not get an Apple product for this price. Maybe used headphones
There are people who re-use their github key?

I don't think there are that many anonymous githubs accounts out there. Feel free to prove me wrong though.
Or, for the RSA keys your find, calculate the GCD of each key with all others and see if any badly generated private keys fall out.
(Bloomberg employee) It might seem like a crazy interface if you haven't used a Terminal before, but the thing which the articles/screenshots don't really convey is that it feeds into the existing news backend. We consume 80,000+ news feeds so the Twitter content feeds in just like any other news source. Lots of handles have been imported and classified different ways and the same entity / topic classification that occurs for articles will also occur on tweet content without making a Twitter specific backend or frontend app.
This is great, but price/size filtering would make it even better.
> Both Obama and Romney raised more direct contributions than the amount of money spent on their behalf by PAC's and non-profit organizations.

True for Obama, but from the numbers I can find [1], not true for Romney. Obama raised $750m in direct contributions, and pro-Obama PACs spent another $300m. Romney raised $450m in direct contributions, and pro-Romney PACs spent another $725m.

[1] http://www.opensecrets.org/outsidespending/cycle_tots.php?cy...
Looking at the dresses (girl here), it's kind of awkward to see the compressed width on the next image to come up. If you can adjust the transform to make it look more natural then it would be more fun to use. Happy to look at never-ending pictures of dresses for quite a while otherwise.
No, your role at a big company is not going to make you a better entrepreneur
The campaigns do have that much to spend, and the available advertising dollars makes incentives for media companies to fulfill that demand. Profit is made by getting more eyeballs watching, just like a sport.

This past election had nearly $2b between the two of them. Toyota spends less than $2b a year on advertising in total.

It just seems that the voices of a very, very small group of people who want to keep everything stalemated are drowning out the voices of reason that can push our society forward.
The author is making some pretty big generalizations IMO. While I agree there is a culture of gratuitously violent games -- which the market responds positively to -- there are also many incredible games that feature no realistic violence. Fez, Minecraft, LIMBO, and Braid come to mind. I work on the Xbox Platform Team and I feel like we have an accurate representation of the interests of the gaming world (and in fact the non-gaming world -- many people simply don't play games). Maybe things were/are different on the teams actually making games, but my team is very well-rounded. We play FIFA, Spelunky, and Trials Evolution in our down time...obviously the bro-est of games.
> So you blame Perl for programmers making poor choices in how they parse their data?

That wasn't a poor choice. I didn't propose "si.+?nk" as a general rule, and I would have used another method if there had been conflicting tags in the file.

I also take issue with the parent comment about perl not being usable for long scripts; that's nonsense. A comm framework I wrote in perl in '04 still sends payroll data for our 18k employees to the bank. It weighs in at around 400 lines, makes calls to gnupg, a database, has a scheduling engine that can parse cron entries, has support for EDI wrapping/unwrapping functions, logging, error alerting, other bells and whistles I'm forgetting right now.

There was nothing in the language that made this absurd or unsupportable.
What kind of a job are you looking for? That will make all the difference in the way you should shape your resume.

Whether you want a a PhD job, a corporate developer job, or a startup developer job, I don't think it's clear from your resume, and it needs to be.

Quick feedback...

The excerpt at the beginning - just get rid of it. It's negative, and it's your first impression.

Native/Fluent/Rusty - need to find another way to represent this, if it's necessary at all. You don't want to say anything is "Rusty". If needed, in an interview you can clarify that you haven't used it recently but you could pick it back up as needed. If you think you couldn't, it shouldn't be on your resume.
Good catch! Now people can experience this horridness on more devices :)
I'm not sure why they wrote this in the first place. Eigen's MatrixBase already has a squaredNorm function: http://eigen.tuxfamily.org/dox/classEigen_1_1MatrixBase.html...

edit: I see, they address this in the article: In this speciﬁc case the Eigen
library has the squared L2-norm in its API, but in more complicated
examples there might be no such built-in provision
Seems like we already have a implementation http://canhasbitcoin.tk/index.php
I'm confused why this is even allowed by the browsers, you shouldn't be able to send something else to the clipboard. Are there any browser extensions that can 'fix' this issue?
I guess I should have been clearer:

We need a better inter-networked commons.
God this is priceless. I appreciate that it wasn't playing a snippet of 8 bit MIDI music in a short loop which is looped mid-phrase during a key signature change.
Out of interest, does anyone know of a Mac utility which will intercept the default paste shortcut and pop up a confirmation of what is going to be pasted, with a really quick interface to the previous few items that were copied to the clipboard?
Thanks for the link. I'll find a place for uxvrt-perls in my hacky copy-paste workflow. I'm currently using tmux paste buffers and shell functions around xclip to move around text.
Sadly this is not complete protection. Many Linux distributions configure sudo to prompt for the password only once every 15 minutes or so. If you have successfully executed sudo in your terminal within the last 15 minutes, any malicious code that you run can silently escalate its privileges to root just by starting with "sudo -i;".

You need to have the following in /etc/sudoers in order to be truly protected by not being logged-in as root:

Defaults timestamp_timeout=0
I have an idea myself to solve this;

Unregistered works, are granted 10 years of protection, then either must be registered or become public domain.

For individuals, After registration, Artist Lifetime, then renewal every 5 years thereafter.

For corporate owned/created work, registration good for 30 years, and renewal every 5 years thereafter. Possibly, work must be kept in commercial availability somewhere in the 5 year cycle or you potentially could be challenged for the right to renew.

I like this system because it solves something I see as a serous problem, abandoned works.
Hacker News Launch Experience
Actually, you're copying more than a git clone command.
That's the point of the posting.
Look at the source or paste into a text editor to see it.
I didn't say it was "below average", I said it was "below the average [in SF/SV]". http://www.prospects.ac.uk/applications_developer_salary.htm claims the average salary for a senior developer is £50,000. I'm going to assume that that's the average across the U.K., so lets allow 33% more for being located in London (33% is what I see commonly thrown around for SF/SV vs. other large US city). If we assume a generous currency conversion rate of 1.6, that works out to ~107k USD. That's extremely low for a senior software developer in the Bay Area. And London isn't any cheaper than SF ...
Linux Gems
If you think FPS's with shields Halo-style are slow, you've never played a modern Call of Duty. If anything, this unrealistic choice made it much faster and funnier, since no one needed to hunt for medkits again; it also gave players a realistic choice for hiding in cover, or doing anything else at all. With health bars, it's shoot back or die.

If you think Halo was gritty and serious, you've never played Halo. Grunts are some funny bastards. Multiplayer with vehicles and rocket launchers is damn silly.

Also, complaining about the "excessive competitiveness" of Halo (of all games), compared to that of, say, Counter Strike or damn fucking Quake 3, is pretty fucking disingenuous. Harvest Moon is more suitable to competitive play than Halo.
Learning C: Why (38 == '&' && 046 == 0x26 ) is true
GitHub already did that:

> Thanks to our new servers, known bad keys from Debian and Ubuntu are now blacklisted. We estimate that about 1000 keys in our database were impacted by this. If you get authentication errors using keys that worked a day ago, please double-check that they are not on our blacklist. If they are, you should ensure your software is updated and generate new keys. We’ve got a guide to help you out with this.

https://github.com/blog/500-state-of-the-hub-rackspace-day-0
I hear what he's saying, but I find it ironic that his current gig is making freemium games for mobile, which I believe is a far more damaging trend than FPS games like Halo ever could be.

Knock Bioshock Infinite for delivering dollops of voice-acted plot progression along with explosions, headshots, and the like, but at least it doesn't require me to pay a buck-ninety-nine to buy the coins to buy the lockpick to unlock a door. (or wait 12 hours for my city to produce enough coins to buy the lockpick. Whatever.)
The body of work that could be copyrighted is vastly larger and more diverse than domain names (which have a fairly tight technical constraint). So managing such a system would be very complex.

No to mention the administrative overhead for companies and individuals to renew their work each year.

But, if those problems could be overcome; interesting idea.
Heyzap (YC W09) adds option to pay game developers with Bitcoin