Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

RFID Presentation - rob.sh - 18 years ago - eng

I am probably one of the rare type of Mac owners who did neither of the following: Bought Mac OS X 10.5 (including Safari 3) Upgraded to Safari 3 by downloading it for free from Apple’s website Therefore I was still using Safari 2 on my Mac. A few nights ago, Apple’s software-update program pushed Safari 3 to my computer. Although I could have deselected that download, I assume that the sort of people who would deselect an update th..

The monitor I am using at work suddenly went white. I.e. every pixel went white; not black, and not blue. A white screen of death, as it were. I was in the middle of programming an algorithm requiring some degree of thought, so I wasn’t really up for being interrupted by unreliable technology. The monitor a 22" wide-screen flat monitor. My initial suspicion obviously lay with Windows. For some reason, some instinct told me to turn the..

SQL For Fun!? - boyter.org - 18 years ago - eng
Well today while pondering things at lunch I was looking into the performance of SQL queries one stood out. That being the performance of getting random rows out of a database. Most people who have a basic understanding of MySQL (the database I use at home because its easy to set up, though I am looking at Posgresql) would say oh, to get random rows you do this, SELECT * FROM ` table ` ORDER BY rand() LIMIT 0 , 5 ..


If you though getting started with Rails seemed easy from my first post, you haven’t tried out Heroku yet. Heroku is a hosted solution for Rails that comes with a browser based IDE. There’s nothing to install. It is so easy that it’s almost ridiculous. To me, this is the future of application hosting. One of the remarkable things about Rails is that it lets you get up and running very quickly.

This is the fourth article in my introduction to Rails. In the previous articles, we created a web application that let us edit articles, added support for comments to our articles, and added some nice AJAX effects. But a real blog needs feeds, a decent front page and some article formatting. In this article we will add all these. The article contains no groundbreaking features, but mostly dots a few i’s and crosses a few t’s both when it c..

RFID Basics! - rob.sh - 18 years ago - eng
So, at the moment, I’m writing a presentation about the operation and the security implications of RFID. During the course of the random searches around the internet, I’ve found that there’s a lot of really, really cool work going with respect to RFID. Even more great than the output on the subject is who is studying it. Lots of really cool observations are coming out of the open source friendly community - some of the best presentations on....

RFID Basics! - rob.sh - 18 years ago - eng
So, at the moment, I’m writing a presentation about the operation and the security implications of RFID. During the course of the random searches around the internet, I’ve found that there’s a lot of really, really cool work going with respect to RFID. Even more great than the output on the subject is who is studying it. Lots of really cool observations are coming out of the open source friendly community - some of the best presentations on....

todo.pl ratmenu - blog.nelhage.com - 18 years ago - eng
broder has been hacking on some better quicksilver integration for Hiveminder using todo.pl. I don’t use a mac, but I don’t see why linux users shouldn’t get fun toys to. So I hacked up the following two-liner that uses todo.pl and ratmenu to pop up a list of tasks, and mark one as completed: #!/bin/sh todo.pl | perl -ne 'push @a,$2,"todo.pl done $1" if /^#([\w]+) (.+)$/;' \ -e 'END{exec("ratmenu",@a)}' I dropped it into my ~/bin and bound ..

todo.pl ratmenu - blog.nelhage.com - 18 years ago - eng
broder has been hacking on some better quicksilver integration for Hiveminder using todo.pl. I don’t use a mac, but I don’t see why linux users shouldn’t get fun toys to. So I hacked up the following two-liner that uses todo.pl and ratmenu to pop up a list of tasks, and mark one as completed: #!/bin/sh todo.pl | perl -ne 'push @a,$2,"todo.pl done $1" if /^#([\w]+) (.+)$/;' \ -e 'END{exec("ratmenu",@a)}' I dropped it into my ~/bin and bound ..

I suddenly got an email out of the blue today: Dear Sir / Madam: We have received your application, an interview will be arranged for shortlisted candidates. Thank you for your interest to join our team! Human Resources Initially I thought it was spam (although the normally good Gmail spam system hadn’t marked it as spam), then I saw the company name, and saw they were based in Macau. A quick search for that company’s name in ..

Whenever I talk about Agile Software Development with people who have a strategic point of view, a very pertinent question always comes up: What about fixed price projects? Establishing an initial relationship with a customer about creating a product is often perceived as a weakness of Agile methods. After being asked the question very many times, I’ve started giving a fairly standard response, which is basically the same as Tom Gilb gave m..

