skysight-inc/HackerNews huggingface dataset:
LinkedIn vs. password cracking
Thanks, Philip. I'll send you an email shortly and I've updated my profile.
Yes, that too of course. Though I'd argue that population alone is nothing, as China's 20th Century history demonstrates quite clearly.

It's a country's government and legal system, combined with its human resources (both aptitude and education), that dictate whether its population will be an asset or liability. Hence my focus on their human resources' massive numbers advantage
May I also recommend DejaVu Sans Mono as a great terminal font (I have it at 14pt). Pulled the idea from here: http://jtnimoy.net/workviewer.php?q=178
I recommend a book called "From Bash to Z Shell" (http://www.bash2zsh.com/). It favors zsh, but teaches tons of bash tricks, too.

The files you're describing are just startup files, read by bash as it starts up in various modes. I put my configuration into .zshrc. It will take some effort to understand your new shell's default behaviors and how to customize them.
You can get really cheap refill cartridges on Amazon. I paid maybe 8 bucks for C Y M and x3 B. They're not 'official' but they work just fine, in my case better even than the normal ones.
Several comments in the thread point that out, but he replied: "It seems the cartridges are all full size. So it's really cheaper to buy a new printer."
I'm an emacs user, not vim, but I have some idea. My tmux.conf reads like this:

unbind C-b
set -g prefix `
bind-key ` send-prefix

This removes Ctrl-b as the tmux prefix, sets it to ` (backquote) instead, and makes pressing ` twice insert an actual `.

It really doesn't take very long to get used to typing `` when you mean `.
Nice! Looks great.
I looked up the model number, and two interesting facts are not pointed out (as Sebastian probably did not expect this to appear all over the internet).

The first fact is that HP offers the printer and cartridges at similar prices on their web site. This means the discrepancy is not due to a crazy sale on Amazon. Even according to the HP web site, the price of four replacement cartridges is $822, while the price of the printer (which includes the cartridges) is $699. Though Amazon reports that at some point, the printer may have been sold for up to $885 since it was launched in October, that's still almost identical to the cost of the cartridges.)

Second, also by design, the printer comes with the full cartridges, not starter ones...

http://h10010.www1.hp.com/wwpc/us/en/sm/WF28a/18972-18972-33...
I had a Sears version of this when I was a kid in the 80s. It was a "synsonics terminator", I think. I hacked it to look like this one because I thought it would be awesome if the speaker blasted the strings directly for feedback. It wasn't. The pick shredded the soft doughnut of the speaker after very little playing.

Protip: It looks lame, but you need a steel grille guarding the speaker.
I wonder if in a few years a totally disposable colour laser scanner copier will appear. It's almost at that point now.
DMOZ dieing
Poor[1] Javascript can hamper accessibility. Some people need to get the content in a way they can access. Sometimes those people will need to turn off bits of javascript to allow their assistive tech browser to find the content, or to allow their hardware to find the links for clicking, or to keep the user experience similar to what their used to, or etc etc.

Computers in 2012 are less powerful than a few years ago - many (most?) people will be using tablets or smart phones and thus using ARM processors with low clock speeds. Internet connection is also problematic. People may be using nice fibre-optic broadband with low contention. Or they may be stuck on dial up. Or in a country like Australia with very expensive connections. Or on mobile connections with poor bandwidth and high charges.

[1] I'm not saying this website's javascript is poor.
All the zsh man pages are in `man zshall`. See the section STARTUP/SHUTDOWN FILES to see what is used instead of the files you mentioned.

instead of .bash_profile you want .zprofile and instead of .bashrc you want .zshrc. Put your zsh aliases wherever you want (.zshrc will work fine).

Tmux uses Ctrl-B as its prefix by default, which is a commonly used key in vim. You can choose whatever prefix you want in .tmux.conf, maybe something which doesn't conflict with anything you use in vim, or you can rebind the one key with the conflict in vim's very flexible system. Also, Tmux will let you send through a prefix key literally (like Ctrl-B Ctrl-B).
there's an argument to be made that if one does not have FU money in the bank, then one should work on whatever is most likely to end up with you reaching FU money, whether it's working on an important problem or an unimportant one. then, once you have FU money, and/or are otherwise financially "secure" (as you define it personaly), then, go take the big risks or tackle the harder things.
We keep paying more and more per student for public education. And what do we get in return? Robo-grading and prison-like treatment of students (closed campuses, zero tolerance taken to ridiculous extent). And again we come around to the notion that if only we'd spend more everything would get better, which has worked so well every time it's happened in the past.

The increasing reliance on automated tools and standardized tests is just one of many symptoms of the increasing detachment between teachers and students. We have to stop doubling down on the prussian style educational system, it stopped returning dividends decades ago. More so we have to stop acting as though we can just solve our educational problems by throwing more money at it. We need to empower good teachers and parents, we need to encourage and support students. Right now all of the incentives in the system run counter to those things.
my dotfiles https://github.com/myusuf3/dotfiles
For those who don't tweak their toolchains spending one chunk of time and forgetting about them is obviously better than doing nothing else, but personally I recommend continuously evaluating what you do on the shell (well, obviously this can be generalized, but I won't go there) and tweaking away your pain points and repetitive tasks.

