|
https://twitter.com/i/status/1614676869780996098
|
![]() |
|
![]()
|
# ? Jun 5, 2023 06:56 |
|
I'm the CAUTION label on the floppy disc inserter
|
![]() |
|
I am glad this dudes immersion was ruined
|
![]() |
|
what's that one tweet where the entire internet counts on some dude maintaining a unix utility called 'NUNC' or something?
|
![]() |
|
https://twitter.com/6thgrade4ever/status/1433519577892327424?t=LZ6pN1bcv_PheTN8_T7R2Q&s=19
|
![]() |
|
yep that's it ![]()
|
![]() |
|
https://twitter.com/JeroenFrijters/status/1615204074588180481
|
![]() |
|
still better than the cheeseburger ratings
|
![]() |
|
I'd approve that pr
|
![]() |
|
terrible _codes replacement that uses a loop instead and introduces an edge-case bug_
|
![]() |
|
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 |
![]() |
|
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
|
![]() |
|
honestly my only beef is the braceless conditionals
|
![]() |
|
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
|
![]() |
|
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
|
![]() |
|
rotor posted:honestly my only beef is the braceless conditionals same
|
![]() |
|
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.
|
![]() |
|
there are only two things I hate in this world: graceless conditionals, and the Dutch
|
![]() |
|
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 |
![]() |
|
wanna run that through a screen reader lmao
|
![]() |
|
i find this pleasant to look at.
|
![]() |
|
question mark exclamation point question mark exclamation point question mark exclamation point john madden john madden john madden
|
![]() |
|
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#
|
![]() |
|
Sapozhnik posted:question mark exclamation point question mark exclamation point question mark exclamation point john madden john madden john madden aeiou aeiou
|
![]() |
|
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.
|
![]() |
|
rotor posted:honestly my only beef is the braceless conditionals
|
![]() |
|
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~~
|
![]() |
|
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
|
![]() |
|
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 ![]()
|
![]() |
|
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
|
![]() |
|
https://twitter.com/numetal_moment/status/1615237930926342144
|
![]() |
|
https://twitter.com/tony_magoni/status/1615533848401530887?s=20&t=taS4gXf31XnKOgT5V-OCbQ
|
![]() |
|
post hole digger posted:i find this pleasant to look at. same I need deets on the program and fonts
|
![]() |
|
https://twitter.com/cam_oflage/status/1615526833839304704?s=61&t=fXclgbwvRV-nPifsDM9kjQ
|
![]() |
|
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)
|
![]() |
|
echinopsis posted:same I need deets on the program and fonts me too. looks real good.
|
![]() |
|
All Day I Dream About Shell
|
![]() |
|
https://twitter.com/pikacap/status/1615740990400208905
|
![]() |
|
|
![]() |
|
![]()
|
# ? Jun 5, 2023 06:56 |
|
https://twitter.com/Kotaku/status/1615826727107796996
|
![]() |