a super skill to help you understand .init and .fini 2016-06-03 3.1K a super skill to help you understand .init and .fini, just do "LD_DEBUG=libs ./a.out", read detail http://www.bnikolic.co.uk/blog/linux-ld-debug.html One thing need…
discovered something about .init and .fini sections 2016-06-02 4.2K discovered something about .init and .fini sections, if you compile your source file into .o, no .init and .fini sections…
i guess this is the reason i die in exception #0 2016-05-25 3.1K I die in “divide by zero” exception, when i back trace, it was the destructor of class Vector, i guess…
finally able to print out the fault address in exception 0 handler 2016-05-25 3.6K finally able to print out the fault address in exception 0 handler, great step tonight
export a function from gnu assembly to c++ 2016-05-22 3.2K export a function from gnu assembly to c++ then you are free to use it in cpp :
In shit again, c++ built-in function got divide by zero exception 2016-05-16 3.5K In shit again, c++ built-in function got divide by zero exception
A working tutorial to support jsp in spring-boot 2016-05-10 2.9K https://www.javacodegeeks.com/2014/06/spring-boot-fast-mvc-start.html
Linux创始人畅谈开源操作系统 2016-04-28 7.9K http://www.infoq.com/cn/news/2015/08/LinuxCon2015 Linux创始人林纳斯·托瓦兹(Linus Torvalds)在今年LinuxCon2015会议上的自由提问环节中,向与会者分享了他对开源软件和Linux现状的思考。对开源系统安全性、Linux在物联网中的应用、未来Linux发展蓝图等问题,Torvalds一一做了精彩的回答,eweek、zdnet等媒体都进行了报道。 此次自由提问环节的主持人是Linux基金会的执行董事吉姆·泽姆林(Jim Zemlin)。 像福特一样改造生产力的伟人 主持人Zemlin引用了近期一篇介绍Torvalds的文章作为问答交流环节的开场。Linux操作系统广泛用于现代社会的方方面面,上至卫星火箭,下至成百上千的谷歌服务器。Torvalds作为Linux操作系统的创始人,被认为是继一百年前发明流水线的汽车大王福特以后,再一次通过改进生产工具创造了极大经济效益的影响力人物。Torvalds回应说,自己并没有那样伟大,不过确实很高兴因为开源系统而获得了这些赞誉。可以说,Torvalds在技术上的影响力超过了比尔·盖茨、史蒂夫·乔布斯以及拉里·埃里森,然而Torvalds始终保持谦逊,也可能正是因为这样,他作为Linux领导者的地位始终无法动摇。 缺陷始终存在但并非不安全 接下来Zemlin提了一个关于Linux系统安全性的问题,这个问题自去年开源系统遭遇Heartbleed和Shellshock等漏洞以来备受公众关注。Torvalds解释说,安全共同体常常把问题绝对化,非黑即白。然而在他看来,安全问题只是程序缺陷,基本上都是十分低级的错误。只有当少数极端聪明的人想到利用这些漏洞时,才会造成危害。而在大多数情况下,通常没有人会打这些错误的主意。他强调道,任何软件都不可能彻底没有缺陷。由于有程序缺陷的存在,Linux系统的安全性不可能十全十美。Torvalds同时强调,开源社区对于Linux内核十分谨慎,在加入代码时有着一套严格的标准。只有承认程序缺陷不可避免,才能真正解决安全性问题。唯一的解决方法是多层化,当在某一层发现漏洞后,则在下一层进行修补。无懈可击的系统是不切实际的,问题总是存在,所要做的就是不断完善。 当被问到2015年LinuxCon的热门话题Docker容器时,Torvalds并没有表示出太大的兴趣。他解释说,Linux内核与这些热门的概念没什么关系,作为基础架构者,他只关心人们如何使用内核。 更小、更精致?可能真没办法 目前物联网(IoT)正在蓬勃兴起,作为硬件基础的嵌入式系统大多使用的是Linux操作系统。Torvalds认为,Linux在物联网设备上的瓶颈是其大小不断增长的内核。虽然尝试过开发小而精的物联网设备内核,但是始终难以摆脱不必要的冗余。实际上,Linux内核无法达到像20年前一样的简约规模,但也可以一定程度上地简化缩小。不过Torvalds依然遗憾地告诉大家,如果想要设计出真正精致小巧的设备,只能寻找其他解决方案。 比起未来,更关注现在 最后主持人问到未来十年Linux的前景和计划,Torvalds回答说,他并不会去设想那样遥远的未来。Torvalds自认为是一个“蹒跚的行者”,只会考虑未来六个月的事情。关注于当前的版本发布以及下一版的发布才是理智之举,安排十年后的计划显得十分荒谬。即使让他返回到十年之前,他也没有办法预想今日Linux的成绩。不过,虽然他本人不关注未来十年的发展,但并不是说Linux没有关于未来的愿景。使用开源系统的公司会为未来十年进行规划,它们有着明确的需求,因此在推动自己公司计划的同时也会推动Linux发展。所以Torvalds总结道,就算他本人不是前瞻性的领导者,这整个过程也会促使Linux完成前瞻性的行动。
Having a exe in a java project is trouble when you have AVG anti-virus 2016-04-26 3.7K I have 3 exe files in my java project, those exe are develop by me but AVG think one of…
spring-boot with restful api get 406 2016-04-24 4K spring-boot with restful api get 406, follow these steps to fix it: Add this to pom.xml Create WebConfig.java in your…
Hibernate is trying to fetch table meta from different database 2016-04-24 4.2K Hibernate is trying to fetch table meta from different database, why? It is very trouble because the tables in my…
GKD symbol parsing engine failed to parse c++ symbol 2016-04-05 4.4K GKD symbol parsing engine failed to parse c++ symbol
My netbeans plugin finally appears on official plugin portal 2016-04-02 3.3K My netbeans plugin finally appears on official plugin portal , thanks to Mr Markiewb for helping out https://github.com/markiewb . This plugins…
Nodejs is very fast, at least faster than java and c# 2016-03-28 4.4K Nodejs is very fast, at least faster than java and c#, here is my test case: JMeter send rest api…
Maven Runner update - now it reads nbactions.xml 2016-02-12 2.8K now it reads nbactions.xml added a button (with star icon) to hide default maven goals.
finally made it: installed the resolver address in GOT[2] 2016-02-10 3.2K finally made it: installed the resolver address in GOT[2], now i am able to load up elf binary to memory,…
Description of the first few entries in GOT table 2016-02-06 2.9K Description of the first few entries in GOT table GOT[0] : The table’ s entry zero is reserved to hold the…
Nucleo STM32F103 dev board with built in STlinkV2-1 programmer 2016-01-17 3.6K http://openenergymonitor.org/emon/node/6189 1. GNU ARM Tool Chain 2. IDE Eclipse 3. STmicro libraries 4. GDB Server 1. GNU ARM Tool Chain…
I use this script to check all projects for outdated maven dependency 2016-01-12 3.4K I use this script to check all projects for outdated maven dependency
My kernel crashed after changed from c to c++ 2016-01-10 4.3K My kernel crashed after changed from c to c++, for this bug, a variable value accidentally changed its value, i…
Buddhism & Coding 2016-01-03 3.9K I think the starting point to match buddhism and coding is that: prove any logic is combine from more than…
Running peter-dwarf tutorial 2016-01-03 3.2K This is the tutorial for running testing program for peter-dwarf, there are two programs inside the jar, first one is…
dwarf is too much for c++ 2016-01-02 3.5K One side effect about changing the kernel from c to c++ is that: in the kernel file, the number of…
bug that super hard to fix, but i fixed it 2015-12-16 3K !!! Nobody can read the dwarf specification and write the dwarf parser without hacking the binutils lab. Dwarf is just…
peter-dwarf has bug to decode c++ dwarf file 2015-12-15 3.5K peter-dwarf has bug to decode c++ dwarf file
Is it a bochs bug? bochs forgets to translate linear addr to physical addr? 2015-11-30 5.6K Is it a bochs bug? bochs forgets to translate linear addr to physical addr?
describe how to exact bytes from memory 2015-11-27 3.1K my colleague suggested me to use this method to describe how to exact bytes from memory: using pairs of 2-numbers.…
Fixed one important bug in grub 2015-11-14 4.2K I am doing kernel development in mac, my kernel is loaded up by grub because it relay on multiboot spec.…
Defining Scalable OS Requirements for Exascale and Beyond 2015-11-12 3.7K Defining Scalable OS Requirements for Exascale and Beyond Robert W. Wisniewski, Chief Software Architect for Extreme Scale Computing, Intel http://www.hpcwire.com/2015/10/05/defining-scalable-os-requirements-for-exascale-and-beyond/…
just bought stm32 nucleo 2015-11-11 3.1K just bought stm32 nucleo, learning Cortex-M. But my final target is Cortex-A, i am more interesting in general-OS than rtos.
newlib linker script summary for you own executable 2015-10-23 3.1K After i build my newlib by "../newlib-2.1.0/configure --target=$TARGET --prefix=$PREFIX", except the libc.a and crt0.o, i got these linker scripts. I…
YEAH, page tables is ok now 2015-10-22 3.8K After 100 times of failure, i finally loaded a exe into an independent address space (independent page tables and LDT).…
A guide to how the FreeBSD kernel manages the IA32 processors in Protected Mode 2015-09-29 2.6K Download : A guide to how the FreeBSD kernel manages the IA32 processors in Protected Mode