skysight-inc/HackerNews huggingface dataset:
Overall it's a good article, but I don't fully understand his complaint about decorators, and I think he may not understand them. @foo and @foo() intentionally mean very different things. I don't see how you could "add a parameter to a previously parameter-less decorator" without drastically changing the meaning of the whole thing.

They may be tricky to wrap your head around, but there's nothing too surprising about decorators.
What does that mean for XORing your data with an equal-sized chunk of truly random data (pulled from, say, http://www.random.org/ )? From an information standpoint, the data is gone because the result is also truly random, and doesn't exist any more except in the combination of the output and the key.
I'm skeptical. I don't see more than a tiny fraction of corporations allowing their employees connection to the corporate network with a personal device. And they're not going to give you something that easy to lose if it's a key to their data. Too many privacy and security headaches.

Then there's the question of computing power. Recent mobiles look powerful, but that's because you're comparing them to older mobiles and not to desktops/laptops. The MIPS you can squeeze into a mobile will always be constrained by heat, and you're just not going to get anything like the same snappy response you would from a dedicated machine.
If there's any chance that was a real question, I'd be curious on an activity over the past 8 months.
Open-Transactions uses BitCoins to allow open digital assets
> I have only a trivial amount of experience experience with Scheme, could you explain how its closures are different from Python's?

In pre Python 3, the closed over value isn't mutable unless it's a reference to a mutable object.

def counter(num):
def foo():
num += 1
return num
return foo

c = counter(5)
c()

This won't work because you can't mutate the closed variable `start`.

This would work in languages with proper closures(Ruby, Perl, Scheme...).

Here is how you do it in Ruby:

def counter(n)
lambda { n += 1 }
end
c = counter(5)
c[] # returns 6
c.call() # Alternate syntax. returns 7
c[] # returns 8

The above python will work in Python 3 if the closed variable is declared `nonlocal`.

def counter(num):
def foo():
nonlocal num
num += 1
return num
return foo

Or you can have workarounds in pre Python3.

def counter(num):
def foo():
foo.num += 1
return foo.num
foo.num = num
return foo
Gender is between your ears. Sex is between your legs.

There's more than two genders -- hijra in Indian culture, for example.
Now I really want to learn ray tracing (and computer graphics in general).
It's a bit dated, but the Python Cookbook does a great job of teaching you practical examples of Python if you already know other languages and want to quickly grok what is "pythonic." It starts with string crunching and hits just about every other general sysadmin use case, covering most of the standard library along the way.
YAY.
Java's closures are a pain as they need inner classes to emulate closures - Python's are a lot easier, hands down.

Java needs the local variables to be final for it to close over them. Python doesn't but you can't directly mutate it. Won't you agree in that sense the statement holds some truth?
To be fair, it was just a pre-recorded message.
People keep saying "prove a negative" when they mean "prove a universal". As if somehow existence statements were more positive than universal statements...
FubuMVC: Authorization (.NET MVC Framework)
This is a testament to how damned expensive it is to get into space. There is no subverting the laws of physics.
> I think he may not understand them.

I won't think so. He codes a lot, in general, and in Python. I have read some of his posts and code, and he has a deep understanding of Python and programming in general.

His complain was about @foo and @foo() requires different decorator implementations. If @foo by default meant @foo(), that makes introducing parameters at a later time a bit more straightforward.

I am not arguing about it being a valid expectation. I am just explaining what I think he meant.
PDF to flip book converter, convert PDF to flip book with Flip Book Maker
PDF to Flip Book converter helps convert PDF to flash flip book. It’s amazing to make PDF to flip book for yourself.
Bugzilla has the ability to block a user from using his or her account. that's what "banning" is in this context. That block can be lifted at any time. I regularly disable accounts for abuse, have a long conversation with that person and end up re-instating their account because they've come to understand that what they were doing was counter-productive and agreed not to do it more.
I fell into that trap while still on salary, and it still haunts me three years into full-time consulting, and severely sabotaging attempts to transition to being a product company. Don't make the same mistake. +1
> then I realized that Ruby isn't quite like them either.

I am curious. How does Ruby's closure differ from Scheme's?
>"not the way we should be letting ourselves get into space."

It would be interesting to see some rationale for this position besides the implied jingoism.
The 'print_and_assign_a' case comes up more often with a in an enclosing local scope, so you couldn't really get it to work prior to the introduction of 'nonlocal' in Python 3. The best you could do was something silly like

a = [5]
def print_and_assign_a():
print(a[0])
a[0]=2

It's cool that the second case works in other implementations. I hadn't thought to test that.
IANAL, but the 5th circuit appeals court has ruled that the 5th amendment means that a person cannot be forced to give up the combination to a lock. It is informational, and it is testimony.

Any discussion of a physical key is without merit. A physical key, is not the same as a "encryption key". For the purpose of law, an "encryption key" is the same as a combination to a safe.

There's actually a ton of precedents on this. Google 5th amendment and combination lock.

The reason it is testimony is because if you provide a password and it works then you've just proven that the contents are yours: you have incriminated yourself. If the prosecution can prove that the contents are yours without the password, then at that point you can be forced to give up the password.

Takeway: your encrypted drive had better have a different password than your login, and you'd better be able to deny that it is yours.

EFF will win.
I dunno if I'd say that's an issue of Python not having proper closures, or just that before you could say 'nonlocal' there was no way to refer to the outer scope, since the only scopes you could refer to were 'local' and 'global'.
Yeah, that's a classic. Always reminds me of the Sugar Barons of Hawaii importing Asian mongooses to handle their rat problem; sadly, the rats are nocturnal, and the mongooses are diurnal. Also tasty are groundnesting birds. Oops.
If you read http://caselaw.lp.findlaw.com/data/constitution/amendment05/... you'll find that there are more compelling lines of reasoning than the one you give.

In particular note the precedent from Hoffman v. United States, which you can find in context at http://caselaw.lp.findlaw.com/scripts/getcase.pl?navby=case&..., which says The privilege afforded not only extends to answers that would in themselves support a conviction under a federal criminal statute but likewise embraces those which would furnish a link in the chain of evidence needed to prosecute the claimant for a federal crime.

Providing the password obviously could furnish a link in the chain of evidence needed to prosecute the claimant for a federal crime. Therefore it is protected.
Yes, 'nonlocal' definitely closed a hole in the language.
Another interesting combination would be:

https://github.com/justincormack/ljsyscall

this would work with LuaJIT: http://luajit.org/

The FFI in LuaJIT is kind of brilliant. Check yourself.

EDIT: with FFI in LuaJIT you can jump very comfortably between the high-level Lua code and low-level native calls. It's almost addictive. And the code is running X times faster than the Lua baseline (X between single-digit and triple-digit values).
This is a silly question. As I understand it, the info-graphic was meant to summarize results of the the event. Quit trolling.
http://en.wikipedia.org/wiki/Space_burial

Note that some of them only have sub-orbital "burials" and end up back home.

Personally I'd be cool with being buried on the moon. Preferably in a giant monolith. Perhaps through http://www.ironicsans.com/2011/01/idea_crowdfund_a_mission_t...
Detailed. But wrong. Although courts and DAs have tried to argue that a password is like a physical key, or tried to give you immunity for speaking the key, higher courts (e.g. the 5th circuit of appeals) regard giving the password as testimony - and therefor protected by the 5th.

Although passwords are new, combination locks are not. There is a lot of case law on this.

http://www.google.com/search?q=5th+amendment+combination+pas...

"In distinguishing testimonial from non-testimonial acts, the Supreme Court has compared revealing the combination to a wall safe to surrendering the key to a strongbox. The combination conveys the contents of one's mind; the key does not and is therefore not testimonial. A password, like a combination, is in the suspect's mind, and is therefore testimonial and beyond the reach of the grand jury subpoena. "

Edit: Why it matters in this case: FTA "the government seized an encrypted laptop from the home she shares with her family"

The government cannot prove that the laptop is hers. If she provides a password, and it works she has proven that the laptop is hers, and further that the contents are under her control. Therefor the act of provided the password would be testimony.
I'm sure that there are tons, but do you honestly think if someone had a million (or billion) dollar idea that they would just give it to you?
Ha! Me saying "That's not my point" hurt your little ego, huh? Awwww...
On the contrary. If the safe requires a combination, the higher courts have held that the 5th protects you from giving it up.
I've made LuaJIT FFI bindings to some "C" precompiled libraries for these platforms: OSX, iOS, Windows, Linux (x86+arm)

There libraries are: GLFW, SDL, ZeroMQ, AntTweakBar, and planning on few more. There is also OpenCL and OpenGL and glu.

Please visit: http://github.com/malkia/ufo

You should not need to recompile, as I've packaged the binaries.
Dumb responder.
Which NLP framework do you use?
Just wondering what NLP framework people are using out there? I would like to extract Category/Sub-Categories and Topic information from unstructured text.

Thanks,
I suggest you shutup.
I agree with two things:

1) Bringing touch based user interfaces/behaviors to the desktop is not going to work when the keyboard and mouse are the means of operating them. For desktops I don't see the mouse and keyboard going away since I would not wish to spend as much time as I do in front of a computer with my arms extended out the whole time (or at all actually). The only reason why I'd see doing this would be in hopes of having one OS run on different types of devices and therefore having the need to support multiple modes (IE: the win8 reason).

