« first day (2983 days earlier)      last day (1980 days later) » 

1:19 AM
@coldspeed that's not what his hat tells me
yam, today's AoC kicked my butt real hard
I spent 7 hours solving it :'(
 
2:09 AM
@AndrasDeak that's just a disguise :D
cbg
 
 
5 hours later…
7:23 AM
Too many pandas questions come with images instead of text. I tried creating a function to take the image URL, load it, convert to greyscale, enhance, and perform OCR to convert the image to text. It works as expected, but the sad thing is the OCR isn't good enough to identify characters with 100% precision. I'm using pytesseract but I'm wondering if anyone knows of something better out there.
 
 
2 hours later…
9:12 AM
@AndrasDeak Yeah, I'm also enjoying that one. I took a break yesterday after I noticed that I had the movement logic completely wrong =(
luckily today was more fun
 
@coldspeed You can also try pyocr. That one supports 3 different backends (two of which are tesseract and libtesseract, but still)
 
9:37 AM
@Aran-Fey Thanks, let me try this...
 
haha, @AndrasDeak, I am yet to rewrite the whole of yesterday, this time with unit tests and less urgency! O_o
cabbage
 
I'll have to unugly mine too a bit
 
 
1 hour later…
10:58 AM
After 22 hours without sleep I actually managed to push (to my own fork, thank heavens) a commit with merge conflict markers still in it. Programming without enough sleep is dangerous, kids. Don't do what I did.
 
11:39 AM
@holdenweb Indeed!
 
12:18 PM
Why so little sleep @holdenweb
 
12:47 PM
bah, humbug. For yesterdays AoC part 2 I had a lot o math worked out to optimise my range of values to search between. Turns out I didn't need all that. :-/ It worked great on the testcases though!
 
Unfortunate combination of circumstances. I volunteer at a homeless shelter, so I got up at 5:30 to work the breakfast shift. I had to got to London (2 hours away) after work because a friend from the USA was running an event I had promised to go to, and two trains back home were cancelled, so I didn't get back home until almost 2:30.
Should have known better than to push that change - clearly I hadn't run tests. The staff won't let me forget this one in a hurry, but it's not as bad as the time I deleted the production Kubernetes cluster.
One day I will automate the chaos I create in a monkey, written in Python. For now I just work as usual, which seems to create an adequate awareness of the need for disaster recovery.
 
recbg
 
Wow, indeed - get some sleep then @holdenweb :-)
 
Heh, that was Thursday night, I'm fine now, thanks.
 
1:04 PM
Good to know.
 
1:27 PM
@holden wow... but it's not as bad as the time I deleted the production Kubernetes cluster - I envisage torches and pitchforks for that one :p
 
Is there a name for the programming principle to divide a seemingly big task (let user make updates to a file) into many smaller tasks (open file, get user input, write file)? I always thought that would be called Divide and conquer but that only leads the algorithm.
 
procedural programming?
 
nah @Aran-Fey same issues, at least 20% of the text is garbled to some extent. Imagine it's because of the same backend. I should try installing some more backends and see. Worst case situation would be to train my own LSTM and insert it into my flow via a config argument... but then no one else could use it easily (that was my point by trying).
 
or maybe structured programming but that's kind of less abstract and more simple
@coldspeed ahh... you've upset Dark as well - you scrooge! :)
 
@JonClements Yes, thanks. That works :-)
 
1:36 PM
@JonClements I aim to please ;)
 
In that case you missed spectacularly /me grumbles :p
 
Listen man, you don't answer often enough; you did this to yourself :C
 
I spent 5 minutes trying to remember what the heck that numpy function was... then I remembered diag and eventually found it from there but then... someone had already posted an answer :)
 
haha, with practice answering, that function would have been at the tip of your tongue :D
on an unrelated note, @Paul Panzer posted a nice answer to my question on checking for mixed dtypes efficiently.
 
1:51 PM
@cold
 
Curious... still got a notification even though "cold" isn't my username...
 
whoops, meant to @coldspeed

quick question, I noticed you marked this one as dupe (https://stackoverflow.com/q/53798918/6813490) but I wonder if the asker might be looking for a quick-and-dirty way towards an in-memory data store during the prototype stage.

when I read their question my first thought was, "oh, seems like want to declare a variable `highscore` outside the funciton to accept 'writes' while the app is running".
also, my first posting in this chat, hi everyone :)
 
@ZachValenta Why not write a comment addressing OP, and if their replies make it clear that the post needs reopening, please ping me (or anyone with a gold badge) and it can be reopened. How does that sound?
 
@coo yeah... just needs enough letters to match... I can't remember if two letters still works, or it works only in some cases, or if it's three now...
 
2:09 PM
@coldspeed sounds good!
 
@JonClements this didn't result in a ping... so it's 3 or more letters
 
I think you need 3 letters but "coo" doesn't match coldspeed so that's inconclusive
 
@Jon let's see if this works...
 
yup
@col oops - I meant this
 
3:15 PM
Cbg
Yep I'm up for another shot at AOC
That was terrible last year
 
Meh... I don't get the point of an advent where you don't get chocolate from it :)
 
3:31 PM
I know what you mean. I had 5 calanders this year laurel
 
 
2 hours later…
5:46 PM
Someone knows where abanert is? I'm kind of worried now.
 
His latest GitHub commit was just a week ago
 
nice to hear about that. Because he didn't answer a single bloody question since september. I had to step in and I sucked :)
 
Can't blame him for that tbh
 
6:03 PM
He rarely answers bad questions. Rather good questions where you have to dig in the source code to get the answer.
 
I know
 
I think he decided to take a break after some trouble with another user.
 
pity. cos his answers are great.
 
Actually, scratch that... that was long before he became inactive.
yes, amen to that
 
I bet you're not going to close the questions he answers as duplicates :)
 
6:07 PM
you don't close abarnert's posts, abarnert's posts close you
oh, btw, JFF, I have a hammer now :D
 
congrats. Certainly comes in handy when newcomers wrongly tag questions.
Next and last objective for me: get 100k and die.
 
thanks :) no more requests for this guy
 
this python 3 gold is rather rare as I noticed. Only 20 something users have it. Now python 2-7...
I've come to the point where I can close all questions I'm watching: python & C.
 
close, or ignore
 
ignore is better than canonical close as I just read :)
 
6:11 PM
you can only close 40 (50?) times, but you can ignore as much as you like :D
 
that freedom they can't take away :)
You also have unlimited amount of non-votes.
I guess that you have ignored the whole tag altogether except for . Since I'm ignoring , our paths never cross again :)
 
@Jean-FrançoisFabre I'm not ignoring the whole tag, just the bad ones... hope to see you around nonetheless!
 
yep I'm still all over it. But more work means less slacking off on SO.
 
6:51 PM
hey, fancy seeing you here, Jean-François
 

« first day (2983 days earlier)      last day (1980 days later) »