Live data from Hacker News

“My wife has complained that OpenOffice will never print on Tuesdays” (2009)

bugs.launchpad.net

151–160 of 216 posts

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#151

It kinda pisses me off that the second line of the body became a sexist joke phrase title in hacker news. If you're not clued in on sexism: The stereotype reinforcement that women are dumb with technology is the punchline. It doesn't matter that there was actually an issue with the pipeline from OpenOffice -> Cups, but the hacker news title was cleverly crafted to reinforce a stereotype. I don't care that this will b…

I think that the only stereotype held by most people on HN is that 99% of people, both genders indiscriminately, are dumb with technology.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#152
post #36

Some years back I had a case where a co-worker complained his mouse didn't work in the afternoon. Eventually I went to have a look, and he demo'ed the issue; sure enough the mouse was completely unresponsive. Luckily I guessed the issue immediately and quicky demonstrated - with a shrug - that the mouse "works fine for me". Thing was I'd spotted there was strong sunlight through the window hitting the mouse; guessing…

Similar story in the USAF. We transitioned the academy from Banyon Vines to TCP/IP. An entire building wing went offline every day. A team was flown out with a network analyzer. Sure enough, same time every day, the entire wing of the building went offline. Turns out, the person buffing the floor needed a place to plug in the buffer and the only place they could find had this big box with lots of blinky LED's on it,…

Amazing, and exact version of this happened to me in the Israeli Army in the 90's.

Every day at around 13:30 (give and take a few minutes) the network for an entire building went offline, only to come back on line a few minutes later.

... In our version of this 'bug' - one of the NCOs unplugged the electricity to that "big box with lots of blinky LEDs" in order to plugin an electric pot, to prepare his post-meal Turkish coffee, then plug it back in once water boiled...

Many resources were "thrown" at the problem, until, weeks in, someone had the splendid idea of quietly sitting around the network-cabinet around 13:30 and see what's going on.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#153
I had a bug on a small system (basically an embedded computer with some custom I/O hardware), where the report was a unit "wouldn't reboot if it was turned off for too long(!?)".

Focused testing easily reproduced the problem. If you power cycled the machine and the off time was less than 30 seconds, it always rebooted correctly. If the off time was greater than 2 minutes, it ALSO always rebooted correctly, but if the off time was around 1 minute, it would reliably hang during the boot process. This behavior was rapidly confirmed on a number of other units taken off the production line.

Needless to say this was very confusing.

The eventual root cause was that during boot, a file-system was created in DRAM, similar to what a modern system would use initramfs for. The file system creation routine had originally been written for non-volatile memory, so it would by default check for a superblock to see if there was already a file system in place at the creation location and if there was, just use that (after unlinking all pre-existing files). If no pre-existing FS was found it would create a new one.

But this was in DRAM, not non-volatile memory so:

- if the off time was less than 30 seconds, the filesystem was STILL IN THE DRAM and the ramfs_create() routine would happily re-use it.

- if the off time was over two minutes, there were enough bit errors in the DRAM that ramfs_create() would fail to recognize the superblock, overwrite it with a new one, and everything STILL worked fine.

- in the critical timing zone, the number of bit errors in the superblock in DRAM would be small enough that the FS creation would recognize that there was a pre-existing filesystem, but large enough to cause the ramfs_create() function to error out. The boot would then hang when the DRAM filesystem was accessed.

Of course there was no error checking on the ramfs_create() return.

The solution was to change the flags to ramfs_create() to overwrite unconditionally. After that, booting was reliable with any amount of off time.

Lesson is - cold boot attacks on DRAM contents are real, and we managed to do it to ourselves by accident.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#154
when i got the computer for the first time , there was mcafee antivirus that came with it, i scanned the PC and found a virus, i was shattered and cheated by the computer seller as i thought it would damage the PC and i wont be able to use it ever again.I'm a software engineer now

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#155
i used to create virus on my school computer labs , a batch file with command to delete a critical windows file like ntldr.dll or somthing and restarts, then i rename it to fifa or GTA and put an icon of the game as well. someone from any other class when using the computer think they got a new game and click on it and it won't boot again. yeah , i was a bad kid

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#156

It kinda pisses me off that the second line of the body became a sexist joke phrase title in hacker news. If you're not clued in on sexism: The stereotype reinforcement that women are dumb with technology is the punchline. It doesn't matter that there was actually an issue with the pipeline from OpenOffice -> Cups, but the hacker news title was cleverly crafted to reinforce a stereotype. I don't care that this will b…

In general I agree with you that "unconscious" sexism is common, but TFA is not an example. TFA describes a user who has accurately isolated the conditions that generate errors. That is a capable user.

Arguably, the title would be improved by adding the third sentence as well...

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#157

Earlier quoted context omitted.

I was an admin for a company that had lots of open plan offices. In one of these offices a specific row of computers kept failing. Although they were cheap (Compaq Evos with NT4), they were pretty damn reliable throughout the rest of the company. Lot of head scratching ensued about the fault. Nothing really made sense. Totally by chance we found out what was wrong. One Saturday when the office was empty and with no a…

Out of curiosity, what happened to her ?

Nothing. Head if IT had words with her and she acknowledged What she did.

HR also offered her a free hearing assesment. It was a semi-state co so they actually cared for their staff.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#158
post #36

Some years back I had a case where a co-worker complained his mouse didn't work in the afternoon. Eventually I went to have a look, and he demo'ed the issue; sure enough the mouse was completely unresponsive. Luckily I guessed the issue immediately and quicky demonstrated - with a shrug - that the mouse "works fine for me". Thing was I'd spotted there was strong sunlight through the window hitting the mouse; guessing…

