« first day (2742 days earlier)      last day (2216 days later) » 
05:00 - 18:0018:00 - 00:00

6:00 PM
Jimmies holding steady at Moderately Rustled because the film's preview depicted the Iron Giant as a powerful badass, which misses the point of the character
 
There's also the memorable I Don't Even Own A Television podcast about it: idontevenownatelevision.com/2014/06/19/…
But hey, it could be worse. It could be Armada.
 
Haha
I read the book and I liked it. That's why I went to watch the movie
.....
The Berg clearly does not like reading books
I do intend to read Armada actually
@davidism You seem like you'd suggest that that would not be a productive use of time tho XD
 
Bah, no movie is a productive use of time
Priority one is: will you enjoy yourself?
 
The verge article is :O Wow. Intense
And true, movies Are largely a waste of time.
But good science fiction is worth drawing inspiration from . Emphasis on the "good"
 
Hi! Um, what is the correct/proper way to keep track of time in a program, but not have it sleep? I need it to do something every 12 hours, but in between those periods it is actively doing other things.
 
6:13 PM
threading.Timer comes to mind
 
Then there's things like apscheduler or celery beat.
 
one of these days I should read the list of stdlib modules...
 
I didn't know about Timer or sched, neat
 
6:17 PM
Perfect!
Thank you @Aran-Fey
 
The threading.Timer is really pretty trivial: it solves the problem of "how to keep track of time, but not have it sleep" by "keep track of time by dedicating a background thread to sleeping". Which works fine for simple cases, and if it didn't exist, you could build it yourself in a few lines of code.
 
though most people would probably do it wrong. time.sleep(60*60*12) would be wrong, for example
(because sleep can be interrupted by signals in python <3.5)
 
@abarnert I presume the point of "no sleep" is "do useful stuff in the meantime"
 
Andras, you never know when you're going to need a library to interact with Sun YP/NIS, or a library that can distinguish between every kind of sound file except the ones that were invented after 1989. :)
 
Well, if you dedicate a thread to it, you might want to have it interrupted by signals
 
6:23 PM
@abarnert are you saying both of those are somewhere in the stdlib?
 
If done in asyncio, you can do asyncio sleep and catch a cancellation
 
Yep. nis and… I forget the name, sndheader or something?
 
interesting, thanks
 
@Aran-Fey But a Timer does an interruptable wait on an Event, which can also be interrupted by signals. So, does it trigger early, abandon the timer, or go back to sleep? You can't tell by reading the docs; you have to look at the source (which is, helpfully, linked from the docs). And if it's not the answer you wanted, then you have to write your own version that does the version you wanted.
 
Hmm, I wonder if it makes sense to make my UI more complicated in order to make the most common use case less complicated. My Widget creation form has an "owner" field, represented by a search box where you enter a user name and select from among the matching names. 90% of the time, the widget's owner is the person filling out the form, so I'm wondering if I ought to have a radio button labeled "Me" that the user can select so they don't have to type their own name.
 
6:31 PM
sndhdr, not sndheader. It can handle: 'aifc', 'aiff', 'au', 'hcom', 'sndr', 'sndt', 'voc', 'wav', '8svx', 'sb', 'ub', or 'ul'. (But only uncompressed WAV files will work.) It is still being maintained, though—there were fixes for 64-bit, and more recently the tuple of arbitrary crap was turned into a namedtuple of labeled information.
What about just pre-filling the owner field with the person's name?
 
I could. That raises the question of what I should do with the handful of other user-based fields that aren't usually the user filling out the form.
Would the user regard the UI as inconsistent if some user fields were prepopulated, and some not? These are the questions which I have no objective answer for.
 
DSM
FWIW I always find it annoying to enter information again that I know it knows. I'm not bothered if I have to enter some information that it doesn't know.
 
Please attach your resume. Please fill out this form, which asks for each individual piece of information in your resume.
 
Oh geeze, I got so stabby when I had to do that
like... do you want my resume or what?
the hilariously dumb thing was "Fill out this form using LinkedIn". Click button. They literally parse information off of LinkedIn's PDF resume export or some such thing.
 
Not really, they're just trying to filter out people that can't follow pointless instructions without giving up or having a stabbing episode
 
6:43 PM
That's true
 
cgb. all
 
I was always, "No, I don't think I want to work here anymore"
 
@Kevin stabbing episode? are you saying stabbing isn't allowed in the workplace?
 
@OneRaynyDay Stabbing, no. Poking, yes.
 
