|
Making modular and reusable code is something we should all be doing to keep the quality of it up to par. A very simple way to make reusable modules of code in node.js is to create generalized modules (no pun intended). In this post, we’re going to recreate the domai.nr module from scratch, and hopefully you learn a few things along the way! Learn Node by doing Node.
|
|
|
|
|
What is it about middle school and mathematics? Decades of educational research demonstrate that during the years between elementary school and high school, many students disengage from math and don’t regain their interest—to the detriment of their later schooling, and even their adult careers. Instill a love of mathematics as the art that it is.
|
|
|
|
|
Why build a new messaging product when the basic functionality of email combined with a little effort from the user can achieve the same result? Nothing you can do but you can learn how to e-mail it in time - It's easy.
|
|
|
|
|
What the media have called Britain's "cookie law" became enforceable this weekend and will require UK-based website operators to give visitors notification if the website will use any method of tracking—not just cookies but other types of analytics as well—on the user's computer. Keep your hands out of the cookie jar.
|
|
|
|
|
Cookies are redundant these days. You can easily be tracked just by using your browser's "javascript fingerprint". http://panopticlick.eff.org/[^]
|
|
|
|
|
If you didn’t know better, you’d get the impression that the purpose of the accelerometers is to determine a device’s static orientation. And although they can do that, the true purpose of accelerometers is to measure—no surprise here—acceleration, a distinctly dynamic quantity. Shake it like a polaroid picture.
|
|
|
|
|
This reminds me of how my TomTom GPS wouldn't work a couple weeks ago because it couldn't get a signal. Even after I said "use last known location", it still wouldn't work. You'd think it could use an accelerometer to approximate my position, but it appears not.
|
|
|
|
|
|
According to Wikipedia, the accelerometer in GPS devices is typically used for temporary position estimation (such as when a car enters a tunnel). So I guess it's not used for entire journies. Though that makes me wonder why TomTom even has a "use last known location" option if it's not going to allow the GPS to work (I'm guessing to create the start position for a route).
|
|
|
|
|
They're also used by subs, cruise missiles, (or almost anything that flies and is painted in cammo really); because sat links might either be blocked or jammed and redundancy is a wonderful thing when you're working on a cost plus basis.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
The whole “Live” story — from muddled conception, to haphazard deployment, to quiet abandonment — has played out in a pattern depressingly similar to other Microsoft efforts of the last ten years. Microsoft has shipped a lot of products over that time, but nothing really seems to tie them all together; there’s no grand vision at the heart of the company’s work anymore, unlike competitors such as Apple and Google. Will Metro tie Microsoft's diverse offerings together better?
|
|
|
|
|
Terrence Dorsey wrote: Will Metro tie Microsoft's diverse offerings together better?
Short answer. No.
|
|
|
|
|
I’ve designed literally dozens of component APIs over the years, including for clients like Apple, and I’ve learned quite a bit about the process. I periodically release open source components too, and the feedback I’ve had has helped me put together a set of guidelines for API design that I’d like to share with you. APIs are UX for developers.
|
|
|
|
|
Interested in writing games for Windows 8? Here's a list of resources Glen Gordon shared at the Atlanta chapter of the International Game Developers Association (IGDA) when he gave an introductory talk on building Metro style games for Windows 8. Click on the tiles and win!
|
|
|
|
|
Koans allow you to 'try out' aspects of a language while working in the language. As you change the blank (variable) to the correct answer and get the tests to pass, be sure to ask yourself after you get a green bar for each method, 'What did I just learn?' Learn LINQ by doing LINQ, grasshopper.
|
|
|
|
|
Just been messing around with VB11 and did an implementation of the Bottles Of Beer Song. Take the code down and pass it around.
|
|
|
|
|
I believe in the sustained relevance of ‘big agenda’ in software engineering: providing scientifically well-founded methods and tools to underpin the development of software systems that meet the needs of users, rapidly and at reduced cost. Better, faster, cheaper, in other words. Substantial technical progress has been made but, it could be argued, we are seeing some evidence of receding impact in those areas where that progress has significantly outstripped the capacity of practice to absorb innovation. Better, stronger, faster?
|
|
|
|
|
"We can turn any surface into a 3D touchscreen," explained Anup Chathoth, one third of Munich-based startup Ubi Interactive. Such claims typically conjure up images of floating Minority Report-style touchscreens made from curved glass, but that's exactly what this three-person team has developed. They saw the writing on the wall... and clicked it.
|
|
|
|
|
The Unix philosophy is a noble idea, but even Unix doesn’t follow it too closely. Why does ls have dozens of tangled options? Because users, even Unix users, are not overly fond of the first two points of the Unix philosophy. They don’t want to chain little programs together. They’d rather do more with the tool at hand than put it down to pick up new tools. Seemed | like -a | good | idea | @the | time
|
|
|
|
|
Remember the roll-up electronic newspapers from the movie Minority Report? We could soon see something similar used in cell phone, e-reader and tablet displays. Well, maybe not quite, but companies like Samsung and LG are already producing flexible displays for future products. These displays might not be as bendable as a newspaper, but they will offer some enticing design possibilities for hardware manufacturers. More after the fold.
|
|
|
|
|
My experience on the ECPI advisory board made me start considering how I would design a degree program that would properly prepare a student to enter the business world as a developer. So, I’m going to list the courses I would require for a software developer degree (not database programmer) in a serialized course setting. Good teacher. He really seems to care. About what I have no idea.
|
|
|
|
|
Someone please tell me we’ve gotten past the either-or debate over NoSQL and relational databases. While NoSQL databases are foundational technologies for web startups — with most of these young companies opting for MongoDB, Cassandra, CouchDB or something else to fulfill their database needs — they might be better served going a hybrid route instead. There’s always room for a good, old-fashioned relational database — especially if they want to conduct and store financial transactions. MySQL vs NoSQL, the SQL.
|
|
|
|
|
|
We've had that kind of crap for years in the Netherlands (slightly different, but it takes about 20/30 seconds)... It's really very annoying, but I continue to buy my dvd's.
Downloads are missing subs, have wrong subs, are in a wrong spoken language, are in a bad quality, are corrupted, are seemingly really very good until the very end when the big showdown starts and suddenly the movie just stops... I know, I'm just not looking good enough. That's my experience with them anyway (and not just my own downloads).
Buy a dvd, put it in your dvd player and it just works. I can watch it on my own tv, I can watch it downstairs on the big ass tv screen, I can lend it to friends who lend me theirs in return. It never let's me down. That's worth a few bucks to me and I just take those 20/30 seconds government crap for granted
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
So is it OK to play a library copy or my friend's copy. That is sort of the same thing.
|
|
|
|