skysight-inc/HackerNews huggingface dataset:
I have encountered a similar problem with JS injection. There are HTTP proxy servers that inject JavaScript into HTML and JS documents ... I believe the purpose of the injected snippets is to examine the DOM and/or the JS code to try and squelch malicious behavior.

The problem is that this particular proxy observes the MIME type in the content-type header very strictly when deciding to inject raw JS or JS bounded by HTML "script" and "/script" tags.

I've found that a number of sites return a content-type of "text/html" for pure JS documents ... documents often referred to in HTML documents via "script src=xxx". The appliance then injects the HTML "script" tags into the raw JS document, breaking the legal JS code.

This causes the JS runtime to halt processing for a number of sites. For many, the sites become unusable as event-handlers are either not in place or refer to functions that did not have a chance to solidify. Some don't render correctly.

I built a pair of documents illustrating the problem and showed the proxy vendor the difference in behavior when the JS document had a MIME type of "text/javascript" as opposed to "text/html". They told me that their proxy is behaving correctly and that the sites are broken as they are returning incorrect content-type headers.

Their advice was to contact the offending site when I encountered such a problem and ask them to correct the issue.

I should note that this proxy server does have a programming interface. It is possible to alter the behavior of the proxy via this interface to more intelligently inspect documents with "text/html" to determine if they contain HTML markup. My concern was that while I could fix it for my use of the proxy, other users out in the wild would be subject to the same problem.

I'm not a fan of this trend of script-injection, even under the guise of making computing safe for the end-user. I've begun to wonder if it's time to include self-checks in JavaScript code to ensure that no alteration has occurred in transit.
> In which case there should be some harsh downside for Just Dial like, say, reimbursing Infomedia 18 for lost revenue, plus damages.

That seems entirely reasonable to me; I might even go further and suggest the original plaintiff pay punitive damages. Furthermore, there should be no limitation of liability for Just Dial, apart from the limit of the actual damage they caused.
Maybe India doesn't want to have a startup culture?
So let me see if I follow the definition of append there, using Fexl notation which doesn't use pattern matching (all data items such as lists are just functions applied normally).

Here's the fold function:

\fold = (\func\val\list list val \head\tail func head (fold func val tail))

And here's the traditional definition of append, not using fold:

\append = (\xs\ys xs ys \head\tail cons head (append tail ys))

The article alleges that append can be defined in terms of fold as:

\append = (\xs\ys fold cons ys xs)

So now I'll try to prove the equivalence as follows.

: append xs ys

= fold cons ys xs

= (\func\val\list list val \head\tail func head (fold func val tail)) cons ys xs

= \func=cons \val=ys \list=xs list val \head\tail func head (fold func val tail)

= xs ys \head\tail cons head (fold cons ys tail)

= xs ys \head\tail cons head (append tail ys)

Looks right!
Incorrect, I basically short sell stocks that have been manipulated higher with spam...once the spam campaign ends, there's a high degree of probability that the carcass company will return to its previous useless state...I don't influence prices AT ALL because there simply aren't enough shares to short to go around (hence why I teach others such a successful strategy...it does have limitations which I point out every single day...and those who learn to anticipae my trades do far better than simple copycats)...check out the independent academic study on nearly 300 of my trades:

http://www.cxoadvisory.com/blog/reviews/blog1-26-10/

Bring it, I will make you believer because this is 100% real and I've already turned a few grand into a few million once before when NOBODY was watching

Tim
http://www.timothysykes.com
Ask Jason how many humans are on staff who do editorial.

I bet (with at least 99:1 odds) the number is closer to 0 than it is to 10 when you back out the ~ 100 contractors around the world.

So then what is really human powered about the Mahalo scraper site?

I also bet Jason is surprised at how much I know about his business model. :D
Retarded about the platform. Why not use an island instead?
Clearly Ramakrishinan never very clearly clarified what Yahoo's Sherpa is. But clearly it's so much inferior to what Google has been delivering, GFS/Mapreduce/BigTable, and Spanner ...
"BareMetal is ready... Current plans call for the ability to write data back to the disk."

