skysight-inc/HackerNews huggingface dataset:
His example of how things should work is pretty much 1:1 how the webhelpers.html library works in python:

>>> from webhelpers.html import literal
>>> p1, p2 = literal("<p>"), literal("</p>")
>>> foo = "foo&<bar>"
>>> type(p1)
<class 'webhelpers.html.builder.literal'>
>>> type(foo)
<type 'str'>
>>> p1 + foo + p2
literal(u'<p>foo&amp;&lt;bar&gt;</p>')

And yes, having this sort of thing implemented at the language level, in a generic way that can apply to HTML, SQL, and anything else would be wonderful.

While we're asking for ponies, I'd also like it if "costOfPieInDollars = distanceInMiles + angleInDegrees" would be an error (unless each part was explicitly cast to a compatible type, eg the base int)...
Yeah, it very much is a tough row to hoe on either side - and btw, even just adapting to the OOTB package will still cost you a ton of money, and often in ways you didn't expect:

I was loosely associated a few years back with a manufacturing company migrating from their 20 year-old mainframe-based ERP solution to Oracle's ERP. They really had the worst of both worlds, because not only did they have 20 year-old business processes that no one wanted to change, but the whole interface for Oracle was so radically different from the "green screen" 3270 interface of the current system that you couldn't even make Oracle look anything like that. It was doomed to be a complete mess.

But to the point I'd originally planned to make, they tested the system in limited release, and then went live with it for one particular function, which was generating and printing order cards or something like that. What no one had thought of, and didn't occur in testing because it wasn't a real workload was that the old system sent raw text to the printers at the various factory sites, while Oracle (iirc) was generating postscript, complete with logos and formatting, and sending that to the printers at the factories....which it turns out were connected over 128kb/sec links that were promptly swamped by the size of the files.

So the whole project had to be put on hold until all of the links between HQ and the factories could be upgraded, which took months, and the feedback from the userbase was, "What a piece of shit Oracle is, our 20 year old system can print to the factories, why is it so hard for them to do that?!?!"

EDIT: looked back in my notes, 128kb/sec lines, not 512
Heat dissipation is a limiting factor and larger chips require higher voltages. Which would require a even lower clock rate.
My first thought was that this looks dangerous.

Won't it distract the driver? The concept image shows a large blob straight in the middle of the "screen" that would certainly obstruct proper road view.
He wasn't. He was acting the part of a self-entitle, self-centered know-it-all. Hell, if he held himself to his own standards, he'd have called himself out for being a hypocritical liar.
CloudSigma Named Cool Vendor by Gartner
Selected for its flexible, utility-based compute resources and data-centric public cloud approach CloudSigma has been named a Cool Vendor in European Cloud Computing Market by Gartner! Find out more...
Tesla sales beating Mercedes, BMW and Audi
"Because of this it's worth thinking of things you do on the Internet as public and irrevocable."

It is prudent to assume that collected data is immutable and not time stamped. Not time stamping data creates value.

My niece has visited my house. Saturday junk mail arrived addressed to my niece "or current resident". A local business paid for that unique lead and for the cost of a stamp. I knew it was junk from afar.

The company selling my niece as a datapoint can probably point to a plausible chain of reasoning showing that my niece once, however briefly, dwelled here. Social networks, smartphone apps, etc. all indicate it.

