skysight-inc/HackerNews huggingface dataset:
I think that having a separate DSL that abstracts HTML/CSS/JS is not the answer. When you abstract HTML (or SQL or whatever) you find that eventually your abstraction basically has to do everything that the thing you were abstracting needed to do in the first place.

I think the "just use CSS" or "we can boil HTML/CSS/JS down to a subset of reusable chunks" doesn't work. It's simpler to just let these technologies be what they are, and remove the need to care!
> "shut up or we'll threaten to sue you - and just the threat will ruin you for a decade"

That's not what's happening here. Perhaps you could point me to what's been said that makes you think it is what's happening?
Reddit Source Code 24x36 Poster
Always Be Hacking (specially if you are a sysadmin :)
Some book advices to computer science students
You are right, I don't mean "abstract HTML", I just mean to provide a way to generate it from code using the same syntax of your code. This is what I use:

https://github.com/antirez/lamernews/blob/master/app.rb#L138...

For instance to write

<foo>
<bar id="4">content</bar>
</foo>

You write:

H.foo {
H.bar(:id => 4) {"content}
}

So everything you can write in HTML you can write in this DSL, there is no real abstraction, but it is Ruby code like in all the rest of the application.
Done already. Most of the major trackers add random ips to the lists they publish.
The future of video
Immigrants are free to spend their money any way they want (or not at all).

For instance, they could send it abroad.

If they spend it on goods and services in the same economy that they earned it in then they are contributing again.
A better idea is to just cycle the MAC address on your router and get new IPs
Lincoln Square vendor says daily-deal websites cost him
Okay so now here is my problem with this: I can't just find whoever knows HTML/JS/CSS and get them to work on this by sending them a ZIP file with the interfaces in it. They have to install the environment and application and then iterate using this DSL, refreshing the page to see it in the browser.

It is far easier to find a really good designer, who knows HTML/CSS and a bit of JS (probably jQuery) than it is to find a really good designer, who knows HTML/CSS and a bit of JS (probably jQuery) and then is also comfortable configuring a Rails environment and also proficient enough with coding Ruby to learn quickly and without support or input, this custom DSL.

There are already so many people that have the skills you need, why force the issue? Let the technologies be what they are. In my experience, communication between team members is the single highest cost in building software. Unless you're a designer/developer or you're working with a small team on your startup and you happen to have all the skills you need right there in one office and timezone, you'll need to confront the issues of resourcing, iteration and staff changeovers - what I'm advocating is that we play to the prevailing skill separations and reduce the communication overhead.
There is one important difference: the server-side templating engine will probably retain the id attribute in the last case, meaning that the templating information remains usable also on client-side.

We use RDFa for somewhat similar purposes.
It is called 'Ask HN'.
It's clear that Amazon did think about XSS -- in the context of the browser. The debugCmd isn't available there.

It's also clear that tney didn't think about all the other potential interactions with the system. It's not the things you don't know that bite you -- it's the thing you know that isn't so.
But PayPal makes it as inconvenient as possible for non-members. The form is extremely long and if I recall correctly, doesn't work with Safaris Auto-Fill feature.
That's great.

As a summary:

This guy found out that most of the GUI is HTML and Javascript. Some of the JS functions are mapped to OS calls, including one that will run any script as root (nativeBridge.dbgCmd();). This function is disabled in the browser, so it needs to be called from somewhere else.

So he injects the function call into the ID3 tag of an MP3 file and plays the file on the native mp3 player which has a html gui for displaying the id3 tag info :)

Finally he uses this exploit to enable ssh and install a certificate so he can connect to it.
The lift book is worth a quick look if you are interested in templating engines. In short, instead of logic in the view, css selectors are used on the server side to transform small chunks of the website in a statically typed and safe (the dom structure is carried around as xml instead of a string which makes it possible to prevent most of the common security problems on the web) way http://simply.liftweb.net/
> don't use templates, generate HTML from code with a DSL that makes HTML

I agree. This is how I've done it for last few years and have recommended it before on HN.

ref: http://news.ycombinator.com/item?id=1518096 | http://news.ycombinator.com/item?id=705706 | http://news.ycombinator.com/item?id=705800

also: Web Development as Tag Soup - http://news.ycombinator.com/item?id=252185
I remain skeptical, but I'd love to hear about a collaborative project that used this technique succesfully
2010 spike in Greenland ice loss lifted bedrock, GPS reveals
First commercial spacecraft to dock with ISS in February
Widely used public trackers inject random ips as peers to provide plausible deniability against this sort of tracking.
I think he's talking about this https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdb... , where the deletion of /usr was not on purpose... the bug was a space in the middle of a file path in the install script.
Welcome to Schemer
I thought his post was rather insightful for those of us in Austin constantly wondering if the grass is greener on the other side.
According to a podcast I listened to once (can't remember the source but my best guess is Mixergy), the best way to utilize Groupon is to have a plan for customer retention and upselling. Not just attract a bunch of coupon-hunters who just want to get something for dimes on the dollar.

I believe the example they used in the podcast was sky diving. Lots of possibilities for retention ("get a rebate on your next jump if you sign up for membership") and up/cross-selling ("we have t-shirts").
Ryan Braun Biography
Ryan Braun Biography
He Bob Braun was created on Nov 17 1983 in Objective Hillsides CA He is 50 % Judaism His dad Joe was created in Tel Aviv.
Yes I have to put my money where my mouth is. I'm thinking the best way to do this will be to take a relatively simple application and have it built entirely through outsourced labour, then I can publish a more objective (and factual :) assessment of the merits of the method.
I can't remember the exact process I went through for my password protected PDFs, but the majority of them could be worked by converting them to a PS file and then back to PDF. I think I used GhostScript?
So, he's trying to rewrite XSLT. Gotcha.
Pay a friend $100 or get someone to make an UI design for you. If you can't afford that, have a look at the popular android apps, at the apps developed by google and at free/paid themes on the internet. I don't know what's the website for the indian rails system, but if you can get them to officially support you, try to get approval to use their design style. Basically, anything works, just make your app look better :) It matters much more than you might think.

Otherwise, I wish I had this kind of app for
This proposal doesn't change that in any way shape or form. When you as a foreign national are on US soil (legally) you too have those inalienable rights.
I don't think Amazon has that much of a problem with the jailbreaks. I can't see how they would loose any money with it, and who uses them, knows that he can potentially brick the device.
"""In the meantime, I'm left to wonder "Iain Dooley who?" and be glad that I'm confident enough not to read an opinion-as-fact article and assign it significant credibility."""

Yeah. And I wonder "peteforde", who? Should we only listen to what established figures have to say?

The problem with your attitude is that nowhere you access what the author wrote --you just add critique how he told it: highly conjecturable claims presented with no factual evidence, etc.

The important stuff to ask is, was it a good idea?

(Good ideas don't always come with factual evidence you know). What you think of it? What counter-example can you find.

Basically you just told us: the author is unknown, he doesn't formally prove his idea. Well, DUH!

I read tons of posts with such qualities on the inter-tubes.

That doesn't stop me of getting something out of some of them, and a few of those are pure gold.

"""PS: A good first editing step is to ask "does my opinion-as-fact blog post question the capacity and potential of a professional web designer to understand simple concepts like string interpolation, and could they find this insulting?" before assuming that you've got it all figured out."""

Yeah, as if this is the gist of the post, and the litmus test of a technical idea is if it can hurt the feelings of web designers...
tl;dr: Don't play MP3s from untrusted sources until Amazon has a fix. (this is remote code execution, don't let the term "jailbreaking" candy coat it)
We pay taxes, and we spend money in America on American goods. I can only speak for myself, but the money I make doesn't leave the country (other than through huge corporations and their outsourcing :P).

The one thing we do not have though is a way to influence the political landscape of the country as we are not allowed to vote. So ultimately with a green-card there is taxation without representation, which I myself find quite ironic as the United States was founded on the principle that it was wrong to pay taxes and not be represented...
Every time I read or listen to this kind of proposals, I always think that we, as foreign entrepreneurs, can't wait for slow bureaucratic law proposals on immigration and green card.

Unfortunately it is today that we face a big handicap. We need a better immigration law now: seriously, now.

Without a long visa or green card we can't do long-term plans. It's harder to hire people, if we have to leave the day after tomorrow to our country to get/update/renew our visas. We can't take a long leasing for an office or an house. The real problem is that we can't live in a long-term mindset, and this makes an already difficult game (start a company, grow, hire people, create new jobs) harder to play.

We're are here, in a foreign country, hardly trying to make the difference, and start our businesses, realize our ideas, invest a part of our life here, in this country. And we need more help.
I may be too cynical, but I think there are zillions of programmers who do not know what network byte order is, or even what a byte is.

If you work on server-side stuff on the back-end of some web app, you do not really need (for some definition of 'need'h to know either.
Cyber Crime Creates More Victims Per Hour than Babies Born
Esperanto could save 25 billion euros a year
I am a green card holder, and while I wish I could tell you what it took, all I know from the process is that it took my dad from 2000 till 2004 to even be allowed to start the paperwork and then it wasn't until 2005 that we actually received our green cards. So long as you have a company sponsoring you it is not that difficult to get a green card.

It takes time, a lot of it, money and lawyers. Oh, and a complete family medical history, blood draws, and pictures and prints.

As a green card holder I have the same rights as any American (while on American soil, the marines won't come rescue me for example as I am still a Dutch citizen), the only right green card holders do not get is the right to vote. Which I find semi ironic considering that we are still taxed the same, but we don't get to choose our representation... something the United States was founded on.
Dude, I am very interested in this.

When are you launching?
As I see it, Amazon does have an interest in users not jailbreaking or bricking devices. They sell the devices at around cost to sell content. If a user jailbreaks a device, Amazon loses the tight control on where the content comes from, and if a user bricks a device, Amazon sells no content for that device at all.
Is there some way to use this for personal gain? Ie I don't want to become a London cabbie but I do want to improve my brain.
In what way have they tight control over the content? You can load whatever you want over usb or wlan on the device.
Open Dylan 2011.1 released
> .. but I now use an ORM.

"ORM is an anti-pattern": http://seldo.com/weblog/2011/08/11/orm_is_an_antipattern
Language is culture. It is true that each language you learn, almost gives you a new way to be and to speak, but that's actually the beauty of it.

I am not saying Esperanto is bad. In fact I am thinking about learning it, mainly out of curiosity, because let's face it, Esperanto doesn't have nearly enough people to be useful often.

Also, stop trying to universalize things. It's bad enough with the Euro, and now you're trying to implement a single language? I don't think so...
Firefox 8.0.1: Click on the demo app area, everything disappears.
Give me your tired, your poor,
Your huddled masses yearning to breathe free,
The wretched refuse of your teeming shore.
Send these, the homeless, tempest-tost to me,
I lift my lamp beside the golden door.

So long as they can pay more than two years average income?

Anyone up for building a new country?
Think of your HTML as being data along the same lines of JSON, XML or any other data feed. Then tell your designer/front-end person to just create the necessary CSS & Javascript to apply to it.

Thus you remain in full control of the data (HTML) and you've completely separated the design (CSS) & behaviour (JS) logic that gets applied to it.
I recently finished "Zen and The Art of Motorcycle Maintenance" and
this post resolves an issue that the book did not settle for me: What
is the relation between quality and our own doings? The book made an
impressive point why Quality is an essential part in the things you
create and why it is so hard to identify it as something concrete. But
I failed to clearly see what drives a human to create something of
quality and to know when you make something that has Quality. It seems
that Passion is, what enables one to distinguish your own products in
terms of quality and to strive for a higher quality in what you are
doing. To me, this explains why passionate people are rarely satisfied
with what they make.

The post makes a wonderful connection between Quality, which became an
increasingly abstract thing for me, to something very concrete.
Personally I'd never use it because I intensely dislike the syntax of HTML and CSS and avoid it at all costs since discovering HAML/sass.

I find a text editor (vim in my case)/photoshop + haml/sass + live reload to be my most productive workflow, one screen for the text editor, one screen for the browser, when I save the browser reloads the page.

For me there are a lot of things that just work smoother by having the data populated, when I work with designers I just take whatever they give me (sometimes just a PSD) and work with it, if they need static HTML/CSS I just use wget/save as webpage to save the html and assets.
Glad I could entertain :)
It's more like XMS really, cross media scripting
They DON'T spend their money on goods and services supplied by American businesses. https://en.wikipedia.org/wiki/Remittance#Asia
How is Nexmo compared to Tropo?
Reposted, because I first mistakenly posted the url in the "Text" textbox. The old post with already one comment is here: http://news.ycombinator.com/item?id=3339859
WiseToWeb Values
Nice App!
Just wanted to know one thing. How are you retrieving data from Government's site. AFAIK, Indian Railways restricts such data, and this information can't be used commercially without their permission. Right?
I believe I could help you. I live in BA. Drop me a line.
0216.080HXP fast acting littlefuse, 5 x 20 mm ceramic cartridge little fuse
Littelfuse inc provides 0216.080HXP fast acting ceramic cartridge fuses and littelfuse 5 x 20 mm ceramic cartridge fuses. Littlefuse has several types of fuses to choose from including little fuse types. Littlefuse fuses including 0216.080HXP fuse.
Skimmed to the end to see just how much I'd have to read. There, I read

> "PS – This is probably the best post I’ve written to date…maybe not in terms of technique or artistry, but it is the single post that is fueled by an intensity that did not wane at any point."

Nope, sorry. Now I can't read the thing.
As someone who has been going through the green card process for over 3 years now, $100k seems cheap to get rid of all the expense, effort and risk required to do it legitimately under the current system.

Having said that, simply "selling entry" would lead to a lot of rich people moving here and buying up property, driving prices sky-high(er) in coastal cities.

This is the issue right now in London where lots of Arab and Russian oligarch-types taking advantage of non-domicile tax laws drive up the cost of living but don't contribute to the economy in a meaningful way. Before you say "trickle down", sure they spend money on nannies and posh food, but that's trivial compared to the vast fortunes they store and control outside the UK.

Something like an investment or startup visa would help to ensure that people are coming here to be productive members of society. There's the EB-5 ($1m+ and ridiculous amounts of red tape) and the E-2 (Arbitrary amount around $100k, but no route to permanent residence), but both are broken programs.
Node js book shelf
Node js reading reference.
What differentiates them to Twilio and Tropo?
I agree that putting code in templates can lead to spaghetti. But the OP's proposed solution seems suboptimal because loosely coupling the template to the application code via "template animation" will lead to convoluted code with lots of hardcoded IDs on the application side, and brittleness on the template side because there's no way to see which IDs are used by the application.

A less extreme but more practical solution would be to disallow code in templates by making templates accept a data structure, like JSON, and giving them the bare minimum of capabilities to render it. So looping over an array is okay, checking for the existence of a property is okay, but querying the database from the template is impossible by construction. This way you also get language independence because many languages can generate JSON. Also, you can have compile time error detection (for both the template and the application code) if you use some sort of schema for the data structure, like Thrift or Protocol Buffers.
Barry Warsaw: Lessons in porting (python-dbus) to Python 3
http://www.chromium.org/developers/design-documents/sandbox/... is the USP for Chrome.
Yes. The dates of ancient texts from India are often based on legend rather than history. (A similar phenomenon in China turns an actual 3,000 years of Chinese history, with reliably dated written records, into a proverbial "5,000 years of Chinese history," which counts eras of unhistorical legends recorded in later historical sources as though they were really historical.) An accessible, accurate, and honest book about mathematics in India is Mathematics in India by Kim Plofker.

http://www.amazon.com/Mathematics-India-Kim-Plofker/dp/06911...

The highly divergent Amazon reader reviews (I really ought to add my own five-star review, as I have read the whole book), and especially how divergent some of the Amazonian reviews are from the professional reviews of the book, show how controversial some of these issues are. The issue of the history of science and technology in India is tightly interwound with domestic politics in India. The whole notion of "Vedic mathematics" is based on willful misunderstandings of the sources. Plofker in footnote 7 from page 16 of Mathematics in India cites works by scholars in India who have dug into the primary sources, and disagree with the usual claims about "Vedic mathematics."

http://books.google.com/books?id=DHvThPNp9yMC&pg=PA16...
Ask HN: what's a good way to do escrow in a web app?
I'm building a new app that needs to authorize and reserves funds from a user to be collected much later (perhaps a month), similar to Kickstarter.

What is the best way to do this from a web app?
Logic-less templates with Mustache
Push style template is a phrase I've seen used to describe these kind of templating systems: http://news.ycombinator.com/item?id=2238885
good site idea, but the url is very hard to parse (for humans, i mean). i don't know how much that matters to your project, but the repeated doubling of letters 'tt', 'ee', 'ff' is disconcerting. good luck, though!
> ...but at the end of the day there is no excuse for not doing your own math.

You're over simplifying it. Just about every merchant can understand that they are giving up a dollar for a quarter. They get that. What they don't understand, and what the hard sell is, is customer retention. Being sold on repeat customers that will drive revenues in the long term based off of a one-time loss lead (advertising cost).
I Invented … the Apple Logo
Carpet Cleaning in Stanmore
I do enjoy the manner in which you have framed this particular concern plus it does indeed present me personally a lot of fodder for consideration. Nonetheless, because of everything that I have experienced, I basically trust when the actual feed-back pack on that individuals remain on issue and don’t embark upon a soap box regarding the news of the day. Yet, thank you for this superb piece and even though I can not necessarily go along with this in totality, I regard the perspective.
English would save more - as it would require a much smaller education budget and most of the infrastructure is in place already.
> Otherwise we have cases like this, and patent law does nothing but increase costs for everyone by entrenching monopolies in these fields.

This is precisely what patents are designed to do: create monopolies.

But as usual with politics, it is easier to create more laws to try to patch up some of the consequences of a bad policy than to fix the actual policy. (All the laws intended to deal with the fallout from the failed Drug Prohibition are another good example.)

All this reminds me of how amusing it was when Microsoft was being persecuted for antitrust violations when their whole business model was based on copyright, which again is based on government granted monopolies.

But of course when the lives and health of people are involved the farce turns to tragedy.
Hmm - that's true. I spose it's not too late to change... any ideas?
Top Things the Daily Show with Jon Stewart Got Wrong about Tap Fish
Cheaper, more reliable (we tried both the above), delivery receipts, works in almost every country. If you just want the USA, Twilio is acceptable - I think Twilio crushes it at things other than their SMS gateway though.
1) I don't know what this is, the about page is not helpful

2) Why is this using my Google account? I'm 'logged in' according to the top right. I'm sure I didn't opt in - I didn't know the site. I didn't 'log in' anywhere - you're embedding stuff that refers to my real Google account, which isn't cool without saying what this is about.

3) Even if you're showing a Google product here and 2 is moot: If you're in private beta and I can 'add myself to the waiting list' - how am I 'logged in' in that case? That top row doesn't make sense?

Summary: The site is a landing page with a way to enlist for services that aren't spelled out. I don't blame the creators, but the submitter. Seems like 'schemer.com' gained a lot by using a favorable name here (at least I visited the site to read about something a la 'The little Schemer' or related stuff).
First world problems, huh?