skysight-inc/HackerNews huggingface dataset:
Well , I used Firefox from while ago till last year for them same reson you mentioned above , I moved to chrome and I did not like it at the beginning and I thought it would not do all what I want , but actually I was totally wrong , everything you do on FF you can do on chrome and I think more also.
Good Luck with your right decision :)
such a troll!
I don't really know. I had Ruby in mind, and it seems to mostly work there, but still obviously breaks for things like heredoc multiline strings. Of course, the point is that making generalizations about the line count of a program is silly, because the line count can vary wildly between two semantically identical programs.
i followed (and enjoyed) most of that, but i don't get (perhaps because i've not used haskell in a long time) how the consumer is automatically(?) chosen.

from what i understand of section 3.2 the consumer is critical in selecting the correct stream type from the bundle. who decides that? does the user have to select the appropriate function? or does it some how fall out naturally from the use case? or does the compiler select it?
You can try factoring it.

If you collect a large amount of keys you can use algorithms to find common divisors anywhere in the set, and so make it easier to find easily factorable keys out of a big population.
What an interesting read. Thanks OP. I got stumbled on the floating point question. I remember a few weeks ago in class our instructor taught us about floating point precision loss and I thought the compiler might take care into that and not optimize it, but I guess I was wrong.

Would you explain a bit more on that? I'm really interested! Thanks!
This simple app brings Spotify to your Mac’s Notification Center
I flagged this article.

"Off Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon."

Lessig's geek-relevant copyright background does not magically make his every political opinion relevant. There's nothing in the article or the comments about technology or intellectual property (or anything else that would make this relevant).
It's great to see you're iterating on this. I'd love to see where it goes.

