skysight-inc/HackerNews huggingface dataset:
Take a look at my library, swigql[1]. You can create a base query and then extend that query however you want via template inheritance.

[1] https://github.com/civitaslearning/swigql
In many urban areas there are speed cameras as well. I live in Washington, DC, and there are lots.
I've known the rule since i was a kid, but i've never seen it in an actual game.
We need more female entrepreneurs with attitudes like this. Although awareness for equality issues is undoubtedly important, Collin hits the nail on the head by re-focusing on the undeniable truth: running a company is just plain hard. Sure, being female, minority, short, nontechnical, etc can all be drawbacks, but I'd argue that they all pale in comparison to the difficulty that is successfully running a sustainable company. Full disclosure: I am relatively young (20) male hacker of minority descent, and I used to use some of these factors as excuses but now I treat them as irrelevant. Those things simply don't matter to me (in context of running a company or building a product) because it's not really in my power (and not really my overarching mission) to change the culture of the valley and the rest of the tech world. Just my $0.02.
In some cases they connect 3rd-party delivery services with the store as well.

AFAIK, Postmates and Caviar are the only two companies going with the two-party model, but employing their own delivery drivers/couriers.
Keyboard Acoustic Emanations (2004) [pdf]
despite you getting downvoted, there is some truth in this. but mostly at the very top of the food chain, where your sole accountability is to your shareholders which is expressed in terms of $$, nothing else.
I usually just restrict the SQL I'm using to something reasonable and I've never had any trouble...
Dear readers, the Montana Speed Limit paradox is made up by an advocacy group with a barrow to push. Remember folks, trust but always verify. To quote from http://en.wikipedia.org/wiki/Talk:Speed_limit#Montana commenting on http://www.hwysafety.com/hwy_montana_2001.htm

The source looks somewhat unreliable and biased. I looked up FARS data for
1998,1999,2000 for number of fatal-crashes in Montana (state), for (nhtsa)Roadway
Functional Classification=Principal Arterial - Interstate and get the following
figures for crashes by month:
1998-4,0,2,4,5,1,5,4,0,0,3,2,30
1999-2,2,4,2,1,0,2,9,4,2,1,5,34
2000-2,1,4,5,1,5,3,3,3,1,4,4,36
However the "study" has
1998-4,0,2,4,5,1,5,4,0,1,3,2,31
1999-2,2,4,2,1,0,2,7,4,1,1,4,30
2000-4,2,8,5,2,7,7,3,4,1,6,7,56
I've removed the section, it's obviously made up numbers for 2000 for interstates
to suit an argument, nowhere near fact. There is a reason for the use of reliable
sources in Wikipedia and this is a case in point. Alex Sims (talk) 10:13, 25
January 2011 (UTC)

See what someone with an authoritative sounding domain name can do!
Find out where your time went this year
Thanks for sharing your experience. I've been meaning to try Slick, and YeSQL sounds like a nice way to reduce some boilerplate with no real downside. I go back and forth about how I feel about ORMs. I think everyone can agree you'll need to learn SQL for any non-trivial project, even if you end up using some abstraction on top of it.

On a tangent: you mentioned Upserts in Postgres features. I thought Postgres didn't have any kind of Upsert. Was it added recently or something?
110 isn't that much different to the US's 75. There is much stronger enforcement though. I spent six weeks driving around the US, multiple hours most days, and I was generally 0-5 mph above the speed limit... but I didn't have to look at the speedo. Came home, and it was painfully obvious just how much of my attention was split watching the speedo like a hawk because people can and do get fined for doing 64 in a 60 zone. And the fines aren't trivial.
This looks cool. I wonder if it could be made to run on Heroku? I gave up my personal server awhile back to run everything virtually.
web2py gets a lot of hate from some parts of the python community (with Ronacher & Moss-Kaplan being the most prominent examples), but its DAL (Database Abstraction Layer) feels like the right way to approach this: It's not an ORM, but it gives you a lot of what ORM gives you; It's not directly SQL, but the mapping between DAL code and underlying SQL is almost trivial (though it might depend on the specific DB). It just works well, and can be used independently of web2py.

