Thursday, April 18, 2013

Glass Explorer Edition gets unboxed, photographed (video)

Glass Explorer Edition gets unboxed, photographed

We already know what Page and Co. will be packing along with Glass, but now that participants of the Explorer program have begun picking up the wearable hardware, we're getting a second-hand unboxing experience. For those in need of a refresher, the glasses will be accompanied by a microUSB cable and charger, a pouch and an attachable shade and clear lens. Though there isn't much to glean from the stream of images, one of Mountain View's adventurers noticed that users will be able to send navigation directions straight from a smartphone to the eyewear. Click the source links below to take a gander at the photos, or hit the jump to watch a video shot with Glass by a Googler.

Update: We've slotted in a video after the break of Glass user Dan McLaughlin extracting his device from its packaging. The footage is a bit choppy, but it certainly provides a closer look at the hardware.

Filed under: ,

Comments

Source: Brandon Allgood (Google+), Cecilia Abadie (Google+), Matt Abdou (Google+), Dan McLaughlin

Source: http://www.engadget.com/2013/04/16/glass-explorer-edition-gets-unboxed-photographed/

april 20 secret service prostitution 4 20 george zimmerman sheree whitfield weather dallas pat summitt

Wednesday, April 17, 2013

Obama says he expects more provocation from North Korea

WASHINGTON (Reuters) - President Barack Obama said on Tuesday he expects more posturing and provocation by North Korea and, while he does not believe the Asian nation has the capacity to mount a nuclear weapon on a ballistic missile, the United States is preparing for "every contingency."

"I think all of us would anticipate that - you know, North Korea will probably make more provocative moves - over the next several weeks," Obama told NBC's "Today" show.

"But our hope is that we can contain it and that we can move into a different phase in which they try to work through diplomatically some of these issues," he said.

The interview was conducted on Monday before the bombings that killed three people and injured more than 100 people in Boston.

After a series of belligerent steps and statements in recent weeks, Pyongyang has issued new threats against South Korea demanding an apology for anti-North Korean protests.

The North has also rejected U.S. overtures for talks, but a U.S. military official said the North Korean leadership was looking for a way to cool down its charged rhetoric.

Obama said he believes North Korea's saber rattling is similar to past patterns of behavior. Even so, the United States is taking precautionary measures, he said.

"We have to make sure that we are dealing with every contingency out there," the president said. "And that's why I've repositioned missile defense systems - to guard against any miscalculation on their part."

(Reporting By Mark Felsenthal; editing by Christopher Wilson)

Source: http://news.yahoo.com/obama-says-expects-more-provocative-moves-north-korea-124757113.html

Kirk Urso London 2012 Javelin roger federer Olga Korbut Usain Bolt 2012 Olympics Katie Ledecky Aaron Ross

Purdue University's ReadingMate makes the classic reading-running combo a little easier

Purdue University's ReadingMate makes the classic reading-running combo a little easier

Universities aren't just places for students to cut classes and enjoy themselves before eventually embarking on careers. They are also places where problems get solved, like the one facing runners who find it hard to read on the jog. That bane is the focus of a group of researchers at Purdue University, who are working on a system called ReadingMate, which moves text on a display in reaction to the bobbing head of a runner to stabilize what's being seen. The screen is sent information from a pair of infrared LED-equipped glasses, but it's not as simple as shifting text in time with head movement -- your eyes are performing corrections of their own, so the words dance slightly out of sync with your noggin to take this into account. It's performed well in testing, and could have applications beyond the gym, such as in heavy machinery and aircraft, where vibration can hamper reading ability in important situations. Those uses make the most sense -- we don't often find ourselves eager to attack that next Twilight chapter during a near-death treadmill experience.

Filed under: , , ,

Comments

Via: Gizmag

Source: Purdue University

Source: http://feeds.engadget.com/~r/weblogsinc/engadget/~3/XDukKqlhYF0/

