Search Results: "ag"

20 January 2006

Brett Parker: Why oh why...

Why does Oracle complete an import with... "Import terminated successfully with warnings." when what it actually means is... "I ran out of table space mid import, but I'm only going to tell you that in an obscure way in the log, and otherwise make you think that it was alllll OK"? Surely in this day and age it could just say "Import terminated unsuccessfully: ran the hell out of table space", wouldn't that be nice?

Dan Weber: DWeb's guide to cleaning shoes

Today I was running out the door chasing the dog. The dog saw a person walking on the street and ran up to see her. I managed to get a hold on the dog and bring her home, but on the way back, theres this mini slope. Of course I'm bringing dog back inside and didn't think of this and get my sneakers covered in mud as there is a big ditch at the bottom. :(

So here's my instructions on washing shoes:

- First toss them in the washing machine on a low water level setting. Add in a bit of laundry detergent to help get the stink and mud out.
- Next take them out and stuff them with newspaper. Don't let the chunks of newspaper be too thick or it will not absorb as well. Leave newspaper in both shoes for 30-45 minutes.
- Now its time to let them air dry. The best approach is to put a fan in front of them. The more power the faster they dry. Right where I live right now, its the middle of a heat wave. So I realized the big air conditioning fan and motor outside is going around 24/7 and with huge amounts of hot air. If you take the latter approach, the shoes are usually dry with 1.5-2 hours, especially since it runs at least 10000 rpm. Otherwise the in house approach may take 4-6 hours. Also note that the air blown out from under your refrigerator is also good.

So in under 3 hours you can have your shoes squeaky clean with a nice smell, and be dry.

Dan Weber: Cogito Documentation

Today I started work on writing the documentation for cogito. I figured, someone needs to be able to update and create documentation easily. So I'm writing a doc system based on udo with macros for the manpages. So a similar syntax to this:

...
!include inc/header.udo
!include inc/manpagename.udo

!manpagename [cg-log] [cogito log viewer]

!include inc/synopsis.udo
(!synname [cg-log]) (!synargflag [-path] [/path/to/foo])
...

Alright you get the idea.

Dan Weber: Fibonacci : Haskell edition

On my run through the haskell language, I implement my hello world like program for every language which is fibonacci.

Here is my haskell implementation:

diffsquares a b = 2*n*b + n^2
where n = (a-b)

fib :: Integer -> Integer
fib 0 = 0
fib 1 = 1
fib 2 = 1

fib n (n mod 2) == 0 = diffsquares (fib ((n div 2) + 1)) (fib ((n div 2) - 1))
otherwise = (fib (n div 2))^2 + (fib ((n div 2) + 1))^2



Diffsquares is a little differencing squares hack only squaring the distance between the two numbers. The fibonacci implementation is based on fib(n)^2 + fib(n+1)^2 = fib(2n+1)

Dan Weber: M$ Access, the root of all evil

Friday my coach (very computer illiterate, maybe illiterate too) asked me to print out an access database of names. He hands it to me on a cd, and says Monday I want to see it printed out.

First I attack it with mdbtools and find there are 30 tables, which am I to choose? I look through all of them and find Names which seems to have what he wanted. I dumped it in CSV to a file and then did my magic with awk to get names addresses and zip codes. Of course with handy cups-pdf installed I run it through pdfprint. It turns out theres 192 pages. I say fuck that and leave it as is in a pdf and email it to him.

Of course that couldn't be the end. I get a response back from the mailserver tailing me his email account is full. Spectacular, he must have a quota of 5mb for these crap school accounts. So I then upload it to my webserver, send him another email saying its there and thats what happened. All will be found out tomorrow. M$ Access suuuuuuuuucks.

Jos Parrella: Meme: What s in my bag?

I’m really conservative about bags. I’ve got three backpacks, one for school, one for the laptop and one for travelling, a laptop messenger bag and a small messenger sidebag. These accomplish different duties, mostly carrying books, tools, magazines, random stuff and of course the laptop. Starting 2006, I use to carry only the laptop backpack, which fits all my needs. When I go out I use to carry the messenger bags. Anyway… I have this stuff in my bag. What’s in your bag? (no, I’m not a Capital One representative)

19 January 2006

Christine Spang: GNOME Women Bug Day

Want to help fix bugs and make GNOME better? GNOME Women is hosting a bug day on Saturday, January 28th. Come one, come all! (Yes, that’s guys too.) Now, to defend that Saturday from all other possible engagements with my life…

Riku Voipio: Heading for demonstration

Today, a Demonstration against copyright law changes is happening. Never demonstrated before, I think this will turn into a interesting experience.

Riku Voipio: o_O

Debcamp has been slightly rough, but apparently not rough enough. Of all the things that have not gone perfectly, I heard most complaints when our web cam was down:



Other random notices:

* Foreigners like sauna but not Salmiakki (a kind of Licorice)
* Nobody has complained about missing lamps during nighttime
* April 1st was a while ago, right?

And as last point, I would like to remind debcampers, that from saturday morning breakfast will be available 08.00 -> 09.00 At TF, instead of all day at dorms. Also, for the weekend, the lunch time is limited from 11.00 -> 14.00. For more details, refer to the Food page at debconf site.

Riku Voipio: software patent directive gone

So software patent directive was shot down at 648-14 votes. Not time to rejoice yet (well, maybe one beer.

The media seems to have picked up examples like "ABS brakes" and "CAT scanners" as examples of rejected patents, which is terribly misleading. They are examples of Inventions having computers, rather than the pure-software patents free software developers and small businesses are against.

We need to start working for a sane patent unification directive, that does what it says, not this Computer-Implement-Invention crap, that in fact legalilizes pure-software patents. The industry lobbiers have probably already started lobbying a new weasel-language directive.

At the other end, we need to stop our local patent offices from issuing swpats on their own.

...

Riku Voipio: Debconf5 directions photographs

In the inspiration of guadec travel instructions, I took time to take the trip from Helsinki-Vantaa Airport to Debconf accommodation building in Otaniemi. Apart from camera running out of battery (twice), total lack of graphics skills, and initially uploading images as png's, the results seem acceptable.

Directions from airport, relatively easy

.
Finding the bus station, annoyingly enough, the bus from airport does not stop at the main bus terminal, but at railway station. The new kamppi terminal is still under construction, so it is not impossible that the route changes before debconf starts.. Sigh.


Walk to dorm from the final stop of bus 102/102T taking to otaniemi is short, but may be confusing, with many similar buildings around. There should be proper "Debconf 5 this way" signs by the time you get there.</br/>


Thanks for Christian Perrier, we also added Google satellite map link to our otaniemi page.

Otherwise, our Debconf5 site seems to have a confusing structure, but I don't have concrete ideas what to fix to make it easier to navigate. Still Work in progress..

Riku Voipio: Automatic Language Identification

Automatic language identification: http://grid.let.rug.nl/~vannoord/TextCat/Demo/textcat.html -Insanely cool.

I remember I saw that site a long time ago last time. Finding it again turned out to be very hard. Googling for "automatic language identification demo" and variants turned out all kinds of interesting papers, but not this site. If I would have tried with "language guesser", I would have found it without needing to resort to search for the papers cited on the page... Google is still not magic.

About the mandatory comment issue, I agree VERY much with Joey. I think the SCC name is unfortunate, probably something like "ports" would better. I'd also like believe that many of the ports will become more lively when they get administrated on scc site by the actual porters instead of the overworked d-i and debian infrastructure team. This of course up to how many people (and vendors!) care about their specific arch, to actually work for it.

And about all the "universal OS" and "what about users" screams... I'm almost speechless. What about the _current_ X86 and powerpc users with their recent hardware that isn't supported by woody? We have a lot more X86 users currently without stable security support than there are woody users of the archs proposed to be moved to SCC.

Riku Voipio: pointless passwords - IBM is cluessess sometimes too

Let's see, there is a driver on the recovery partition I need:

$ unzip cxd018a.imz
[cxd018a.imz] IBMWORK/ password:

First pointlessness: Why password "protect" a driver in first place? It is installed unprotected on the default install anyway! Who is the attacker being protected against? The owner of the laptop, who has a valid license? Are they trying to say that the only way to install the driver should be the lengthy recovery process?

$ find /media/rescue -type f -print0 xargs -0 strings tr ' \t=,' '\n\n\n\n' sort -u > wordlist

a few minute pause

$ sudo apt-get install fcrackzip
...
$ fcrackzip -D -p wordlist cxd018a.imz

a few second pause

possible pw found: xwbdbgmlbu
$

Not only is the installer file pointlessly protected, the password is as plaintext on the same partition!

On the other hand, this is so similar to DRM in general - A user is given decrypting key to content, and then somehow miraculously the user can only use the key the way content producers want...

Riku Voipio: software patents update

Easrlier this week I had a chance to listen to Gregory Aharonian. Since listening to opposing views usually brings new viewpoints to issues, I tried to listen and understand. Basicly, His point was:

- Patents are a pilar of capitalism
- Software is equal to hardware
- So Software Patents have to be good idea
- But most patents are trivial and ridiculous

The solution?

- If you are a corporation, you should be furiously filing ridiculous software patents for your defense too.

Eh? Which as ridiculous as "fucking for virginity"

- If you can't afford a legal department, well, you are SOL.

This is what irks me most about the SWpat people. "So what if small companies and individual developers lose?" "That's just the way life is in other industries as well". Patent lawyers are not prepared to bring in any compromise, or fix defects of the system. And I'm not even talking about medical/healthcare patents, where patent monopolies can literally kill people.

If the future of software development is parasitic Myhrvold's IP holding companies and programming while a lawyer is transcribing my code to patents while telling me things I can't do because we haven't licensed something...

Patents are a cold war between corporations legal departments. Nothing to do with real world, INNOVATION, or creating better products for users. I have to say, that after hearing what a software patent supporter had to say, I am more confidently against software patents than ever before.

Riku Voipio: The best operating system according to microsoft?

Tell me Microsoft, what is the best operating system? Cool! atl east there is something we can agree with :) In other news, if you see someone who doesn't look at all like Ross Burton's () hackergotchi, be aware. It just might be him. Apparently we where in the same bar on last friday :) Nice chatting anyway. Which reminds me, I need to create hackergotchi of myself. *goes to dig picture archives*

