One of my goals this year is to acquire new skills, so I've decided to start by learning JavaScript. As was the case when I learned html and CSS, it's a tricky endeavor, because I'm not exactly a beginner, and most stuff is geared toward beginners, which can make learning so inefficient that I lose my motivation. I've decided to treat this effort just like I treat exercise, which is to focus on rhythm and consistency above all else. Don't break the chain. My days are packed, but I'm setting aside at least half an hour each day to do something related to learning JavaScript. As long as I hold…
I've been using SASS for pretty much everything I do recently. Here's some musings on the journey. From hold-ups, to trip-ups, to turn-offs. From apps and teams to workflows and syntax. You Gotta Work Locally The biggest contributor to me getting on the bandwagon was giving up my going-commando live FTP editing ways. Yeah, Coda is awesome, but it's bad habit forming. It makes it way too easy to work live instead of local1. Working local is full of obvious advantages. Namely, 1) It's fast 2) You can edit stuff to your heart's content without worry you're screwing up a live site and 3) It…
Checking in with Dav Glass It’s been a while since we checked in with Dav Glass. You know he’s always good for some interesting innovation, and it’s about time to get a report on the new shiny (or green-on-black) stuff he’s been working on for the last few months. Since Dav took over Loader, he’s been pretty busy doing the usual thing of adding test coverage and improving performance, but there are a few new things on top of that that are worth noting. Otherwise, he’s made some updates to the YUI core and npm packages to make YUI development even easier in…
Java junkies that commute via bicycle get their coffee experience started before even walking in the door of Filter Coffeehouse & Espresso Bar in Washington, D.C. The quirky joe shop recently installed bike racks shaped like a giant coffee mug and French press. The Washington Area Bicycle Association teamed up with the BikeBrand Your Biz campaign to set up the bike racks that not only accommodate the shop's many bikers, but also are wonderful branding for anyone strolling by. Via Laughing Squid. Coffee and biking make for a good morning. Permalink | Leave a comment »
How much do we love our cured meats? A whole lot: On average, every American eats 18 pounds of bacon per year. Now, that salty meat obsession is reaching a new level. A look at the bacon craze sweeping the States, from the relatively tame bacon shake to the 'wait, what?' bacon lube: View slideshow at The Week. Photo: CC by kimtaro All the top stories from The Week. Permalink | Leave a comment »
Before you read this article, you may have thought your dog had the grossest eating habits ever. But Fido's penchant for poo is nothing compared to some of these sickos highlighted in Cracked. For example, Victorian scientist William Buckland: He didn't just stop at the meat of animals, either. While on a visit to St. Paul's Cathedral, a strange mark was found on the floor. A debate broke out as to what the stain could possibly be, at which point Buckland got on his hands and knees, licked the stain and confidently announced it to be bat piss. But the craziest thing Buckland ever did, at…
One of my goals this year is to acquire new skills, so I've decided to start by learning JavaScript. As was the case when I learned html and CSS, it's a tricky endeavor, because I'm not exactly a beginner, and most stuff is geared toward beginners, which can make learning so inefficient that I lose my motivation. I've decided to treat this effort just like I treat exercise, which is to focus on rhythm and consistency above all else. Don't break the chain. My days are packed, but I'm setting aside at least half an hour each day to do something related to learning JavaScript. As long as I hold…
Qafoo is happy to announce the three day JavaScript event taking place in Cologne from 12. - 14. March 2012. Presented by "entwickler akademie" (PHP-Summit) and supported by Qafoo it will be an amazing event fully packed with expert knowledge for all your JavaScript needs.
My previous post, The MicroPHP Manifesto, resulted in much excitement. In between fits of rage and crying, I found some time to answer folks questions, and also discuss the topic on the /dev/hell podcast with my cohost Chris Hartjes. To summarize and address some of the common questions, I felt I should write a small FAQ. Got a question? Ask me. I’ll add additional entries here as things come up. So you think full-stack frameworks suck? No. I think sometimes they’re very appropriate. It depends on your needs: will the pros you get with library/component/framework X outweigh the negatives?
Packed with a huge number of workshops, hosted by well known speakers like Douglas Crockfort, Christian Johanson, Kore Nordmann or Thorsten Rinne the 1st Edition of the JavaScript Days in cologne already sounds like one of those 'need to be there' events. For those who act fast, the early bird period is still ongoing and open until next Saturday, 10th of February.
A quick update about CSP. Browsers are well on their way to all adopt the specification. An early draft was already adopted by Firefox 4, and I just found out that it's also working in Chrome, Safari and IE 10. IE10 and FF are using the following header: XContentSecurityPolicy defaultsrc 'self' While Safari and Chrome use: XWebkitCSP defaultsrc 'self' When the specification is finalized, the X- will be dropped, and it will simply be 'Content-Security-Policy'. A call for support Hi Developers! Start implementing this feature! It's important for the future and security of the web. The web's…
I've been using SASS for pretty much everything I do recently. Here's some musings on the journey. From hold-ups, to trip-ups, to turn-offs. From apps and teams to workflows and syntax. You Gotta Work Locally The biggest contributor to me getting on the bandwagon was giving up my going-commando live FTP editing ways. Yeah, Coda is awesome, but it's bad habit forming. It makes it way too easy to work live instead of local1. Working local is full of obvious advantages. Namely, 1) It's fast 2) You can edit stuff to your heart's content without worry you're screwing up a live site and 3) It…
Interesting question: css3 speech bubble question: for the "triangle"'s border color, how can I set it to whatever its parent div's bgcolor is automagically? — Jin Yang (@jzy) February 1, 2012 By "css3 speech bubble", Jin means using a pseudo element on a container to add a little pointer arrow (triangle). Not really CSS3, but that's pedantic. Let's say that pink color isn't practical to set in an external CSS file. Perhaps is a user setting, or perhaps its set dynamically somehow. <div class="speech-bubble" style="background: pink;"> I like bananas, because they have no bones.
Interesting idea by Felipe G on using a new at-rule, @-vendor-unlock, to tell the browser to use it's experimental implementation of any particular property, rather than using a vendor prefix on that property. Unfortunately at this point, even if you could get all the browsers on board, you'd need to use this and vendor prefixes to get deep support, which makes the problem worse. What we really need is for all browsers to implement auto-updating so eventually "supporting older browsers" is something we can look back and laugh at. Direct Link to Article — PermalinkA proposal to drop…
Digging Into WordPress (the book) is now updated to v3.3. Includes new chapters specially on what's new in 3.2 and 3.3, all the rest of the chapters tightened up and refreshed, better internal hyperlinking (in the PDF), and more. It's a free update (PDF) to all previous buyers. New print copies are on order and will be available soon. Direct Link to Article — PermalinkDigging Into WordPress 3.3 is a post from CSS-Tricks
Dave, Jonathan Longnecker, Nate Croft and I talk shop. Topics include website building apps, where to start designing, when not to design for modern browsers, and more. Sponsored by LessAccounting. Direct Link to Article — PermalinkShopTalk Episode 4 is a post from CSS-Tricks
Checking in with Dav Glass It’s been a while since we checked in with Dav Glass. You know he’s always good for some interesting innovation, and it’s about time to get a report on the new shiny (or green-on-black) stuff he’s been working on for the last few months. Since Dav took over Loader, he’s been pretty busy doing the usual thing of adding test coverage and improving performance, but there are a few new things on top of that that are worth noting. Otherwise, he’s made some updates to the YUI core and npm packages to make YUI development even easier in…
In this talk from YUIConf 2011, Yahoo! frontend engineer Gonzalo Cordero (@goonieiam) reveals how Yahoo! Local used YUI 3 to develop their iOS app using a native Objective-C wrapper with HTML5 and YUI running in a UIWebView. He argues that there’s no such thing as a desktop web and a mobile web — there’s just “the web”, and YUI is the perfect framework for people who want to write web apps that run everywhere. Links View in HD on YouTube Full YUIConf 2011 Playlist on YouTube
3.5.0pr2 is available We deployed the second 3.5.0 preview release right on time, celebrated for a couple minutes, then went back to work on PR3, which will be the gating preview before 3.5.0 GA in mid-March. But we’ll stop to take a breath and highlight some of the changes in PR2. You’ve read the short list on the release blog post, so join us for a little more detail and probably some live tinkering. As is the case with all preview releases, we’re eager to get your feedback and any bugs you find. Or if you’re note yet convinced to give it a try before the GA, maybe…
YUI 3.5.0 Preview Release 2 has been released to the developer community for feedback and testing. It is now available on the Yahoo! CDN at yui.yahooapis.com/3.5.0pr2/build/yui/yui-min.js, or as a download if you plan to test it locally. The rollup of 3.5.0 changes introduced up until PR2 is available on our GitHub Wiki. You can also review the list of tickets that were resolved in this release. Work-in-progress user guides and API docs for 3.5.0 can be found on our staging site, but beware that these docs may be incomplete or even broken, since this is where we test new stuff. Official docs…
In this talk from YUIConf 2011, YUI engineer and former jQuery user Derek Gathright (@derek) explains why you should consider using YUI to build your web apps. In particular, he stresses how YUI is designed to serve as an extensible set of building blocks (like Legos) and not just a collection of ready-to-use components (like pre-molded plastic toy cars). Links View in HD on YouTube Full YUIConf 2011 Playlist on YouTube
HP continues to divulge bits and pieces of a road map for the ill-starred and nearly-orphaned webOS. The company has followed up its December plan to release webOS mobile platform and development tools with a proposed timeline, with a full release set before year’s end. Some people see a life for the associated Enyo JavaScript framework aside from any success or failure webOS ultimately achieves.
Shim was developed within the Boston Globe’s media lab as a way to study how Web sites look on various devices and browsers. A laptop intercepts all wifi traffic – this is redirected to a custom node.js server – which inserts a javascript, or “shim,” at the head of each web page that is visited. The shim, once loaded in a device’s browser, opens and maintains a socket connection to the server, according to to Shim’s developers. Shim was written in 2011 by Chris Marstall, Creative Technologist at the Boston Globe. The software has been open sourced. Write…
Facebook Software Engineer and HipHop for PHP team member Jason Evans provides details on Facebook’s move to a new high-performance PHP virtual machine. Described by Evans is ”a new PHP execution engine based on the HipHop language runtime that we call the HipHop Virtual Machine (hhvm).” He sees it as replacement for the HipHop PHP interpreter (hphpi). He continues: We have long been keenly aware of the limitations to static analysis imposed by such a dynamic language as PHP, not to mention the risks inherent in developing software with hphpi and deploying with hphpc. Our…
Earlier this week, Adobe VP and General Manager Danny Winokur disclosed that the company has concluded that HTML5 is ”the best solution for creating and deploying content in the browser across mobile platforms.” The company said it would stop building Flash to run on mobile browsers. In a blog post on the new focus of Flash strategy, Winokur wrote: Our future work with Flash on mobile devices will be focused on enabling Flash developers to package native apps with Adobe AIR for all the major app stores. We will no longer continue to develop Flash Player in the browser to work…
Intel’s Parallel Extensions for JavaScript, code named River Trail, hooks into on-chip vector extensions to improve performance of Web applications. Details of Intel’s attempt to get on the JavaScript juggernaut emerged last month at its developer event. The prototype JavaScript extension offered by Intel is intended to allow JavaScript apps to take advantage of modern parallel chip capabilities. Sequential gives way to parallel, at least in theory. In-browser games and image editing are pitched as examples of application elements that would take advantage of new eight-core…
LAN parties offer the enjoyment of head to head gaming in a real-life social environment. In general, they are experiencing decline thanks to the convenience of Internet gaming, but Kenton Varda is a man who takes his LAN gaming very seriously. His LAN gaming house is a fascinating project, and best of all, Linux plays a part in making it all work. more>>
A vDSO (virtual dynamic shared object) is an alternative to the somewhat cycle-expensive system call interface that the GNU/Linux kernel provides. But, before I explain how to cook up your own vDSO, in this brief jaunt down operating system lane, I cover some basics of vDSOs, what they are and why they are useful. more>>
A content management system is a centralized repository for your content. A Web site is a composite of decentralized fragments that are assembled on the edge, in just-in-time fashion as the content is being delivered to users. If it's not a Web site, what does a CMS do? more>>
Creating a live Linux USB stick isn't anything new. And, in fact, the ability to have persistence with a live CD/USB stick isn't terribly new. What many people might not be aware of, however, is just how easy it is to make a bootable USB stick that you can use like a regular Linux install. more>>
Razor-qt is a new desktop environment based on the QT toolkit. I installed it from the PPA and gave it a quick go. It’s early days for the project, but it might eventually become a refuge for lovers of KDE 3 in the same way that Xfce has become popular with people who want to recreate the Gnome 2.x experience. more>>
No, it's sadly not a day for shopping. Today, some of the most visited websites are dark to raise awareness of two bills now making their way through the U.S. Congress. more>>
I'm in midtown Manhattan, connected to the Net over my hotel's slow but costly wi-fi connection. Normally when I'm traveling — at least here in the U.S. — I avoid lame hotel connections by using AT&T's cellular data system, usually through my iPhone's "personal hotspot." more>>
I used to have a paperweight sitting on my desk that read something like “Robert H. Lane, appointed President of Commodore Computers....” It was the sort of thing that they gave to executives. A brass plaque of their appointment as it appeared in the Wall Street Journal or the Globe and Mail. more>>
The first blog search engine was PubSub in 2002. It was inventive and strange in some ways (and took some getting used to); but it was fast and did a good job of searching through syndicated postings, mostly from blogs — at least until blog spam became an epidemic that nearly killed the whole category a couple years later. more>>
The early years of the 21st century forever will be known as the age of social media. I don't know if that's something we should be proud of, but nonetheless, here we are. During the past decade, we've seen things like Friendster, Pownce, Twitter, Wave, Facebook, Tumblr, Buzz, Gowalla, Brightkite, Foursquare, Loopt, Plurk, Identi.ca, LinkedIn, Yammer and now Google Plus. more>>
LinuxSecurity.com: Stefan Esser discovered that the implementation of the max_input_vars configuration variable in a recent PHP security update was flawed such that it allows remote attackers to crash PHP or potentially execute code. [More...]
LinuxSecurity.com: A vulnerability has been found and corrected in GLPI: The autocompletion functionality in GLPI before 0.80.2 does not blacklist certain username and password fields, which allows remote attackers to obtain sensitive information via a crafted POST request [More...]
LinuxSecurity.com: Updated Grid component packages that fix multiple security issues, multiple bugs, and add various enhancements are now available for Red Hat Enterprise MRG 2 for Red Hat Enterprise Linux 5. [More...]
LinuxSecurity.com: Updated Grid component packages that fix multiple security issues, multiple bugs, and add various enhancements are now available for Red Hat Enterprise MRG 2 for Red Hat Enterprise Linux 6. [More...]
See what you think of this new methodology for determining language popularity with stats from Stack Overflow, the developer question and answer site, and GitHub, a very popular open source repository.
The first public build of Google Android 4.0 Ice Cream Sandwich is now available for the HP TouchPad. The tablet originally shipped with HP’s webOS software, but hackers have been installing Google Android on the TouchPad for months. Up until recently, only Android 2.3 Gingerbread was available for the tablet, but now the CyanogenMod team has released CyanogenMod 9 Alpha 0 for the TouchPad. It’s based on Android 4.0 and includes Google’s new user interface which is optimized for tablets without physical buttons. It’s a good fit for the TouchPad, which doesn’t have the home, back,…
The CSS text-shadow property is very popular among web designers and front-end developers. In this article, let’s take a look at 10 resources to get the most out of the text-shadow CSS property.
I am no longer a part of Stack Exchange. I still have much literal and figurative stock in the success of Stack Exchange, of course, but as of March 1st I will no longer be part of the day to day operations of the company, or the Stack Exchange sites, in any way. It's been almost exactly 4 years since I chose my own adventure. In those four years, we accomplished incredible things together. Stack Overflow is now an enormous bustling city, a hugely positive influence on the daily lives of programmers around the world, a place to learn from and teach your peers. And the entire Stack Exchange…
You know how interviewers love asking about your greatest weakness, or the biggest mistake you've ever made? These questions may sound formulaic, maybe even borderline cliche, but be careful when you answer: they are more important than they seem. So when people ask me what our biggest mistake was in building Stack Overflow I'm glad I don't have to fudge around with platitudes. I can honestly and openly point to a huge, honking, ridiculously dumb mistake I made from the very first day of development on Stack Overflow – and, worse, a mistake I stubbornly clung to for a solid nine month…
I enjoy my iPhone, but I can't quite come to terms with one aspect of its design: Apple's insistence that there can be only ever be one, and only one, button on the front of the device. I also own a completely buttonless Kindle Fire, and you'll get no argument from me that there should be at least one obvious "Jesus Handle" button on the front of any gadget. I do wonder why Amazon decided to make the Fire buttonless, when every other Kindle they ship has a home button. Amazon has a track record of making some awfully rough version 1.0 devices; I'm sure they'll add a home button in a version…
SOPA and PIPA are two pieces of proposed legislation designed to "stop" Internet piracy… in the most hamfisted way imaginable. As Mitchell Baker explains: Assume there's a corner store in your neighborhood that rents movies. But the movie industry believes that some or even all of the videos in that store are unauthorized copies, so that they're not being paid when people watch their movies. What should be done? SOPA/PIPA do not aim at the people trying to get to the store, or even the store itself. The solution under the proposed bills is to make it as difficult as possible to find or…
In November, I delivered the keynote presentation at Øredev 2011. It was the second and probably final presentation in the series I call Building Social Software for the Anti-Social. I've spent almost four years thinking about the Q&A format, and these two presentations are the culmination of that line of thought. In them I present ten "scary ideas", ideas which are counterintuitive for most folks. These are the building blocks we used to construct Stack Overflow, and by extension, Server Fault, Super User, and the rest of the Stack Exchange network. Radically lower the bar for…
After the recent update to pt-table-checksum, I’ve seen a few FAQs about it. Q: is it still multi-threaded/parallel? A: No, that was a pile of bugs and complexity. If you need to run the tool in parallel to take advantage of powerful hardware, you can run several instances, say, one per database. Q: what chunk size should I use? A: None, let the tool adjust itself dynamically. Q: what if it skips a table or chunk because it’s oversized? A: this should be rare unless you have tables without any indexes; if you want to do the table in one chunk, run the tool again and specify to…
Some administrative tasks can be simplified by using common_schema/QueryScript. I'm collecting a bunch of these for documentation. Here's one for example: The DBA/developer has the task of retaining only top 3 most populated countries per continent. That is, she has to DELETE 4th, 5th, 6th, ... most populated counties in each continent. Is it possible to work out with a single query? Yes. But the query is not pretty. In fact, it is quite complicated, and either involves unintuitive subqueries, or unintuitive hacks. A normal DBA would not want to write, neither maintain this kind of query,…
It might surprise you to hear this, but I had no idea whether my talks would be accepted. The committee decided on that, and neither I nor anyone else at Percona is on the committee. In any case, I’ll be giving some tutorials again this year, and two of my talks have been accepted: Measuring Scalability and Performance With TCP and Diagnosing intermittent performance problems. This seems like an appropriate place to mention a few words about the conference organization. The number of people involved is staggering (100+). The logistics — the number of tasks, vendors, contracts, and…
Percona is glad to announce the release of Percona Server 5.5.20-24.1 on February 9th, 2012 (Downloads are available here and from the Percona Software Repositories). Based on MySQL 5.5.20, including all the bug fixes in it, Percona Server 5.5.20-24.1 is now the current stable release in the 5.5 series. All of Percona ‘s software is open-source and free, all the details of the release can be found in the 5.5.20-24.1 milestone at Launchpad. Full release notes available here: http://www.percona.com/doc/percona-server/5.5/release-notes/Percona-Server-5.5.20-24.1.html.PlanetMySQL…
Good news to all of you who are going or were thinking of going to the Percona Live MySQL Conference and Expo. Yesterday two great addon events were announced, both happening on Friday April 13th, right after the main conference: Drizzle Day 2012 read morePlanetMySQL Voting: Vote UP / Vote DOWN
Sheikha Al Mayassa, a patron of artists, storytellers and filmmakers in Qatar, talks about how art and culture create a country's identity -- and allow every country to share its unique identity with the wider world. As she says: "We don't want to be all the same, but we do want to understand each other."
Pepper spray and tasers are in increasing use by both police and military, and more exotic non-lethal weapons such as heat rays are in the works. At TEDxCanberra, ethicist Stephen Coleman explores the unexpected consequences of their introduction and asks some challenging questions.
How do you remember where you parked your car? How do you know if you're moving in the right direction? Neuroscientist Neil Burgess studies the neural mechanisms that map the space around us, and how they link to memory and imagination.
Underwater filmmaker Mike deGruy has spent decades looking intimately at the ocean. A consummate storyteller, he takes the stage at Mission Blue to share his awe and excitement -- and his fears -- about the blue heart of our planet.
From deep in the TED archive, Danny Hillis outlines an intriguing theory of how and why technological change seems to be accelerating, by linking it to the very evolution of life itself. The presentation techniques he uses may look dated, but the ideas are as relevant as ever.
Hey there everybody, I have created a project to determine "Return On Investment" (ROI) for GTD. And then it hit me...I have no idea how to go about that. So my next-action, is this posting. Can anybody out there share some thoughts about how to determine ROI for GTD seminars, coachings, and /...
What's your level of GTD expertise? No matter what it is, these interactive and concise 90-minute webinars will deepen your mastery of the GTD best practices. David Allen Company offers these on an "a la carte" basis, giving you the flexibility and affordability to choose just the ones that work for you. Keys to Getting Things Done® This live Webinar will give a fast & fun overview on the keys for Getting Things Done, led by a Senior Coach. Learn about the best practices and tools for managing the five phases of your workflow: Collect, Process, Organize, Review & Do.
People who are starting with GTD often ask how to handle delegation, especially when a "waiting for" from another person doesn't get delivered as agreed. Here's a question and answer with David Allen on this topic. Question: I just finished the "Getting Things Done" book and I know the methods you have expressed will for sure help me! I was wondering if you can help answer one of my questions? For Actions, let's say you have to delegate work to someone. If that person doesn't do the work that they volunteer to, how do you act in a stress-free way which doesn't decrease your productivity and…
I have just completed version 1.0.0 of Mongoid::Token - a little library for generating short, unique tokens for your mongoid documents. Great for keeping your URLs nice and short.
Enabling RESTful API access for Rails application is easy. However, the complexity arises when some responses are expected in xml format and JSON format. Complexity increases manyfold when these API calls need authentication. Sethu explains how to use Rabl and Devise for designing your API access.
For the last week or so, I've been trying to build a framework which does for email what Sinatra/Rack have done for web application development. It's not nearly production ready, but Newman now has good documentation of its implementation, and I'd love to hear what people think of it. I could really use some help, since email is not something I'm an expert on.
It's the latest Web-based syndication of Ruby Weekly, the weekly Ruby and Rails e-mail newsletter (which just tipped 11K subscribers). Ruby Weekly now has a 'tips' page where you can submit links for potential inclusion so if you're releasing something or have written a cool post, fill out the form and you may be in Ruby Weekly next week :-) Headlines Rails 3.2 Released DHH has unveiled Rails 3.2! Not quite as big a deal as 3.1 but has a faster development mode, faster route recognition, a tagged logger, and more. With Rails master now aiming at 4.0.0, it seems 3.2 may be the last version of…
Welcome to this week's Web-based syndication of Ruby Weekly, my Ruby e-mail newsletter. Headlines Vote for your 'Ruby Hero' in the Ruby Hero Awards The Ruby Heroes awards run each year and present 6 community nominated 'heroes' with an award at RailsConf. Nominations are now open so go and drop your nomination for the Rubyist whose code has brightened up your life the most in the past year. Heroku Receives InfoWorld's Technology of the Year Award Sorry it's just a press release but it's great to see a company that came up from the Ruby world continue to do well. Congrats to the Heroku team.
Welcome to this week's Web-based syndication of Ruby Weekly, the Ruby e-mail newsletter. While I have you, be sure to follow @RubyInside on Twitter as I'm going to be posting news more frequently there than on the Web site in future. Follow @RubyInside Also, if you're interested in getting one interesting programming related quote or link each day on Twitter, check out @codewisdom. Follow @CodeWisdom Headlines RSpec 2.8: The Popular Ruby BDD Tool Goes Supersonic RSpec 2.8 and rspec-rails 2.8.1 have been released and some users have been reporting significant performance improvements. Other…
RSpec 2.8 has been released, along with rspec-rails 2.8.1 for the full Rails 3.x integration experience. RSpec is a BDD-focused testing tool that's particularly popular in the Rails world where everyone except DHH is using it (if you believe the hoopla). RSpec has faced accusations of being less than speedy in the past, but it seems 2.8 has had a performance firework shoved up its tailpipe: David Chelimsky, the creator of RSpec, also notes that in RSpec 2.8: the documentation has been significantly improved there's improved support for tags and filtering random example running order support…
Ruby Weekly has just tipped over 10,000 subscribers but I know not everyone is into getting their news via e-mail, so here's the latest frequent roundup of the latest Ruby and Rails news for you, all on the Web :-) Key News, Releases, and Headlines Hungry Academy Application Process Closes This Weekend LivingSocial's 'Hungry Academy' will provide a paid, on-site 5 month Ruby and Rails learning experience and mentorship program to a small group of lucky applicants. Interested? You've only got a few days left to apply. DOS Attack Vulnerability Found in Ruby 1.8's Hash Algorithm Ruby 1.8.7-p352…
Since I hadn’t blogged for a bit I thought I would ask my Twitter peeps what they might want to hear my rant about. One of the more interesting suggestions I got was from Travis Northcutt who said the following: “Got it. I have no formal CS background, but I’m trying to learn enough to build (something). I know enough PHP to kind of, sort of get by but am trying to solidify my foundation. So if I’m being selfish, write a post to someone in my position who wants to not suck at building stuff.” This is actually a great question. Although the self-centered answer is…
A while back I ran into a problem on a server where PHPUnit kept reporting “aborted” no matter what tests were run. That was a pretty annoying bug. I never did find out what the problem was as I moved onto other problems and chalked that error up to some undiagnosed weirdness on that particular server. From time to time I would get asked on Twitter if I had ever solved the problem. My answer was always “no, and if you do solve it please let met know how you fixed it.” Today, my friends, was the day. Kudos to Damian Katz for coming up with a solution. Without digging…
Last week I attended CodeMash 2012 as a speaker and gave my talk on building testable PHP applications (don’t forget to buy the book that the talk inspired). Held in Sandusky, Ohio in the cold of January it is an interesting conference. Unlike most conferences that I attend, it is multi-disciplinary. There were talks on .NET, Java, Ruby, Python, and two lonely talks about PHP. For me, this is somewhat uncomfortable. It is only natural that people who use certain tools tend to flock together at a conference. I joked that where were only 3.7 PHP developers (with someone stating that the…
I am struggling to find a better way to handle a new paradigm in development. At Moontoast all our servers are up on EC2, which includes the two dev servers (one for each project) that I use every day. I’ve been playing around with Sublime Text (because of the awesome vim bindings) and was thinking about why do I always have to be logged into the remote server to do my work. Normally I connect using SSH, then attach to my tmux session and then fire up vim. This is okay but it lacks a certain elegance in it’s approach. As a result I end up using things like Dropbox to synchronize…
After the middling success of my first programming book I had been thinking about writing another book. When the end of October rolled around and National Novel Writing Month was about to happen I decided to take the plunge and write something. It didn’t turn out to be The Great Canadian Novel but I did collect my thoughts on what goes into building PHP applications in such a way that they are easily testable. I called it “The Grumpy Programmer’s Guide To Building Testable PHP Applications”. When I wrote my first book I did everything in Pages but that was before the…
This special is the first in our series of Smashing Specials — extended articles and studies dedicated to a specific topic. The special features current WordPress theme trends for 2012, covering past trends, new developments in theme design and trends in the theme development. 2011 was a great year for WordPress, with some excellent new updates that saw the introduction of a drag-and-drop uploader, distraction-free writing, the HTML5 Twenty Eleven theme, and movement towards a fully responsive dashboard. As well as changes to WordPress core, theme development continued to…
Before the very first page of a book has been read, you’ve already analyzed it in countless ways without even noticing. The paper stock, the thickness of the binding, the aroma, the color of the type and even the texture of the cover; the very character of the book is being dissected by the hand and eye at every moment. In this brief second there is a dialogue between the reader and the object. This conversation is subtle and complex, but for most people it is entirely subconscious. This is because we rarely think about these things — we feel them…
When conducting user research, we all know that asking the right questions is just as important as how you ask them, but how do you know exactly what questions to ask? What if the discussion topic is very personal? How do you get a complete stranger to open up? There is a better way to conduct an in-depth interview, and it doesn’t involve a clipboard. Just imagine what you could discover if the participant’s answers weren’t limited to a predetermined set of questions. This is where collaging can help. Collaging is a projective technique by which participants select images…
Custom post types add a level of flexibility to WordPress that makes this open-source Web development platform more useful on many levels. Whenever I have been faced with a Web-based task, especially one that involves organizing information, the first thing I do is examine WordPress to determine if it can handle the job. It usually can. Image Source As an Internet marketer and analyst, I need to be able to organize online marketing campaigns in a way that is trackable in Google Analytics. This is the perfect task for WordPress custom post types. In this article, we’ll explain…
Every now and then, we release useful freebies for all of our highly valued readers. Today, it is our pleasure to present to you Cuberto‘s fantastic St. Valentine’s icon set — exclusively designed for Smashing Magazine and its loyal readers. The icons presented are available in transparent PNGs as well as Photoshop PSDs (128×128 px) and are perfect for any projects you have coming up for St. Valentine’s Day. Enjoy! Download the Set for free! This icon set is completely free to use for commercial or personal applications without any…
With a mobile-first responsive design approach, if any part of the process breaks down, your user can still receive a representative image and avoid an unnecessarily large request on a device that may have limited bandwidth. But with several newer browsers implementing an “image prefetching” feature that allows images to be fetched before parsing the document’s body, some of the web's brightest developers are abandoning responsive images in favor of user agent detection, at least as a temporary solution. For us standardistas, UA detection leaves a bad taste in the mouth. More…
Strategic pricing helps your brand and helps you to make more money. Issuing a price is like handing out a business card—it’s a great branding tool, but be careful about what it says to your market. Beginning relationships with customers at a high price makes the statement: “we’re good at what we do and we know it.” Fighting with a competitor over a low price says “I’m uncertain about my abilities, so I’ll take what I can get.” Failing to use a considered pricing policy will leave you treading water in a sea of design mediocrity, allowing you to just stay afloat while you…
Bootstrap is an open-source front-end toolkit created to help designers and developers quickly and efficiently build great stuff online. Its goal is to provide a refined, well-documented, and extensive library of flexible design components created with HTML, CSS, and JavaScript for others to build and innovate on. Today, it has grown to include dozens of components and has become the most popular project on GitHub, with more than 13,000 watchers and 2,000 forks. Mark Otto, the co-creator of Bootstrap, sheds light on how and why Bootstrap was made, the processes used to create it, and how it…
Design is on a roll. Client services are experiencing a major uptick in demand, seasoned design professionals are abandoning client work in favor of entrepreneurship, and designer-co-founded startups such as Kickstarter and Airbnb are taking center stage. It’s becoming increasingly difficult to ignore the fact that design has a massive role to play in the evolution of the web and the next generation of web products. The result, says Cameron Koczon, is that designers have now been given a blank check—one that lets web designers band together as a community to change the way design is…
The pixel has long been the atomic particle of screen based design: a knowable, concrete unit of measurement. But layouts based on the hardware pixel are fast becoming an endangered species. Even the introduction of a new, W3C standard reference pixel, although it promises stability in the long-term, can't help us navigate the current chaos. Consider the two "standard" pixel definitions and 500 "standard" viewports your user's Android device may support. To create designs that transcend platform differences—the promise of the web and standards—you must normalize pixels across devices.
I’m a developer, have been for a long time. I’ve been wrting code for the web for the past decade in my life. I think I might be stuck in a bubble, I look to the web to solve problems that can be solved better in simpler ways. And looking around, I know I am not the only one. I want to tell you a story of a couple of problems that we’ve tried to solve several times with technology, when all we needed was a couple dollars worth of office supplies. The Lunch Party I’ve been working with Nick Pettit since 2007, before we came to Carsonified and Treehouse. In our last job…
Greetings, folks! If you haven’t been keeping up with the latest Rails news, we have a new version! Ruby on Rails 3.2.1 has recently been released with some very welcome changes! Faster development mode – Rails now only reloads the classes you’ve actually changed between requests in development mode. Explain queries – In development mode, you can automatically show the explain of certain queries by calling .explain at the end of your query. The results will go in your log. Active Record Store – Active Record now has a built in way to do key/value storage right…
You can now create a Treehouse Group Account for your company, university, school or any grouping of two or more people. Group plans are 25% cheaper so it’s a great way to save money. We’ve added a simple Groups Dashboard that allows you to see … Group Activity: Who’s watching videos and unlocking Badges Ranking in your Group, based on Badge unlocks More info … Group pricing is 25% off normal prices, which allows people with large groups to save a bit of money. You only need 2+ people to sign up. If you’re already a Member, you can’t be brought into a…
In this 6 minute video, we will get you started with iOS development by learning about the benefits of Apple’s iOS Dev center and how to gain access to the integrated development environment (IDE) called Xcode. This video is from Treehouse, a high-quality video training site with hundreds of short videos on topics like … Accessibility CSS3 Aesthetic Foundations Django HTML CSS HTML5 iOS Development JavaScript jQuery NoSQL PHP Responsive Web Design Ruby Ruby on Rails UX Version Control WordPress Theme Design New videos are added regularly, so it’s a great way to stay…
We recently launched Treehouse and, thanks to you, it’s been successful beyond our wildest expectations. Thank you all so much! We had so much fun celebrating with our previous giveaway, that we thought we would do another one.If you tweet to @treehouse the name of your favorite web app, we’ll randomly pick 10 winners to receive a "Mike the Frog" Nerd Merit Badge! Here’s a picture of what they look like:
Once you've logged in, look for the + icon throughout your favorite Alltop topics. Click it to add that site to your personal MyAlltop page.
Your MyAlltop account awaits.
Check your inbox for your activation email. Once you've confirmed your email address, you'll be able to start adding feeds and sharing your custom url.