Curious definition of "ready." :)
I don't just attack Jason. In my bottom comment on this thread I state that I think he is great at public relations...which he is.

Maybe not quite at the Matt Cutts level...but nonetheless way way way up there...like at least in the top 0.01%.
Node.js powers comet for plurk (100k+ users at once)
Right now I'm more interested in just getting started, so whatever would have a smaller learning curve in the beginning. I have had experience with installing custom firmware on home routers (dd-wrt) and that was what initially piqued my interest.
I think this can happen everywhere?

I wonder how to protect against it. Maybe having backup servers in several countries is the only way?
I would recommend getting a Beagleboard[1] or a Hawkboard[2], both low-cost single-board systems with somewhat differing capabilities.

[1] http://beagleboard.org/
[2] http://hawkboard.org/
MK-Configure: Lightweight & easy to use replacement for GNU Autotools.
Someone is paying for Larry Ellison's Gulfstream V. Oracle software and licensing sales last year (including non-DB revenue) were around $20B; MS SQL Server recently crossed the $1B/year revenue line.

Although, to your point, it's rather amazing that so many people do.
Are throw away comments stated on keynote speeches multiple times?

Are throw away comments used as the core marketing and public relations strategies for a new company?

Just because you are hoping that people have short memories does not mean you can change reality.

Lets see what Jason called Youtube
http://calacanis.com/2006/05/11/how-youtube-won-great-seo-st...
"How YouTube Won: Great SEO + Stolen Content (or the biggest hit and run in the history of the Internet)"

And yet when Jason takes your content and wraps it in Mahalo that is somehow legitimate. hmm. double standard, eh?

That is not an area where I taught you anything...it was one you discovered on your own, while analyzing Youtube.

The other thing you mentioned about YouTube was "If YouTube makes $250M from a sale their founders and VCs should give $225M of it back to the content owners like NBC and Loren Michaels who they stole it from!"