Riku Voipio: Bad homework

Roland Fails at homework, and Wouter gets detention for copying Rolands homework. Any given spam detection method is workaroundable, but uribl happens to be one the hardest ones so far.

What Roland is missing, is that spamassassin 3.0:s uribl module checks against the domain names too. So if cheap-placebo-meds.biz points to zombie servers at unblacklisted ip addressess, It will still get a score if cheap-placebo-meds.biz is already blacklisted as a domain.

They could still drop the domain from the url entirely, and just add an zombie IP, but that would be terribly unreliable. The zombie-hosted sites I have seen usually had 10-15 round-robin addressess, of which 2-3 actually responded.

Another escalation spammers could do is to buy (more) throwaway domains. But there is already work to detect fresh/throway domains and list them, since typically spammer domains are less than one month old.

But if zombie hosted spammer sites come a big problem, the uribl module can check against dial-up blacklists as well, of course at the great annoyance of everyone who has web site on their dial-up and advertisize it to their friends via email...

What spammers will probably start doing, is setting up (more) gateway/redirection sites on various free webspace sites like geocities, or start obfuscating their addressess (isn't that poetic justice: "please go to cheap dash meds 123 dot biz". In any case, their links will look more suspicous than before, which hopefully will damage their sales.

In other news, excuse me, it's nice that GNU has locales and standard ways of doing things, but does /bin/true really need all this??

Riku Voipio: Maintaining local modifications to debian packages

I've been recently wondering how to properly maintain locally modified packages. Of course, Ideally I would just submit my fixes and enhancements to the debian maintainer of the package, An updated package gets uploaded to debian, and you would use the fixed package happily ever after. In the cold reality, not all the modifications are fit to included in debian packages. They may be horrible hacks needed because "Subject: FYI ASAP HAND", A modification that other users would not be happy with, A new upstream version the maintainer is not comfortable uploading yet, busy/MIA maintainers, etc.

CDD doesn't seem to do anything related (yet), altough most debian-based distributions have atleast some modified packages.

apt-src is the only package containing local modifications in description, and it doesn't come even close to what could be usefull in this scenario.

Riku Voipio: I hate installing computers

Now, suppose you get a new laptop and a desktop, more time will be wasted installing Linux on the laptop? Wrong. The Ibm Thinkpad x40 installed pretty much without a glitch. Of course, to avoid the problems [info]mjg59 had I chose a x40 with builtin wlan, so I saved my from some grief I could have hit.

The desktop (Dell optiplex gx270) installed fine all the way to X - ok, so the frigging xfree86 config still doesn't work I thought. Again, wrong. After half a day of fighting, I got it in 640x480 resolution at 256 colors. But nothing better. A posting on the dell forums revealed the cause - Dell has been shipping machines with broken bios for half an year! Am I the only one this gives the creepy "we support only windows" feeling? Unsuprisingly, the suggested BIOS downgrade refused. So I was stuck for some days with 640x480. Finally. finding out Christian Zietz had written a hack around it, I actually have an usable desktop!

Personally, using d-i has been a more pleasant experience than bootfloppies ever was. Thanks for everyone involved!

On the embedded hardware front I have not been as frustrated as liw. Trimming a minimal debian which still has all the needed hardware support and fits into the memory limits _is_ on the other hand frustrating - netbase drags an inetd and bluez drags in gconf,orbit and almost half of gnome(!).

Riku Voipio: busy-busy-busy

Data, so you chose Vacation, sunny Spain and Brazil, Amaya and all the other nice people instead of Work, rainy and cold[1] Finland and me? Why would you do that? I'm so disappointed!

My old work doesn't want to leave me, they are still calling me. I guess I didn't document my doings well enough.. That, new job and planning my move in the end of month (which unfortunatly collides with debconf), which means a busy month ahead. Tp prevent stress forehand, I chose to unsubscribe (again!) the most high-volume low signal/noise ratio mailing lists, like debian-devel.

Finding of the day:

apt-cache dotty netbase dot -Tps kghostview -

Now, I just need something similar for build-depends too.

[1] Actually I lied, it's been a very nice weather this week. But I'm sure this is just a temporary quirk.

Riku Voipio: Random tidbits

Funkysoul complained that my comments are too techy, while some debian planet readers would probably complain about too unrelated stuff... Well luckily for planeters, there is not much nontechnical stuff in my life :P

[real life]
Soon 5 hours of travel ahead. Being trapped living far away from your girlfriend is not fun. Long train trip means ofcourse that All I can do for a while is read. So atleast I get forward in reading my school stuff...

It was over 0 celsius out today, and sun was shining, so I thought it would be nice day to eat the summer's first icecream outdoors. yum!

[hacking]
Not much of this recently. Cleaning kde packages bugs. Also find out I'm not a very good programming teacher to complete beginners... For a school Database application project, wrote a postgreSQL backed dnsbl to track spammer domains (for spamassassin URL matching). Aparrently the db schema and web frontend impressed, so I got full points :-) Unfortunatly real life hit ratio isn't that impressive.

Next.

Previous.