Rails #3: AJAX - jhannes.github.io - 18 years ago - eng
In my previous articles, I showed you how to get started using Rails, and how to create model objects that are associated with each other. In this article, we will clean up the way that information is displayed and add support for dynamic HTML, or as the cool kids are calling it these days, AJAX. A view to die for First, clean up app/views/articles/show.hml.erb. I am assuming you know enough HTML to be able to make it look reasonably blog l..

Every Java object has a hashCode() and an equals(..) method. These are used to determine where to place an object within a hashing algorithm, and if two objects with the same place in the hashing algorithm actually are the same, respectively. If you want to add objects to a Set—which stores only unique objects—it uses these methods to determine whether two objects are the same and thus shouldn’t both be stored.

The Java Iterator interface requires one implements a hasNext method, to determine if the current item is the last to be iterated over, or not. The MySQL driver ’s implementation of the JDBC ResultSet object, if one uses streaming mode throws an exception from its isLast method. ( Streaming mode prevents the JVM from running out of memory, which it would do if it tried to fetch all the results at once.)

There was a discussion on Slashdot about corporate ethics and system administrators reading other people’s emails. That reminded me of the following story: A friend of a friend was working in IT as a Windows administrator. He was called to fix some boss’ computer, who then went out to lunch leaving the friend alone with the computer. The friend happened to see a mail on the boss’ computer that he found interesting, so he forwarded it ..

After my last post about SQL*Net message to client wait event I had a follow-up question about what’s the difference between SQL*Net message to client and SQL*Net more data to client wait events. I’ll post the answer here: The first session data unit (SDU) bufferful of return data is written to TCP socket buffer under SQL*Net message to client wait event. If Oracle needs to return more result data for a call than fits into the firs....

After my last post about SQL*Net message to client wait event I had a follow-up question about what’s the difference between SQL*Net message to client and SQL*Net more data to client wait events. I’ll post the answer here: The first session data unit (SDU) bufferful of return data is written to TCP socket buffer under SQL*Net message to client wait event. If Oracle needs to return more result data for a call than fits into the firs....



In a recent Oracle Forum thread a question came up how to use SQL*Net message to client wait events for measuring network latency between server and client. The answer is that you can’t use it for network latency measurements at all, due to how TCP stack works and how Oracle uses it. I’ll paste my answer here too, for people who don’t follow Oracle Forums: As I wrote in that reply, “SQL*Net message to client” does NOT measure netwo..

In a recent Oracle Forum thread a question came up how to use SQL*Net message to client wait events for measuring network latency between server and client. The answer is that you can’t use it for network latency measurements at all, due to how TCP stack works and how Oracle uses it. I’ll paste my answer here too, for people who don’t follow Oracle Forums: As I wrote in that reply, “SQL*Net message to client” does NOT measure netwo..

Trying to read a large amount of data from MySQL using Java using one query is not as easy as one might think. I want to read the results of the query a chunk at a time. If I read it all at once, the JVM understandably runs out of memory. In this case I am stuffing all the resulting data into a Lucene index, but the same would apply if I was writing the data out to a file, another database, etc.



I’m sure there are a lot of opinions in the world about which logger levels to use for which errors. Log levels in the sense of if a text destined for a logfile should be prefixed with “Info”, “Warning”, “Error” etc. There is even great debate about which log levels there should be. E.g. should there be a “Debug” level or a “Trace” level? Or both? In which case what’s the difference?

This series is about revealing some Oracle’s internal execution costs and inefficiencies. I will analyze few situations and special cases where you can experience a performance hit where you normally wouldn’t expect to. The first topic is about a question I saw in a recent Oracle Forum thread . The question goes like this: “Is there any benefit if I run long sql queries from the server (by using telnet,etc) or from the remote by sql c....

This series is about revealing some Oracle’s internal execution costs and inefficiencies. I will analyze few situations and special cases where you can experience a performance hit where you normally wouldn’t expect to. The first topic is about a question I saw in a recent Oracle Forum thread . The question goes like this: “Is there any benefit if I run long sql queries from the server (by using telnet,etc) or from the remote by sql c....

