« first day (2662 days earlier)      last day (2297 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
*quietly goes to find this page that I havent seen.
 
@AndrasDeak yup...it works great actually. I'm using it now
 
Is that a plug in just for SO chats?
 
(sopython.com/wiki/Userscripts for those that don't want to dig through the wiki)
 
morning cabbage
 
3:05 PM
cbg code
 
My last attempt at writing a framework for chat modifications was stymied by my inability to efficiently detect new messages before they get rendered. Best I could do was scan the DOM every tenth of a second and modify them after the fact.
Perhaps that's good enough for most use-cases but my enthusiasm for projects gets dampened exponentially proportional to how many technical concessions I can make before the alpha release
 
I wonder if the browser can detect in coming message as an event and if you can hook onto that event... I haven't played with browser and their networking events.
 
Google suggests to me that intercepting AJAX calls is indeed possible with vanilla javascript. I'm not at all versed in the particulars though so I haven't played with it
The community knows quite a bit about the underlying chat protocol, as I discovered when working on RABBIT. The documentation of said knowledge is not organized in a stellar way -- you'd probably have to source dive through a couple bots' git repos-- but if we got all the right devs in the same room...
 
3:21 PM
Thatd be a cool project to help on. I likely woundnt bring to much to the table but I would learn a lot :D
 
Just now I looked at rlemon's recent gist activity to see if maybe he's done all the hard parts already. His most recent gist is a recipe for cabbage rolls. This may be a sign.
 
@Kevin :D
@ZackTarr The beauty of open source coding, you learn a lot :D
 
@MooingRawr Its something Ive wanted to get into and find a group of devs to work with but havent found a project to help on.
 
DSM
I thought this was going to be interesting but it was literally the letter "a" where it should have been a "b".
 
Hmm, was gonna fire up Rabbit and do some poking around, but I can't remember how to start it... The obvious "rabbit/main.py" doesn't do it.
 
3:34 PM
@ZackTarr IIRC when I was in university, my friends and I wanted to dev something together. I remember looking around on github on any open source projects and any issues that needed to be fixed. (a lot of them range from simple things to harder things)
 
DSM
Security measure.
 
@Kevin well then that main.py is miss named :\
 
I dimly recall that we made it into a package, which makes it ten times easier to distribute, and ten times harder for me to run it on my machine
 
let me deploy something first and I'll help dig around the transcript
 
Down to one page of issues for Flask.
 
3:37 PM
Is this the final page of hard bosses? or are you the type of person who likes to hammer the hard stuff first?
 
I probably need to install it again, since I upgraded Python versions since the last time I ran it.
 
Whoops, this isn't the sandbox.
 
Hmm, don't think I've ever seen sys.exit(0) hang before.
 
It's alive!
 
DSM
Who wrote Terry's first answer? (And this isn't one of those "who's buried in Grant's tomb"-type questions.) Was it just for rep purposes?
 
3:45 PM
It must have been me, since I selfishly have not shared his password with anyone.
 
hmm if hooking it AJAX event calls and injecting stuff into browsers isn't a good idea, we could always consider Terry posting emoticons when it detects certain things such as :davidism:
Oh right, @davidism are you okie with the whole :davidism: thing (you can refer to the earlier chat log for what this is about)
 
Google tells me "This type of function hooking [e.g. AJAX interception via changing the prototype of XMLHttpRequest] is perfectly safe and is done regularly on other methods for other reasons."
The cart is a mile before the horse if we're asking davidism permission to use his likeness in a user script that has zero lines of code so far ;-)
 
@MooingRawr as funny as that is, I don't think @idjaw was trying to be serious
I'd rather not, since it would only mean anything for people running the extension, otherwise it would just look weird.
 
lol. I haven't been back since my message about that and it's still going on? haha
FTR - totally not serious
 
DSM
Yeah. "weird".
 
3:51 PM
:-|
 
I already regularly use fake markup to pretend that I'm posting images, when I'm too lazy to actually upload them. so posting [davidism.png] and only 10% of users seeing anything other than that character sequence is actually less weird than my current behavior.
 
lol DSM
 
Counterargument: but if my fake markup actually resulted in some users seeing something, then it would encourage me to use fake markup more, thus increasing total weirdness in spite of a reduced weirdness-per-message.
 
welp now I have nothing to bring up in the GM, plans to just lurk is back on rails.
 
Why go through all the hassle when we have ascii?\
I changed my mind, it looked horrible
 
4:03 PM
@MooingRawr Ill start doing that. Really I want to go back to school and get my masters at some point. Just trying to find ways to futher my career early.
 
Hmm, I can intercept messages I send, but not messages I receive. Could the server be sending messages with something other than XMLHttpRequest...?
 
time to sit in sand box and figure it out :D ?
 
That's what I was doing, as evidenced by the dozen "test" messages from me and terry
 
want help from someone who isn't on your computer ?
 
wim
4:09 PM
Good morning. Where is the meeting? It's not mentioned on the page. sopython.com/wiki/Winter_2018_General_Meeting
I asked "where", not when.
 
I believe it's here.. is it not ? (sorry I read your where as when... )
 
wim
I have no idea.
 
@MooingRawr All I really need is a way to get messages from someone other than the user sitting at the browser window, so I can distinguish between "sending" and "receiving" events. Since Terry doesn't use a browser, he satisfies that requirement nicely.
The javascript room tells me "It's using Websockets, so hooking into XMLHttpRequest won't do you much good". Hooray for potential leads
 
If you need someone to send messages in there let me know and I can spam you with some.
 
oh read your message to late :P
 
4:13 PM
Terry is 25% spambot on his mother's side so I'm good for now
 
I see I see. Wasnt aware of Terry's bloodline
 
Doesn't look like I can hook into the WebSocket prototype in a productive way, so I guess I need to scan the window object for any WebSocket properties. No idea how to do that. [x for x in window if isinstance(window[x], WebSocket)] would do it if we were in Python, but javascript's typeof operator helpfully returns "object" for most non-primitive types
 
4:29 PM
@Kevin for (var x in window) {}
 
Maybe Object.keys(window).filter(x=> (window[x] instanceof WebSocket)); will do it... Zero results. Either this means I'm filtering wrong, or the WebSocket isn't a property of the window object (but then how do you keep it in scope for the lifetime of the window?) or the page doesn't have a WebSocket and the js guys were pranking me.
 
@Kevin what are you looking for?
let ws;
for (const prop in window) {
    if (window[prop] instanceof WebSocket) {
        ws = window[prop];
        break;
    }
}
something like this should work
 
I expect that would give the same result as my filter approach. Let's see... ws is undefined, which is consistent with the zero length array result from before.
 
@Kevin well, yes, it's obvious
what are you looking for?
class Foo(object):
    pass

isinstance(Foo, Foo) # not going to return True either
 
I'm looking for the WebSocket instance that the page creates so it can receive chat messages from the server.
 
4:35 PM
you probably can't without hooking up the debugger
(if the object is in a closure)
@Kevin why are you not creating your own instance?
 
I assumed that if the server got two requests to open a connection with a single user, it would ignore the new one, or close all existing connections other than the new one, or just in general do something other than happily send messages to both WebSockets
 
@Kevin that should be fine
you can be on 2 different browsers and it still works
 
Yeah, I'm looking at the source now. ctrl-f for WebSocket shows that it assigns the type to the variable f inside a closure-looking thing
@FlorianMargaine Ok, radical. That should make it relatively easy to monitor incoming messages. But I suspect I'll need a different approach if I want to doctor incoming messages.
 
@Kevin did you mean "incoming messages" twice?
 
4:46 PM
Re: that thread of complaints on twitter. Someone in the replies made a really, really good observation: stack overflow is gamified documentation, but is billed as Q&A. That's a mistake.
 
@Kevin window.TheThingThatGetsDataFromTheServer = function (n) {
:D:D
 
@AnttiHaapala Yep that's the particular wumpus I'm hunting right now
@FlorianMargaine Yeah.
Oh, you mean there's an actual TheThingThatGetsDataFromTheServer method in the source. I see it now.
My "let's hijack the WebSocket prototype and/or instance because that's probably easier than wading through the chat source code and hijacking the got-data-handler" plan has not gone as well as I hoped
 
davidism has added an event to this room's schedule.
10
 
5:01 PM
@Kevin what are you trying to do?
 
Intercept messages from the server indicating that a new message was made in the room, and maybe alter the message so it renders differently in my browser.
 
Mainly for better smiley faces in chat :D
 
I'm writing modules in windows (at the moment). I'm uncertain where the code may be used in the future. What is the appropriate hashbang to use? Does it differ from linux system to linux system? Also, Python 3
 
@Kevin It might be easier to use a MutationObserver that reacts to changes in the DOM, and rewrite the message afterwards
 
Ah, a perception filter. Tricksy.
 
5:13 PM
@piRSquared Unfortunately yes, the path you have to use can be different on every system. I'm not an expert, but I think the recommended way to write shebangs is #!/usr/bin/env python3
 
@Rawing thanks, that's where I'm at right now. I'll use it until something breaks and figure it out then.
 
The most correct cross-platform answer is to use setuptools's entrypoints, and it will generate the right kind of script depending upon the system
But if what you're doing is currently working and you don't need to distribute it, just do what's simplest
@Kevin our triplet from an alternate dimension has joined
 
@Rawing If there's a way to do that without a busy loop, I'm interested
Googling "MutationObserver" indicates that that may in fact be the case
A full-featured message-hooking framework would have both the ability to view/edit/discard a message before it gets added to the DOM, and after. Necessitating a multi-pronged approach.
But maybe that ought to wait for v2.0
 
5:39 PM
For simply listening to websocket messages, I think you can simply register a handler. But that will not allow you to hook into the displaying process.
CHAT.addEventHandlerHook((e, i, n) => {
    if (e.event_type === 1) {
        console.log(e.content);
    }
});
 
This might be a weird way to do it, but you could have two connections open at the same time. one for the page, one for you to listen for events.
 
@Rawing lol.
 
@Rawing love the name of the file :P
 
@KevinMGranger Yeah, Florian proposed that a couple pages up
 
5:42 PM
Oh, this is to add emoji support to the userscript side of rabbit? I'm dropping everything, this is my new top priority
4
 
Thank you Other-Kevin. <3
You're the Kevin this room needs right now
looks at Kevin-Kevin in disappointment....
 
lunchtime cabbage all
 
He's working on it too, and will probably make more progress than me because I just talk about things and don't do them
 
I talk about things and then do half of them and then get distracted.
 
Jan 24 at 15:22, by poke
The major difference between people who started with text based chats (IRC or whatever) and those who started with the modern fancy stuff is the usage of things like “lol” and text smileys vs. obsessive use of reaction GIFs and emojis…
Your excitement about emojis is telling.
 
5:44 PM
I did start with IRC. I just like emojos. gifs are meh.
This is one of the best parts of Mastodon: custom, federated emoji
 
@idjaw What exactly happened that you lost faith in the one true internet?!
@KevinM Is Mastodon still a thing?
 
@poke It's imperative we maintain something to go against.
 
pff
 
It's thriving. Reports of its death were greatly exaggerated. I'm on it more than twitter nowadays.
 
This is what I learned about the Matrix. The balance has to be kept
We either both go...or we live hating each other, existing.
 
5:49 PM
Now, it's still different, so those who expect just an alternative-twitter will be disappointed. But I like it better.
 
Ive never in my life heard of that. Gotta go check it out
 
Jan 24 at 15:25, by idjaw
now step away you animoji using heathen
 
ugh...OK fine...I completely forgot I supported the one true internet...OK?
Sorry Other-Kevin. My political allegiances do not allow me to support you any more...
sits next to poke
 
<3
:D
 
hehe :)
 
6:09 PM
cbg
 
wim
if someone manages this without Python loops I will be impressed
 
you already sniped me on the weekend
 
Anyone have a link to an easy to follow example of testing ms-sql connection with pytest and fixtures? I'm getting desperate.
 
@wim I don't like the weird specifications and no effort on that question
does recursion count as no loops?
 
weird as in who else will find this useful? I'm sorta ok with lack of effort if it feels like a question that lots can benefit from
and recursion is what I was thinking as well
 
DSM
6:15 PM
I was thinking the other direction. Build the full giant object and then toss the ones it turns out you don't need.
 
at least the result can be neatly represented in an array with (2,)*number_of_twodigits leading dimensions injected
 
"no loops" is hopelessly broad because you can make an argument for nearly any vector operation having a loop at the C level. (2,)*x may very well decompose into a loop that iterates x times.
Or you can be hopelessly specific and say "nothing that uses the token for" in which case you can near-trivially turn any for-using implementation into a non-for-using implementation by replacing it with map or whatever
"Perhaps you should assume an interpretation that doesn't make the question unanswerable or trivial" you hypothetically say. I agree. But there are many such interpretations and you don't know which one the OP means, a priori. You don't want to finish your brilliant post and get a reply like "oh yeah, sorry, I'm not allowed to use recursion either"
Ideally you would seek clarification from the OP first, although in many instances even they don't know exactly what they're asking for
"Recursion? List comprehensions? I don't know, man, we haven't gotten that far in the text book. Just do what I mean, not what I say"
 
DSM
I'd just do this using itertools.product and get on with my day, TBH.
 
6:33 PM
yup
 
Bind a function to a keystroke like autohotkey but in python? Is this possible? I found this but I can get termios on windows from the look of it.
https://stackoverflow.com/questions/17807693/python-key-binding-capture
 
As in, detect a keystroke regardless of whether the Python window has focus? I think I have a recipe for that, let's see...
 
Yes exactly. Basically I dont want to use AHK but want AHK functionality
 
Kind of a mess, but IIRC using it isn't too difficult: call listen with the key you want to listen to, and the function that you want to call when the key gets pressed
 
Lets give it a shot! Thanks! Ill report back in a few
 
wim
6:43 PM
@AndrasDeak no
@Kevin after some experience with numpy, it's usually fairly common-sense what is numpythonic and what isn't.
 
@Kevin Works like a charm. I did find a nice dictionary of VK codes here gist.github.com/chriskiehl/2906125
Makes it easy to read what key you are listening too.
 
@AndrasDeak Sadly I can't find any installed modules written in C that I could write in a Python equivalent apart from the one you listed so I can't do much yet.
 
recursive
def split_dbl(n):
    num_digits = np.log10(np.clip(n, 1, n.max())).astype(int).astype(bool)
    if num_digits.any():
        mask = np.zeros_like(num_digits, bool)
        i, j = next(zip(*np.where(num_digits)))
        mask[i, j] = True
        return [
            split_dbl(np.where(mask, x, n)) for x in divmod(n[i, j], 10)
        ]
    else:
        return [n]
 
@wim Yeah I get the impression that in the numpy tag, what they want is "how do I do this so that any looping is done at the C level and not the Python level?"
 
wim
@AndrasDeak was that reply to me or someone else?
@Kevin exactly
 
6:48 PM
So list comps no, recursion no, (2,)*n maybe OK, using only operators that operate on numpy arrays probably yes
 
wim
if you're really going for good numpy, sometimes you need to make sure the strides line up too
so that you're reading memory sequentially rather than seeking all over the place
 
I have much respect for people that take hardware caching into account when analyzing the efficiency of their code. I am not one of those people.
 
@wim to you
8 hours ago, by Andras Deak
I was trying to outdo native python solutions using the c api. I managed to make it slower...
I got intimate with the numpy c api for that rowwise-unique thing. For small arrays it was faster than pandas, but for the large test cases it was several times slower. I blame the set that I used to figure out the number of unique elements...
I sort of thought about defining an array of sets or something...but it would probably be even slower as well as ugly
but I had never used python c APIs before
 
@Kevin So added factor to the question. I am trying to bind printscreen if possible. Not a huge deal if I cannot. But looks like your script does not work with that key 0x2A. Likely an issue with windows binding it already? Probably need to do more to undo that keybind and let mine take priority?
 
wim
ahh
 
6:55 PM
it seemed to me that np.unique and pd.DF.nunique are both written in python
 
wim
yeah I was surprised by how bad pandas performed for the many-rows use-case
 
@Kevin Looks like its a issue with the api? kbdedit.com/manual/low_level_vk_list.html Might be limited to only those keys
 
wim
I dug around in numpy.lib.arraysetops (Module with a number of other functions for performing set operations on arrays) but couldn't find anything good
 
yup, I've seen it multiple times, always as "Oooh, neat. Hmm, not that I can use it ever."
 
@ZackTarr You can try keyboard
 
wim
6:58 PM
I think this can be one of those things that cython or pypy will outperform numpy
 
so this is amazing: kano.me
 
possible
 
I might get that for my spawnlings
 
....the favicon looks like an emoji :|
 
@Rawing Thanks for that as well, Ill look into it.
 
DSM
7:00 PM
@Rawing: huh. Have you used it for anything?
 
I have. Why? O.o
 
@ZackTarr Hmm, I vaguely remember that the API might lie about the state of certain keys for security purposes, ex. ctrl-alt-delete. But it's not like the print screen button is "critical" in that way.
 
PrntScr does SysRq. It's important.
 
DSM
@Rawing: only in that every now and then I've wanted something like that but have always managed to work at a higher, API-like, level.
 
Once I've installed pywin again I'll see if print screen gets detected on my machine
 
7:04 PM
alt+sysrq+reisub saved me a lot of times
 
@DSM I used it to control a game. Something akin to "Twitch plays Pokemon", if you're familiar with that. I'd have used the API if there was one, trust me :D
 
The only other one that I have used that I saw as close to the same as AHK is SendKeys. Which is nice for sending keys... But thats about it.
PAHK is cool too. Ive used it in a gui that controls predefined AHK commands and lets a user pick X amount of commands they want to run. Then it takes the AHK code that is stored in the DB and combines it into one file then PAHK runs the AHK script using the AHK.dll. So there is no need to install autohotkey to get it to work.
 
@ZackTarr Try 0x2C instead. One is for "print" and the other is for "print screen" so it's worth trying both if one doesn't work
On my machine, 0x2c works OK
 
I see I see... Call me crazy if you want but I dont see this other "print" key on my keyboard. Only print screen. Is it like a key from the past thats still in the api?
 
wim
pytest.main .. chosen by fair dice roll?
 
7:12 PM
stackoverflow.com/questions/5815471/… says it's for an older style of keyboard.
@wim Yeah, seems like they're just being cute. If they want 4 to mean something specific, then it ought to be a constant.
 
Ought to be return PYTEST_COMMAND_LINE_USAGE_ERROR, then. Who wants to make a PR? [quietly places finger on nose]
It occurs to me that Nose Goes is not a useful selection system in an environment with 1) diverse cultures that may not be familiar with the practice; and 2) two dozen idlers/lurkers
 
