skysight-inc/HackerNews huggingface dataset:
But my problem is that most people wouldn't even think of subclassing QuerySet.

When we write methods that operate on collections of things, we typically use @classmethod. Without @classmethod, we'd have to write a custom metaclass (and instruct our class to use that) if we wanted even a single class method on a class. Multiple inheritance would break (or at least be difficult to reason about) when classes defined class methods, because there would have to be both an instance method resolution order and a class MRO. Fortunately Python's built-in `type` provides the descriptor protocol, which allows us to have class methods and instance methods and properties and all these other nice things without having to metaprogram or hack the interpreter.

All I'm asking for is a similar (if less ornate) interface for Django models, wherein the methods that operate on collections of things can be defined alongside the methods that operate on individual things, without requiring a knowledge of Manager/QuerySet internals.
We have tons of 20% solutions -- they are not any good for professional printing and graphics work

Yes, that's the real problem.

None of the OSS offerings is really anywhere close to the equivalent CS tool yet: not Inkscape, not the GIMP, not Scribus.

Quark and Corel should have the pedigree, but last time I had this conversation I looked up the latest features in Corel's graphics software, and it's basically a second-tier player these days. I've never used Quark, but the picture painted by others looks similar.

The thing that puzzles me is why no-one has yet come up with a credible competitor to CS (or, similarly, to MS Office). Two of the most successful software companies on the planet make a very significant chunk of their profits on these product lines, and they are certainly open to disruption by competition based on usability and/or quality/reliability as well as functionality and workflow. Of course there's a substantial barrier to entry, but it's not that unassailable in software terms.
They don't really exist yet (in the general availability sense of existence), because no Win8 device really exists yet (Win8 hasn't gone gold). The point is that they will exist, and if manufacturers plan on supporting Win8, they'll have to put the bootloader locks on. Once a Win8 device, always a Win8 device. (Though I'm not convinced at this point that people won't be able to hack their ways around it).
Optimising a forward index within MySQL
I agree that saying it's "too hard" is a cop out. But Microsoft doesn't provide the proper tools, that's not a cop out. I don't want to support IE6, but I know that if I don't put effort into it - customers will complain. When customers complain, someone complains to me. When people complain to me about dumb crap (like IE6 taking too long to load or "it just spinning") I get angry, then I have to waste time finding a fix \:
I think they can monetize Instagram easier than they can monetize Facebook Mobile.
For our project I've been thinking about this a lot lately. Could you maybe elaborate on how you did this with SqlAlchemy and how you write your tests against the new model? Do you now of any more in-depth articles on the subject?

This really seems to hit a sweet spot of moving business logic into the model and I would love to use this in some form.
Why not just pass a QuerySet implementation into models.Manager as an optional argument? This would be much cleaner, I think:

class QuerySetSubclass(QuerySet):

def new_method(self):
pass

class Model(models.Model):

objects = models.Manager(QuerySetSubclass)
It's not much overhead and considering the savings in views the LOC will probably be equal or less. It doesn't make sense for every model or attribute, but if you find yourself doing the same types of queries multiple times, this can be a big savings.
The possible combinations of the way your application can (theoretically) run far outnumbers the estimated number of atoms in the visible universe - even for small programs. You just need a couple of loops in loops.

Can you elaborate on this? I'm not convinced that this is true (but am willing to be proven wrong)
Replace "Tunisia" with "foreign country with cheaper labour", and "France" with "other countries", and you'd be about right.
Tech pundits are not very good windsocks for what people actually want. Remember the launch of the iPod? The iPhone? The iPad? Android? All were predicted to imminent doom. It's especially hard when salesmen are telling people what they want.

For the record, my name is Freeman. You now know someone who owns a Windows Phone. And when I bought it last year, the salesman at AT&T flat out refused to sell it to me until I called a manager, convinced I was making a huge mistake.

And of course you don't know anyone who has purchased a Windows tablet.
Mozilla says Microsoft won’t allow rival browsers on ARM Windows desktop
Potentially, but the problem becomes that none of these companies will ever make money - you can't stay on the VC treadmill forever, and over time it's going to be harder and harder to monetize 'SELECT COUNT(*) FROM USERS'

The other problem is that you can't pick the winner in every horse race. Facebook obviously won this round, but it just as easily could have been Orkut or any other social network that was out there. The traction model is almost certainly chaotic.
As Jason's technical co-founder, I can say that a large factor in why I personally decided to start a project with him was because his skills were complementary (read: opposite) from mine. It is easy to overlook all of the non-programming work that goes into building a business.

Could I have built a system that checked off all of the features of ours without him? Sure. But it would have sat there unused because it wouldn't have been informed by his experience and opinions, the customers and feedback he's brought in, the partnerships he's formed, etc…

