最新公告 |
当前位置: 首页 > 新闻与文档 > SonicWall配置 >

18 digest oracle security news(11)

时间:2012-07-28 12:06来源:港湾互联网络 作者:港湾网络编辑 点击:
man, am i glad i work at home now. if i didn't, i might not have one anymore! i was at my desk this morning - prepping for a web seminar i'm doing in about 15 minutes when i heard this loud pop and s

man, am i glad i work at home now.  if i didn't, i might not have one anymore!  i was at my desk this morning - prepping for a web seminar i'm doing in about 15 minutes when i heard this loud pop and sizzle noise.  then, the smell wafted in - the smell of electricity and burning.  i'm walking around trying to figure out what it is - when i spy a battery pack my son left plugged in to charge while he is at school, well, what was left of it anyway:

 

rimg0002

 that green bubbly looking bit - that is the battery pack - the words "fly model set" - used to be "straight and all the same size".  it was smoking, it was hot, it was sizzling.  i unplugged it and threw it outside on the concrete porch to cool off.

after it cooled off - i read the back:

rimg0003

it reads

refreshing time pleases according to the enactment of the manual refreshing, the person pleases do not leave.  when refresh to complete, asking real time to pull out the power supply, avoiding refreshing time over long, damage battery.

damage battery indeed - damage battery, burn down house is more like it.  it was only plugged in for 30 minutes!

i guess a new rule of life is "if the back of the plug is 100% gibberish - do not plug it in".

when i'm leaving my house empty for a while, i gotten into the habit of unplugging stuff - i'm definitely going to be more conscious of this in the future - i leave for days at a time, i'll be unplugging lots of stuff now.

i sort of wish us plugs were like those in the uk - with the little on/off switches on them, i'll have to search around and see if they exist - i'd replace all of my plugs with those.

click here to bookmark this link.

channel image

memory leaks? we have a garbage collector!true. java comes with a garbage collector and makes reclaiming of heap space easier. on the other hand, java offers a number of features, which, if used carelessly, can be the root for your memory leak nightmares.
simple and temptingsince jdk 1.1 we have a quick, simple and tempting tool within the core language to create our own memory leaks. it doesn't matter whether we build server or standalone applications. this tool is called inner class. together with its twin anonymous class both are very efficient in creating memory leaks.
public class outer {
  class inner {
  }
}how is this?every non-static inner class has an implicit reference to its surrounding class. anonymous classes are similar. to successfully create a memory leak simply pass an inner class object to a method which keeps references to the provided objects and you're done.
why?suppose you implement something like a cache. next follow the execution path to a local object which stores some of its inner class objects into the cache. after the local object was out of scope, it won't be garbage collected anymore! the inner class object in the cache holds a reference to the surrounding object and that one is still referenceable and therefore not a candidate for garbage collection anymore. the same is true for anonymous classes!
how to prevent this style of memory leaks?

  • if you're about to use inner classes or anonymous classes think carefully. don't use anonymous classes until you're very sure and can prove that they are not causing a memory leak.
  • use a static inner class to get rid of the implicit outer class reference.

  • click here to bookmark this link.

    channel image

    in october 2006 oracle launched their oracle accelerate program, according to their accelerate page oracle accelerate delivers a complete set of applications, rapid implementation tools, and an industry-leading partner ecosystem, allowing companies to maximize their limited budgets and achieve unlimited possibilities.

    click here to bookmark this link.

    channel image

    one major part of the product management role is "enablement". which basically means getting the world ready for your product. as such, its fallen to me to put together the enablement planning. the first stage of this (currently doing) is to pull together the vast list of new features and present them in a way that anyone who is picking up jdeveloper 11 (and who is already familiar with earlier releases of jdeveloper) will be able to quickly get up to speed. the initial idea is the enablement gets rolled out to our internal audience who then take it out on the road..

    (责任编辑:admin)
    顶一下
    (0)
    0%
    踩一下
    (0)
    0%
    ------分隔线----------------------------
    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    评价:
    用户名: 验证码: 点击我更换图片
    栏目列表
    推荐内容
    驱白巴布期片 白癜风的发病原因 复方卡力孜然酊 白癜风早期能治愈吗 北京军颐中医医院 白癜风早期能治愈吗 北京军颐中医医院 北京军颐中医医院 补骨脂注射液 白癜风症状 白癜风治疗医院 北京白癜风医院 治疗白癜风最好的方法 北京军颐中医医院 头部白癜风的症状 白癜风传染吗 白癜风的发病原因 北京白癜风医院哪家好 白癜风的危害 白癜风早期症状 白癜风的治疗 白癜风症状 白癜风治疗 专业治疗白癜风医院哪家好 白癜风早期能治愈吗 白癜风症状 白癜风能治愈吗 白癜风治疗 白癜风治疗方法 白癜风怎么治疗 儿童白癜风发病的原因 白癜风的危害 白癜风治疗要花多少钱 白癜风去哪里治疗最好 白癜风治疗医院 如何治疗白癜风好 白癜风能治愈吗 什么方法治疗白癜风好 廊坊治疗白癜风最好的专科医院 白癜风怎么治疗好 白癜风早期能治愈吗 白癜风哪里治疗好 治疗白癜风的偏方有哪些 怎么治疗白癜风好 石家庄白癜风最好的医院 怎么治疗白癜风好 治疗白癜风哪家医院好 治疗牛皮癣,北京牛皮癣医院 白癜风治疗最好医院 白癜风能治愈吗 白癜风能治愈吗 白癜风早期症状 白癜风专科医院 治疗白癜风医院 白癜风早期症状是怎么样 天津治疗白癜风哪家医院效果最好 北京白癜风军颐中医医院 白癜风治疗医院 白癜风如何治疗 白癜风医院 治疗白癜风最好医院 牛皮癣 牛皮癣治疗 牛皮癣医院 治疗白癜风多少钱 北京治疗白癜风最好医院 白癜风早期症状 治疗白癜风偏方
    How To Get Rid Of Stretch Marks
    How to Get Rid of Acne Scars
    how to get rid of flakes
    how to ask a girl out
    how to get a girl to like you
    How To Talk To Girls
    How To Impress A Girl