wim
oh, so they actually have return codes. how quaint.
 
DSM
7:28 PM
Oops, wrong window. Anyway, I haven't tested it too much, but something like this should work.
 
wim
7:44 PM
@DSM nice
 
numpy is never off topic.
 
7:58 PM
@Kevin Never heard of it. As a kid, we would play not it.
 
wim
any reason you're not adding the answer?
 
DSM
Too complicated. If I needed this in the real world, it's very unlikely it would be the bottleneck in my code, so I'd just use itertools where I could almost spot problems by inspection.
 
wim
mention that in your answer too ;)
 
My random question of the day: Can anyone suggest a good (fun) Python project for me. I'm rather bored and I really don't know what I can do.
 
wim
new proj for you to write or existing proj for you to learn about?
 
8:06 PM
New project, hopefully, although I'm open to anything.
Except web frameworks which are crap to deploy under Windows.
That was learning to use one BTW (no I'm not seriously considering creating a new web framework).
 
wim
A great project starts with a "py" pun in the dist name. Look here for inspiration.
 
And I've been sent to a site that says: "Is pyramids a scrabble word? Yes!"
 
@wim I know, I'm going to create a killer app and call it Floppy
 
cabbage!
 
8:20 PM
@Kore-N Cbg
 
sorry to disturb with smthg ugly, but my pip abandoned me at a certain point this evening. Is there a (brutal?) way of uninstalling pip in a virtual envirnement?
I have a Python 2.7 environment and whatever I do i cat an error: "ImportError: cannot import name DependencyWarning"
 
DSM
You lost me at "Python 2.7". :-)
 
