skysight-inc/HackerNews huggingface dataset:
You can follow Facebook Connect's example. A few points there..

1. Logins must be done on HTTPS. On the SSL level, the client must authenticate the server's certificate - i.e. the client must check whether the server's certificate is properly signed by a trusted CA, and whether the server peer name matches the name that's being connected to, e.g. api.example.com. This means nobody will be able to intercept the encrypted passwords via man-in-the-middle attacks (e.g. by hijacking a DNS and redirecting traffic to his fake api.example.com server).

With proper server certificate authenticate in place, only the person/company/server with api.example.com's private key will be able to decrypt the HTTPS traffic going into api.example.com. So as long as nobody working for example.com posts the private key on Slashdot or HN, nobody outside of example.com will be able to intercept the login passwords - assuming they don't have other security holes like SQL injection problems.

2. HMAC or HMAC-like scheme based on shared secrets and sequence numbers. If you intend to let clients use your API via HTTP instead of HTTPS after the login step, e.g. for performance reasons - frequent HTTPS handshake can slow your app down a lot when you take network latency into account - you'd need to have a way to authenticate your clients on the clear without using passwords or just simple cookies.

What Facebook's HMAC-like scheme does is that they'll send a shared secret to you on HTTPS, in addition to just the open session key, when you login. Any FB Connect requests would have a session key, a sequence number, and an md5 hash of the whole requests appended to the session secret. Because nobody else knows the the session secret, the only person who can generate the correct md5 hash for that request is you. So even if an attacker can intercept e.g. a Facebook status update from HTTP, he wouldn't be able to change it or post something else to your wall later. The sequence number is there to prevent replay attacks so the attacker wouldn't be able to post the same message again.
Do you test private methods?
Subset types, at least in that form you have shown, do not exist in Common Lisp. That's a very MLish feature, and Perl keeps on surprising me :-)

Do another, more elaborate one when you have time. Would love to learn new things.
Enterepreneurship roundtables
umm, they do that because they do not have refrigerators. and people probably shouldn't be drinking stuff with ice if they are sensitive to waterborne bacterias...
Oh yes, I remember it like it was yesterday.

My dad used to take me to the carnival to see the geeks. I was always horrified and begged him not to, but dear old dad really just loved to see the guy with no arms biting the heads off chickens, or the bearded lady who would put a nail up her nostril.

Later in life, when the geeks I'd seen long ago were in a punk band featured regularly on MTV, I would brag about having seen them when I was a child, though. Sometimes I even invented stories about having been a geek myself. It wasn't a total fabrication - there was a period of time where I was really considering a career in unicycle.

You know what I mean?
stack oriented languages and functional languages are a lot closer to each other conceptually than you'd normally think they are

Yes. In fact, here’s something to think about.

Imagine a dialect of lisp where every function takes a known number of arguments. You could hard-code this per function, for example saying that + always takes exactly 2, or you could do it by keyword args, or you could make every function take a quoted list, or maybe some other ways.

In this lisp dialect, parentheses would be superfluous (except to specify quoted lists).

If you wrote it backwards, it would be a forth.

For example, let’s say * and + take exactly 2 args each.

(* 3 (+ 1 2)) ; lisp
* 3 + 1 2 ; trivial variation if arity is always known
2 1 + 3 * ; valid in almost every forth dialect, RPN calculators, etc.

Likewise, it would be ugly, but we could imagine a shell-like language that used dash-flags for all args such that you never had to make a pipe explicit:

cat --file=foo sort -n head

Instead of:

cat foo | sort -n | head

If you wrote this backwards, it would basically be an ugly forth dialect with keyword args.

Basically, if you don’t use assignment, you can chain things up however you please. If your syntax chains in one direction, you’re arguably writing some kind of bastardized lisp; if it goes the other way, it’s arguably a forth dialect. This is why I capitalize Perl and Python but not forth and lisp ;).
Isn't this why people incorporate in Delaware?