2) Limiting your calendar/contact apps to look like the physical objects they're meant to replace is an incredibly bad idea. The whole point of going digital was to remove constraints and make performing tasks easier through the freedom of not being stuck within the confines of paper. Where's the advantage now? More intuitive apps? Were the majority of users not able to figure out how to use the old calendar app? Why do I feel like more people just wont use it now because it will be too tedious to perform tasks they became used to with the previous versions?

Not to mention this makes it look like it was intended for elementary school students. OS X had the advantage of having a very clean and professional look to it that I am sure won it a lot of customers before. I mean I get ill looking at ANY Windows text editor (since they all seem to come with like 50 icons spread out over 5-10 different toolbars), but if the alternative is an app that has a giant crayon for a cursor -- because that's so intuitive -- I'll still stick with Windows.
On NPR this morning I heard that the total number who have ever been in space is about 550. That was a lot more than I thought it was.
I made my own site, suggest changes
The $.50 savings probably refers to eliminating an extra clock generator on the CGA.

As for the difference between a TV and a proper monitor, if indeed they were both simple NTSC displays with no fancy connectors or scan rates, I suspect the increased cost was a combination of better frequency response and/or phosphor resolution (i.e. sharper picture), lower demand, and brand image.
America’s Got Talent Season 6 Episode 12: Episode 12
of America, at last, the highest 4s acts are getting to be finally revealed at the world Hollywood resort and Casino in Las Vegas within the upcoming episode of America’s Got Talent Season 6. From thousands who have audition since last could thirty first, solely forty eight distinct skills are going to be seen another time for the particular competition. you will watch America’s Got Talent Season six Episode twelve: Episode 12 on-line on July 6, 2011 when it airs on its broadcast schedule on July 6, 2011. In here you'll see who created it to the primary spherical of the important battle for the highest spot of the truth talent search America’s Got Talent.
I think they found a fair balance between informative and appealing. I mean, if every single one of those textures stayed on there the whole time I don't think it would have looked anywhere near as nice.
I've been talking for some time about starting a company to stock old snack vending machenes in data centers; but stock them with things like cisco cons cables, ethernet cables, cage nuts, and the other sorts of things you might have forgotten when you get to the data center at 4am.