It will even do database migrations for you if the schema evolution is reasonably simple.
Swift won't be hard for current iOS developers to learn. The Cocoa API's are the big learning hurdle for iOS development and they are the same with Swift. Once you under stand the basics of the language, after building a couple of projects in it you will be up to speed. I see the sentiment that learning languages isn't hard here all the time and it's mostly true. If you know the fundamentals of programming and the API's well a new language shouldn't be an issue. Anytime I think of going into web dev full time (I do some, not much) I am daunted by the fact I need to know: HTML, CSS, Javascript, a server side language e.g. Ruby, SQL etc. etc. I know bits of each and can get by but it seems like a much more daunting thing to me than learning one language and set of API's that works on a device with very little fragmentation/variation in hardware capability/screen size.
Aren't the details from the discovery process private? Can one party in a lawsuit use information gleaned during discovery as part of its PR efforts?

From a press release from the patent troll:

"When Personal Audio first began its litigation, it was under the impression that Carolla,
the self-proclaimed largest podcaster in the world, as well as certain other podcasters,
were making significant money from infringing Personal Audio’s patents. After the
parties completed discovery, however, it became clear this was not the case. As a result,
Personal Audio began to offer dismissals from the case to the podcasting companies
involved, rather than to litigate over the smaller amounts of money at issue."

http://personalaudio.net/wp-content/uploads/2014/07/Carolla-...
> I've found myself thinking about the database as just another data type that has an API: the queries. The queries return values of some type, which are represented as some object in the program. By moving away from thinking of the objects in my application as something to be stored in a database (the raison d'être for ORMs) and instead thinking of the database as a (large and complex) data type, I've found working with a database from an application to be much simpler. And wondering why I didn't see it earlier.

Exactly. ORMs feel to me like a result of trying to stick together two different abstractions with a duct tape and hoping it will save us from writing code.

The two abstractions would be:

- #1 Database as "just another data type that has an API", i.e. what is stored in the database and what are your business objects are two different things and should be explicitly separated. ORMs break this by Active Record pattern.

- #2 Database as invisible persistence layer that automagically stores the state of your business objects, in the same way as garbage collector automagically takes care of reclaiming unused memory. ORMs break this by leaking SQL all over the place.

Getting #2 and not having to deal with RDBMS explicitly would lead to a great simplification of code, however we seem to be nowhere near that with current libraries (I heard some rumors that some Common Lisp Metaobject Protocol magic can get close, but I need to see this with my own eyes). So until that time I try to stick to abstraction #1. I do use Active Record, as it simplifies things, but try to explicitly avoid treating ORM objects as business objects.
Paypal's 2-Factor-Authentication: The Good, The Bad, And The Ugly
Everyone Is About To Get An API With The New Wordpress API
I'm not even sure what your point is. Other than trying to be offensive.

I have two young children. I cook the vast majority of breakfasts/dinners/meal-planning. Do almost all the dishes. Do 75% of the day-care pick-ups/drop-offs. Most of the late-at-the-office-hours are hers.

If you're going to get into a discussion about gender bias it'd probably help to leave your own at the door.
> We offered temporary monetary incentives for drivers

Ah, so paying drivers more made them more interested in accepting rides?
The Five Tough Truths Of Cybersecurity Software
> Someone describing their app as "beautiful" or "elegant" tells me that they really care about the beauty and elegance of the app

When I see an app described as beautiful or elegant, I assume that it lacks important features. I assume the same when an app is described as lightweight. When I see an app described by critics as bloated or having a steep learning curve, I assume it might be useful.
It's silly that all the anti-IE comments are being downvoted. IE8, 9, 10 and 11 are still complete shit and the debug tools are even worse. Microsoft talks a good game about implementing all these standards but I experience bugs regularly in Trident, even when I was developing something specifically for it a few months back. It's a completely primitive and glitchy browser that doesn't need to exist.

