skysight-inc/HackerNews huggingface dataset:
Sure. Basically, I have a schema called template_tenant, and a table public.tenants (ie. in the public schema). For each record with id n in the public.tenants table, I have another schema tenant_n cloned from and kept in sync with the template_tenant schema.

The result of this is that I have dozens of tables duplicated across n schemas. In Rails 3.1, the Postgres query cache, exec cache, and the identity map do not account for this, nor does table_exists?, and the connection pool would often check out a new connection without preserving the search path.

In Rails 3.2, most of these are fixed. The exec cache, query cache, and table_exists? now observe the search_path properly, and I believe the connection pool behaves better, though I haven't had time to confirm that. The identity map still doesn't understand, which I've filed an issue for: https://github.com/rails/rails/issues/4044

I'm really happy with this pattern for multi-tenant apps. It gives me a lot more confidence that no data leaks will happen than scoping queries, and the performance increase is significant with large datasets (unless of course, for some reason, you need to aggregate across tenants). It's nice to see rails supporting this better.

The sixth patch I had hacks support for iterating over multiple schemas to migrations. I add "schema_set :public or :tenant" to the top of my migration, and it runs either once on the public schema, or n+1 times on my template_tenant schema and my tenant_X schemas. It wouldn't make sense for this part to be in rails proper at the moment.
Discus thrower - http://en.wikipedia.org/wiki/Anya_Major
It shouldn't even be legal to be able to give up your right to sue.
Any such group for Vancouver?
Finding an End to Energy Gridlock
These are the top 10 most visited mobile sites of 2011
Your last sentence has been my experience so far. Essentially, when a company gets me, they seem to realize that month that they got more than they expected and its a good thing.

One thing I've noticed about some (not all clearly) people who are very good at one thing (let's say back end programming) is they might not really want to do something totally different. Dealing with customers? Writing documentation? Writing front end javascript? Its a bit like pulling teeth.

I don't mind in the least. Documentation writing is great. Making beautiful products is great. Listening to customers (and investors) is great. And yea, I like coding too!
but I'm no myth! http://tomcarnell.com And as it happens, I'm looking for a new project for 2012... :-)
I haven't read sant0sk1's post -- it's probably the same idea -- but I gave an ultra-high-level overview in another comment: http://news.ycombinator.com/item?id=3374294

EDIT: This is my migration hack: https://gist.github.com/1f5e67b018d304dd1198 . Most of the SchemaUtils/Schema stuff is just wrappers around setting the schema_search_path.
(and no, I am not expecting and up-votes for that comment! - but just maybe something interesting will come my way...)
I'm sorry that i'm going to sound negative (i'm really just trying to offer some perspective), but that just isn't the right approach for a product you want actual people to use. It's not "dumbing down", it's proper UX/UI that enables your visitors to "just know" what to do next.

Taking a look at your landing page, I am immediately presented with an interface that seems less than intuitive. There are too many options in my face. If i'm going to drag and drop the file (this is dropsauce after all) why is there an add files button as the most prominent item in the page? Why is there an upload button? Can't you just upload things in the background and show me an inline progress bar ala Gmail?
Perhaps R for SBCL could be also a good idea.

There is maxima, a symbolic computer algebra system and cffi to connect with C, also f2cl (fortran to lisp), quicklisp for distributing libraries. Also a R version in sbcl could be used to translate it to clojure in order to interface with java.
It must be storing them in localStorage. That would make a truly minimalist blog - the one that is visible only to its author :)
Jobs was not "only" a visionary. Before Apple, Jobs worked at Atari as a technician. He would get assigned tasks like designing circuit boards. If you consider the early days, Jobs only looks like a business guy if you stand him next to Woz.

Anyway, I think I can say without exaggeration that I'm better than average in both engineering and design. At least for me, I think you have to be born that way -- you get pleasure both from aesthetics, and from solving problems. And when left alone by a world that sees both as separate, you just do your thing.

I started got a computer when I was 11. Other people played games. It seemed completely natural to me to spend almost all my time programming pretty graphics demos.

But how do you get any better? I think you have to be the kind of person who seeks challenges, who seeks a ladder to climb.

For computing, I think we all know that drill. Open source has made it so that you can start anywhere and go all the way to OS development, if that's what you want. You can also get work (even if you have little experience) and use other people's resources to educate yourself.

For design, it's a bit harder. Perhaps I was lucky in that I continually wavered between science and engineering, and design and journalism.