(I'm using windows)
 
DSM
Only half joking, because modern Python has pip included which allows for easier recovery.
 
Unfortunately, I have to use a horrible package called Sframe :) Only runs on 2.7
(Actually it's even deprecated by now)
 
8:26 PM
Create a new virtualenv and try again.
 
wim
this needs more upvotes
@DSM So does Python 2.7 now
2.7.9 I think it was
 
DSM
Huh. I haven't paid much attention to the embers, I have to admit.
 
8:52 PM
@wim *inspyration
 
9:04 PM
When are locales useful? So far they've caused me nothing but suffering
(^ a rhetorical question)
 
what's the easiest way to get the last value of an iterator?
Well, the easiest way is probably list(iterator)[-1]. What's the easiest way that's less terrible than that? :D
 
Maybe deque(it, maxlen=1).pop()
 
Hmm, that's pretty difficult to understand though
ah, I guess I should've just googled it. I found a good one On second thought, this isn't any better than list(it)[-1], is it
 
DSM
If we're going for comprehension, it's hard to beat list(iterator)[-1]. If we're willing to trade comprehension for not requiring the iterator to be materialized, maybe max(enumerate(it))[-1]. Now I'm going to click on the "good one" to see what I should have said..
 
@Rawing *_, last = iterator stores N - 1 elements in _ list
 
DSM
9:17 PM
.. urf, yeah, that's slick. I'm still not used to that type of * unpacking. :-)
 
