skysight-inc/HackerNews huggingface dataset:
A for loop is definitely not the place to convince people that closures are any good. A for loop is already essentially defining a block of code to be run on each item in the loop, and it's hardly very different.

My closure AHA! moment was writing asynchronous networking code for the iPhone. Instead of dealing with delegates and writing protocols, I could just pass it a block of code to run when the request completed. It turned a multiple file and many line design, and brought it down to just a couple of lines. It was great.
I hope you're right about these lobbyists being subjected to the Streisand Effect to a meaningful extent, but I doubt the broad public will ever take a much greater interest in this situation, because only a tiny, self-selected portion of the population ever comes across -- let alone reads -- articles in AAAS's Science magazine. (An even tinier, also self-selected group reads submissions and/or participates in discussions posted on HN.)

Still, I hope you're right...
Tumult Hype 1.5 is out with major improvements to the HTML5 builder for Mac OS X
I get where they're coming from, but I do find this to be a little smug :)

See, they haven't run into problems with their setup, as per, MySql 'just works' for them.

What would be interesting and educational (for me anyway) would be a situation where folks that ran into serious problems with their SQL setup despite doing the 'right things' persevered where conventional knowledge would have them switch to a NoSql solution.

tldr; Dog bites man article, would love to hear from someone that actually struggled with a SQL solution and soldiered on.
My first thought before I realized you could actually see the php code, was that it was some kind of sanitizing input exploit, maybe SQL injection (with the name or age) or, since the HTML input fields had "length" to go over that.

Once I figured out what to do, it was only a matter of finding the right tool to do it. I didn't realize curl could [edit: --redacted--] (cool!), but I used OWASP ZAP and did a [edit: --redacted--]. Same method, different tool. Btw, thank you for explaining the curl options, I normally don't use curl much, but apparently I should :)

EDIT: Redacted stuff so as not to ruin the fun for others
> people worry about this because draining a battery to zero seems like running out of gas, and most of us have run out of gas

Interestingly, the same applied to some models of RX-7. If you ran out of gas, you'd potentially need a service to re-prime it.

Didn't stop me from buying one.

// Not sure if myth. Never ran out.
Airbnb UX Wins and Losses
When my grandfather was 85, he forgot to do all of the maitenance on his car. He drove like 40,000 miles without ever changing the oil and blew up the engine in his BMW 7 series. It wasn't exactly a cheap car.

Replacing the engine in the car was something like $7,000.

I see your point about safety - gas clearly isn't the safest substance in the world. But neither is electricity. My cousin is currently a police officer, and before that he was a first responder for car accidents. He has had specific official training to deal with hybrids becuase you have to avoid the battery cables after an accident when using the jaws of life and what not. And those batteries are more stable than lithium ion, in those cases they are simply concerned about compromising the battery cables. So it kind of cuts both ways.

This is a problem lithium ion powered electric cars. We shouldn't sweep it under the rug. It should be solved now while there are 10,000 electric cars and not 10,000,000 electric cars. It seems like the solution is a combination of educating/warning owners & notifying them by phone or email if the car starts to get too low. That isn't exactly the end of the world. But ignoring it is not the solution.
Quixey Challenge
BetterTouchTool does this. For me, new terminal -> move to next monitor -> tile on left half of screen is cmd+N alt+B alt+left.
I've been using BetterSnapTool[1]. While it's just a window resizing utility and not a manager I've found it very useful for quickly assigning windows to specific screens and specific locations especially since it has very flexible hot-key preferences. Divvy[3] is very similar to BetterSpanTool though it's more flexible with the sizing but requires more slightly configuration to setup shortcuts. Divvy also seems to lack the hot-corner feature of BetterSnapTool.

Still, it doesn't solve the problem of maintaining specific screen states or remembering positions across sessions. For example while working without a second monitor I'd really like one set of window configurations to automatically take effect and as soon as I plug in a monitor I'd like all the windows to automatically assume another configuration. I gave Breeze[1] a try, but I found it very finicky and it rarely actually remembers my window configurations and it didn't play well at all with spaces.