I have so far avoided writing such pointer blog posts which only refer you to another article, but I have to do it with this one . Adrian Billington has written an excellent article on performance of Oracle 11g PL/SQL function result cache. His article is a good example of a thorough, well organized and well written technical content. I really enjoyed reading it and thanks to his thoroughness, he has just saved me some precious time doing ..

I have so far avoided writing such pointer blog posts which only refer you to another article, but I have to do it with this one . Adrian Billington has written an excellent article on performance of Oracle 11g PL/SQL function result cache. His article is a good example of a thorough, well organized and well written technical content. I really enjoyed reading it and thanks to his thoroughness, he has just saved me some precious time doing ..

Mary Poppendieck has just published a presentation on Agile software development entering the mainstream (and how to fail with agile). The presentation contains a number of insightful key points, but one footnote struck a chord with me: According to Allen Ward’s “Lean Product and Process Development”, Handsoffs are the biggest waste of product development. This has long been a pet peeve of mine, and I want to examine why handoffs occur, why..

Not even the simplest things work with computers these days. I have an Excel sheet and I want to copy a value into an MSN conversation. On Windows. Notice the vendor of all these products. I copy the cell and in the middle of the sentence I’m tying into MSN I press Ctrl-V. MSN hangs for about 5 seconds. Then a notification is sent to the other party that I want to transfer a file, something .tmp.gif, i.e. an bitmap image of the value ....

In my last article, I showed you how to get started with your Rails application. The result of the simple commands, rails blogdemo; cd blogdemo; ruby script/generate scaffold article title:string author:string content:text; rake db:migrate; ruby script/server was that you had your own simple blog up and running. The blog support articles each of which have a title, an author, and text content. This initial model was generated for us with no..

Before I left Vienna, the Internet stopped working in my flat. There were some major electrical engineering works going on in the building, so I assumed this was the cause. Now I’ve come back, they’ve stopped, but my Internet hasn’t started working again. The modem, from my ISP Chello, was an “ARRIS type”, and the “online” light (light 2 in the following diagram) was permanently flashing. What was the modem trying to communicate to me? ..

I am planning to write a series of articles on how to get started with Ruby on Rails. One of the remarkable things about Rails is that it lets you get up and running very quickly. Here is what you need to do to get your first application up and running. Before you start, you need to install Ruby on Rails: On Macs, Rails is already available and you can type the following commands in a normal terminal window.


I just tried to start Tomcat and it refused to start because of the following error: log4j:ERROR Error occured while converting date. java.lang.NullPointerException at java.lang.System.arraycopy(Native Method) at java.lang.AbstractStringBuilder.getChars at java.lang.StringBuffer.getChars at org.apache.log4j.helpers.ISO8601DateFormat.format at java.text.DateFormat.format ... at org.apache.log4j.Category.log at org.apache.commons.log..

I was talking to my father over Christmas and he said that in his career, job titles of bosses had been various things, such as “leader of”, “head of”, etc. But he said when he started, they were called administrators . I think that’s a great name for a boss. It emphasises that the job of the boss is to get out of the way of the employees and let them get on with their jobs. It also emphasises the positive aspects of a boss from the pers..

Recently I was working on a website which was developed in PHP without a web framework. A lot of things were programmed manually which would normally be taken care of by a web framework (for example things like: in case of an error, the HTML fields on the form are re-populated on the response page). So I came up with an extensive set of test cases, and made sure I used them all on every field on every page.

Mike, your website was recommended to me by a friend as "a glider pilot with a curious mind." I too am addicted to gliding, and drew some pictures which you might appreciate. http://users.ox.ac.uk/~gliding/visions.htm email me at jasonchen3@gmail.com

I read this post by Laurent Schneider yesterday. In the comment section Tom Kyte already explained what the issue was about, but I’ll expand this explanation a little. The question was why should the apparently invalid statement below work? I mean there is no such column nor number as “1.x”), yet the statement works ok: SQL> select 1.x from dual; X ---------- 1 The column header gives a good hint what happened above. Oracle has tre....

I read this post by Laurent Schneider yesterday. In the comment section Tom Kyte already explained what the issue was about, but I’ll expand this explanation a little. The question was why should the apparently invalid statement below work? I mean there is no such column nor number as “1.x”), yet the statement works ok: SQL> select 1.x from dual; X ---------- 1 The column header gives a good hint what happened above. Oracle has tre....


1 visitor online