skysight-inc/HackerNews huggingface dataset:
The last thing the Google+ team needs is to have to think about breaking one of dozens of unofficial extensions every time they tweak their HTML.
"Yes, there are a number of apps that fall into the uncanny valley"

"A number of apps" meaning "every textarea on the web with contenteditable set to true"?

And it isn't "trying and failing to parse Office's output" -- it's more like "taking Office's word for it that the garbage on the clipboard is actually HTML, when it isn't".
Ask HN: Is there other language that allows inline machine code?
The language here(www.vttoth.com/w.htm) can do something like this:

write := 0x8B55, 0x8BEC, 0x085E, 0x4E8B, 0x8B04, 0x0656, 0x00B8,
0xCD40, 0x7321, 0x3102, 0x8BC0, 0x5DE5, 0x90C3

_() :=
{
write(1, "Hello, World!\r\n", 15)
}

Is there other?
Actually, memory access is O(n^1/3) if you want to get really real...
It's worth noting that Mark Zuckerberg has already pledged to donate more than half of his wealth to charity, in addition to +$100 million he has already given away.
erm no its a very speclised form of document - I wish programmers who have no experience of how laws are made and parliamentary procedure would stop making broad assumptions like this.

Any thing using a parliamentry system to draft laws has a lot of fuzy areas and some non obvious gotchas.

I while back i had a whole day being briefed on the new employment laws one of my collegues asked well why did they not draft the wording so its clear exactly when you are allowed to discriminate on age grounds.

The General Counsel who was leading the course gave a wry grin and said well there are lots of lawyers in the House of commons so maybe they wanted to create loads of work for there lawyer friends
[video] Everything You Need to Know About the Apple Antitrust Case
Amazon announces CloudSearch
something to keep in kind is that sometimes, the redis server can't accept connections anymore because of limits etc...but the server is still serving old connections. so in that case, i think you don't want to just failover... the tricky part is to know if the server is really down
My main problem is that spammers hacked the "sender unknown" error message long ago and use it to spam me (they send mails pretending to be me, so the error message gets delivered to me). So I had to filter them all away.

I wish Thunderbird's spam filter would check if I actually sent the message the error message refers to.
You're misunderstanding the problem.

1) You have a contenteditable region (or a rich text editor that otherwise can handle HTML).

2) User copies something from Word. One of the choices on the clipboard claims to be HTML. It isn't. It's pure garbage, understandable only to other Microsoft products.

The rich text editor has two choices: disable pasting HTML altogether (even from within itself, or from another application that actually does put real HTML on the clipboard) or deal with the garbage that comes in from someone pasting from Word.

The fundamental problem here is that Word puts garbage on the clipboard and lies about it, claiming that it's HTML.
Fastest random number generator: Sounds of silence proving a hit
I'm not a native English spreaker, so I'm not really qualified to judge a language that is not mine, but anyways... this is not the English I've learnt. Now, I have nothing against new words or new meanings for old words, but I hate it when previously OK words suddenly get a negative status... It's natural for the (old) English language to use he for people in a general context, just as men can mean the same as people (at least that's how I've been taught). I don't find it very sensible to replace one ambiguity ("he" = he and person) with another ("they" = people or person), but I guess if you like speaking in that way, that's ok. Just don't force me do it, especially since "they" is objectively a worse word (longer, harder to say for foreigners).

In general, I think that people are focusing too much on words (actions matter), and that equallity is ok, but freedom shouldn't suffer because of that. Also, some people take equality too far - I have a penis, and if you have a vagina, we are different, phisically much more than any other human with a penis. There are some things we do different (I'm probably stronger and need to urinate less often. You can give birth and can better feed infants.). We might have different interests, and there's nothing wrong with that. We also get different roles in life; when you give birth, you're phisically damaged and the child needs you, so it's better if I go to work and earn money (if financially necesaary) (at least that's what a gentelman would do).
How is this better than personally donating a % of your earnings after your start up gets acquired? Does donating as a business rather than an individual hold any additional benefits?
If You Guys Were The Inventors of X, You’d Have Invented X
Quick write-up here: http://webdev360.com/amazon-finally-moves-into-search-with-n...

