code logs -> 2011 -> Mon, 23 May 2011< code.20110522.log - code.20110524.log >
--- Log opened Mon May 23 00:00:32 2011
00:01 kwsn is now known as kwsn\fooding
00:02
< celticminstrel>
XD
00:03
< ToxicFrog>
kwsn\fooding: every Blizzard RTS game, you mean~
00:07 Serah [Z@2C3C9C.B2A300.F245DE.859909] has joined #code
00:08 Stalker [Z@2C3C9C.B2A300.F245DE.859909] has quit [Client closed the connection]
00:31 Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has joined #code
00:44 You're now known as TheWatcher[T-2]
00:48 You're now known as TheWatcher[zZzZ]
00:55 kwsn\fooding is now known as kwsn
01:04
< ToxicFrog>
This is irritating.
01:04
< McMartin>
?
01:04
< ToxicFrog>
I want to create a user that can be logged in to over ssh using public key authentication, but not by any means using a password.
01:05
< ToxicFrog>
While leaving password authentication enabled for ssh in general.
01:05
< ToxicFrog>
The internet says "lock the account with passwd -l or by setting the password hash to '!'", but if I do that it won't let it log in even using keypair authentication.
01:08
< McMartin>
Huh, that is the solution I would have personally expected to work. -_-
01:08
< ToxicFrog>
Yeah, ditto.
01:08
< ToxicFrog>
I'm pretty sure I remember it working at some point in the past, even
01:08
< ToxicFrog>
And I ended up setting the user's shell to "none" instead.
01:09
< ToxicFrog>
"nologin", rather.
01:09
< McMartin>
... Is this for a tunneled SSH/SVN connection kind of thing?
01:11
< ToxicFrog>
Kind of. I want Freya to be able to remote-mount my games and media directories, but don't want the account it uses to do so to be generally accessible.
01:11 * McMartin nods
01:11
< ToxicFrog>
The canonical way to do this is create the account, set up keypair authentication, and then make it impossible to log into the account in any other way.
01:11 * McMartin thought a lot of those operations required a shell to work through, though.
01:11
< ToxicFrog>
There are actually specialized shells for this (rssh and scponly are the big ones)
01:12
< ToxicFrog>
Or did you mean the earlier one I mentioned? In that case I actually wanted to completely disable access for that user.
01:12
< McMartin>
aha
01:12
< ToxicFrog>
So I issued passwd -l and then found they could still log in using keypair.
01:13
< ToxicFrog>
Ok, it looks like what I actually wanted was "passwd -d"
01:14 * McMartin ! at the Android docs
01:14
< ToxicFrog>
(-l is "prefix the password hash with !, making it invalid and conventionally indicating that the account is locked"; -d is "delete the password by replacing the password hash with an invalid one")
01:14
< ToxicFrog>
(presumsably at some point sshd was updated to reject logins to locked accounts even in the presence of a valid keypair)
01:14
< McMartin>
They paid attention to the last 10 years of UI design after all.
01:14
< ToxicFrog>
Oh?
01:15
< McMartin>
Android 1.6 added the ability to use its declarative UI spec to set up event handlers within it.
01:15
< McMartin>
Instead of having to define a hojillion classes on your own.
01:16
< McMartin>
It's not clear from simple examination whether it's using Dalvik Reflection to do this, or if it's autogenerating the necessary classes with the relevant boilerplate code.
01:16
< ToxicFrog>
As in, the UI spec contains the code for the event handlers, not just the symbols?
01:17
< McMartin>
Normally, you would subclass android.view.View.OnClickListener and override public void onClick(View).
01:18
< McMartin>
In 1.6 the activity that is using your layout can define buttonZomg(View) or whatever and then the layout has in its XML represeentation <Button android:text="zOMG" android:onClick="buttonZomg" />
01:20
< McMartin>
Of course, in practice, 1.5 is still out there in the field (though quite rare), so it's kind of a dick move to rely on it if you don't have to~
01:20
< McMartin>
Java's got enough support for inline class definitions that it's probably more efficient and more compatible to do it the long way.
01:21 Kindamoody is now known as Kindamoody[zZz]
01:26 * ToxicFrog gets it working oh god this fstab is ugly
01:27
< ToxicFrog>
sshfs#emufun@orias:/usr/share/Games /home/freya/Games fuse ro,follow_symlinks,uid=freya,fsname=sshfs#emufun@orias:/usr/share/Media,user 0 0
01:27
< ToxicFrog>
sshfs#emufun@orias:/usr/share/Media /home/freya/Media fuse ro,follow_symlinks,uid=freya,fsname=sshfs#emufun@orias:/usr/share/Media,user 0 0
01:44 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [[NS] Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]]
01:46
< RichardB_>
McMartin: I thought that even Android 1.6 had only a vanishingly small market share now?
01:47 cpux [chatzilla@510B1D.8D602E.9FE2BE.9FAE21] has joined #code
01:47
< McMartin>
RichardB_: Yeah, going 2.1+ gets you 95% of the devices connecting to Market.
01:48
< McMartin>
Retrocoding habits die hard, though. If I can be backcompat at no cost (or, looking at the mechanics, an actual performance gain), why not?
01:48
< RichardB_>
Can't disagree with you.
01:49
< RichardB_>
I still hope that 2.1 dies out ASAP, though.
01:49
< McMartin>
Heh.
01:49
< McMartin>
Yeah, my "target API level" is going to be staying 2.2
01:49
< RichardB_>
Its HTML5 Canvas2D context implementation is REALLY buggy.
01:49
< McMartin>
Since that's what my device actually *is*.
01:49
< RichardB_>
Where 2.2 is fine.
01:49 * McMartin is still learning how to configure his little graphics demo to actually behave the way he wants on his phone.
01:50 * RichardB_ found that out the "fun" way.
01:50
< McMartin>
Oh, do you have stuff written out in the wild?
01:51
< RichardB_>
I don't know if it's in the wild yet, but I do have stuff written "in anger" (i.e. commercially) targeting 2.1.
01:51
< McMartin>
Heh
01:51
< McMartin>
Fair enough
01:51 * McMartin is still taking suggestions for Good Apps To Have.
01:51
< RichardB_>
Though I was targetting "phone with decent HTML5 support" rather than "Android" specifically.
01:51 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [[NS] Quit: Z?]
01:52
< RichardB_>
I think I know why Apple keep talking up HTML5 at the moment.
01:52
< McMartin>
Oh, it was a webapp intended to be reached from a phone?
01:52
< McMartin>
Heh
01:52
< McMartin>
2.1 is still "only" like 25% of the market though.
01:52
< RichardB_>
It's not so much that Apple have any kind of long-term commitment to HTML5 (I don't think Apple would even know what a long-term commitment was if it bit them on the arse) but their HTML5-on-phones kind of kicks Android's arse.
01:53
< McMartin>
http://developer.android.com/resources/dashboard/platform-versions.html
01:53 * RichardB_ nodnod.
01:54
< RichardB_>
I think it was meant to be used as a component of phone apps. But you can write pretty good apps just by writing a thin wrapper of native (Java or obj-C as appropriate) code around a Webkit instance.
01:54
< RichardB_>
You try to put as much stuff as possible into that Webkit instance, since it's the portable part.
01:55 * McMartin nods. Sensible
01:55
< McMartin>
Not so sensible for a graphics demo like this CCA thing, but~
01:55
< RichardB_>
Oh yeah no.
01:55
< McMartin>
Though I'm still getting 50 FPS out of it despite using the "slow" path.
01:55
< RichardB_>
AIUI, nobody has WebGL on phones yet.
01:56
< RichardB_>
That's neat. :)
01:59 RichardB_ [mycatverbs@Nightstar-f68eb197.cable.virginmedia.com] has quit [Client closed the connection]
02:12 kwsn is now known as kw-storm-n
02:12 Attilla [Some.Dude@Nightstar-febccc15.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:23 * McMartin experiments with the emulators to figure out how to get stuff to index right
02:32 Derakon is now known as Derakon[shower]
02:36 Rikushadow5 [DSD@Nightstar-5a4542a1.res.rr.com] has quit [Operation timed out]
03:05 Derakon[shower] is now known as Derakon
03:15
< McMartin>
Oop. That's a reason to actually use 1.6 instead of 1.5; 1.5 doesn't let you specify targetSdkVersion. That's kind of important. =P
03:30 * ToxicFrog glares at DOSBOX
03:31
< ToxicFrog>
It could really use a way of specifying mount points relative to $HOME or $CONFIG.
03:32 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
03:34
< ToxicFrog>
It also needs a way to specify which joystick to use.
03:34
< ToxicFrog>
I've got four connected to this machine and only one of them (not the one it autodetects) is the right one.
03:40 kw-storm-n is now known as kw\blargh
03:52
< Reiver>
lolwut
03:52
< Reiver>
4 joysticks?
03:57 SK [smith@Nightstar-26c90235.dsl.teksavvy.com] has joined #code
03:57 SK [smith@Nightstar-26c90235.dsl.teksavvy.com] has quit [Connection reset by peer]
04:03 Kindamoody[zZz] [Kindamoody@Nightstar-4764665d.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
04:06
< ToxicFrog>
Reiver: the system in question is an emulation/gaming appliance.
04:06
< ToxicFrog>
And HTPC, with these latest modifications.
04:06
< ToxicFrog>
This means that it presently has two dance pads and two PS2 controllers connected to it, and may have more controllers affixed (for four-player games, or games that require different controls) as time passes.
04:07
< Reiver>
Aha.
04:07
< Reiver>
So, will it run Felt?~
04:08
< ToxicFrog>
Yes, but you'd probably want a wiimote or similar, since Felt is mostly mouse-driven.
04:08
< Reiver>
That'd make sense.
04:08
< ToxicFrog>
And an HDTV.
04:09
< ToxicFrog>
(at present it's mostly used for playing DOS, SNES, Genesis, and PSX games, and watching downloaded TV)
04:09 * Reiver nods
04:09
< Reiver>
That is rather awesome.
04:09
< Reiver>
Incidentally, I realised an interesting Trick that Ergo uses that may be useful to shove on the Pile Of Features: Wildcards in Ergo are resolved by going hunting for the proper card - first discards, then if needed, the main deck.
04:10
< Reiver>
(Which, I suspect, is why there's only one of each - they're nifty cards and you wish there were more, but it's to minimise the gameplay interruptions.)
04:10
< ToxicFrog>
"spread out deck to see everything in it at once" is already implemented.
04:10
< ToxicFrog>
"search deck by name" is not.
04:11
< ToxicFrog>
The former usually suffices, unless it's a really big deck or the cards are hard to distinguish.
04:12
< Reiver>
Aaaah
04:12
< Reiver>
Yeah, that'd work fine - quick manual hunt, followed by a reshuffle.
04:12
< Reiver>
Nice.
04:13
< ToxicFrog>
At this point, basically all of the underlying features needed to play Ergo (or most card games) are implemented.
04:13
< ToxicFrog>
The problem is that the actual server is lying all over my workbench in pieces.
04:13
< ToxicFrog>
And the UI needs some disentangling.
04:14
< Reiver>
And the client/server relationship needs Rubber Hosing.
04:18
< ToxicFrog>
Yeah, that's why the server is all taken to bits.
04:20
< Reiver>
OK, now I have visions of you bugfixing by waving rubber hoses at your hardware.
04:21
< Reiver>
Better yet is the next morning.
04:21
< Reiver>
IT BOOTS UP FINE OR IT GETS THE HOSE AGAIN
04:46 * Kazriko wonders if the hose is why it doesn't boot up fine...
04:51 * McMartin declares himself basically done with https://hkn.eecs.berkeley.edu/~mcmartin/android/CCA.apk .
04:56 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has joined #code
05:06 kw\blargh is now known as kw\t-2
05:06 SmithKurosaki [smith@Nightstar-26c90235.dsl.teksavvy.com] has quit [Operation timed out]
05:16 kw\t-2 [kwsn@Nightstar-5a8951e9.res.rr.com] has quit [[NS] Quit: moo]
05:29 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
06:00 symbol [symbol@Nightstar-58fa4b17.cable.teksavvy.com] has quit [Operation timed out]
06:08 Serah [Z@2C3C9C.B2A300.F245DE.859909] has quit [Ping timeout: 121 seconds]
06:29 celticminstrel [celticminst@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:42 Derakon is now known as Derakon[AFK]
06:47 AnnoDomini [annodomini@D553D1.D82A92.41C052.49EBA5] has joined #code
07:12 You're now known as TheWatcher
07:26 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
07:47 Kindamoody [Kindamoody@35E323.4A5F05.9893B9.A684A3] has joined #code
07:51 AnnoDomini [annodomini@D553D1.D82A92.41C052.49EBA5] has quit [Ping timeout: 121 seconds]
07:51
< McMartin>
Hm. Fedora 15 looks like it's gonna be a flag day.
07:53 AnnoDomini [annodomini@D553D1.9D4909.80CB93.CC5514] has joined #code
07:58
< Vornicus>
a flag day?
07:58
< Vornicus>
...where all the third graders get up and do stupid whole-class songs and projects?
08:01
< TheWatcher>
Sounds like redhat devs, yes~
08:02
< McMartin>
"Everything breaks at once"
08:02
< McMartin>
GTK 3, GNOME 3, a bunch of new subsystems for config...
08:02
<@Namegduf>
GNOME 3?
08:02
<@Namegduf>
Huh.
08:02
< McMartin>
In other news, SpaceChem doesn't run acceptably on Carlsbad. =(
08:02
< McMartin>
(My MBP)
08:03
< TheWatcher>
...
08:03
< TheWatcher>
they're insane
08:06
< TheWatcher>
on that note, commute time
08:07 You're now known as TheWatcher[afk]
10:00 You're now known as TheWatcher
10:25 Vash[Working] is now known as Vash[Sleeping]
10:26 Attilla [Some.Dude@2D9A5E.A969A9.115770.24F3F1] has joined #code
10:58 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
13:38 Kindamoody is now known as Kindamoody|out
13:55 symbol [symbol@2D9871.E3DD81.3BE9E7.8E3843] has joined #code
13:56 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has quit [Connection closed]
14:08
< TheWatcher>
ARGH, WTF, hwo is this even possible?! *headdesks at php*
14:09
< AnnoDomini>
You need more goats.
14:24
< gnolam>
That SCSI.
14:24
< gnolam>
*That's
14:39 You're now known as TheWatcher[afk[
14:39 You're now known as TheWatcher[afk]
--- Log closed Mon May 23 14:45:49 2011
--- Log opened Mon May 23 14:46:01 2011
14:46 TheWatcher[afk] [chris@Nightstar-b4529b0c.zen.co.uk] has joined #code
14:46 Irssi: #code: Total of 25 nicks [1 ops, 0 halfops, 0 voices, 24 normal]
14:46 Irssi: Join to #code was synced in 44 secs
16:07 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
16:09 symbol [symbol@2D9871.E3DD81.3BE9E7.8E3843] has quit [[NS] Quit: Leaving]
17:01 * TheWatcher[afk] eyes 3ps, snerks
17:09 celticminstrel [celticminst@1526F6.37AB0D.97233B.788A64] has joined #code
17:15 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has joined #code
18:14 Kindamoody|out is now known as Kindamoody
19:27 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
19:35 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
19:36 Syloqs_AFH is now known as Syloqs-AFH
20:31 Kindamoody is now known as Kindamoody|out
20:35 celticminstrel is now known as celmin|away
21:48 Kindamoody|out is now known as Kindamoody
21:57 You're now known as TheWatcher
22:24 Vash[Sleeping] is now known as Vash[Working]
22:24 AnnoDomini [annodomini@D553D1.9D4909.80CB93.CC5514] has quit [[NS] Quit: leaving]
22:45 Thaqui [Thaqui@27B34E.D54D49.F53FA1.6A113C] has joined #code
23:47 Stalker [Z@26ECB6.A4B64C.298B52.D80DA0] has quit [[NS] Quit: If the world didn't suck, we'd all fall off.]
--- Log closed Tue May 24 00:00:47 2011
code logs -> 2011 -> Mon, 23 May 2011< code.20110522.log - code.20110524.log >