Tyler seemed promising because it would eliminate the manual configuration, window organization, and window state problems. I'm a bit disappointed to see it isn't ready yet but excited to try it when it is.

[1] http://itunes.apple.com/us/app/bettersnaptool/id417375580?mt...
[2] http://www.autumnapps.com/breeze/
[3] http://mizage.com/divvy/
Sure is Reddit in here.
> $1.73 in GDP growth != $1.73 in revenue to the government.

That is not what the research is claiming.

However, you can't discount that an increase in overall GDP leads to increased government revenues.

Even though the US federal deficit is high, it certainly is not a problem like now like it is for Greece. US treasury bond rates are a pretty good indicator of risk, and right now they're very low.
Very well put.

It's quite unfortunate that capitalism didn't rule the world when this country was founded, because it was nearly impossible for our founding fathers to predict the massive power and interest businesses now have in government. They let congress regulate themselves because, I mean, who would want to be a congressman in 1780? Low pay, hard job, hardly any kickbacks for the corrupt, and you were personally responsible to your constituents because the population was so small.
I would be very careful and obviously refer to any Employment Agreement you may be under, specifically sections outlining work assignment and disclosure terms.

If your boss is not supportive of your graduate program, I would take that as a sign to not use anything (schemas, data, code, logic, research) in your graduate project for fear of legal repercussions.

If you still want to pursue the idea, I would develop something similar to what you want to pitch at work, but don't directly copy/use anything from your current job.
The difference between getting competent with Postgresql versus MySQL was just a few hours. In the scale of a project such a difference dissolves into complete irrelevance, yet it was enough to sway many to use MySQL when it was severely deficient comparatively (though with its adoption it saw love that brought it up to if not beyond parity).

The same is true with many technologies and approaches. Projects that consume thousands or tens of thousands of hours, with a toolset chosen because it represented an outset savings of single-digit hours.

Changing in the future is seldom as easy as it seems in those early days.
منتديات سمر وشهد
اخبار الوطن العربي جوالات اسلاميات الطبخ الشيخ محمد الهادي الادريسي
اخبار مصر غرائب وطرائف طب بديل وعلاج بالاعشاب تحميل افلام عربي واجنبي وهندي ومسرحيات ومشاهدة مباشره اون لاين احدث اغاني اشهار منتديات مصارعه تحميل افلام اجنبيه2012
I live in Turkey and I am using concerta for about 5 years now, if you have ADHD the drug calms you and makes focusing and completing tasks easy, it also unfortunately makes you immune to coffee no matter how much coffee you drink, you can still drink more :).

When somone without ADHD uses the drug it causes tachycardia, high blood pressure, restlessness and sometimes paranoia, not all of them though, it migth be a recreational drug to someone but I need it to function in my daily life and I'm not using it to have fun in any way, I had periods ( at most 6 months) which, I had not taken any concerta of methylphenidate derivative and results were not good for my productivity.

It is also a type II controlled substance here in Turkey You are prescribed one pill for one day and you cannot have more even if you want to, but we dont have any quotas on the precursors and drug use in Turkey is very low considering Europe and US.
You seem to be drawing a line between mobile and wearable based on where the computing resource resides. [1] But no-one really cares where the computing resource resides. And cloud computing seems poised to render that distinction largely moot anyway.

When most people draw a line between desktops and mobiles and wearables, they're talking about the interface and app model. That's why netbooks get lumped in with desktops and tablets get lumped in with mobiles, despite being essentially equivalent in size and mobility.