In my teens and early 20s, I was the production/layout guy at student newspapers. So I could educate myself, with thousands of dollars of other people's money, in a way that was almost ridiculously unsupervised. That sharpened my appreciation for typography, photography, design, etc., as well as gave me some experience managing people, budgets and deadlines. But I guess that other people in that role might not have gone as crazy as I did for the design aspect. Especially for the entertainment sections (where design was allowed to be more fun) I was trying to top myself with every single issue that I did. You know that you're doing it right when (a) the bloody thing actually makes printing deadline, week after week (b) you walk around the university and you see people putting your layouts up as a poster.
There's a tech talk with Simon Peyton Jones giving an introduction to type classes in Haskell as well as discussing how it relates to OO at http://channel9.msdn.com/posts/MDCC-TechTalk-Classes-Jim-but...
This is a really great point. In fact, _any_ survey with self-selecting participants is highly susceptible to selection bias. What surveys like this are good for is measuring the opinions of a group of people, weighted by degree of explicit interest in the subject. Most people just use the default light-backgrounded-schemes, and don't even think about it. The silent majority.

However, this survey is useful in that it reveals that there is indeed a passionate core of users who prefer dark backgrounds. The survey author seems to understand all this, as his conclusion is that it is definitely worth adding a dark background option, but that it may or may not be the default.
my whole system is dark themed.
Here is a scary thought
http://www.projectrho.com/rocket/weirdastronomy.php#id--Elda...
More importantly, IF they have that many pageviews, it ought to be scaling in proportion to deals with sales of groupons. So either their margins are horrible, or their tech cost per unit sold is horrible, or something else we don't know about is causing the issue.

It could be they're trying to estimate based on handling their growth for the next three years, for example, in which case of course the cost could be horribly out of whack with current revenues.
Let the games begin [Chrome web store]
Sure, the iPod got people into the store, but presumably people played with the machine in the store or at a friend's house or read reviews before actually buying the machine.

Sure, lots of developers have left already because of the app store shenanigans. But judging by the tone of comments here in Hacker News, the patent shenanigans have alienated another group.
I might be considered a larval Designineer. I started off as a visual designer, then learned HTML and CSS, then Javascript, then out of necessity began maintaining an old ASP Classic codebase. As soon as I started to understand the code I was reading, things got easier. Then I built a small data-backed web app and I was totally hooked. In the last two years, I've learned to build nontrivial web apps from the ground up. SQL, MVC, Backbone, UI, design. I'm pretty proficient at each level of the stack, but only insofar as it's related to the web. Eg. I know C#, but I wouldn't have the first clue about how to write a native Windows application. So I end up feeling like my knowledge is the proverbial mile wide and inch deep.

I'm looking for jobs right now, and it's been an exercise in frustration. The coding jobs require CS degrees, 5 years of experience, tech interviews with big-O notation and data structures (trying to teach myself basic CS theory, but need a job now). The UI and design jobs require a smidge of front-end knowledge, but are mostly mocking and wireframing. I want to be able to employ all of my tools, but I feel like the hiring market makes me pick between being a front-end or a back-end guy, and I don't currently have enough specialization at either to get a reasonably good job.

How can I find companies that could use someone like me, when their job descriptions are specialized? Any thoughts or advice?
I must respectfully disagree. It can be a significant and useful feature of a contract fully negotiated by parties of equal bargaining power and it comes up quite frequently as something desired by both sides in contracts between sophisticated entities like businesses.

I do however find clauses like this absolutely abhorrent in a take it or leave it contract where the bargaining power is grossly uneven. I find it even more disturbing when such contracts are essentially presented after the fact, such as when printed on the back of a ticket or...included as part of a mandatory update for a system you purchased long ago and can no longer return.
I've been eyeing jruby for quite a while but never had much success with it. There seems to always be the odd gem not supporting it (e.g. jruby-openssl is broken which a lot of my stuff depends on).
Software Testing
Try our award winning software testing and quality assurance testing tools - fully integrated into a bug tracker and project management platform
This is great! Thank you for sharing. I appreciate all of the IDE links.
I've been using Jellybeans for Vim (https://github.com/nanotech/jellybeans.vim) for some time and, try as I might, I can't make the switch to Solarized.
Some thoughts that immediately spring to mind:

1. Initially focus on the weight loss and quit smoking programs.

2. Create special landing pages for these programs and A/B test them using different traffic sources.

3. Incorporate the client's name in the audio, that will really give it the personal touch. If it's too difficult to do that in the actual hypnosis session then add a preamble.
You should be ejected from a conference for hitting on a woman? I think not.
Unless you're spending immense amounts of R&D, that tends not to be as severe a problem as constricting development because of patent thickets or creating aggregately large legal problems (Lodsys, et al).
It probably isn't. But that doesn't mean they can't put it in the terms. Now you have to fight two things. First the terms and then the thing you are actually suing for. How convenient. Most people give up at the thought of that.