Psychopaths are not welcome at the company, except among upper management
 
6:45 PM
@OneRaynyDay Well, I certainly wouldn't want to work where stabbing isn't allowed
 
gives you that extra jolt of energy to finish the day, y'feel
 
Executives get around the filter because they don't have to fill in any forms. They get picked up off the street by scouts that see them trying to cram a cat into an ATM
 
for when coffee, nootropics, and microdosing lsd is not enough
 
Just releases the pressure
 
Mr Werner knows what's up
-takes a step back-
 
6:48 PM
:D
There are a few instances where I almost wish I would have been given a stabbing instead
 
Any ideas on how to compress this:
 
That seems pretty compressed already
 
ld_im_hex_rgb = ""
#For each of the RGB elements in the loaded image's RGBA:
for i in range(len(loaded_image[X,Y][:3])):
    if len(hex(loaded_image[X,Y][i])[2:]) < 2:
        ld_im_hex_rgb = ld_im_hex_rgb+hex(loaded_image[X,Y][i])[2:]+"0"
    else:
        ld_im_hex_rgb = ld_im_hex_rgb+hex(loaded_image[X,Y][i])[2:]
lol
 
looping with numpy arrays, that's usually a mistake
 
Actually this is a PIL image
 
6:51 PM
ah, then I have no idea
I didn't know PIL also allowed comma-separated indexing
 
hex() is not the best possible way to get a static-length hexadecimal string
 
broadcast that hex() function and cache it to use, then maybe you might have some vectorization hopes
 
>>> "{:02X}".format(11)
'0B'
One such way to get a two character hex-y string without a conditional
ld_im_hex_rgb = "".join("{:02X}".format(pix) for pix in loaded_image[X,Y][:3]). Something like that.
 
No... Way...
 
Darkyst majycks
 
6:55 PM
LOL
 
DSM
Am I the only one left who uses the format function in cases like this?
 
Emphasis on the "something like that" because I'm pretty sure your original code translates 11 into "B0" and not "0B" so definitely test thoroughly to make sure your output is what you expect
 
BTW if your wondering what this is for: github.com/MrZeusGaming/HECK-image-encryption
 
@DSM I keep forgetting it exists
 
O.K. Kevin
 
6:59 PM
I detect a whiff of an XY problem because algorithms intended to operate on long sequences of byte data are generally better implemented using the bytes type than hexy strings
Put a pin in that idea for v2.0
 
Sounds good. Boy, I have a lot to learn.
 
What a fun adventure we are all on
 
Hey, how would you guys recommend I should do synchronized video recording with multiple clients on a LAN? I've read about clock synch using NTP, but wouldn't the problem persist since issuing the start recording command takes a variable amount of time? Maybe setting a recording session X time from now?
 
@RodrigoSilva as long as they have all started by the time you need them to start does it really matter if they start at the exact same time? You could do the syncing after recording. Just have each client keep track of when it began recording.
 
Yeah, that's what I was thinking. As long as there's some singular event in all the recordings that you can use to establish a common time frame.
That's what clapperboards are for, partly
 
7:13 PM
Also clapperboards just look dope
 
Hm, won't that mean some information might be lost one of the recordings?
They'll all record the same thing, from 3 different perspectives
 
Ideally there isn't any information before the clap that's important
 
But that would need manual input, right?
 
clapboards are still the best - you have each client sync up with the clapboard
 
In it's simplest form it's manual but I could imagine rigging up an LED that flashes once all the clients inform the server that they're recording
 
7:18 PM
I would recommend something that makes noise
And visual personally
 
you need the clapboard to make noise, unless you don't care about your audio syncing up
 
I've always had better luck syncing up a sharp jump in audio than a common image in frames.
 
I mean, you can use people speaking and the pops of the P and B, but...
 
I was thinking in something along the lines of: synch all the devices using the same NTP server, ping each other and schedule for current_time+max_rtt
 
Or if you're asking "but that would require me to manually sync the streams up afterwards, right?", that seems like a fun machine learning project. Let's play "detect the LED"
 
7:20 PM
The only winning move is not to play
 
In a relativistic universe, the concept of simultaneity doesn't actually exist. If events A and B look like they're happening at the same time in your reference frame, they will look sequential in the reference frame of an observer passing you at 0.9c
Unless of course events A and B are occupying the same space. But if your cameras are all actually one camera, then you wouldn't have a sync problem
 