Some specific recommendations --

- Keep a version controlled `dotfiles` folder, link important files to it and share it across dev envs.

- Add shortcuts to modify your vimrc (<leader>v) and apply it (<leader>V) to help you tweak fast and get instant feedback.

- Using an approximation of REPL for any work I do has been the single largest productivity boost I have: minimize keystrokes between (Write Code) <> (Build/Compile/Run/Whatever/Get feedback) <> (Write code). I started using vimux recently (lets you run commands in a split pane without actually leaving the pane with vim installed) and have never been happier.

- While speaking of nice fonts to write code in, http://www.google.com/webfonts/specimen/PT+Mono is a new favourite of mine. Of course, your mileage will vary.

(edit: formatting)
How a childhood chemistry set turned me into a scientist
Project glass: A Future Technology | sciencefeature.com
I've been talking about this a lot recently.

It doesn't surprise me at all that so many beautiful iOS apps are created in XCode, which is certainly the most beautiful IDE I've ever used. With Android, on the other hand, it's hardly a surprise when you look at Eclipse that the apps produced are... uninspired.

It's also echoed by Linus Torvalds when he evangelized the MacBook Air a few months ago. That article led directly to me buying an Air (which had been on my mind anyway) in favor of lugging around the bigger Macbook Pro supplied by my employer. The Air is completely silent, has stunningly beautiful lines, and a screaming fast SSD. I could use a couple more gigs of ram but 4GB is workable and the trade-off is one I'm happy with.

Outside my craft, I have a real passion for high quality tools that are made to last a lifetime. Truly good knives in the kitchen, a good set of enameled cast iron and stainless cookware, beautiful and simple appliances like the Vitamix and Moccamaster. In the bathroom a high quality badger hair shaving brush and a classical safety razor. In the garage high-quality tools that feel good in your hand and won't break when you're using them.

I could go on for another 5 paragraphs. Suffice to say, +2 from me.
My first thought was "okay so it looks like Neal is pretending to be Hiro or something"

...I'm okay with this.
As this poorly-informed outsider understands it, the bulk of writing is kanji, which is sort of equated with literacy, and hiragana is only used to spell out words which don't have kanji or to accommodate children (or maybe foreigners?) who are still learning kanji. I don't know why katakana hasn't been eclipsed by hiragana.

I wonder how much of this is due to the complaints that Japanese was not well served by Unicode's Han unification. I would have liked the article to touch on that.
I was most surprised that his new company isn't called Corporation 9592.
Welllllll... I am NOT pro-rent-control/stabilization/etc, but I will point out that an existing landlord has some monopoly power over his tenant because the cost of a new apartment search and move is high (in terms of finances, effort, time, emotions, new neighborhoods, lost stability, etc). The free market is only efficient if transaction costs are low, among other things.