[1] "Is the computer on my desk, or in my bag, or in my pocket, or on my belt?" vs "Do I sit at a desk with a keyboard/pointer and manipulate many apps, or do I use it pretty much anywhere with a single app in focus, or do I use it by virtue of wearing it with some new app model that fits wearable use cases?"
All you need to do is uphold the Constitution and this would not be necessary.
Which is why in our case we're keeping both the old and the new product around.
Woo, a solution to a problem that doesn't exist - the current state of privacy enforcement in America works fine. Companies with something to lose effectively self-police. Companies that are a little too cavalier with user privacy get whacked with bad PR and swarmed by class-action trolls - a far greater penalty than anything the FTC can dish out. The adversarial model is a little messy, but it results in a sane equilibrium that can evolve over time.

While the document this press release is based on probably won't result in any laws, if it does, it's only going to codify current expectations around the use of personal data, which will grow increasingly stale as society changes. Over time, having these obsolete expectations as law will become a greater and greater albatross for entrepreneurs and for the economy.
Riak Control
Cheap Samsung comes in at $140, unlocked: http://amzn.to/A2G57R

And yes, it does a lot more than the Fire: Gmail, maps, Google app market (including free The Economist app for print subscription subscribers, which I can't get with the Fire) takes pictures, microphone, 3g, etc...

The battery life isn't very good, and obviously the screen is smaller, but generally I find the phone more useful.
Censorship/SOPA reference. Warranty in the sense that they mean recourse if you're disappointed with the product, or it doesn't perform as advertised. Obviously, TBL was commenting on code quality.. but in general it made me think about how much jeopardy the spirt of freedom that use-at-your-own-risk tends to come with, is in lately.
Time for a new project...urrm?
This article ignores an important point about Vyvanse. It's a pro-drug: it's metabolized into one of the components of Adderall, but at a constant rate. That means you can't crush and snort it (well, you can, but the constant rate of conversion does not change).

As such, it has less abuse potential than Adderall XR (though not zero abuse potential). In states like Florida where there has been more scrutiny on prescription of controlled substances, these details can be important.
Show HN: Anonymous texting (my weekend project)
Bad thing is that you can't really use hashing function that takes quarter a second to complete in service with many(many!) users.
I'm going! :)
Modern web apps are applications. Applications, over time, run into many problems that SQL database systems were designed to address:

* The occasional join.

* Complex queries.

* Reporting.

* Schema changes.

* Transactions, with options for trading off strictness and performance.

* Performance problems that are easily addressed using stored procedures.

* Performance tuning with minimal code changes (e.g. adding an index to change the execution plan of a complex query).

* Enforcement of invariants regardless of application code.

Why would you give these up for scalability problems you won't have, with 99.999999% probability?
It wasn't my downvote, but I'll bet it's because the article is satire and your response didn't quite catch that. ;)
IOS limits HTML5 media elements to 1 per page?
What not to ask technical people in interviews
I'm not a zealot for it, but test driven development does shorten the feedback loop in significant ways. You get specific feedback for problems and avoid making the same mistakes twice.

When I'm working with code that doesn't have it, runtime errors significantly lengthen the time between insights, as I hunt for the root cause of some bug.

The general point is that you do better work in small increments and revisions than you do, like Coleridge, getting high and watching masterpieces spill out of you, like Kubla Khan. You will be less sensitive to small things destroying your work, like Coleridge's visitor. Truish story.
It turns out that the poster of the original story is the owner of one of the 'bricked' Teslas. This was apparently leaked to hurt his credibility but at least for me it only enhances it, as it seems he had a first-hand experience with the brick problem.

http://jalopnik.com/5887499/who-is-trying-to-smear-the-tesla...
Even in raw format, all digital cameras apply some amount of sharpening [1] even when the setting is "off" in the camera menu. Also, all raw format conversion software (Lightroom, Capture One, etc.) applies sharpening by default.

I could imagine that a sharpening algorithm could transform a random distribution into something with structure. That the authors appear to not reference camera or image sharpening anywhere in the paper is somewhat worrisome.