hello,
Do i need to close the JSON file when i open it with "with open(json_filename, "a") as feed"
with open(json_filename, "a") as feedjson:
json.dump(json_data, feedjson, indent= 4)
feedjson.write('\n')
feedjson.close()
 
@AhmyOhlin Nope, you don't need to call .close() on an object that you opened using with
It closes on its own when the block ends
 
Not sure I got that, but I see the issue. Well, can't I define the precision of synchronization, so to speak?
 
@AhmyOhlin just read up on context managers, not just useful for opening files, but a wide variety of thigns
 
7:23 PM
I'm pulling your leg a little because you probably don't have any cameras going 90% the speed of light :-P
 
Haha, well... You'll never know!
 
ok Thank you guys
 
@AhmyOhlin to take what @chrisz said a bit further - any time you find yourself doing code that needs a cleanup step, use context managers!
 
But seriously. I suspect that any purely software-based syncing solution will always have a level of uncertainty of "but what if such-and-such command takes an extra millionth of a second", no matter how many layers you add
 
@RodrigoSilva are you trying to sync these live, or go back and do something with the recorded video?
 
7:26 PM
That's just my suspicion though, I haven't read up on this or anything
 
I don't need nanosecond precision, would you say millisecond precision is attainable?
 
one of these is a hard-ish problem, the other one is definitely a solved problem
 
@WayneWerner some processing on those 3 video streams will happen, but that's not an issue, so far
I mean, the processing can take time
 
Really can't say what precision you can attain without knowing more about your setup
 
what I mean is are they being consumed live
like say the super bowl
If that's the case then you have a hard problem
 
7:27 PM
I don't know how you'd do it exactly, but I expect you could get a precision proportional to the variation in the latency between your computers
 
I'm not familiar with how live superbowl is, but I'm guessing some real-time processing is happening?
 
but if you don't actually care about consuming the video streams live then it's probably irrelevant
Depending on where you're getting it you're going to get several seconds delay. Usually they have about a 7s delay in case a stray bit of flesh or swear word comes out
 
Nope, the user can wait for the processing/file transferring to happen.
Or rather, let's assume so
 
in that case you don't have any problems. Use a clapboard
Like that's literally the problem that they were designed to solve - you've got N cameras and M microphones and you want to produce 1 finished cut
the way you do that is via a clapboard - there's a distinct visual cue when the parts of the board touch. At 24-60fps, you're gonna get a good frame that is where they actually make contact.
you sync those frames with the peak in the audio track
 
I'm not sure I got how that would work in this context though, so I'd need to dynamically detect that event?
 
7:32 PM
You mean programatically?
 
A sound sounds like a good idea, perhaps then.
Yeah, that's what I meant :P
sorry
Hm nevermind, there's no mic. This is a raspberry + pi cam setup btw.
 
I mean, you can do it that way if you don't want to manually do it. I'm 90% that's a big part of the bulky set of wires coming off the modern clapboards
 
Automatic detection is what my LED proposal was hinting at. Detecting blazingly vibrant #0000FF light out of an otherwise muddy screen seems like an intermediate level computer vision challenge
 
Manually trimming the videos isn't an option, they are supposed to be sent to a server, some processing happens and an output is sent back.
When I said the user can wait maybe I exaggerated. The user can wait for a few seconds hehe
 
@WayneWerner @chrisz
Never heard what context managers is. I will search on internet.
 
7:36 PM
@Kevin That sounds like a lot of work though, this is supposed to be the easy part of the project
 
Well, then what Kevin suggests is what you want. A bright flash - maybe pulse it in a particular pattern e.g. s-t-a-r-t in morse code
 
Sometimes very minor parts of projects take the longest amount of time
 
When you say "issuing the start recording command takes a variable amount of time", do you mean "each camera takes a different amount of time to start, but it always takes that same amount to start, every time"? Or do you mean "it's completely unpredictable how long it takes any camera to start"? The first one seems more easily solved than the second
Then you only need to measure the lag of each camera, and have the faster cameras sleep for X-Y seconds, where X is their lag and Y is the slowest camera's lag
 
What if you have a starting time X, and as soon as a camera starts recording it calculates the time difference between that starting time and the current time, then you can just trim that amount off each video
 
7:39 PM
btw, part of ntp is calculating the drift between the server and the client, IIRC
 
Did he say he was using ntp?
That changes things
 
@AhmyOhlin the official Python docs are good, but you might want a more basic introduction if you're not already familiar with functions
 
