skysight-inc/HackerNews huggingface dataset:
It's sometimes known as sanitising input, so I'm guessing that's what they were trying to refer to.
How To Get Guaranteed Results
Why is this on the front page of HN? Because so many apologists for liquidity at any cost congregate here. Because so many of us rely on the FIRE sector to implement self-binding mechanisms of cooperative benefit to save for our retirement. And now we have more evidence the FIRE sector cannot be trusted. So perhaps instead of our colleagues patronizing us to go educate ourselves about the falsehood that all liquidity is good liquidity and that they are doing God's work (when research shows that HFT leads to diminishing returns [hint: gain from trade in competitive markets is a convex downward function with respect to efficiency]), they might consider engineering systems that sustain the cooperative benefits of self binding, instead of implementing systems that cynically and systematically win asymmetric zero-sum games against the rest of us.
There is a lot of high-tech stuff happening in Canada. Montreal is very attractive to gaming companies, for example. Quebec City is a hub for high-tech optics companies. The Enhanced Full Rate codec for GSM was developed in Universite de Sherbrooke (Quebec): http://en.wikipedia.org/wiki/Enhanced_full_rate .

There is a startup festival next week in Montreal: http://startupfestival.com/

The problem is that all this occurs in the French-speaking part of Canada (Quebec), NOT in Ontario. There is a strong push against anything that would actually help Quebec become stronger financially, as this might trigger a greater willingness for independence.

That is why the Globe&Mail did not mention Quebec at all in their article.

Sad, but not unexpected.
You should check out Java sometime.
I can usually spot a hybrid app, but I hadn't even noticed that OKC is one, and my experience with the app has been pretty good. I have seen the stuck loading screen occasionally, but I assumed it was due to connection issues; it's not like that can't happen with native.

Either way, they obviously need to fail a little more gracefully, which should be a solvable problem.
The result is 100% logical. My own personal guideline is to never use references anywhere; even in a foreach loop you can use the key to modify the original array instead of a reference to the value.
The reason why SL doesn't grow is because of all those furries ruining the place for everyone else. I never knew what yiffing was until I went on SL. Had they placed a few curbs on it, their world would've been better for everyone.
State-of-the-art inertial navigation technology has approximately the same precision as state-of-the-art GPS. Even modern run-of-the-mill interferometer-based inertial systems are precise enough for most purposes.

The unique value of inertial navigation is that it requires neither receiving nor sending a signal that can be jammed or spoofed, hence why the military uses it for everything.
I'm a big fan of shopify, so don't take this the wrong way, but would you really be a good fit for someone with a baby and a mortgage? Currently, he's making decent money, with great pension and benefits, doing incredibly boring work. He could leave all that behind and work for shopify, for what? A couple fun years of lower total compensation without the security?

As someone who's finishing up college, I'd hop on that in a heartbeat. If I had a kid and a house, though? Far less likely.
I'm the same way. Ive always wondered if it was just me or if other people are like this. Even if I have a deadline the next day I can only stay up to a certain extent and then I shut down. Why age group are you in? I'm just about 19.
Perhaps, although most examples of literate programming that I have run into tend to be so verbose as to be equally daunting and off-putting in a completely different way. Another great topic: the art of the comment!
You've been downvoted but I completely agree. You cannot sanitize text for all possible situations; you can only escape it depending on the output format (database, html, etc).

These functions should be used to "validate" input rather than "filter" it.
Rietveld: An app engine app written by Guido van Rossum.
Joint-Stock Company in Moldova – a basic outline
My uncle started a serious games company in Edmonton, and that's what I hear from him all the time: no talent. He's thinking of relocating here to Vancouver just so he can hire competent C++ devs. Pretty depressing, really.
Only HN Premium accounts can do it.
There is also the advantage of instant deployment, and always being up-to-date. I don't think hybrid is the best fit for all apps, or even most, but it can work well and create a good experience for certains types of apps.