little league world series us open tennis us open tennis Empire State Building shooting Republican National Convention Karlie Redd guild wars 2

Ten-year follow-up of physical activity among adolescents

Apr. 15, 2013 ? A study from the University of Gothenburg, Sweden, shows that the drop in boys' physical activity during the teenage years levels off in early adulthood.

In 2000, about 1000 children aged 6-14 from southeast Sweden participated in an international study on physical activity, body constitution and physical self-perception.

The new study is a follow-up study on a sample of the 12-year-olds in the original study. The researchers followed and reassessed the group at age 15, 17 and 22. As in the first study, they measured physical activity using a pedometer.

The results indicate a reduction in total daily physical activity from the early teenage years to early adulthood. The boys show a dramatic drop between the ages of 12 and 15. Girls are on average more active than boys at both 17 and 22.

The activity pattern -- the question of whether the most active children are also the most active as adults -- is maintained only to a low extent. However, those who were deemed insufficiently active at age 12 seemed to maintain their activity pattern to a larger extent as adults.

'This is a problem. But low-activity children can be identified with simple methods like using a pedometer. They could then be targeted in school and through intervention programmes,' says Anders Raustorp, Senior Lecturer at the Department of Food and Nutrition, and Sport Science, University of Gothenburg, and one of the researchers behind the new study.

While many previous studies have looked at what happens to adolescents' exercise habits, this study also explores their overall levels of daily physical activity. Studies including objective measures of physical activity over the course of a whole decade in this age span are extremely rare.

Raustorp has previously published global steps-per-day recommendations for both children (2004 and 2011) and adults (2008). He has also introduced the pedometer in Swedish research and as a useful method in physiotherapy, and has become an authority within pedometer research.

His and his colleagues' step-per-day recommendations for children and adolescents published in International Journal of Behavioral Nutrition and Physical Activity are in frequent use.

Objective measurements based on validated pedometers and accelerometers offer new opportunities to measure and communicate physical activity as number of steps per day. This simple measure continues to gain respect and popularity among both researchers and practitioners as an acceptable way to assess total daily physical activity.

Share this story on Facebook, Twitter, and Google:

Other social bookmarking and sharing tools:


Story Source:

The above story is reprinted from materials provided by University of Gothenburg, via AlphaGalileo.

Note: Materials may be edited for content and length. For further information, please contact the source cited above.


Journal Reference:

  1. Raustorp A, Ekroth Y. Tracking of Pedometer Determined Physical Activity: A 10 Years Follow-Up Study from Adolescence to Adulthood in Sweden. J Phys Act Health, 2013, Jan 3 [link]

Note: If no author is given, the source is cited instead.

Disclaimer: This article is not intended to provide medical advice, diagnosis or treatment. Views expressed here do not necessarily reflect those of ScienceDaily or its staff.

Source: http://feeds.sciencedaily.com/~r/sciencedaily/~3/uHpXz4J791Q/130415095924.htm

Ravens vs Patriots 49ers Vs Falcons Mama Movie flyers epo suits PlayStation Network

Monday, April 15, 2013

Verizon in talks to lease Clearwire spectrum for $1.5 billion

Verizon in talks to lease Clearwire spectrum for $15 billion

Verizon could be looking to bolster its wireless network with Clearwire spectrum, according to the Wall Street Journal. The potential deal, of which little is known at the moment, would see the nation's number one wireless operator forking over $1.5 billion to lease Clearwire's spectrum. It's an odd move for Verizon given its past aggressive stance on spectrum acquisition, but due to legal entanglements involving Clearwire and 50-percent owner Sprint, it's likely the only available option. At present, Sprint is seeking to buy out the remaining stake in Clearwire, bringing that company and its valuable spectrum -- formerly used for WiMAX -- completely in-house.