Firefox has had its problems too recently, but at least it's open source and they're trying. Microsoft has literally nothing going for them on this front.
Lightness, nonviolence and the Unlicense
The permissions are a lot to ask, but I found it worth the price.
How Atlantic Warming Brings Pacific Devastation
Are Mind-Powered Drones Next?
ORMs are great for simple CRUD operations. As soon as you want to do anything mildly complex or desire efficiency, you need to write SQL.

As long as the ORM helps me with the former and gets out of my way for the latter, I'm totally happy to utilize then.
> Someone's perception of you is not coded into your genetic pattern

I agree. Though perception is not the same thing as caring about your perception. Being perceived as assholes (and enablers of child labor, pollution, etc) doesnt stop men from striving to be CEOs of huge international conglomerates. I do believe that there is a societal issue with appointing women as CEOs of existing enterprises (rather that women being CEOs/founders). This fear may be founded in "can this woman rise to the sufficient level of asshole necessary to always make shareholder-value-enhancing decisions?". maybe it is the higher morality of women (a good quality by anyone's standards) that acts as a glass ceiling in business.

> A hundred years ago you could have easily claimed that women shouldn't have the vote because of tens of thousands of years of biological differences. What makes that argument any different to this one?

no one is preventing women from giving up raising a family to dedicate themselves to business. i doubt that the disparity between male and female CEOs can solely be accounted for by oppression or the perception that "trying isnt worth it because i'm a woman"
That's a pretty terrible sentiment. Unless you know something that wasn't told in this thread, why would you think that?
Unfortunately there's no way around it to show you the personalized report. But we certainly take privacy very seriously.
Show HN: Embark – A hyper minimalistic new tab page for Chrome
I find the species of SQL in any sufficiently complex application are too varied for a blanket rule. Add performance demands, and some ORMs are right out.
> I suppose male human and female human are the least ambiguous.

And make you sound like an alien anthropologist, rather than, well, a human.
If it works but performs poorly due to poor design decisions I definitely care. Otherwise I'm with you -- I tend not to care about the skill level of the programmer as long as the application works and has no glaring security issues.
> Database portability is a poor argument for using ORM in my opinion.

Especially since SQL abstraction layers exist that are not also ORMs (e.g., Sequel for Ruby -- which, yes, has an ORM included, as well.)

> If you stick to ANSI compliant SQL, you should be fine when porting over databases.

This would be true if most real RDBMSs implemented a superset of any particular ANSI SQL standard, but that's not actually the case. Most real SQL-based RDBMSs support different subsets of the standard plus different extensions, so its not all that common that non-trivial code ports well without conversion.
I think it unlikely that pre-existing footage can be used, because HD video is almost always compressed, thus masking the minute vibrations in the pixels. The algorithm described in the article work best for uncompressed video directly from the image sensor, and they can run it in real-time without needing to store the video.
One day. One day I hope Xamarin will find a different financing model, or like you said include VS support in their indie plan. It's just far too expensive right now.
This article makes me almost sure that this company will not exist for much longer. Such a complicated and twisted thinking about a conceptually simple microeconomic question is not a good sign.

Why not just force drivers to accept any ride? Congratulations you now have 100% reliability.
What happens when it's part of a keyboard extension? afaik no part of your extension's view may pass in front of your app's view
I'm also confused by this. My guess is either

1) Only one driver is pinged, and they have a narrow window to accept until the offer is removed and given to a different driver.

2) Multiple drivers are pinged. If any one of them accepts, the other drivers are not penalized (but lose the opportunity for accepting this offer). If no drivers accept, all of them are penalized.
Sweden actually has a goal of zero traffic deaths overall.
http://www.economist.com/blogs/economist-explains/2014/02/ec...
Very interesting. At least they aren't cfengine.
I moved from the suburbs of OKC to California three years ago. I personally am extremely happy with this change, but I won't go into details here.

