--- Log opened Wed Nov 18 00:00:14 2015 | ||
-!- LoneTech_ is now known as LoneTech | 12:41 | |
olofk | blueCmd: You're good with Python, right? | 14:12 |
---|---|---|
robtaylor | olofk: I'm not too bad, can I help? | 14:27 |
robtaylor | (though be warned I've recently been learning haskell and that is *mangling my brain* =)) | 14:28 |
poke53281 | When Python came out I hoped, that it will vanish as fast as it came. Perl was more than enough. Still waiting .... | 14:30 |
poke53281 | But well, finally I should take a closer look. But it does like any other language. | 14:32 |
poke53281 | ... does look like ... | 14:33 |
robtaylor | python's ok, I don't like using it for large projects as I find duck-typing makes for difficult code comprehension | 14:37 |
mafm | duck-typing and duct-taping look worryingly similar | 14:46 |
juliusb | python's great, what's the problem? | 14:48 |
juliusb | horses for courses; you wouldn't write avionics control code in it, but if you did you'd probably get it done a lot sooner | 14:49 |
robtaylor | Next up I need to spend some time with 'Go' | 14:53 |
mafm | juliusb: just attempting to make a pun, in fact so far Python is my favourite among the similar languages | 14:56 |
mafm | robtaylor: don't know much about Go, but I think that it doesn't allow or work well with dynamic libraries | 15:05 |
mafm | which limits its usefulness quite a bit | 15:06 |
robtaylor | mafm: not sure what you mean, you can write shared libs in go, and use shared libs from go, afaict :) | 15:15 |
robtaylor | (since 1.5) | 15:15 |
olofk | mafm: Loved the duct-taping part :) | 15:16 |
olofk | robtaylor: I think I found the answer online. I wanted to catch the AttributeError when trying to use a non-existent class in a module, and instead make it return a customized class | 15:17 |
olofk | http://stackoverflow.com/questions/2447353/getattr-on-a-module | 15:18 |
olofk | Guido himself answered, so I'll go with his suggestion | 15:18 |
robtaylor | olofk: ah, that's pretty funky! | 15:20 |
olofk | Apparently the solution is to replace the module in the global namespace with a class instead. Damn sneaky! | 15:21 |
mafm | robtaylor: ah, ok. I heard that in comments attempting to make packages in Debian for go, but it was a while ago | 15:25 |
robtaylor | mafm: ah, yeah 1.5 was relatively recently | 15:29 |
robtaylor | olofk: that is defintly sneaky - i suspect it might violate PoLS.. | 15:30 |
olofk | PoLS? | 15:34 |
robtaylor | priciple of least suprise | 15:34 |
olofk | Not completely sold on that. It clashes with PoWTF | 16:01 |
olofk | A very powerful principle used in most software I have encountered | 16:02 |
olofk | Also in my own software after I have been away from it for a while | 16:02 |
robtaylor | olofk: hehe :) | 16:06 |
Dariost | hi | 21:19 |
robtaylor | hi Dariost | 21:23 |
Dariost | Does anyone know if there is a way to make gcc output openrisc binary code contained only in the basic instruction group? | 21:28 |
--- Log closed Thu Nov 19 00:00:16 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!