But as other commenters have noted, it should never be seen as a "time-saver" for anything beyond trivial functionality; the little quirks of each browser runtime must be paid their due, with the user experience and performance in mind.
I just read the article you linked. It's full of utter nonsense; it is not serious economics. One example: it talks at length about how there are different forms of value, namely individual value (which any normal economist would call production cost), and social value (the actual amount the commodity sells for). It then goes on to say, "there are two basic forces that govern the way individual values become social values" [emphasis mine]: (A) average productivity, and (B) interaction of supply and demand. The first is described mostly correctly. When describing the second, the article says, "We only learn how much labor society has put into widget making when we enter the market and compare the products of our labor with the rest of society." Okay, but that is not the only thing we learn from the market price. We also learn whether the society needs our commodity at all. Since the article talks about "social value" it almost implies that our commodity will always have some value to the society (it's called "social" after all), but that is often not the case at all.

But here is where the article is most clearly wrong:

> But most important to the MudPie theory, demand doesn’t create the social value of a commodity. It only helps determine if labor has been apportioned to the right tasks. Labor is creating the value

First, the article is contradicting itself. It reduces everything to "labor is creating the value" -- if that were the case, why mention "governing" force (B) above at all? Also note, which value are we now talking about? Individual or social? (I assume the latter). Second, it conveniently presents the MudPie argument as "belief that demand is creating value". No, that is not what the MudPie argument says at all. It is the recognition of demand (which is an intellectual process) that is creating value, and that value can be (although not always is) wholly separate from the labor cost (or the "individual value").

Consider the following example. I buy a used or antique piece of furniture from someone who used to own it and who now believes the piece is quite useless since it is old. In addition, the owner does not mind selling me the piece at a low price since he had got out from the 20 years of using it all the "value" he believed he could get out of it. On inspecting the piece, I determine that the piece was made by a known designer. I resell the piece for ten times the amount I paid for it, and for three times its retail purchase price when it was new. Where is the labor here (ignoring transportation cost)? The answer is that the "labor" here is in me recognizing the potential value of the piece either from the appearance or through matching the label through a catalog (about 5 minutes of work). Now exactly the same process will occur when a reseller of a commodity finds a more profitable way to sell it. The reseller is creating value.

TL;DR There is also intellectual labor involved after the item is made but before it is sold, ignored by Marx entirely and purposefully.
ok, read through it again. the regex distinction is clear, that was my bad. the choice of prefix symbols is pretty poor. ^~ looks related to ~ and ~*. in the docs, the regex prefixes are presented first, so i associated ~ as a regex indicator. how wrong i was.

i generally disagree with ^ being the universal "not" indicator out of context since it's a "beginning of line assertion" when not preceded by "[" within a regex. The fact that it indicates what follows is a regex-halting literal string prefix match (exactly what ^ would indicate in a normal regex) is plain confusing.

thanks
Yeah, did you?

> But on the fringes, there are a lot of people who are writing articles, tutorials, and posts designed to help beginners learn the language (and usually how to program). The problem with this is that the majority of those authors frankly don't have a clue what they are talking about.

It's the most ubiquitous language, which leads to being the easiest to start with. Thing is, if people learn it wrong they're going to churn out crap. That's a vicious cycle.
You need both time alone to work, and time with other people.

There's also something to be said for doing both at once. My term for that is ambient sociability: Sit in the corner of the coffeeshop or the library, where there are people around, but not too noisy, and none of them focused on you, and none of them likely to disturb you.
curl -s http://getcomposer.org/installer | php

is creepy. Never ever run other people's code without at least giving it a glance.
I'm equally sick of people who just blindly accept the fact that they don't sleep well.

Like any hacker endeavor, do the research and put the time in. If you keep digging, you will eventually find something. I have my sleep issues under control mostly, and it changed my life. In my case, I found I have chronic sinusitis that inhibited my ability to breathe at night. I take allergy medicine before bed, and arrange my pillows a certain way to support my neck.