The cameras should all respond somewhat at the same time, since they are fully identical setups. But the actual time it takes for the command packet to be transferred and received is variable.
 
He said he looked into ntp. Doesn't seem like a sure thing.
 
But not completely unpredictable, nope.
 
7:40 PM
Ok, well, lag is lag, whether it's happening in the camera's guts or in the wire that connects the camera to the server
 
Yep, I looked into NTP
 
@RodrigoSilva if your pi's are setup for NTP already, and you're worried about the time the command packet takes to tell everything "start recording", then your command packet should be the timestamp after an NTP sync (or somehow getting the timestamp from the NTP server if that's guaranteed to be more accurate)
all the clients have to do is say "I started at Tx". Then whatever is combining them takes the latest start time, or whatever
 
@WayneWerner isn't there a chance something might be lost? It's probably not an issue though, even if the one second is lost. I think I'm overthinking this.
 
Sure, there's always a chance. I don't know what your output stream is supposed to look like, though.
 
@Kevin Right, wouldn't the schedule solution be the best fit then?
 
7:46 PM
If it's not an aggregation, great - just start with whichever camera started first
but if you're like... making something like a security camera
well heck, even in that case I'd just show 'no video available' until it came online
 
@WayneWerner it's 3 video streams of people doing whatever they're doing, one of the first problems we'll need to solve is make a sort of 3rd extrapolation of their position
So that's why I'm being picky about the synchronization
 
okay, so if that's the case then yes, you'll want to drop the first bits of time
you just won't have any data until whatever time T your 3 video streams have started. BTW I suspect you can probably warm up the camera before you actually start recording video
 
Hm... That makes sense.
It would take the camera setup time out of the equation
Well, thanks for your time guys, that was really helpful :)
 
rbrb guys, had a good time!
lol
 
8:12 PM
i got this error when i change open(file, w) to open(file, a):
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 16 column 1 (char 267)
 
Dec 5 '17 at 8:50, by Arne Recknagel
@AhmyOhlin If you want to format code in a post, press ctrl+k, or see the code formatting guide for more info: https://chat.stackoverflow.com/transcript/message/40291589#40291589
and you should use an external paste tool for your code since it's (slightly) longer than 12 lines
 
i used ctrl+k.
 
A JSON file has a single JSON text in it. If you reopen the file and append another JSON text to the end, it’s no longer a JSON file. That’s why you get an error when you try to read it as a JSON file.
 
@abarnert I see. Thanks Thanks
but how can i append JSON file?
 
That question doesn’t make sense. What are you actually trying to do?
If you want to add more stuff to the JSON object or array, you load the file, add stuff to the dict or list, then overwrite the file with the new version.
if you want a sequence of completely separate JSON texts that you’re going to read in a loop, that’s not a JSON file, but it is a JSONLines file, or a JSONL file, or one other similar standard that I forget the name of. But you have to be careful to eliminate all paragraph terminators (like \n), including escaping any terminators in strings.
 
8:19 PM
Methinks you either need a second json file (for a second object/set of data) or as abarnert stated, append the new data to the end of the old data, then save the lot to the file. Just like strings - you don't add to the end, you add to the string and reassign the value.
 
I want to append a new list to the JSON file instead of deleting all the stuff and overwriting it again
 
Why do you want to avoid overwriting? Often people want that but don’t actually have a good reason, so they make things more complicated than they need to be for no benefit.
 
Unless it's a very large list, or the existing data is very large, overwriting shouldn't be an issue?
 
@davidism could you use a flag please, I don’t have time to look :-/
 
because I think it will take a more time by overwriting. This script will write a new line every 1 minute for 24hours
 
8:23 PM
The big question is: what do you want to do with the file? If you expect to read it all back in as one big list later, then you either want to overwrite, or you don’t want JSON.
 
DSM
I've been known to use jsonl (the file isn't JSON, but each row is) when I was working with very large log files.. 60 * 24 isn't quite large enough for me to start caring, though. ;-)
 
Time how long it takes to rewrite a 1440-line file. Then decide if you still want to worry about it. You’re probably agonizing over saving a fraction of a second of IO work per day.
 
I want to use this file as log to store all data od sensors
 
But what are you going to do with that log?
 
sorry. I will store the data in Elasticsearch data base but the second copie will be the JSON file
I will have a new JSON file every 24 hours
 