@vaultah Yeah, I just realized that :/
max(enumerate(...)) it is, then
 
So Musk has preorders for his flame thrower topping $6M. We live in a wonderful time.
 
IIRC, DSM advised to use deque(..., maxlen=1) for this or similar problems about two years ago
 
DSM
You sure that wasn't Antti? If it was me, I probably ripped it off of someone else.
 
Hmm, not sure
 
wim
9:25 PM
why nobody has suggested
for val in iterator:
    pass
 
It's on the page Rawing linked
 
it was Antti who was talking about consuming iterators
Sep 20 '16 at 16:16, by Antti Haapala
fun fact: deque maxlen=0 has been optimized to efficiently consume an iterator without other side effects
so maybe it was him ?
 
DSM
I sometimes wish we had a collection of toolz-like well, tools. first and last would be convenient.
 
wim
@MooingRawr citation needed
 
9:29 PM
@wim not sure what you mean
 
wim
The claim that deque was optimized for that use case, seems dubious to me
And there is always this side-effect, you have to import collections :P
 
DSM
Rhubarb for all!
 
wim
you should ask the object if it supports efficient reverse iteration first, I forgot about that.
 
more-itertools and even-more-itertools should be in the stdlib to be honest
 
9:46 PM
I just read this answer. Very good. Deserves more upvotes! — Jean-François Fabre 1 hour ago
And suddenly there are five upvotes ^^" Thanks @wim, I knew the room had something to do with that :D
 
