Apr 28 2009

Specter's departure highlights Republican divide – Los Angeles Times


Times Online

Specter's departure highlights Republican divide
Los Angeles Times
Some party leaders see his move as purely election-driven; others as a signal that they need to be more inclusive. But a recent poll says GOP voters want to move further right.
Video: Specter Shocks Capitol Hill, Becomes a Dem The Associated Press
So Much for the Specter of a Flu Pandemic Washington Post
The Associated Press – guardian.co.uk – New York Times – FOXNews
all 3,274 news articles  Langue : Français
Share

Apr 28 2009

Microsoft’s Pink Smartphone To Rival iPhone On Verizon!!

It’s crazy, we know. Just hours after hearing shockingly believable whispers that Apple’s white-hot iPhone 3G could be sashaying over to Verizon Wireless, in flies a Wall Street Journal report asserting that the suits in Redmond are (also?) in talks with America’s largest carrier. Should be launched next year!!!

Share

Apr 28 2009

‘Bad’ BitTorrent and Warez Sites Raided By Police

Just recently the police in Hungary conducted raids on various torrent and warez sites, but few will have sympathy for those arrested. The site operators charged users for access via premium SMS, many of them unsuspecting kids. The police seized an impressive amount of equipment and also took some impressive photographs.

Share

Apr 28 2009

35 tutorials to create amazing vector graphics with Inkscape

Inkscape is a free vector graphic design alternative software similar to Adobe Illustrator and CorelDraw, only it doesn’t cost you a penny. It is maybe not as powerful as its higher priced rivals, but certainly powerful enough to design high quality vector graphics. Here are some tutorials to check out if you’re thinking about using Inkscape.

Share

Apr 28 2009

Social Networking Sites Getting Risky For Recruiting

onehitwonder writes “While many recruiters and HR managers are taking advantage of the Web and online social networks to screen candidates for positions inside their organizations, a bank in Texas has decided that using social networking websites in its recruiting process is too risky legally. Amegy Bank of Texas now prohibits internal HR staff and external recruiters from using social networking sites in its hiring process. Amegy’s decision to ban the use of social networking sites in its hiring process demonstrates its respect for prospective employees’ privacy. It also sends a message to the employers and recruiters using social networks to snoop into job seekers’ personal lives that their actions border on discrimination and could get them in a lot of legal trouble.”

Read more of this story at Slashdot.


Share

Apr 28 2009

Miro Asks Users To "Adopt" Lines of Source

soDean writes “The FOSS video player / downloader Miro is asking its users to support development by ‘adopting’ a line of source code for a month. Each adopted line of code comes personalized with a little avatar character that will grow older over the year. PCF, which makes Miro, says they think the project is the first of its kind and they believe it’s a chance to ‘to have a truly bottom up funding base.'”

Read more of this story at Slashdot.


Share

Apr 28 2009

First Dojo Experience. Drag and Drop with Dojo and Ajax.

Lately I’ve been doing a large amount of web based programming for a couple of database driven websites.
This has been an great technical learning experience for me and I’ve thoroughly enjoyed most of it.
Most of my work has been server side php pages allowing customers to edit settings or print off reports.
While having a great design and a mostly self explanatory interface I’ve always felt that the pages lacked the whole web 2.0 feel.

I’ve have used basic ajax throughout my sites but it’s never been as smooth or slick as I’d like.
I’ve never used drag and drop methods on any of my pages and most of my pages reload when the customer hits submit.

I wanted to make my web pages more like a stand alone application and I have recently been playing with a javascript framework named Dojo. Since Dojo is still relatively new to me I’m sure there is a large amount of functionality that I’m missing out on when I describe my experience but here is my journey to get a drag and drop database application running with Dojo as quick as possible with hopefully only the useful steps outlined.

As I always do, I started out with a basic html template. But I’ll assume that everyone knows what that looks like so here is the html document after I put the Dojo includes in :


