#programmers-off-topic

1 messages · Page 92 of 1

worn remnant
#

i also do a pan pizza, which is a lot like matt's picture up above but in a round cast-iron skillet

cyan shadow
#

but at one point a group had to part like the red sea to let me through

marble jewel
#

Sounds like a scene from a zombie apocalypse movie

cyan shadow
#

some of us are still in thesis hell but the fresh-faced babies drinking hard seltzer and bad beer have descended upon the city

cinder karma
#

Ooh!

marble jewel
#

When I first started, I didn't have a lot of success, but what helped was getting a proofing box since my house is usually kept cooler than the ideal temperature

worn remnant
#

you can use sourdough starter in place of conventional yeast in almost any bread or breadlike recipe, as long as you have more time to let it rise and account for hydration

devout vault
#

Huh

#

I don't even know what sourdough starter even is, so...

worn remnant
#

bread goo

devout vault
#

(beyond the obvious from the name)

marble jewel
#

It's just an active culture instead of yeast which is dry

#

In other words, you're putting living organisms into your dough

devout vault
#

Oh boy, I love eating baked corpses

cinder karma
devout vault
devout vault
#

Also, gotta say: you people are cowards

heavy daggerBOT
devout vault
#

Seriously, that was perfect

#

And I had to quote it myself

#

smh

cyan shadow
#

hiya!

marble jewel
#

It'll be fun the job opportunities for developers having to come in, learn, and fix vibe codebases for 10x the pay they would have to just build it right to begin with

lethal walrus
devout vault
#

And 100x the difficulty/brain damage from reading the code!

cyan shadow
lethal walrus
#

must've

safe dragon
#

🎉

cyan shadow
# safe dragon 🎉

i took a wrong turn and accidentally biked in front of the worst student association in the city

safe dragon
#

oh no

cyan shadow
#

i had to visit them for my own intro week and i don't even know why our group had to visit them

#

there were only two dutchies in the group and the association doesn't allow internationals to sign up

#

so the presentation was only in dutch and they ignored the internationals completely beyond giving us bad beer and a limp curry sandwich

cyan shadow
# safe dragon oh no

all of them shitfaced. their building is quite literally beer-soaked, so this is a default setting

crystal wren
#

They gave you Heinek-

cyan shadow
#

worse

crystal wren
#

No, no, I can't say that. SDVkrobusgiggle

cyan shadow
#

bavaria

#

the cheap shit

crystal wren
#

With Crumble present, that might be a dangerous joke! SDVkrobusgiggle

safe dragon
#

what's the dangerous joke

cyan shadow
#

heineken being bad beer

safe dragon
#

oh

cyan shadow
#

except it can't be a joke if it's true-

safe dragon
#

I don't drink. I think all beer is vile

#

we good

crystal wren
#

Yeah, I just don't like any beer.

cyan shadow
#

fair play tbh

#

i like a few

devout vault
cyan shadow
#

but i'm mostly a cocktail person

devout vault
#

Watch: I'm a terrible person

#

Funny, see?

#

runs away from atra

crystal wren
marble jewel
#

I enjoy the craft of local brews, but seldom consume anymore

safe dragon
#

tbh I don't think you're going to find many dutch people who think heineken is good it's just cheap

cyan shadow
#

yeah most of the ones i know prefer literally anything else aside from bavaria

cyan shadow
#

now that i've moved to nl i don't see much of that tho

#

i know of maybe.... 3 craft breweries

safe dragon
#

I know 0

devout vault
#

I think there's several here

#

I don't drink but one of my brothers likes craft beer places

#

"why are the silksong-ers going feral this time"
<checks news>
"wait is there actually news beyond the nintendo direct 2 second clip coming?"(a "special announcement" in two days or something)

grave meteor
#

I love those stupid fancy beers

#

bc some of them dont taste like beers and it makes me feel like a beer person

cyan shadow
#

fruity beers are my favourite for days when i don't want a cocktail but would like to not drink something that tastes like beer catnod1

#

they just taste like fruit punch and i think that's fun

cyan shadow
grave meteor
#

grind doesnt stop

#

i have a real analysis prelim im dreading

cyan shadow
#

good luck!

grave meteor
#

truly dying on the inside w this shit

#

any fellow mathers will understand the struggle i have upon me

cyan shadow
#

i don't math but i'm in thesis hell so i get the spirit, i suppose

#

we're both in hell, just different circles of it

grave meteor
#

i just need to pass or get one q right on a test

grave meteor
#

sorry i think i forgot how to social bc im having a shitty social day

cinder karma
cyan shadow
indigo mistBOT
#

Buy Joja Cola™ today

safe dragon
#

ok I will

dusty pollen
marble jewel
#

If any Linux folks are still around, do you have a shell preference?

dusty pollen
marble jewel
#

I'm used to bash, but I've been considering switching to zsh

#

(I tried fish and nushell, and those are too different for my liking)

grave meteor
#

Sounds like there's a lot to research and go off of

dusty pollen
#

it has some nice features and is VERY close to bash on the base level so you only have to use them if you actually want to

cinder karma
#

I use zsh at home

marble jewel
#

I mostly use zsh on my Macbook because it's the default, but everywhere else it's been bash. The problem is I maintain two versions of my scripts to support both. So it would be better if I just used zsh all around.

cyan shadow
#

there's a lot to read, yeah

terse galleon
cyan shadow
#

it's been fun. i'm mostly focusing on one type of chatbot which narrows my scope down a lot

grave meteor
#

has the new GPT five altered anything in ur process?

cyan shadow
#

i'm not touching gpt 5

#

out of scope

#

i should bring up the clamouring to bring 4 back as an example tho

grave meteor
#

I see I just was wondering if its implimentation of being "less friendly" has any impact

dusty pollen
#

are you even touching any genAI?

cyan shadow
#

... dammit shroom i have to make edits now

grave meteor
#

im sorry i should have shhhed

cyan shadow
#

i guess that counts

dusty pollen
#

there's so much to say even without it tbh

#

big topic

cyan shadow
#

the bots i need to focus on in particular are more limited in what they can do but they lean heavily on the human-like language a la ELIZA

#

Weizenbaum's warnings made him a pariah but he was right omg

grave meteor
#

interesting so bots trained with the idea of only conversing with people

cyan shadow
#

yeah they don't generate images and such

#

they serve a specific purpose and nothing else

grave meteor
#

scary they make those

dusty pollen
#

I already told you about my personal weird experience with someone getting very parasocial with an advice bot haha

grave meteor
#

arguable the least interesting form of AI tbh from an applications standpoint***

cyan shadow
#

my specific can of worms for these is the kind of data they use

#

on their own, they do have immense potential for their use case and could genuinely be useful, but from a data protection and consent angle, they're a bit iffy

grave meteor
#

I wonder if once they feel a model is good enough they will straight up do a full paywall

#

like for GPT just full paywall to use

cinder karma
#

Quill did you see the recent case wrt chatgpt injesting books

pliant snow
cyan shadow
#

brazen! shameless!

#

someone should sic Anne Rice on them tbh she doesn't even allow people to write fanfiction on her work

marble jewel
fleet wren
#

stuff like commands being green if it’s valid or autocomplete selection

pliant snow
#

Im curious which bash items caused the most issues. I personally find it a benefit i can remember fish's for loop syntax, since i had to always look up bash

marble jewel
#

CachyOS has fish as the default, and I found myself having to look up the fish way of things a few times before I just chsh back to bash

