In Japan on May 22, 1980, Pac-Man was released – which is now, although it is May 21st here in USA. To celebrate the 30th anniversary of Pac Man, Google has their first ever playable and interactive logo. Here is a picture of Google.com today:
Also filed in
|
|
如何实现这样的布局显示
用RelativeLayout,用TableLayout应该也可以。
这个显示分成三部分,左边(图片)、右边(播放的按钮)和中间部分(剩下的)。
<?xml version=”1.0″ encoding=”utf-8″?>
<RelativeLayout
xmlns:android=”http://schemas.android.com/apk/res/android”
android:layout_width=”fill_parent”
android:layout_height=”wrap_content”>
<ImageView
android:id=”@+id/icon_left”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_alignParentLeft=”true”
android:src=”@drawable/icon”
/>
<Button
android:id=”@+id/button”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_alignParentRight=”true”
[...]
Also filed in
|
|
近日,Google宣布向所有的互联网用户提供一组快速,安全并且完全免费的DNS解析服务器
DNS(Domain Name System)是域名解析服务器的意思,它在互联网的作用是把域名转换成为网络可以识别的IP地址。当用户在浏览器中输入网址域名时,首先就会访问系统设置的DNS域名解析服务器(通常由ISP运营商如电信、联通提供)。如果该服务器内保存着该域名对应的IP信息,则直接返回该信息供用户访问网站。否则,就会向上级DNS逐层查找该域名的对应数据。
目前国内上网用户普遍使用的是默认DNS服务器,即电信运营商的DNS服务,这带来一个巨大的风险,就是DNS劫持。目前国内电信运营商普遍采用DNS劫持的方法,干扰用户正常上网,例如,当用户访问一个不存在(或者被封)的网站,电信运营商就会把用户劫持到一个满屏都是广告的页面:电信114互联星空网站,这个114网站不仅搜索质量低劣,而且广告众多,极大的影响了用户上网的安全性和浏览体验。后来,电信运营商的胆子越来越大,甚至连Google的网站电信都敢劫持,这进一步证明了电信运营商的DNS服务可靠性是多么糟糕。
普通用户要使用Google DNS非常简单,因为Google为他们的DNS服务器选择了两个非常简单易记的IP地址:“8.8.8.8”和“8.8.4.4”。用户只要在系统的网络设置中选择这两个地址为DNS服务器即可。使用方法非常简单,对于宽带拨号用户来说,在“设置”-“网络连接”中找到宽带上网的连接,打开网络连接属性,选择Interner协议(TCP/IP)的属性页里,不要选择自动获取DNS,而要选择“使用下面的DNS服务器地址”,首选DNS服务器和备用DNS服务器分别设置为 8.8.8.8和8.8.4.4,如下图所示,完成后重新连接上网即可。
Google提供的公共DNS服务与电信或OpenDNS的不同,当用户输入一个错误的或者不存在的网址的时候,不会像中国电信一般直接弹出一个满屏都是广告的页面,Google公司承诺绝不会重定或者过滤用户所访问的地址,而且绝无广告。对于OpenDNS用户来说,Google的技术雄厚,两个IP地址也很好记,并且不会显示广告,相信会有不少原先OpenDNS的用户会跳槽到Google DNS。
Google Public DNS telephone support
877-590-4367 in the U.S.
770-200-1201 outside the U.S.
Google Public DNS IP addresses
The Google Public DNS IP addresses are as follows:
8.8.8.8
8.8.4.4
查看更详情的说明:http://code.google.com/speed/public-dns/docs/using.html
Also filed in
|
|
和主要负责人的合影
现在Google Chrome OS 的编译,及展示
Google中国技术推广经理 Bill 先生的演讲
Big news for developers out there: Google has just announced the release of a new, open sourced programming language called Go. The company says that Go is experimental, and that it combines the performance and security benefits associated with using a compiled language like C++ with the speed of a dynamic language like Python. Go’s [...]
Google released a couple of internal tools of theirs into the open source world. One of them is the Closure Library for JavaScript. Another is called Closure Compiler, aiming to shrink and performance-optimize your JS and alert you to problems with it… there’s even an online app where you can paste your code into. [...]
1. 一辆校车能装下多少个高尔夫球?
应聘职位:产品经理
2. 如果让你清洗西雅图市所有的窗户,你会对此索价多少?
应聘职位:产品经理
3. 在一个重男轻女的国家里,每家每户都想生男孩。若一户人家生了一个女孩,便会再生一个,直到生下的是男孩为止。请问这个国家的男女比例是多少?
应聘职位:产品经理
4. 全世界共有多少位钢琴调音师?
应聘职位:产品经理
5. 下水道井盖为什么是圆的?
应聘职位:软件工程师
6. 为旧金山市设计一个紧急疏散方案。
应聘职位:产品经理
7. 时钟的指针一天内总共会重合多少次?
应聘职位:产品经理
8. 阐释“死牛肉”的意义所在。
应聘职位:软件工程师
9. 一个人开车来到旅馆,变得一无所有。究竟发生了什么事情?
应聘职位:软件工程师
10. 你想知道好友鲍勃是否有你正确的电话号码,但又不能直接问他。你必须在卡片上留言,让伊芙将卡片较交给鲍勃。除了问题以外,你还应该在卡片上写什么,才能既确保鲍勃能看懂留言,又使伊芙看不出卡片上写有你的电话号码。
应聘职位:软件工程师
11. 你是一艘海盗船的船长,你的船员要投票决定如何平分金条。如果与你意见一致的船员数量少于一半,你将被杀死。你应该如何提议分配金条,才能既分得较多赃物,又能活下来?
应聘职位:工程经理
12. 你有8个大小一样的球,其中7个重量相同,只有一个略重一些。给你一个天平,而且只准称两次,如何找出重量不同的那个球?
应聘职位:产品经理
13. 你在一幢100层高的大楼中,给了你两个鸡蛋。鸡蛋有时非常易碎,有时又异常坚韧。这意味着,如果在第1层扔下鸡蛋,鸡蛋或许会碎裂,而如果是从第100层扔下鸡蛋,鸡蛋或许安然无恙。这两只鸡蛋一模一样。你需要计算出,最高从哪层楼扔下时,鸡蛋不会碎。问题是,你需要扔多少次鸡蛋才能算出该楼层。整个过程中,你只允许打碎两个鸡蛋。
应聘职位:产品经理
14. 向你8岁的侄子或外甥解释什么是数据库,只能用三个句子。
应聘职位:产品经理
15. 你缩小到只有一枚五分硬币那么高,你的质量也成比例缩小以保持原有密度不变。随后你被扔到一个空的玻璃搅拌器里,搅拌刀片将在60秒后开始运转,你该怎么办?
应聘职位:产品经理
Also filed in
|
Tagged Google
|
Rumor is that we may see Google join the crowded smartphone market with an Android phone all its own. And it may be coming this year. According to a report by Street.com, everyone’s favorite Internet giant is currently working with a smartphone manufacturer on designing a Google-branded phone. The phone is expected to hit [...]
Also filed in
|
Tagged Google
|