wim
Yes, I hope the OP will change their accept mark.
JFF has been using that question as a dupe for how to go from 'text' to b'text', and I fear that most of the n00bs are just using the bad answer
@user2357112 so how do you actually get the last element, if the short-circuited deque has already consumed it?
doesn't look like there's the same fast-path for maxlen=1
 
@DSM I was thinking about this conversation. You said that there was no need to build the list, but then Jon suggested deque. Sorry for attributing that advice to you :P
Feeling slightly relieved TBH
 
@wim: The fast path is only for maxlen=0.
 
Thanks @vaultah, I can finally close that tab now :D
 
No worries
 
wim
10:02 PM
it definitely sounds like a Jon idea
one day we will lose him to a functional language
 
nobody said next(reversed(it))
 
@AndrasDeak i?
 
my iterator doesn't support reversed :(
I should stop staying up late
Kinda odd though. dict.values() doesn't support reversed, but OrderedDict.values() does
 
That's a familiar feeling
 
wim
@Rawing not odd for 3.6. would be odd if it remains that way for 3.7.
 
10:10 PM
@poke ?
 
it -> reversed() -> ti -> next() -> damn, I failed…
*t
 
:P
oh, I thought reversed worked for any iterable
 
wim
ah. joke fail.
IIRC it works for any sequence
but it's an unwritten rule that you should only implement __reversed__ if you can do it in an efficient way
 
oooh, for an old dict the .values() don't have an order, hence reversed is meaningless
(I know, the fact that it's not a sequence means exactly that...)
 
10:14 PM
It's not meaningless :/ It would only be meaningless if the iteration order could change randomly and for no reason
 
@AndrasDeak ((iterables aren’t sequences too but reversing those makes perfect sense *cough*, sequences is about lengths and index access))
 
for all intents and purposes it's meaningless
 
*iterables, too much language mixing today >_<
 
Why does every language have their own name for the same thing? Geez.
 
wim
10:25 PM
it's much worse when every language have the same name for the different thing ...
 
testing with sqlalchemy engines and dynamic queries is hard
 
> We are currently offline for maintenance
… aaand online again, huh
 
11:23 PM
I must be some kind of idiot. Why am I spending hours mucking about with argparse instead of extending my self-made UI library to support command line arguments?
Well, I guess my argparse question earned me 15 rep. Totally worth the time spent.
 
wim
11:44 PM
argparse can be a pain in the butt
it's very opinionated
 
It's surprisingly limited in what it can do
 
wim
11:57 PM
does glob use os.walk ?
or does he do something else
 
00:00 - 15:0015:00 - 00:00

« first day (2662 days earlier)      last day (2297 days later) »