179 karma · joined November 26, 2010
Does Postgres actually natively support this and is there any client library that makes use of that? I know that Zookeeper serves this sort of purpose (automatic service discovery etc.), but I have no idea whether/how it works with Postgres.
From what I can see (myself included), there's more tendency to make pet projects more technically complicated than needed (usually because they're thought of as an opportunity for technical experiment & also less responsibility if things break), and these complexity will make project context switching much, much more painful, which will lead to less time of meaningful developing.
To give you a little background : I'm a 20-year-old international student, currently pursuing a bachelor's degree at a US university, and have been employed full-time at a mid-sized software company in Silicon Valley as a UI engineer/backend developer for a year through the CPT program -- a program which basically allows international students to work at a company outside of the university as long as the line of work matches the major.
After several months of working there, my company showed interest in giving me an H1-B visa, which basically got me really excited as I, to be blunt, enjoy the work a whole lot more than college. I thought I could bypass the whole educational process and join the workforce directly. Turned out, I was wrong. When the company went through the visa process, they figured it's not possible to give out H1-B visa to foreigners without bachelor's degree. [1] It's possible to substitute the degree with I think ~7 years of professional work, but I have nowhere near that experience.
So here I am, trying to finish school as fast as I can.
[1] They just figured this out as they never offered visa to a degree-less foreign employee before.
I mean, even though Chrome allows 6+ concurrent connections to a single hostname, nothing's stopping users from opening 10 tabs of your application.
"We have confirmed widespread errors on the platform. Our engineers are continuing to investigate."
The first is basically a web framework that lets you compose a fully working website from a whole slew of independent, pre-built, unique components. Each component is made of Require.js modules (like its own HTML, CSS, JS). This isn't exactly the largest project, but Require.js really comes in handy with its ability to conditionally load modules (or components, in this context.) because you simply won't use all the components in the system, and also its ability to treat pure text file as regular modules (for HTML and CSS part of the components).
The second is a visual drag-and-drop web builder that lets you visually build a working end product of the first project that I mentioned. This is a large project simply because there's usually quite a lot of that you have to do in order to make a completely visual system work. I simply can't imagine building this system without explicit module dependency that require.js enables.
Require.js solves point #1 and point #3. Backbone solves point #2. Underscore solves, well, point #4.
In my experience, the other important thing to maintain coherence and sanity while creating large JS apps is to have a system that makes dependencies between modules very, very clear. Require.js basically also does that for me; it requires every module to define their dependency on other modules on top of its file.
I highly recommend people creating large JS apps to at least check it out : http://requirejs.org/
For example (this list is completely non-exhaustive):
1. figure out high-level software architectural design
2. write the high-level plot of a novel
3. think how to solve personal problems (personal relationships, etc.)
4. come up with product marketing campaign ideas
etc.
I know this defeats the purpose of sleep itself, which is to completely let the brain to rest completely, but I'm genuinely wondering.
What would be really nice is if Parse had a way to somehow plug in existing backend infrastructure to Parse's data model.
Edit : I take it back. Parse has a REST API.
If you want to use a different database and not want to be forced to install pyscopg2, what you have to do is change that DATABASE_URL variable to something that corresponds to your database, and Heroku will act accordingly.
http://stackoverflow.com/questions/306313/python-is-operator...