Feed aggregator

Through the Google lens: search trends August 15-21

GoogleBlog - Fri, 08/22/2014 - 17:00
It was an emotional rollercoaster on search this week. Read on to learn more about what made people laugh and cry.

Tragedies and scandals
The world was shocked by a video showing the execution of American journalist James Foley by the Islamic State in Iraq and Syria (ISIS). Questions remain about how the United States will respond to the incident. And there was sad news closer to home too. TV lost an icon when Saturday Night Live’s announcer of 40+ years, Don Pardo, passed away at 96.

While some searchers were in mourning, others were looking for answers. Texas Governor and potential GOP presidential candidate Rick Perry was indicted this week on charges of abuse of power. Perry pleaded not guilty to all charges, but that didn’t stop searchers from investigating. And while people had their detective hats on, they also looked into the Louisville Purge, a social media hoax based off the horror movie series The Purge. The hoax claimed that all residents of Louisville, Kentucky would have 24 hours to commit any crime they want—without repercussion. Does anyone take social media that seriously?

“J” as in “J is the only letter that matters”
You’d think our favorite letter would be the letter “G,” and normally that’s the case—but not this week as J-named celebrities jacked the trends charts. Two-time Dancing with the Stars champion Julianna Hough is taking off her dancing shoes and getting comfortable behind the judge’s table in a new role on the show. Meanwhile, rumors flew like mockingjays this week that actress Jennifer Lawrence has a new beau— the consciously uncoupled Coldplay frontman Chris Martin. And when there’s action going on you know Johnny Manziel won’t be too far away. Searchers were baffled this week when Johnny Football decided to show the Washington bench that he, um, was “number one.”

Deep sea video gaming
Searchers took a trip down memory lane when former James Bond actor Pierce Brosnan went head-to-head with Jimmy Fallon in the classic Nintendo 64 game “GoldenEye 007.” Unfortunately, Brosnan’s experience as the untouchable Bond didn’t quite translate into video games skills. But Bond wasn’t the only one sleeping with the fishes. There were rough waters this week for sharks... more specifically this shark, who was swallowed whole in one bite by a goliath Grouper. Consider shark week officially over. (^^^)

Tip of the week
Want a fast way to calculate the tip? Stop counting on your fingers and just ask Google “How much is the tip on a $27 bill?” to get the amount. You can also adjust the tip percent and divide the bill by the number of people in your party, right in the search results.

Posted by Jenise Araujo, Communications Associate, who searched was [live from new york] and searched for [giant fish].
Categories: Technology

Balsamiq UX Template

UrlGreyHot.com - Wed, 07/30/2014 - 18:24
Made for UX designers

This template is made for UI designers using Balsamiq Mockups that want to create polished, client-ready presentation decks. It includes a few example pages for basic UX document needs (journey maps, personas, wireframe pages), a Symbol Library for controls crafted in Konigi-style, and grid Symbols to keep your layout tight.

Download for free

1. Download the template.
2. Duplicate it whenever you start a new project.
3. Set to Wireframe Skin and System Fonts.

Watch a tutorial on how to use this template.

Symbol Library for Controls Example Pages and Grid Symbols

<img src="" alt="" class="img-responsive" />

This template is made for UI designers using Balsamiq Mockups that want to create polished, client-ready presentation decks. It includes a few example pages for basic UX document needs (journey maps, personas, wireframe pages), a Symbol Library for controls crafted in Konigi-style, and grid Symbols to keep your layout tight.

More info...

Categories: Technology

Becoming a Better Programmer

Perl.com - Thu, 06/26/2014 - 11:28

Pete Goodliffe, author of Code Craft, presents several lessons that will help you go beyond just being a good coder. You’ll learn how to become a better worker, a better team member, and even a better person. This is a book for people who care about code, who are passionate about the way they create it, and who want to do an even better job.

Logging the caller

SoftwareAs.com - Wed, 06/11/2014 - 18:29

It’s so useful to automagically log caller line number and so on. Most languages make it possible via hack involving throwing an exception to yield a stack trace. Some languages explicitly provide this info. In Ruby, it’s possible with the caller array.

Here’s how I used it just now:

ruby < view plain text >

  1. def logg
  2.   caller_info = caller[0].gsub! /^.+\/(.*)\.rb:(.*):in `(.*)'/, '\\2:\\3:\\2'
  3.   Rails.logger.debug "[#{caller_info}] - #{id}. Thread#{Thread.current.object_id.to_s(36)}"
  4. end

This will output caller_info in the format: [series_feed:fetch:123]. Which is the file:method:line_number. It’s derived, via the initial regex, from the slightly less log-friendly caller string, path/to/series_feed.rb:123:infetch’.

How to use different favicons for development, staging, and production

SoftwareAs.com - Sat, 06/07/2014 - 09:29

It’s useful to have different favicons for each environment during development, as Pamela recently pointed out. Here’s how I do it.

First, generate the images. Most graphics editor have some kind of Colorize tool and if you do it often, use ImageMagick to change colors programmatically. If you’re lucky enough to have a green brand logo, a cool combo would be traffic lights. Justsaying.

Now, set the favicons according to your environment. Should you just use /favicon.ico location or point to the location in head? The answer is both. /favicon.ico is useful for third-party plugins whose HTML you don’t control, as well as quick hack pages you can’t be bothered configuring with proper metadata. A link tag in html head is useful for revving the icon when it changes, to bust any cached version. So use both.

To set favicon in HEAD, ensure the path is dynamically generated instead of hard-coded:

HTML4 < view plain text >

  1. %link(rel="icon" href="#{favicon_path}" type="image/x-icon")

The path is generated like such as:

ruby < view plain text >

  1. def env_suffix
  2.   Rails.env.production? ? '' : "-#{Rails.env}"
  3. end
  5. def favicon_path
  6.   asset_path "favicon#{env_suffix}.ico"
  7. end

It’s arguably bad form to use “production” strings in production, so the env_suffix nonsense above will hide it. If you don’t care about that, just call your production icon favicon-production.ico and save yourself a little hassle.

As mentioned earlier, we also want just /favicon.ico to exist. A quick way to do that is copy it when the apps starts or define /favicon.ico as a route and serve the file as favicon_path, defined above, with sufficient cache expiry time (e.g. 1 day). e.g.:

ruby < view plain text >

  1. def favicon
  2. path = ActionController::Base.helpers.asset_path "favicon#{env_suffix}.ico"
  3. send_file path, type:"image/x-icon", disposition:"inline"
  4. end

For bonus points, you might want to use similar techniques to provide overriding stylesheets for development and staging. Then you can introduce a text label or change background color, etc.

A digital DC power supply -- part 3: command control from the PC

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Guido Socher
Categories: Linux

Computer Assisted Simulation of DNA using Linux and Perl

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Carlos Andrés Pérez
Categories: Linux

Automate the creation of graphs with Graphviz

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Jean-Etienne Poirrier
Categories: Linux

LF Tip: #defines for writing portable C-code

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Guido Socher
Categories: Linux

A digital DC power supply -- part 2: the software

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Guido Socher
Categories: Linux

Book review: The Linux Enterprise Cluster

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Tom Uijldert
Categories: Linux

LF Tip: USB mice and laptops

LinuxFocus.org - Wed, 04/11/2012 - 18:35
by Guido Socher
Categories: Linux

Ovolabs Phlink not working in OS X Lion

OutOfControl - Thu, 09/15/2011 - 13:01

Worried that Ovolabs Phlink telephonic software will stop working when you upgrade to Apples OS X Lion? You have good reason to, as it won't work. Anyone who has Ovolabs Phlink will know that support seems to have been dropped many moons ago! No develop is ongoing but Ovolabs is happy to take your money, if you want to throw it at them, in exchange for their product. This is quite sad, as Ovolabs Phlink telephonic software appears to be one of the better packages out there, if you want to use your Mac as an answering machine.

This is where ThinkSoftware.net steps in. Fabien Octave from ThinkSoftware has written a small kextunload startup item that will fix the issue, and allow Phlink to run as it should. I've downloaded and installed the package, it does what it says it does, and nothing more.

The link: http://thinksoftware.net/phlink-lion.html
The forum thread at Ovolab: http://www.ovolab.com/support/forum/viewtopic.php?t=2482

PS: I noticed after the most recent update from Apple, that Phlink once again sees calls coming in, but still won't pickup. The unload of com.apple.driver.AppleUSBCDC is still needed.

Categories: Linux

Syndicate content