Twitter's utility for users is a by-product of its purpose. Its purpose is to hit the sweet spot between activity and ruthless monetization. [edit] example: If jgc once clicked on a tweeted link to an article from Time Magazine, then it is plausibly legitemate to say he "followed on Twitter".
Well done. Will use from time to time. Thanks.
IMO if you are in charge of handling users in a community you shouldn't be taking down people due to ifference of opinion of even people you just don't like... If it is your own personal project, sure, but otherwise it should take something more then a few heated words (which personally I didn't find heated at all..) to be banned from something. Reading the post I felt that the admin was acting more childish.
> What is the difference between a pharmacologically mediated 'psychological' addiction and a pharmacologically mediated 'physical' addiction? It is all physical.

That's basically nonsense. A heavy weed smoker can stop smoking immediately, and while he will certainly be in anguish, bored and anxious and miserable without it, there remains no true physical component to his 'withdrawal', if that term could even be credibly used in the context of marijuana.

The heavy opiate user has developed a full-blown physical dependence on the drug, and their body will go into excruciating revolt upon it's sudden absence. Most ex-addicts spend years tapering off on suboxone, methadone, etc for a reason.

The point is, hard drug dependence vs soft drug 'addiction' is utterly apples and oranges, comparing them is meaningless. I am not sure why people insist on blurring the lines between these two very different conditions. Like it or not, Bagdar has far more in common with the guy upthread who was talking about cold sweats from ceasing his overeating, than he does a Subutex fiend in Georgia.
Felipe is obviously an aggressive dude. However, the only difference between him and whoever banned him and all those that refuse to even read his defence is the access to ban mechanisms.

All through the discussion, no participant managed to steer the discussion onto productive grounds. Heated arguments are important to produce good results. It comes a time, in any of these arguments, that the discussion must stop being divergent and start being convergent towards a goal. This step never happened.

If heated arguments never get resolved in the Gnome community, Gnome has a big, big problem. Worse, it will go unnoticed by those in the community because they are filtering out dissonant voices.
Thankfully, Bitcoin's number crunching will stop in 2021. HFT can continue indefinitely...
Your ad is bad and you should feel bad
The big Linux battery test
Show HN: Create Javascript charts with one line of Ruby
Yeah, writer was kind of dickish, got banned. Meh.
Yeah, typo was my bad. Sorry. Also, I assumed people would know that it was written in the past, since it refers to 2012 being in the future, but marking it 2008 would be even better. I'll try to remember for next time.
The article didn't mention a spiritual successor to GOOG Reader. One interesting way to increase G+ use would obviously be to embed Reader functionality into G+. Stick a RSS feed into a circle. Of course its probably too late, most/many users already abandoned them. I went to Newsblur (and paid for it) and am pretty happy overall.

The theoretical GOOG babble product should also, in addition to whats listed in the article, include GOOG voice, somehow. GOOG must have dozens of "products" that all boil down to "send / recv a message" and I would like them to merge into one.

They should just buy doggcatcher as the best in class podcast fetcher and rename it "dogg-oogle" or something, and mush that into the "babble" or "g+" as per above.

I still have never found a place to try goog wallet on my nexus 7 in person. I have fat stacks of cash so you'd think there would be some interest in getting some of it. Most of the "lifestyle" vendors don't apply to me as I don't drink coffee or hang out in convenience stores and airports.
Supporting having user's feedback in a project is self-centered?
Please see my comment above: https://news.ycombinator.com/item?id=5698353

I am in no way claiming that this event did not occur or that the scene was staged, only that the photograph looks staged and in my opinion isn't a good press photo and therefore shouldn't have won a competition for press photos. I am claiming nothing about the event, just the look of this individual photograph and its merits independent of the event it depicts.
Cool, but if I enter a hex value with the pound sign at the beginning, I get a 404 error
Sure. The problem is then generalizing from that scenario to making it seem like the whole copyright battle is about control over "other peoples' property."
No, you're missing the point of the article. According to the article the photographer didn't capture the scene. It says he took the people standing with their dead children from a photo and pasted them into a crowded street. E.g. merging pictures. A bit more dramatic than playing with lighting etc.
The differences he's looking at are digital breadcrumbs left behind by editing software. It's not so much an analysis of the photo as it is of the JPEG file. JPEG is lossy, and repeatedly saving the same image changes the data in a predictable way, such that it's possible to identify regions of "newness" in a photo based on how their compression error differs from other parts of the same file.
Cheers! I missed that link.
I don't have any programming "itches" I want to scratch. I've done all I want. I did a 3D printer, so I have no interest in robotics. I did SimStucture, so I have no interest in Control Systems. I did a compiler. I did songs.

I would like to do more songs.

I'm waiting for God to do something. Might be waiting a long time, like Jews waiting to be rescued from Hitler.

God says...
honoured pestilent ten pant immoderate essayed remainest
steer refreshing plainer opinionative sensitive especially
tumult be silent threads painful unwholesome tamer propound
odour awaiting demanding ipod INDIRECT These disguise
dry short Lastly forbade commanding martyrs hateful Welcome
beholding teaching allegorically blamed eye token obtaining
inclined known Abraham's provisions labours waterest cubits
fruitlessly copy engage guess thunder suffering conversing
tempted 91 sentences -who arms thing's supplies human
ball shaken bold-faced sleepest Electronic favour recess
folk disputing Ministry corrupted explanatory handkerchief
varieties others' displays contention medicine Run blind
Isn't_that_special sun's adversary forth notion likest
fears bathe male notices equals let's_see torture FTP
lecture wickedness scourges participation talked reckon
Maker broad believe- last vouchsafed lineaments cane No
bottom betters claim Else suspect multipliedst formedst
Stop thirsteth consistently anxiously version exceedeth
us blesses silent carried compressed beautified please
purged mainly dashed Themselves adoption large impudently
nominally foolishly forsaking sings growth churches substance
Give lecture ascension requital contempt enjoin IV powerful
direction

What more could you ask for than opportunity to pursue all your passions until they bore you. I guess success might be nice, but highs and lows balance. The alternative is more brilliant ideas in your old age, perhaps.
> This is not the route they chose though, they instead chose to attack people's free speech by redefining the word "property" for their own purposes.

Property rights over intangible things is part of the definition of "property" for hundreds of years. They're part of the definition of "property"--no "redefining" needed.
I've no problem with how they used it in the article. At the moment, the overlap of 'professional photographers' and 'people skilled in metadata forgery' is pretty slim and (IMO) the data is unlikely to have been altered in this case.

My point is, in the future, you won't be able to even use the metadata as a starting point because all of it could have been changed with easily-available and well-known tools.
Yes. The last upgrade from 4.0.* (Ice Cream Sandwich) to 4.1.* (Jelly Bean) forces me to charge the battery twice a day (or leave it plugged at work).

It is incredible how the batteries issues are impacting mobile devices. This is an area where we need a breakthrough.
Microsoft’s Teeny-Tiny Windows 8 Product Key Is Beyond Unreadable
My Galaxy Nexus worked really, really well when I first bought it. A couple of updates later it's running like molasses despite lots of spare HD space and no random services eating RAM. The culprit is the Google services I can't uninstall and can't stop from connecting, that eat up RAM when reception is poor trying (and failing) to connect.

I wish they'd test their new OSs on old Nexus models at the very least, and why the hell can't I uninstall Google Currents..
I was a contractor, so I worked on several systems for various customers (banks, mostly).

There were a few approaches - one was multi-threading, the other was to divide your task up into small enough pieces to not violate the 1/10th sec. rule, and the other was to install another product that gave you Message Queueing.

When splitting up your unit of work, you would define your own custom events such that when the event loop came around to processing your events, the granularity was small enough to keep the system responsive. BTW, events were prioritized by the OS, so not all events were treated equally. Same with NT. So you'd think of your application as a state machine, with the transitions being driven by the OS events appearing.

Message Queueing (the current darling of the scalability crowd) has been around a lot longer than people realize. :)