But complicating matters is a rival bid from Dish, which is offering $25.5 billion to buy Sprint (a move prompted by its failed Clearwire bid) and build out a wireless network of its own with holdings it acquired from previous FCC spectrum auctions. With spectrum so finite a resource, the only recourse carriers have is to lease, acquire or win auctioned spectrum (should the FCC seek to free more up). Rest assured, these operator wars will only get messier and more frequent with time as the US rolls over into an all LTE future.

Filed under: , , , ,

Comments

Via: The Verge

Source: Wall Street Journal

Source: http://www.engadget.com/2013/04/15/verizon-in-talks-to-lease-clearwire-spectrum-for-1-5-billion/

spike lee carson daly heejun han donovan mcnabb donovan mcnabb lottery ticket megga millions

Sen. Marco Rubio to Jay-Z: Get your facts straight on Cuba

Immigration reform pushed by the bipartisan 'Gang of Eight' hits the Senate this week. Sen. Marco Rubio is a key player, and he was all over the news shows Sunday talking about that.

By Brad Knickerbocker,?Staff writer / April 14, 2013

Sen. Marco Rubio, R-Fla., speaks at a Capitol Hill news conference on immigration legislation with other members of the "Gang of Eight," including, from left, Sen. John McCain, R-Ariz., Sen. Chuck Schumer, D-N.Y. and Sen. Robert Menendez, D-N.J.

J. Scott Applewhite/AP

Enlarge

Sen. Marco Rubio is a main Republican point man on immigration reform, not to mention trying to get Hispanics to vote GOP for a change. And he was all over the TV news shows Sunday ? seven venues (two Spanish language), which may be a record ? touting the points he?ll make when legislation is taken up this coming week.

Skip to next paragraph

' + google_ads[0].line2 + '
' + google_ads[0].line3 + '

'; } else if (google_ads.length > 1) { ad_unit += ''; } } document.getElementById("ad_unit").innerHTML += ad_unit; google_adnum += google_ads.length; return; } var google_adnum = 0; google_ad_client = "pub-6743622525202572"; google_ad_output = 'js'; google_max_num_ads = '1'; google_feedback = "on"; google_ad_type = "text"; google_adtest = "on"; google_image_size = '230x105'; google_skip = '0'; // -->

But first, he had a message for rapper Jay-Z, who went to Cuba recently on a trip with his wife pop singer Beyonc??that conservative critics saw as propaganda for a repressive country.

"If Jay-Z was truly interested in the true state of affairs in Cuba, he would have met people that are being oppressed, including a hip-hop artist in Cuba [jailed rapper Angel Yunier Remon Arzuaga] who is right now being oppressed and persecuted and is undergoing a hunger strike because of his political lyrics," Sen. Rubio said on ABC's ?This Week.?

"Jay-Z needs to get informed," Rubio said. "One of his heroes is Che Guevara.?Che Guevara was a racist.?Che Guevara was a racist that wrote extensively about the superiority of white Europeans over people of African descent, so he should inform himself on the guy that he?s propping up."

But aside from Cuba ? a minor issue in immigration reform but important to Floridians like Rubio, whose parents emigrated from there ? Rubio?s stance and now outspokenness on immigration could be risky for him and the Republican Party.

?The gambit could pay off in spades by crowning a leading presidential contender in 2016, or it could permanently damage the Republican?s brand with conservatives,? writes Manu Raju at Politico.

Rubio is one of the bipartisan ?Gang of Eight? Senators who?ve taken the lead on immigration, but he has remained a bit of a wild card, pressured from both directions.

On Friday, the president of the Immigration and Customs Enforcement union called on Rubio to step down from the Gang of Eight, charging that proposed legislation ?offers legalization, or amnesty, before enforcement.?

Source: http://rss.csmonitor.com/~r/feeds/csm/~3/6oT0ihjLNnk/Sen.-Marco-Rubio-to-Jay-Z-Get-your-facts-straight-on-Cuba

Univision josh hamilton Susan Rice American Airlines the Who jon bon jovi jon bon jovi