And I do hope you hold yourself to your own standards. Though if history is any guide :(
A Life In Data: The 2009 Feltron Annual Report
A startup I worked for in 2006 was ostensibly building embedded systems for their server farm. Granted: We were talking about x86 boxes, but they would boot from 32MB of flash. Hundreds of them, we built. In our case, we were running a custom-packaged version of OpenBSD.

A few suggestions: Play with small, embeddable OSes on commodity hardware: uCLinux or even TinyCore/PuppyLinux, make a tiny BSD derivative to start out with.

Mostly, the startup was using 1U Rackmount servers that booted from USB "thumb" drives, but we also built a few bookPCs for other purposes. Our SMS/TXT Gateway systems were using Soekris Engineering systems. Those are neat (if pricey) x86 "Embedded" systems. And they're very well executed and great for taking the next step into tinkering with Embedded systems. Someone mentioned Beagleboard as well. I haven't ever used one, but some folks in the hackerspace nearby have been tinkering with them a lot, and that also seems like a good way to go, and more cost effective than Soekris stuff.

Pick up some Fonera routers or old wrt54g stuff to play with. Most of these are MIPS or Atheros System-on-chip.

Another one of my favorites is old HP Jornada clamshells. They run WinCE by default on ARMv4x hardware, but you can get a bootloader that you can run from Compact Flash which will load a smallish Linux distro up. http://jlime.com/ - for example.

Once you're more comfortable with using the embedded operating systems, you can figure out how to cross-compile for these platforms. You will rarely write code and compile it directly on the target environment. From there, you've pretty much got it figured out.

As cperciva said, everything from Mr. Coffee and your TV, to your car and modern oscilloscopes are powered by embedded systems. Many of these run proprietary firmware on common microcontrollers, so they don't really have an operating system as such. I'd recommend getting into microcontroller programming next. Or, heck, get into microcontroller programming while messing with some of the easier and higher-level embedded toys. I'd start with the Arduino or Propeller platform. Both are great for learning the ropes.
"1. Google is VERY smart about how people can try to game the system and they WILL NOT RANK pages with low content value--you know this!"

If that was actually true then perhaps you would have more full time in-house editorial staff (instead of canning them all). If that was actually true then perhaps I wouldn't see any of your scraped pages ranking in the search results. If that was actually true then you wouldn't be scraping 3rd party content into almost all your pages.

But its not true...and so we are back at the beginning again.
You may want to be weary of those co-workers of yours. People who think they can get away with anything because they have "connections" are corrupt themselves.

/an Indian.
His dad's blog is, frankly, quite ridiculous. Read it and my eyebrows hurt from all the raising. http://scientific-child-prodigy.blogspot.com/
There's a similar post from a while back: http://www.greenharbor.com/fffolder/carkeet.html (also at http://www.modernhumorist.com/mh/0103/freefall/).
I don't think they addressed the situation in which you attempt to copy or cut files you don't have read/write rights too, what happens then? You should certainly be allowed to select them. IIRC this is an annoyance in MS Windows (up to Vista, I've not used MS Win7) where you don't find if a cut/copy action has failed until you actually paste the files.

If you cut/copy to a "shelf" as in a suggestion in the posted bug report that could solve the above but you are adding an extra cut-paste to all such file operations then.

Just mirroring whatever OSX and Vista/Win7 do is probably the best unless you want to overhaul your whole UI.
Resist the urge to punish everyone for one person's mistake
Can't remember who this quote comes from: "They will never have one thing I have. Enough."
That's really cool. I can't imagine ever having any use for it as software personally but I it's small enough that I just read a large chunk of the code in not too much time. Awesome :)
Hitler responds to the iPad
Watch with captions on :)
Doesn't work unless you have JavaScript enabled.

Fail.
Thanks for the links mru! Both look very interesting; Beagleboard in particular. How helpful are the communities associated with both? It'd be nice to know whether I can ask newbie questions without getting blasted.
The US emb in Lon will hold things for you now. This is new in the past 12 months or so.
I agree 100% with the above. In addition, I find that a blog permits me to document some of my programming beliefs with example code. I can then cite these entries when in discussion with fellow programmers.

It's very easy to show someone an XSLT script that recursively generates primes as an example of why I believe XSL transforms are very close to Functional Programming.
If you know of an easy supply of islands that aren't already claimed by some country, I'm sure they'd love to hear about it.
Head over to http://makezine.com/ for lots of projects to get started. Many are based on the Arduino, which you can pick up for under $30 USD:

http://www.makershed.com/SearchResults.asp?Cat=43

It's probably the easiest and lowest cost way to get your hands dirty.
The presence of Motorola's CEO at the Nexus One launch event suggests that Motorola will have a role in future iterations.
Ask HN: Google Goes Popular?
Lately, I have noticed when I am doing a scientific search on Google,maybe an algorithm, resent research paper etc., I get less scientific sources than I normally would and more what I would consider "popular" sources. Has anyone else noticed this? Let's face it Google is pretty much my lens into the world. I am not near a major university library, so I do not have much choice.

I do not like this "pressure" to fit into Google's popular mold. Does anyone else have a better search engine for meaningful sources. I'm not saying Wikipedia, About, or Ehow are not creditable sources... hmm... yes yes, I am saying that. Any Help? Maybe something that indexes noncommercial sites only...
You can read the book here: http://books.couchdb.org/relax/

I was read the first few chapters as it was being written and thought it was great.
Chromium doesn't ship with the MP4 codec.
Are you using Google Scholar for this research? http://scholar.google.com/
Tim is a good trader, but like most successful business people he understands how to market. His persona, whether constructed or representative of his real self (it doesn't matter), is a great marketing tool that he has been able to leverage into a successful career. All great marketers emphasize their successes and try to forget their failures--does Steve Jobs still talk about the Lisa?

I think what people forget is that what people like Tim sell is information. He's a trader, yes, and a successful one at that. But for some reason people think that simply copying what Tim does will make them a successful trader as well. This is no more true than how many of the tech giants have tried to copy the iPod or iPhone--none of them have been as successful as the original because copying features (read: copying trades) is not the same thing as capturing the soul of the strategy.

Every marketer sells to gullibility. You can judge for yourself the morality of an individual marketer's tactics given the customer they are going after, but why on earth is it wrong to sell information to willing buyers? Wild deception in marketing practices will almost always lead to complete failure, and Tim has been around long enough to, I think, be able to pass that hurdle.
I run a marketplace ( http://doleaf.com ) and this is something we try to get across to our sellers. Some of them have really draconian return policies, and maybe they have good reason. But, to the buyers, all kinds of "NO NO NO NO" all over the page is really a turn off.
This is one of those times where I wish I had a real laptop instead of a netbook. This looks like a lot of fun (I've never taken the time to learn assembly, and I've never written a driver or compiler).

Ahh well.
Tell that to the Marines.
Then again, sometimes, a few lonely rain drops can be the harbinger of a monsoon. It's worth having balance in this as in all things. Don't just shrug things off if it can go from an ignorable nuisance to a major disaster - but don't react emotionally to a perfectly rational problem.
Creating configuration reader for web and cloud environments
This is kind of an aside, but if you get the time sometime, I'd love to see a blog post of how things are going with DoLeaf. I remember the posting about your beta awhile back, and it's good to see how much progress you've made since then.
"but we don't put search results within search results!"

Here are some examples of pages with no original content and many times the content on the top of the page is from search results:

http://www.mahalo.com/moding
http://www.mahalo.com/grammar
http://www.mahalo.com/phonograms
http://www.mahalo.com/porn2girls
http://www.mahalo.com/idahosex
http://www.mahalo.com/guddagudda
http://www.mahalo.com/forumbi
http://www.mahalo.com/guerradechistes
http://www.mahalo.com/rajaleelai
http://www.mahalo.com/chiba
http://www.mahalo.com/matahariku

Pages that have original content, but much less than 300 original words:
http://www.mahalo.com/svu
http://www.mahalo.com/plumpynut

I'm sure I could generate a very large list of pages that fall into either of these categories.

I understand that Aaron might have some personal issues with you, but it doesn't appear that he is making this stuff up.
If I recall correctly, the original title was "Relax with CouchDB". It looks like the relax line is now a sub-sub-title ("Time to Relax").

Anybody know the backstory of the title change? Did O'Reilly push for it?
[Ask HN]How do I learn ruby on rails, if I already know a few other frameworks.
I know Django fairly well, and want to learn Rails. Mostly, it is to know what am I missing in Django, and to port what I learn learning rails to do better Django. How should I start?

You can answer the question so it is general enough that other people may learn, but in case you want too answer something specific to me, here is what I know.
I know a few languages/frameworks fairly well.

Php: Basics

Struts: Well

A few other Oracle specific frameworks: (http://www.oracle.com/technology/products/adf/index.html): Well.

Django: Very well.

[Edit]: I prefer a ebook. It does not need to be free, though.
"...since shown that there has been no corresponding decline in autism cases."

They've also seen no decline in autisim among the unimmunized.

What's your point?
If you are comfortable with C, I would recommend you look at PICs mostly.

The BAISC Stamp series, or the Arduino's are too get started with as well, but they may be too simplistic and the core of the chip is too removed from direct access to really be "fun" if you want to explore true embedded systems (IMO).

The PIC has many variants and has been popular for a long time. So, you can find lots of good references online for interfacing to Ethernet chipsets, GPS chips, gyros, etc.

You would probably want to also pick up a "EE 101" type book. To do anything of purpose with an embedded system you generally end up interfacing to external hardware. So, the likes of pullup and pulldown resistors, transistors, op-amps, diodes, RC (resistor/capacitor) circuits and so on become regular components.
"The next thing you are going to do is contact the resulting host"

Incorrect assumption. DNS pre-fetching. See: https://secure.grepular.com/DNS_Prefetch_Exposure_on_Thunder...
It's from Joseph Heller. http://sivers.org/enough
Infomedia 18 can hardly be called a startup; its parent company is joint-partner in the TV channel "CNBC TV18" plus they own a host of other businesses.
We said the same thing about Madonna in 1984 (except maybe the piano part). Good thing someone has picked up the blueprint and started up again. Pop music was really suffering lately.
The signals workers send by living in a city
"Homeopathy never works any better than a placebo."

Which is still pretty good - provided you have some belief in the placebo.
I wonder if this might have something to do with it:

http://news.ycombinator.com/item?id=1082209
Could build one - shallow water (that might be the hard bit), artificial base then a thick layer of imported rock/soil. :)
Mental illness isn't always something that is persistent and never goes away. Its my understanding that most people experience some form of mental illness at some period in their lives. It is also my understanding that if your mind is in a state to contemplate or commit suicide, you are then currently experiencing mental illness.
Toyota's claim of gas pedal defect called a "red herring"
In the inverted homeopathic world, wouldn't it be even more bold to take 1/100th of a pill?
I've never heard of something like this happening in the US, the Fifth Amendment has a well enforced provision blocking this, "No person shall ... be deprived of life, liberty, or property, without due process of law". Ex parte orders "will necessarily be temporary and interim in nature" (http://en.wikipedia.org/wiki/Ex_parte).

In this sort of case, the plaintiffs would have to show some sort of massive irreparable harm that must be remedied so quickly that the other side cannot be afforded notice and an opportunity to be heard. I can't see how this sort of case would (in the US) rise to that level.

The only possible exception would be massive bad faith from the other side's lawyer(s) ... one real instance of this that I've heard of was where the lawyer on one side was caught burglarizing the business office of the other side. Maybe Infomedia 18's legal team was showing bad faith of some sort, but it doesn't sound like it based on the cited article.
Snow Crash or Diamond Age?
50+ Useful Tips For Web Designers
There's another issue too. It's not just "the iPad is closed, therefore openness is doomed". That would be obviously silly. The problem is that all the powerful forces in our society (barring technology itself) are pushing towards these closed, integrated, proprietary systems. Go look at what ISPs want to do to our internet access! Rather than, as we would expect, having cell phone contracts become more internet-like they want it to be the other way around!
Shallow water would probably fall within another sovereign's nautical territory.
"I am Andrew Ryan, and I'm here to ask you a question. Is a man not entitled to the sweat of his brow? 'No!' says the man in Washington, 'It belongs to the poor.' 'No!' says the man in the Vatican, 'It belongs to God.' 'No!' says the man in Moscow, 'It belongs to everyone.' I rejected those answers; instead, I chose something different. I chose the impossible. I chose... Rapture, a city where the artist would not fear the censor, where the scientist would not be bound by petty morality, Where the great would not be constrained by the small! And with the sweat of your brow, Rapture can become your city as well." -- Bioshock
Read the Rails Guides (http://guides.rubyonrails.org/) and check out the Rails from Scratch series on Peepcode (http://peepcode.com/products/rails-from-scratch-part-i) -- they both got me up to speed pretty quickly.
Very true, and note that the the Nexus One page (http://www.google.com/phone) makes no mention of Android. If you look at the tech specs page you'll see it listed as "Android Mobile Technology Platform", that's some serious vendor-oriented naming.

I think this is a very significant point that is often misunderstood. Android isn't something that competes with the iPhone OS, it's the platform you build that competitor on.

I'm not sure that competitor exists. Not for lack of quality in devices, but for lack of the right approach. Google is saying "write apps for Android" when they need to be saying "write apps for the Nexus One (and the Nexus Two will be the same, but better)".
Weight Loss and Your Health
The agile development with rails book is pretty good to get you started. You might want to have a good Ruby reference handy too. There's a lot to learn! I went from rails to django and had a few hiccups but overall it wasn't bad. I'm interested in how well it goes in the reverse direction.
I tried reading the rails guide, but I would like something which assumes a little more experience on my part, and moves quickly in the deeper parts.
Considering how simple the google.com homepage is, is there really much to support here?

Docs needs a heavy amount of JavaScript to do it's work.
How many people does that wall turn away, who might otherwise have discovered a new passion or talent?

None, is my guess. Anyone who wants to tinker now has internet access, that changes everything.
the other side of this is that you need to craft your services and policies so that you are not attractive to troublemakers. For example, at one time I had a 'first month free' policy. Good god. I think maybe 1 customer in 5 was legitimate, and my 95th percentile got absolutely destroyed (and this was back when I was paying sucker rates for bandwidth.)