Where irrelevance meets irreverance...
I was having trouble recently executing SSE intrinsics on Leopard. The problem, simply put, is that OSX lacks a memalign() function. As a result I was getting messages of the form:
Undefined symbols:
"_memalign", referenced from:
_init in ccB0Dp2Z.o
_init in ccB0Dp2Z.o
_init in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
_main in ccB0Dp2Z.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
However, I have found a partial solution. Including the following c source file above all your other headers will allow your program to allocate memory properly. Note however, that memory will NOT be freed correctly (or at all possibly). As such, do not use this except for experimentation.
Credit for the above belongs to Jeff Clites.
Found a great little extension today for Firefox. SystemProxy lets Firefox use the system wide proxy settings set up with OSX's Locations.
In collaboration with Marco Polo, this makes the hassle usually experienced going from College to Home and vice versa disappear.
Truly brilliant!
Just realised I haven't updated this in yonks!
Brief news update: Got a first in my exams. I'm working in IBM for the summer. Got a job in their Mulhuddart campus under the Extreme Blue program. Can't say much about what I'm up to but it is very interesting and I'm having a great time.
Kept getting the error "Server certificate verification error: unable to get local issuer certificate" from OpenSSL.
Bit of googling revealed that I was missing the root CA certificates.
Solution?
fink install ca-roots
c_rehash /sw/etc/ssl/certs
I was puzzling today as to why vim was in black and white outside screen while in colour inside screen.
Posing the question to tcd netsoc's guru, eoinmcl, revealed this tip:
export TERM=xterm-color
Pretty obvious really when you think about it I suppose but it just didn't occur to me!
Of course, this command can be added to your .bashrc so that you don't have to keep typing it.
My name is Paul Magrath.
I am a 21 year old Computer Science student at Trinity College, Dublin.
My email address is paul (at) paulmagrath (dot) com.
This is my blog.