Sleep is mysterious, but it's not black magic. The Zeo was helpful in diagnosing a lot of things.
haha. Always good advice. But I checked. It's fine :)
i was a co-op student at nortel through high school, those keg parties were great! kegs are cheap, but it probably didn't do much for productivity on friday afternoons.
I don't think it's bad per se, but many of these online "content sites" really overdo it, I assume to keep people on the site, or perhaps out of some kind of internal-link SEO black magic. Some of the links are even auto-generated, not inserted because the article author genuinely thought they were relevant.

A different version of the debate comes up in academic paper citations. Of course, some of your own previous papers, or those of your friends and collaborators, are likely to be relevant, since you often build on that work. But if 50% of your citations to are to papers by yourself and a small clique, some of them related only by a stretch, then reviewers may start asking if you're really citing the most relevant papers in your bibliography, or have some kind of ulterior motive to give more attention to your own work and less to others' work (or are even trying to game impact factors).
This is why when you hear politicians bleating about de-regulation, you need to read between the lines to figure out what they are actually saying.

Conduct of markets so critical to our society need to be done in the open, in an publicly accessible exchange. Banks will not fix themselves, they need to be compelled to do so by strong regulation. For all of the hand-wringing over high-frequency trading of equities, at least you can ultimately figure out what is doing on.

Bankers used to be boring people whose primary job qualifications were looking distinguished and having the ability to follow instructions precisely. We need a regulatory environment that brings that kind of banker back to the mainstream.
They are regulated. The regulators are complicit. Regulation is not a magic bullet. Moreover, regulation is not homogenous. More regulation is not always better/worse, and less isn't always better/worse.

Leave the talking points at home.
Actually, one reason it's stagnated technically because Linden Labs aren't nearly as good at UI design as they think they are and lots of users are on forked older versions of the client software that predate their last UI redesign and don't support new features. It got so embarassing that they disabled the ability for users to advertise what viewer version they were running.
I would expect a secondary form of navigation. Submarines and even Google Maps cars use an inertial guidance system - if GPS is lost or clearly spoofed, you can rely on the inertial guidance system long enough to set a trajectory for a safe zone.
From a strategic standpoint I see more recycling incentives coming for users over the next few months. They're having trouble keeping the "Apple Refurbished" shelves stocked

Bingo. Apple has no incentive to help anyone else disassemble and repurpose their products, while methinks their refurb unit can use all the components they can recover.
Hi xal. Thank you for the invite for coffee.

I think redthrowaway kind of summed it up. It's not you, it's me. In my current situation, I'm probably the last person that you'll see trying to work for a start up. Not right now at least. There's a time and place for everything.

While going for coffee would be fun, I don't want to waste your time seeing as you're doing what our city needs to be done. We need more people like you, and more companies like Shopify.
I take it you haven't experienced the kinds of challenges the poor face every day, challenges that act as a cruel gravity that keep them poor.

This heat wave much of North America has been having. If you are poor, you probably can't afford air conditioning. If You have a/c, you can't afford to run it. You need to make rent. The rest of your money is used to buy food, except you can't afford much. Your diet certainly wouldn't be varied.

But let's get back to this heat wave. If you've ever been on a second story apartment with no a/c during a heat wave, it's like HELL. The air doesn't move. You shut all the shutters and use house fans (if you got them) and lay low, but it's almost intolerable. You worry for your children and pets. Nobody can sleep at night, yet the constant heat sucks the life out of you. You get totally drained just trying to survive the day, but then the next day is also unbearable hot, and then the next day. You get sick just trying to regulate your tempurature. Your head is in a constant fog and you walk like your on the moon. It's hard to live that way. Hard to run a family, or work a job. You want to get up but life keeps you down.

You're damn right life is unfair. Especially when nobody cares.

All I ask is that you have some empathy. Imagine what it's like to always have a proverbial boot at your throat. Being poor is hard. It keeps you down.
RVM's installation is similar:

