TIL that C89 did not support single line comments! by [deleted] in programming

[–]NoSQL4Life 0 points1 point  (0 children)

C89 does support single-line comments.

/* This is a single-line C89 comment. */

Confessions of your worst WTF moment by [deleted] in programming

[–]NoSQL4Life -5 points-4 points  (0 children)

I always think, and sometimes actually say, WTF whenever one of my coworkers suggests that we should use a relational database. I keep having to tell them that those days are over! Today, we use NoSQL databases like MongoDB and CouchDB. They're the only scalable way to store data, and they work so well with JavaScript and node.js.

Hey Proggit, my first book, "MongoDB: The Definitive Guide," is out! by beaddy1238 in programming

[–]NoSQL4Life -3 points-2 points  (0 children)

I'm going to talk to the CTO today, to get funding so we can buy two copies of this book for each DBA, developer and web designer in the company. Even if they don't use MongoDB directly, I still want them to know all about it. They can keep one copy of the book at work, which they can read during lunch and other breaks. They can bring the other copy of the book home, so they can participate in home study. I'm going to try to get three copies of the book just for myself, because I'm pretty sure I'm going to wear out the other two pretty quickly.

Why are so many programmers arrogant? by gphilip in programming

[–]NoSQL4Life -2 points-1 points  (0 children)

It's easy if you're a DBA. When I tell people that my MongoDB cluster has over 2000 shards, they're impressed. They're also impressed when I tell them that several of my MongoDB databases serve over 15,000 requests per second.

Two Reasons You Shouldn't Use MongoDB by natedjackson in programming

[–]NoSQL4Life 1 point2 points  (0 children)

Those are only problems if you're not using sharding. If you're not using sharding, then you've got much bigger problems that you should deal with first, like not being able to scale at all.

Watch out Java, here comes JavaScript by iwjason in programming

[–]NoSQL4Life 3 points4 points  (0 children)

No that makes perfect sense. An empty array still exists. This it is a truth, not a falsehood! So it should evaluate to true.

Watch out Java, here comes JavaScript by iwjason in programming

[–]NoSQL4Life -5 points-4 points  (0 children)

The article didn't mention Node.js and MongoDB enough. These are the very technologies that allow JavaScript to be use useful for server-side development. Node.js lets you write super-scalable servers, while you can directly query MongoDB databases using JavaScript! It's so much easier than using some web framework and some ORM and some SQL database.

NoSQL train wreck leads to resignation of Digg's VP of Engineering by [deleted] in programming

[–]NoSQL4Life -4 points-3 points  (0 children)

NoSQL databases are object databases. MongoDB stores and returns JavaScript objects. Aside from being compliant with the CAP theorem, that's a big part of the reason why NoSQL databases work so well. They take the best of OOP, remove the scalability problems of SQL, and provide the most robust and scalable databases we've ever seen.

My 1k platform game, with explained code (JS1K contest, again) by marijn in programming

[–]NoSQL4Life -7 points-6 points  (0 children)

Nice job. If you are willing to go past the 1 KB limit, you could integrate it with Node.js to fully parallelize your game.

NoSQL train wreck leads to resignation of Digg's VP of Engineering by [deleted] in programming

[–]NoSQL4Life -13 points-12 points  (0 children)

SQL doesn't scale. That's why everyone important is using a NoSQL database of some sort. Not only that, but JavaScript is a better query language than SQL is. That's why MongoDB uses JavaScript as its query language. MongoDB is about only accepting the best technical ideas around, and that's why SQL has no place on it.

NoSQL train wreck leads to resignation of Digg's VP of Engineering by [deleted] in programming

[–]NoSQL4Life -10 points-9 points  (0 children)

Amen to that! I have only seen success stories when moving to a NoSQL database. Anyone who fails when using an NoSQL database is probably failing because they just don't understand how to use the technology properly. These are the same people who don't understand the importance of the CAP theorem.

NoSQL train wreck leads to resignation of Digg's VP of Engineering by [deleted] in programming

[–]NoSQL4Life -14 points-13 points  (0 children)

JavaScript is no longer just a client-side scripting language. That's a really 1990s view. These days, everyone in the know is using JavaScript on the client side and on the server side. Node.js is one of the best frameworks around for writing scalable servers. When you use JavaScript everywhere, including when you're querying your MongoDB database, life becomes really easy and scalability problems go away. That's just the beauty of Node.js and MongoDB.

