User Controls
I just spent like two hours of my evening making sure you can all read the second page of search results for RisiR's posts
-
2018-09-12 at 7:14 AM UTC
https://github.com/Lanny/ISS/commit/c318a4113605875a07785c7ccbbac5ec3a91e0f3
This may be the densest line of python I've ever written:
return ''.join([(chr(ord(c)) if ord(c) < 256 else c.encode('utf-8')) for c in fucked_unicode_str])
but at least it's not perl.
-
2018-09-12 at 7:53 AM UTCthank you for your service
-
2018-09-12 at 8:03 AM UTC
-
2018-09-12 at 8:31 AM UTCI barely understand Python, but I can tell that that is a clever line of code.
Also (((Some))) browsers π -
2018-09-12 at 8:47 AM UTC
-
2018-09-12 at 9:57 AM UTCLanny can hack time.
-
2018-09-12 at 10:06 AM UTCps. no need for it to be that dense if you don't want it to be
I can only assume you do and will slowly join the perl side -
2018-09-12 at 10:25 AM UTC
Originally posted by aldra ps. no need for it to be that dense if you don't want it to be
I can only assume you do and will slowly join the perl side
I have a philosophical position on list comprehensions which is basically that they should be used where you'd do map in other languages but you're not going for point free style (which I increasingly think is justified since I'm not crazy about the lambda syntax and I have a nagging suspicion that the interpreter isn't smart about it and it ends up using an extra stack frame relative to LCs). And that's what this is, using a full for loop would maybe save you some eyestrain if you're not familiar with the LC/ternary syntax but I don't actually think it would make the logic any clearer.
That said I do have a kind of love of batshit crazy perl oneliners. I don't particularly like the language, I used it recently and the multi-dimensional array, reference, and hashmap syntax (which interoperate in weird ways I still don't really get) just seem like a wart instead of something that does anything to improve expressiveness. But I like the way perl programmers think and the culture that has a certain sense of privacy and autonomy that necessarily goes with the prevailing attitudes towards accessibility and authorial freedom to shoot yourself in the foot.
-
2018-09-12 at 10:36 AM UTCYeah, arrays weren't designed fantastically and maps/hashes are confusing. I suspect the latter mostly evolved form a specific mindset and/or use case which diverged from consensus a long time ago; they seem bizarre even coming from lower-level languages
-
2018-09-13 at 12:12 AM UTCTY lamy.
-
2018-09-13 at 12:18 AM UTCThanks I've been struggling with this lately I thought it was just on my end.
-
2018-09-13 at 12:23 AM UTC
-
2018-09-13 at 12:31 AM UTCJavascript is the only true path to enlightenment.
-
2018-09-17 at 7:22 AM UTCNice. I didn't think it would be that much of a pain or I probably would've left it alone, hopefully you got some sort of enjoyment out of it
I honestly thought it was on my end, like my phone supported characters that my browser didn't or some crazy shit like that
Thanks though, hopefully it will have more use in the future -
2018-09-17 at 7:24 AM UTCI spend two hours reading shit posts on nis
It's not any large amount of time
You normies of the fleshnet have it really shitty having to live according to a schedule -
2018-09-17 at 7:34 AM UTCBravo. Magnificent. Stupendous.