My initial thought is to use old snack machines and only sell things that can be sold for a fiver or so. It'd be nice to sell hard drives, too? but if I'm going to have $100+ product, I'm going to have to be much more certain that the machine will actually dispense product.
Why is horseshoes being downvoted? He's exactly right, there are about 6.79 billion[1] people in space[2] right now. There are 10 in outer space, but the domain isn't howmanypeopleareinouterspacerightnow.com

[1] http://www.wolframalpha.com/input/?i=population+of+earth

[2] https://secure.wikimedia.org/wikipedia/en/wiki/Space
If you had an uncrackable safe could they compel you to open it though?
Why shuttle Atlantis will not be left attached to the ISS
http://a1k0n.net/2006/09/15/obfuscated-c-donut.html

Jesus Christ. I love you, dude. Your site must have the highest awesomeness-per-bit ratio on the Internet :)
I understand the desire for action, but we need to invent another task besides exploration to engage in. I.e. resource exploitation. Purely observational exploration of outer space is a task for which we are extremely maladapted (vacuum, long distances, etc.) that robots will probably always be better at.
Nobody Knows My Password; Not Even Me
Two Years of Pinboard
> surely a harder working software engineer will make more money than a lazy one

"Whenever there is a hard job to be done I assign it to a lazy man; he is sure to find an easy way of doing it"
Walter Chrysler