8:28 PM
That still doesn’t explain what you want to do with that file, only that you want to have it for some unspecified reason. If it really has to be a JSON file, you really do want to overwrite it every minute. If it can be JSONL instead, or a dbm or a SQLite database or a million other things for that matter, that’s a different story.
 
Hi! I have a JSON question as well. I am getting a list/a lot of data from a website that gives it as JSON.

I get a huge string with the data similar to:
{'price': '0.00394000', 'symbol': 'VIAETH'},

in format
How would I go about logging each unique symbol?
I was thinking of using a set? But not sure how to approach it
 
You can sort of hack your way around writing a JSON file iteratively: you write a [ at file creation time, append a , after appending each json.dump, and append a ] when you finalize the file. But that’s only worth the effort in pretty uncommon cases.
 
DSM
@Annabelle: first, that's not JSON -- the quotes are wrong. Is that exactly the format you're seeing?
 
Is each of those objects in a top-level list or something? You need to give us a complete (but stripped-down) example.
 
Ah it's basically something like:
[ {'price': '0.00394000', 'symbol': 'VIAETH'}, {'price': '0.00394000', 'symbol': 'VIABTC'}, {'price': '0.00394000', 'symbol': 'VIALTC'}]
Right now it simply is in a variable after using the requests library to get it
 
8:32 PM
I assume that’s not the input, but what you get from printing out the result of json.loads on the input?
If so, what you want is a set comprehension like {thing['symbol'] for thing in listofthings}
 
Yes, that's what I get from using json.loads
data = json.loads(response.content.decode('utf-8'))
print(data)
 
DSM
Okay, so it's just a list of dictionaries, in which case @abarnert is right.
 
If you don't understand set comprehensions, you can write that as a loop statement.
symbols = set()
for thing in listofthings:
    symbols.add(thing['symbol'])
 
I'm 99% sure response.text would be more correct than response.content.decode('utf-8')
Or, you know, just use response.json()
 
@MartijnPieters OK, I raised a flag on the last link.
 
8:37 PM
Awesome
this worked
data = json.loads(response.text)
symbols = set()
for thing in data:
symbols.add(thing['symbol'])
print(symbols)
 
I just spent the last hour unrolling my really long comprehensions :| because my boss told me the code is not a prototype
 
You don't actually have to call it thing, of course. It's also legal to use quantumofstuff.
 
My Strange Addiction
 
yeah I'll change the name to make it easier to read
aha
uh
 
DSM
"Really long comprehensions" are usually a bad idea. They're supposed to be used to make code easier to read, not because you want to write horizontally instead of vertically in a way which makes it harder to debug.
 
8:38 PM
It only adds when it's unique right?
If I understood the concept of a set properly
 
@abarnert thank you very much for your help. My Question now is why Python gives us the Possibility by JSON FILE to open it for append with open('file.json', a ), when the JSON FILE is not appendable.
 
@DSM they usually start short, but I just keep trying to squeeze more things into them
 
with possibility i mean the option 'a'
 
How would Python know the type of the contents of the file?
 
Hmm, I see. The option "a" is not for JSON file.
 
8:46 PM
is "JSON file" a thing?
 
I too enjoy rubberduck debugging
 
"JSON file" was defined by the pre-standardization JSON pseudo-spec as "a file whose contents are a JSON document".
And "JSON document" meant a JSON-encoded object or array.
 
wim
are undocumented modules undocumented if they're documented as undocumented? philosoraptor.jpg
 
But the standard doesn't define either. A "JSON text" is any JSON-encoded value, and files are outside the scope of what JSON is about.
The original idea for "Undocumented Modules" was that they document that the module exists, but tell you nothing at all about what's in there. Most of those modules were just removed at some point, whenever someone tried to use one for the first time in 7 years and realized they don't actually work.
 
wim
9:04 PM
Hah. Well if they remove posixpath module without warning I will be in a world of đŸ’©
 
The better question is: Why isn't tkinter in that Undocumented Modules chapter?
 
wim
was that a joke I'm missing ?
 
They did add a mini-tutorial at some point, but the "handy reference" is not actually reference docs. And there are no reference docs anywhere. They do give you links to an incomplete online book from the 2.3 era, a book that's only available in-print from used book sellers, other stuff like that, and the Tcl docs.
 
wim
anyone want to have a shot at kwonly dataclasses before I give the accept to user23571113171923
 
At least they turned tkinter.colorchooser and friends from 404 links to not-links.
 
wim
9:08 PM
can't believe he only got one measly up-vote for that nerd-snipe
 