[1] http://en.wikipedia.org/wiki/Unsharp_masking
why would you need to have access to prod ?
Your development/staging environment (not local box) should be same as prod in most aspects except capacity so your push to prod is 2 step process developer -> staging -> prod
Wait a second..
The 9th amendment to Constitution already states that "certain rights shall not be construed to deny or disparage others retained by the people" It is not the governments role to "set aside" rights that already belong to the people.There was a very specific set of reasons why the original Bill of Rights came to be and I could go into a long complicated post about this however for the A.D.D and TLDR crowd I'll just shorten it to this.

You already have the rights, the government does not need to "bless them"
> sports cars leave them in garages for the winter

Live in CT, own a two seater that's never seen snow, for the reasons you mention. It's on a trickle charger to avoid having to replace a regular battery that would go dead if discharged fully, but still had to replace tires that got flat spotted during last year's particularly long winter.

Knowing that about regular batteries, I'd be even more careful with a Tesla, even w/o reading the manual. "Hmm, my regular car battery has to be replaced if completely discharged, and this car is all battery ..."

I think the "different patterns" should actually increase awareness.
> Goofing around in Lisp when we had no idea how to deploy it wasn't really a smart move for a four-man startup, in retrospect.

now THAT is something i want to read about. please blog!
How to prepare your customer service for SXSW in 30m
This was one of those "it's a 3-day weekend... I wonder if I can build something and learn something."

I decided to cobble something together that permits anonymous texting. It's certainly not perfect, but I thought it was worth showing off to the HN crowd.

