code logs -> 2008 -> Thu, 27 Mar 2008< code.20080326.log - code.20080328.log >
--- Log opened Thu Mar 27 00:00:26 2008
00:09
<@Shou|x_X>
I might not e up to it today :/
00:09
<@C_tiger>
Alcohol + code
00:09
<@C_tiger>
YAY!
00:09
<@Shou|x_X>
Add a monkey or two and youv'e got Windows ME :D
00:11
<@C_tiger>
No, because you need someone to take your money as well.
00:13
<@ToxicFrog>
Alchohol alone can't explain ME~
00:13 * ToxicFrog hands Shou a kitten and a copy of Audiosurf
00:13
<@Vornicus>
TF: no, of course not.
00:14
<@C_tiger>
That's why Shou said monkeys
00:14
<@Vornicus>
You have twenty years of the finest MS engineering, first, and then you add alcohol.
00:14 * McMartin remains convinced that ME was MS's Take That to the world that refused to leave the horribly broken Win98 paradigm.
00:14
<@Shou|x_X>
MS has fine engineering? >_>
00:15
<@McMartin>
"We really want to work on something else. Oh, you INSIST we keep on this stuff and won't buy anything else? Here, get it good and hard"
00:15
<@ToxicFrog>
...except that at the time they released ME, there wasn't anything else to buy for the home market, other than stuff that wasn't MS, and I don't think that was their intention.
00:16
<@ToxicFrog>
XP wasn't out yet, NT and 2k were targeted for the corporate market and had corresponding price points.
00:16
<@Shou|x_X>
Ahh
00:17
<@McMartin>
Hm. FOr some reason I thought ME postdated 2k
00:17
<@McMartin>
And people should have been using 2k anyway.
00:17
<@McMartin>
It remains the best OS they've made.
00:18
<@ToxicFrog>
It does postdate 2k, by half a year
00:19
<@ToxicFrog>
However, 2k was (at least up to that point) heavily targeted at the server and corporate workstation market
00:19
<@ToxicFrog>
J Random User got 98, 98 SE, or ME
00:19
<@McMartin>
And of those, should have been using 98 SE.
00:19
<@ToxicFrog>
Because that's what was (1) preinstalled, (2) on shelves at the store and (3) affordable
00:20
<@ToxicFrog>
I also note that there was a significant period where 2k was wholly unsuitable for gaming.
00:21
<@ToxicFrog>
The compatibility stuff wasn't really working yet, the DOS emulator was (and is) broken and VDMSound didn't exist yet, and games were still targeting 9x first and NT second if at all.
00:22
<@McMartin>
Once I took OS classes I'm no longer convinced 9x backcompat is a feature, but~
00:22
<@ToxicFrog>
Heh
00:22
<@McMartin>
The best part is how the top half of memory is shared across *all applications* and *includes vital kernel data structures*
00:22
<@Shou|x_X>
I grew up with Macs, so I have this pseudohate for MS
00:22
<@McMartin>
POKE of doom: Not Just For 8-bit Machines anymore.
00:23
<@ToxicFrog>
Personally, I rather like the ability to run, say, Total Annihilation without needing a VM or a seperate computer.
00:23
<@Shou|x_X>
XD
00:23
<@ToxicFrog>
And the NT backcompat with 9x does, at least, do away with that.
00:23
<@ToxicFrog>
(the shared memory kernel madness, that is)
00:23
<@McMartin>
That said, Windows 98 did get to point and laugh at Macintoshes of the time, since it had actual timesharing.
00:24
<@Shou|x_X>
I suppose *eye roll*
00:24
<@Shou|x_X>
But at that time I was like eight
00:25
<@ToxicFrog>
Actual timesharing and a UI that wasn't utter bollocks~
00:25
<@Shou|x_X>
:P
00:25
<@McMartin>
Yeah, see, I was in University.
00:25
<@McMartin>
TF: Unless you count the lack of timesharing (so you can't open a menu while a sound is playing, say) as a total UI failure, they did all right.
00:26
<@McMartin>
Terminals were available as part of the developer tools, and defining "sane" as "POSIX-Compliant" is silly for reasons I don't need to go into.
00:26
<@McMartin>
And "You never have to go to Terminal" is a goal too many environments still haven't met.
00:26
<@ToxicFrog>
Well, I'm speaking from the point of view of OS 6/7, with no dev tools (and thus no terminal)
00:27
<@McMartin>
Which didn't ship with dev tools.
00:27
<@McMartin>
It certainly had dev tools, since it had applications. =P
00:27
<@McMartin>
And again, you couldn't do much with the terminal.
00:27
<@ToxicFrog>
But both "you know what the world needs? Fewer mouse buttons, and more modifier keys on the keyboard" and especially "let's have one menu bar shared between every application" can die.
00:27
<@Shou|x_X>
What have I done O_O;
00:27
<@ToxicFrog>
The former I actually am merely mildly irritated by but the latter is massive, crushing fail
00:27
<@ToxicFrog>
Especially since it means you can't use FFM, even if MacOS supported it, which it didn't
00:28
<@McMartin>
FFM is epic failure in its own right.
00:28
<@Shou|x_X>
Eheh
00:28
<@ToxicFrog>
...it what?
00:28
<@ToxicFrog>
Why?
00:28
<@ToxicFrog>
Personally, I like the ability to focus a window without raising it.
00:28
<@McMartin>
Two reasons.
00:29
<@Vornicus>
what is FFM?
00:29
<@McMartin>
(a) Let's accidentally type our password into an IRC window without noticing because we bumped the touchpad
00:29
<@ToxicFrog>
I also like the ability to focus a window without having to find a place in it that won't respond in undesired ways to mouse clicks.
00:29
<@ToxicFrog>
Vornicus: Focus Follows Mouse
00:29
<@McMartin>
(b) Let's always have the fricking mouse cursor in the way of whatever we're editing.
00:29
<@ToxicFrog>
(I actually use Lazy Focus Follows Mouse, which is the same except moving the mouse out of a window doesn't defocus the window unless it gave focus to something else)
00:30
<@McMartin>
(My screen is generally tiled with terminals)
00:30
<@ToxicFrog>
(b) is only an issue if your FFM implementation is widget-level rather than app-level
00:30
<@ToxicFrog>
Or if you have an app where the entire window is "what you're editing"
00:30
<@McMartin>
Generally speaking the widget I care about consumes the entire app.
00:30
<@McMartin>
Emacs, gnome-terminal, OO.
00:30
<@McMartin>
Browser
00:30
<@ToxicFrog>
I generally tuck the mouse over the scrollbar in those cases.
00:31
<@Shou|x_X>
emacs isn't as bad as I was led to believe, by the way
00:31
<@McMartin>
So that it can give focus to the next window over when I bump the mouse.
00:31
<@Shou|x_X>
At least, the OSX implementation of it isn't
00:31
<@McMartin>
After three password panics I gave up on FFM forever.
00:31
<@Vornicus>
Personally a click that both /gives focus/ and /sends a command/ is batshit anyway.
00:31
<@ToxicFrog>
McMartin: well, there's also the fact that I don't generally tile windows, I stack them
00:31
<@ToxicFrog>
Vornicus: that's how windows and, IIRC, most linux desktop environments do it
00:31
<@McMartin>
Oh, right, that's the third problem with FFM.
00:31
<@McMartin>
(c) Alt-Tab is no longer a sensible input command.
00:32
<@ToxicFrog>
Yes it is!
00:32
<@McMartin>
Not if you're actually using the desktop, which I do!
00:32
<@Vornicus>
it's not how Mac does it
00:32
<@ToxicFrog>
How do you figure?
00:32
<@McMartin>
OK, I've got four terminals tiled.
00:32
<@McMartin>
The mouse is pointing at window 1.
00:32
<@McMartin>
I hit alt-tab
00:32
<@McMartin>
This doesn't move the mouse.
00:33
<@McMartin>
So focus shouldn't have changed, despite that's what Alt-Tab *does*.
00:33
<@ToxicFrog>
Well, on windows, alt-tab is also "teleport the mouse to the focused window"
00:33
<@McMartin>
Yeah, GNOME and CDE didn't/don't do that.
00:33
<@ToxicFrog>
Aah
00:33
<@McMartin>
So you'd get focus on the other app until the mouse moved a single pixel, then it would snap back
00:34
<@McMartin>
Also, given the horrific lack of precision of touchpads, Single Menu Bar is acceptable on laptops.
00:34
<@ToxicFrog>
Hmm
00:34
<@ToxicFrog>
In my tests here on GNOME, it doesn't move the mouse, but it doesn't check focus until it crosses a window boundary either
00:34
<@ToxicFrog>
So it's not good, but it's not terrible either
00:35 * Vornicus prefers the menu bar be at the very, very top.
00:35
<@ToxicFrog>
(and I have no problem with touchpads, although I could see that as a reasonable argument - I'm mostly speaking for desktops here)
00:36 * Vornicus does not see why the title bar has to make it (granted, slightly) harder to use the menus.
00:37
<@McMartin>
On the evangelist side, their model of excellence (viz. "Whatever the Mac Does") doesn't match their own claims.
00:37
<@McMartin>
The "most important stuff goes in the corner".
00:37
<@McMartin>
The corner gets the logout and software update buttons. =P
00:37
<@C_tiger>
Does it?
00:37
<@ToxicFrog>
C_tiger: in principle
00:38
<@McMartin>
The idea is that stuff at the top of the screen is a button of semi-infinite height in one dimension
00:38
<@McMartin>
And in the corners, in two
00:38
<@C_tiger>
Ah.
00:38
<@C_tiger>
so easy to click.
00:38
<@ToxicFrog>
"infinite but bounded"
00:38
<@McMartin>
This is why it's easier to use menus than buttons when dealing with a goddamn alien touchpad.
00:38 * McMartin likes trackpoints but not the software which comes with all track-point-enabled laptops.
00:38
<@ToxicFrog>
What software is that?
00:38
<@C_tiger>
There's software?
00:39
<@Vornicus>
Eh. Mac fails that, at least on Tiger, for the bottom left and bottom right corners - the Dock doesn't quite extend that far...
00:39
<@Vornicus>
On the other hand, the top left and top right are the Apple menu and Spotlight, respectively.
00:39
<@C_tiger>
keyboard navigation luv
00:39
<@McMartin>
The Apple Menu is not really "the most important thing"
00:39
<@McMartin>
At all
00:39
<@McMartin>
Remotely
00:40
<@Vornicus>
Yeah. Mac's keyboard nav kinda blows.
00:40
<@McMartin>
It's "logout" and "check for updates"
00:40
<@Vornicus>
well, the Apple Menu has Recent items in it.
00:41
<@ToxicFrog>
Woo. One moment while I wrap my head in duct tape to restrain my excitement.
00:41
<@Shou|x_X>
XD
00:41
<@McMartin>
Everyone Else puts Finder->Go->Applications in a corner.
00:41
<@McMartin>
Which is a much better choice.
00:42
<@ToxicFrog>
...winxp has an interesting approach
00:42
<@McMartin>
Oh, right
00:42
<@ToxicFrog>
The start button doesn't actually extend into the corner visually
00:42
<@ToxicFrog>
Nor, I must assume, logically
00:42
<@Vornicus>
Applications are generally on the Dock, anyway
00:42
<@ToxicFrog>
Because clicking in the corner teleports your mouse onto the start button, then clicks it
00:42
<@McMartin>
Heh
00:42
<@Vornicus>
TF: whee
00:42
<@McMartin>
That's becuase it originally didn't
00:42
<@ToxicFrog>
Why not just make the button a few px larger?
00:42
<@ToxicFrog>
It's not hard!
00:42
<@Vornicus>
TF: the Fisher Price start button /is/
00:42
<@ToxicFrog>
No-one would notice!
00:43
<@McMartin>
Maybe Apple holds a patent on it =P
00:43
<@ToxicFrog>
The Fisher Price theme (which I internally call the Nickelodeon Theme) didn't come with my XP install, so.
00:43
<@McMartin>
My default GNOME setup's corners are Applications, Volume Control, Expose, and Trash.
00:43 Pi-2 [~sysop@76.104.167.ns-11816] has joined #code
00:43
<@ToxicFrog>
Likewise.
00:44
<@ToxicFrog>
Although I generally remove trash so that lower right is the desktop switcher
00:44 * McMartin uses the keyboard for that anyway.
00:44
<@McMartin>
And Leopard actually binds a fair amount of functionality to various keys and keychords.
00:45
<@ToxicFrog>
So do I, but sometimes the laptop is in an awkward location and I can only easily reach the mouse
00:45
<@ToxicFrog>
In which case the desktop switcher is roughly ? times as important as the trash
00:50 Jeff [~wanderso@Nightstar-13864.dsl.static.sonic.net] has quit [Quit: Leaving]
01:48 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?]
02:01 Mango [~Mango@24.86.9.ns-26788] has joined #code
02:03
< Mango>
If I have two forms on a page, can I have an element in each with the same name?
02:03
< Mango>
actually
02:03 * Mango gets a bright idea and decides to do it and run it through the validator
02:07
< Mango>
multiple names is within XHTML spec
02:07
< Mango>
multiple IDs of course is not
02:09
< Mango>
interestingly,
02:09
< Mango>
if I remove a name, leaving only the ID
02:09
< Mango>
it still validates
02:09
< Mango>
but upon submission,
02:09
< Mango>
both IE and Firefox ignore that element completely
02:09
<@McMartin>
Heh
02:09
<@McMartin>
Nobody ever accused any browser of being fully standards-compliant
02:09
<@McMartin>
Oh, also, which XHTML? 1.0 or 1.1?
02:10
< Mango>
1.1
02:10 * Mango tests with 1.0
02:11
< Mango>
also validates
02:11
<@McMartin>
k, just checking
02:52 Pi-2 is now known as Pi
02:57 Mango [~Mango@24.86.9.ns-26788] has left #code []
04:43 GeekSoldier|bed is now known as GeekSoldier|work
04:48 jeffl [~jeffl@Nightstar-3988.hsd1.ca.comcast.net] has joined #code
04:52
< jeffl>
[root@localhost Desktop]# ./yohoho-install.bin
04:52
< jeffl>
bash: ./yohoho-install.bin: Permission denied
04:52
< jeffl>
...um
04:52
< jeffl>
what
05:00
<@Shou|x_X>
What would happen if it had a password? >_>
05:01
< jeffl>
No, that's what the # signifies
05:01
< jeffl>
I did this *as root*
05:01
< jeffl>
Any help from anyone?
05:01
<@Shou|x_X>
But what if the file was encrypted by someone else iwith a password? >_>
05:01
<@Vornicus>
chmod +x yohoho-install.bin
05:01
<@Shou|x_X>
Unless you made it yourself
05:01 * Vornicus actually doesn't know.
05:11
< jeffl>
How can I find where my Java VM is?
05:12
<@Vornicus>
jeffl: which java
05:12
<@Vornicus>
if it's not in your path, it gets a little hairier
05:13
< jeffl>
It's in my path. I just can't CD to it.
05:13
<@Vornicus>
which java will tell you where to find java
05:13
< jeffl>
Any way I can tell what version it is?
05:14
< jeffl>
[jeffl@localhost ~]$ which java
05:14
< jeffl>
/usr/bin/java
05:14
< jeffl>
[jeffl@localhost ~]$ cd /usr/bin/java
05:14
< jeffl>
bash: cd: /usr/bin/java: Not a directory
05:15
<@Vornicus>
cd /usr/bin
05:16
<@Vornicus>
java --version will probably tell you
05:16
< jeffl>
That works fine. CD java from there does not.
05:17
<@Vornicus>
Of course not
05:17
<@Vornicus>
It's a /program/, not a folder
05:21
<@ToxicFrog>
Concerning the permission denied thing earlier: root bypasses permissions checks for a lot of things, but not execution. Even as root you must explicitly make something +x before you can run it.
05:22
<@ToxicFrog>
However, since you are root, actually doing that is trivial.
05:24 AnnoDomini [AnnoDomini@83.21.31.ns-3621] has joined #Code
05:24 mode/#code [+o AnnoDomini] by ChanServ
05:35
<@ToxicFrog>
Woot. All the help code is working
05:36
<@ToxicFrog>
Now I just need to generate the actual text of the manual, rules, and spellbook
05:36
<@ToxicFrog>
But that can wait until tomorrow
05:36
<@ToxicFrog>
Also, McMartin: turns out you can insert images into a GtkTextBuffer, I was just looking in the wrong place
05:43
<@McMartin>
Excellent
05:45
<@ToxicFrog>
This is now largely irrelevant because I've replaced the part that needed them with expanders, but it may be handy when I'm putting together the manual to illustrate UI elements or the like
06:14
<@McMartin>
4! 4 kills in Cruel Brawl!
06:40
<@Shou|x_X>
Oh?
06:40
<@Shou|x_X>
I daresay you're better than me ;-;
06:41
<@Shou|x_X>
I feel much better than I did, so first thing in the afternoon tomorrow, I'll get back to The Learning
06:44
<@Vornicus>
I won't be here until the evening tomorrow, so I leave instructions, for you to copy: 1. imports; 2. documentation (That Which Separates The Men From The Boys); 3. basic dictionary operation.
06:44
<@Shou|x_X>
I'll try to get around to it, then :)
06:46 * Vornicus isn't very good at writing documentation. But he tries.
06:50
<@C_tiger>
documentation is for wimps.
06:50
<@Shou|x_X>
Oh?
06:51
<@Vornicus>
Documentation is for people who aren't crazy
06:52
<@Shou|x_X>
>_{>
06:53
<@C_tiger>
I was kidding, please don't take that comment seriously.
06:54
<@Shou|x_X>
ell, I was looking forward to your argument on why it was for wimps, but...
06:55
<@Vornicus>
Documentation is for when you go back two weeks or two months or two years later and go "what the crap is this supposed to do anyway?"
06:56
<@Vornicus>
It is also for other people, but that's hardly consequential.
06:57
<@Shou|x_X>
Hehe
06:57
<@Shou|x_X>
They already got #!/usr/bin/env python
06:58
<@Shou|x_X>
They don't need anything else >_>
07:00
< jeffl>
And Python is rather infamously high-level
07:00
<@Shou|x_X>
Regardless, I can see the benefits of documentation
07:01
<@Shou|x_X>
Because I HAVE done a few things, come back to them and asked myself what the hell they were, or were supposed to be.
07:15 jeffl [~jeffl@Nightstar-3988.hsd1.ca.comcast.net] has quit [Client exited]
08:02 Vornicus is now known as Vornicus-Latens
08:21
<@jerith>
http://developer.amazonwebservices.com/connect/ann.jspa?annID=295 <-- w00t
08:21
<@jerith>
(My work here is done.)
09:09 AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has quit [Ping Timeout]
09:10 AFKSkull [~none@Nightstar-7066.dyn.optonline.net] has joined #code
11:59 C_tiger [~c_wyz@96.232.24.ns-12235] has quit [Ping Timeout]
12:06 C_tiger [~c_wyz@96.232.21.ns-4051] has joined #code
12:06 mode/#code [+o C_tiger] by ChanServ
12:20 AnnoDomini [AnnoDomini@83.21.31.ns-3621] has quit [Ping Timeout]
12:27 AnnoDomini [AnnoDomini@83.21.2.ns-27073] has joined #Code
12:28 mode/#code [+o AnnoDomini] by ChanServ
12:29 gnolam [lenin@85.8.5.ns-20483] has joined #Code
12:29 mode/#code [+o gnolam] by ChanServ
16:41 * ToxicFrog flails at GtkExpanders
16:44 GeekSoldier|work is now known as GeekSoldier
16:48
<@ToxicFrog>
Die, dieeeeeeeeeeeeeeee
16:49 * GeekSoldier hands TF a degaussing magnet.
16:50 * AnnoDomini hands ToxicFrog a toxic frog.
16:55 Vornicus-Latens is now known as Vornicus
17:17 GeekSoldier [~Rob@91.18.100.ns-11758] has quit [Ping Timeout]
17:18 AnnoDomini [AnnoDomini@83.21.2.ns-27073] has quit [Ping Timeout]
17:20 GeekSoldier [~Rob@91.18.87.ns-27005] has joined #code
17:20 mode/#code [+o GeekSoldier] by ChanServ
17:34 AnnoDomini [AnnoDomini@83.21.2.ns-27073] has joined #Code
17:34 mode/#code [+o AnnoDomini] by ChanServ
17:44 Serah [~Z@87.72.35.ns-26506] has quit [No route to host]
18:00 Serah [~Z@87.72.35.ns-26506] has joined #Code
18:00 mode/#code [+o Serah] by ChanServ
18:37 Attilla [~The.Attil@194.72.70.ns-11849] has quit [Ping Timeout]
18:37 Attilla [~The.Attil@194.72.70.ns-11849] has joined #code
18:37 mode/#code [+o Attilla] by ChanServ
19:30 Chalain [~chalain@Admin.Nightstar.Net] has quit [Killed (NickServ (GHOST command used by Chalain_))]
20:09 GeekSoldier is now known as GeekSoldier|bed
20:41 Chalain [~chalain@ServicesAdmin.Nightstar.Net] has joined #code
20:41 mode/#code [+o Chalain] by ChanServ
20:42 Zemyla [a835ab84@Nightstar-9250.mibbit.com] has joined #code
20:42
< Zemyla>
Hey everyone.
20:42
< Zemyla>
Quick Java question. Can static methods be abstract?
20:43
<@Chalain>
Zemyla: I believe so.
20:43
<@Chalain>
Check with your local compiler to be sure.
20:43
<@Chalain>
I know you can define static methods in an interface, and then implement them in a class, so I suspect that would be the same thing.
20:44
< Zemyla>
Okay.
20:45
<@Chalain>
Hmm
20:46
<@Chalain>
I appear to be wrong, according to my javac.
20:46
<@Chalain>
test.java:2: illegal combination of modifiers: abstract and static
20:46
<@Chalain>
public static abstract int foo();
20:48
<@Chalain>
the interface thing works, though.
20:48
<@Chalain>
this code compiles: http://pastie.caboo.se/171676
20:49
<@Chalain>
It doesn't *quite* give you the same thing, though. You don't have the ability to create a static method in the parent class that the chilluns are required to override.
20:50
<@Chalain>
...I think. It's been over a year since I touched Java. :-)
20:53
<@Chalain>
Ah. You CAN get it.
20:53
<@Chalain>
Declare Test to be abstract, have it implemeent ITest, and now it does not implement the static method, but its children must.
20:54
<@Chalain>
And if my network had more than 5bits per month of upload bandwidth, I'd pastie that to show you, but it's pretty straightforward.
20:55
<@Chalain>
There. This code also compiles. Whether or not it does what you want is up to you. :-) http://pastie.caboo.se/171679
21:55 AnnoDomini [AnnoDomini@83.21.2.ns-27073] has quit [Quit: There is strength not only in *knowing* the self, but *knowing* how to bring it forth in others.]
22:18 Zemyla [a835ab84@Nightstar-9250.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
22:48 * Vornicus returns
23:09 C_tiger [~c_wyz@96.232.21.ns-4051] has quit [Ping Timeout]
23:24 Vornicus [~vorn@ServicesOp.Nightstar.Net] has quit [Ping Timeout]
23:24 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
23:33
<@Shou|x_X>
:O
23:33 Shou|x_X is now known as Shou
23:34
< Vornotron>
:O?
23:35
<@Shou>
Yes. It is about time for The Learning
23:35
<@Shou>
Right after I make dinner :D
23:36
< Vornotron>
The Learning!
23:36
< Vornotron>
also The Dinnering!
--- Log closed Fri Mar 28 00:00:36 2008
code logs -> 2008 -> Thu, 27 Mar 2008< code.20080326.log - code.20080328.log >