got jmagick compiling, finally - the makefile was trying to remove base path from current working directory to give relative path but was failing as the directory was a softlink and the two different bits of code were returning different names for the same place. solution was to move everything under /tmp and compile it there, install the target files and just not worry about the src files.
(jmagick is 3 times faster than the current method of doing the same thing (resizing images dynamically). target is 100 a second in a clustered environment of hefty servers. i am currently getting 50 in .53 seconds on my laptop using only one core...)
― koogs, Friday, 9 April 2010 23:05 (twelve years ago) link
if lte IE 6 do thisif !IE 6 do this instead
how does "if not IE 6" not apply to IE 8? very retarded imo.
― bnw, Friday, April 9, 2010 12:48 PM
iirc there is no "!IE" conditional statement, so use "if gt IE 6"
― am0n, Thursday, 6 May 2010 20:09 (twelve years ago) link
if ur talking css
if IE gt fo
― hell and the handbaskets (electricsound), Thursday, 6 May 2010 22:42 (twelve years ago) link
one works, the other fails silently. bloody annotations. bloody frameworks.
― koogs, Tuesday, 18 May 2010 14:50 (twelve years ago) link
fixed a bug in an xsl transform, using a workaround i found in a list post from 2003, that even then was described as only being necessary for old xsl transformation engines.
― sent from my neural lace (ledge), Thursday, 10 June 2010 16:18 (twelve years ago) link
a daily wtf:
convert string to byte array, pass byte array to save methodin save method, convert byte array back to string, write string to file from 0 to bytearray.length
maybe useful if the save method takes a length in bytes. however it takes a length in characters. these are not necessarily the same. hello indexoutofbounds exception, at least a week of hair-pulling over assuming it was a problem with dodgy non utf-8 characters.
― sent from my neural lace (ledge), Wednesday, 16 June 2010 09:51 (twelve years ago) link
was going to post some Excel VBA mysteries/irritations but really Excel VBA is one big bug in itself
nevertheless, it is the only thing I can do that nobody else in the office has ever wanted to dirty their brain by looking into
(most annoying this week: using Application.Workbooks.OpenText to open a text file, specifying all the parameters, except if the file extension is .csv Excel overrides them without telling you. So I'm going to have to write some documentation that says "look, I know the file is a .csv file, but please call it .txt or anything except .csv or it will load wrongly in a way that you may not notice until it's too late")
― atoms breaking heart (a passing spacecadet), Wednesday, 16 June 2010 10:12 (twelve years ago) link
how long will it take to learn that the problem may be in the data and not the programming... 2 hours of trying to locate an extra space in a string..............urgh
― bnw, Tuesday, 22 June 2010 21:19 (twelve years ago) link
strange things on the interweb:
SELECT ThePerfectWomanFROM AllTheWomenInTheWorldWHERE HerInterests Like MineAND CurrentMate Is NullAND CurrentlyLives IN ('Yonkers', 'Bondi Beach', 'São Paulo')GROUP BY CASE WHEN AsManyAsWillHaveMe>AsManyAsMyStaminaWillAllowTHEN AsManyAsWillHaveMe ELSE AsManyAsMyStaminaWillAllow * 2 ENDHAVING Max(Libido)>=Mine
― bnw, Thursday, 24 June 2010 20:29 (twelve years ago) link
― original bgm, Thursday, 24 June 2010 20:58 (twelve years ago) link