rain apex
#

Gang how do i use just sql to like

#

Prepend a row with sum of each column

marble jewel
#

Most sql variants will perform math and string concatenation, if that's what you're going for. Are you only trying to add known columns?

rain apex
#

No like

#

I have a table with a column of numbers (duration)

lethal walrus
#

wouldnt it just be a better idea to run the sum in the query

rain apex
#

They r numbered 1 to 1000

#

I would like to sql this table such that i have a new row numbered 0 whose duration column is the sum of 1 to 1000

marble jewel
#

column of numbers
Is this one column a numerical data type?

rain apex
#

Yeah numerical (it's duration in ms)

marble jewel
#

So the value of the new row is the sum of all the previous values?

rain apex
#

I know how to select a sum but i dunno how to like, join these back into 1 view

#

Naw im basically just trying to add 1 new row

marble jewel
#

You say add a row... but that changes the value of the existing table if you're actually adding a new row. Is that what you're trying to do.

rain apex
#

So that it becomes like
0, <sum of this whole column>
1, duration1
2, duration2

#

And so on

marble jewel
#

So you have rows 1 -1000, and this new row that has the sum of the previous rows as well as it's own value so you end up with a new sum that is double what it was previously

rain apex
#

It shouldn't sum itself

#

Just sum of 1 to 1000

marble jewel
#

It sounds like you're taking a table of raw data, and trying to format it as a pivot table, which isn't really how tables are intended to be worked with, even though it's possible

rain apex
#

Am i LilyDerp

marble jewel
#

Like, what you're trying to accomplish is perhaps better served as a view

#
CREATE VIEW AS
SELECT 0, SUM(value) FROM table
UNION ALL
SELECT rn, value FROM table ORDER BY rn
rain apex
#

I guess so, ultimately i am just confused about how to write the sql query

marble jewel
#

A view could union two results where one is the sum you're looking for, while the rest is the table

#

This way you're not modifying the results based on a calculation, which if you think about it is a recursive task

rain apex
#

Yeah true

#

Ok it turns out my query was correct aside from not having the ALL kyuuchan_run

#

Ty matt

marble jewel
#

(That may not work for every flavor of sql)

rain apex
#

I have no idea what flavor im on

#

What does grafana use blobcatgooglyblep

marble jewel
#

That is ANSI, but mysql, postgresql, databricks, sqlite, sql server, etc. all have differences

#

I guess Grafana describes itself as mysql-like so you should be fine

rain apex
#

I feel confusion everytime i am forced to do something other than write C at work kyuuchan_run

#

But i am not really sure how to become better at sql per say

#

Aside from use it more

heavy daggerBOT
devout vault
#

By the way, y'all need to be aware

#

.q 6573

heavy daggerBOT
#
#6573

I have a new respect for PHP

supple ether
#

fyi that jump link counts as getting pinged into the thread

#

not sure if that was intentional or accidental

rain apex
#

we were trying to trap crumble into modding zone

supple ether
#

today I learned that c# lets you make readonly properties

devout vault
#

Huh. Well, this is an always an option for those infected with modding juju:

devout vault
supple ether
#

I mean the keyword

devout vault
#

why

supple ether
#

VS suggested it when I added a property to a record struct

rain apex
#

wat

steel kraken
#

navigating to a link to a thread shouldn't make you join it unless you send a message or join it, should just go poof once you go to a different channel again

supple ether
#

idk if it actually does anything? but apparently if you have a property that only reads instance data on a readonly struct, you can make the property readonly too

cinder karma
#

Ah

supple ether
#

In an instance member declaration within a structure type, readonly indicates that an instance member doesn't modify the state of the structure.
from microsoft. interesting. I can see how that would be useful

cinder karma
supple ether
#

can you tell I never use structs

cinder karma
#

Structs are the best

devout vault
#

(I actually wouldn't mind that... if it were implemented a bit better somehow)

cinder karma
#

I love using structs then going through contortions to pass them by reference

supple ether
#

they're cool, it's just that I usually don't have a reason to use them

devout vault
#

There's always a good reason to use them! ...they highlight to a different color in your IDE

supple ether
#

here I'm using them for source generator data because I don't want to deal with incremental change detection myself

devout vault
#

(Unless you like the original class color better - I can't recall which colors are which so I don't know which I like better)

cinder karma
#

In VS 2022 structs and classes were thr same color in the default theme

supple ether
#

thank you record structs for all of the nice things you do automatically

cinder karma
#

I got so mad

#

Had to immediately fix it

steel kraken
#

records are so good I love them

devout vault
steel kraken
#

I was sad when I had to abandon one of them to make some of the json serialization happy

devout vault
cinder karma
#

Tbh I started using primary constructors after a while

#

I feel like c# has too many class types but I wouldn't get rid of any of them

steel kraken
#

I'm still typescript / data driven pilled and like data only containers

supple ether
# devout vault Like modify some data and the source generator running new files? Can you not j...

so the way incremental generators work is you have a "gathering" phase and a "writing" phase, and ideally roslyn can track when the data from the "gathering" state actually changes, and only runs the "writing" phase if something relevant has actually changed.
in order to do that, though, it needs to be able to do value-checks between the current and new values
record structs make this very easy because they automatically do all the value-equality boilerplate for you

cinder karma
#

I see your data only container and raise you some janky dictionary pressed into service

#

**kwargs or death

#

Oh, and if I ever use locals() in real code you may take me out back and toss my body off a cliff

dusty pollen
devout vault
steel kraken
#

even with records I still ended up with data structures like

internal enum TileDirection
{
    Middle,
    Left,
    Right,
    Up,
    Down,
}
internal record TileInfo(Vector2 coord, TileDirection fromSide, TileDirection toSide);
internal record DebugSchedule(List<TileInfo> route, int facingDirection, string endOfRouteBehavior, string endOfRouteMessage, string scheduleName);
private Dictionary<GameLocation, Dictionary<NPC, Dictionary<int, DebugSchedule>>> Schedules = new();
supple ether
devout vault
#

had to turn an incremental generator I made to the previous style to get it to work with .net framework

steel kraken
#

readonly in a way "colours" the method in that it can only interact with other readonly methods to guarentee no side effects/mutations

cinder karma
#

Colours

dusty pollen
devout vault
steel kraken
#

C++ would call it const, but const is already a thing in C#

devout vault
#

doesn't stop C++ from reusing keywords in weird ways

supple ether
#

means the clr can avoid defensive copies and speed things up

cinder karma
#

To be fair c# doesnt have const methods

#

||I wish||

dusty pollen
#

oh yeah I get that, I'm just being nitpicky about the name feeling wrong lmao

steel kraken
#

Remember that the CLR runtime has to be capable to run most of C++ and that functionality means C# gets to inherit the less bad parts of it

#

structs do have "readonly instance members" aka const methods, but classes don't

cinder karma
supple ether
#

and then there's anti-constraints like allows ref struct which intimidates me a little

devout vault
#

Wait we have an allows keyword now?

supple ether
#

it's used in c# 10 for dictionary alternate lookups, and probably other things

cinder karma
#

Oh wait that is less scary than I thought

#

Okay

dusty pollen
#

see I refuse to interact with things like that. I feel like I will only be worse off for it /lh

devout vault
#

You know, there would be one advantage if we never advanced past assembly complexity languages

#

We wouldn't have to deal with all this AI stuff most likely

cinder karma
#

Do you really want to write assembly

steel kraken
#

at least people don't look at you funny writing goto's when you are in assembly

cinder karma
#

Hush

#

I will fork and join and fork and join and fork and fork to my heart's content

devout vault
cinder karma
#

I would love a law that stopped Bluetooth devices from repeating "low battery" for about thirty bloody minutes when they clearly still can work kinda

steel kraken
#

having worked with bluetooth devices before and talked to the vendors part of it is that the devices battery circuitry isn't precise and is guessing based on voltage, and doesn't truly know when its finally going to eat shit

#

Which became funny when the vendor gave us algorithms to try to calculate it, and then found devices in the field with negative battery percentages as a result

dusty pollen
#

yeah, from the tiny tiny tiny bit of hobbyist electronics I've done, battery circuitry in small electronics seems relatively basic

dusty pollen
steel kraken
#

I don't fully remember the details, but it was long life iot devices.

dusty pollen
#

I'm pretty sure the way phones do it requires some tracking over time anyway, which most of these devices just won't be doing

steel kraken
#

the batteries were originally rated for 5 years of service life, but software and config updates can change that guarentee very quickly

#

the cases where it became negative were on very aggressive configs where on paper they were meant to die in months, but didn't

dusty pollen
#

ah, so they were using predictive versions of that from the sound of it

cinder karma
#

Counteroffer: just say low battery once and forever hold your peace

dusty pollen
#

but predictive rather than data-driven

steel kraken
#

the algorithm was effectively counting uses of the gps, cellular module and other things and having cost multipliers on them

#

it was a static equation that didn't take into account more nuance of the device and ran server side, not on-device

#

the device iirc did have an algorithm in the firmware but it was even worse

#

we never exposed the raw info or even the synthetic percentage to users and only fed our own UI that then showed "Low" or "High" at a 30% cutoff iirc

dusty pollen
#

that's what most of my devices do, yeah

steel kraken
#

Let me dig it up, and redact anything thats too sensitive

dusty pollen
#

low-med-high

steel kraken
#

the project is decommisioning in like a month anyway so no real harm

cinder karma
#

I'm just really tired of getting my music interrupted with low battery warnings

#

I'm very simple. I just want to listen to music

steel kraken
#
var wifiOnTime = (analytics.WifiOnTime - snapshotBase.WifiOnTime) * 4630;
var gpsOnTime = (analytics.GpsOnTime - snapshotBase.GpsOnTime) * 1852;
var timeInShipping = (analytics.TimeInShippingMode - snapshotBase.TimeInShippingMode) * 0.7;
var timeOutOfShipping = (analytics.TimeOutOfShippingMode - snapshotBase.TimeOutOfShippingMode) * 2.04;
var cellularOnTime = (analytics.CellularOnTime - snapshotBase.CellularOnTime) * 5555;
var buttonCount = (analytics.ButtonCount - snapshotBase.ButtonCount) * 9259;
var resetCount = (analytics.ResetCount - snapshotBase.ResetCount) * 41667;

var calculatedBattery = (Math.Pow(10, 9) - (timeInShipping + timeOutOfShipping + wifiOnTime + gpsOnTime + cellularOnTime + buttonCount + resetCount)) / Math.Pow(10, 9);
var value = (int)Math.Round(calculatedBattery * 100);
dusty pollen
#

oh. oh wow

steel kraken
#

the snapshotBase stuff is because we were working on a feature to do battery swaps, but none of those analytics measurements would be reset, so we save a snapshot on our side when a battery change is detected to "zero" out the measurements

#

and while the C# code was ours, it was an implementation of the mathematical equation the vendor gave us

cinder karma
#

I truly, truly enjoy how weird cadence documentation is

#

-seed -svseed -snseed all exist

#

Which one takes effect when? What happens when you use the tcl command? Have fun

supple ether
cobalt rock
#

damn i love how the intellectuals are chatting here

#

too bad i don't know what the code means

grave meteor
#

I do the classic scroll past I'm clocked out of thinking for the day when I see code outside my thinking hours

safe dragon
#

peepoLaughPoint intellectuals

grave meteor
#

guys imfighting my cats to not consume plastic or coffee

sand frost
#

You could try to bargain them down to black tea

#

Maybe even green tea

devout vault
grave meteor
grave meteor
cinder karma
#

Looks like a big kitty

grave meteor
#

One big one small

#

Small abused big then big stomps small

cyan shadow
#

Omg you have voids

modest steppe
#

THE VOIDS

#

thx

grave meteor
#

I found one outside and the other we adopted (me and my wonderful partner)

cyan shadow
grave meteor
#

they are evil

#

one can open doors

modest steppe
#

smart

grave meteor
#

i prefer the term evil

sand frost
#

Clever little murder paws

cinder karma
#

Big cat

#

( @devout vault please observe cat opening doors )

devout vault
#

This is why cat households need round doorknobs

#

(Though I’ve heard with some cats even that’s not enough of a hindrance)

grave meteor
#

thats the only lever handle we have

dusty pollen
#

Casey I now have evidence you're willing to set foot in mmg

devout vault
#

Behold, peak cat door opening prevention technique

devout vault
#

Oh

#

Yeah I check pings

#

But that’s it

grave meteor
#

that are absurdly hard to turn

devout vault
#

But with some pings it’s asking for help or feature requests, which is a lot more than I can handle at the moment

#

But blueberry was asking about doing work for me 😄 (Pr)

dusty pollen
#

(I'm just being silly because of the convo a while back about you refusing to be in there haha)

devout vault
#

(It’s like crashing party without an invite - it’s just rude)

#

(…yes, me popping into a public chat room unprompted is crashing a party. Completely equivalent, I will not be taking questions at this time)

dusty pollen
#

makes sense to me

devout vault
#

You don’t want me known as the serial party crasher, do you?

dusty pollen
#

heaven forbid!

grave meteor
devout vault
#

My mods are totally notorious for being completely sane and hinged 100% of the time, I wouldn’t fit in there anyways

dusty pollen
#

and this, ladies and gentleman, is what we in the business call "a bold faced lie"

grave meteor
#

its not a lie if they believe it

#

what a nonsensical reply from me

devout vault
#

What is the world coming to these days

dusty pollen
#

of course it's unhinged. it's a screw-top.

devout vault
#

Not this one, can’t you see the lid open on the hinge in the screenshot

dusty pollen
#

then it's not unhinged, now is it?

devout vault
#

That’s what I’m sane. Completely sane and hinged

dusty pollen
#

smh false advertising

devout vault
#

Modders can have a little false advertising once they publish over 50 mods

#

As a treat

#

Most of my mods are pretty honest. Json Shuffle does exactly what it says it will

heavy daggerBOT
dusty pollen
#

doesn't it require ja

devout vault
#

Nope, that’s the scary part

#

It’ll shuffle vanilla items too

#

And it does it every day, not upon loading a save

dusty pollen
#

innovative

devout vault
#

Clearly I need to change it to a trigger action, so people can make extension mods that do it at other times

#

Haven’t you always wanted a json shuffle every hour in game

dusty pollen
#

oh are you asking me? I think you're confused, I WRITE mods, I don't play them /lh

devout vault
#

(Saw a Minecraft modpack like that once, though it did recipe outputs and block drops and such too. And had a way of locking specific recipes)

devout vault
#

Many people’s “gotta try this” mod is SVE, but yours could be JSON Shuffle

#

Or maybe even random cats in events

#

Perhaps, if you’re a true gamer, that mod is Spenny (+ Spenny Deluxe)

dusty pollen
#

no love for spenny lite? I see how it is

devout vault
#

I mean that one is literally just Spenny but less

#

If you have both, spenny Lite will basically do nothing

dusty pollen
#

all spennies are beautiful, I can't believe you would imply some are less than the others

devout vault
#

~~if I ever get around to making my familiars mod, there should be an Easter egg option for a 1/4 scale spenny ~~

dusty pollen
#

I wrote a draft of a data model yesterday. hated it

devout vault
cinder karma
#

Smh and you didn't put the data model into a janky dictionary

devout vault
#

also fun fact, spenny is now not autocorrected when i type it

cinder karma
#

Also

dusty pollen
#

(mostly because by "wrote" I mean "designed and didn't implement yet")

devout vault
#

My congestion is finally gone so I should try to get a little more sleep. (Yes it’s 8 am, but I didn’t get enough last night)

cinder karma
#

My favorite youtuber!!!!

#

Is doing my favorite movie soundtrack

dusty pollen
cinder karma
#

I'm so stoked!!!!

dusty pollen
#

but I'm exhausted by just watching him

cinder karma
#

I do actually dance along when I'm busy enough to only work out at home

grave meteor
#

my cats are being insane

cyan shadow
grave meteor
#

SDVpufferwaaah also why is it so hard to find a nice adult community of people online

simple dragon
#

Oh my first one could do that

#

Godspeed, they will commit crimes beyond mortal comprehension

grave meteor
#

i already figured this out

simple dragon
#

😌

cyan shadow
#

show orb

grave meteor
#

o r b

cyan shadow
#

onyx crimes can break containment from smc every now and then as a treat

simple dragon
lethal bobcat
#

i have a void named onyx! did a double take while lurking

cyan shadow
#

SNEEB

grave meteor
#

void

#

mine are junji and koshi

simple dragon
#

Onyx came with her name pre-installed at baby jail 😌

cyan shadow
#

she is so loaf

#

certified bread

simple dragon
#

Right now she's being carried around the apartment like baby

grave meteor
lethal bobcat
simple dragon
#

Mlem

lethal bobcat
#

yes

#

he does that a lot

dusty pollen
#

this onyx isn't as orb as sneeb!onyx. he almost looks like he has a skeleton

lethal bobcat
#

those are good pictures, hes huge and heavy

cyan shadow
simple dragon
dusty pollen
#

shape!

simple dragon
#

We call her the sneebus. because she is the sneeb.

#

Sneebling

cyan shadow
#

snorb

#

because sneeb and orb

simple dragon
#

Snorbling 😌

cyan shadow
simple dragon
#

Snorb actually came first. Snoot + orb

dusty pollen
#

what is eeb

simple dragon
#

Oh, you know how it is with eebs

dusty pollen
#

I suppose I do

cyan shadow
#

how is his grace doing btw iro

simple dragon
#

Iirc we picked it up from a catcrumb drawing

dusty pollen
#

probably asleep. it's two hours past Time To Be Awake For Food

cyan shadow
#

ah

#

it is now Time to Be Comfy

simple dragon
#

Yup found it

#

We also regularly call her the rest of those captions irl

dusty pollen
#

which means he's probably already completed his post-food mischief and is now resting in anticipation of his pre-food mischief in around forty minutes

steel kraken
simple dragon
#

oooooooo tiny baby

dusty pollen
#

pretty baby! lightly toasted

simple dragon
#

If we're off topic rn, then explain this!

grave meteor
#

wish that was my cat

#

i dont wanna do work

cinder karma
rain apex
#

The sneeb says no work allowed

cinder karma
simple dragon
#

She is a prolific programmer

cinder karma
simple dragon
grave meteor
#

mine juar sits on me

#

and asks for kisses

simple dragon
#

He doesn't know how to code 😌

grave meteor
#

blah I wanna be a cat all day

dusty pollen
steel kraken
#

taking one for the team to get the good photo

grave meteor
#

Whenever i play phasmaphobia my cats be like time to meow REALLY LOUD??!!?!?!?!?

safe dragon
#

oh the cat channel

#

I have my own coding obstructions

#

not even my cat... my dad's cats are visiting rn while my dad's on vacation

pliant snow
#

I have my own coding obstructions
that keyboard?

safe dragon
#

no that's an advantage...

cinder karma
#

Cat

worn remnant
safe dragon
#

ortholinear split beauty

dusty pollen
cinder karma
#

I feel like I could also be an obnoxious orthopedic split enjoyer

#

But money

dusty pollen
#

here I also have a cat

cinder karma
#

Cutie

dusty pollen
#

cat shaped

safe dragon
#

nice cat

rain apex
#

Sosig

cobalt rock
modest steppe
devout vault
#

@simple dragon a wild Kailey appears! (Hi, it’s been a while)

It’s nice seeing onyx pictures - most of the ones I see these days are ones smuggled from atra

devout vault
fleet wren
#

frontend

simple dragon
#

I hide in smaller servers where my tendancy to spam onyx pictures is more likely to form a cult than result in a junimo bap SDVpuffersquee

simple dragon
#

Qoth the kitty, z78888888888888888FTRG478/.

cinder karma
#

Is it possible to get a junimo bap in any other server

simple dragon
#

I am very talented

#

And I have many cat pictures

devout vault
#

("if you're actually an imposter, it's not a syndrome" is an amazing line)

dusty pollen
#

||semicolons in the middle of a line|| ||in python|| is one hell of a reveal

lethal walrus
#

oh no were you just exposed to the horrors of python semicolons for the first time

crystal wren
#

"Where the fuck did you find a pointer, Steve?"

#

I want that on a shirt, only to never wear it to avoid the anxiety that someone might ask what it means.

cinder karma
crystal wren
#

Does Python support unicode variable names?

lethal walrus
#

oh the short

cinder karma
lethal walrus
#

oh that makes more sense now

cinder karma
#

But also

crystal wren
#

variable_name; would he valid if so. SDVkrobusnaughty

cinder karma
#

Unicode is accepted in most modern languages but not emoji

cinder karma
#

; in python is equal to newline btw

#

That's all it is

crystal wren
#

That's a Greek question mark, though!

cinder karma
#

Oh i hate you

#

Sorry

#

We can't be friends anymore

crystal wren
cinder karma
cyan shadow
#

atra what is that it's so cute

#

i want

lethal walrus
#

it's hank green's new app

cyan shadow
#

... where privacy policy JIJI_IS_SQUINT

#

for the website, i mean

devout vault
#

The short I saw before mentioned he doesn't collect any data

#

Oh

devout vault
cyan shadow
#

they didn't have a cookie consent manager so i'm assuming the site collects nothing either, but since they do collect beta tester names and email addresses, they do need a privacy policy regardless

#

i want purpose limitation, retention period, processors, right to deletion and all that good stuff lol

devout vault
#

Is that a legal requirement if you're in the US and not somewhere gdpr-y (I don't know if this guy is, it's just something I've wondered before)

cyan shadow
#

California and Virginia require it

devout vault
#

Didn't know virginia did

lethal walrus
terse galleon
cyan shadow
#

And if you target users in countries with data protection legislation you need to be compliant with their laws regardless

#

you're getting those because the sites usually also get traffic from europe

terse galleon
#

ah i see

cinder karma
#

(It's super cute but also it's monetized.)

#

Some of the monetization I'm fine with - there is a cute kitty skin for $5 that if I can crosscheck that if the money actually goes to charity I'm fine with

#

But the scarves are weird

#

You get more progress faster if you pay

#

Which is a bit scummy

cyan shadow
#

ugh

#

i thought it was some subscription model

#

if there are progression microtransactions then i want no part of it

cyan shadow
cyan shadow
lethal walrus
#

i really hope the google.com references are because it's importing styles from google and not it cross-site tracking from google

cyan shadow
#

do you know what those do

lethal walrus
#

crumb looks like tracking

cyan shadow
#

actually wait lemme see if ublock fires when i go there

lethal walrus
#

ss_cvt, ss_cvr, squarespace something? ss_cvt is the timestamp i first visited the site

cinder karma
#

But the similar Forest app is free

#

I dont have issues with paying for cosmetics

#

But i hate paying for progress

lethal walrus
lethal walrus
#

yep, lots of imports from google

cyan shadow
lethal walrus
cyan shadow
#

it's been like 10 years, they introduced some kind of subscription for cosmetics but it's completely optional and doesn't alter progression

#

just moar tree

steel kraken
#

Like for example my personal profiler site doesn't need to comply with gdpr

devout vault
#

Woe is me, having to figure out cmake nonsense 😔

#

Like, why is PLATFORM="Dekstop" for... every platform?

#

Oh, do I have to manually define it

pliant snow
#

cmake is not for mortals to understand

cinder karma
#

Cargo

devout vault
#

Sounds rusty, no thanks

rain apex
#

just write Makefile

devout vault
#

(Also wonder if it would even work with homebrew quirks)

#

(cmake at least is common enough to google when that happens)

rain apex
#

is it tho, i feel like there is nothing but ungoogleable ??? when it comes to cmake cus it is so dependent on ur env

devout vault
#

Cmake is?

rain apex
#

yea like what cmake module you have

#

meson i never tried to use, just heard of b4

devout vault
rain apex
#

at work we r just write actual Makefile by hand

rain apex
devout vault
#

The only things I've had to figure out for crosscompiling was a devkitpro thing where they wanted to force me to use msys or cygwin or something on windows, and then emscripten has a bug where you can't override the file extension when using cmake (which is important for the HTML to be autogenerated)

rain apex
#

i felt it was very opaque compared to having just -lsomelib

devout vault
cinder karma
rain apex
#

usually i can resolve the ??? just with ld

cinder karma
#

Like why the name

#

Like why is it named after a subatomic particle

devout vault
#

This is all I have to do with raylib (besides a small thing for emscripten)

FetchContent_Declare( raylib
                      GIT_REPOSITORY https://github.com/raysan5/raylib
                      GIT_TAG 5.5 )
FetchContent_MakeAvailable( raylib )

target_link_libraries( game raylib )
#

The find_package -> if not found -> ... stuff I think is slightly older? Like the cmake docs mention that all that stuff isn't as necessary for more basic setups

devout vault
#

Return of the error I can't remember how I fixed before 😔

#

...oh right, I had to switch to msys makefiles instead of ninja

#

Why did I change it back

devout vault
devout vault
#

...it took me WAY too long to spot the problem here

#

really need to get new glasses

steel kraken
#

its honestly impressive how bad the C++ toolchain ecosystem is

#

particularly compared to modern C# where its just like a 10 line csproj now

devout vault
#

"why is this erroring"

#

My emscripten and even the homebrew compilers support it, but not my MinGW install 😛

#

Apparently the place I get my mingw install (nuwen.net) hasn't been updated since beginning of 2024

#

Well I don't think that's normal

#

...why do I have to link something extra for a feature that doesn't even produce a warning when used

#

(I get why they couldn't produce a warning in the code, but like... g++ could)

devout vault
#

...why? That's such a dumb limitation

fickle basalt
#

Hi, i'm new to stardew valley and want to create a mod, i'm sorry i'm lost

#

need help please

devout vault
fickle basalt
#

Thank you, bot!

safe dragon
#

casey is my favorite bot too

devout vault
#

I'm a cat, not a bot

safe dragon
sand frost
#

They’re both 3 letter words ending in t

#

Basically the same

#

I once got mistaken for a robocall

#

I was very surprised and confused

grave meteor
#

hi

#

speaking of bots I thought someone was a bot for the longest time and they werent

hasty sinew
pliant snow
#

TIL there's just a print and not printf or whever in C++

cinder karma
#

Please, there is literally everything in c++ probably five times

safe dragon
#

does it have cheese

devout vault
#

Pre-variadic templates, a lot of people would just printf instead I think

#

(Once variadic templates came out, it was easier to write a proper replacement, though std::print wasn’t until c++23 or something absurd like that I think?)

devout vault
#

I find it funny that apparently the reason silksong took so long was "we had too much fun developing it"

safe dragon
#

I'll take it over "we burnt out on it 3 years ago and decided to take a hiatus "

devout vault
#

True

#

I meant it literally about being funny - I don't think it is a bad thing, and it sounds like the game turned out better for it too

safe dragon
#

hope so

devout vault
#

But like imagine telling your boss the task isn't finished yet because you're having too much fun doing it

safe dragon
#

I will be playing this game unless it turns out to be a cryptominer or something

devout vault
#

(Could probably add metroid prime 4 future players in there as well)

safe dragon
#

please let it be good

cinder karma
#

I'm hoping the next version of Microsoft pinball is good

devout vault
#

(And technically KAR 2 wasn't delayed - it just has been wanted but not existed for 20 years)

devout vault
#

Wish C++ had extension methods

#

Especially with some pretty basic things having to be implemented yourself, like str.replace( "before", "after" )

dusty pollen
#

this is how you end up with leftpad

cinder karma
safe dragon
#

I didn't think kpop demon hunters 1 was all that great to begin with so me neither

cinder karma
#

Those are fighting words crumble

safe dragon
#

I think the movie just needed an extra 20 minutes of runtime to work better

#

flesh out the latter half more

#

or really the last quarter

devout vault
#

They were leaving room for the fanfic writers to expand on it

#

That's totally it

#

(I have not watched it)

safe dragon
worn remnant
#

i have only watched like one clip of it but it does the animating-on-the-2s thing that spider-verse did and that is a treat for the eyes.
there's nothing else in there that is a treat for the eyes, though, definitely nothing else

devout vault
#

The only clip I've seen is one edited to be one of the characters sniffing the fumes from a steam deck

safe dragon
#

oh it's very well animated

#

it's really only the plot i have an issue with

safe dragon
devout vault
#

...huh, github got sub-issues

fleet wren
#

my deck no longer has the smell™ 😌

devout vault
#

I've never checked mine

pliant snow
#

The smell is peak

cinder karma
#

Steam decks have smells

#

What

#

So it just might be a part of my clinical insanity but I kinda hate getting new hardware

safe dragon
#

what if it were free

cinder karma
#

Even if it was free tbh

#

I fundamentally hate change

devout vault
cinder karma
#

So the subtle differences will annoy me.

pliant snow
#

to be fair, the smell is very potent, it's hard to miss

devout vault
cinder karma
#

Also to be fair I dont own a steam deck and do not play enough video games to justify jt

cinder karma
#

I've never seen a steam deck irl

#

Maybe they dont exist

devout vault
#

Did I not show you mine

safe dragon
#

my mom and sister both also have steam decks

#

so there's 3 within just my direct family

cinder karma
pliant snow
#

but are theirs purple

cinder karma
#

Or, heck. A tablet with controller attachments

devout vault
safe dragon
#

my mom has purple sticker covers on the front side

cinder karma
#

The controllers dont come off a steam deck?

safe dragon
#

nope

#

that's the switch

cinder karma
#

This is like when my coworker yesterday asked me about some 80s rock i didnt recognize

#

Also some TV show about having a stapler on your desk

pliant snow
#

movie

cinder karma
#

I'm sorry I'm uncultured

devout vault
#

AngelScript now working on both! (Ignore the script being different, apparently the workaround I tried to copy the files to the right place after building is only copying them if they don't exist, not also if they were updated)

#

Of course I need to get raylib working on wii / 3ds next...

#

.choose raylib for homebrew, code for angelscript integration that isn't haphazardly thrown together

heavy daggerBOT
#

Choose result: code for angelscript integration that isn't haphazardly thrown together

devout vault
#

(Asset copying fixed as well)

devout vault
#

A wild meow spotted on cppreference

dark parrot
#

Programming

devout vault
#

...why am I considering making a tool/library as a prebuild step to make reflection in C++, just to make registering stuff to angelscript remotely easier

#

(Most likely using clang since I think I've heard in the past that you can use their parser as like a library)

#

If I want to be insane I could make it match whatever API was finalized for C++26

devout vault
#

(Yeah no, it uses a bunch of new syntax that that wouldn't be possible for)

grave meteor
#

time for my prelim today yippie!

cyan shadow
grave meteor
#

I just need to do one question hopefully

#

well complete one out of like 8

cyan shadow
hasty sinew
#

So, my 32-bit adder works

#

I built it from scratch from NAND gates

#

Everything from the double babble to the ALU operations to the segment decoders to the control logic, muxes, etc

devout vault
#

<computer organization course flashbacks>

#

(not bad ones)

devout vault
#

@pliant snow Do you see the new picoloader? It uses the same installation method as the flippy drive. (It does require a little soldering it looks like, but not on the gamecube itself)

pliant snow
#

I saw something about it

#

does it have some advantage over the flippy

devout vault
#

I'm not sure

#

That's what I was hoping to find out, but the video didn't directly compare them

#

Use this link to SAVE $5 on your first order at PCBWay: https://pcbway.com/g/A311e7

Let’s take a look at an all new, Raspberry Pi Pico based, Optical Drive Emulator (ODE) for the Nintendo Gamecube! It’s super easy to install (very similar to FlippyDrive) and has a promising future. Most importantly, it’s open source!

//Macho Nacho S...

▶ Play video
pliant snow
#

Yeah I think that was the one I saw pop up. I haven't watched it yet tho

#

I suppose it's proabably a lot cheaper

devout vault
#

It's open source - can't recall if the flippy drive is (I assume not?)

pliant snow
#

I know there's a repository for its loader, idk how much is in it tho

devout vault
#

I see pcb stuff in the repo as well

#

Or did you mean flippy

grave meteor
#

Deffo not passing but solid effort which is all I needed

cyan shadow
grave meteor
#

I'm not a PhD student so I just need to do okay

lethal walrus
#

i have many so browsers..

grave meteor
#

TOO MANY

#

sorry caps

pliant snow
#

wow so youre the person who doesnt set them to only have one icon even with multiple instances

steel kraken
#

actually this is funnier

pliant snow
#

My boss uses like three different browsers and I have no idea why

worn remnant
devout vault
steel kraken
# worn remnant zeta and theta are missing

this is my actual usage of the browser though.
I'm paranoid enough that I use a separate browser entirely for the work/personal split and don't trust profiles enough
and then each has a devtools window open

worn remnant
#

oh, sorry, just having a jape about beta and eta and wondering where the other -eta greek letters went /lh

supple ether
#

Aaay nice, fellow Zen enjoyer I see

steel kraken
#

Microsoft, why is this needed.

We’re adding a new keyboard shortcut to make it easier for you to insert an En dash (–) or Em dash (—) while typing anywhere in Windows. Going forward, pressing WIN + Minus (-) will insert En dash, and WIN + Shift + Minus (-) will insert Em dash. Note – if you have Magnifier running, WIN + Minus (-) will still zoom out Magnifier, rather than inserting an En dash.

fast stirrup
dusty pollen
modest steppe
#

em dash???

dusty pollen
#

longboi hyphen

modest steppe
#

how do u even make thagt

dusty pollen
#

— em dash

#

depends what you’re using haha

modest steppe
#

window + minus no do

dusty pollen
#

on mobile you can usually long click the hyphen key

#

yeah that’s upcoming

modest steppe
#

oh

#

well that is useful SinZ

#

idk for what but why not long hyphen

dusty pollen
#

alt+0151 currently

modest steppe
#

what

dusty pollen
#

so hold down alt while typing 0151

modest steppe
#

#

that's too much work

dusty pollen
#

yeah but it’s not really a necessary key, is it SDVpuffersquee

modest steppe
#

does this work for other special characters

dusty pollen
#

yup

modest steppe
#

u got a list?

dusty pollen
#

almost everything has an alt code

modest steppe
#

damn, i had no idea

#

kinda cool niche feture

dusty pollen
#

looks like a good resource

modest steppe
#

thank u

safe dragon
#

it's been a thing for a very long time. I remember using it to type the euro character as a kid

modest steppe
#

#

this is not a heart

#

oh wait

#

that shows up as like a ? inside a diamond for me

steel kraken
#

also they were already in the win+. menu

modest steppe
#

alt+3 no work for heart PensiveButtPuffer

#

how do u open that menu

dusty pollen
#

this one also looks good haha

modest steppe
#

am blind

dusty pollen
modest steppe
#

does that menu have a heart in it? too much symbol

dusty pollen
#

oh, sorry I keep pinging you, bea

steel kraken
#

☺☻♥♦♣♠
alt 1-6 works fine

modest steppe
#

i am doing alt 3 it no work!?!?

dusty pollen
#

does it do anything?

modest steppe
#

nope

dusty pollen
#

are you in a browser

#

or in the discord app?

modest steppe
#

no i am in discord app

dusty pollen
#

hmm

modest steppe
#

is it only browser?

dusty pollen
#

no it’s just that some browsers take over the some alt shortcuts haha

modest steppe
#

yeah no it does nothing on browser either

steel kraken
#

the number needs to be numpad

modest steppe
#

i am doing that

dusty pollen
#

do 1 and 2 work?

modest steppe
#

nope

dusty pollen
#

huh, weird

#

but 0151 did SDVpufferthinkblob

modest steppe
#

9 does it makes like a

#

empty space

steel kraken
#

○○○○○

modest steppe
steel kraken
#

I remember using alt codes a bunch back in the day to type fun symbols in my name in games or whatever

modest steppe
#

mine borked

steel kraken
#

and for stuff that was really annoying was copy+pasting from character map

#

like ֎ is a fun character

modest steppe
#

windows 11 seems to have fucked me over

steel kraken
#

im on beta insider builds of win11 and I still have it fine

modest steppe
#

i am trying tutorials

dusty pollen
#

(because that was the only way we could insert accented letters)

safe dragon
#

we didn't have that issue cause setting the keyboard language to Dutch in Microsoft already allows you to type the vast majority of them

#

unless you need to type Vietnamese or something

#

don't think the alt codes are saving you for that one either

hushed raven
#

Don't alt codes need the leading zero?

#

0191 (¿) is different to 191 (┐)

charred yew
#

who has a wechat acc here?

lethal walrus
#

why do you ask

charred yew
#

it's for valorant

#

do you play that game?

lethal walrus
#

is this you trying to use someone else's account for valorant mobile instead of making your own acconut

charred yew
#

idk if u get my point but yeah. sorry for the bad english

dusty pollen
#

idk if the programming channel of a stardew valley discord is the best place to find someone to help you with valorant haha

supple ether
crystal wren
#

I remember the trick of using the 0160 alt code and changing the icon of a folder to make it invisible in earlier versions of Windows.

grave meteor
cinder karma
#

(I wasn't aware you needed a wechat account sponsor)

cunning anchor
#

So totally noob to programming I was curious what's the best place to learn

grave meteor
grave meteor
cyan shadow
#

The yellow book is great for C#

cunning anchor
#

C# for sure

dusty pollen
#

oh I just looked up the WeChat thing, it looks like they do require friend verification (but sometimes allow using payment verification instead) but the reason it's even using WeChat is that the valorant mobile beta is supposed to be China only, so they're trying to get around that restriction ig

cinder karma
#

!yellowbook

indigo mistBOT
cunning anchor
#

Thank you very much 🤘

terse galleon
#

C# is a compiled programming language. The computer cannot understand the language directly, so a program called a compiler converts the C# text into the low level instructions which are much simpler. These low level instructions are in turn converted into the actual commands to drive the hardware which runs your program.

#

is this talking about assembly or smth?

devout vault
#

Sounds like CIL

#

Especially based on the last sentence

#

C# is compiled to CIL (Common Intermediate Language, I think?) which the .net runtime then converts to assembly as you run it

terse galleon
#

i see thank you

dusty pollen
#

the last sentence is the part referring to assembly, I think?

terse galleon
#

does all C# require .NET?

devout vault
#

Basically yeah

#

You can compile your apps with modern .net to be native using AoT compilation, but it's still basically .net - just without a lot the runtime

devout vault
#

I don't understand why github still hasn't added old functionality to the dashboard feed

#

Shouldn't have to get a browser extension for this though

crystal wren
#

A plugin targeting GitHub with 7 users feels like something I don't think I'd ever want to trust, though.

lethal walrus
devout vault
#

Oh, there's even a tempermonkey version

supple ether
#

Is there a difference between cil and msil? I've seen both referenced in conversations about net

safe dragon
#

isn't the former just the newer name for the latter

#

CIL was originally known as Microsoft Intermediate Language (MSIL) during the beta releases of the .NET languages. Due to standardization of C# and the CLI, the bytecode is now officially known as CIL.[3] Windows Defender virus definitions continue to refer to binaries compiled with it as MSIL.[4]

fast stirrup
safe dragon
#

new article: "CA tired of our shit"

dusty pollen
#

"CA lashes out at journalists for no reason, why would he do this to us we're so nice always"

devout vault
#

Meanwhile, gaming journalists:

lethal walrus
#

The 2tb drive that was dying is finally dead 😔

#

Made my PC bootloop while plugged in

safe dragon
#

can't believe it held on for this long

lethal walrus
#

Oh goodie energy stuck into terminal on ubuntu

lethal walrus
#

But still surprising

#

I love when I sign in and get a black screen with just a pointer

#

Well it gets in with x11 instead of waylaid, albeit swapping monitors and one is 3/4 black now

#

Logged in and out and waylaid works agsin

#

windows drive still doesnt mount from linux but that's a job for later™

cinder karma
#

Confession: I'm aware Denmark, the Netherlands, and the Danes are two locations approximately but I'm never sure which is which

sonic mirage
#

I had 2 HDDs finally die after 15 years of service. The last one of the 3 is still going.. for now

lethal walrus
sonic mirage
#

Yeah that's less than ideal. Mine were a 2TB WD Green and 2 1TB WD Blacks

lethal walrus
#

First drive death was a Windows boot for probably 8 years so didn't do too bad

sonic mirage
#

1 black is sitll going

lethal walrus
#

Ironwolf iirc

pliant snow
tranquil grove
#

I think of the Netherlands as "Holland" way too often, I grew up playing pirate/sailing games SDVpufferpensive

cinder karma
#

The Netherlands isn't Holland?

frosty echo
#

The name Holland has frequently been used informally to refer to the whole of the country of the Netherlands. This casual usage is commonly accepted in other countries, and is even employed by many Dutch themselves. However, some in the Netherlands (particularly those from regions outside Holland or the west) find it undesirable or misrepresentative to use the term for the whole country. In January 2020, the Netherlands officially dropped its support of the word Holland for the whole country, which included a logo redesign that changed "Holland" to "NL".

steel kraken
#

holland is the city/province inside netherlands iirc

#

its like calling france paris

cinder karma
#

To be fair I also thought The Hague was a court

#

Like a courthouse or smth

#

And not a city

frosty echo
#

"Holland" is informally used in English and other languages, including sometimes the Dutch language itself, to mean the whole of the modern country of the Netherlands. This example of pars pro toto or synecdoche is similar to the tendency to refer to the United Kingdom as "England", and developed due to Holland's becoming the dominant province and thus having the majority of political and economic interactions with other countries.

steel kraken
#

oh yeah the england vs gb/uk is a better analog

#

I made that mistake exactly once talking to someone that was welsh and did not appreciate it

cinder karma
#

I intentionally make that mistake every week!

#

(My coworker is Scottish)

steel kraken
#

from a power perspective its correct to say its all england

#

scotland voted against brexit and yet they leave EU anyway

dusty pollen
#

when we went to nl they told us that the reason is partially that holland is associated negatively in english for some reason? and that that’s why almost any saying with the word “dutch” in it is negative apparently

cinder karma
#

Is it?

dusty pollen
#

dutch oven (not the actual type of oven), “going dutch” (splitting the food/seen as stingy ig?), I can’t remember any others

steel kraken
#

do any of the European countries not talk shit on the others?
I've watched enough british content to know about the meme that is France

cinder karma
#

Dutch baby, Pennsylvania Dutch

dusty pollen
#

pennsylvania dutch is just a language SDVpuffersquee

dusty pollen
worn remnant
#

👀 pennsylvania dutch mentioned

worn remnant
dusty pollen
#

true

#

but not derogatory, either way

worn remnant
#

true

dusty pollen
#

(all I know about the amish is from watching ex amish people talk about it though, I’ve never set foot in either of the americas haha)

#

…it’s real

#

looked it up. it was replit ai and it genuinely happened

#

wtaf

worn remnant
dusty pollen
#

just shows you truly how little I do know

steel kraken
#

gb is the mainland/island, uk is the united country that has gb but also northern island and some of the other small islands

#

uk + (republic of) ireland is the british isles iirc

dusty pollen
#

yup, “the united kingdom of great britain and northern island” (though gb includes the various scottish islands I’m pretty sure)

cinder karma
#

Also Dutch baby is an excellent pancake like dish if not actually well. Dutch

dusty pollen
#

it’s okay, like all regional names, it was assigned based on vibes and a terrible understanding of geography

cinder karma
#

I get all my geography from vague memories of 4th grade you know

dusty pollen
#

Tunisian Crochet is most likely named that because people confused Tunisia and Afghanistan.

It originated in France.

cinder karma
#

It's why it's so bad

#

I dont remember anything from before I was 13/14

dusty pollen
#

(the Afghanistan thing is actually because it’s mostly used to make Afghans)

cinder karma
oak radish
#

Does anyone know good unisex Fashion sense more cute or spooky outfits?! :0 its so hard to find good FS mods as a lot of them are fem or just not my style

dusty pollen
sand frost
#

Frenchier crochet

cinder karma
#

My new tick is gg=G

safe dragon
#

vim tricks

dusty pollen
#

aren't they meant to be opposites

#

I know what they do if I'm at a keyboard typing but not if I'm just thinking about it SDVpuffersquee

pliant snow
#

gg moves the cursor to the top of the buffer. = is the command for auto-indent the file up until G the end of the buffer

dusty pollen
#

oh I genuinely thought that was an assignment lmao

safe dragon
#

I don't think I've ever used = before

#

I've always used > and < for indentation

#

and when I format a whole file I just use the lsp's format function

dusty pollen
#

I've never used vim indentation commands

cinder karma
#

Yup, gg=G is autoindent

dusty pollen
#

next step is to add a mark to jump back to where you were, and put it all in a single binding via vimrc

pliant snow
#

There's already a built-in mark for that. Use gg=G''

safe dragon
#

fucked up

pliant snow
#

I don't use the built-in marks as much as I should, but they're useful

safe dragon
#

I don't know what any of em are

#

I also never use all the funky registers

#

that requires me to think

pliant snow
#

' takes you back to the last place you jumped from, which is nice
< and > are the lines at the start/end of the most recent visual selection
^ I think is the line of the most recent edit

marble jewel
#

@pliant snow I'm giving Fish another shot, and I even managed to port my long .bashrc to config.fish and so far it's not nearly as difficult as I remembered

dusty pollen
#

this is why most of my config is in my i3wm config file /hj

devout vault
#

Me: "Hey C++, I'd like to compare two std::optional< std::variant< ... > > instances of the same type for equality"
C++: "Why would you want to do that? Are you insane?"

if ( other->Special.has_value() == newFunc->Special.has_value() &&
     ( !other->Special.has_value() || ( std::holds_alternative< MemberFunctionType >(other->Special.value() ) && std::holds_alternative< MemberFunctionType >(newFunc->Special.value() ) &&
                                        std::get< MemberFunctionType >( other->Special.value() ) == std::get< MemberFunctionType >( newFunc->Special.value() ) )
                                   || ( std::holds_alternative< OperatorOverloadType >(other->Special.value() ) && std::holds_alternative< OperatorOverloadType >(newFunc->Special.value() ) &&
                                        std::get< OperatorOverloadType >( other->Special.value() ) == std::get< OperatorOverloadType >( newFunc->Special.value() ) ) ) )
{
    // this is insane
}
#

Keep in mind this is a variant of two types

#

(Two enums)

terse galleon
#

what is the purpose of enums? is it easier-to-read data validation, similar to the way a drop-down list functions?

safe dragon
#

there's some more niche but powerful things it can do like act as bit flags for binary operations like it used in C#'s own DayOfWeek enum

steel kraken
# devout vault Me: "Hey C++, I'd like to compare two `std::optional< std::variant< ... > >` ins...

slightly less insane when formatted but still quite verbose

if ( 
     other->Special.has_value() == newFunc->Special.has_value() &&
     ( 
          !other->Special.has_value() || 
          ( 
               std::holds_alternative< MemberFunctionType >(other->Special.value() ) && 
               std::holds_alternative< MemberFunctionType >(newFunc->Special.value() ) &&
               std::get< MemberFunctionType >( other->Special.value() ) == std::get< MemberFunctionType >( newFunc->Special.value() ) 
          )
          || ( 
               std::holds_alternative< OperatorOverloadType >(other->Special.value() ) && 
               std::holds_alternative< OperatorOverloadType >(newFunc->Special.value() ) &&
               std::get< OperatorOverloadType >( other->Special.value() ) == std::get< OperatorOverloadType >( newFunc->Special.value() ) 
          ) 
     ) 
)
{
    // this is insane
}
terse galleon
#

sorry, what are bit flags and binary operations?

steel kraken
#

bit flags are the notion of storing multiple booleans inside a single number (stored in the individual bits as a flag)
and you can use bitwise operations to extract or check those values

terse galleon
#

so like, the number 20 represented in binary might represent "true false true true false etc"?

safe dragon
#

acting on 1s and 0s directly. Bit flags mean individual bit(1 or 0) is given a specific meaning. Like the first is Monday, second Tuesday etc... If the 1st, 4th and 7th bits are set to 1 then Monday, Thursday and Sunday are set...

#

it's lot more efficient and convenient to store that way than 7 booleans

terse galleon
#

okay i think i get it

#

like "i want it to rain on the weekend" and then i can check if enum IsRainy == 0000011

safe dragon
#

I've used bit flags a grand total of maybe 5 times over the last 10 years but it's great when you do need it

terse galleon
#

oh so i probably shouldn't go too far down this rabbit hole just yet lol

safe dragon
#

messing around with binary operations can be a fun exercise at some point

steel kraken
#

its more memory efficient, though not always more computationally more efficient.
but it is mainly useful when you want to check for multiple things at the same time, and can be useful to store all the independent booleans in one place and do a single operation to check if they are the same or have overlap with your desired state

#

a good bitwise flagged enum, every permutation is a valid state to be in, when you have cases where its not valid for a certain permutation to exist means it potentially wasn't a good candidate to be stored in the same enum

safe dragon
#

most of the places I've used it essentially came down to us wanting to be able to store it in a single column in the database

#

"which days does this supplier support doing deliveries"

#

we did once have a bug in our binary logic somewhere that only happened on Mondays which was a nightmare to reproduce cause we had no idea why the issue magically disappeared whenever we tried to work on it

terse galleon
#

oh no

safe dragon
#

obligatory mention of "OpenOffice cannot print documents on Tuesdays"

steel kraken
#

days of the week are a useful example, because it lets you very nicely do data driven rules.
also it can fit inside a single byte so it packs very nicely

safe dragon
#

I've used a far more cursed one before for determining which icon to use in some tree view

#

which I can't recommend

#

bit flags there were stuff like "has attachment" "was favorited" "has been distributed"

#

it sounded sensible at the time but eventually it just turned into big switch case checking every possible permutation

steel kraken
#

yeah packing unrelated things together like that gets sketchy fast

#

In my old team due to past trauma, the team had a rule of no booleans, and enum each thing separately.
so rather than GoogleMapsEnabled = true, it would be MapProvider = Google
just to make sure we don't get into paradoxes later on, and can expand those systems as they need it

safe dragon
#

I can understand that trauma

#

an old cash register application I used to develop for had over a hundred state booleans like "inPaymentMode"

#

then someone else would introduce a different boolean to specify "inCashPaymentMode"

#

but then someone would forget or not know about one of these so we'd have inPaymentMode be false yet somehow inCashPaymentMode on true

#

which is impossible

#

and there were a nearly uncountable number of these situations

#

people would introduce even more booleans to avoid needing to rely on existing ones...

#

it's a genuine miracle that the cash register actually worked pretty well in practice from a user perspective

steel kraken
#

when I worked on my monopoly game I did spend time explicitly diagramming out the state model and how states were allowed to transition to other states to help minimize how many illegal states happpened