|
Moore’s Law states that the number of transistors on an integrated circuit doubles every two years or so.... But if an observer today was to measure this rate of increase, it would be straightforward to extrapolate backwards and work out when the number of transistors on a chip was zero. In other words, the date when microchips were first developed in the 1960s.... These guys argue that it’s possible to measure the complexity of life and the rate at which it has increased from prokaryotes to eukaryotes to more complex creatures such as worms, fish and finally mammals. That produces a clear exponential increase identical to that behind Moore’s Law although in this case the doubling time is 376 million years rather than two years. People aren't that good at floating point math, either.
|
|
|
|
|
In today’s installment of FlippedBITS, I want to examine a handful of common misconceptions about IMAP, a common protocol for retrieving email from a server. IMAP stands for… well, thereby hangs the first tale. IMAP’s inventor, Mark Crispin (who, sadly, died in December 2012), called the first version of his creation Interim Mail Access Protocol. Versions 2, 3, and 2bis were referred to as Interactive Mail Access Protocol, and version 4 — what’s in use today — is officially Internet Message Access Protocol. Although many Web sites claim that the acronym once stood for Internet Mail Access Protocol, I have found no credible references to back up that claim. You've got mail... probably thanks to IMAP.
|
|
|
|
|
|
Huh. Cool.
Gryphons Are Awesome! Gryphons Are Awesome!
|
|
|
|
|
So someone shoulder-taps you and asks you to explain the concepts behind JavaScript Inheritance to them. In my eyes you’ve got a few options.... Sometimes these analogies get pretty crazy in my head, and I start to think that maybe instead of trying to apply known examples in the outside world in order to help people understand, it’s often better to just let someone know why they might wanna use inheritance in their programs! 4 great ways to understand inheritance.
|
|
|
|
|
I've been doing this programming thing for a long time now (8 professional years), and during that time I have accumulated a lot opinions (some are right, some are probably wrong). In this phase of my career I am looking at what programming constructs can I use to make my life easier. One thing that sticks out to me as a sore point is the keyword void.... To state it simply, void is useful when I want to perform an action on an object and don't expect a result returned. In theory it sounds great, but if I don't expect a single result back, I am most likely going to want to inspect the object itself, or perform another action on the object. To void or not to void... what do you think?
|
|
|
|
|
Interesting. Not sure I totally agree.
For instance (no pun intended), what about a class that abstracts out logging? Would those methods really need to return the class instance? I don't really see what there is to gain there.
Gryphons Are Awesome! Gryphons Are Awesome!
|
|
|
|
|
I think void is a representation anything which is something.
The way I see it NULL cannot be void but the void can be NULL if that makes sense...
|
|
|
|
|
I didn't read it, but it seems to be something I agree with. There are many cases where I'd like to chain calls together but can't because the method is void.
|
|
|
|
|
Terrence wrote: To void or not to void... what do you think? It depends. Based on the example provided, it makes sense to apply Fluent Interface and to avoid void. However there are numerous cases which don't need an instance to be returned. And hence a void method is not a bad idea.
Wonde Tadesse
|
|
|
|
|
Khalid Abuhakmeh wrote: Now what happens when I change void to return this, or the instance of the object that I am using?
If I'm not using fluent interface, I won't win a thing... I'm with Brisingr Aerowing[^]
like the idea (I like fluent interfaces ), but it depends...
(yes|no|maybe)*
|
|
|
|
|
Unless you really, really think your code is going to be chained together, YAGNI.
|
|
|
|
|
Terrence Dorsey wrote: but if I don't expect a single result back, I am most likely going to want to inspect the object itself
Why? To ensure that the state of the object is correct? That's the job of the object itself.
|
|
|
|
|
After a delay, the software development kit (SDK) for the Pebble smartwatch is now live. On Friday, the watch maker publicly released the SDK and documentation, which was originally scheduled for when the watches started shipping. This means that owners of the Pebble watch — one of the hottest KickStarter projects in 2012 with more than 68,000 backers — can soon look forward to applications for their timepiece.... For now, the SDK appears to support custom watch faces but will be expanded for functional applications. What time is it? Time to code.
|
|
|
|
|
Once upon a time, we maybe started out with Logo to understand simple command sequencing, or BASIC – both, you’ll note, frequently provided with interpreters or REPL-type environments which are great to learn in. For a while, PASCAL was a popular learning language on University courses – in fact, it was designed by Niklaus Wirth precisely to help educate people about the whacky ‘new’ ideas that we should organize our programs in structured blocks, with subroutines, and loops and things. What should a learning language offer today?
|
|
|
|
|
So, what it really boils down to is, I really should give a F#(c,k).
Maybe it is time to hit the new F# project button again and just see where that takes me.........
|
|
|
|
|
It might take you to Full Stop
Ranjan.D
|
|
|
|
|
It’s important to note it’s of utmost importance that when we capture Important Business Logic, we do so with gravitas and sincerity; this means doing so in a language that the business owners and customer representatives (and most of the marketing department) can understand. So, it’s with a grave and sincere demeanor that I present to you an important language in your .NET programming toolbox: LOLCODE. HAI. CAN I HAZ CODEZ NOW? RETURN CODEZ. KTHXBYE.
|
|
|
|
|
Why aren’t there more high quality mobile web apps that have the look, feel, and performance of their native counterparts? I don’t think the reason is a technical one. Granted, some apps must be native: OpenGL-based games, for example, or apps that access hardware capabilities that are not yet exposed to the browser (a shrinking list); but I don’t buy the argument that native SDKs allow you to create interfaces that are inherently better, smoother, more dynamic — or more delightful — than what is possible via HTML5. Some lessons we’ve learned about making web apps work well on mobile devices.
|
|
|
|
|
The web platform has advanced out of all recognition, and continues to evolve at a frankly bewildering pace (I’m paid to keep track of all this stuff, and if I take a fortnight’s holiday I scramble to get back on top of it). Four years ago, if you wanted to access your device’s GPS information, you pretty much had to use a native app; now, the W3C Geolocation API is available in all browsers, on most classes of devices. The advancement of what the press likes to call “HTML5″ (but mostly isn’t just HTML5) is closing the gap between the capabilities of native and web. But it isn’t there yet. You can do a lot with web technology. What more would you like it to do?
|
|
|
|
|
Unicode is supported everywhere, but font support for Unicode characters is sparse. When you use any slightly uncommon character, you have no guarantee someone else will be able to see it.... So what characters can you count on nearly everyone being able to see? To answer this question, I looked at the characters in the intersection of several common fonts: Verdana, Georgia, Times New Roman, Arial, Courier New, and Droid Sans. My thought was that this would make a very conservative set of characters. I U+2764 Unicode (most of the time).
|
|
|
|
|
Have a plan to steal millions from banks and their customers but can't write a line of code? Want to get rich quick off advertising click fraud but "quick" doesn't include time to learn how to do it? No problem. Everything you need to start a life of cybercrime is just a few clicks (and many more dollars) away. Malware is big business. And now it's going retail.
|
|
|
|
|
Back in the fall of 1994, Bill Clinton was nearly midway through his first term, Ace of Base was at the top of the charts, and the Web was in its infancy. Businesses were just waking up to the power of the Internet as a commercial platform. In California, the staff at Hotwired — the Internet offshoot of Wired — contemplated how exactly to pay the writers it hired. The idea arrived to create a dozen sections that would carry “banner” advertising. This wasn’t entirely original. Early Web service Prodigy had used similar methods, although it placed its banners at the bottom of the screen. (This led to the first ad blocker; a piece of plastic affixed to the bottom of monitors to obscure the dreaded advertising.) Other 1994 notables: Tonya Harding, OJ Simpson, Boyz II Men and Ebola Zaire.
|
|
|
|
|
|