That is absolutely hilarious. Flashback to a similar technology `sleight of hand` - Back in middleschool, when JavaScript's window.open allowed you easily to launch a fullscreen window with no browser chrome, and setting the background-image to a screenshot of the desktop... it was so entertaining watching students and teachers alike try to use the machine and thinking it was frozen!

In college, during the time I worked at the campus library in Stack Maintenance, on some days I also worked in the library computer lab. A joke we played on one friend was to take a screenshot of the regular computer desktop and make that the startup screen.

And the background screen.

And then use ResEdit to allow us to hide all the rest of the regular UI elements unless you typed the magic keyboard combination to un-hide them.

But that was a joke we played on a single friend. We knew that our friend could take a joke, and he wouldn't try to take revenge against us, or anything. No way we would do that on the general public.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#159

Earlier quoted context omitted.

I was an admin for a company that had lots of open plan offices. In one of these offices a specific row of computers kept failing. Although they were cheap (Compaq Evos with NT4), they were pretty damn reliable throughout the rest of the company. Lot of head scratching ensued about the fault. Nothing really made sense. Totally by chance we found out what was wrong. One Saturday when the office was empty and with no a…

If you'd kept asking the 5 whys you'd have gotten to the real problem: noisy machines in open offices. You should have thanked the lady who put the paperclips on the fans.

That office was brutally loud. 100 people in a low ceiling office. The a/c was bad, but the plotters the engineering guys used were particularly brutal.

We also had dot matrix printers churning out triplicate documents.

They were lucky, us in IT were technically working illegally due to the noise in our part of the building. So many fans in so many server racks. Plus super cold a/c.

Re: “My wife has complained that OpenOffice will never print on Tuesdays” (2009)

#160
If you think the heuristics in "file" are sometimes a bit scary, take a look at how PC hardware used to work back before the PCI bus become dominant. The heuristics there ended up bricking two expensive motherboards for me.

The older ISA bus, which was quite common until at least the end of the '90s, did not have any way standard way for software to identify cards, nor any way for software to specifically talk to the card in a specific slot.

PCI cards have a required Vendor ID assigned by the PCI-SIG, and a Device ID assigned by the vendor, and the PCI bus has a way to address by slot. A driver that supports a particular kind of card can scan the bus by slot, checking Vendor ID and Device ID to find cards it works with.

With ISA cards, all that driver would know is that the card it is looking for has, say, 4 registers that appear at consecutive I/O addresses, and that there are jumpers on the card that can set the base I/O address to 0x200, 0x240, 0x280, or 0x2CO.

The safe way to use a card was to install it in the PC, noting the jumper settings, and then install the driver and tell the driver what jumper settings you used. To know what jumper settings to use, you had to know what other cards were in the system and what I/O addresses they used so you could pick settings that didn't conflict with an existing card.

No one wanted to make someone installing a new operating system on a working system open up the thing, find all the settings on all the cards, and report that to the OS. They wanted to just automatically work with cards that had drivers built-in to the OS.

So what the OS installer would do is go through each built-in card it supported, and use heuristics to figure out if it is installed. For example, take that card I mentioned earlier that can be at 0x200, 0x240, 0x280, or 0x2C0. The OS might now that after reset that card should have 0x1F in register 0, 0x00 in register 1, and random values in registers 2 and 3. So if it doesn't see 0x1F at 0x200, 0x240, 0x280, or 0x2C0, it knows that the card is not present.

But suppose there is 0x1F at 0x200 and 0x00 at 0x201. Then the card might be there. So now the driver would have to write to some of the registers, and see if the card responds the right way. Mostly it would do this be setting various modes, and then reading those mode settings, and see if they are right. If the card is not the right one, hopefully some of those commands don't make any sense to it, and so its responses are different.

Think about this for a moment. Suppose the OS is looking for a network controller, and the card at that address is actually a disk controller that happens to have the same read values in its registers after a reset, so the probe for the network card has to go on to the writing part of the test.

It's then writing network controller commands to a disk controller. If the command for "set status" on the network controller happens to be the same as the command for "write to disk" on the disk controller--you may have just trashed your disk. Oops.

And so the OS vendors had to very carefully construct their device probes. If writing commands for card X to different kind of card Y could trash things on Y, they needed to make sure that they had probed for Y first, and so if any Y were present skip them when probing for X.

Note that this doesn't necessarily work if you have any cards that the OS does not know about. If you card is going to need a third party driver installed after the OS is installed, it was best to take that card out during OS installation if having random junk written to it could cause harm.

One day at work, we bought two very expensive top of the line motherboards. The box said that they required Windows 98 or later. I tried to install Windows 95 on one of them. The install went fine until it got to one of the places where it reboots, and the reboot failed utterly. It did not even show the BIOS messages. The system appeared to be thoroughly bricked.

Figuring one of the motherboards was defective, I tried the other one. Same damn thing. Bricked during Windows 95 install!

We eventually found out what happened. The Windows 95 searching for devices on the ISA bus ended up writing to some registers that on this machine controller the BIOS flashing. It had erased the BIOS. Windows 98 and later knew about the flash controller in the chipset used in this motherboard, and avoiding trashing your BIOS. (Not sure why the motherboards either didn't have a jumper to disable BIOS flashing, or shipped with that jumper set to enabled).

Post reply on HN