现在位置: 首页 > variance发表的所有文章
  • 05月
  • 15日
综合 ⁄ 共 4149字 评论关闭
【注】摘自网络 Vint Cerf  once in a tech-talk said  Where is the science in CS? Here are places some with underlying theory: Automata theory (strong) Compiler and language theory (strong) Operating system design (weak) - we are vulnerable to how to make OS’s secure and they take too many resources trying to manage resources. Data structures (strong) Queuing theory (networks of queues) - strong theory, but too much of the network functionality has to be abstracted away before you ca......
阅读全文
  • 06月
  • 07日
综合 ⁄ 共 5603字 评论关闭
未使用MTL文件加载贴图 <pre name="code" class="html"><!DOCTYPE html> <html> <head> <title>Example 08.06 - Load OBJ model </title> <script type="text/javascript" src="../libs/three.js"></script> <script type="text/javascript" src="../libs/OBJLoader.js"></script> <script type="text/javascript" src="../libs/jquery-1.9.0.js"></script> <script type="text/javascript" src="../libs/stats.js"></s......
阅读全文
  • 05月
  • 25日
综合 ⁄ 共 820字 评论关闭
Javascript:  function systemDate(){ //获取系统时间 var date=new Date(); var month=date.getMonth()+1; //month默认0-11,所以要加1 var minutes=date.getMinutes(),Min; var seconds=date.getSeconds(),updateTime; updateTime=60-seconds; minutes<=9 ? Min="0"+minutes : Min=minutes; var week=date.getDay(),day; switch(week){ case 1 : day="星期一";break; case 2 : day="星期二";break; case 3 ......
阅读全文
  • 05月
  • 13日
综合 ⁄ 共 4836字 评论关闭
        现在应该已经进入了校园招聘面试高峰了,除了上海江浙部分场次,一线(211,985)学校还有不少好公司每天光顾以外,大部分比较好的企业,比较好的学校 已经经历了超过75%的校园招聘场次了。当然,之后还有银行之类的企业会进入学校,我这里仅指的是工科类学生需求的企业。      而录用上,上海以外的东北地区基本Offer第一轮已经发完了,现在正在补发阶段。西南地区,中部地区正在Offer高峰,华北地区北京等地也是Offer中,而华东地区的估计除了部分大牛企业,基本上都要到11月才进入接受Offer高峰。       相 信很多学习成......
阅读全文
  • 05月
  • 09日
综合 ⁄ 共 841字 评论关闭
1.         .NET FRAMEWORK .net框架 .net框架由 .net框架类库和公共语言运行时两个主要组件组成   2.         CLR (Common Language Runtime)公共语言运行时 CLR是管理用户代码执行的现代运行时环境,它提供JIT 编译、内存管理、异常管理和调试等方面的服务   3.         CTS(Common Type System) 公共类型系统 CTS定义声明、定义和管理所有类型所遵循的规则,而无需考虑源语言,包含标准数据类型和准则集   4.         CLS(Common Language Specification)公共语言规范 CLS是所有针对 .NET的编译器都必须......
阅读全文
  • 05月
  • 09日
综合 ⁄ 共 1724字 评论关闭
 可以在.xml文件中指定lazy=”true”这个属性来实现:   <class name="com.test.Student" table="student" lazy="true"> 这种方式等价于 <class name="com.test.Student" table="student" proxy="com.test.Student">   这样Hibernate就会自动继承Student这个类,来生成一个代理类,这个代理类是实现延迟加载的关键,比如一个Student类有很多属性,所以就希望当用到Student的属性的时候(调用getXXX())才去数据库读取,这个时候时候就可以使用Student的代理类如StudentProxy来实现Student的延迟加载!   Student studen......
阅读全文
  • 04月
  • 25日
综合 ⁄ 共 856字 评论关闭
udpate on 2007-08-17 Any operator is supported: China, Spain, Italy, USA, Netherlands, Creece and so on.     This freeware is able to change your operator logo in your N73 or other compatible Nokia mobile phone. If you have been tried of the tedious and wide logo,  a change is now available for you. With NokiaLogo, all you need to do is to google or sketch a desired picture and to click a button, and then the impressive image will transfer to your phone automatically.            经过......
阅读全文
  • 04月
  • 25日
综合 ⁄ 共 1082字 评论关闭
F - Color the ball Time Limit:3000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1556 Description N个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a <= b),lele便为骑上他的“小飞鸽"牌电动车从气球a开始到气球b依次给每个气球涂一次颜色。但是N次以后lele已经忘记了第I个气球已经涂过几次颜色了,你能帮他算出每个气球被涂过几次颜色吗?   Input 每个测试实例第一行为一个整数N,(N <= 100000).接下来的N行,每行包括2个整数a b(1 &......
阅读全文
  • 04月
  • 18日
综合 ⁄ 共 1481字 评论关闭
一:J2SE  面向对象-封装、继承、多态 内存的分析 递归 集合类、泛型、自动打包与解包、Annotation  IO  多线程、线程同步  TCP/UDP  AWT、事件模型、匿名类  正则表达式 反射机制   2:数据库(Oracle或者MySQL) SQL语句 多表连接,内外连接, 子查询等 管理表、视图、索引、序列、约束等  树状结构存储 存储过程、触发器  数据库设计三范式、    3:JDBC JDBC基础 连接池  树状结构存储与展现  DataSource & RowSet  JDBC连接Oracle及MySQL    4:HTML_CSS_JAVASCRIPT html、css、javascript基础语法 JavaScript Form判断 ......
阅读全文
  • 04月
  • 15日
综合 ⁄ 共 2107字 评论关闭
                B - Hardwood Species Description Hardwoods are the botanical group of trees that have broad leaves, produce a fruit or nut, and generally go dormant in the winter. America's temperate climates produce forests with hundreds of hardwood species -- trees that share certain biological characteristics. Although oak, maple and cherry all are types of hardwood trees, for example, they are different species. Together, all the hardwood species represent 40 percent of the trees in......
阅读全文
  • 03月
  • 31日
综合 ⁄ 共 3762字 评论关闭
                                                                                               调用Android硬件服务相关的方法     我们在做安卓开发的时候  会常常用到系统自带一些服务  现在进行了一个总结     /**      *  默认的IMSI号      */     private static final String IMSI_DEFAULT = "460000000000000";     private static final String IMEI_DEFAULT = "000000000000000";           /**       * 提供短信发送功能.  短信将自动判断内容长度,切分短信发送.       *            * @param telNum  目标短信......
阅读全文
  • 02月
  • 19日
综合 ⁄ 共 1617字 评论关闭
HDU 5006 Resistance 思路:这题由于数据是随机的。。电阻不是1就是0,就可以先缩点,把电阻为0的那些边缩掉,只考虑有电阻的边,这样的话缩下来点数就不多了,就可以利用高斯消元+基尔霍夫定律去搞了 代码: #include <cstdio> #include <cstring> #include <cmath> #include <vector> #include <algorithm> using namespace std; const int N = 10005; const int M = 40005; const double eps = 1e-8; int t, en; struct Edge { int u, v; Edge(int u = 0, int v = 0) { this->u = ......
阅读全文