« first day (1424 days earlier)      last day (3527 days later) » 

10:00 PM
@davidism well I set it up to use 4gb ram if needed I think
(might have been 2gb thinking about it)
 
I thinks it's probably my connection, it takes a while even to SSH there.
 
and it's in a 60gb or something pipe... so - shouldn't be the server
 
On the upside, I think I found a fortress, there's a bunch of those termite things when I break blocks.
 
@davidism anyway, I can't even connect... my MC client upgraded itself to 1.8 and the server's 1.7... if you fancy doing an update server side while logged in?
 
No idea how. You can use the launcher to switch to a 1.7 profile.
If it's just "download the new version" then I can do it.
 
10:03 PM
well, I'm hoping that's the case, but reluctant to try it on a live server that has world data
 
I'll try it, I'll back up first.
 
lemme try this switching profile thingy... didn't know you could do that
... but then - I can't make a stick - so fairly useless
 
My ping to sopython.com is >1s :(
 
DSM
Ah, it's not the connnection, it's that I've been DDOSing davidism. You know, like a volunteer security audit. No need to thank me.
 
@DSM DDOSing our lead site developer is probably not a good idea... :p
wtf? I was in a very nice mud room... what's @Kevin done... there's a bed and torches and windows and...
omg... he's built an entire castle around a farm
 
10:11 PM
Yeah, I went out into the hills.
 
he does like his farming
 
@JonClements how did you get screen -R to work, I get "cannot open terminal /dev/pts/1" and the only solution online seems to be "chown o+rw"
 
@davidism errr... I logged in directly as the user
 
yeah, same
hmm w/e, I'm going to set up a supervisor job like the site is using
@JonClements ping me when you're logged out, going to upgrade
 
if you feel like it, it's not like it's that important... just thought if we're paying for the site, then we might as well use the most of the resources available
@davidism logged out now
 
Pip
10:16 PM
cabbage
 
cbg
 
DSM
Early-evening cabbage.
 
@JonClements it appears to be running. Should now auto start when the server reboots / restart if it crashes
 
10:40 PM
ahhh... that was an interesting debug session
timezones - how I hate ye
now that all's been sorted, it does mean re-running 8 months of reports
here's hoping no-one expects a swift system response at 8am this morning, this is going to take more than a few minutes...
 
DSM
11:00 PM
The world would indeed be a better place if everyone used Mountain Standard everywhere. Plus it has the best name.
 
Puppy Time sounds cooler
 
DSM
<*kindly*> You know that's not a thing, right, boy? There's a good puppy.
 
It will be when my world domination plan is completed!
wags tail good puppy, am I a good puppy wags tail
 
DSM
covering eyes, so Jon can't see them rolling Yes, Jon, you're a good puppy.
 
awwwww
Jon's a good puppy - yes he is, yes he is!
wags tail more
bbi5
 
11:10 PM
Hi,
Is there any way by which we can make a python function print its name when called?
I know we can use `sys._getframe().f_code.co_name` for that but is there kind of a general function?
 
you could decorate it
 
I'll give it a try then. Thanks!
 
def name_printer(f):
    @wraps(f)
    def decorated(*args, **kwargs):
        print(f.__name__)
        return f(*args, **kwargs)
    return decorated

@name_printer
def cool_func():
    print('Hello, World!')
 
What is use of @wraps(f)?
'cause it have an error but after removing it is working
 
DSM
Preserves name and doc. from functools import wraps, see here.
 
11:22 PM
From the doc if I am not wrong it seems to be some kind of a good programming practice??
mainly dealing with decorators
 
134
Q: What does functools.wraps do?

Eli CourtwrightIn a comment on the answer to another question, someone said they weren't sure what functools.wraps was doing. So I'm asking this question so that there will be a record of it on StackOverflow for future reference: what does functools.wraps do, exactly?

 
DSM
@DavidGreydanus: +1 for canonical question pull!
 
@DSM we should probably add that to sopython
 
DSM
@Jon: 'gree.
 
after you sir :)
 
DSM
11:37 PM
It's definitely more "canonical" than "common", but what the heck.
Meh, code throwing. Will do later.
 
okay :)
since I can't seem to be able to stop listening to this I'm going to continue inflicting it upon others
 

« first day (1424 days earlier)      last day (3527 days later) »