Tag: Programming
-
Profiling Perl
Often we write perl scripts that loop a particular action. Not so often we write a perl script that is called in a loop by another tool. My script was attempting to do a http web login to emulate user traffic. However, I was not able to start more than 8 of these scripts a…
-
Parenting and Teaching Programming
At what level of programming are we actually imparting the philosophy of human thought? Or, another way, a basic program that prints out a few numbers is truly trivially basic: it merely teaches some programming syntax. However, contrast your smartphone apps to your old DOS/Windows apps. A significan understanding of human haptics and intuition have…
-
IntelliJ configuration notes on using HugePages
Java has supported Linux Hugepages for a while, but it is not on by default. I like to squeeze the most performance out of my IDE so I turned it on. And here are the settings I used for Intellij now: > cat idea64.vmoptions -XX:+UseLargePages -XX:LargePageSizeInBytes=2m -Xms256m -Xmx768m -server -XX:+UseG1GC -XX:MaxGCPauseMillis=15 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false…
-
ShellCheck helps you learn to shell script
This is a lot of feedback for a shell script in progress!
-
Forget Foreign Languages and Music. Teach Our Kids to Code | Wired Opinion | Wired.com
Young minds understand coding and logical deduction easily. The fact that young children can manage such elaborate tasks should be no great surprise, given what we know about their knack for acquiring languages. Five-year-olds trump their elders at learning Spanish or Mandarin because young brains are better (so the theory goes) at formulating “procedural” memories—that…
-
I had no idea t…
I had no idea that non-Intel processors had boundary restricted byte operations. This certainly could mean general network speedup. It ultimately turned out that certain device drivers were exposing a problem in the alignment handler. By accessing misaligned IP header fragments, the driver concerned was triggering an alignment exception within an atomic-critical section of kernel…
-
Teaching Kids Programming (DNR, MSDN Blogs)
Second grade is not too early to teach girls or boys to program. This episode of DotNetRocks interviews volunteers who are working with their local schools to introduce elementary programming into after-school clubs and even into school curricula. The blog post below is an inspiring account of girls learning to program. Teaching Kids Programming –…
-
Programming Standing Up
After listening to a Science Friday report on the correlation between TV time and mortality, I’ve decided to stop sitting at my desk. I’ve propped up my keyboard and monitors with boxes. I’ve done it for a week now. My calves and shins are tired, but my legs don’t get fidgety, or fall asleep or…