The article doesn't make it clear how Philadelphia asserts jurisdiction over the blogs. Is it blogs hosted on servers inside Philadelphia? Is it blogs hosted on servers administered by someone physically located inside Philadelphia? Is it blogs hosted on servers whose business bank account is in Philadelphia? Is it blogs written by authors who live in Philadelphia? Is it blogs whose Adsense are sent to an address in Philadelphia? And so on.

Personally, I feel like they would have a hard time going after someone who works for a company incorporated outside of Philadelphia. The corporation runs the blog and pays you to write it. The business exists outside of Philadelphia's jurisdiction, and you just do some work on the side for it from Philadelphia.

Interestingly, the literal reading is "every individual ... engaged in an ... activity for profit must file a Business Privilege Tax Return". Sounds like this applies to anyone with income. Sounds like this applies to anyone on unemployment (after all, sitting around trying to keep your unemployment checks coming is techncially profitable).

This sounds like exactly the law that someone making $50 in profit from Google ads can safely ignore.
I live in the Netherlands, we have an abundance of water here.

The point is not the availability of water, it is the availability of fresh water. Most of the time it takes a lot of work to treat water in such a way that it suitable for consumption.
And then there's the waste water processing. You can't just dump your waste water in nature, it has to be processed first, which takes some effort as well.
Predicate dispatch in CLOS:

ftp://publications.ai.mit.edu/ai-publications/2001/AITR-2001-006.pdf
Yes, that's basically the way to do it. If you're doing it on a mobile phone you can even add HMAC (via SHA-1 or SHA-2, MD5 is still ok for that but we all know it's possible to produce MD5 collisions now) on that token when you're talking on HTTP. That way, all messages on the network will be at least authenticated.

The IP checking bit is probably not a good idea. A mobile phone user can be switching between 3G and a public Wifi hotspot as he goes. It can negatively affect user experience.
Gayam 2 Movie Gallery
Gayam 2 Movie Gallery
If it's like the rest of Philadelphia's tax laws, then if you come to the city for even a single day, and engage in any business activity, that business must pay the city's taxes. Of course, if you live there, then you obviously meet their condition no matter where your business is registered.
My thermodynamics is rusty as well, but from experience I can say that using a central heating system where hot water is pumped through feels a lot better and seems a lot more efficient than an electric heater.
LM&F: The Great Delegator (or the great dictator?)
In French it's called "double V".
Well, there goes Sunday. I was supposed to port a bunch of stuff to ABCL tomorrow, but I can't wait to fall asleep tonight and read that paper first thing in the morning. Wish I could fork multiple selves of me to devour all these goodies, Rainer :-)

(mapcar (lambda (task)
(bt:make-thread
(lambda ()
(funcall (car task) (cdr task))))
(loop for me from 1 to *infinity*
and problem in *all-problems*
collecting (list me problem)))
Guess what: unfortunately most websites do. If you share a password with a website that does, then game over.
Actually, I heard the battery life on the EVO was pretty horrid even with 4G off, and the other devices were acceptable, but not great.
I'm curious why you would want multiple connections to the same host in the first place. Why not use a terminal multiplexer?
I've been using 1Password's beta for Windows[1]. Anybody know if it's got any problems like this?

[1] http://agilewebsolutions.com/onepassword/win
"It" being your shell. Some do.
I'm getting way less battery life out of my samsung galaxy than even my iphone 3g before the early software updates to improve battery life.

Must I be doing something wrong? My phone rarely lasts the day. I don't think I'm that heavy a user...
Google trials live updating search results
Thanks for the tip, bro!
Doctor JS - Extract and analyze JavaScript type information
Every morning - "what's the most important thing I'd like to do today?" Sounds obvious, but most people don't do it. Life's gotten much more meaningful since I started implementing this, and I've gotten much more effective.
Ask HN:What would be the best way to sell virtual goods in mobile apps
I'm looking for the best way to sell virtual goods in my next game for Android/iPad. I was reading that Boku bought 2 of their competences, and Paypal has built a Library for mobile devices. What do you think?
The ACC is important to attentiveness. It's almost a lower-level to the frontal lobe, connecting it to the emotional and reward areas of the brain. George Bush et al saw poor ACC activation in ADHD subjects while performing the counting stroop:

http://www.citeulike.org/user/xinian/article/1366138
I'm upvoting this so people can see how bad CNN's "reporting" has become.

The article headline is a question. Is that bad reporting?

They've done no prodding at the Swedish government or anyone involved, so they have no new information.

They link to the Sweden government's site via translated Google, when Sweden has also made the page available directly in English.

The quote a couple random internet blogs of no significance, then they quote Twitter.

There's also the invocation the elusive 'some' ("However, some think the accusations could be legitimate.") and it all comes to a glorious climax when with a quote from SomethingAwful's forums (from the "General Bullshit" section, no less).

Meanwhile, Wikileaks is not seen as a news organization. Something is very wrong here.
Small Investors Flee Stock Market Even as Companies Recover
In the US. In the rest of the world there is garrr and pirating as usual.
Rst2texinfo: Convert reStructuredText to Texinfo
"Why do you think that his main Thesis about events with large impact and low expectation and their effect on our ability to make predictions is incorrect?"

I didn't say that. I said that he's a bad writer, that he argues in flimsy metaphors, and that he tends to make sweeping generalizations based on little more than his own previous metaphors and generalizations. Don't put words in my mouth.

It's axiomatic that low-probability events must occur, given a long enough outlook. What's not axiomatic are the broad, overwrought conclusions that Taleb reaches from this starting place. Reasonable people who grasp the basic tenets of probability theory as well as Taleb can (and do) arrive at drastically different conclusions about US fiscal policy than does Taleb.
lesson learned : don't declare $50
In other words, the email may or may not exist until you observe it? Brilliant, they should market it as the first commercially viable quantum cloud.
What Makes A Great Coach Great?
seriously amazing!

As for flash, if it can do or does anything as gorgeous I haven't yet seen it.

Thanks to Hakim and bigstorm.
Of course one lesson is not to spill water on mine :) Now, seriously this is good to know. Usually when electronics pick some water they die completely, even if after a while they somehow boot, they end up dying again. It is good to know that an iTouch would survive it.
Well aliens are by definition alien; they might look like inanimate resources to us, and we'd just mine them.
Just as a heads up, this article is from 2008, in case you didn't notice. Still very true today though :)
Maslow Pyramid 2.0
Posterous now has a fresh new homepage design, highlights shift from just email
Where's the catch? Energy efficiency? Patents?

Someone please fill me in why this is not-as-great-as-it-seems (or is it?)
I should maybe elaborate. You claim for weeks that you fear being the target of a smear campaign.

How better to protect yourself from one, than to vaccinate the entire public? Find two accolytes to report the alleged rape and molestation on just barely credible terms, and then either have them withdraw them or bring to light certain facts that mean that the charges HAVE to be dropped (factual inconsistencies, for example, or a previous record of crying wolf; etc).

Do this quickly on a saturday morning when newsrooms are too understaffed to do much reporting and will probably not have much time between the issuing of the charges and the withdrawal to actually spread the uncorrected, daaging rumours; just the retraction.

Result? CNN runs a front page headline next to not-negative press about you (charges withdrawn) suggesting to all its viewers that you might well be the target of a smear campaign. Future journalists AND readers will be immunised and healthily sceptical the next time something like this is attempted.

If this was a wikileaks taskforce's test balloon, wouldn't they have done it in a normal newsday?
In other parts of the world I can see monopolists over content like satellite provider BSkyB with their exclusive sports rights fighting Apple very hard

I also think the iOS is some way behind what the latest consoles can offer in game performance, though its certainly not beyond their capabilities to catch up with a bigger box (and fewer developer restrictions...)
Really? With so much of the worlds PCs running Intel hardware Forbes is worried about a virus scanner company?
I tend to use Drafts more for emails that aren't actually completed, and an outbox for emails that are completed but with one last chance for me to look them over before they go out.
AffiliateDotCom
Don't Buy AffiliateDotCom Until You Read This Affiliate Dot Com Review & Affiliate Dot Com Bonus.
Love it, just what my mind needed to learn better :)
> I knew it was big, but a third of the British workforce? That's insane.

