Search Results: "Simon Richter"

14 August 2006

Simon Richter: Aaaaaaaaah

Why is everyone developing commercial software on crack? Go pollute your own namespace! I already have stdbool.h defining "bool", "true" and "false". Your definition is wrong.

13 August 2006

Simon Richter: This post now lacks a title

I think I need a number of big changes in my life. This post started with a title of "my quest for becoming a better person starts today", which got me thinking when and why I had actually stopped thinking about and improving myself so that I need to "start" again. Essentially, I think that I have allowed me to think of myself in terms of what I an not: I am not unfriendly, I am not dishonest, I am not incompetent. As long as none of the negative attributes on my list apply to me, I am perfect, and there is no need to change anything. I guess that is the problem. Next step: solving it.

7 August 2006

Simon Richter: I suck at Electrical Engineering

In my new flat, the network cabling is still somewhat insufficient. That is, there is a cable from the modem to my computer, and one from there to the phone. Obviously, structured cabling with Cat6 is the way to go, but I have no real idea how to test the cables. Network testers for gigabit stuff are expensive, and, as it seems, not for rent. I'm thinking of hooking up a capacitor to one end and an oscilloscope in test mode to the other, but I'm not sure this will give me enough info. I might get a bit of an idea on the characteristics of one line pair, but there is also the issue of crosstalk, which may be more difficult to get right. Has anyone ever done such a thing?

5 August 2006

Andrew Pollock: [tech] I can only presume I am an idiot