Also understand that for line-of-business applications, once the screen was done painting and you were waiting for user action, the event loop went into "idle" state. So in most cases you only had to worry about timeouts when you were communicating with a server (database or mainframe).
Guns and Cyber Security
Based on your comments here and there you sound like the one with the attitude problem. But eh this internet drama is quite a good read.
Freedom, I am sad to say, is not something that all the people deserve. A person deserve it only as long and as much as he/she appreciate it. Sometimes of course, it's easier and tempting, in order to acquire and secure it, to leverage one's efforts by seducing others with its appeal, no matter if they are or aren't capable of enjoying it, and fight for freedom collectively.

...I definitely should follow digitalengineer's recommendation and get (hopefully) a deeper take on freedom's concept.
The DSA Direct Seller of the year Award
Slightly off-topic but I figure what the hell I may ask. I am two years out of university (comp sci), working as support/development in investment banks (indeed the work is destroying my soul.) I've spent quite a bit of time looking into fields I may be interested in such as security i.e. why I'm going to try your exercises.

My question is, this area seems quite niche, how does the average person work out if they're suited to this? Furthermore, is there obvious prerequisites to working out whether you will enjoy certain areas. i.e. I do not feel very good at programming, therefore is it strongly unlikely I would enjoy testing / security.

I realise this isn't the right place so feel free to ignore me :)

