Tuesday, 10 February 2009

Manga: Bleach 19 with colored pages!

I've had a pleasant surprise yesterday: The people at Panini have included some colored pages in Bleach 19. AFAIK1, this was the first manga released on Brazil with colored pages. thumbs up ^_^

BTW2, It's interesting how Panini has been releasing good mangas lately... To think not so long ago JBC was the best manga publisher around there... They have lost themselves somewhere, I hope they can recover.

Edit: As nee-chan pointed out, indeed Chobbits had colored pages before Bleach


1: AFAIK = As Far As I Know
2: BTW = By The Way

Thursday, 6 November 2008

Stuff to keep in mind (part 1?)

Internet Argument It's easier to be an asshole to words than to people Courtesy of xkcd (#438)

Monday, 8 September 2008

HP Laserjet P3005d

We have acquired a new HP Laserjet P3005d printer at work some months ago, to replace an aging HP laserjet 2300dn which was consistently jamming on duplex jobs. The new printer just doesn't feel as good as the older one though... Anyway, there are some notes about problems I've found with it for reference.

CUPS, driver and advanced options/booklet printing

The printer was conected by USB to a Debian GNU/Linux server. With the 2300, running the setup allowed one to choose "client setup", tell the URI of the printer and have it just work out of the box with all the resources enabled. Unfortunately, this option isn't available in the 3005 driver (maybe HP people want to sell more network modules for the printers?).

To work around this issue while getting advanced options, such as booklet, working, one needs to install the printer as if it was connected on the computer, and create a new "local port" with the printer samba URI as "name" when asked about the printer port. (If such advanced options aren't needed, following the steps on the samba howto to install the printer driver on the server works well).

Strange printing anomalies after changing the toner

After replacing the toner with a new one, there was some horizontal bars and strange bubble-like stains on the printings. Took some time to figure out that the basic mandate of the computing would solve this one: just turn the printer off, give it some small time and turn it back on.

Sunday, 17 August 2008

How to NOT make a web form

The 2009 trainee's program of the multinational Unilever are open. As I've graduated recently, and heard some people say very good things about employment there, I've decided to apply myself.

With that in mind, I've followed the links on the Unilever page to the register myself. This brought me to an interesting web-based form, apparently designed by Cia de Talentos, an recruitment agency around there: Instead of using standard html selection boxes (ie, select elements), they just got creative and decided to reinvent the well using input elements and some "nice" down arrow images, on which you can click to get a "lovely" popup on which you can select you choice, which then gets dutifully copyed back to the input. Of course, they also set the choice's code on an hidden input element, presumably to easy their parsing later... Oh, and some of them even have the proper code, using select element, commented above them (for easing of legibility, I suppose...)

Now that I've let everyone anxious to see such beautiful art of the web programming, I'll let you see a snippets of the code:

<input type="text" name="Text_CodPais_cand" size="30" value="" onFocus="SetSav('SavRegioes'); SetSav('SavCand'); mudaFoco('Nome_cand',-1)" style="color: #0000FF; background-color: #EEEEEE; font-size: 8pt; font-family: verdana; width: 260px"> <img src="img/SetaCombo.gif" align="absmiddle" onClick="SetSav('SavRegioes');SetSav('SavCand');setCmb('un país', 'CodPais_cand',-1,280,260,0,'Nome_cand',-1)"> <input type="hidden" type="text" name="CodPais_cand" value="31">

I haven't really parsed all of their javascript (it's long, messy...), but it seems to make some "clever" stuff like create the full html of the popup using document.write.

They also seem unable to keep track of your language around the multipage form, so I also had to guess some Spanish stuff to be able to fill it fully (and got wondering in what language I should fill some fields also... settled on keeping everything in Portuguese.

To make this long history short, the main lessons I would take from this on the top of my head:

  • Never ever make a fake select by using input and img. If you think it's the solution to your problem You're doing it wrong. Trust me, You'll look foolish, and some moron (or not) with so much time (or not) will make sure to tell the whole, lazy web on his blog.
  • Keep the language of your web pages consistent.
  • Be careful if you're going to outsource something. Some times people might notice it wasn't you which has done the foolish thing, some times not. Independently, they might chose to do business with you, or might think you aren't worth it if you can't even get a simple webpage done right. Either way it will damage your image if someone does something so messed up in your name.

Just for the record, in this case in particular I've chosen to register myself anyway; as I've got some really good references about Unilever. But I'm worried if this is the competence to be expected from their IT sector (which is also the sector I would work) - even if this wasn't their doing, there should be someone watching the quality of their outsourced work...