9:19 PM
that's gnarly
 
wim
Yeah, it's gnarlier than I expected. Kind of a bummer the ellipsis syntax didn't work, I'm still not 100% clear whether that's CPython imlementations fault or the language itself.
 
@wim considering how the traditional reward for falling for a nerd snipe is severe bodily harm, he isn't that bad off
 
hmm... just realized I forgot to account for InitVars in the first implementation, too. They're not included in the fields() tuple, but they're still passed to __init__.
handling that right, in a way that stays correct when the implementation changes, is going to be tricky.
I don't think the current dataclasses implementation understands string annotations, but I want my implementation to work correctly both now and once dataclasses does understand them.
 
wim
I don't like the field repr
>>> @dataclass
... class A:
...     x: str = '1'
...     y: int = 1
...
>>> A.__dataclass_fields__
{'x': Field(name='x',type=<class 'str'>,default=1,default_factory=<dataclasses._MISSING_TYPE object at 0x7fffeae364a8>,init=True,repr=True,hash=None,compare=True,metadata={}),
 'y': Field(name='y',type=<class 'int'>,default=1,default_factory=<dataclasses._MISSING_TYPE object at 0x7fffeae364a8>,init=True,repr=True,hash=None,compare=True,metadata={})}
(default=1) arguably a bug
 
eesh, that needs fixing
 
wim
9:33 PM
they use f-strings pretty liberally in there
 
I just saw this gem in the man pages for ldapsearch:
Oh shoot I can't copy paste
 
ctrl+shift+c?
or is it a remote terminal thing?
 
into the browser I forgot... Just search University and you'll see the authors roasting random colleges
This chrome window is open through VMWare no clipboard sharing allowed
for security and stuff shrug
 
9:57 PM
non-init fields need handling too, but that should be simple enough... kwonly InitVars would be even tougher to support than regular InitVars, which are already a problem...
 
wim
> don't think the current dataclasses implementation understands string annotations
^ it does (3.7.0b1)
 
If I turn on from __future__ import annotations, dataclasses stops understanding InitVar, and probably ClassVar (didn't try that one yet).
 
Huh, colon on the right hand side is a slice, colon on the left hand side is an annotation. I don't like that.
 
I wish there was a better way to introspect InitVars. My current attempts try to introspect the generated __init__ method and count its parameters.
 
wim
10:25 PM
I wish there was a way to do dataclasses without the annotations
@AndrasDeak what do you mean?
 
wim
10:36 PM
Do we not do self-answers anymore? They seem to just get downvoted for no explained reason.
 
officially insta-self-answers are a good way to create valuable content but I can also see why many people would frown at a lot of instances
@wim I mean that colons have a bit too many meanings
 
There're no downvotes on that answer, AFAICT. The only downvote is on question
 
and I don't like annotations so it all fits :D
 
Officially, they're okay. Unofficially, unless you have a well-presented question and a really good answer, people will think "why did you ask if you already know".
Probably helps if your answer is long enough that people never scroll down far enough to see who posted it.
I wonder what the use case of Signature.replace is supposed to be. There's not much you can do with a modified signature object.
 
wim
@vaultah downvotes on questions are free, downvotes on answers cost ... :)
@AndrasDeak perhaps. also equals signs.
def foo(arg=lambda arg=arg: arg==arg):
    ...
argh!
 
10:55 PM
heh
def arg(arg=(lambda arg=arg: (arg==arg))): there you go, much better
 
wim
also delights like dict(k=lambda k=1:1)
 
@AndrasDeak that certainly makes me say "arg" a lot
 
def foo(arg:arg=lambda arg=arg:arg==arg):
     print('more argh!')
 
import argparse
 
I'm going to make a shortened version of argparse: import arse
There will be limitations. "Something that complex? Can't be arsed."
4
 
11:36 PM
Evening cabbage
@KevinMGranger need to fit "half" in there
 
Oh, I'll just only finish making half of it
All joking aside I want to make a more minimalistic and typed alternative to click some day
 
wim
hehe
which r will you take out, the first one or the second one?
@user2357112 Python, once beautiful language, what has become of you :(
this could keep going def foo(arg:arg=lambda arg=arg:arg==arg)->lambda:arg: ..
 
11:53 PM
perforce is cancer
 
wim
ArseParser.add_arg('--pants', required=True)
ArseError: pants are required
 
05:00 - 18:0018:00 - 00:00

« first day (2742 days earlier)      last day (2216 days later) »