The British East India Company is nothing against the Dutch East India company. From WP (http://en.wikipedia.org/wiki/Dutch_East_India_Company)

> was a chartered company established in 1602

> It was the first multinational corporation in the world and the first company to issue stock.[1] It was also arguably the world's first megacorporation, possessing quasi-governmental powers, including the ability to wage war, negotiate treaties, coin money, and establish colonies

> Statistically, the VOC eclipsed all of its rivals in the Asia trade. Between 1602 and 1796 the VOC sent almost a million Europeans to work in the Asia trade on 4,785 ships, and netted for their efforts more than 2.5 million tons of Asian trade goods. By contrast, the rest of Europe combined sent only 882,412 people from 1500 to 1795, and the fleet of the English (later British) East India Company, the VOC’s nearest competitor, was a distant second to its total traffic with 2,690 ships and a mere one-fifth the tonnage of goods carried by the VOC. The VOC enjoyed huge profits from its spice monopoly through most of the 1600s.

> The Dutch East India Company remained an important trading concern for almost two centuries, paying an 18% annual dividend for almost 200 years.
Multiplexing is multiplexing. That is, encoding multiple data streams across one channel. In our case, thats having a singular SSH connection from a to b, but having multiple streams of bidirectional data flowing across that singular connection. https://secure.wikimedia.org/wikipedia/en/wiki/Multiplexing So no, multiplexing is started on the client side, and then it happens on server side too. There has to be a multiplex ( many to 1 ) and demultiplex ( 1 to many ) in order for "multiplexing" to occur.
Possibly the cost of energy to heat the plastic. But at some point that cost is mitigated by the environmental benefit. Many could argue that that point happened some time ago.

The cynic might point to destabilising the oil cartels and the general world economy underpinned by oil.

Funny you bring up patents. It's seems we already live in world fearful of the darn things.

Still, great video, and kudos to the folk who developed it. I really like the fact that the thing is so small and easily portable; killer feature.
The thing that's just so frustrating about this is that this is our culture. Jazz (and its precursors) formed the foundations of pop, of rock, of rap. It's easy to think of culture as abstract concepts like our "freedom" or "ambition", but in the last century we've broadened our culture to be, in part, rooted in commercial entities. It's not bad, it's not good, it just is. The unfortunate effect though, as demonstrated by this find, is that we've permitted that part of our heritage to be legally locked away from us.
Or you can live it now with Roku. You know, that box that came out from a no-name company two years ago for $99.

Netflix instant, Amazon VOD, crapload of other channels. Why wait?
In Switzerland cantons have different tax laws, which have led to competition for businesses and very low taxes. I'm wondering why the same thing is not happening in US.
print version: http://nymag.com/print/?/news/features/52450/
>When I saw these kind of cool animations in Flash years ago, I wanted to play around with it but couldn't see the source.

While technically all JS is open-source / source-visible, just wait: where there's a market, there will be more and more sophisticated obfuscation techniques. Especially for a language like JS, where it can easily generate and modify its own code.
New Google Algorithm Update, This One Worked Better Than That One?
Three Felonies a Day: How the Feds Target the Innocent

http://www.amazon.com/Three-Felonies-Day-Target-Innocent/dp/...
You have to ponder this picture with what people look like at that time. If you take an old picture, almost everybody look completly out of fashion today.
Security through obfuscation... not a very good idea.
Repeating an old comment of mine from Marginal Revolution:

I forgot to mention that excessive regulation also makes it impossible to be sure you have satisfied them, as someone else pointed out in respect to the number of laws on the books, "`Ignorance of the law is no excuse' is a sick joke", because it is literally impossible to be informed of all possible legal/regulationary requirements. Does any one remember the problems Clinton had finding a Federal judge who hadn't accidentally broken the law about withholding taxes for child care workers.

Posted by: billswift at Feb 5, 2007 11:44:38 AM
Incompetence of the highest order.
An interesting idea for a web-based email site. I don't think I've seen one (not that it really makes any sense, but I can see how some people would like it). Closest you have are drafts, which are pretty darned close, but it's not quite the same, no.

I still fall on the "don't send it unless you mean to send it" side, however. My outbox is only used when I don't have internet access.
I wonder if it being small is a problem. Converting some plastic to some oil is pretty nice, but does it scale? I have no idea
Lesson learned: don't be honest.

That sucks though, because many people are honest and to drive them in to dishonesty with such stupid policies is setting up for bigger dishonesty down the line. If you're already a tax fugitive for $50 why stop there?
Generally, when somebody says "Hi", my reaction is "Oh dear, here comes the dumb question" and I cringe.

9/10 Times I'm right.

Generally I tend to /join and then just sit there for a while to discover the norms and protocols of the channel before speaking, unless I have a specific question/problem.

If I have a specific question/problem then "Just ask" is the best approach, but sadly, 9/10 times I end up fixing the problem myself, and get roped in to help solve 10 other peoples problems while I'm there!.

There's a rare occasion when you'll /join a channel and they'll greet you, but thats part of the 'norms and protocols of the channel' thing, and its usually a hallmark of a small channel, because having 500 users who come and go, if every one said 'hi' , or we greeted each and every one, $topic would never get discussed, and we'd be a 24/7 meet-and-greet channel!
I believe that's a classic phishing trick. A really smart phishing site will tell you you got your password wrong a couple of times to harvest your password variants, then on the third attempt redirect you to the real site's login page so you can login there, hopefully unaware that you had ever been phishing.
These aren't works from the 19th century. Some of the performers are still alive, and those who are not their estates are entitled to control over their output.

Why the hell should big outfits like Disney be the only ones with proper protection of their work?

It's obscene that articles like this promote the rape of the hard work done by small independent artists.
The test function would just be a mirror of the function itself, then. What does that accomplish?
I learned that difference while doing some genetic programming. The difference is quite visible when you do it a few million times.
Using a chunk of a bioinformatics pipeline that scans for mutations using longest-common-substring and lines things up between a series of pages from the same source. It's called 'sequence alignment'.

I've used that trick restoring a database when a sysadmin on some site went rogue.

Very effective.

http://en.wikipedia.org/wiki/Sequence_alignment
The article wasn't quite about rape. It was an opinion about existing copyright laws providing a barrier to broader society enjoying these culturally significant finds. No one is trying to get around existing copyright laws here; they're trying to comply with them as much as possible.

The broader aim of the piece, however, is a reevaluation of why we even have this problem in the first place. The Mickey Mouse Effect has stretched copyright into a position far different than what original copyright law set out to do: enable fair profit for a reasonable time, and then once that reasonable time has expired, open it up for the greater public good. Today we have effective perpetual copyright. The system is broken.
Yeah right. 'The holocaust also had a huge role to play in Jews getting their homeland'. What British colonialism did to Indians was nothing less than the holocaust on creating human misery and deaths. But of course, for people sitting on the other side of the planet reading history through the eyes of the plunderers, British colonialism was benevolent towards Indians in many ways. I can't blame you for that. Winners get to write history and sadly Indians are too busy subsisting, to get their history right at least within their borders.
Everyday Diabetic Recipes Cookbook
it's convenient if you want to pipe the output of a command on a remote machine into another command on a local machine

ssh server remotecommand | localcommand
I get four days out of my HTC Wildfire. That's with wireless, gps, and sync always on, 24/7.

I'm syncing email every 10mins, twitter dm's and mentions every 15mins, facebook every hour, weather every 3 hours, plus gmail & google calandar whenever.

I reckon that's pretty good. Admittedly, I don't spend hours on the phone each day.
I know you are pleased your device is working again but, on reflection, do you seriously think this is worth a HN post?
I have one word for the guy: mercenary
Obviously he is using that name for publicity reasons.