- [Economist] 90 亿美元的云端服务(上)
Prongs
Cloud$9bn90亿美元的云端服务Anotherunicorngoespublic另一家独角兽公司上市DREWHOUSTONandArashFerdowsimusthavefewregretssincetheyturneddownanofferfortheirstartupfromApple’sthenboss,SteveJobs,in2011.Dropboxhasn’tdonetoobadl
- 2020-02-14
TESTTYPE01
在几乎每一个发达国家,高速铁路都是基础设施中的标配。法国:(图源:economist)西班牙:(图源:eurail)有些高铁,比如日本的新干线,甚至还成为了国家发展和繁荣的一个标志,出现了各种各样与之相关的文化产品。日本:(图源:hisgo)然而有一个国家,他们铁路的画风,却是这个样子的:(图源:JOC)说到美国的铁路运输,美国人可以和你吐槽4个小时。差是显而易见的。和德国法国相比,美国铁路的密度
- Eastern time: China’s rise
邮差在行动
viewonespresso.economist.com--Dec19th2018Easterntime:China’sriseWhenscholarsofinternationalrelationspredictthatthe2000swillbea“Chinesecentury”,theyarenotbeingpremature.AlthoughAmericaremainsthelonesup
- Show me the money: Madagascar votes
邮差在行动
viewonespresso.economist.com--fanqiangShowmethemoney:MadagascarvotesShowmethemoney让我赚大钱;给我钱Madagascar【国】马达加斯加;马达加斯加共和国TodayMalagasiesvoteinthefirstroundofthepresidentialelections.thefirstroundof第一轮……p
- Java动态代理
voltric
Java动态代理@Date2016.11.24静态代理提前创建一个代理类,实现和业务逻辑同样的接口传递业务实现类的对象,在调用业务方法前后可以做代理的逻辑扩展原有功能,不侵入原有代码如果需要代理的业务类变多,并且实现方法不一样的情况下,对应的代理类会增多Java本身动态代理只能代理接口实现java.lang.reflect.InvocationHandler接口通过Proxy.newProxyIn
- The Economist经济学人20200829学习笔记-Dementia
一只鳝鳝
1.Thereasonbehindit—longerlifespans—istobecheered;itdoesnotadvanceatthespeedofaviralinfectionbutwiththeponderousinevitabilityofdemographicchange-Dementian.痴呆ausuallyprogressivecondition(suchasAlzheime
- 8/8/2019 又来立 Flag了
法国虎妈
再过几天就是34岁的生日了。在我心里35岁是一个大年,就是传统的逢五逢十大庆。感觉一定要搞点儿事情才能更好的迎接35岁的到来。我在这里立下下一年的努力的目标:1.明年教师资格考试综合成绩全国第一,为此每天要练习法语写作一小时2.开始法语同声传译训练,每天练习两小时3.英语Economist每周精读且背单词4.早教,孩子入托前一年十分关键,双语培训及数学启蒙5.护理方面的入学考试教材看完,主要是学习
- [Economist] 城市交通:出轨(上)
Prongs
Urbantransport:Offtherails城市交通:出轨TOTHOSEwhohavetosqueezeontothenumber25businLondon,ortheAtraininNewYork,thechangemightnotbenoticeable.Butpublictransportisbecominglessbusyinthosecities,andinothersbeside
- peril.ous危险的
董八七
title:perilousdate:2018-08-1415:15:00NO_sents:4NO_references:4perilousperilouslyGOINGbythenumbers,China'snotoriouslyhazardouscoalmineshavebecomedistinctlylessperilousinrecentyears.(Economist)Ontheothe
- Political drama: “House of Cards” - Espresso Economist
邮差在行动
viewonEspressoEconomist--fanqiangPoliticaldrama:“HouseofCards”Politicaldrama政治大戏HouseofCards纸牌屋ForsomeviewersthefinalseasonoftheNetflixshow,releasedyesterday,willbeanexerciseinwishfulfillment.finalsea
- [Economist] 他们掌握了什么?(上)
Prongs
Whatdotheyknow?他们掌握了什么?TheEUguaranteesitscitizens’datarights,intheory欧盟保证其区域内公民的数据隐私权,理论上而言INTHEwakeofthescandalovertheunauthoriseduseofFacebookdatabyCambridgeAnalytica,acampaignconsultant,someAmerica
- 20171124_Economist Day48(Many people in China believe gays can be “cured” - Torture condoned)_英语_学习_201711
fantasyrex3
全文大意:在中国充斥着针对同性恋的治疗法,这种治疗方法在发达国家的大多数医生看来是不道德并且医学上不靠谱的。然而很多人却在强迫之下接受这种痛苦治疗。一些接受治疗的人选择了自杀,另一些在治疗效果上选择了撒谎,然而其实却没有一例治疗奏效。这些治疗的医院会接受很轻的处法,以致于根本没有威慑作用。医生理应告诉家庭同性恋并无过错,然而这意味着医院将失去生意。中国的公立医院总是向钱看,所以他们不会选择这么做。
- 英语阅读素材
果子1234
英语阅读素材一、中国内地可访问的优秀英文信息源1、英国《经济学家》http://www.economist.com2、美联社http://wire.ap.org/GoToAP.cgi3、英国BBChttp://news.bbc.co.uk4、《纽约时报》http://www.nytimes.com5、普利策新闻奖1995年到2001年全部获奖作品http://www.pulitzer.org6、美
- Come what May: British politics
邮差在行动
viewonespresso.economist.com--Dec13th2018--fanqiangComewhatMay:Britishpoliticscomewhatmay不管怎样;无论如何;不管发生什么事OnWednesdayeveningTheresaMaysurvivedaconfidencevoteinherleadershipwith200MPsvotingforherand117
- The slog begins: Britain and the EU
邮差在行动
https://espresso.economist.com/47c917b09f2bc64b2916c0824c715923Jan15th2018Theslogbegins:BritainandtheEUAfterthecabinetreshuffle,theagendaofTheresaMay,theprimeminister,willagainbecomedominatedbyBrexit.
- 《焦点中级班十一课收获~助人自助》坚持第711天原创分享(2016.11.24星期四)
半夏五月天
坚持第711天原创分享(2016.11.24星期四):《焦点中级班十一课收获~助人自助》今晚是焦点中级班第十一课,在众多的受益内容中,“助人自助”这句话感受颇深,一个优秀的心理咨询师最重要的特质之一就是如何让来访者自己帮助自己,来解决自己的问题。很多咨询师在刚接到案例的时候,一眼就看出来来访者问题在哪,急切地想帮助来访者,想尽快地帮他解决问题,各种咨询技术轮番上阵,却忽略了“每个人都是解决自己问题
- Economist 210227 本周政坛 politics this week
summer4two
【非洲】Ghanabecamethefirstcountrytoreceivevaccineforcovid-19throughtheCOVAXprogramme,aglobalcoalitionwhichdistributesfreedosestopoorcountriesandisbackedbytheWorldHealthOrganisation.Ghana’sshotswereprovid
- Incense investment: Vatican startups
邮差在行动
https://espresso.economist.com/7436b0dc99f8aed11026252aeade1a3a--Dec4th2018Incenseinvestment:VaticanstartupsVatican梵蒂冈Tennewcompanies,selectedfrom400applications,gathertodayattheVaticantopitchtoreligi
- 经济学人精读 [46] The Economist | Junk hunting
京酱Jing
经济学人精读TheEconomist[46]选自January062018ScienceandTechnology板块更多英语阅读听力口语内容,请关注微信公众号MyEnglishTrip我是Eva一个认真学习英语的美少女#Eva导读#现在已经有太多的太空垃圾使得太空成为了一个危险之地。今年二月,国际工空间站将在再补给任务重中,携带一枚卫星,进行清除太空垃圾的试验。包含几个关键测试:制造垃圾目标;捕
- Shine off: diamonds - Espresso Economist
邮差在行动
viewonEspressoEconomistDuringtheGreatDepression,/DeBeersinventedaclevermarketingwheeze:/itpersuadedfiancéesthatunlesstheirhusband-to-bespentamonth’ssalaryonadiamondengagementring,/hewasacold-heartedmi
- Heavenly rewards: impact investing
邮差在行动
viewonespresso.economist.comHeavenlyrewards:impactinvestingimpact(对某事物)有影响,有作用impactinvesting影响力投资;创效投资;影响投资Some$23trnisplacedin“sustainable”investmentsaroundtheworldeveryyear,accordingtotheGlobalSust
- The Economist经济学人20200822学习笔记-The Aliens Among Us
一只鳝鳝
梗概:本文不围绕众所周知的病毒的危害性展开,而是着眼于讨论病毒如何塑造世界,促进人类的发展。文章大意:人类在病毒面前不堪一击,但与此同时,病毒作为自然选择的一种机制促进了生物进化的脚步,对基因工程的发展有重要的启发作用。病毒促进生物进化的原理在于:1.病毒能够消灭数量过多的生命体,为其他生命体的发展腾出空间;2.病毒能够促使生物进化出防御机制;3.病毒可以被宿主细胞利用,发展出新的功用,代代延续,
- [Economist] 数据隐私:照猫画虎(一)
Prongs
Dataprivacy:Copythat数据隐私:照猫画虎Americaneedsadataprotectionlaw.TakeEurope’sandimproveonit美国需要一部数据保护法律,用欧盟的法律来照猫画虎AMERICArarelylookstothebureaucratsofBrusselsforguidance.Commercialfreedomappealsmorethandi
- 20171119_Economist Day42(Enhanced understanding of the microbiome is helping medicine - Health care)_英语_学习_201711
fantasyrex3
第二部分后半部分大意:另一些公司通过只选择和交付那些他们相信有益的细菌从而致力于目标更加明确的领域。有一种方法叫作“细菌即解药”,SeresTherapeutics这家公司认为某些细菌的组合能够加速细菌生态系统的转变,特别是将那些有助于疾病的细菌转变为有益于健康的细菌。除了增加好的细菌之外,把坏的细菌除去也是一另外一种办法。另外,通过噬菌体来杀死特定的细菌也是一种办法。除此之外,编辑细菌的基因的方
- D-Day: America’s mid-terms
邮差在行动
viewonespresso.economist.comD-Day:America’smid-termsD-Day重大事情预定发生日;计划行动开始日(adateonwhichsthimportantisexpectedtohappen)Itseemsoddtosaymoreisatstaketoday,whenthepresidencywillnotchangehands,thaninthepre
- 经济学人 一周要闻 The Economist :The world this week
kylinnnn_
Theworldthisweek本周国际要闻Politics政治TheJapanesegovernmentliftedrestrictionsinthelastremainingprefecturesunderlockdown.Italsounveiledasecondstimulus,worth$1trn.liftrestriction解除限制,解除约束remaining剩余的prefectur
- 新年的第一个周末
阿童木Serena
2019的newyearresolution之一就是每周末坚持去一趟图书馆看外文杂志。这个周六严格执行,并开了一个Economist精读精练的专题,周六的晚上感到非常有成就感,仿佛回到了天天泡图书馆的大学时代。周末老公不加班,我俩去了趟什刹海公园,本来就只想逛逛公园,践行我周末一天不能宅在家的resolution,到了公园被眼前的一幕惊呆了,大人和小孩,一群群的在结了冰的冰面上玩冰车,有推的,有骑
- 如何与普京先生对话
大卫_007er
Economist《经济学人》20220108封面文章HowtotalktoMrPutin如何与普京先生对话Russia’saggressiontowardsUkrainehascreatedachancetoenhancethesecurityofEurope俄罗斯对乌克兰的侵略为加强欧洲的安全创造了机会Itisusuallyabadsigniftalksstartwithonesidebran
- Why France’s farmers worry about China
查理C
https://www.economist.com/blogs/economist-explains/2018/03/economist-explains-21Summary:ChinesbuyerssnappeduptractsofFrenchlandsthroughwhatFrenchfarmersregardedasloopholesinFrenchlaws,leadingtopressur
- The Economist 经济学人精读 [3下] |The chronic continent
PersistenceinFa
TheEconomist经济学人精读[3下]选自October8,2016|Leaders板块注:划线部分为好词好句,加粗为生词,要加入单词本进行背诵。6)Withininstitutions,thatmeanscuttingcostsandraisingcapital.AccordingtoS&PGlobalMarketIntelligence,theaveragecost-to-incomer
- PHP,安卓,UI,java,linux视频教程合集
cocos2d-x小菜
javaUIlinuxPHPandroid
╔-----------------------------------╗┆
- zookeeper admin 笔记
braveCS
zookeeper
Required Software
1) JDK>=1.6
2)推荐使用ensemble的ZooKeeper(至少3台),并run on separate machines
3)在Yahoo!,zk配置在特定的RHEL boxes里,2个cpu,2G内存,80G硬盘
数据和日志目录
1)数据目录里的文件是zk节点的持久化备份,包括快照和事务日
- Spring配置多个连接池
easterfly
spring
项目中需要同时连接多个数据库的时候,如何才能在需要用到哪个数据库就连接哪个数据库呢?
Spring中有关于dataSource的配置:
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
&nb
- Mysql
171815164
mysql
例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%'IDENTIFIED BY 'mypassword' WI
TH GRANT OPTION;
如果你想允许用户myuser从ip为192.168.1.6的主机连接到mysql服务器,并使用mypassword作
- CommonDAO(公共/基础DAO)
g21121
DAO
好久没有更新博客了,最近一段时间工作比较忙,所以请见谅,无论你是爱看呢还是爱看呢还是爱看呢,总之或许对你有些帮助。
DAO(Data Access Object)是一个数据访问(顾名思义就是与数据库打交道)接口,DAO一般在业
- 直言有讳
永夜-极光
感悟随笔
1.转载地址:http://blog.csdn.net/jasonblog/article/details/10813313
精华:
“直言有讳”是阿里巴巴提倡的一种观念,而我在此之前并没有很深刻的认识。为什么呢?就好比是读书时候做阅读理解,我喜欢我自己的解读,并不喜欢老师给的意思。在这里也是。我自己坚持的原则是互相尊重,我觉得阿里巴巴很多价值观其实是基本的做人
- 安装CentOS 7 和Win 7后,Win7 引导丢失
随便小屋
centos
一般安装双系统的顺序是先装Win7,然后在安装CentOS,这样CentOS可以引导WIN 7启动。但安装CentOS7后,却找不到Win7 的引导,稍微修改一点东西即可。
一、首先具有root 的权限。
即进入Terminal后输入命令su,然后输入密码即可
二、利用vim编辑器打开/boot/grub2/grub.cfg文件进行修改
v
- Oracle备份与恢复案例
aijuans
oracle
Oracle备份与恢复案例
一. 理解什么是数据库恢复当我们使用一个数据库时,总希望数据库的内容是可靠的、正确的,但由于计算机系统的故障(硬件故障、软件故障、网络故障、进程故障和系统故障)影响数据库系统的操作,影响数据库中数据的正确性,甚至破坏数据库,使数据库中全部或部分数据丢失。因此当发生上述故障后,希望能重构这个完整的数据库,该处理称为数据库恢复。恢复过程大致可以分为复原(Restore)与
- JavaEE开源快速开发平台G4Studio v5.0发布
無為子
我非常高兴地宣布,今天我们最新的JavaEE开源快速开发平台G4Studio_V5.0版本已经正式发布。
访问G4Studio网站
http://www.g4it.org
2013-04-06 发布G4Studio_V5.0版本
功能新增
(1). 新增了调用Oracle存储过程返回游标,并将游标映射为Java List集合对象的标
- Oracle显示根据高考分数模拟录取
百合不是茶
PL/SQL编程oracle例子模拟高考录取学习交流
题目要求:
1,创建student表和result表
2,pl/sql对学生的成绩数据进行处理
3,处理的逻辑是根据每门专业课的最低分线和总分的最低分数线自动的将录取和落选
1,创建student表,和result表
学生信息表;
create table student(
student_id number primary key,--学生id
- 优秀的领导与差劲的领导
bijian1013
领导管理团队
责任
优秀的领导:优秀的领导总是对他所负责的项目担负起责任。如果项目不幸失败了,那么他知道该受责备的人是他自己,并且敢于承认错误。
差劲的领导:差劲的领导觉得这不是他的问题,因此他会想方设法证明是他的团队不行,或是将责任归咎于团队中他不喜欢的那几个成员身上。
努力工作
优秀的领导:团队领导应该是团队成员的榜样。至少,他应该与团队中的其他成员一样努力工作。这仅仅因为他
- js函数在浏览器下的兼容
Bill_chen
jquery浏览器IEDWRext
做前端开发的工程师,少不了要用FF进行测试,纯js函数在不同浏览器下,名称也可能不同。对于IE6和FF,取得下一结点的函数就不尽相同:
IE6:node.nextSibling,对于FF是不能识别的;
FF:node.nextElementSibling,对于IE是不能识别的;
兼容解决方式:var Div = node.nextSibl
- 【JVM四】老年代垃圾回收:吞吐量垃圾收集器(Throughput GC)
bit1129
垃圾回收
吞吐量与用户线程暂停时间
衡量垃圾回收算法优劣的指标有两个:
吞吐量越高,则算法越好
暂停时间越短,则算法越好
首先说明吞吐量和暂停时间的含义。
垃圾回收时,JVM会启动几个特定的GC线程来完成垃圾回收的任务,这些GC线程与应用的用户线程产生竞争关系,共同竞争处理器资源以及CPU的执行时间。GC线程不会对用户带来的任何价值,因此,好的GC应该占
- J2EE监听器和过滤器基础
白糖_
J2EE
Servlet程序由Servlet,Filter和Listener组成,其中监听器用来监听Servlet容器上下文。
监听器通常分三类:基于Servlet上下文的ServletContex监听,基于会话的HttpSession监听和基于请求的ServletRequest监听。
ServletContex监听器
ServletContex又叫application
- 博弈AngularJS讲义(16) - 提供者
boyitech
jsAngularJSapiAngularProvider
Angular框架提供了强大的依赖注入机制,这一切都是有注入器(injector)完成. 注入器会自动实例化服务组件和符合Angular API规则的特殊对象,例如控制器,指令,过滤器动画等。
那注入器怎么知道如何去创建这些特殊的对象呢? Angular提供了5种方式让注入器创建对象,其中最基础的方式就是提供者(provider), 其余四种方式(Value, Fac
- java-写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
bylijinnan
java
public class CommonSubSequence {
/**
* 题目:写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
* 写一个版本算法复杂度O(N^2)和一个O(N) 。
*
* O(N^2):对于a中的每个字符,遍历b中的每个字符,如果相同,则拷贝到新字符串中。
* O(
- sqlserver 2000 无法验证产品密钥
Chen.H
sqlwindowsSQL ServerMicrosoft
在 Service Pack 4 (SP 4), 是运行 Microsoft Windows Server 2003、 Microsoft Windows Storage Server 2003 或 Microsoft Windows 2000 服务器上您尝试安装 Microsoft SQL Server 2000 通过卷许可协议 (VLA) 媒体。 这样做, 收到以下错误信息CD KEY的 SQ
- [新概念武器]气象战争
comsci
气象战争的发动者必须是拥有发射深空航天器能力的国家或者组织....
原因如下:
地球上的气候变化和大气层中的云层涡旋场有密切的关系,而维持一个在大气层某个层次
- oracle 中 rollup、cube、grouping 使用详解
daizj
oraclegroupingrollupcube
oracle 中 rollup、cube、grouping 使用详解 -- 使用oracle 样例表演示 转自namesliu
-- 使用oracle 的样列库,演示 rollup, cube, grouping 的用法与使用场景
--- ROLLUP , 为了理解分组的成员数量,我增加了 分组的计数 COUNT(SAL)
- 技术资料汇总分享
Dead_knight
技术资料汇总 分享
本人汇总的技术资料,分享出来,希望对大家有用。
http://pan.baidu.com/s/1jGr56uE
资料主要包含:
Workflow->工作流相关理论、框架(OSWorkflow、JBPM、Activiti、fireflow...)
Security->java安全相关资料(SSL、SSO、SpringSecurity、Shiro、JAAS...)
Ser
- 初一下学期难记忆单词背诵第一课
dcj3sjt126com
englishword
could 能够
minute 分钟
Tuesday 星期二
February 二月
eighteenth 第十八
listen 听
careful 小心的,仔细的
short 短的
heavy 重的
empty 空的
certainly 当然
carry 携带;搬运
tape 磁带
basket 蓝子
bottle 瓶
juice 汁,果汁
head 头;头部
- 截取视图的图片, 然后分享出去
dcj3sjt126com
OSObjective-C
OS 7 has a new method that allows you to draw a view hierarchy into the current graphics context. This can be used to get an UIImage very fast.
I implemented a category method on UIView to get the vi
- MySql重置密码
fanxiaolong
MySql重置密码
方法一:
在my.ini的[mysqld]字段加入:
skip-grant-tables
重启mysql服务,这时的mysql不需要密码即可登录数据库
然后进入mysql
mysql>use mysql;
mysql>更新 user set password=password('新密码') WHERE User='root';
mysq
- Ehcache(03)——Ehcache中储存缓存的方式
234390216
ehcacheMemoryStoreDiskStore存储驱除策略
Ehcache中储存缓存的方式
目录
1 堆内存(MemoryStore)
1.1 指定可用内存
1.2 驱除策略
1.3 元素过期
2 &nbs
- spring mvc中的@propertysource
jackyrong
spring mvc
在spring mvc中,在配置文件中的东西,可以在java代码中通过注解进行读取了:
@PropertySource 在spring 3.1中开始引入
比如有配置文件
config.properties
mongodb.url=1.2.3.4
mongodb.db=hello
则代码中
@PropertySource(&
- 重学单例模式
lanqiu17
单例Singleton模式
最近在重新学习设计模式,感觉对模式理解更加深刻。觉得有必要记下来。
第一个学的就是单例模式,单例模式估计是最好理解的模式了。它的作用就是防止外部创建实例,保证只有一个实例。
单例模式的常用实现方式有两种,就人们熟知的饱汉式与饥汉式,具体就不多说了。这里说下其他的实现方式
静态内部类方式:
package test.pattern.singleton.statics;
publ
- .NET开源核心运行时,且行且珍惜
netcome
java.net开源
背景
2014年11月12日,ASP.NET之父、微软云计算与企业级产品工程部执行副总裁Scott Guthrie,在Connect全球开发者在线会议上宣布,微软将开源全部.NET核心运行时,并将.NET 扩展为可在 Linux 和 Mac OS 平台上运行。.NET核心运行时将基于MIT开源许可协议发布,其中将包括执行.NET代码所需的一切项目——CLR、JIT编译器、垃圾收集器(GC)和核心
- 使用oscahe缓存技术减少与数据库的频繁交互
Everyday都不同
Web高并发oscahe缓存
此前一直不知道缓存的具体实现,只知道是把数据存储在内存中,以便下次直接从内存中读取。对于缓存的使用也没有概念,觉得缓存技术是一个比较”神秘陌生“的领域。但最近要用到缓存技术,发现还是很有必要一探究竟的。
缓存技术使用背景:一般来说,对于web项目,如果我们要什么数据直接jdbc查库好了,但是在遇到高并发的情形下,不可能每一次都是去查数据库,因为这样在高并发的情形下显得不太合理——
- Spring+Mybatis 手动控制事务
toknowme
mybatis
@Override
public boolean testDelete(String jobCode) throws Exception {
boolean flag = false;
&nbs
- 菜鸟级的android程序员面试时候需要掌握的知识点
xp9802
android
熟悉Android开发架构和API调用
掌握APP适应不同型号手机屏幕开发技巧
熟悉Android下的数据存储
熟练Android Debug Bridge Tool
熟练Eclipse/ADT及相关工具
熟悉Android框架原理及Activity生命周期
熟练进行Android UI布局
熟练使用SQLite数据库;
熟悉Android下网络通信机制,S