Hopefully this will set a precedent.
Erroneously calling random things that lack functionality and polish "minimalist" is a fad, but the minimalism itself is an well established form of design.
My cofounder at http://bagcheck.com had the perfect mix of skills. He is a designer that also deeply understands HTML and CSS. He has some experience in coding, but knows that he shouldn't focus on it and uses those tools only as much as it helps him understand his medium. If you have have the chance to work with @lukew, I highly recommend him.
It is ridiculous that a company like Sony, can't guarantee the minimum effort into delivering a secure product to its customers.
My opinion is that it's not important if the clause will stay or not, because the reputational damage for only trying to introduce it, it's a complete failure for them for one simple reason: it's dishonest.

Sony, Microsoft, EA, etc. stop abusing our patience and please deliver a great, secure, product like it's meant to be.
Do the electrons really get squeezed closer to their nuclei? I thought that only happened in massive collapsing stars where gravity overpowers everything.
I have a small fantasy of somehow forcing a company to agree to MY terms and conditions.

"By accepting this payment, you agree that..."
Mostly a list of spin-laden, news release rehashes and promises that won't be met anytime soon. Hurrah.
* The Haskell guys can use Algebraic Datatypes and type classes to achieve many of the desirable properties of OOP.

* The ML guys can use OCaml, where the O is Objective. Ocaml contains a concept of OOP built into the language already (namely structural subtyping - someone could call this typed duck-typing). The ML guys in general also have another tool for abstraction at their disposal: ML-style functors.

* Erlang programmers often use processes which are self-contained concurrently executing "objects". In Erlang a process is lightweight enough to be considered a "heavy" object in OOP so you often structure your programs around several processes messaging each other to carry out solutions to tasks.

Different languages provides different tools as a means of abstraction. It is all just about unearthing the alternative.
Are you so sure about that?

It's my understanding that NK is far from a PRC puppet state, and have a strained relationship, but being that NK depends heavily on China for it's continued existence and security, they do have some sway.

Kim Jong Il has conducted several actions, like the 2006 nuclear test, which has embarrassed and/or annoyed China considerably, underneath the public facade.

Some pertinent links:

http://www.cfr.org/china/china-north-korea-relationship/p110...

http://en.wikipedia.org/wiki/People%27s_Republic_of_China%E2...
Alternately, the current batch of programmers grew up on the Matrix movies and associate green-on-black with leet hackerdom. At least, that's the only reason I can come up with--use a VT220 for a while and everything will look purple when you look away.
I agree, hard on the eyes and I really just don't like the looks of a dark theme.
> An angel investor once shared candidly...

Candidly? Really?

I agree with the previous poster that youngsters are naive and much easier to be taken advantage of. I've been exploited in my younger years in ways which would not work anymore with my current me.

Moreover, older entrepreneurs are more likely to start sustainable businesses, that is businesses which will steadfastly grow, whilst VC may be more interested in business which will grow exponentially. You may end up wasting your younger years, which are irreplaceable, they have wasted just their money, of which they have plenty.

Youngsters throw themselves at entrepreneurship, and by the sheer law of great numbers, some of them will succeed. Seriously, how may business started by the young make it big?
Eh, while the periodic table is not complete, Element UUUU will not be nearly as exciting as new properties for existing compounds.
Not in advance of the dispute arising anyway.

Example of a law that makes arbitration clauses unenforceable against consumers in New Zealand unless they agree otherwise after the dispute arises:

http://www.legislation.govt.nz/act/public/1996/0099/latest/D...
I find it depends on the environment. If it's a bright room (or the sun is shining in the window) I might go to the light background, otherwise it'll probably stay dark.

Related, I always figured the dark desktop UI themes (eg, for GNOME, KDE, Windows, etc) were highly preferred by people working in dark rooms, like a studio or college dorm at 3am. Once upon a time I liked these, but since I'm less nocturnal these days I prefer lighter themes.
I would say the closest OO analog to ADTs is the Visitor pattern: You first fix the number of classes and then implement the different functions (visitors)

This is in contrast with the normal OO polymorphism/method where you first define set of methods and then implement the different classes.

----------

Type classes are more of a thing of their own. The template comparison is apt and I have heard Type Classes are supposedly very similar to the "Concepts" proposal that did not get in C++0x.
Posterous Spaces is built on Backbone.js
They should run a Groupon on data-centers.
First Round Capital's [awful] 2011 Holiday Video
I'm doing rails and use the same dark theme featured at railscasts by Ryan Bates: http://railscasts.com/about
Congrats! looks like a very useful and nice app.