What I do wonder: OKC has lots of issues with sprawl. How will this influx change things? Is it possible that the city will become more compact and urban, or will it continue the current trend of expanding the city so that every house is on at least a half-acre of land? I have no point of reference for which is more likely.
Sorry, but holy shit.
And yet occasionally lets slip quotes like the one I posted earlier, in which the officer sites anecdata that speed isn't the problem. The article I posted was specifically countering that notion. The broader issue I have with this article is its prescription for bringing speeds and speed limits closer together--namely increasing the speed limits. I think using roadway engineering to decrease the speeds is actually addressing the first order problem.
No, details from discovery are not private.

But Personal Audio is lying in their press release. They want to drop the case because Carolla is fighting back.
Sadly the only thing submitting a press releases did for me is to ensure that I get weekly spam from press release companies, and individuals willing to fix my SEO and boost my sales.
> And then someone came and said: "I created this concise and super flexible language for querying data." Would people want it?

Sure, but if we're going to imagine that, hopefully it looks a lot more like a D [1] than like SQL.

[1] As described in The Third Manifesto, http://www.dcs.warwick.ac.uk/~hugh/TTM/TTM-2013-02-07.pdf
I was looking at Oscar Toledo's family website (http://www.biyubi.com/eng_principal.html) and it's rather interesting, apparently they assemble their own PC's have their own OS and Browser. Has anyone here tried any of these out?
I'm not sure this assertion holds any water for one. But I don't see how this could be framed a gender specific issue for another I suppose. Either way make sure your partner understands your ambitions when you get together?
I've noticed the odd trend of people bragging about how few lines it took to do X. Seems like people are trying to equate less loc == better code, which is not usually the case (better/more robust error handing and correcting, more complicated AI logic, etc).

It just means you are using a more abstracted version of whatever.

In reality, a 111 lines of Python program is likely thousands of lines if you were to count all of the standard Python libraries and/or any 3rd party libraries used.

What if I took this program, wrapped it in say, 5 lines of Python, then said I implemented chess in 5 lines of Python? Did I really? Of course not... but it makes for a good attention grabber.
You are absolutely right: the fact that microscopy is not sufficient doesn't mean it's not necessary in the first place. Besides, a portable microscope would definitely be a boon for other types of clinical work like urianalysis --as elij pointed out-- or plasmodia detection (for some species, at least). I stand corrected.
Previous discussion https://news.ycombinator.com/item?id=8113757
Spin it the other way and you get "people who are popular want to be your friend."
I think it may be a good thing, but all these boggy unrequested animations are destroying my eye. Where is the play button? I don't want animations!
Fuck "Personal Audio".

Go Adam. The world needs more people to stand up to bullshit like this. (sorry for the language in this post, this sort of stuff infuriates me).
You can force an app to inform a driver that they must pick up a client.

You cannot force a person to turn the ignition and pick up a stranger. This is a choice that has to be incentivized.
Death of the taxi medallion: SF cab company ponders major change
I completely agree with this article and feel completely justified by it. When tablets/iPad first came out all my friends were buying them. However I rejected them completely. I thought why would you pay that much for what you are getting in terms of hard drive space, ram, and processor speed? For the ability to look cool with a futuristic device? To use your finger to control it? For the lightweight, compactness, and convenience? Tablets/ipads are purely consumption devices, but laptops and smart phones are productive devices that can also behave as consumption devices. I just didn't get it. In fact I finally broke down and bought a tablet, and guess what, it has become my children’s toy/entertainment device, and my wife and I rarely have a desire to use it. I guess they finally got my money.
I agree with this, but SQL is also great for writing CRUD, and 99% of database interaction is CRUD.
All mentions of “love” and “hate” on Reddit over the past 2hrs (3:39pm-5:39pm EST)
Parse Security Quiz
>"On average, you are surrounded by people who are more successful than you."

How does this one work? It doesn't seem to fit. I'm more likely to be friends with friendly people, more likely to have sex with people who like to have sex, why am I more likely to be around successful people?
See: Metro Atlanta
GNU Emacs: Competing With Other Editors–Should It?
My personal opinion on such libraries is that they're cool, and I think they do make life easier but they're just a more advanced form of string concatenation. No notion of SQL types, syntax or structure. To follow the template analogy, a low level abstraction library allows me to not only change the variables but also change the template programmatically. And not by concatenating more stuff onto the template either :P