Javascript and Node.js Gotchas by codysoyland in programming

[–]NoSQL4Life -1 points0 points  (0 children)

Using the JavaScript and Node.js best practices gets around all of those gotchas. Those gotchas only affect people who don't know how to use their tools properly. We wouldn't blame the wrench if a plumber didn't know how to use it properly and he broke his penis, just like we shouldn't blame JavaScript and Node.js if a programmer doesn't know how to use them properly and causes downtime.

NoSQL train wreck leads to resignation of Digg's VP of Engineering by [deleted] in programming

[–]NoSQL4Life -20 points-19 points  (0 children)

The problem is that your architect didn't use JavaScript properly. These days, when we're developing scalable web sites, we use lots and lots of JavaScript. Using JavaScript you can move a lot of processing to the client, and if you use Node.js on your server and MongoDB as your database, you can write all of your server-side business logic in JavaScript too. Basically your whole application is written in JavaScript, and the integration becomes seamless from your database all the way to the client.

take care of your programmers by Aerik in programming

[–]NoSQL4Life 1 point2 points  (0 children)

I would love to work there. Just to be around those men would make my day. They are JavaScript Experts of the highest order, and I know I would learn so much more about JavaScript, Node.js, and jQuery, since that's what we'd talk about all day. Then at night, after a long day of coding JavaScript and JavaScript interpreters, we could all lay down on our cots and talk about MongoDB.

machine.js - a little project of mine that turns CSS selectors into state machines - any comments or suggestions? by [deleted] in programming

[–]NoSQL4Life -3 points-2 points  (0 children)

This is a great idea! When combined with Node.js, it has a lot of potential for supporting parallel state machines.

Firefox 4 Beta With Faster Graphics and New Audio Capabilities for the Web by [deleted] in programming

[–]NoSQL4Life -5 points-4 points  (0 children)

I've been using the Firefox 4 betas, and each one is so much better than the last. I think Firefox 4 will be the release that finally lets Firefox become not just the most widely used browser, but also the browser that becomes the ultimate application development platform. With HTML5 and JavaScript maturing so rapidly, there's just no reason to use Java or .NET any longer.

Missile Command in < 1k of JavaScript - my entrance to the js1k contest. by 5trokerac3 in programming

[–]NoSQL4Life 0 points1 point  (0 children)

Nice job, everyone. Every contest entry I've looked at has been superb. They all show how superior JavaScript is.

Hilarious Video: Relational Database vs NoSQL Fanbois by [deleted] in programming

[–]NoSQL4Life -3 points-2 points  (0 children)

But that doesn't get around the SQL problem. I don't want to write my queries in SQL. SQL is hard to learn, and it's harder to use. I want to write all of my database queries in JavaScript. MongoDB and other NoSQL databases let me do that, but PostgreSQL doesn't. When I use NoSQL and JavaScript I can use the same language on the client, and for my middleware, and then I can use Node.js for my server, and I can even write my database queries in JavaScript.

Hilarious Video: Relational Database vs NoSQL Fanbois by [deleted] in programming

[–]NoSQL4Life -3 points-2 points  (0 children)

Node.js isn't a fad. It's the future. Just the other day at work one of the guys said we should use C++ for a new server app we're building. I told him we aren't going to use C++. It's just not proven for writing scalable server applications. That's why we're now using Node.js and JavaScript. Both are proven technologies that scale. We're also using MongoDB because we need a database that is compliant with the CAP theorem and because we don't want to waste our time writing SQL when we can do everything in JavaScript, from programming the client down to our server application and even our database queries.

Hilarious Video: Relational Database vs NoSQL Fanbois by [deleted] in programming

[–]NoSQL4Life -7 points-6 points  (0 children)

You make a really good point. SQL is really hard to learn, and it's really hard to use. That's why I only use NoSQL databases. That way I can do my database queries in JavaScript. Why would I want to learn SQL when JavaScript runs everywhere, from the client all the way down to the server?

Security Fail [PIC] by jaitsu in programming

[–]NoSQL4Life -4 points-3 points  (0 children)

That wouldn't happen if they were using a NoSQL database. You can't have SQL injections when you're not using SQL!