But then, on the other side of the equation, every place that has rent control also has the risk of foregone future rent increases baked into the price. They'll also have insane leases meant to minimize that risk. If there is an imbalance of power between the tenant and the landlord because of their relative conditions, the government really has very limited power to change that.
I'm sorry, but this is yet another example of what happens when governments stick their paws into the economy. They interrupt the natural forces of a free market and everyone suffers for it. Nothing good ever comes out of their actions. What's worst, the laws they pass never have a sensible termination date or a built-in mechanism for sensible adaptation to changes.

The more fundamental question here is: Why does the government have the right to regulate and interfere with taxi services in this fashion? Imagine if you had to own a "medallion" to do whatever it is you do. And, imagine that the government tightly controlled these. Imagine that you have to lease medallions just to be able to work.

If you are in any tech related field your reaction is probably one of disgust. Virtually none of the innovation we have had over the last several decades would exist today. It would be nearly impossible for truly competitive forces to develop. Nothing would be the same.

Well, that's exactly what your government and, to be fair, the way some of you are voting, is doing to our country.

Do us all a favor: Stop voting as a tribe and start voting as individuals with brains. If we don't devolve out of our current path and evolve into a strong free-market, low taxes, low government, pro-business, low entitlement society you will live to see this country destroy itself from the inside out. Then what?

Use your brains.
Revamp Your Guy’s Style with Men’s Jewelry
Short version: If you get alot of data you get bellends and hockysticks.

Also the reason the rock wins is due to gobal warming as the rock is so hot it now burns the paper :-)

Never bet against schrodinger's cat is all I can say after going thru that PDF briefly.
I too have an in browser db, theres a few similar technologies available. Heres mine https://github.com/kristopolous/db.js and here is someone that takes the performance seriously https://github.com/danstocker/jorder/wiki/Benchmarks ... Have fun! :)
What do you mean by 'tyranny'? Are you referring to taxes?

Since you mention tyranny and a point of no return, I suppose your solution will be to start killing people who you find to be complicit with the government? Watering the tree of liberty, etc. etc.?
This how you should work: The Lunch Pail Manifesto
> And this was a weapon for the yeomanry, not the guys whose entire lives were devoted to maintaining military prowess.