just curious, how do you deal with spam so users don't send unwanted voicecalls to random numbers?
There's a continuum. In the cores of stars that continuum bumps up against the physical limits of electron degenerate (white dwarf) matter. But even within ordinary planets like our own solid matter is compressed to a significant degree. For example, even though Earth's inner core is primarily comprised of Iron and Nickel it is compressed to such a degree that it is denser than Lead.
LOL I have the same fantasy...a tiny written statement on the back of a check or inserted into a payment envelope...
As a designer, I personally prefer taking any design straight to code (mainly because making iterations to Photoshop designs is a nightmare and frankly a waste of time). I think the thing that helped me most was that I started learning design by coding (i.e. I started writing XHTML/CSS alongside learning design principles). Being about four years in now, it's great to be able to get a project and say "yeah, I can code that." It really just takes time and patience. While my coding experience is mainly focused around front-end development, what I've learned from the front-end has helped me to feel comfortable with Wordpress and PHP. I think the best way to become a "Desingineer" is to constantly have some project that challenges you, whether paid or not (preferably not as there is less pressure to get things right).
The truly fascinating part of this is how FeO is a conductor at these temperatures and pressures, but ceases to be so when the temperature or pressure drops. So for you computational physics students out there, consider the effects of a current in a moving current where the conductivity is determined by temperature and pressure. That is a simulation that has to take into account the thermodynamics of heat transfer out of the core, the temperature changing effects of constricting magnetic fields, and the effects of shock waves in a fluid in motion.

Basically we don't have the science to describe the behavior of a planetary core made up of this type of material! Is that cool or what.
Note that many of the higher-profile founders (eg Dave Morin of Path, Kevin Rose of Milk) are notably absent from their company's contributions.

Also it's one thing to be beholden to investor shareholders, it's another to have to take part in something like this.
YouTube Rewind 2011
Firefox 9 arrives, boosts JavaScript performance by 30%
Even $99 low end consumer ethernet switches have an aggregate speed of 16Gbps.

Not really. Most only have a 1 or 2 Gbps backplane and you're talking about absurdly priced switches that have a backplane that will support full saturation on all ports.
You don't need to build a whole data center to get wholesale pricing on power and bandwidth. To me this reads like Groupon has thrown the towel and has deemed it OK to throw more hardware at the problem. Perhaps they've come to the conclusion that buying their way out of the suboptimal backend system is much more cost effective than hiring very capable people.

Regards
Completely off-topic here, but the coffee house mentioned in this Engine Yard article (Intelligentsia) is really the best coffee in Chicago--if not the US.

Also, there is no way that Groupon needs a data center--how can they be spending millions on hosting each month? Something doesn't add up...
Wonder what it's like inside a VC pitch; be a fly on the wall here. [video]
Or the "slate" theme for gvim
هالة سرحان مع الفتاة التى تم سحلها من قوات الجيش
Why would hosting in Scandinavia be any better/worse than another European country?

I speak now of Sweden. How do you guarantee that Saepo can't get access to the data, given the recent law which allows them to tap international connections without a warrant?

There's already cloud-computing companies in Sweden, like City-Cloud at http://www.citycloud.eu/ . What do you plan to offer which is new? This is a country where high schools are moving over to cloud-based systems, as in http://www.cloudtweaks.com/2011/06/swedish-high-schools-depl... so it's not an inexperienced market.
India to cut out animal dissection
Mark Suster makes me want to write. What a fantastic blog.

Enough VC-loving. The reason I like this post is that it defends the mobile web. He was not trying to say apps or the mobile web will win. Instead he is showing that in order for one to live the other does not have to die.

Moving forward the big question is: which will thrive?
Create the ultimate Bitcoin paper wallet.
No, haven't read the Smart Money, but I am working on adding gambling lines to the fake games. You'd be surprised how much you have to learn about gambling to do that :)
Lean Startup vs. Visionary Entrepreneur | GrasshopperHerder.com
I wish the reputation damage was real but dispite past transgressions by Sony I see no decrease in fawning over whatever new cool product or movie they release. Even tech sites that should know better complain about Sony in one post while promoting their products in another.
Especially with no refund option. If I don't agree to the new software terms, I can't sent the console hardware back to Sony/Microsoft.

But I've always questioned the legality of waiving your legal rights in such a manner. It's always seemed paradoxical to me, at best. Using the systems provided by the courts against me to ensure I have no further recourse in using the courts against them.
I have never understood those clauses in contracts that force any settlements to go straight to administration. How is that legally possible?
I tried it on Ubuntu and while it worked, it caused a lot of issue,it would cause the whole UI to go nuts, when i would close the screen (laptop) sometimes it would fuck up everything when i would re-open it, and also going 100% CPU randomly, making the computer useless.

At first i thought it was just Ubuntu not liking my graphic card, but as soon as i removed it everything went back to nomral.
Same, except I don't really enjoy writing documentation. :) I posted my full thoughts in a separate post, but I'm looking for a job, and every job description I read makes me feel like I'm at a crossroads where I have to pick something to give up and something to get better at.
They do this. If the terms they present don't match the terms you present, you can refuse to pay them.

Oh, I understand what you are saying. And in truth, you could propose this. You could contact them with a counter proposal, and they'd probably just turn you down.

What would be interesting is a service that defines your default conditions in an easy to parse manner. You could then provide it to the service, and it could tell you quickly whether it met your needs, etc.