https://rvm.io/rvm/install/

A far cry from the safer/verified "download this and check it's MD5 checksum" method that I'd prefer.

Seriously, fixing package management so we can continuously integrate arbitrary code would be great. Getting arbitrary OS package creation to be almost as easy as pushing code to GitHub seems like a very worthy goal.
Imprudence is outdated these days, unfortunately. You'll find that a lot of avatars and content don't display properly with it these days because of mesh upload and other new features.
Reminds me of how you get mysqltuner:

wget mysqltuner.pl

perl mysqltuner.pl

(Yes, they actually have a .pl domain for it)
I'm starting to nap at 3pm and its making me feel much better. I feel more able to solve the problems I work throughout the day. I try to powernap at 3pm. I have tried to exercise more and that has help me much more with my stamina.

I think with the sleeping problems I have that naps are sometimes a better solution or at least a stopgap measure to reduce stress.
While PSR-1 has pretty good universal guidelines, PSR-2 goes too far in insisting on subjective preferences (spaces over tabs, 80-char lines, bracketing styles). We should not pretend that there is a "correct" answer to these choices, just as long as they stay consistent on a per-project basis.

All told, I love site, and I hope it keeps iterating. PHP may be ugly, but it's powerful, and most of its bad reputation comes from good coders having to pick up the pieces from bad coders.
Lived there for 5 years before moving to SF last year. Love Seattle and summers are beautiful. But even I'll admit that that line isn't far off from the truth :).
Agreed, most input should not be filtered. There are some exceptions though like stripping whitespace and dashes from credit card numbers and phone numbers.

The filtering of input has nothing to do with security (that should be handled by output escaping and paramterized queries) and should only be used for improving the quality of the saved data.
A Better Project Model than the "Waterfall"
Sorry Pacific Northwest: the NYT Technology section found you. Expect some really weird and disconnected articles about how you have pull in "the IT sector" or "big data" or whatever analysts from obscure hedge funds think is the next thing. Hopefully we can stem the damage before they notice Austin or Boston.
A little math on Mitt Romney’s IRA
I had to stop using it at work.. I'd have to restart every 2-3 hours or performance became unbearably slow. The only other "solution" was to remove all my addons, and without the addons there was really no reason to continue using firefox (Firebug was supposedly the main issue, but without firebug I can't do any work)
Hook 'em Horns!

Sorry, conditioned response from this alum.
"To put the technology into practical use, the electric power needs to be increased by 100 times. But the group said that the parts needed for it are relatively cheap and that there is no major problem."

I have to admit some skepticism about this claim. 2-3 orders of magnitude increase in output power delivered may very well expose non-trivial problems. I.e. making the effort of scaling this technology up more than just linear.
Flask Ahoy Home - Here be Flask Modules
> Odd line given that Berkeley is also on the West Coast and is ranked as high as Stanford.

This is a NYT Technology article, don't expect anything to make sense.
The Caves of Clojure
Many say it best, risk averse. Early stage, tech savvy angels are as rare as sunny weather here in Vancouver. There are about 3 in total, all working out of Growlab.

That being said, complaining about it won't get it fixed. Growlab is doing yeoman's work to get the SV money pipe flowing north, they just need help. They need better companies with bigger ideas, more aggressive founders, and one decent exit. All it will take to lure some money out of the mining and oil sector is a couple big returns, and I see a few that aren't far off.

Tough as hell trying to raise out here, but it only makes you stronger.
For me this article simply confirms my conclusions on the subject from my own anecdotal experiences. Stay up all night, 50% chance I'll get sick. Go through sustained high stress periods, I _will_ eventually get sick. Funny enough I didn't get much sleep last night (or most of this week), had huge levels of stress before bed and low and behold, I awoke with a nasty Cold.

