I can't find a decent resource on making SVGs inline. Most sources either go over how to import SVG images, and/or they include some ancient w3schools xhtml definition (marked as required)
> Hello? Yes this is Mrs. Gruenbaum... ohh he did did he? and who the fuck are you? ohh that is so nice! well thank you! click Hunnie you need to stop visiting that site!
@Miszy I think Mongo does not understand the fundamental problems in writing software beyond the prototype phase very well. I've seen this happen time after time when startups switch from Mongo to a DB that makes sense. Also, I don't get what you said about schema at all since most people code first anyway when prototyping.
When you code-first your schema always stays in sync..
@BenjaminGruenbaum You don't have any schema per se in mongo so you have to code first. But you can change your ideas and concepts in the application - so code changes are required and data might need to be stored differently.
@BenjaminGruenbaum I'm totally cool with not using mongoDB if only I could find a reason not to and a decent alternative :P
@Miszy right, but when you code-first you don't have that issue anyway. Also, you have to think about how you store your data, even if requirements change. MongoDB makes it very hard to work on actual projects because you model your data after your application.
@Miszy what if I have two applications that need access to the same data?
What if they do it at the same time? That sounds reasonable right?
Also, no transactions means any non-atomic operation is susceptible to failure. Every time I need to do anything that involves more than one document - I have to roll my own cleanup logic if something goes wrong in between.
I've used MongoDB several times, I just don't like it very much. It's extremely naive. I'm not convinced they understand the problem they're solving. When you compare that to a decent database like PostgreSQL or Oracle you can really see what's well thought out and what's a student's summer project that people started taking seriously.
@Miszy it really depends on what I'm building. Almost always SQL databases offer the better alternative for startups. Of course I use NoSQL for appropriate pieces of the software like Redis and Couch but they don't replace the SQL database - they're used for different things. Raven is somethind I'd use instead of an SQL database but I never built anything big with it.
@m59 there is no $apply in Knockout because you're using observables, whenever you do this.theProp('the value') on a ko.observable (or observableArray or computed) it'll update and take care of it.
Not because of SQL, SQL has many issues :) It's about a well engineered and thought out datastore. MongoDB is just not very good at that. I can see why someone would like it in prototyping but we can not afford anything that naive or incomplete in production.
@Miszy I don't have anything against NoSQL, I just dislike MongoDB in particular , I think it does a poor job at what it does. SQL is pretty trivial though, then again it depends on your workflow. In C# you have language facilities that help you with a lot of things you'd normally do yourself.
@BenjaminGruenbaum I think I just disregard the problems you find in mongoDB because I have never experienced them by myself. But I think it'd be good if I dug more into the problem now and do some research about what you said.
I really value your opinions @BenjaminGruenbaum because it seems you're a very experienced professional. The former opinions about mongoDB didn't sound like that. :) But thank you for putting me on the right track now.
@phenomnomnominal first round is a technical but practical test - it tests a very basic html/css/javascript workflow - you fetch data from the server (we threw in JSONP as a trick), manipulate it (sorting etc), then template it (css/html) and present it in an acceptable way. It tests 'building something from scratch in a short time frame'.
@phenomnomnominal the second round is actual coding, we told interviewees to implement an event emitter (like .on and .trigger) and a router (like Angular's or Backbone's but basic) - and some general CSish questions. We also look at open source contributions, blog and even SO - but that's not a part of the interview questions.
@phenomnomnominal Also, I have samples of how room regulars like @ThiefMaster , @qwertynl and @Loktar did if you wanna see them in these tests. When they interview they write code on an actual computer with an editor of their choosing and they have internet where they can ask questions.
@Zirak Quite possibly - sounds like it was doing your room an important service. Shog9 brought up this extra caveat: "Perhaps the only extra limit needed here is one similar to our rule of thumb for sockpuppets: a chat-bot shouldn't allow you to do anything you couldn't do by yourself, with your own account." If other people are doing what the chatbot would do anyway (or even manually commanding the chatbot to do it anyway) then you're fine by that caveat too. — Jonathan Hobbs1 hour ago
@BenjaminGruenbaum It says You may use libraries and frameworks as you wish but you will be asked to justify introducing external code but what did it mean in practice? Did you have many solutions based on some kind of frameworks?
@Miszy oh yeah, we had people using all sorts of frameworks - Shmiddty and Loktar used Angular for example, in actual interviews we got some Angular and some Knockout answers. Lots of people used jQuery and so on. We just asked people to justify it. I don't care if they use a framework or library as long as they can justify it.
For example ThiefMaster said "I used jQuery because for rapid prototyping it's the easiest solution and can be replaced by something more lightweight later." which is exactly the sort of thing we wanted to hear in an interview.
nice - codepen picked a copy of an old pick. (not sure how they missed it, thing was popular as hell for them) so I tweeted them.. no longer a pick :P and they tweeted back "got it, thanks!"
Hi All myself iOS developer, but we required java script most of the time . but i don't have any idea about it. if i see JS code. it appears like twinkling stars. Any one here Suggest me how to KICK start it....
sin #10: challenge 2.13 is trivia, not a programming challenge
sin #11: challenge 2.14 promotes bad practice by requiring a single-line input of an expression that is way too long to fit in a single line and shouldn't even be a single expression.
Also, Harry Potter reference. Also, missing space around an ellipsis.
sin #12: elaborates in great lengths how to write a file path.
sin #13: The example of syntax error when semicolons are omitted is not a syntax error. The newlines are not treated as ordinary whitespace, much less erased altogether. "Pretty much" doesn't cut it. Also, semicolons are introduced after the multiline editor has already been used.
@JanDvorak there's an annoying middle ground, where they're still 'smart phones', but you can't connect them to a remote debugger. Namely Windows Phone 7.5+
hm... the jquery tutorial says the server sends every resource that the browser will need, all as a response to the first request. This might be cool (but caching), but doesn't actually happen.