Via Anne: a very good read. I feel like I kind of knew it all along, way down in my subconscious, but reading it is very good. And I have no idea which I prefer.
Archive for June, 2005
You know what bugs me? When people talk about keeping the source clean and then go and do something like this. (No offense to the author, as it was just the first example I found and because obviously a clean source is important.)
The point is, it’s not about the source, it’s about the DOM. When I point my obscure-yet-relevant-standards-conformant tool at your page—be it lynx (bad example, so make that lynx-made-perfect), a screenreader, or even just my Firefox-with-a-userContent.css-file—it should work. And to do that you need a clean DOM the whole way through: start with a clean DOM (clean source), and then when you do your styling and your scripting, keep it clean.
Actually, perhaps this isn’t part of the Perfect Weblog System, but rather the Perfect Weblog System’s UI. Anyway.
Edit: Via choan in the comments, it exists! Thank you! But shouldn’t you be using UTF-8? ;)
I’m sure I’m not the first to think about this, but with multi-core/cell processors, will graphics cards eventually become obsolete? After all, why not put one normal core and one graphics core in? And then, for the people who need specialist stuff, one raytracing core, one physics core, one whatever else.
And with people finding that some non-graphics things go faster on graphics cards, perhaps this will lead to things not being written for a specific CPU/GPU/whatever, but instead being told somewhere along the line to go wherever they’ll run fastest.
On the other hand, this would make it impossible for people to upgrade just their graphics card… bah, what do I know? I’m just a web geek.
Interesting. So Firefox (1.0) displays
<img src='...'>text</img> when sent as
application/xhtml+xml as just an image, as you would expect. There’s no yellow screen of death, because it’s valid XML, if not valid XHTML. Unfortunately it doesn’t work quite perfectly, because if the image is not available nothing is displayed. It would be interesting to see how Opera and Safari/KHTML render this.
The validator, though, is a different story. It gives these error messages:
Line 1, column 280: required attribute "alt" not specified
Line 1, column 281: end tag for "img" omitted, but OMITTAG NO was specified
Line 1, column 222: start tag was here
Line 1, column 290: end tag for element "img" which is not open
Wouldn’t a simple “This element cannot contain content” suffice for three out of the four?
Grey needs a little help. If you’re planning on buying something off Amazon.com soon, or getting web hosting, or just have a little money to spare, head on over to RebootMyLife.org.
Yay Fitt’s Law!
I don’t know why I didn’t do this before, but I just moved the new terminal window button (easily my most used little launcher thingy) into the very corner of the screen. It’s so much nicer to hit now, even if Gnome is stupid and doesn’t count clicks on the edge 1px (though it does on the bottom 1px). For some reason, I’m even finding the Applications menu (which was in the corner, and I rarely ever use) easier to hit, too (I’ve had to click it a few times to get the screenshot, launch gFTP, etc.).
Not accidentally filed in markup.
The easiest way to get to it is from my homepage, it should be two clicks away.
In a span of about 10 minutes, I’ve just drank 6 cups of water. Not small glasses, but actual cup measurements. That comes out to over 2/3 of a 2-liter bottle. For each cup, I drank it all at once, not stopping for breath. And I would drink more, I think, except my stomach isn’t that big.
I hadn’t realized how thirsty I was—in fact, I hadn’t even realized I was thirsty at all—but it’s quite easy to be deceived by that. Please, if it’s summer where you are, and it’s hot, don’t let yourself get dehydrated. Get something to drink, drink it as you work/play/whatever, and when you finish, get another. You don’t need to be constantly thinking about it, but you’ll be suprised at how much you drink.
This has been a public service announcement from dolphinling.net.
P.S.: Hey, google even says it can improve your skin, reduce your risk of cancer, and help you lose weight. It’s like a miracle drug or something, but free.
It didn’t. In fact, it nearly did, but I kept getting the one same error message over and over again. After a few hours I (think I) figured out the problem, but not how to fix it, and at that point I decided I should actually learn starting from the beginning, and maybe then I’d have a solid enough foundation to figure out my error.
script element in the body, it gets closed immediately. If it starts me off with a “Hello World” using
document.write, I get very skeptical, and close it in a few pages if it doesn’t redeem itself.
So where are the good tutorials, that explain for a beginner the right way to do things?
P.S.: If you’re interested in helping me do this one thing, all it is is that I have a div with an original background-color of black, and I want to make it transparent when it’s hovered over with the mouse—and do it in a way that separates content, style, and behavior. And no, I can’t use
:hover, because I want to do other things to it later.
Looks like Gentoo finally got Gnome 2.10 in the stable branch:
dolphinlingx root # emerge -Dtau world
These are the packages that I would merge, in reverse order:
Calculating world dependencies ...done! [ebuild U ] app-admin/sudo-1.6.7_p5-r4 [1.6.7_p5-r2] [ebuild N ] sys-apps/busybox-1.00-r4 [nomerge ] gnome-base/gnome-2.8.3-r1 [ebuild N ] app-admin/gnome-system-tools-1.2.0-r1 [ebuild U ] x11-terms/gnome-terminal-2.10.0 [2.8.2] [ebuild U ] www-client/epiphany-1.6.0-r3 [1.4.8] [ebuild U ] net-analyzer/gnome-netstatus-2.10.0 [2.8.0] [ebuild U ] app-text/gpdf-2.10.0 [2.8.3] [ebuild U ] gnome-extra/gnome-utils-2.10.0 [2.8.1] [ebuild U ] gnome-extra/bug-buddy-2.10.0 [2.8.0] [ebuild N ] app-text/gnome-doc-utils-0.1.3 [ebuild U ] gnome-extra/evolution-webcal-2.2.0 [2.0.1] [ebuild U ] gnome-extra/gnome-games-2.10.0 [2.8.3] [ebuild U ] gnome-extra/gcalctool-5.5.41 [4.4.22] [ebuild U ] gnome-extra/gnome-media-2.10.0 [2.8.0] [ebuild N ] media-plugins/gst-plugins-cdparanoia-0.8.8 [ebuild U ] gnome-extra/nautilus-cd-burner-2.10.0 [2.8.7] [ebuild U ] net-misc/vino-2.10.0 [2.8.1] [ebuild U ] app-arch/file-roller-2.10.0-r1 [2.8.4] [ebuild U ] gnome-extra/gconf-editor-2.10.0 [2.8.2] [ebuild U ] gnome-extra/zenity-2.10.0 [2.8.2] [ebuild U ] gnome-extra/gnome-system-monitor-2.10.0 [2.8.3] [ebuild U ] gnome-base/gdm-22.214.171.124-r2 [126.96.36.199] [ebuild U ] mail-client/evolution-188.8.131.52 [2.0.4] [ebuild NS ] gnome-extra/libgtkhtml-3.6.1 [ebuild NS ] gnome-extra/gal-2.4.1 [ebuild U ] gnome-base/gnome-session-2.10.0 [2.8.1] [ebuild U ] gnome-base/gnome-applets-2.10.0 [2.8.2] [ebuild N ] app-admin/system-tools-backends-1.2.0 [ebuild U ] gnome-base/libgtop-2.10.0 [2.8.3] [ebuild U ] gnome-base/gnome-panel-2.10.0 [2.8.3] [ebuild U ] gnome-extra/evolution-data-server-1.2.1 [1.0.4] [ebuild U ] x11-libs/libwnck-2.10.0 [2.8.1-r1] [ebuild U ] gnome-base/control-center-2.10.0 [2.8.2] [ebuild U ] x11-libs/libxklavier-2.0 [1.04-r1] [ebuild U ] gnome-base/nautilus-2.10.0 [2.8.2-r1] [ebuild U ] gnome-base/librsvg-2.9.5 [2.8.1-r1] [ebuild U ] x11-wm/metacity-2.10.0 [2.8.13] [nomerge ] media-plugins/gst-plugins-alsa-0.8.8 [ebuild U ] media-libs/gst-plugins-0.8.8-r2 [0.8.8] [ebuild U ] app-editors/gedit-2.10.0 [2.8.3] [ebuild U ] x11-libs/gtksourceview-1.2.0 [1.1.1] [ebuild U ] gnome-base/libgnomeprintui-184.108.40.206 [2.8.2] [ebuild U ] gnome-base/libgnomeprint-2.10.0 [2.8.2] [ebuild U ] net-print/libgnomecups-0.2.0 [0.1.14] [ebuild U ] gnome-base/eel-2.10.0 [2.8.2] [ebuild U ] gnome-base/gnome-desktop-2.10.0 [2.8.3] [nomerge ] app-text/scrollkeeper-0.3.14 [ebuild U ] app-text/docbook-sgml-utils-0.6.14 [0.6.12] [ebuild N ] gnome-base/gnome-menus-2.10.0 [nomerge ] media-sound/digitaldj-0.7.3-r1 [nomerge ] media-sound/grip-3.3.0 [ebuild U ] x11-libs/vte-0.11.12 [0.11.11-r2] [ebuild N ] x11-themes/gnome-themes-2.10.0 [ebuild U ] x11-themes/gtk-engines-2.6.3 [2.2.0] [ebuild U ] x11-themes/gnome-icon-theme-2.10.0 [2.8.0] [nomerge ] x11-misc/xscreensaver-4.20 [nomerge ] gnome-extra/yelp-2.6.5 [ebuild U ] gnome-base/libgnomeui-2.10.0 [2.8.1-r1] [ebuild U ] gnome-base/gnome-keyring-0.4.2 [0.4.1] [nomerge ] gnome-base/libbonoboui-2.8.1 [ebuild U ] gnome-base/libgnomecanvas-2.10.0 [2.8.0] [ebuild U ] gnome-base/libgnome-2.10.0 [2.8.1] [ebuild U ] gnome-base/gnome-vfs-2.10.0-r2 [2.8.4-r1] [ebuild U ] gnome-base/gconf-2.10.0 [2.8.1-r1] [ebuild U ] gnome-base/libglade-2.5.0 [2.4.2] [nomerge ] x11-terms/xterm-200-r1 [nomerge ] sys-apps/utempter-0.5.5.5-r1 [nomerge ] x11-base/xorg-x11-6.8.2-r1 [nomerge ] sys-apps/util-linux-2.12i-r1 [nomerge ] sys-apps/pam-login-3.14 [nomerge ] sys-libs/glibc-220.127.116.1141102-r1 [nomerge ] sys-devel/gcc-18.104.22.16850130-r1 [ebuild U ] sys-devel/gcc-config-1.3.11 [1.3.10-r2]
Do you want me to merge these packages? [Yes/No] yes
(Note to self: started at 20:48, check to see how long it took.)