The days of 'if you build it, they will come' are over and there is a huge amount of work to be done for non-programmers. I think this is actually becoming more true over time… especially in the early days of a startup. You dont even really need a programmer to build an MVP anymore.

I've met plenty of the people the original article is complaining about, and there is the caveat that there are exceptions to the rule, but there are plenty of naive, wanna-be developers as well. Non-technical founders live on a spectrum of capability just like developers. You should think long and hard about what will make you say 'yes I will be your technical cofounder' and more importantly: 'I need to do X to convince a biz-dev guy whom I respect to work with me.'
How is this different from microformats?
$7M funding round to fix movie marketing
I think http://momswithapps.com/ comes quite close. A curated list of apps specifically for kids. It also doubles as a marketing vehicle for app developers.
> And how is that different from a mechanical system?

Most mechanical components obey underlying physical principles that have linear or quadratic approximations, at least in certain regimes of environmental and other factors. Therefore, we can model the component and we can know when we are unable to model it.

We manage overall system complexity via physical/mechanical modularization, with things to insulate against thermal, mechanical, chemical, electrical coupling. By testing individual components, we have basic assurances on overall system behavior.

Software attempts to do this with "good design principles", but the truth of the matter is that just about any software component in a typical application can completely jack up the global environment for other components, and processes can make OS and environment modifications that completely break other processes belonging to the same user.

Try issuing performance guarantees on an airplane whose fuel pump can set μ0 and ε0 to -1 if the ground crewman that filled the wing tanks was named "Bob Null".
HP puts OpenStack cloud into public beta
Git Branches Considered Harmful
I sell services, what the $%# should I sell (Part 3)
I don't know where in Europe you're talking about those 700+ EUR/day but in Spain I've even seem job offers for those same 700+ EUR per month. Yeap, sad but true. Of course, the average is a bit higher. I'd say 18K - 24K/year on average for web developers. So as a freelance you're definitely not going to be making anything close to 700 EUR/day. Maybe 200, if you're good.
Near field Communications
Nice post, thanks for sharing.

I recently had a similar problem - I needed to serve dynamically resized images via CloudFront (with the images being stored in S3). Images are resized on-demand - if they exist they are served directly from S3. If not, they are resized and stored in S3, then the next request will serve them directly from S3.

It works rather well, although it is quite susceptible to the thundering herd problem - putting it behind a reverse proxy that supports collapsed forwards would probably help here.

I've put the WSGI app I used for this on github - hopefully someone finds it useful! https://github.com/mikery/s3cacher
>They'll get more apps come release time.

You sure? They've had the Developer and Consumer preview out, yet they still have a practically empty store, and have been literally handing out checks to try and fill it.
People don't leave the social network scene. They simply move to a new social network. As a social network moves to monetize, it becomes increasingly more intrusive and less functional. This reduces its utility to a point where another social network, which may not be to the monetizing 'step,' will have higher utility and thus will see an explosion of users, investment, etc.
Or you can test negotiation towards a particular host using this patched scamper, a traceroute-like tool: http://test-ecn.csail.mit.edu/
Since when is non-sensical strawmanning considered a point? Taligent is the one who brought out the "nobody would use them" nonsense in order to take it down.
Direct your attentions elsewhere.

Mixing business and romance is in itself very difficult to pull off without a massive explosion of drama that hurts everyone involved and spares shrapnel for those who just happen to be nearby. Add in the employer/employee dynamic, and we're talking at best a ton of work to try (and usually fail) to mitigate the power imbalance, and at worst a sexual harassment lawsuit.

You've described yourself as someone who finds it difficult to interact with others. You find yourself falling for someone in a situation where you couldn't help but interact with her. In other words, your hindbrain is screaming "take the easy way out!".

I get it... our society makes the location, selection, and courting of mates difficult and extremely high-risk for heterosexual males. It's dysfunctional, and it needs to stop. Women are trained almost from birth in a set of behaviors and expectations that hamstring you at every turn, and yet most feel powerless in a situation that can be just as frustrating for them.

Learn to be more effective in finding and wooing mates in a situation where you aren't mixing different relationship types, and do your best to step out of the expected patterns. When you aren't reacting to a self-imposed scarcity, passing attractions won't be such a big deal, they'll just pass.

--Susan

P.S. -- Yes, I know I just made all of that sound far easier that it is. It's not easy, but it does work if you go about it right. I know this because I tend to send my male friends and partners into the world far more capable at selecting and wooing interesting women than they were when I found them. It's just another skill to learn.
For simple approaches you can also bitwise through Q objects:

>>> from todo.models import Todo
>>>
>>> Todo.objects.incomplete()
[<Todo: 2>, <Todo: 3>, <Todo: 4>]
>>>
>>> Todo.objects.high_priority()
[<Todo: 1>, <Todo: 2>]
>>>
>>> Todo.objects.incomplete() & Todo.objects.high_priority()
[<Todo: 2>]
Bottom-lining it: Business owners and managers want to enjoy the benefits of a developed economy with a humane social safety net and strong worker protections (i.e. an educated, skilled workforce) but will move heaven and earth to weasel their way out of contributing to it. Nothing new here. It's what's grinding the life out of the United States.
Firefox “Burn” Millions Of Website Owners
This is a lot of FUD style arguments please let me elaborate:

a) Developing on windows is absolutely attrocious. If MS wants me to develop on windows, PUT SOME FUCKING EFFORT INTO IT.

b) Developing for Chrome, I support ALL operating systems.

c) Developing for FF, I support ALL operating systems.

d) Developing for Opera, I support ALL operating systems.

e) Developing for Safari, I support OSX, Windows XP, Vista, 7, 8.

f) Anything webkit related is supporting the iPad AND Android Tablets, and iPhone, and Android. Even without a special experience.

g) Developing for Mobile is an effort. Unfortunately. If you want a truly mobile experience.

Let's talk about IE now:

IE 9 is only supported IN WINDOWS 7. That's right, no XP, an OS which every other browser other than microsoft's support. So there.

If I allow IE users to use my site, I don't care if I make a giant "we don't fucking support IE" banner, people will expect it to work. And I will be the bad guy. If they visit my site and no IE support "please take 20 seconds to install chrome". The business will dictate if those people not willing to install chrome/chrome frame (no admin access required) are important enough to support.

Now... ITS 20-fucking-12 and windows still has the biggest piece of absolute shit terminal tool possible, with no alternative in sight. Furthermore terminal programs that work in linux, work in mac, so you get REAL developer tools. There is nothing decent like that on windows. Many things I need for my program to run DOES NOT WORK IN WINDOWS, so it's on MS' head to make them work. Apple saw that having a fully custom OS meant developer alienation. That is why they made OSX. People immediately praised it for it's ability to run dev tools, and developers were happy.

Now. Apple does evil. Apple is 2x as evil as MS ever was or will be. However Apple currently innovates (or did). However I can't argue with the fact that they have good fucking hardware. Developing on windows means piece of garbage hardware, shitty laptops till maybe a few months ago, who still cant fucking get touchpads right. YES TOUCHPADS SUCK ON WINDOWS STILL, 2012! On mac, touchpads are pleasant. There I said it, Windows is a terrible operating system from a user experience perspective, and that includes hardware.

So now why would I support IE? Look at my list up top. Please tell me what MS does to make me want to support IE? What benefits I gain? I pretty much only get users who don't know left from right mouse buttons, and unless I'm facebook I probably don't care about them anyways.

Edit: I am in no way saying IE 9 is bad. In fact IE 9 has multi-process, something I wish firefox implemented already. Performance is good enough for most websites. And the W3C support is up to par with normal browsers, though still a bit lagging.
Ever think about emosewa?
On some systems (Linux) there is no difference once threads/processes are initialized. Simple benchmark confirms it (see my comment about mmap).
How To Deal With Startup Life
I've been a SimpleNote user for a while, great to see the platform layer finally coming out.

I have a few questions:

- As a potential customer, I'm curious as to how sustainable is the company. I understand there was a YC seed investment in '10, but is the company well funded for the next couple of years at least?

- The platform seems to be ahead of Meteor, Firebase, etc, in that it already seems to have implemented a basic login and security model based on expiring tokens, but from the docs it seems like "finer grained control of these permissions are under development". Does this mean that presently any user can erase/modify data from any bucket, such as global data, data from other users, etc? If so, that's a big deterred for me.

- Are there any plans to allow querying the data? Key-value stores are fine for simple games, to-do lists, etc, but for any non-trivial app querying arbitrary fields is a basic requirement.

Thanks again, those are some great strides in the right direction.
In terms of raw hardware, CloudFront is never cheaper than scaling your own servers. But when you compare the cost of CloudFront to running your own globally distributed network of servers, pushing media to edge locations, etc. it works out to be quite cost-effective.
Nope, phone number is dead.
Digg engineers heading to Washington Post's SocialCode
This is pure FUD.

Membership in the Khronos Group is open to anyone who's willing to pay their fees (which includes Mozilla, Google, Opera and a number of universities, by the way - not just GPU vendors). The specifications they produce are publicly available at no cost. They even have a public mailing list so you can follow the discussions of the working group. How much more open do you want?