I always thought that it was the lazy programmers and engineers who got more done because they always sought out the quickest/easiest ways to complete a task. Ergo it's the lazy ones who are the most productive and therefore valuable?

(Or have I just been beguiled by an old wife's tale?)
"Nothing is more fatal to the progress of the human mind than to presume that our views of science are ultimate, that our triumphs are complete, that there are no mysteries in nature, and that there are no new worlds to conquer."

Just don't say this in the context of climate science ...

(just a sad thought)
A family friend of mine is Mark Madsen. After 9 NBA seasons (with 2 championships) and an average of 11 minutes per game, he entered Stanford's MBA program. That's a pretty smart way to play. Even if he wasn't a star, he's doing well for himself, with the future all the more promising.
See, I didn't get that. Nothing in that article made me think getting a watch would be a good for me.
Yes, sorry, the wording was somewhat ambiguous. We use post-commit-hooks in riak to update external datastores, as well as callbacks within our ORM for many indexes stored in Riak itself.
Unusual Weight Loss Tips that work like crazy
Autism and Agile Software Development
If you're looking for some "seed" ideas or "food for thought" you might check this list out:

http://ycombinator.com/ideas.html
Get familiar with the Boston Boogie
I'd be interested in knowing as well.
MTV Coke Studio India, Coke Studio Musical Reality Show on MTV India
Coca-Cola, in partnership with MTV, recently launched the India edition of its internationally renowned music property – Coke Studio. MTV India has announced What's-on-India as its exclusive preview partner for Coke Studio@MTV. MTV Coke Studio is scheduled to air every Friday at 7 PM in India. Coke Studio India is the Indian version of the popular Pakistani Show. Coke Studio is the best combination of traditional music, modern Western and folk music. Recordings and live musical performances offers a platform for musical fusion. More than 45 singers of different languages and styles like folk, classic and qawali sing in this season. Enjoy the best combination of musical fusion through Coke Studio on MTV India.
That's not true at all. Government loans are not traditional interest-only home loans, and they certainly don't have a fixed interest rate. It's much, much worse than that.

The entitlements side (sorry, but it's definitely that side), first saw lending as a way to get their votes without the corresponding loss of spending power, where the problem of repayment was delayed until after an election.

Then the entitlement side (the taxbreaks side actually tried to repay these debts) screamed that "it's not fair we have to pay it back, someone else made the loan !". And this argument was more-or-less accepted. So the principle was started to take out new debt to repay obligations of the old debt.

Is this associated to a particular party ? Perhaps, but it doesn't really matter since all of this happened before WWII. Few of the politicians that first created this disaster are even alive anymore, and I believe none are still in office. You really want to know more ? Yes, it was the democrats.

So government loans have the worst of all possible loans as a result : they're interest-only loans with two extra very bad properties
1) the bank can foreclose whenever it wants (by not extending a new loan at all)
2) there is a variable rate interest, which can raise ver fast (and lower, in which case the windfall is immediately spent by the entitlements side).