Updating Database And JButtons - Java | Dream.In.Code


Example
#{example}
"); ipb.editor_values.get('templates')['togglesource'] = new Template("
??? Cancel Source Edit
"); ipb.editor_values.get('templates')['toolbar'] = new Template(""); ipb.editor_values.get('templates')['button'] = new Template("
  • Icon
  • "); ipb.editor_values.get('templates')['menu_item'] = new Template("
  • #{title}
  • "); ipb.editor_values.get('templates')['togglesource'] = new Template("
    ??? Cancel Source Edit
    "); ipb.editor_values.get('templates')['emoticons_showall'] = new Template(""); ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("

    Emoticons

    "); // Add smilies into the mix ipb.editor_values.set( 'show_emoticon_link', false ); ipb.editor_values.set( 'bbcodes', $H({"snapback":{"id":"1","title":"Post Snap Back","desc":"This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.","tag":"snapback","useoption":"0","example":"[snapback]100[/snapback]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"topic":{"id":"5","title":"Topic Link","desc":"This tag provides an easy way to link to a topic","tag":"topic","useoption":"1","example":"[topic=1]Click me![/topic]","switch_option":"0","menu_option_text":"Enter the topic ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"post":{"id":"6","title":"Post Link","desc":"This tag provides an easy way to link to a post.","tag":"post","useoption":"1","example":"[post=1]Click me![/post]","switch_option":"0","menu_option_text":"Enter the Post ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"spoiler":{"id":"7","title":"Spoiler","desc":"Spoiler tag","tag":"spoiler","useoption":"0","example":"[spoiler]Some hidden text[/spoiler]","switch_option":"0","menu_option_text":"","menu_content_text":"Enter the text to be masked","single_tag":"0","optional_option":"0","image":""},"acronym":{"id":"8","title":"Acronym","desc":"Allows you to make an acronym that will display a description when moused over","tag":"acronym","useoption":"1","example":"[acronym='Laugh Out Loud']lol[/acronym]","switch_option":"0","menu_option_text":"Enter the description for this acronym (EG: Laugh Out Loud)","menu_content_text":"Enter the acronym (EG: lol)","single_tag":"0","optional_option":"0","image":""},"hr":{"id":"12","title":"Horizontal Rule","desc":"Adds a horizontal rule to separate text","tag":"hr","useoption":"0","example":"[hr]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"php":{"id":"14","title":"PHP Code","desc":"Allows you to enter PHP code into a formatted/highlighted syntax box","tag":"php","useoption":"0","example":"[php]$variable = true;\n\nprint_r($variable);[/php]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"html":{"id":"15","title":"HTML Code","desc":"Allows you to enter formatted/syntax-highlighted HTML code","tag":"html","useoption":"0","example":"[html]\n \n[/html]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"sql":{"id":"16","title":"SQL Code","desc":"Allows you to enter formatted/syntax-highlighted SQL code","tag":"sql","useoption":"0","example":"[sql]SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7[/sql]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"xml":{"id":"17","title":"XML Code","desc":"Allows you to enter formatted/syntax-highlighted XML code","tag":"xml","useoption":"0","example":"[xml]\n \n Test\n \n[/xml]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"member":{"id":"31","title":"Member","desc":"Given a member name, a link is automatically generated to the member's profile","tag":"member","useoption":"1","example":"[member=skyhawk133] runs this site.","switch_option":"0","menu_option_text":"Input Username of Member","menu_content_text":"","single_tag":"1","optional_option":"0","image":"memberbbcode.png"},"extract":{"id":"33","title":"Extract Blog Entry","desc":"This will allow users to define an extract for an entry. Only this piece of the entry will be displayed on the main blog page and will show up in the RSS feed.","tag":"extract","useoption":"0","example":"[extract]This is an example![/extract]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"blog":{"id":"34","title":"Blog Link","desc":"This tag provides an easy way to link to a blog.","tag":"blog","useoption":"1","example":"[blog=100]Click me![/blog]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"entry":{"id":"35","title":"Blog Entry Link","desc":"This tag provides an easy way to link to a blog entry.","tag":"entry","useoption":"1","example":"[entry=100]Click me![/entry]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"twitter":{"id":"36","title":"Twitter","desc":"A tag to link to a user's twitter account","tag":"twitter","useoption":"0","example":"[twitter]userName[/twitter]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"twitter.png"},"inline":{"id":"37","title":"Inline Code","desc":"Formats code inline instead of in a seperate code box. ","tag":"inline","useoption":"0","example":"[inline]style=\"font-size: 12px;\"[/inline]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"il":{"id":"38","title":"Abbreviated Inline (IL)","desc":"Abbreviated version of the [inline] tag. ","tag":"il","useoption":"0","example":"[il]Code Here[/il]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"il2.png"},"code":{"id":"41","title":"Code","desc":"Allows you to enter general code","tag":"code","useoption":"1","example":"[code]$text = 'Some long code here';[/code]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"1","image":""}}) ); ipb.vars['emoticon_url'] = "http://cdn.dreamincode.net/forums/public/style_emoticons/default"; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = 32; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = 318492; //]]>

    4 Replies - 22 Views - Last Post: Today, 12:47 PM Rate Topic: -----

    #1 Raha69 ?Icon User is offline

    Reputation: 0

    • Posts: 4
    • Joined: 08-April 13

    Posted Today, 12:01 PM

    I Have this code, whereby I want to update my database in microsoft access for seatNumbers...The table have the following fields, seat1, seat2,
    seat3, seat4 and seat5.

    So when the user confirms the seats to be booked, e.g there are 5 seats in the form of JButton(5). The record for that row in the database is
    supposed to be updated to booked. When user clicks button1 then seat1 column is changed to booked. and should go on for the next 5 buttons.

    So far I can only do for one button and update one field, however when i try to add other buttons,
    my database do have so many records and i only need one record to be updated not multiple.this is for modifyDB() method.

    For the method bookedSeatDB(), it supposed to connect to the database and if seat is still empty, it will display green when it is booked then it will be red and not possible for the user to click on it

    Am new to java programming and I really wish to be understand my mistakes in terms of coding.

    The problem are on this 2 methods.Hopeful u understand my explanation
    Thank you in advance

    
 public void bookedSeatsDB() 	{	try{ 			        		  				String xx = "Select * FROM myBus"; 				Connection con = DriverManager.getConnection("jdbc:odbc:BusDetails"); 									 				tatement st = con.createStatement(); 									 				ResultSet rs = st.executeQuery(xx); 				while (rs.next()){  // My Problem is on this part as once I click then it changes all three buttons 										 				seatButtons[0].setText(rs.getString("Seat1")); 				seatButtons[0].setBackground(Color.RED); 				seatButtons[0].setEnabled(false); 									 									 				seatButtons[1].setText(rs.getString("Seat2")); 				seatButtons[1].setBackground(Color.RED); 				seatButtons[1].setEnabled(false);  				seatButtons[2].setText(rs.getString("Seat3")); 				seatButtons[2].setBackground(Color.RED); 				seatButtons[2].setEnabled(false);        				}//end of while 									 				JOptionPane.showMessageDialog(null, "Seat 1 is already Booked")	; 									 			}//wnd of try 							  		catch (Exception eva){ 			System.out.println("Cannot Connect to Databse"); 							 				} 			        }  
    
public void modifyDB(){ 	try{ 		//DBConnection(); 		String st1 = seatButtons[0].getText(); 		String st2 = seatButtons[1].getText(); 		String st3 = seatButtons[2].getText(); 		String st4 = seatButtons[3].getText(); 		String st5 = seatButtons[4].getText(); 							 							 			//I have tried update but its is not favouring the solution 			//String updst1 = "UPDATE myBus SET seat1 = Booked WHERE FromCol = Ipoh "; 							 			 			String dataInsertion = "Insert into myBus (seat1) VALUES ('" + st1 + "') "; 			st.executeUpdate(updst1); 							 			String changeSeat2 = "Insert into myBus (seat2) VALUES ('" + st2 + "') "; 			st.executeUpdate(changeSeat2); 							 			String changeSeat3 = "Insert into myBus (seat3) VALUES ('" + st3 + "') "; 			st.executeUpdate(changeSeat3); 							 			String changeSeat4 = "Insert into myBus (seat4) VALUES ('" + st4 + "') "; 			st.executeUpdate(changeSeat4); 							 			String changeSeat5 = "Insert into myBus (seat5) VALUES ('" + st5 + "') "; 			st.executeUpdate(changeSeat5); 		}  catch (Exception even) {  }


    Is This A Good Question/Topic? 0

    Replies To: updating database and JButtons

    #2 andrewsw ?Icon User is online

    Reputation: 810

    • Posts: 2,512
    • Joined: 12-December 12

    Re: updating database and JButtons

    Posted Today, 12:21 PM

    The first thing I suggest that you do is to remove those try..catch statements; you need to see all errors messages while developing your application.

    Quote

    So far I can only do for one button and update one field, however when i try to add other buttons,
    my database do have so many records and i only need one record to be updated not multiple.this is for modifyDB() method.

    For the method bookedSeatDB(), it supposed to connect to the database and if seat is still empty, it will display green when it is booked then it will be red and not possible for the user to click on it


    You need to use a WHERE clause so that an UPDATE will only update specific records. In the UPDATE statement that you attempted you need to include apostrophes around text-values (as you did with you SET statements). I assume, also, that Ipoh is a variable(?) (defined somewhere) in which case it needs to be split out from the expression, as you did further down with st1, st2.

    For the second point you need to examine the data retrieved from the database, and use an if statement, based on a value from the database, to paint something red or green. Google and study how to retrieve data from a database, although there may be tutorials available here at DIC.

    This post has been edited by andrewsw: Today, 12:22 PM


    #3 andrewsw ?Icon User is online

    Reputation: 810

    • Posts: 2,512
    • Joined: 12-December 12

    Re: updating database and JButtons

    Posted Today, 12:26 PM

    You are using while (rs.next()) to loop through the recordset but you aren't doing anything with the data in this recordset - such as using an if-statement to paint something red or green.

    This post has been edited by andrewsw: Today, 12:27 PM


    #4 g00se ?Icon User is online

    Reputation: 2030

    • Posts: 8,476
    • Joined: 20-September 08

    Re: updating database and JButtons

    Posted Today, 12:30 PM

    Quote

    The table have the following fields, seat1, seat2,
    seat3, seat4 and seat5.

    That's not the way to do it. A Seat entity has a principal attribute of 'Number'. You could make that the primary key. A Bookings table would map a User to one or more seats.


    #5 andrewsw ?Icon User is online

    Reputation: 810

    • Posts: 2,512
    • Joined: 12-December 12

    Re: updating database and JButtons

    Posted Today, 12:47 PM

    View Postg00se, on 14 April 2013 - 07:30 PM, said:

    Quote

    The table have the following fields, seat1, seat2,
    seat3, seat4 and seat5.

    That's not the way to do it. A Seat entity has a principal attribute of 'Number'. You could make that the primary key. A Bookings table would map a User to one or more seats.


    I quite agree :) the database is poorly constructed and this should be OPs prime concern.

    Page 1 of 1


    Source: http://www.dreamincode.net/forums/topic/318492-updating-database-and-jbuttons/

    Griselda Blanco Michelle Obama Speech eva longoria Michael Clarke Duncan Nazanin Boniadi Deval Patrick Dedication 4