Interesting to note that Pando Daily reported this as a rumour almost three months ago (though they got the announcement date drastically wrong: http://pandodaily.com/2012/01/17/good-news-for-ec2-customers...
You both are part of the problem, where has this meme come from that companies should be heartless bastards? Companies have become poor citizens and it's this kind of thinking that's causing it.
Actual sample of what happens when you copy and paste from Word into an HTML editor: http://contraterrene.com/blog/?p=44
I'm likely speaking from the wrong culture, but the phrasing "You haven't made it until you get sued" on their home page sounds like Geocoder are attempting to spin a bit of a complement for themselves rather than going for the image of a David being bullied by a Goliath.

I hope I'm write in suggesting that such a phrasing may not the best way of getting support.
Apple have patents in this space. So, presumably, he'd have thought it was interesting at least.
Show HN: Very creative portfolio
It's all cash in the end, including equity. That cash could be spent on rewarding staff, reinvesting in the business, angel investing another start-up or on a charity.

I personally think 'giving to charity' is the worst option, my reason being that that charity giving is a moral issue and that morals should be left to individuals rather than businesses.

Your employees may find the business's favoured charity morally repulsive. I certainly would not like the fact that 1% of the effort I was giving went to a charity with whose aims I disagreed.
Printer: an open source kit for exploring internet-of-things printing
Thanks for the feedback.

The filtering of the "target" attribute is down to an overly aggressive attribute whitelist but I've created and story and that's being added now.

Looping issue - it's working for us and we've had no other reports of failure. Can you check the Sharing URLs tab under the account link to ensure that the dashboards in question are enabled for read-only viewing? This is off by default for security & privacy considerations but agree that the UX is currently sub-optimal. If you're still having problems then just ping me a mail: paul at geckoboard.com and I'll look into it.

We're just about to make the push API public for everyone (early next week), in the meantime feel free to shoot me a mail with your account deets and I'll enable it for you.
Yep. Legalese isn't really hard to read, it is just quite verbose.
How Apple iPads are Manufactured At Foxconn Factory in China [video]
Reporter Rob Schmitz is the Bureau Chief of Marketplace in Shanghai. He is the person who discovered a large portion of Mike Daisey’s accounts about Apple’s Foxconn factories from China.
Well, for me it's not so much about readability but about verbosity. There's always so much boilerplate that I don't know where to look.

I wish there were some default TOS templates that everyone used, and their modifications were all in a different color or something. Or maybe if everyone used common building blocks of text that were modular. Kind of like how Creative Commons lets you build a license using different key parts (attribution, non-commercial, etc).
That sounds brilliant, looking forward to seeing how things develop!
Foot Locker Online Coupons
He didn't ridicule the idea of making a tablet. The iPad was actually created before the iPhone, but they shelved the tablet temporarily to focus on the phone market first.
That were not the arguments of Pitman.
Great to hear that a new meetings is on the way. Will do my best to attend.
How Accurate are Alexa, Compete, DoubleClick and Google Trends?
Someone seems a little bitter...
Selling Versus Selling Out
Bagcheck has done this previously - http://bagcheck.com/terms.
I feel it is a lot more readable because the actual legal code isn't in 'fine print'.
Introducing FairCrunch.
FairCrunch is an equal opportunity open platform to showcase the innovation by entrepreneurs around the world.
Before accusing people of being part of the problem, you should perhaps be a little critical of yourself and your own incoherent arguments. No-one has called for companies to be heartless bastards. Nor are companies citizens of any kind. Companies are bureaucratic capitalist structures - they don't have hearts and cannot be citizens.

My reason for disliking companies giving to charities is because it imposes a single or a small number of charities on a group of people. Not all people in that group may agree with that charity's aims.

I also think charity giving is a moral issue, and morality resides within individuals not bureaucratic capitalist structures. Not that I expect you to understand the nuance of this argument. I am just part of "the problem" - whatever that problem might be.
The same thing that gives any person the right to do whatever they want with their money. Contrary to popular belief, companies don't have the obligation to restrict themselves to a particular business nor do profitable things. They can donate the amount they want to the charities they want. If, as a shareholder, you don't like it, vote the board of directors out.

> Also I'd imagine the only reason any major company donates to charity is to strengthen its brand in some way.

Not everybody who bites their nails does so because they are sexually repressed. Not every bourgeois makes organized and self-conscious efforts to push down the workers' revolution. Not all people feign compassion and altruism, but are just jealous of the strong-willed nobles.
There is no sane condition in Redis that will make it not replying at all AFAIK, even if you set maxclients to 1 the next clients will have an error returned (and the connection closed ASAP). But yes, it is important to understand what down means. I think one of the safest things to do is "down == unreachable". So if you don't get any reply at all, for the configured amount of time consecutively, the server is down. And of course the other redis-sentinels have to agree for the fail over to start.
Using video for design PR: 3 things that work well
TSA [Agent Anonymously] Admits $1B Nude Body Scanner Fleet Worthless
Exploring social networks of Wikipedia with GraphInsight 
GraphInsight helped us to focus on connectivity of a small group of Wikipedia users.
Cheap Chanel handbags
We are the largest online retailers of designer Chanel Handbags sale Chanel Handbags and discount Chanel Handbags, designer purses and accessories.
Well that's to be expected, 3D graphics usually uses floating-point vector math.
Your (Virtual) Future Self Wants You To Save Up
Here's Brendan's post on the subject: http://brendaneich.com/2012/04/community-and-diversity/
Bastet – Bastard Tetris
I have a little git project called 'cetis' where I throw cute/dangerous ideas for a next-gen language, and actually the idea of eval/apply as the "Maxwell's equations of software" is in there due to a talk by Gerald Jay Sussman which is transcribed. He says something to this effect: "Look at what these equations say. They say that a changing magnetic field causes a changing electric field, and a changing electric field causes a changing magnetic field. Look at what we have -- eval calls apply, apply calls eval."

So, cool, but why not push this metaphor further? That's the dangerous idea.

The dangerous idea is that Maxwell's equations don't use voltages. We love voltages. They're useful everywhere. In Einstein's special relativity, once you invent voltages (and their magnetic counterpart, the vector potential) all four Maxwell equations stop being separate, they all take the same form. So you tack the charges ρ onto the current j to get the 4-current Jⁿ = (ρ c, j). You tack the voltage V onto the vector potential a to get the 4-potential Aⁿ = (V/c, a). Then the entire set of Maxwell's equations becomes a single wave equation of your voltages emanating from your currents:

∂ᵢ ∂ⁱ Aⁿ = μ₀ Jⁿ

There are four of them, one for every n, but they're all the same form. If you understand one, you understand them all. There are a couple conventions -- these are summed over i, and if you really wanted to know the kinematics you would want to know the fields -- and those are instead:

Fᵤᵥ = ∂ᵤ Aᵥ − ∂ᵥ Aᵤ

The space-to-time components of the field matrix are the electric field, the space-to-other-space components of the F tensor are the magnetic field; the minus sign guarantees that there are no space-to-same-space or time-to-time components; those are all zero.

Now, before this becomes a rant, here is the idea. Is there a way in which apply can look like eval, and eval can look like apply? If Einstein is a lesson, we might have to invent a means of programming where you look directly at invariants which you want to create.

The goal is that you should just specify an inhomogeneity, a little piece of data and some information on how it should be. The computer then constructs the invariants through some sort of "computational wave" -- and from this the computer can derive the actual field, the instructions needed to actually run the process on a computer.

There are some tantalizing suggestions and possibilities. The Meta II compiler (recently extended in JS as the OMeta project, which is definitely on my source-code reading list) works by realizing that a bunch of different stages in compilation are all just the same idea of pattern matching.

Perhaps one day we'll do what we do with photomultiplier tubes: we just visualize the voltages that we'd need to focus and accelerate electrons into the metal plates, and not even pay attention to the lower-level picture of how these fields are being generated to do the right thing.
Agreed.

This (non-binding) pledge is a bit like saying "I don't trust myself enough to make that decision on my own in the future". But of course, your future self will in fact have more knowledge and context to make a better-informed decision.

The property of "nobility", when attached to a business, only makes sense as long as it promotes the brand/PR. An inanimate business has no conscience nor ego to appease. Let business owners donate (natural persons), not businesses.
I suspect this is why I don't "understand" Haskell programmers (I do understand a reasonable amount of Haskell).

To me, it looks like you haven't "done" anything at all. You haven't emulated a single instruction. This part of the emulator in C++ would be a couple of structs and helper functions thrown at the top of the file.

As far as I can see, you've just written a bunch of very complicated code and monads, to get you to place would would have started at in a non-functional language. In that case, what exactly have you gained by using Haskell at all?

P.S. Sorry if this comment comes across as insulting / argumentative. I do not have the time to write it in a more pleasing way.
This is indeed a nice TOS but I've always been impressed by Tarsnap's legal section.

http://www.tarsnap.com/legal.html
Here's the original source:
http://150.203.48.55/index.php
Facebook Like Page Builder
TouchDevelop - write programs on your phone
This is a nice approach and I think a lot of companies will follow suit. I wonder, are there any good links or resources on generating the Terms Of Service or Privacy Policies in the first place? Or is a lawyer always required?
Funny how site called 500px doesn't fit in my 1000+px wide browser :)
> "Office Open XML," which is the standards-based format

uh that's the worst precedent for an "open" file format to ever be published as a standard, and this has been disseminated lots of times already. OOXML is a sham standard.
I would very much like an answer to these questions.

I have been struggling to understand the appeal of all this Haskell-mania (I say this as a long-time Lisp coder) and only come up short for an explanation.
Remind HN : Hacker News Cologne Meetup is on Wednesday, April 25, 2012, 7:00 PM
As usual, we're still looking for people who want to give a short talk, just let me or Vidar know. Don't be afraid to bring your own lightning talks.

What do you want to talk about? Let's discuss it here!

The place-to-be is still Solution Space
Bruesseler Platz 26, Cologne

Meetup group:
http://www.meetup.com/Hacker-News-Cologne/events/59053632/
Federated XMPP seems rather nice alternative if it were extended to support asynchronous communications (eg servers would store messages when clients are offline). Yes, it is XML based and XML is not fashionable these days. But still I think it has potential if it were developed further.

btw Facebook messaging is partly based on XMPP so it's not completely proprietary.
The end of the diva paradox
An introduction to PubSub & jQuery Implementation
Instagram & the pecking order of social behavior
I was looking for something in the announcement that warns people that the flag will be on in the next major release. “Told you so (in specific detail)” is a good argument to oppose to users who didn't fix their doctests.
I think GCC can do this, but it's certainly not part of C.
Microsoft acquisition of Netscape/AOL patents
Security updates are always backported, this is how Linux distros operate.
Why is Apple getting cored in Washington?
Are you at an end of life job?
FTFY "TSA _agent_ admits..."
MSVC can do this as well, as can many other C compilers I think.
Experimenting with Software Transactional Memory on CPython
Scaling Instagram
Just as much a feature. Right click ->paste-as-plain-text is available in chrome, notepad++, Word (don't know if it is available during a right click though) and many many others.
Lifehacking: How to get cheap home equipment using Clojure
> To me, it looks like you haven't "done" anything at all. You haven't emulated a single instruction. This part of the emulator in C++ would be a couple of structs and helper functions thrown at the top of the file.

It seems there's a bit of a misunderstanding. The code in the blogpost consists of incomplete snippets, taken from the actual implementation, found in this repo [1], e.g. the emulator [2]. The reason why I have not included the entire codebase in the blogpost is conciseness; I only wanted to include what's necessary to illustrate the points I wanted to make. I realise this is perhaps a bit unclear and I'll update the post to state this more clearly.

> As far as I can see, you've just written a bunch of very complicated code and monads, to get you to place would would have started at in a non-functional language. In that case, what exactly have you gained by using Haskell at all?

As much as you would gain by implementing a basic skeleton in any language. In this case, what the blogpost focusses on, is that I have written two backends ways, the ST and the IO one.

The advantage of the ST backend is that is guaranteed to be deterministic (which is possible in Haskell): the code cannot perform any side effects visible to the external world.

The IO backend does not offer this guarantee, and needs to be able to communicate with the outside world in order to grab keyboard events and display video.

The advantage of using the monadic abstraction is that the actual emulator implementation is the same (completely shared code) for both these backends. This allows you to e.g., get deterministic results for tests, while still being able to support all features in the actual emulator binary.

The deterministic property is an advantage of using Haskell. I am sure an equivalent of the monadic abstraction could also be implemented using some OOP system.

> P.S. Sorry if this comment comes across as insulting / argumentative. I do not have the time to write it in a more pleasing way.

No insult taken.

[1]: https://github.com/jaspervdj/dcpu16-hs
[2]: https://github.com/jaspervdj/dcpu16-hs/blob/master/src/Emula...
Does this literally kill the Search as service provides like IndexTank, Unbxd etc.? It becomes a really tough market with AWS doing the same (~very similar) service.
I think this makes an interesting counter-point to the numerous articles that claim bad working conditions.

I think really, this just goes to show how we need to remember the situation within China, rather than comparing Foxconn to a 'Western' factory. Yes the hours are long, and the pay is rather poor - but it is certainly one of the best places to work within China.
Has this been challenged yet in a court, when someone reading only the right-hand column decides they feel all lawsuity? Is this sort of 'user-friendly interface' covered by existing case law?

IANAL either, and I wouldn't touch this or anything else that hadn't been vetted by a professional. To me, on first glance, this smells like class-action bait. "Your Honor, the defendants deliberately misled the plaintiffs by placing a 'simple' Terms of Service on their website, but then hid their true intentions in small print which claimed the obvious, prominent version wasn't legally binding." Who needs that hassle?
Internet's New Enemy - CISPA, SOPA's Evil Twin Sister (INFOGRAPHICS)
I love it! Lawyers would hate it.
That's a lot of work to make os.urandom portable across all their platforms.
And if you want an actually good search product there is always SphinxSearch.
It's not too bad these days, though. I'm involved with a Candadian company doing GIS, and finding free layers getting easier.

E.g. http://www.geogratis.ca has a massive amount of freely available data for Canada.

There are some ridiculous bits, though, such as being unable to get the Alberta Township grid, which is a necessity for a lot of property related stuff, without paying.
Anybody tried one of these? the imWatch? http://www.imwatch.it/ie-en/

I'm curious to hear what they are like...

disclaimer: I too succumbed to the Pebble deal on Kickstarter... Moooaaar gadgets!!
Yc's got Canadian competition
no more freebies for sv/nyc