For the record, I consider myself to be fairly healthy. I don't normally get sick but when I do it's almost always because of lack of sleep / stress. I'm quite good when it comes to diet and exercise and although it has helped me have good quality sleeps and lowered my levels of stress, it requires real discipline to keep it up. For anyone who suffers from stress or sleepless nights I definitely recommend a good cardio workout 2-3 times a week and serious dietery changes (no sugars, low carbs, no junk in general, no processed foods, lots of greens and a well researched cocktail of supplements).

I love good coffee but I find that it is usually a lot worse for my stress levels than something comparable like an energy drink; although, both are really bad.

I find it fascinating how something as simple as a food colouring can completely ruin your sleep for the night, and the worst thing is you'd never know what ruined it for you.
Laying on a hammock across the Puget
Sound from Seattle typing this on an iPad. 75 degrees outside. Beautiful. It's not the norm, but it makes it that much more enjoyable when we get it. In fact, we get to experience all four seasons, and I tend to look forward to each as they arrive. I can't speak directly to the start-up environment, but it is a great place to live. The family manufacturing business I work at has been around for 30 years. As always, thre are things that could been done to improve the small-business climate.
While I agree with the author that feature branches are useful, I think he went too strongly the other way, against feature toggles.

Feature toggles allow you to do things like: 1) deploy only to certain users. 2) incrementally deploy to N percentage of your users. i.e. deploy to 1%, then 10%, then 100%. These are things that absolutely cannot be done by your VCS system.

If you're going to use FTs, then yes, they need to be baked in and well supported by your app. A consistent API & tooling are a good idea.

FWIW, at CircleCI (https://circleci.com), we use feature branches all of the time. We automatically CI all branches, and we use feature toggles. In fact, I'm toying with the idea of a feature-toggles-API-as-a-Service.
Parametized queries are just another way of filtering input ..
Pretty sure we had 13" monitors. And yeah, ugh. Reviews build and titleauthority were similar messes.
I always thought that what Rockefeller meant was that you need love something else and the money will come from hard work at that. Loving money itself won't bring you it.
Ask HN: "airbnb for mini-storage"...why hasn't this worked?
These guys have tried:
bit.ly/nEQvml - Storably, abandoned.
sparefoot.com/ - started as a P2P, but pivoted to a mom and pop aggregator.

This UK site looks to be doing only ok: sharemystorage.com.

The storage industry is large: http://bit.ly/LXaB86 and probably ripe for disruption.
Maybe the timing is right for this to be well-executed.
Anyone interested or have any insight?
I'm (Re)Learning C Before It's Too Late
In my anecdotal experience SQL injection attacks are almost as often caused by relying on filtering data and then forgetting to filter it for some fields. You should instead rely on parametrized queries and only use string operations to build queries where you must (and then do it very carefully).

SQL injections are very rare to non-existent in code where the programmers generally rely on parametrized queries.
Indeed, especially coming after this further up the page:

> Never ever (ever) trust foreign input introduced to your PHP code.

Where'd I put that sense of irony...
"Apple will recycle any PC/Mac/Phone/iPod at their store or by mail free of charge."

Apple will accept and transfer any such unit. That doesn't mean the unit actually gets recycled when it goes out Apple's back door. The recycling contractor may recycle 100% of the unit, or some lesser percentage.
Indeed? Where did you go to school?
That's really just a question of trust. If you know what Composer is, you trust it.

'apt-get install whatever' is just as magically scary and dangerous.
I agree it is an area that could do with research. However, we know consumer level GPSs have no protection against spoofing (indeed, you can buy GPS jammers from various websites for defeating fleet tracking systems).

You could as well use a replay attack against the pilot's control system (probably on 2.4GHz) using much cheaper hardware.

There is still plenty of work to do before these class of research drones become commonplace overhead - in particular, practically every onboard system is a single point of failure.
> In fact, we get to experience all four seasons

I'd say three seasons; there isn't really a proper winter. The average high temp in December (the coldest month) is 45 degrees...
How to be a visionary?