I can't seem to find the right place :( !
Prediksi Skor Bola Real Sociedad vs Granada
Prediksi Skor Real Sociedad vs Granada 14 Mei 2013. Prediksi Real Sociedad vs Granada. Prediksi Pertandingan Real Sociedad vs Granada.
> The heavy opiate user has developed a full-blown physical dependence on the drug, and their body will go into excruciating revolt upon it's sudden absence.

Yes. Sudden withdrawal from some substances (alcohol, barbiturates) can cause death because physical addiction is so destructive.
I may possibly have bad memory or attention span, but sometimes I can't remember various important details from a dialog that happened just an hour ago. Or remember and recognize faces from a yesterday meeting. So I'd really like the feature to record and analyze everything that happens around me, but I'd certainly want keep it on my own (physically-owned) storage and nowhere else.

I actually set my phone to automatically record every phone call I make or answer. Calls are recorded, kept for several hours, then encrypted and moved to my home NAS for a secure long-term storage. Helped me many times.

This may sound like a privacy issue, but I try to maintain reasonably high security (http://xkcd.com/538/ is completely relevant though) and as for possible disclosure concerns, I believe having a recording changes nothing as calls are already recorded in human memory anyway.

(Well, I'm fine with storing almost anything on Google servers if this data's ultimately encrypted on my side with Google not knowing anything about the keys.)
Using Dispatch Tables to Avoid Conditionals in JavaScript
Apologetic Agile Development
Nano-breakthrough: Solving the case of the herringbone crystal
ISS Commander Chris Hadfield Covers ‘Space Oddity’ in Space
Warning, graphic pictures of dead children in this post. Not safe for mind or work. It is horrifying. Posts like these are why I stopped using reddit, because "surprise! Here's a horrible picture, now feel like shit for the rest of the week/month/forever!"

If there were some place else to get programming or startup news like you can get here I would never come back. I wish there were such a place or that HN stopped allowing politics and NSFL stuff like this.
> I don't get what you mean with "The fact the world runs on so much open source software really is remarkable". Could you clarify?

Some online environments are hateful, toxic, places that contribute to burn out and developer churn.

Yet these same places manage to turn out excellent software.
Once the focus shifts from how users self-identify to a subject area, a site cannot be like HN in an important sense, because HN articles rise and fall because they are interesting or promote interesting discussion, not because they are on or off topic (even though there is some of this).

This allows HN to be broadly attractive. To contain articles at varying levels of technical expertise, and to be reasonably friendly to new members. Having a broad range of subjects makes trolling harder - Lisp fanbois only get a crack at Scala a few times a week, so to speak.
Impressive..........
Can you be part-time and powerful?
It is not capital backing in that I cannot exchange a bit coin for a computer. Agree it may provide an upper bound on the value of bitcoin, but not a lower bound.
I had horrible issues with my nexus 7 till the most recent android update. The performance is still subpar, but it doesn't crash as much, at the least. I will wait till some people have test drived any new version of the n7 before getting it.
Developing ExpressionEngine sites with MAMP, Tower & Beanstalk
I really dislike this kind of flame. The author got banned over a year ago, and now, because of the recent threads on the "No." in the gnome-terminal bug, the author tries to fan the fire by bringing this up. Then, he posts his blog post on HN using the third person: "Another user/developer banned ..." If you are going to post your own blog post (nothing wrong with that usually), don't make the title look like someone else talking about you.
its simple and small
There is no successor to Reader, it's gone. Forever. Babel (Hangouts) is not theoretical, is very real and has been leaked already. It's just a walled garden (they threw XMPP away and went with their own proprietary protocol) so I personally would steer clear from it.
Isn't it trivial to screen capture anyway?
Google updates mobile Gmail, neglects Windows Phone
Show HN: PHPCI - Open source continuous integration designed for PHP
The "Autumn color swamp" doesn't "work" for me. Sometimes the background appears to move, but most of the time, everything appears still..
In more ad-hoc, constantly changing, "ops this didn't work because of unknown factor X" type of projects, schemas are a pain.

Such a pain:

ALTER TABLE foo DROP COLUMN bar;
ALTER TABLE foo ADD COLUMN baz varchar(64);

From what I've seen, a significant chunk of the desire to use schemaless NoSQL hipster DBs is simply a desire to avoid learning SQL as if it were a real programming language.

The only real use case I've ever seen for schemaless DBs is fields with lots of ad-hoc columns added by multiple people (typically logging/metrics data).
I do think this example http://computationalthoughts.blogspot.se/2008/03/some-exampl... is a lot better than the one in the article.
Bitcoin is either a commodity or a currency, depending on who you talk to. If it's a currency, it has the ability to purchase goods and services. If it's a commodity, then creating it and throwing it away represents a waste of resources... plain and simple.

Your opinion that 'throwing money away hurts nobody' must mean that you disagree with the statement that 'all that is necessary for evil to prevail is for good men to do nothing.' That is essentially what is happening if we take currency/commodity and throw it away. They could have donated it to any charity and escaped the ethical issues. Instead they passed on that ability, there IS value in the money. This isn't some purist Economics debate, this is real life application. Same principle behind the whole idea of 'every dollar spent on war machines is a dollar not spent to clothe and feed the masses.'
I think part of this is due to the novelty of the car. But also - I think it's just a really good car, assuming an EV fits your lifestyle.
Here are some of my personal favorites:

1) The Millionaire Next Door
2) The Intelligent Investor (must read!)
3) How to Get Out of Debt, Stay Out of Debt, and Live Prosperously
4) Your Money or Your Life
5) I Will Teach You to Be Rich (relevant to you at your age)
6) Why Smart People Make Big Money Mistakes, and How to Correct Them (short and sweet)
7) The Rational Optimist (not specifically about personal finance but a great read about behavior)