<html>
<head>
<style type="text/css">
  @import "includes/dojo/dijit/themes/tundra/tundra.css";
  @import "includes/dojo/dojo/resources/dojo.css";
  .target {border: 1px dotted gray; width: 100px; height: 200px;padding: 5px;}
  .source {border: 1px dotted skyblue; width: 100px;height: 200px;}
  .cody {height:50px;width:100%;background-color:skyblue}
  .taylor {height:50px;width:100%;background-color:red}
</style><script type="text/javascript" src="includes/dojo/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>

<script type="text/javascript">
//Nothing here yet
</script>

<title>Cody Taylor's Dojo Test</title>
</head>
<body class="tundra">
</body>
</html>

Pretty basic right? A couple of css files for the web 2.0ish look and the dojo core javascript file.
Next we need to include the dojo.require stuff. From what I understand these statements are the framework’s “Include This Module” statements.
Which is a good idea due to the size of some of the Dojo files. I added these two statements to the page head to add the javascript drag and drop functionality module.

dojo.require("dojo.dnd.Source"); 
dojo.require("dojo.parser");

I then added the following code to the body section. Div within a div within a div twice makes up the first “source” div.
The second div provides us with a target. The odd stuff here that you should take note of, and read up on in the documentation is the dojoType, jsId, and the specific dojoDndItem class.


<table><tbody><tr>
<td>
<div dojoType="dojo.dnd.Source" jsId="cody1" class="source">
        Test Source
        <div class="dojoDndItem" dndType="blue">
                <div class="cody">Cody</div>
        </div>
        <div class="dojoDndItem" dndType="darkred">
                <div class="taylor">Taylor</div>
        </div>
</div>
</td><td>
<div dojoType="dojo.dnd.Target" jsId="cody2" class="target" accept="blue,darkred">
       Test Target
</div>
</td></tr><tbody/></table>

Now we have a working drag and drop example. Awesome right? To bad it looks like garbage. First thing that ruins the impressive effect of dragging and dropping on a web page is that silly arrow with the ‘1’ beside it. Not sure what the point of that is.
Overriding the css class should fix that.


.dojoDndAvatarHeader {
        display: none;
}

I’ll get into using custom images to drag and drop with dojo and javascript in my next blog. So far though I am very impressed by this extremely simple to use javascript framework. I hope that it is this easy to customize everything for specific applications. I guess I’ll find out when I try to put images and ajax with database driven information in the dojo app that I plan to create in the next two or three dojo examples.

-Cody Taylor

Share

Apr 28 2009

‘Fragile' Airlines May Lose Travelers as Flu Spreads – Bloomberg


Times Online

‘Fragile' Airlines May Lose Travelers as Flu Spreads
Bloomberg
By Mary Schlangenstein and Mary Jane Credeur April 28 (Bloomberg) — US airlines already struggling with falling demand and fares on overseas flights may see that slump deepen as the swine flu outbreak spreads.
Video: Swine flu cases continue to rise in US WLUK
Mexico imposes swine flu measures BBC News
Reuters – CNN – Times Online – Bloomberg
all 39,232 news articles
Share

Apr 28 2009

Specter condemned Jim Jeffords' party switch in 2001 – Los Angeles Times


New York Times

Specter condemned Jim Jeffords' party switch in 2001
Los Angeles Times
When the Vermont Republican became an independent, Specter lost a committee chairmanship in the Senate's resulting power shift.
Video: Senator Arlen Specter on Switching Parties C-SPAN
100 days – and shock defection – boosts Obama's grip on power Times Online
CNN – Reuters – FOXNews – The Associated Press
all 2,906 news articles  Langue : Français
Share

Apr 28 2009

Former Mulroney aide says he sought to clarify Schreiber deal – CBC.ca


CBC.ca

Former Mulroney aide says he sought to clarify Schreiber deal
CBC.ca
A former advisor to Brian Mulroney said he took it upon himself to craft a memo describing the business relationship between the former prime minister and Karlheinz Schreiber to settle any ambiguity over their dealings – even though the nature of their
Doucet says he tried to 'clarify' Mulroney-Schreiber deal CJAD
Doucet memo mentions Airbus TheChronicleHerald.ca
Globe and Mail – Toronto Star – Edmonton Sun – Ottawa Citizen
all 112 news articles  Langue : Français
Share