Archive for January, 2009
If you’re building a long String in Java, don’t stick String objects together using ‘+’, for example: String str = “Hello”; str = str + world; str = str + “!”; Why not? It’s really slow when you do it a lot! What should you do instead? Use the append(String) method in StringBuffer (Java 1.4.2 [...]
In: Beginners, Development, Java · Tagged with: concatenation, html, Java, optimisation, performance, speed, string, stringbuffer, stringbuilder
For anyone curious about this Semantic Web thing, you could check out Ian Ibbo’s introductory slideshow… Geekup Sheffield Semantic Web Primer View SlideShare presentation or Upload your own. (tags: geekupsheff-semweb) It’s the first part of series he’s doing at the Sheffield Geekups over the next few months, so there’s more if your appetite is whetted. [...]
In: Development, geekup, Semantic Web · Tagged with: geekup, ianibbo, ibbo, Semantic Web
Automata Step-By-Step The views expressed here are the personal views of the author.
In: asides, Computer Science, MSc · Tagged with: chomsky, chomsky hierarchy, finite state automata, grammar, language
It seems like one of the things I really have to get my head round if I want to understand some of the principles of computer science is logic. Now, I figured that would be easy. I mean, I can remember truth tables for AND, OR, NOT, NOR, NAND, etc. from school, so how hard [...]