Hope this helps, and if you ever want to discuss personal finance in more detail feel free to reach out, love helping!
The tethering is entirely disabled on on my Nexus 7 3G, bought outside of any contract or carrier, as it is for everyone else

Tethering works fine for HSPA+ here in Canada using Rogers, but disables if you use LTE. Whether that is a carrier flag on the LTE signal that Rogers transmits and the Nexus honors, or some technical limitation of the device, is unknown, but just notable that it isn't that tethering is wholesale disabled.
> Bottom line: These people, [whether] they are arrogant, impolite or unsympathetic to users does not refute the fact that they are giving their time to the project.

> GNOME has been under fire since the famous GNOME 3 release and I would understand the remaining developers to be a little touchy on the matter. At some point, you either stop - or you decide: Fuck this - I will just ignore user-input, because it sucks.

To put it bluntly: if they've given up on making what users want, what's so special about their giving their time to the project?

Why should anyone care, other than for fear that the developers will continue to make things even worse?
Watch the RICON East Live Stream
AppFog down
Yerevan apartments – Mashtots street
This comfortable and very well situated apartment is located in Center of Yerevan on Mashtots street. Apartment has air conditioning, TV set with local antenna, Iron & Board, CD player, DVD player, Maid service, Washing machine.
hmm. I sold my startup because i was offered a wonderful amount of cash. Now my children get a great education. I got to design and build my own house. I get to spend quality time with my well educated family. I have fun, and don't need to work 18 hours a day. I dreamed, created and moved on. Nothing is forever.
Yeah, barely 1.3 kb minified if you're using it on the client side. It's also compatible with JQuery deferred's.
Mind hack - how to find your state of flow