$35 for a domain name (sigh, I used godaddy for a Southern Georgia .gs domain; namecheap couldn't help me. Sorry guys). An old server, ubuntu Server edition, Python, Postfix, Sqlite, and little bit of code, a free blogger "website", and it all pretty much works.

What do you think?

PS I'm happy to post a follow-up with all the gory details.
They are comparable in that they both have to do with batteries and something you have to think about when you leave your car. In one case the consequences are much worse, but the general idea is the same. When you leave your car, you could mess up your battery if you aren't thinking.
If Android is a "stolen product," then so was the iPhone
My apologies..., when I first opened the link, for some reason the Print dialog didn't come up (in Chrome). After I read the story and submitted it and then came back...lo and behold that print dialog came up.

Here you go:
http://www.citypages.com/2012-02-22/news/is-anne-marie-rasmu...

(and you're right, this story was ESPECIALLY hard to find. Even on CityPages own carousel the link is broken...I had to search for the subject's name, which only took me to a slideshow, which luckily had that backlink)

If a moderator could change the link to:
http://www.citypages.com/2012-02-22/news/is-anne-marie-rasmu...

The mobile users would be much obliged...
There is a world of difference between overuse leading to failure, and non-use leading to failure. It's disingenuous to claim that the messages are similar because they have abOut the same number of words.
Let's not forget personality / human factors though - I'm fairly certain I could have been a doctor or lawyer (even considered being a lawyer at one time and got a 178 on the LSAT) but I'm just not cut out for those fields. I'm too squeamish to be a doctor and I don't have the interpersonal / political skills to be a really successful lawyer. So tech it is...
Health And Fitness
Health.setharsoft.com provides latest tips about quick weight loss, health and fitness, beauty and skin care and more.
It is not about communication, it is about function. "You have to constantly pay to keep your car alive. If you leave it alone for a few weeks, it will die". This is the way I read it.

PS. If the battery management system won't allow the car to reach dangerously low level of charge, if it is very unlikely that I will damage my battery by accident - why won't Tesla guarantee it and subsidize battery replacement? Make it a $1K repair, that's enough money to keep people from not plugging their vehicles out of pure carelessness, but don't make it a $40K event that in insurance terms would be a total loss.
If it never comes back to bite you (or anyone else) in the ass, was it really a mistake?
> My instinctual response to this debate is, if you having nothing to hide, why do you care.

My instinctual response to that is to ask if I can watch you the next time you go to the bathroom, or have sex.
Whether you love or hate Zynga, banning it isn't the solution
Bush middle name-esque: dubya dubya dubya
Eleven Observations after an Eleven Day Cleanse
The headline on the main page currently doesn't match the headline on this page. I guess this is an example of 'eventual consistency'.
How To Drive Traffic Using Facebook | Entrepreneur Stories
I concur, and add animals to the list.

In Ontario and in other cold wintery places, many homeless cats starve and freeze to death during the winter months.

How can we let that happen? Well, pet owners let that happen when they don't spay or neuter their beloved cats.

Something to consider.
Where did it say that? It acknowledges that deeply discharging may damage the cells, and it does not refute that it would cost $40,000 to fix.

Even the owner's manual state this (except for the $40,000 cost of course).
A Week with Clear
PostgreSQL can do the majority of migrations you would need to make instantaneously (adding columns that can be null, adding/dropping indexes etc). MySQL suffers roughly O(rows) time when changing the schema, but with PostgreSQL now at feature parity for most everything else there's little reason to go NoSQL over something like Postgres if you are worried about schema changes. With respect to fault tolerance, this is only a problem if your dataset outgrows a single master (pretty rare) and you haven't figured out a proper way to shard (most places shard on users, it's pretty hard to believe anything is un-shardable).
I know it has been mentioned before about this same study, but I can't remember where: what do you do when your kids are finding the work too easy? Praise them for their effort? That seems like it could backfire if they think they can get by in life with hardly any struggle, while still being complimented for their labor. Obviously, you could give them something challenging to learn, but what about when they're in school with kids that have a wide spread of natural talent? They will probably get good grades and be praised by their teachers for their intelligence, meanwhile getting bored of the same material over and over again. This seems to suggest the need for more individualized teaching, either by the parent, or by a teacher of some "gifted" class.
For anyone else who didn't know what "CYA" means: Cover Your Ass.
Related:

http://www.greencarreports.com/news/1073312_is-tesla-brickin...
That's not what I was asking. Net wealth doesn't have nearly the same status as GDP.

I sometimes wonder what policy would look like if the dominant economic priority was the increase total wealth, rather than economic activity.
MIT Online vs. Your Local College: How Will Web Learning Stack Up?
I know, right? When he suggested that DevOps people would somehow get complex server management right just because they have a python interpreter I nearly fell out of my chair.
any chance you could avoid using the XHR to load content for the downloadable version?

i get this error in chrome:
XMLHttpRequest cannot load file://localhost/Users/damion/Downloads/jqapi-latest/navigation.html. Origin null is not allowed by Access-Control-Allow-Origin.

in the meantime i've been using chrome as my browser, and safari as my dedicated jqapi renderer.
Now I got something to read this evening.
Yet another article that takes the original Bricking story to task without actually refuting any of it. So what if it's an angry owner if it's true?

Congrats to them for posting the owners manual, it's pretty clear keeping the cell charged is important, but the true risk doesn't get the treatment it's deserved. The fact that this car can essentially total itself from sitting idle for 2 months deserves more than some mentions in a manual, how about initials of the buyer where he has been explained the risks and the 40k price tag to correct the mistake?

Also, the letter mentions the pre-500 models not having the notification system, it's possible the pre-500 manuals didn't have all of this wording either.
Recurly vs. Chargify Review
There's a lot of conflation going on here.

The original article seemed to be stating or implying that the car's own on-board systems would continue to draw power well past the danger point, drastically reducing the time to destroy the battery.

This article seems to be stating that the car's systems will stop drawing power. The battery will continue to discharge in this situation, due to natural processes, but discharging to a point that destroys the battery takes much longer in that case.

This means there is still a risk that, if left unattended for extended periods (on the order of at least weeks, perhaps longer), the battery will become unusable. But this is not the same as the original claims which seemed to be arguing for design flaws which would hasten that process.
Best Tbilisi Hotels
Tbilisi offers hotels and accommodations to different demand groups, small families, strict luxurious tourists and easy-going back-packers. Tbilisi hotels prices are very affordable compared to the conditions they offer to even the most discerning guests.
You're right. Please put the cat back in the bag, and refill Pandora's box on your way out.