cm0002@lemy.lol to Programmer Humor@programming.dev · 3 days agoShoulda listenedlemy.lolimagemessage-square136linkfedilinkarrow-up1754arrow-down125
arrow-up1729arrow-down1imageShoulda listenedlemy.lolcm0002@lemy.lol to Programmer Humor@programming.dev · 3 days agomessage-square136linkfedilink
minus-squaretechnocrit@lemmy.dbzer0.comlinkfedilinkarrow-up1·1 day agoBecause none of their frameworks has ever succeeded.
minus-squareblackn1ght@feddit.uklinkfedilinkEnglisharrow-up22·3 days agoAngularJS doesn’t even make sense here.
minus-squarejustlemmyin@lemmy.worldlinkfedilinkarrow-up4·3 days agoBurrito supreme or a chicken supreme?
minus-squarediaphragmwp@discuss.tchncs.delinkfedilinkEnglisharrow-up6·3 days agoThe first two are frameworks, the third is: def serve(p: int, f): s = socket.socket() s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # let me reset plz s.bind(("", p)) s.listen() while True: c, a = s.accept() c.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) t = threading.Thread(target=serve0, args=(c, a, f)) t.daemon = True t.start() I have an entire file of some really cursed malicious compliance code for when I was brutally forced to write Python.
minus-squareAatube@lemmy.dbzer0.comlinkfedilinkarrow-up2·2 days agoI notice the absolute absence of "index.html"
minus-squarediaphragmwp@discuss.tchncs.delinkfedilinkEnglisharrow-up1·2 days agoThere are a few XHTML pages and templates later in the file hardcoded into single strings. Some stuff is populated from markdown (or was it gemtext? don’t feel like opening it again). I used XHTML because it’s easier to notice escaping mistakes.
minus-square_stranger_@lemmy.worldlinkfedilinkarrow-up3·3 days agoSeriously, I came to post this exact comment. Damn.
Why is Python on the list three times?
Because none of their frameworks has ever succeeded.
JavaScript has similar.
AngularJS doesn’t even make sense here.
Because Python is supreme.
Burrito supreme or a chicken supreme?
Love supreme ❤️
The first two are frameworks, the third is:
def serve(p: int, f): s = socket.socket() s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) # let me reset plz s.bind(("", p)) s.listen() while True: c, a = s.accept() c.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) t = threading.Thread(target=serve0, args=(c, a, f)) t.daemon = True t.start()I have an entire file of some really cursed malicious compliance code for when I was brutally forced to write Python.
I notice the absolute absence of
"index.html"There are a few XHTML pages and templates later in the file hardcoded into single strings. Some stuff is populated from markdown (or was it gemtext? don’t feel like opening it again). I used XHTML because it’s easier to notice escaping mistakes.
Seriously, I came to post this exact comment. Damn.