code logs -> 2012 -> Thu, 13 Sep 2012< code.20120912.log - code.20120914.log >
--- Log opened Thu Sep 13 00:00:46 2012
00:26 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code
00:40 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [[NS] Quit: beroot]
00:47
<&McMartin>
"The F# Tools for Visual Studio Express 2012 for Web allow F# development in ASP.NET and Azure"
00:47
<&McMartin>
OCaml .NET webapps for all
00:48
<&McMartin>
Though I hear F# is a lot less OCaml-y these days
01:14 Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code
01:14 mode/#code [+o Alek] by ChanServ
01:57 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
02:33 Attilla [Obsolete@Nightstar-0badc022.as43234.net] has quit [Ping timeout: 121 seconds]
03:34 Vash[AFK] is now known as Vash
03:45 Kindamoody is now known as Kindamoody[zZz]
04:28 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has joined #code
05:27 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:33 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
05:49 ErikMesoy|sleep is now known as ErikMesoy
06:14
<&Derakon>
Ehhh...
06:15
<&Derakon>
Guy on the Angband forums suggested I start working on unit tests for Pyrel now, while the project's young.
06:15
<&Derakon>
I hate writing tests. >.<
06:27 Derakon is now known as Derakon[AFK]
07:19
< simon_>
hehe
07:19
< simon_>
they take forever.
07:23
<&jerith>
Derakon[AFK]: There's only one thing I hate more than writing tests.
07:24
<&jerith>
And that's working on a codebase that doesn't have tests.
07:46 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:45 Kindamoody[zZz] is now known as Kindamoody
09:02 You're now known as TheWatcher
09:57 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
10:11 Attilla [Obsolete@Nightstar-0badc022.as43234.net] has joined #code
10:36 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
10:46 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
11:19 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
11:28 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
12:52 Kindamoody is now known as Kindamoody|out
15:09 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
15:23 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
15:23 mode/#code [+o himi] by ChanServ
15:34 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has quit [Client exited]
15:56 * TheWatcher headdesks
15:57
<@TheWatcher>
`if($pos)` != `if(defined($pos))` argh
15:58
<@Tamber>
Oops.
16:22
<@TheWatcher>
Signs I should probably stop trying to code today: 'git commmmit blocks/Feature/Materials.pm'
16:23
<@TheWatcher>
followed by managing to reduce that to three 'm's on the second attempt...
16:27
<&McMartin>
a spectre haunts the codebase; the spectre of commmmunism
16:28
<@TheWatcher>
pffft
16:28
< ErikMesoy>
you're just afraid of commmmitment (that's what she said)
16:43 gnolam_ [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
16:43 Tarinaky_ [tarinaky@Nightstar-dd7e4a05.net] has joined #code
16:43 Netsplit *.net <-> *.split quits: simon_, Tarinaky, gnolam, froztbyte, @Kindamoody|out, Reiver
16:43 simon__ [simon@Nightstar-883ecc1d.brahmaserver.dk] has joined #code
16:44 Netsplit over, joins: Reiver, froztbyte
16:44 Netsplit over, joins: Kindamoody|out
16:44 mode/#code [+o Kindamoody|out] by ChanServ
17:04 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [Ping timeout: 121 seconds]
17:20 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has joined #code
17:30 * AnnoDomini attempts to figure out how to open a MOBI file.
17:31
< AnnoDomini>
There we go. All it took was renaming the file properly to .mobi instead of .mim.
17:36 gnolam_ is now known as gnolam
17:52
<&McMartin>
Heh
18:02 Vash [Vash@Nightstar-e8057de2.wlfrct.sbcglobal.net] has joined #code
18:02 mode/#code [+o Vash] by ChanServ
18:36 Netsplit *.net <-> *.split quits: RichyB
18:36 Netsplit over, joins: RichyB
19:01
< ErikMesoy>
I've written a function that takes a three-element list as its argument in Python, by means of making assumptions in the function that the argument is a three-element list. Is there anything more to do? Can I tell the function in some way that it should take a three-element list, other than by writing stuff that fails on other arguments?
19:02
< ErikMesoy>
In other languages I would have said something like "dim".
19:03
< ErikMesoy>
What I've got /works/, but I'm not sure if there's more to it.
19:04
< AnnoDomini>
In mIRC, I'd use the 'required parameter' syntax, not sure if Python has it.
19:06
<~Vornicus>
does it have to be a list
19:07
<~Vornicus>
COuld it be a tuple or string or other sequence type.
19:07
<&McMartin>
Normally I'd write a function that takes three arguments instead of a three-element list
19:10
< ErikMesoy>
A tuple is fine too.
19:10
<~Vornicus>
why must it be exactly three elements?
19:11
<~Vornicus>
why must they be packed as opposed to unpacked the way McM describes.
19:12
< ErikMesoy>
I suppose it mustn't, but I'm still curious about the general question of whether Python has means of restricting arguments to a function other than by making assumptions about them.
19:12
<~Vornicus>
not really
19:12
<~Vornicus>
welcome to duck typing
19:14
< ErikMesoy>
Duck typing it is, then.
19:15
< AnnoDomini>
Duck duck goose!
19:20
< RichyB>
Down in the C API, all functions in Python are PyObject* foo(PyObject *self, PyObject *args);
19:20
< RichyB>
Duck-typing is pretty much the only thing you can do with that one-size-fits-all interface.
19:21
< RichyB>
That's strictly true for CPython, much less so for IronPython, PyPy, Jython.
19:22
< RichyB>
IMNSHO, much of Python's design was influenced very heavily by what was easiest to implement in the CPython interpreter rather than what would be the best thing to use. ;P
19:25
<&McMartin>
I happen to disagree, but.
19:29
< RichyB>
Well, it varies.
19:30
< RichyB>
Explicit self, syntactic whitespace (?!), the way that the method resolution order works, most of the language is really carefully thought out and you can see the discussion chains on all of the PEPs.
19:32
<&McMartin>
Right
19:32
<&McMartin>
My disagreement is less CPython specifically and more "OO in scripting-style languages tends towards duck typing IME"
19:32
< RichyB>
On the other hand, the interpreter itself is... primitive.
19:34
< RichyB>
and the GIL looks very much like it was originally an implementation detail, but now it's leaked into Python's semantics, and it turns out that "each python bytecode is an atomic operation" is part of the operation semantics of Python now probably forever.
19:34
< RichyB>
*operational semantics
19:37
< RichyB>
The big thing that I'd say was leaked out because it was easier is the fact that the CPython API is just the interpreter's guts directly exposed, which makes reimplementing the CPython API in PyPy really hard.
20:39 Kindamoody|out is now known as Kindamoody
20:45 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
20:48 RichyB [richardb@Nightstar-3b2c2db2.bethere.co.uk] has quit [[NS] Quit: Leaving]
20:58 Attilla [Obsolete@Nightstar-0badc022.as43234.net] has quit [Ping timeout: 121 seconds]
20:59 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
20:59 mode/#code [+o himi] by ChanServ
21:02 Attilla [Obsolete@Nightstar-33461ae0.as43234.net] has joined #code
21:21 Attilla [Obsolete@Nightstar-33461ae0.as43234.net] has quit [Ping timeout: 121 seconds]
21:26 Attilla [Obsolete@Nightstar-aa99279a.as43234.net] has joined #code
21:31
<&McMartin>
I guess I should ask this here
21:31
<&McMartin>
I've had to start contending with web applications
21:31
<&McMartin>
This means I've now been exposed to REST.
21:32
<@TheWatcher>
My sympathies
21:32
<&McMartin>
Is this just a buzzwordification of "how to not be a shithead"?
21:32
<&McMartin>
Or was it a big deal at first?
21:33
<@TheWatcher>
As far as I'm aware, it's the former
21:37
<@TheWatcher>
(my understanding of it is that it's really just a loose architectural description embodying best practices of using pre-existing protocols and practices wrapped in an acronym to make managers sound like they know what they're talking about)
21:55 cpux|2 [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
21:55 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
22:03 ErikMesoy is now known as ErikMesoy|sleep
22:59 Courage is now known as Moltare
23:38
<&McMartin>
(Yes, though I remember enough of the late Web 1.0 days to know that it is a good discipline to force on people; as such, I find it less obnoxious than 'POJOs'
23:38
<&McMartin>
(Which served a similar purpose but are more blatant about being a bullshit cover)
23:43
<~Vornicus>
heh
--- Log closed Fri Sep 14 00:00:01 2012
code logs -> 2012 -> Thu, 13 Sep 2012< code.20120912.log - code.20120914.log >

[ Latest log file ]