I explored Angelist looking for the same data but they also get it from CrunchBase. :(
The author seems to basically be describing a lack of vision as "technological conservatism". What's ideological about that? Why inject political language into that phenomenon?

There are ideological battles in technology, of course. But it doesn't have much to do with a lack of vision. If someone lacks vision, and then you make something amazing, they will generally acknowledge it (though perhaps slowly) and everyone moves on. Sure, there are a few people still using DOS, but not very many.
This is why I got into programming. The web was just too cool back in the day.
First, it's not just just good regex support, it's easily accessible features from the command line so you can quickly iterate to a solution.

I'll often need to pull some very specific information out of a very large log file, and often Perl is the quickest way to achieve that. i.e.

# pseudo-code
head -n10000 LARGE_FILE | perl -ne 'next unless my ($foo,$bar) = /include/gsmi; ${foo}+=$foo, $h{$bar}.=$bar}; END { print %h }'

Once you're happy with results on smaller data sets with head, replace with cat. I used a similar technique to quickly identify, classify and determine the user account for a large set of hacked Wordpress accounts at an ISP I worked for.

Secondly, Perl is still the leader in regex development. They are still adding features that other languages are adopting (there have been a few good ides from outside they've taken as well, such as named captures, so credit where it's due).
I wonder if you could do the same with Unicode control characters. There's probably something in the depths of the library that would have a similar outcome.
Bash and Zsh provide shortcuts to open a text editor where commands can be pasted and edited before running (Ctrl-x Ctrl-e in bash, need to enable in zsh [2]). I've been using this on Linux not for security but because I'm still confused by X11's primary and clipboard selections [1]. It seems like every time I try to paste a github repo link, I get the last chunk of code I copied and vice versa.

[1] http://www.nongnu.org/autocutsel/

[2] Sample .zshrc to map edit-command-line to Ctrl-x e:

autoload edit-command-line
zle -N edit-command-line
bindkey '^Xe' edit-command-line

edit: fixed shortcut for bash

edit: forgot about my .zshrc
No, but the first thing I did was check to see if every button was a table. Was not disappointed.
Nicely done! Here's the underlying source:

<p class="codeblock">
<!-- Oh noes, you found it! -->
git clone
<span style="position: absolute; left: -100px; top: -100px">/dev/null; clear; echo -n "Hello ";whoami|tr -d '\n';echo -e '!\nThat was a bad idea. Don'"'"'t copy code from websites you don'"'"'t trust!<br>Here'"'"'s the first line of your /etc/passwd: ';head -n1 /etc/passwd<br>git clone </span>
git://git.kernel.org/pub/scm/utils/kup/kup.git
</p>
Missing a RESET button on every form
Pasted result is:

git clone

/dev/null; clear; echo -n "Hello ";whoami|tr -d '\n';echo -e '!\nThat was a bad idea. Don'"'"'t copy code from websites you don'"'"'t trust!

Here'"'"'s the first line of your /etc/passwd: ';head -n1 /etc/passwd

git clone git://git.kernel.org/pub/scm/utils/kup/kup.git
A lot of the comments here are along the lines of "My identity is public anyway."

That response is ridiculous. Should you have been operating under a pseudonym, this would be a way to tie that pseudonym to your real name.

I should be told that my public keys are made available by Github. Had I been, I wouldn't have had a public key on my account.
If you don't see any difference between advocacy (on your own dime) and literally handing a check to a person with regulatory power over your commercial interests, then you are well and truly lost to reason.

So I guess we're not going to discuss this like adults?

Like I wrote, I am no fan of money in politics, but if there is money in politics, there is always going to be a way to use that money to the advantage of someone else, by means other than "literally handing a check to a person with regulatory power over your commercial interests" - the only way to prevent that is take money entirely out of politics, but that does affect free speech.

Truly independent political speech is one thing. The current reality is something else.

Agreed. Now, how to you get one without the other without impacting one's right to free expression?
ATtiny Programming Shield
Recently I started a Kickstarter campaign for an ATtiny Programming Shield that I created. You can use it to program 10 different types of ATtiny chips. The shield has a number of features that make it easier to debug and prototype your project. Please help spread the word!

http://www.kickstarter.com/projects/attinyprogram/chipper-the-attiny-programming-and-prototyping-shi
Cool but the animation makes me dizzy...
Out of interest, what is confusing? If you select text it always goes into the selection buffer. If you also press the clipboard copy shortcut (so, Ctrl-C most of the time, sometimes Ctrl-Shift-C in a terminal) the selection is copied into the clipboard buffer.

Ctrl-V (or, again, sometimes Ctrl-Shift-V in a terminal) pastes the clipboard buffer. Middle mouse button (or shift-Insert) pastes the selection buffer.

Is there still room for confusion?
There was nothing like the anticipation of the modem dialing, wondering what speed you'd get based on the handshake, or my personal favorite, picking up the phone and getting your younger brother kicked off, just because.

Prodigy user TMDW48C checking in.
is that true? are there efficient factoring algorithms that scale better than linearly when given many products?

i realise that just enumerating products would scale well, but is that how efficient factoring schemes work?

or am i misunderstanding?
This is a real gem! It can't be that much pages left from the ugly-age.

I started out making web sites a bit like this myself i 1995, and it makes me sad all pages are gone except a few pages left in the internet archive.
Can you make the dropdown menu crash my netscape as it tries to load an applet?
You do know that Booker's brutal violence is an important plot point, righty? It wouldn't have worked as a puzzle game. You are supposed to dislike the brutality of it.
Unfortunately, although that is a quite obvious to those who pay attention, it is also just the tip of the iceberg in the events that led to the sinking of the titanic. The point is that, obviously the visible tip of the iceberg is the most obvious danger, the real, immediate danger is the portion of the iceberg just below the surface of the water. But that is also just the most shallow consideration of all the factors and events that ended up with the sinking of the titanic. Events and circumstances that were in place before the impact, and those revealed and as a consequence of the impact.

For example, a huge part of the corruption of our government comes from Congress' micro-management of the economy, which should not be happening. The legislature is supposed to put broad, systemic foundations into place that work universally, not this inept and incompetent meddling in the smallest details of how a dime is spent or not spent. That body of our government lacks universal principles that can be tested against to validate their actions.

That manifests itself in the blatant, overt corruption of bribery and favoritism; not to even touch on the subtle forms of corruption which make up the forest we can't see for all the trees.

addendum:

Something else that is a rather touchy subject but also a relevant one is that we are operating with a hobbled-together framework that was meant for a whole different era of humanity. Universal suffrage in its current state is corrosive and inadequate. There really need to be qualifications for voting and the power and influence through access of the legislative and executive should solely rest in those who qualify.

Now, before you get all upset; it should be a qualification that is universally accessible, e.g., spending time rather than money. Everyone has a more equitable amount of time available for themselves. Some poor will find it difficult to find the time to spend, but so will the wealthy who, e.g., have no interest in putting in time spent with the poor in community forums and colloquium, i.e., the more time you spend attending and participating in public discussions across all economic and political spectrum the more access you have to legislators and the executive.

It's fair, its universal, and it's equitable; which is why the wealthy and those who have perverted the current system in their overwhelming favor will vilify and fight dirty to the death to preserve the current con job they have going.
Ctrl-X + E doesn't appear to be doing anything in bash.
Why don't you file a bug about it in bugzilla, our issue tracker, where we actually check, instead of on some forum we MAY check?

https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox

Use "General" for the component, put the Version, Hardware, and OS.
How is this bad?!

On a side note: I really miss styling scrollbars and running marquee text through the website title and status bars
And another good reason to not work in root shells routinely. As damaging as something like this might still be, it will be confined to just one account if you are not running as root.
I usually put a # before anything I paste into a terminal. Mostly because I sometimes get a newline at the end, but it will disarm this behavior too. I'm not sure if it works in all situations though. Edit: Won't work! Use a heredoc (<<paste) or the editor method suggested above instead.
So the answer is to paste it into an editor first?
>Most people use real names on Github, or freely discuss their locality on Reddit...

Maybe most, but not all. It isn't an issue for everyone, but that doesn't mean it isn't an issue at all.

>Seriously, if you can design a honeypot that can convince programmers to log in with SSH, maybe you should just launch a Start-up.

There is a big difference between a site that sparks intellectual curiosity and a site that inspires someone to actually pay money.
It's not that hard. We need a better internet, and a more engaged public.

Those two statements are contradictory. Even if they weren't, "a better internet, and a more engaged public" doesn't automatically mean that people get to hear your message.
So....I am a bit skeptical and would love for some clarity. I have been looking for something like this for my wife, for a while. She takes pictures like they are going out of style.

But...can you explain your economics to me.

How do you make money on users with huge libraries (300GB+)? The reason I want to know, is because I would feel more comfortable knowing that this is sustainable and properly thought out, than just some marketing ploy.

I have seen a few services launch with ridiculously low prices that ultimately prove not to be sustainable. This seems like it could potentially be one of those.

Thoughts?
I was expecting it to be done with Javascript, which is, afaik, how the horrible websites that tack a URL and a "this quote came from blah" attribution, work.

I hate all of this stuff and it is greatly saddening that browser vendors are not protecting us from it. It's like the pop-up-on-click days of old and it must stop.

If I select some text and copy it, I am taking a very explicit action. I am giving the computer a very explicit instruction. There is no room for interpretation. It must not disobey me!
On Chrome 26.0.1410.43 Linux, it's broken as well.
In my production environment, it has the advantage of being installed as part of our default Unix build. Most of our devs use tools like Weblogic, webMethods, Informatica, etc., and a few of us old fogeys are still around supporting Korn shell and perl scripts we wrote a decade ago.

We don't have many bleeding-edge Linux hackers pushing Ruby, Python, Mongo, etc., which in my opinion is a shame.
Human Factors in Complex Systems
This uses only HTML and basic CSS (for positioning). There's absolute no "application-delivery" features being used here.
Here's a different question along the same lines - if those sorts of questions give insight into out how a candidate thinks, then shouldn't the candidate be asking similar questions of the company, in order to figure out how the possible future co-workers think?
The Schemaverse Dev Blog The Schemaverse was hacked
I know exactly what you mean. I banged out emacsformacosx.com in a weekend and wrote a real quick CGI program in Perl just so I didn't have to keep typing "make" or something while I was writing the site (since I was using Template::Toolkit). I fully intended to move it to "something good" once it was done--there's no way CGI can work on a site with more than 10 users, right?

Well, after 3 years it's still plain perl CGI. Every web request, forks, compiles the perl code, compiles the template code, stat()s over 3000 Emacs builds and then renders the page. There is no caching. It's wrong my almost every measure of modern web code design. And yet, it's still fast enough for the amount of traffic it gets.

Oh, and it's still hosted by a computer in my house over my cable modem. Yes, it's a niche-y site, but it turns out that niche-y sites can still do a lot with a little, even on today's web.
The first C example is pretty disingenuous as they explicitly added loop unrolling and prefetching tuned to x86-64 to the Vector library, then compared the basic C versions with with "-funroll-loops" (and no prefetching based on the icc/gcc/clang compiler output I looked at). For some reason they also use "-msse4.2" on a CPU supporting AVX while the Haskell version is generating AVX instructions.

The paper would have been better off with more complex examples (e.g. functions that can't be trivially implemented in asm by hand with no register pressure) and fewer comparisons to implementations that could be doing what they are, but aren't.
There is a way of doing it, it is called "maximum allowed contribution".

That's fine for direct campaign contributions, not so much for 3rd party messaging which is where a lot of the current mess lies.
I thought the point of public keys was to BE public.
Do I still own my pictures once they are uploaded to your server? Does keeping my pictures stored on your server after the privacy policy changes count as 'continued use of the service'?

What Im getting at is if you get bought by Microsoft, where does it say that Microsoft cant take my pictures and use them in their next ad or sell them to someone else?
Awesome. There's nothing I hate more than thieves and there are few things more aggravating than having personal property violated or stolen.

A few years ago I had a bunch of cash and my debit card stolen from a gym bag. I tracked the purchases for the next day and then cancelled the card. I tracked the thief to a gas station nearby where he/she had put close to $100 on it. I asked the gas station owner to review the surveillance tapes, but as luck would have it, they weren't running any surveillance at the time. I filed a police report but was never able to catch the thief.

My only problem with the story is the part about having a friend ready to tackle the thief if he tried to run. This is very risky, not only because you are risking the friend's safety, but also because if the thief gets injured you could be on the losing end of a lawsuit. You have to be very, very careful when it comes to physical aggression. If you try to restrain somebody you had better have a damn good reason or you could be guilty of false imprisonment or false arrest.
I'm not sure that they ever acknowledge it..? Not publicly anyway, they attempt to ignore it.
Call your congressman, go to her office, etc.

But what if I'm trying to advocate to citizens rather than to my congresscritter?
> I'm also not super fond of hardcore gaming... I fear that games like Starcraft and League of Legends help to scare away a broader variety of players.

What makes you think League of Legends is a hardcore game, particularly compared to Starcraft?

I really don't see it scaring people away from video games; it is one of the few RTS/ARTS games that have gone for mass appeal instead of gratuitous complexity. Honestly, I think it rivals even MMOs like WoW in how friendly it is to new players, which is reflected in how many people have moved from WoW to LoL.
I too found my tastes in agreement more with Siskel than Ebert, but I must parrot a line from one of his reviews that I just love. From his review of "The Usual Suspects":

...
Once again, my comprehension began to slip, and finally I wrote down: "To the degree that I do understand, I don't care."
It's Ctrl-X-E (both with Ctrl)
It relies on there being common factors somewhere between any keys in a big set. That should only happen through a very small chance or through random-generation weaknesses. The point is that it's easy to spot it if there are keys with those weaknesses. This CCC talk is related to this: http://events.ccc.de/congress/2012/Fahrplan/events/5275.en.h...

Since ssh keys are user-submitted, we will have diversity and a chance of some subset of keys which weren't generated safely.

EDITED TO ADD:
Bad CCC site, it doesn't link to the FactHacks slides: http://www.hyperelliptic.org/tanja/vortraege/facthacks-29C3....
Meaning the "entire point" is to stifle the ability of folks to advocate for their issues?
Yes it has. Mercury is a perfect example of a purely functional language which is not lazy. I/O is made functional via a uniqueness typing system.
Standard is $25, but if you are a big merchant it could be lower.
For better or worse, where I work all developer candidates are asked for a program to count the number of 1 bits in a 32 bit unsigned integer. Only about 1 in 5 can provide one.
Hmm, I always thought of Idris, Coq and Agda as proof assistants rather than programming languages, but perhaps that's just me being unimaginative.
This is really just an extension of clickjacking - modifying the UI to trick the user into performing an undesired action. This is a pretty novel idea, and considering how many websites make use of this to slap their permalinks into copied text (albeit with flash, usually), I'm surprised this hasn't been thought of before.

It would be an interesting experiment to sneak a harmless command after every snippet on a site like commandlinefu.com.

Edit: Also while playing around, I remembered irssi actually has a defense against this. If you try pasting multiple lines, it can detect this. It presents you with a prompt asking if you really intended to paste >5 lines into the text field. I wonder if something like this could be implemented in a shell?
Therefore, we should preemptively invade Mali/Iraq/etc? Do we have to strike first, and violently manage other countries just to maintain our defenses?

I am not arguing for pacifism. I put the 'need to wage war' into the original moral calculus as a valid consideration, not to dismiss it.
IMO this is the browsers fault.
One expects to copy the selected (visible) text.
But kinda hard to fix ...
Siracusa taking a broad view is new to me! I'm sure he has before but what I like about him is his laser-like focus on some detail that has previously never been noticed by me. And he knows the 17 iterations of the feature that went before and likely place its going.
If Larry really wanted to fight government corruption, he would be campaigning to reverse the centralization of government decision-making power in Washington bureaucrats, returning it to as close as possible to the people who are governed. The people have the most influence over decisions they make for themselves, and less and less as the decision-making power moves to the local community, then to the state, then the elected feds, and by the time you reach the unelected federal bureaucrats, the people have essentially no influence at all. The farther from the people you go, the less individual people get to decide for themselves and the more things are decided by whoever gets the most political favoritism.

Since he shows no interest in moving decision-making power back toward the people themselves, I conclude that he's not unhappy that people (as individuals) don't have enough power over their own lives; he's unhappy that the system he and his Harvard friends have built for the elite to rule The People (as a mass) doesn't yet have as much unrestrained power to do so as they would like.
Ansible 1.1 Released
A relevant article: http://bostonglobe.com/news/nation/2013/04/03/conservative-k...
That's a pretty narrow view. Sometimes I want a site to capture selections or right-click (think: WYSIWYG editor widget). Your beef is with the site owners who put that obnoxious stuff on their site, not with the browser that displays it. There is no limit to the number of ways a site owner can do dumb and annoying things to their readers.
I suspect that the only way to effectively mitigate this is in the terminal application, by displaying a confirmation with the pasted text before accepting any multi-line[1] paste. For example here: https://code.google.com/p/iterm2/issues/detail?id=594

[1] There may be other dangerous characters besides newlines, e.g. escape sequences. I'm not sure if it's possible to make an exhaustive list for something like Bash. Perhaps one has to guard against any paste?
Half-baked is right. If I can't trust my public key to be safely available to the public, I might as well just give up and go home.

There's perhaps a meta-hack here on how to get to HN front page (albeit on a sunday) with a fairly silly "hack" idea.
Yea until they sneak in a \n there. Might not help.
I'm not really sure how "pure" Disciple can be considered to be, and it doesn't use monads does it? Perhaps I'm being ignorant though.

Mu is a great example. I wish there was more information about it publically available.