But the problem is not particularly bad in America you know. At least, not compared to Europe. America can take something around an interest rate of around 5%, and even the worst predictions do not involve a default before 2020 or so. Europe cannot possibly hope to survive with loan interests exceeding 3% and might default this very year. Most muslim countries are much worse off than Europe, and have the big issue that sometimes 80% of their population is dependant on state support for food and water (as in, they wouldn't be able to remain alive without government opening out new debt) (in Gaza/West Bank this is 100%, but that's an exception).

So don't worry : yes the US is screwed. However the only thing that really matters is who is screwed first, and that's not us. Even Europe might escape if the middle east implodes first.
We are busy working on an iphone app in 3 weeks and then an android app in a month. Its the most requested feature so your wife is absolutely right that some people may not want to walk to a comp to enter this stuff. The plan is to then integrate with a company like "red laser" so you can just scan the stuff into your inventory. That would be cool!
Do-it-Yourself DNA extraction
Thanks. :) I'm most proud of my IOCCC 2006 winner (the IOCCC organizers announced the winners, but not the actual entries, then disappeared from the planet):
http://a1k0n.net/2006/09/20/obfuscated-c-donut-2.html
Removing Google Black Top Bar
Absolutely! There is even a PeopleSoft module called HCM: Human Capital Management.
Sub $3 adopters represent wut-wut.

Srsly though, thanks maciej and team, love pinboard and use it e'erday. It's pretty much second nature to highlight, right-click, 'Post Page to Pinboard', fill some pithy tags, and feel instant dopamine flood of peace for some reason. Great when I have that one site on the tip of my cerebellum that I can just grep through pinboard for. Way to go on the 2 years and coming years of success.
Google also use singleton, it really depends on the context and how it's used.

e.g. http://code.google.com/mobile/analytics/docs/iphone/
Last chance for the Americans to bring down any secret stuff that was on the station?
Print screen, upload to Google Docs, convert to text.

Works wonders for long passages.
I am just one data point, but I used to be a hardcore console guy and now mostly play games on my phone + ipad. There are more interesting things happening via touch and/or mobile than what I am finding in console games.

My home theater system is my ideal gaming setting, but being able to play virtually anywhere has a lot of appeal too.

I can look into actual figures, but I haven't spent more than $20 in the last 5 months on console games and have bought 20-30 ipod/iphone games in the same period, some over $15 themselves.
bet·ter -- adj. Comparative of good. -- Greater in excellence or higher in quality.

Please excuse the smart ass answer, but it's the best I had :P

I want to feel like I know what I'm doing, because half of the time I feel like I am just wandering around aimlessly like a chicken with its head cut off.

I want to be able to take an idea and turn it into a product that people would be willing to pay for.

I suppose I want to be a bit of a Jack of All Trades.
But who else has the reach? I consider Facebook and Google to be advertising companies, and would rather have a dedicated financial services company focus on my transactions. Perhaps Square, as it grows? Or will a decentralized solution like Bitcoin win at the end of the day?
Offer electrician mosman
> Of course, there are still things that I need to remember my passwords for. For example, anything I connect to via a terminal I have to be able to remember the password for because you can't paste to a terminal (at least not that I know of, if you can then someone please tell me!)

I'm not sure what OS you use, but many terminal programs on Linux (and at least one on Windows) allow you to paste by right-clicking or middle-clicking. Or by pressing ctrl-shift-v, but I find that slightly awkward.
Thanks!

We did bring out an ad in Nature a few months ago but the response was underwhelming. The thing with marketing for a startup, we have painfully discovered, is to try non-traditional approaches. Basically something that the other big companies with tons of money are not doing because they are either afraid of looking silly or would think that it would not work... Doing the expected thing doesn't work because it gets priced up to the point that it does not make financial sense.

For example, at a recent conference we had a very simple booth. Other large established companies had these giant booths that needed cranes with espresso machines and what not. The only thing we did was put out a scrabble board and gave out a Quartzy t-shirt every hour or so to the one with the largest score in that hour. We had a line of people waiting to play the game. So silly stuff like scrabble leader-board got people's attention.

btw, scrabble because Quartzy is the highest scoring opening word in Scrabble!