Today I read about IDN homograph attacks. Basically it’s where Unicode characters that look like ASCII characters are put into a link so the link seems to go to a genuine/trusted site. In related news I found a list of confusable characters via stackoverflow. Also found a list of confusable symbols.
Category Archives: Programming
Punycode
Today I learned about Punycode, which is a system for reversibly encoding Unicode in ASCII.
PHP Number Base Conversion
I was doing some research into base conversion and so far have found a function, dec2base, which looks like it might come in handy. There’s an online demo of the function.
New bcmod JavaScript function at jsphp.co
I was working on some code the other evening and found myself needing a version of PHP’s bcmod function in JavaScript. It wasn’t already available at jsphp.co so I implemented it and posted about it to the ProgClub programming list.
Apache URL Rewriting Guide and ErrorDocument Directive
Last night I read the Apache URL Rewriting Guide and learned about the ErrorDocument Directive.
OpenID Authentication 2.0
Been meaning to get around to reading the OpenID Authentication 2.0 specification.
MediaWiki Manual:Interface/Sidebar
Been learning how to work with MediaWiki’s sidebar.
Software versioning
Been reading up on software versioning.
Interviewing at Google
I’m sick and tired of seeing Google’s bullshit “this stuff matters” advertising as part of their latest privacy policy update (which I’ve been doing my best to ignore).
As I was complaining about it I thought I’d try and find some examples of their hypocrisy. I’m fairly sure I’ve seen articles before where people said their job for a Google interview was to process gigabytes of web logs. If you’re data-mining web logs to *spy* on people on the one hand and then telling people you’re protecting their privacy on the other hand then you’re a lying sack of shit really, aren’t you?
Anyway, I didn’t find what I was looking for in a big hurry and I don’t really have time for this, so I’m giving up on my little fact finding mission and just going back to ignoring the whole thing.
However, during my web search I found this article, My Job Interview at Google, which seems like a fairly content rich article. I’m particularly interested in the resources that the guy linked to in his post. So figured I’d swing by my blog and make a note so that when I have some free time (hey, could happen) I can go over that post and read the reference material.
Using gzip, or bzip2, or..?
Wanted to know a little more about the pros and cons of different compression tools and strategies.
Found this article A Quick Benchmark: Gzip vs. Bzip2 vs. LZMA and looking at that gzip is a pretty clear winner I think wrt my concerns (i.e. fast compression over high compression). Also found gzip vs. bzip2 which concluded basically the same.