Fish in cilantro chutney
Mon 13, 2007 14:32 |
Permalink |
Comments (0) |
Trackbacks (0)
Oh god! I really really need to try this!
Now if only i know how to make the brown rice with potatoes and the salad of spliced cucumber…
Mon 13, 2007 14:32 |
Permalink |
Comments (0) |
Trackbacks (0)
Oh god! I really really need to try this!
Now if only i know how to make the brown rice with potatoes and the salad of spliced cucumber…
Mon 09, 2007 11:27 |
Permalink |
Comments (0) |
Trackbacks (0)
Now running Typo :)
Tue 30, 2007 12:48 |
Permalink |
Comments (0) |
Trackbacks (0)
This weekend I was trying to implement a simple PHP parser for my WebAppViewer project (more on that later).
Since the project is written in Java, we decided to use ANTLR2 for parsing purposes. After messing around with it (and being used to LR parsers), I went nuts because every single line of grammar I wrote had conflicts.
Just before going completely crazy, I decided to give ANTLR3 a try.
The real difference is that ANTLR2 is a LL(k) parser. On the other hand, ANTLR3 is a LL(*) parser. This means that the parser may do infinite LookAheads to do the disambiguation, and therefore, my grammar started working :)
So for you that don’t like LL grammars, dump ANTLR2, and adopt ANTLR3.
More info on ANTLR3 here
Sun 04, 2007 20:13 |
Permalink |
Comments (0) |
Trackbacks (0)
krani1@0x82:~/router/logs/archive$ ls
auth.log.1 crond.1 errors.log.1 iptables.log.1 mail.log.1 store.log.2 user.log.2
auth.log.2 crond.2 errors.log.2 iptables.log.2 messages.log.1 syslog.log.1
cache.log.1 daemon.log.1 everything.log.1 kernel.log.1 messages.log.2 syslog.log.2
cache.log.2 daemon.log.2 everything.log.2 kernel.log.2 store.log.1 user.log.1
krani1@0x82:~/router/logs/archive$ ls | cut -f1 -d'.' | head
auth
auth
cache
cache
crond
crond
daemon
daemon
errors
errors
krani1@0x82:~/router/logs/archive$ ls | cut -f1 -d'.' | sort | uniq | head
auth
auth
cache
crond
daemon
errors
everything
iptables
kernel
mail
Can someone please explain me the double auth??
UPDATE: Thank you Alberto for the tip on the comment. I owe you a launch…
Sat 10, 2007 14:46 |
Permalink |
Comments (2) |
Trackbacks (0)
Last Thursday I presented a project from the last year of my graduation in Computer Science and System Engineering. The project was to create a DSL to parallelize a NPL process and make the most of the cluster SeARCH we have at our campus.
The project was a success, and the tool is already being used in production. Since at least two people asked me again for the slides of the presentation, I decided to put them here to the world.
Sorry if you don’t understand Portuguese. Just look at the pictures :) Later this month I plan to publish a English article with full coverage of the tool.
The presentation can be found here