Maybe a better question: if that isn't what you consider "open", what is?
Digg Engineering Team Joins SocialCode
AWS CloudFront is $0.12 and HP CDN is $0.16/GB for first 10TB for USA. What pricing are you looking at?
This strikes me as throwing the baby out with the bathwater. While the criticisms are valid, and people love to hate C++ for all sorts of reasons (I avoid C++ exceptions altogether), C++ is for practical purposes a superset of C, so if a C idiom works better than its C++ equivalent, you can just use it instead. I've been working on a project which has necessarily been written mostly in pure C (kernel code), and I do really miss C++'s extra type safety. (GCC has some type warnings that help, but it's still not as safe)

Then again, maybe an entirely different language, geared towards high availability, such as Erlang or Ada, might have been a better choice in the author's case.
It seems like this is such an obvious way for FB to make money. E.g. if I am planning a party or other event, FB should somehow be making it easier (other than managing RSVPs) and taking a commission. The deal that makes sense is Facebook and Papa John's, FB and Ticketmaster, etc etc.
Replying to my own thread here:

If an investor was watching one of their companies continually chasing a limited resource and paying an ever-higher price for those resources just to keep their business going, wouldn't they counsel the company to change their business model some? Look outside the box? Look for different suppliers to keep the costs down, create a competitive advantage, etc?
Cybersecurity Firms Ditch Defense, Learn To 'Hunt'
The thing that is different here is that 'he raised a couple million dollars.' If you show up at my door with cash in the bank then you get my ear. This article is talking about the guy that shows up with just a plan and no cash.
There is fundamentally something wrong with needing to go to court to get permission to fire your employees.
It's not a tech pundit, it's market data.

Yes, maybe after 10+ years of having negligable market share Microsoft will suddenly pull something awesome out of the bag and people will suddenly forget about the horrible experience of using Windows on the desktop, and start wanting that on their other devices.

But I doubt it. The most surprising thing about this story is that mozilla care about it.
Augmented Reality to Detect Skin Cancer
I like the point that to deliver a solution you need to wrap up different services that can otherwise "split" effective delivery of a project.

Looking forward to hearing about how to mitigate the risks of taking this approach!
Auto transport and car shipping
The Best Entrepreneurs Are Undaunted by Failure
Ask HN:Landing page feedback
http://appynote.com/

Is it too busy?
Does it convey a clear message?
Does it make you want to try it out?
Will HTML5 overtake native mobile apps?
The background made that post unreadable for me. Minimalism done wrong.
I see your distinction. I'm not talking about Siri improving itself I'm talking about Apple suddenly now being the primary recipient of your search requests and mining the voice data. You could say your emails should be just as private as your phone calls. I see this as just Googles version of the same strategy. Not saying I agree with it though.
I think that the word 'reputation' is key to the entire page. I like the part about 'Customers Love Transparency' it makes me agree with you.

The sets of bullet points are very relevant and make the book seem informative, actionable and useful. I'd try to make 1 point not run to 2 lines.

The phrase "Master building rock solid trust and reputation" didn't scan quite right to me. I'd probably change it to something like

"Build rock solid trust and reputation"

I do think injecting a bit of carefully chosen colour would help too. Privacy policy and law can seem a dry subject so it's up to you to show the importance and add the colour of your enthusiasm.

For example if you look at a book like The Thank You Economy, a striking colour scheme and focusing on reputation, trust and relationships makes you understand the passion the author has for the subject.
No, the bottom line is that people respond to incentives, and that politicians are too blind to notice even the most obvious of perverse incentives in whatever schemes they happen to dream up.
Simple model for assessing security maturity
Where are you finding prices for HP Cloud?
True, though many of us feel very comfortable developing on Windows. Seems unfair that we should pay the Mac hardware tax just to test with Mac browsers when Apple could provide OSX on a VM, license-restricted for testing purposes or similar.
The triumvirat of the future Web:

Microsoft : IE :: Apple : Safari :: Google : Chrome

It will be a hard place for Firefox and Opera.

I read the blog post again, and I understand it so, that Mozilla can make a Windows 8 RT (ARM) version of Firefox, but only in a sandboxed version (no plugins/extensions?) and without access to the classic environment. So Microsoft is more lenient than Apple, but the result is perhaps the same, that it will be too tough to compete with the built in IE browser and its privileged features.
It does in city/residential neighborhoods in the US as well. Outside of that, a mail man cannot walk door to door, so he delivers them from a car. I'm now wondering how that is handled in your location?
Hey - play it safe. Company relationships can be tough, and if you think your not the type that could maybe handle all outcomes (you know, flit if off confidently and play the game as it were) just be mindful of the consequences should things go wrong.

But look, your human, if theres a pretty girl and you guys have the same interests certainly continue to do what your doing. You'd be doing you and humanity a dis justice if you just "stopped" talking to her, or stopped any consideration of what "could happen".

I think if I was you I would wind it up to the point where you are both certain what you would like to do next, and just go with the flow.

(...or just fire her! ...joking of course!)

Enjoy