Prepared statements, by contrast, are also a form of string concatenation. And they have some understanding of type and syntax, but only because they learn them from the server:

http://www.postgresql.org/docs/9.2/static/sql-prepare.html

http://dev.mysql.com/doc/refman/5.0/en/sql-syntax-prepared-s...
The way it was already designed, it was incredibly easy to port to Sandstorm. Like, I think I changed three or four lines of code tops to get it working?
I've generally found the following mantra to hold true:

ORMs for a singe record (and associations)
Raw SQL for groups
Microsoft sues Samsung over Android patent fees
If the limit were higher, wouldn't you still zone out on cruise control, and so on, just at the higher speed?
For long time, I have no idea that SQL & OO are not friends. I work in a language where such problems don't exist. And it have nice ways to move data between tables and data structures and objects (For example: SELECT..INTO Array NAME).

Is FoxPro. Even the stored procedures were foxpro, all along the stack, from UI to inner DB actions. Is a shame that this kind of programming is "lost" today.

This is kinda like work with the postgresql main language everywhere, but the language is not half-powerfull. You don't need a "database" language and a "application" language. In fact, the whole experience was very good, and even let some people to do his own apps (kinda like Acces) because the approach was not intimidating, like VB, C or Python is (ie: Torwards do database apps).

So in short: Back them we don't use a ORM, we don't need it, we still have nice syntax and helpers. I still try to backport some of this to my own code, but the SQL is SOOOO restrictive that the effort stop fast.
That may be true by frequency of query execution, but not by frequency of appearance in an application.
> 5. All Latin alphabet languages and UTF-8 characters are supported.

This claim really needs revising, only latin languages are supported, and the implementation doesn't use the Unicode boundary analysis algorithms. It certainly doesn't support the whole of Unicode as it first appears.

This is a nice effort but make it clear that it's Latin-only. Also, how well does it measure up to the Unicode UAX #29 grapheme/word/sentence break algorithms?
If OKC follows the pattern of Houston, then some high-density housing will go in closer to downtown and other job centers, but for the most part, the sprawl will continue.

Developers in NW Houston are putting 3500 sq ft homes on 0.25 acre lots, and the sprawl shows no signs of stopping. (low interest rates, cheap land, willing commuters)
Like anything, you always need to learn at least what is going on one layer below the abstraction layer you are working in. So if you are using an ORM you need to learn SQL. If you are using ruby or python you need to learn what the interpreter is actually doing. If you are using C you need to know what the machine code is doing, etc.
In a weird way, I've always admired the German method of just smashing words together when they become commonly associated in compound phrases. It creates some long, ungainly mouthfuls. But at least you never have trouble parsing them in a sentence. :)
I think what limits the tablet/IPad market today is the state of computer/human interaction. With typing still the dominate means of human/computer interaction, tablets/IPad don’t stand a chance. For tablets/IPad to become the dominant form, human/computer interaction would have to move beyond typing (directing computers with our minds). But by the time this happens computers are likely to be implanted in humans so one would not need some external device to interact with. Perhaps they will be a bridge technology if there is some time between mind control of computers and computers being implanted into humans.
"A human"? "Human" is an adjective. The term is "human being".
> Seems like people are trying to equate less loc == better code

No. It's a tradition that goes back a long way. When it started it was about making code better - more efficient; faster; smaller. Part of that was the limited hardware available.

Now, when huge computing power is available to almost anyone, it's about the fun of finding that shortcut or that weird trick to remove a few lines of code.
> The problem was SQL got standardized, and became static.

SQL hasn't been static since it was first standardized, much like C++ hasn't. However, there's may be a good case that many of the central, underlying design decisions that are by now difficult to extract without tossing the whole thing overboard could have been done better with the benefit of several decades more experience in PL design and understanding of how databases are used.