Yes in fact they did spend their whole lives practicing. (From http://en.wikipedia.org/wiki/English_longbow#Training):

"Longbows were very difficult to master because the force required to deliver an arrow through the improving armour of medieval Europe was very high by modern standards ... etons of longbow archers are recognisably deformed, with enlarged left arms and often bone spurs on left wrists, left shoulders and right fingers."

Further:

"It was the difficulty in using the longbow which led various monarchs of England to issue instructions encouraging their ownership and practice, including the Assize of Arms of 1252 and King Edward III's declaration of 1363."

The popularization of the crossbow, in part, was the reduceded need for training. In some areas it also paid better.
currently, if a student writes nonsense, there's a fairly significant chance that they will be caught and penalised. a human can detect nonsense in three minutes.

in contrast, i suspect algorithmic approaches can be gamed more easily because they don't adapt in the same way. they're not solving the hard ai problem; they're grading essays (currently) written for a human reviewer.

for example, what happens if a child learns an existing text by heart and then substitutes appropriate nouns and verbs to suit the context? say they learn "We hold these truths to be self-evident, that all men are created equal" and then, for an essay on their favourite pet, they hand in "We hold these kittens to be furry, that all kittens are created hungry". That's good grammar; it's got suitable references to the subject; it's clearly nonsense.
I recently started www.Polls.io. Haven't made any money yet since there aren't any ads up but the costs are only $5/month so it's not bad.
Well, that's why you should use something like bcrypt and not a fast hashing algorithm. When you intentionally use a slow algorithm, it's much harder and slower to generate these tables.

With no salt or a common salt, you can generate the hashes for every common password once. If you have a long salt for each password, you have to generate the hashes for every common password for every password, which would take years longer to do. If your goal is to hack one individual account, the salt won't help. But to hack accounts in general, it will help.

I'm not an expert, but that's my understanding of it. Anyone please feel free to correct me if I'm wrong.
If anything, I think it's truly sad that, given all the great things Apple has made, their legacy seems to be that closed and proprietary is better. It's the IT equivalent of "greed is good".

iOS would be just as integrated and nice if Apple released it as Open Source. But it would give people more choice, Apple would make make less money from it, and they would then be at a disadvantage compared to other companies that did control their entire ecosystem.

The problem is that closed, proprietary systems tend to create monopolies, and while the initial products may be great, monopolies are seldom good for customers.

The other mistake people make is thinking that closed or open is an either-or proposition.
Apples nice iOS ecosystem wouldn't be destroyed overnight if they had a settings option marked "allow unsigned third party apps". Would that compromise their long term / whole stack vision? No.
Well, one problem is to ensure that the people making the decisions really are more knowledgeable and really can act in a disinterested way, rather than this just becoming an excuse for a full-blown power grab. Democratic power grabs, although very problematic, tend to have time limits.

Another problem is getting your technocracy to be accepted. Installing it only to have it quickly overthrown is another scenario for getting a dictator.
Lighter in what way? I don't necessarily disagree but when I think putty i think:

No tabs and No panes so you're limited to using the OS window manager, and if you want to achieve multiple usable sessions at once you're going to have to arrange and resize these windows yourself or you'll have to use another 3rd party app.

No integrated private key authentication. You have to use like 3 GUI screens (wha?!?!?) to set this up and then you have to run a 3rd party app like pageant.

I had many other gripes before I switched (to a mac in my case) but I can't remember them anymore.
Nuclear thread in Indiana?
It's interesting to note that in GTA IV (not exactly an FPS, though) gameplay appears to be slowed down quite a bit compared to previous games in the series. Probably that's facilitated by more realistic graphics, with many little details to entertain our brain while the character gets out of the car.
"Art" is not even a question - these tests typically apply to high school kids, and you're lucky if bare-bones basic communication is possible there. Most of these kids are straight-up idiots, and I say this having spent several years teaching them.

I'd guess that the algorithm "map number of Microsoft Word reported spelling errors from (0 -> 800) to (20 -> 400)" does a pretty damn good job of guessing students' SAT Writing scores. Add in a factor for essay length, unique word cound, and grammar errors, and you'd probably get pretty damn close to perfect, within a reasonable statistical tolerance.

Children don't produce art, almost all of them produce garbage, right up to the top 1%. Make no mistake, all that standardized tests aim to measure is how stinky the shit that they produce is. I'm fine with missing a bit of brilliance at the top; those students will do just fine anyways. It's ranking the relative crappitude of the middle that's important here, and I think the standard (if crappy) grading procedures do a pretty good job here.
I am pretty sure you will be left with a class of 1 in the end.

You say that like it's a bad thing. In the ideal case, we would have completely personalized education for every student. Most of what prevents it is lack of resources (and then of course you would need teachers smart enough to make it work).
Someone says something radical about tech, it makes big tech news on every blog. Rinse, repeat.
This goes hand-in-hand with the article a while back about having a codebase that is easy to ramp up and use. I don't mean the actual code itself, I mean the project and the build tools. For example, it's absurd that I have to build in 4 different places, in different black-box terminals to get my code to run. Or that the unit tests for the project I was placed on only run in environments that are perfect replicas of production. Or that I'm using source control that was cludgy 8 years ago.
It is worth observing that slavery was not universally practiced or accepted in the US and that ending it involved, among other things, a mind-boggling pile of corpses, the suspension of habeas corpus and the near destruction of the US as a political unit. Moreover, that the great empires maintained de facto slavery in their colonies up into the 60s. So I think there is a serious lack of historical perspective when you are trying to ding the founding fathers very hard for slavery, as if they all intended it, as if this were some kind of inevitable result of putting white people in power.

I like affirmative action, but I don't think it is a viable principle for determining political rights, which should be universal and colorblind rather than being denied or granted based on race or a distaste for homogeneity.

The idea that white people should not have power because of their inherent moral depravity is definitely a racist idea.
Jaded much? Maybe I'm overly optimistic of the quality of students the school system produces? (I never went to high school, I took the GED and scored in the 100th percentile across the board and went directly to college at 16)
I remember getting a new printer and extra ink for less than a refill:

http://ask.slashdot.org/story/09/12/03/211250/what-do-you-do...
Coding for a Better World
"Why does the government have the right to regulate and interfere with taxi services in this fashion." Because taxis couldn't exist without the roadways which is paid for by public funds. A completely unregulated system would mean we end up with a bunch of gypsy cabs could rob riders, overcharge, refuse fares and clog the roads.

Government involvement doesn't necessarily make something a bad idea. In this case the implementation obviously leaves a lot to be desired.
I've often wondered why the Mac dock did not allow items to be temporarily dragged to it, like a multi-item clipboard.
I landed in Zurich, Switzerland last week to discover that my bank had shut off my debit card via fraud protection.

I had $0 in cash on me. It was quite frightening, even in one of the richest cities in world.

Everything worked out in the end, but it was the most I've been stressed out in a while.
Turning your inner geek to social good
I remember a curious remark Biden made in an interview (probably during the 2008 campaign, but I forget). The interviewer asked him what he had learned from his years on the Judiciary Committee. Biden answered that he'd learned that ideology matters, and went on to explain that during his early years he thought it most important to pick the most generally qualified candidate and trust them, but later had realized that was wrong: you needed to pick someone who would reliably vote your way. I've long forgotten everything else about the interview, but that remark stuck in my head. If true, it would explain why he would block Posner.
> When Schiller mentions private APIs, I believe he is not talking about an iPhone private API (which I'm positively sure Rogue Amoeba took great care of not using) but the remote AirPlay API, which they have no right to use without licensing.

A key is not an API. AirPlay is not an API. Full-stop.

Whether Rogue Amoeba was wrong to do this or whether Apple was right to ban them or whether reasonable observers could have predicted the banhammer is not at issue in this thread.

The issue is--Phil Schiller mislead a customer by describing Rogue Amoeba's behavior in a factually inaccurate way. Rogue Amoeba's blog post picks apart these inaccuracies like shooting fish in a barrel. I studied Phil's e-mail and I found exactly one sentence that I thought was accurate.

Sure, Apple can remove this app from the store. They should either just say that, or not respond to the customer at all. Somebody who has made a decision that he/she feels confident about has no need to slant the facts and make misleading statements. Whether or not Apple was right to do this independent of the fact that they were wrong to discredit Rogue Amoeba in an inaccurate way.
Good data.
Start GVim, it acts as a server named GVIM

$ gvim filename

Open another file in the same GVim instance

$ gvim --servername GVIM --remote otherfilename
I think it's even worse than that. Bitcoin is likely to beat out other cryptocurrencies out of simple path dependence.
If students en masse merely ran their shitty essays through spell and grammar check, the quality of even college-level essays would be improved by a huge margin.

For 99% of the high school students I've worked with, their essays would be better if they had to pass Microsoft's spelling and grammar checks before they were submitted. The exceptions were all exceptional enough that they knew that they no longer needed to listen to those automated filters.
The pejorative usage of "brogrammer" is more like "a programmer who displays all the worst characteristics normally associated with high school jocks" -- things like arrogance, misogyny, bullying, and unwarranted aggression.

(Not rendering any judgment on whether you do or don't fit this definition, just making sure everyone is clear on what was being implied above.)
If you go with your assumption (US jurisdiction), it can indeed be fully automatic with the correct tax stamp.

Manufacturing a firearm with a 3D printer would be a federal crime in the USA. That's not why I asked.

I'm more interested in actual costs of the democratization of force for places that don't already have weapons (unlike the USA).