So it seems I was a bit quick to declare the USB controller a dud last night. Overnight, Simon Richter attested on IRC that he also had a USB controller bearing the same PCI ID, and his worked fine. (Although his had the option for extra power from the floppy drive power cable, which I find interesting. Mine does not). So tonight I worked through the various combinations to get to the bottom of the problem. I put a Sun QFE card in that PCI slot to make sure the riser and the slot were working correctly. It worked fine. Then I put the USB controller back in and tried a USB thumb drive, that worked. So I immediately narrowed in on the hard drive itself, and the IDE-USB adapter. I tried it on my laptop. Nothing. Aha. So I tried the hard drive directly with IDE, and it worked. So I assumed that the IDE-USB adapter must have been faulty, and tried a different one. It worked. I cycled through the other three IDE-USB adapters, and they all worked. Then I tried again with the one from last night, and it too worked! I can only presume that in my haste, or with my fuzzy head (I've got a cold or the 'flu or something), I managed to connect the IDE-USB adapter to the hard drive incorrectly. Don't ask me how, considering it's a keyed interface, but it's not the first time I've managed to screw up plugging in an IDE hard drive. Anyway, with that hurdle behind me now, I made four physical volumes out of the disks (no partitions at all), and then made a volume group, and a single logical volume that is striped across all four physical volumes (yes, I know if I have a disk failure I can kiss the lot goodbye, but I'm in performance testing mode at the moment). I then exported that logical volume with vblade and mounted it on what will be my MythTV box.
apollock@teevee:~$ df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/Debian-root
              ext3    259M  156M   90M  64% /
tmpfs        tmpfs    502M     0  502M   0% /dev/shm
/dev/sda1     ext3    228M   25M  192M  12% /boot
/dev/mapper/Debian-home
              ext3     63G  295M   59G   1% /home
/dev/mapper/Debian-tmp
              ext3    368M  8.1M  340M   3% /tmp
/dev/mapper/Debian-usr
              ext3    4.7G  1.7G  2.8G  38% /usr
/dev/mapper/Debian-var
              ext3    2.9G  897M  1.8G  33% /var
tmpfs        tmpfs     10M  124K  9.9M   2% /dev
/dev/etherd/e0.0
               jfs    1.5T  2.2G  1.5T   1% /mnt
I've currently got bonnie++ hammering away at the "disk" to see what sort of performance I'll get, and whether it'll be fast enough to record TV. Now I just need the TV tuner card to turn up, and I can start fiddling in earnest.

27 July 2006

Wouter Verhelst: SQL Pony

According to Simon Richter, you can implement a pony on top of an SQL database with triggers with a special tool. Cool. I want one.

26 July 2006

Simon Richter: Data integrity versus expectation of privacy, technical solutions?

So again I shall invoke the lazyweb. This time it is about databases; specifically I want to store personal data on a machine that lets a select group of people access and modify it, and even more personal data on an office machine that is more guarded against the outside world (here's where stuff people do not consent to publishing but required internally ends up). Now I'd like to have a relational database that allows me to basically keep part of a table on one machine and part on the other, with "affinity" being determined by either a field in the record or referential integrity. Additionally, I'd like to have offline operation support and the ability to revert old commits, preferably with referential integrity being checked. I also want a pony.
It is pretty clear that the last requirement can be implemented on top of an SQL database with triggers with a special tool; what I'm interested in would be whether there is some framework for that already, or whether I have to do that myself.

25 July 2006

Simon Richter: But void sounds like there is nothing behind it

Argh. Turning void* into char* will not make your program typesafe. In fact, it will only annoy people with warnings if you are really passing an int*

24 July 2006

Simon Richter: Permissions on kiosk boxes

On my way to England, since I was flying RyanAir, I needed to print my boarding pass myself (I could alternatively have chosen to stand in line for two hours). Problem is, I don't have a printer at home, which led to me visiting an Internet cafe.
They were running Windows, and basically had everybody logged in as an admin. When I needed Acrobat Reader, the shopkeep said I should just install it, it would be fine. As the installation looked pretty clean to me, I assume they just reinstall the machine after every customer.
Could that be an idea also for Linux based kiosk setups, a virtualised box where you'd be running out of an LVM snapshot so wiping the box is basically the same as forgetting the changes; then giving users the permission to install stuff?

21 July 2006

Simon Richter: RyanAir is weird

Wasn't the plane supposed to follow the checkcar, not meet it halfway?

Simon Richter: Lessons

There are two things I just learned: always recheck the timetable of a bus (done) and if you need something refreshing to drink, trying something new from a Chinese food store is not always the best idea. This one tasted too much like sesame for my taste.

Simon Richter: Apfelkorn

So, I'm on my way for a short visit to work before I leave for Wolverhampton, specifically, LUGradio live. I am, as tradition expects me to be, awfully late, but I didn't forget my passport (like I did for Mexico) or my ticket (that was Oslo IIRC). Fortunately I noticed early enough both times. Obligatory comment whoring: what else is there that would be bad to forget?

Simon Richter: Early rising and the little problems before that

Hearing other people's alarm clocks as you walk home after work is depressing. Even more so if you know you have to get up again in two hours. Bah.

19 July 2006

Simon Richter: Fighting collateral damage from spam

One of the biggest problems in fighting spam is that of false positives. I regularly have to scan my Junk folder for legitimate mail, which takes a great amount of my time, but otherwise I'd miss important stuff, like my provider telling me about a network outage, or a message from eBay. Now what I'd like to see is a mechanism to hand those people legitimately sending bulk emails a token which allows them to go through my spam filters. Obviously, everyone would get a different token. The interesting bit about this is less of a technical thing though: having a token could be interpreted as a prior business relationship, which is a requirement for sending business email in most jurisdictions.

15 July 2006

Simon Richter: AOL users on the lazyweb

Joining Sesse, I am also on the lookout for notebook tips. Since I'm mostly asking on behalf of my girlfriend, who is an aspiring meteorologist, having an option to choose between really long battery life (because she might be in the outback) and acceptable computing performance (for the biweekly number crunching are strong requirements, just as a tough case and at #4, screen resolution.
I'm especially wary of "unified memory" graphics, as several people have told me that a high-res display will consume a large part of your memory bandwidth, which is the bottleneck for dealing with large matrices anyway.

6 July 2006

Simon Richter: Hardware sucks

Remember kids, it could happen to you too: just minutes before I wanted to go home, one of the harddisks in a desktop box died. After a powercycle it worked okay for long enough to get a current snapshot; the last one was at least a few hours old.

Simon Richter: W00t, Wolverhampton

It appears as if I have booked nearly all of the required tickets to get to this year's LUGradio live and back. Well, that probably means I'm going to be there. On my outbound journey the coach connections are not quite as good as they are inbound; so I am going to be bored in Birmingham on Sunday evening; is there anyone interested in drinking/keysigning there?

Simon Richter: Praise

My DSL arrived today. A little earlier than expected (7:40 rather than 8:00 to 12:00), but it works absolutely flawlessly (as I expected). About ten minutes later, I had VoIP working too. I can still only recommend QSC, they manage to get things working, have a customer support line where they pay when the call takes longer and where the first person you speak to has access to all the data and metadata (so they can tell you why you had to wait five minutes to get VoIP, which is extraordinarily long, it seems). The email I was promised was there ten seconds after I had hung up. I guess the reason it works for them is that their focus is on businesses and technically minded people, as their list of services lists ping times (15ms, which is far from the truth; it's more like 8ms). I doubt they could maintain that level of service if they had to tell everyone how to turn on their computer.

4 July 2006

Simon Richter: Gee, time to invoke the lazyweb again

I have to decide between a LinkSys WAP54GP and a Cisco 1120B, at roughly the same price. The LinkSys has 54Mbit, while the Cisco has only 11. Are there good reasons why I should still choose the Cisco? PoE, multi-SSID/VLAN, SNMP and QoS are required features, so if you want to suggest something entirely different, I'm open to it provided these are still there.

MJ Ray: HOWTO not melt Footnotes 1

Well, the temperature is soaring here again and a few people have expressed interest in this. I've also had some interesting side discussions. Simon Richter emailed me notes about the different types of disk - which I don't really understand so I've asked him to publish them himself - the gist seemed to be server disks don't like being power cycled repeatedly and yanking the power is very harmful to desktop disks. Ted Harding sent a "Medical Tip of the Day" to ALUG Main: "I assert that caffeine is a good preventative of DVT in computer users."

22 June 2006

Simon Richter: Welcome to level 2 of embedded systems programming hell

HTTP is an evil protocol these days. There are headers that tell you to ignore other headers. There is no formal order, so technically, this could be the last header that is sent. And there is no limit on the lengths. And to top it all off, there is the concept of "trailers", i.e. headers that are sent after eventual POST data. At least the spec allows me to reject things without giving a reason.

Next.

Previous.