|
https://twitter.com/i/status/1614676869780996098
|
# ? Jan 16, 2023 05:10 |
|
|
# ? Apr 25, 2024 11:35 |
|
I'm the CAUTION label on the floppy disc inserter
|
# ? Jan 16, 2023 05:21 |
|
I am glad this dudes immersion was ruined
|
# ? Jan 16, 2023 07:59 |
|
what's that one tweet where the entire internet counts on some dude maintaining a unix utility called 'NUNC' or something?
|
# ? Jan 16, 2023 13:17 |
|
https://twitter.com/6thgrade4ever/status/1433519577892327424?t=LZ6pN1bcv_PheTN8_T7R2Q&s=19
|
# ? Jan 16, 2023 13:20 |
|
yep that's it
|
# ? Jan 16, 2023 13:25 |
|
https://twitter.com/JeroenFrijters/status/1615204074588180481
|
# ? Jan 17, 2023 19:19 |
|
still better than the cheeseburger ratings
|
# ? Jan 17, 2023 19:21 |
|
I'd approve that pr
|
# ? Jan 17, 2023 19:40 |
|
terrible _codes replacement that uses a loop instead and introduces an edge-case bug_
|
# ? Jan 17, 2023 19:49 |
|
for real the bad part is the default return at the end, i assume there should be some boundary to ensure the value is between 0 and 1 that would perform well too i'd use pattern matching to shorten it up a bit verdict: whatever, it's fine e: actually, why is that a double instead of a decimal or int? that part is questionable as heck. PR rejected Cold on a Cob fucked around with this message at 19:54 on Jan 17, 2023 |
# ? Jan 17, 2023 19:52 |
|
fwiw in c# you can do this instead: new String(char x, int count) so you could do a readable version that's more succinct but it wouldn't perform as well. you can also do some poo poo with string.Empty and padding methods
|
# ? Jan 17, 2023 19:57 |
|
honestly my only beef is the braceless conditionals
|
# ? Jan 17, 2023 20:08 |
|
rotor posted:honestly my only beef is the braceless conditionals oh yeah true, didn't even think of that so yeah basically it has problems but not the lack of cleverness that a lot of people would cite
|
# ? Jan 17, 2023 20:11 |
|
rotor posted:honestly my only beef is the braceless conditionals no need for multiple conditionals either, since a return is going to break out anyway. they could get away with a single conditional per line with some slight changes
|
# ? Jan 17, 2023 20:14 |
|
rotor posted:honestly my only beef is the braceless conditionals same
|
# ? Jan 17, 2023 20:14 |
|
Switching over (int) percentage * 10 is going to be more efficient if you’re really concerned about the micro costs of string manipulation right before you hand a string of emoji to the text renderer.
|
# ? Jan 17, 2023 20:22 |
|
there are only two things I hate in this world: graceless conditionals, and the Dutch
|
# ? Jan 17, 2023 20:25 |
|
interesting twist - the filled in circle requires two utf-16 characters which means afaik you can't get away with using String class initializer that takes a char and int, so here's what i ended up with (lol): i'd just stick w/ the way they did it with minor improvements e: more succinct than the OG but i assume would perform well? Cold on a Cob fucked around with this message at 20:39 on Jan 17, 2023 |
# ? Jan 17, 2023 20:31 |
|
wanna run that through a screen reader lmao
|
# ? Jan 17, 2023 22:25 |
|
i find this pleasant to look at.
|
# ? Jan 17, 2023 22:33 |
|
question mark exclamation point question mark exclamation point question mark exclamation point john madden john madden john madden
|
# ? Jan 17, 2023 22:40 |
|
nudgenudgetilt posted:no need for multiple conditionals either, since a return is going to break out anyway. they could get away with a single conditional per line with some slight changes i dont know much c#
|
# ? Jan 17, 2023 22:44 |
|
Sapozhnik posted:question mark exclamation point question mark exclamation point question mark exclamation point john madden john madden john madden aeiou aeiou
|
# ? Jan 17, 2023 22:52 |
|
i mean it isn't a c# thing. if the statement above returns when =< foo, you don't need to immediately test if > foo on the next statement, you can infer it to be true.
|
# ? Jan 17, 2023 22:52 |
|
rotor posted:honestly my only beef is the braceless conditionals
|
# ? Jan 17, 2023 23:07 |
|
Cold on a Cob posted:for real the bad part is the default return at the end, i assume there should be some boundary to ensure the value is between 0 and 1 idk if it's doing a "how strong is your password" or whatever then you'd expect the value to be >0 and past 1 you don't care because you're at ~~maximum strength~~
|
# ? Jan 17, 2023 23:20 |
|
Sapozhnik posted:question mark exclamation point question mark exclamation point question mark exclamation point john madden john madden john madden lmao I changed my wife's phone lock screen message to read "John madden!" in reference to this and she couldn't figure out how to change it so it's just there now forever she doesn't even know who John madden is either
|
# ? Jan 17, 2023 23:22 |
|
Powerful Two-Hander posted:idk if it's doing a "how strong is your password" or whatever then you'd expect the value to be >0 and past 1 you don't care because you're at ~~maximum strength~~ yeah maybe but then i'd want that to be documented, but i ain't going to the original code to check if it was post hole digger posted:i find this pleasant to look at. i hosed up and should have shifted the top line over to the right so the bubbles would all stack nicely
|
# ? Jan 17, 2023 23:27 |
|
absolute +1 for putting unicode in though that's top tier "this is gonna gently caress people up and I don't care". I used the correct Unicode symbol for >= and =< in web and SQL code exactly for that reason because then I could tell a specific consumer to gently caress off and use utf-8
|
# ? Jan 17, 2023 23:40 |
|
https://twitter.com/numetal_moment/status/1615237930926342144
|
# ? Jan 18, 2023 06:02 |
|
https://twitter.com/tony_magoni/status/1615533848401530887?s=20&t=taS4gXf31XnKOgT5V-OCbQ
|
# ? Jan 18, 2023 06:57 |
|
post hole digger posted:i find this pleasant to look at. same I need deets on the program and fonts
|
# ? Jan 18, 2023 10:30 |
|
https://twitter.com/cam_oflage/status/1615526833839304704?s=61&t=fXclgbwvRV-nPifsDM9kjQ
|
# ? Jan 18, 2023 13:42 |
|
Cold on a Cob posted:interesting twist - the filled in circle requires two utf-16 characters which means afaik you can't get away with using String class initializer that takes a char and int, so here's what i ended up with (lol): update - this came up elsewhere so i benchmarked and the switch statement with static strings was obviously the fastest solution: but that said - obviously if this isn't invoked often (and i doubt it is, it's a ui rendering thing) then who cares. also obviously if the number of bubbles needs to be dynamic then you're gonna be looping anyway, though you could speed it up with spans + unsafe (look at the dotnet source for string handling methods if you ever need to do this)
|
# ? Jan 18, 2023 21:48 |
|
echinopsis posted:same I need deets on the program and fonts me too. looks real good.
|
# ? Jan 18, 2023 22:07 |
|
All Day I Dream About Shell
|
# ? Jan 18, 2023 22:37 |
https://twitter.com/pikacap/status/1615740990400208905
|
|
# ? Jan 19, 2023 09:29 |
|
|
# ? Jan 19, 2023 15:40 |
|
|
# ? Apr 25, 2024 11:35 |
|
https://twitter.com/Kotaku/status/1615826727107796996
|
# ? Jan 19, 2023 16:17 |