Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

cosigned

Adbot
ADBOT LOVES YOU

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

akadajet posted:

what is coding in goblin mode?

goblin mode is where you sacrifice things like a normal life, hygiene, health, etc to get poo poo done. it used to just be about living like poo poo in a hedonistic manner but this new definition was embraced by the grindset crowd

e: actualy nevermind it's this:

Armitag3 posted:

goblin these nuts

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

Powerful Two-Hander posted:

the secret Canadian has logged the gently caress on

sa is full of canadians, we don't have much else to do but post tbh

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

jesus WEP posted:

if nmn hasnít used that as a page snipe yet he should be ashamed of himself

i'm pretty sure he has

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

Kernel Sanders posted:

are winter tyres not a thing is north america?

definitely. they're even legally mandated in Montreal where that was filmed, but sometimes you get a blizzard at unusual times

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

the fabled monitor that's always on :prepop:

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

hell yeah i love tesla autopilot?!?!

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

holy poo poo

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

lol got one of these the other day, they're on step 4 and i'm reading it like "i don't even remember your first company name who are you???"

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
blackwater would be a good name for an extremely snobby coffee joint where you get yelled at if you ask for sugar or cream

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

Shaggar posted:

lmao forever at musk not doing any discovery of twitter at all before buying it

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
it's so loving obvious in retrospect that parag was just there to keep the lights on until they tricked a buyer

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

rotor posted:

i still maintain that he initially had no intention of actually buying it and thought he could wriggle out of it

completely agreed

i'll even go a bit further and say the board threatening the poison pill stuff might have even been a little 4d chess to get elon's oppositional defiance disorder to kick in but for real

(probably not though)

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
i was thinking about how twitter has probably never had a very good ceo

maybe evan williams? but he stabbed jack in the back but was so dumb he didn't see jack consolidating power to get back at him so i guess not very good

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

feeling called out, right down to the movie chosen for the joke :negative:

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

lol

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

those children did nothing wrong :colbert:

eat poo poo skynet

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

Roosevelt posted:

looks like combat footage to me

indeed. absolute bloodbath.

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

terrible

_codes replacement that uses a loop instead and introduces an edge-case bug_

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
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 18:54 on Jan 17, 2023

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
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

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

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

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
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 19:39 on Jan 17, 2023

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

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 :shobon:

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

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):



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?



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)

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
we all know uncle bob is a chud, no reason to give him the views. let him die irrelevant

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

FMguru posted:

lol lmao

https://twitter.com/ranimolla/status/1620086158880571397

mark zuckerberg (net worth $55bn) on meta (72k employees): "we are a scrappy little startup now!"

they all want to go hardcore mode like elon but forget the only reason people work their asses off at startups is because of the RSU lottery tickets. that's it.

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice

rotor posted:

i used to work at some place where the CEO was constantly complaining about how lazy the programmers were and when HE was a programmer he was working 12 hour days and weekends. The same employee without fail would respond with "yes, because you owned 60% of the company. Give the programmers you're asking to work 12 hour days and weekends 10% of the company and you'll absolutely see that kind of effort" and somehow the CEO never responded.

Anyway, giant companies talking about being 'scrappy' and 'nimble' never fails to be hilarious to me. Its just such transparent bullshit.

not an endorsement of dhh in general but i do appreciate he's one ceo that has been pushing back against this grindset bullshit for years

https://twitter.com/dhh/status/1225148526033637377
https://twitter.com/dhh/status/1225150789821198337

Adbot
ADBOT LOVES YOU

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually
College Slice
lomarf

holy poo poo i'm dying y'all

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply