#programmers-off-topic

1 messages · Page 41 of 1

uncut seal
#

I second this

worn remnant
#

seems reasonable to me that they might have their own ideas about how to format your text, so they want to guarantee that they'll be able to easily copy-paste it into their target document and not have to deal with How Pdfs Are Sometimes

cinder karma
#

(Eh, appearance rules are pretty normal.)

#

I have the strong opinion that, for research papers, the submitter should not be in charge of thr formatting

#

Please provide word template and latex template

worn remnant
#

one of the principal advantages of text is it's easy to format and reflow as needed (hence TeX and friends)

uncut seal
sand frost
#

Poor internet connection most likely?

#

Microsoft online stuff does that all the time

pliant snow
#

Special shoutout to this health care portal, whose programmer couldn't figure out how to do this themselves

uncut seal
#

here's a demo

#

it's supposed to be a gif, maybe that was a bad export choice on my part

#

when I select text, then type a letter to replace it, the cursor is placed before the new letter instead of after it

safe dragon
crystal wren
#

Bold of you to assume they're not using plain ol' text files.

safe dragon
#

speaking of

#

I discovered the absolute worst import format I've ever seen

#

it's a text file without any kind of delimiters. Instead there's some hardcoded assumption built into the importer about the number of characters in each field and just goes off that

#

they can't increase the size of field because it would fundamentally break all their existing imports/exports

worn remnant
#

what.

#

did they invent this format in 1962

safe dragon
#

there's workarounds in place where the same field was introduced again at the end of the row data but then with the new character count, now ignoring the original spot there were in(but it still needs that space filled with the exact number of desired characters anyway)

#

I have no idea

#

it's some ERP tool

uncut seal
#

another shit stain developed by industrial engineers

#

I can say that because it's my major

modest jewel
#

man why web development course are the most boring shit in the second year SDVpufferwaaah

supple ether
#

what's the material?

sonic mirage
#

We deal with a company where half (the more important half, too) is in a "database"/application whose "tables" are all fixed-width fields, the other half is in MySQL (because we put it there). In this case it's because the database software is literally from the 1980s. They usually had the foresight to sprinkle in "open_1", "open_2", etc fields of various sizes into most tables, at least, so you could shoehorn new fields into existing tables later without forcing a rebuild of the table, but the software does technically support rebuilding itself with an expanded format, too, luckily. We've been slowly migrating tables over to MySQL over the years; eventually we'll hit some critical point where all the rest have to come over.

floral parcel
#

What's the name of the database software?

rotund violet
#

Yup, I can definitely imagine how younger developers might have never seen them before, but fixed-width formats were very common in the 1990s and even somewhat into the 2000s. In fact, databases themselves used to be like this, we had char(n) before varchar(n).

safe dragon
#

they kind of make sense in extremely constrained environments

sonic mirage
#

It's both a database and has it's own "programming" you could do in it. It's literally from the 80s so it's not really fair to compare to modern languages, but it sure made me cross-eyed trying to decipher what it was doing so I could port it to the web app

#

It's interface is in the terminal, so when they used to use it directly it was a blue-screen-of-fields type interface where you'd tab through to the field you needed to write into

#

Have to switch some Putty settings when we have to interact with it so it will both display properly and understand our keyboard input properly

safe dragon
#

definitely a step worse than my current process of porting a microsoft access program

sonic mirage
#

We're doing that for a different client right now lmao

safe dragon
#

though that one is also 30 years old by now

sonic mirage
#

If they don't keep compressing their Access DB it will hit 4GB and their entire system will cease functioning

#

So we've been porting tables and stored procs over to modern SQL Server

#

Before their inevitable implosion

safe dragon
#

they don't even use the db part of microsoft access. They use it to create forms that then get all their data from an oracle database

#

well, they do use its database in a way of course

#

at least it means I don't have any porting to do for the data itself

sonic mirage
#

Yeah there's not really a good modern form-builder to take Crystal Reports' place (since they refuse to update past .NET Framework)

#

If you have MS's ecosystem SSRS is alright from what I hear, but nothing more universal

safe dragon
#

as far as I know any kinds of reports are slowly being moved into power bi dashboards

#

though that's not happening till I have the rest api done for gathering that data from the oracle db in a format a sane human being can actually understand

#

since the database itself works with a giant generic shared items table with column names that are essentially just property16 , property48

sonic mirage
#

Yeah another client stores their documents using an app that uses database tables with columns like string1, string2, .. string10, int1, int2, etc

safe dragon
#

are the things in the strings columns at least actually strings

rain apex
#

When did people invent csv

sonic mirage
#

Not sure off the top of my head, wouldn't be surprised if all the fields are actually varchar though

safe dragon
#

CSV itself(as in the spec we know it as now) is from 2005

#

but I'm sure they didn't come up with the concept of delimited text files

rotund violet
#

Crystal Reports, man that takes me back. And not in a good way.

ivory shadow
#

Well, it is my CPU. New motherboard didn't help either.

cinder karma
#

That sucks I'm so sorry

rotund violet
#

Definitely bites to go through all the trouble of replacing a mobo only to have it not fix anything. You definitely already tried underclocking the memory specifically (not CPU clock)? The Intel IMCs for the last 3-4 generations are flaky as hell.

ivory shadow
#

It's an AMD system, so Intel anything doesn't really apply. 😛

But yeah I've messed around with a lot of stuff in software. As far as I can tell without being able to actually test anything in Windows, it's probably a CPU voltage issue.

rotund violet
#

Yeah, with AMD I've had entire CPUs basically die after a few years, at least with Intel it's just the underpowered IMCs and generally dumb silicon lottery.

#

At least the AMDs are cheaper to replace.

ivory shadow
#

This is the first AMD chip I've ever had die on me, so it's rather frustrating.

#

(I mean it'd be rather frustrating either way, but the lack of expectation is also frustrating?)

rotund violet
#

It's frustrating when you aren't prepared and don't have a backup machine, yeah.

lime grotto
#

hey im sorry to interrupt the current convo -- i'm having trouble enabling chat cheats and was wondering if someone could help? tysm!

thin estuary
#

this is a non-Stardew channel

fleet wren
lime grotto
#

ty!

cinder karma
#

It's amazing how much time variance there is between two lines in python code

ivory shadow
#

My Steam Deck has been doing its best as a backup machine. I'm very thankful that I had that.

marble jewel
#

Ugh. Windows has this annoying issue for me where if I use my USB switch too many times, it eventually fails to detect and the only way I can use my keyboard/mouse again is to restart.

cinder karma
#

did you get a dirt cheap usb switch

marble jewel
#

It's pretty well-reviewed and it wasn't exactly cheap

cinder karma
#

ah, okay, so not a "this usb switch is failing to identify itself correctly" issue then

marble jewel
#

I've come to accept it's just windows being windows

#

Like it'll work flawlessly for days at a time, and I'll constantly be switching back and forth between devices throughout the day, and then just randomly it decides nope not gonna work anymore

#

What's weird is that I can plug another mouse into the front usb and it'll detect correctly, but whatever usb port my devices were connected through is just completely broken for the remainder of the session

rotund violet
#

It could be a faulty USB controller, or even a short. On one of my older builds I'd often have a few days of USB weirdness eventually followed by a hard crash and then failure to reboot with that enraging "USB over current" error even with all the peripherals unplugged.

#

Sometimes it's really quite shocking the absolute trash tier components they'll put on motherboards just to save a few literal pennies on manufacturing. Or just terrible quality control. I honestly don't think it's a Windows thing, I've used a lot of cheapo USB switches and never had a problem precisely like that.

ivory shadow
#

My guess would be a stupid USB controller / driver.

rotund violet
#

Drivers can also be pretty terrible, yeah.

ivory shadow
#

It's probably exhausting its pool of device IDs or something lol

rotund violet
#

I have seen how hardware manufacturers develop software (drivers). It's not pretty.

ivory shadow
#

Is your front USB on the same controller? Because your PC probably has at least two USB controllers.

#

Also on the topic of USB, the motherboard I ordered for my updated build today has this for ports and I am pretty pumped. Every single port is USB 3.2 half of them are better than gen 1.

#

But on another topic holy heck do I hate the USB versioning scheme

rotund violet
#

Isn't that pretty normal these days?

ivory shadow
#

Look my old motherboard is like 4 years old I can be excited over USB lol

rotund violet
#

Haha, sure. Wasn't sure if there was something specific I was supposed to be paying attention to.

ivory shadow
#

2.5G ethernet would be so much more exciting if any of my home network wasn't limited to gigabit.

rotund violet
#

I am not good at flooring and drywall and stuff yet, so I never tried to install a wired backhaul... with wireless backhaul I'm limited to about 400 Mbps on my theoretically 1 gig connection.

ivory shadow
#

Kinda sad the onboard audio doesn't have toslink, but I haven't actually used that in a bit since I switched dacs

#

I have cat 6 run everywhere that's relevant but my switches and stuff are just gigabit.

rotund violet
#

Haven't used Toslink in forever. These days if you want low-latency audio, you normally get a USB3 device (or Firewire if you've got it, but recent evidence is that it's become largely inferior to USB unless you've got heavy bus traffic).

ivory shadow
#

It's a shame, really. Toslink has electrical isolation and nothing else does.

#

Not that I tend to get that audiophile-y about it, but... computers can really generate electrical noise.

rotund violet
#

Ehhh, I know what you're talking about but balanced audio cables make that go away really fast.

#

Seriously, I had horrible noise over the USB until I realized I was using an unbalanced cable that looked like a balanced one.

#

Oh, but you know what does generate noise on the cable? Freaking cell phones, if they get too close.

ivory shadow
#

I haven't had issues with my current dac but my old sound setup had a pretty noticeable hum in some situations. And my speakers are 13"x18"x45" monstrosities so it kinda matters lol. They get loud

#

Man now I'm thinking about networking again and how shiny it could be to upgrade my Ubiquiti stuff

#

I am so jealous of the rgb ports on their new stuff.

rotund violet
#

RGB on network peripherals sounds... distracting.

ivory shadow
#

No it's actually amazing. Picture this: you're working on a network rack. You need to replace a patch. So you just open the management software and you set it to flash the port or color it bright red or something.

#

And then you just look at it and easily see which port it is because it's literally lit up

#

Or you could, say, color all the ports on a specific vlan a specific color.

rotund violet
#

I don't think I have any one device with more than 4 ports, and most of them don't have all the ports in use. But I can see why you'd find that useful if you're running something with a lot of complexity. Some smart-home setup or something.

cinder karma
#

whistles in three different keyboard/mouse dongles

#

And my covid era webcam!

rotund violet
#

"I'm tired, I'm going to sleep" in Atraese = "I'm considering the possibility of planning to go to sleep sometime in the next seven hours"

cinder karma
#

Technically I said I was tired and would not be devoting any more brain cells to understand spritebatch.draw

#

Which was technically true! I went off to understand dishwashers

rotund violet
#

Hmm, so you did. You are technically correct.

sand frost
#

The best kind of correct?

rotund violet
#

I don't have a "bureaucrat" emoji on hand so you'll have to imagine your own.

cinder karma
#

I'm also doing not bad on sleep

#

See?

#

That's like legit better than I usually do ngl

rotund violet
#

God, anyone who tries to wake me up at 5:30 am had better be wearing protective gear.

worn remnant
rotund violet
cinder karma
#

That's almost seven full hours! Pretty good

rotund violet
#

Ahh, to be young again, and also a robot.

#

Getting up before the sun has even thought about coming out is a big nope from me. But props if you can pull it off consistently and still function in the morning.

sand frost
#

I’m younger than Atra and still hate mornings

cinder karma
#

I've learned to love them. No one wants to try to talk to me at 5:30am

mighty tendon
#

What if theyre from a different timezone

safe dragon
#

timezones aren't real

thin estuary
safe dragon
#

nice

#

love spans

cinder karma
#

Today I learned: Google has routers

safe dragon
#

like, their nest wifi things?

ivory shadow
#

My new parts got here today. I live again!

#

And then I immediately shut down Windows to clone my boot drive onto a newer, faster NVMe.

cinder karma
#

Attempting to build consensus at work over making a homemade sodastream

#

Boss's boss is unconvinced

#

Must try harder

rain apex
#

what does that do?

marble jewel
#

Gives me some peace of mind

ivory shadow
#

Oh, I don't need backups. I have a NAS with automatic nightly backups of all my PCs.

marble jewel
#

I have backups as well, but the failover for uptime is what this affords me

#

Like if a drive fails, everything will still work as I try to replace it

#

Whereas my backup would take more time to restore while I have downtime

ivory shadow
#

Yeah, I would have some downtime if my drive failed, but I'm not really concerned about it. As things that kill my PC go, drive failure is almost never it lol

cinder karma
marble jewel
#

I wasn't so lucky with what happened to me. A brownout caused my NVME SSD to fail. PNW power is so flaky when it gets windy out.

#

I definitely think my response was an overcorrection to the issue, but it got me into a whole new hobby

rain apex
worn remnant
#

yeah it was a sort of craze for a bit. i forget what coffee shops used to call it. nitro or something

#

maybe they still do. i do not typically go to coffee shops because i'm too precious

ivory shadow
#

Ugh, power. I have UPSes for all my electronics and my house has an automatic backup generator.

#

Alright. NVMe is cloned. Now I'm making a bootable Windows 10 installation USB so I can run repair if the boot sectors don't feel like cooperating

marble jewel
#

After that whole bomb cyclone thing, I need a backup generator. Lost power for a week and had to throw out all of my food.

rotund violet
#

I don't remember seeing either in a coffee shop, but I also make 99% of my own coffee at home. In theory you could use the whipper for capuccino or whatever, but the fancy espresso machines do a much better job.

rain apex
#

i thought espresso machine was just air bolbphase

#

to make cream puff up

fleet wren
#

A whipped cream charger (colloquially called a whippet, nos or nang when used recreationally) is a steel cylinder or cartridge filled with nitrous oxide (N2O) that is used as a whipping agent in whipped cream. The narrow end of a charger has a foil covering that is broken to release the gas. This is usually done by a sharp pin inside the whippin...

#

Nitrous oxide is used because it dissolves easily into the cream, and does not cause the cream to oxidize while it is in the can.

rotund violet
#

There was one place I used to go to a long time ago that made mochas with real whipped cream, and might very well have used a charger for it. Used to go there a lot when I was way younger and still consumed sugar.

cinder karma
#

You probably wouldn't be surprised to know I live off caffeine

#

Sometimes with a little sugar

rotund violet
#

I like how Wikipedia spends multiple paragraphs covering N2O chargers' use in recreational drugs and precisely zero on its use in molecular gastronomy. Friggin' Wikipedia.

cinder karma
#

For the first time ever toml spec has surprised me

#

What do you think this deserializes as

[Blah.Header]

1.5 = 1
3.0 = 7
4.5 = 20
5.5 = 20

#

Hint: not a dict[float, float]

rotund violet
#

Isn't the left side always strings?

safe dragon
#

what would a number on the left side of a toml expression even mean

#

I'd assume they're strings yeah

cinder karma
#

Yeah, my surprise was that it was nested

#

{"1": {"5":"1"}...}

#

Etc

rotund violet
#

Yeah, I guess a foo.bar under [Blah.Header] would be the setting Blah.Header.foo.bar. So with these "floats" you'd have Blah.Header.foo.bar = 1

safe dragon
#

I guess it makes sense

cinder karma
#

It does, yeah.

#

Just wasn't what I was expecting

rotund violet
#

It's more consistent than JavaScript would be, anyway.

#

arr['1'] vs. arr[1] vs. obj['1'] vs. obj[1] and....

safe dragon
#

being more consistent than Javascript is such a low bar

cinder karma
#

Yeah, it's fully consistent, just not what I expected

cinder karma
#

Ugh, cold virus circulating at work

#

Second time in two months

cinder karma
#

Also, the laziest meal I've made in a while: kale and beef

#

Literally just kale and beef

marble jewel
#

I mean, throw in a potato and that sounds like a regular Friday night dinner to me

rotund violet
#

Lose the kale and you've got a deal.

ivory shadow
#

I have never understood why people like kale.

sand frost
#

Kale is great in soup!

#

I don't like it much otherwise

cinder karma
#

I love kale

marble jewel
#

I do Kale in a way that even never Kalers seem to enjoy. It ends up crispy with some spicy seasoning.

primal shore
#

I LOVE kale

#

Making homemade kale chips SDVpufferchef

cinder karma
#

Tbh I love kale because it is a very good veggies for meal prep

#

One of a few veggies you can just blance3

#

Kale, eggs, and chickpeas 💖

supple ether
#

oh oh if you've never tried it, fried kale with mustard is delicious

marble jewel
#

I just went grocery shopping to bought some kale because of this discussion

rotund violet
#

I went grocery shopping and glared at the kale because of this discussion

worn remnant
#

i wouldn't say i "like" kale but it is Fine if you need a sturdy green

#

there's a different variety that looks less like a fractal which i usually choose if the choice is available

cinder karma
#

I like purple kale too

#

Also Swiss chard

cinder karma
#

Speaking of kale and Swiss chard, I should try growing some

marble jewel
#

This is how I make dinner with Kale.

floral parcel
marble jewel
#

Salt+Pepper+Garlic

ivory shadow
#

Acceptable.

#

Some people have the weirdest ideas about how to season meat.

cinder karma
#

Cinnamon and nutmeg?

pliant snow
#

You put cinnamon on meat?

cinder karma
rotund violet
#

I've seen cinnamon and even unsweetened chocolate go into some stews and sauces, but as a seasoning or rub... pass.

crystal wren
#

You know, given I've thoroughly enjoyed a five spice rub on a steak... I think I get it.

cinder karma
#

Fresh broccoli, stir fried with a huge amount of garlic SDVpufferheart

#

Apparently this is the stardew cooking channel now

ivory shadow
#

Broccoli is my favorite vegetable, and by a huge margin.

#

That reminds me, my mom is going to be cooking up beef and broccoli for one of the like four Christmas dinners we're doing so I get to have that soon. BouncyFox

cinder karma
#

Oh that sounds awesome!

cinder karma
#

Boss's boss got me pocky!!!!

sand frost
#

Christmas pocky?

cinder karma
#

I mean it's for the full office but

ivory shadow
#

What flavor?

safe dragon
#

pocky flavor

lethal walrus
#

so that's the first time I got a javascript out of memory error (aoc 23)

safe dragon
#

that's a lot of memory to store a little graph

#

I'd have expected the out of memory exception to occur on day 21 instead

#

soon advent of code will be over once again

dark veldt
#

Anyone here familiar with Lua and using it in wikis?

thin estuary
#

Lua in wikis…?

dark veldt
#

Yeah, I'm trying to create a module to calculate the time in hours or minutes, so for example 600 would be 10 hours.

crystal wren
dark veldt
#

Then I'd invoke that module in a template

thin estuary
#

I just didn’t know wikis used Lua at all

dark veldt
#

I've written a basic code and it doesn't seem to throw any errors in the sandbox, but you know how that goes, lol

#

Just because it says there isn't errors doesn't mean it works, lol

crystal wren
#

I suppose the biggest hel pwe could get it... which wiki? Is it some particular... extension or something like that Scribunto that's enabling it? Gotta have something to look into!

dark veldt
crystal wren
#

Weird, I feel like the time conversion should be a LOT simpler than that...

dark veldt
#

Oh it is - this is more complicated because it has more variables

#

This is what I've got so far, but I'm almost absolutely certain I'm returning the results incorrectly

#

I think I should be returning (result) not time

#

But I'm over my head, lol

thin estuary
#

The return in line 7 is maybe wrong - it’s numeric, the others are strings
You do abs twice in line 9
Lines 13 and 15 return the thing that was passed in with no math involved

crystal wren
#

Yeah, looks like you would be changing out time on lines 13 and 15 for result?

dark veldt
#

Yeah, I don't know why I have the math listed twice

#

Not sure what exactly you mean about line 7, Shockah - I thought I defined "time" as a number

#

Basically, what I'm trying to do is if someone put 0 in then it would stay 0

#

(though why they would use the template is silly - just leave it blank, I guess)

thin estuary
#

(0)

#

idk if that will or will not cause issues

crystal wren
#

I'm not really familiar with Lua, but I... think line 7 is fine with it being dynamically typed and this probably going through to HTML in the end?

thin estuary
#

it depends on how that Lua code's result is then transformed into HTML, yeah.

dark veldt
#

So I'd have to implement it to see if it actually works

thin estuary
#

but i'd probably still try to keep the same type across the board

#

and return '0' instead

dark veldt
#

Ah, I see, yeah

#

The other results are to concatenate a noncalculated string with the calculated results

#

that really made more sense in my head

crystal wren
#

Ah yeah, I'd definitely do what Shockah said!

dark veldt
#

OH wow!

#

That's really cool, DH!

crystal wren
#

Just with a quick tweak to directly accept a string instead of this frame thing.

#

In your case, you would definitely want the frame, since I assume that's just whatever NPC schedule or whatever's being displayed.

dark veldt
#

I don't know what the frame actually does except I believe it "frames" the object resulting from the code

thin estuary
dark veldt
#

Yep

#

I was going to post the same thing

#

Holy macaroni, I kinda can't believe that I had a somewhat working bit of code

#

It's a bit of a Cuteduckbop

#

Thank you both for the help! SDVemoteheart

crystal wren
#

You're making the next even bot now, though. /j

dark veldt
dark veldt
crystal wren
#

We'll get you that blacksmith role eventually. SDVkrobusnaughty

dark veldt
cinder karma
crystal wren
safe dragon
#

no more advent of code

#

freedom at last

#

merry christmas

#

my goal of less than 1 second of runtime I think I ended up getting a little too comfortably

silent sky
#

anybody remember this project hahaha

#

i think it’s booting but idk? no output on the screen though

#

how do i know which GPIO pins to connect it to? it is the “with headers” version so it’s just a matter of slotting it in i assume but idk which ones it goes in

lethal walrus
#

there's already the headers on the screen so it just consumes all the gpio

silent sky
#

nah cos there’s pins left over

#

idk i’ve ran the script on my laptop in ubuntu to flash the drivers onto the microsd but it’s not showing any display on the screen

#

well i think i’ve got the right pins now cos i crossreferenced the pinout and stuff, still no display of anything though

lethal walrus
#

can you ssh in

cinder karma
#

remind me, what is the exact model numbers of everything you bought?

crystal wren
#

That... looks like it might be in the wrong position on the GPIO?

#

Looks like it call for being connected to pins 1-26, and I think you have it on the opposite end?

#

Going by this pinout image and this photo? Unless this is the underside...

cinder karma
#

yeah, going by the pictures (hard to tell) the second position may be correct

#

(it looks to me like the standoff positions should also line up.)

crystal wren
#

It's hard to tell, because it looks like there are differences between revisions, so it's kinda tough to see...

cinder karma
#

looks like there's only one spi on the zero

#

one second

#

what's the clock speed you need for the display?

#

it's gotta be pretty high

#

(also, I drew in that "spi" marker but I'm looking for csb still, that's three-out-of-four for required spi lines.)

crystal wren
#

Okay, I've determined I... think I'm right? There is no real underside on the Pi Zero, most everything is on the one side. So going by that pinout me and Atra posted, I think it wants to be shifted all the way to the left?

#

Going by:

#

(Absolutely trust Atra more than me on this, though! SDVkrobusgiggle)

cinder karma
#

ah, gpio 8 and 7 are chip selects

#

okay, all lines accounted for

#

do you have an oscilloscope

crystal wren
#

Am I way off there though, Atra? SDVpufferlurk

cinder karma
#

you're not way off! I think we're in agreement

#

like, I didnt' find that pinout, I was using their graphical version and just matching up pins with the pinout of the zero I found on some guy's blog

crystal wren
#

Yeah, like pins 1, 2, 4, the power pins, etc. are on the left there unconnected.

cinder karma
#

harvz did reverse it later,

crystal wren
#

OH! Okay, definitely missed that then.

cinder karma
#

I think the boards line up on each over, stand off over stand off

#

the holes I marked out are the standoffs

silent sky
#

wait so it’s in the wrong spot?

cinder karma
silent sky
# lethal walrus can you ssh in

uhh i wasn’t at a proper pc but i put the ssh file on the boot partition to give it the SSID and password of my wifi network so i will see if i can ssh into it or not when i’m next at my pc

crystal wren
#

Yeah, I missed that one photo! That one looks right to me too, yeah.

silent sky
#

thank you all for the support though appreciate the research 🙏

#

okay nice

#

so it means there’s some kind of driver issue that’s making the display blank then

crystal wren
#

Although I suppose it's possible that the board needs to be flipped? Like it might be the right position on the GPIO, but the board itself the wrong orientation?

#

I haven't seen a pinout diagram of the display board itself...

silent sky
#

i tried nearly every possible orientation you could think of

#

i find it very hard to believe that it’s the position of the GPIO stuff that’s wrong and not the drivers

#

but idk it could be 🤷‍♂️

crystal wren
#

Yeah, if you've tried all of the orientation, then...

cinder karma
#

So, stuff like this may not be idiot proofed

crystal wren
#

I'd expect not to be, honestly!

cinder karma
#

And I don't have the actual hardware in front of me but it's possible plugging it in wrong may permanently break one or more items

#

SPI is a pretty generic protocol

crystal wren
#

I feel like that's only super likely if the power pins were connected but in the wrong position, and that would put them on... let's see...

cinder karma
#

I'm super not used to the world of raspi but I thought raspi was a 3.3 system with 5 as an option

#

Now, given that raspi is a teaching system and overdrive protection isn't that hard, I would kinda expect it

crystal wren
#

3V3 on 26 TP_CS Touch Panel chip selection, low active, and... 5V +/- on unused pins?

silent sky
#

so i’ve blown my rpi 😭

crystal wren
#

More likely the display, I think!

silent sky
#

fiya

crystal wren
#

It's also possibly a weird driver thing...

cinder karma
#

Yeah, my biggest worry would be if you somehow managed a power to ground short

#

But I don't think so

#

I would verify it is sending a valid spi command but tbh that's an oscilloscope thing

#

Which. Uh

#

My cheap one was $250

crystal wren
#

Yeah, looking at the pinouts I don't think that's been possible at least, which is good.

#

I want an oscilloscope...

cinder karma
#

I hardly use mine lol, we just abuse the fact that work has nice ones

silent sky
#

well i’ll try to ssh into it tomorrow and then do the driver install natively on the pi instead of through ubuntu and see if that works

#

if not i’ll return the display and try again with another

crystal wren
#

Keep us updated, though!

silent sky
#

will do! thank you for all the help. very confusing all this for a noob like me, but it was fun whilst i (thought i) was doing it!

#

also my first time using linux which was exciting!

autumn tangle
#

Does anyone use Code instead of Visual Studio for modding SDV?
I got a new PC and I'm being very cautious of not bloating it with software, and Visual Studio is a bloated nightmare.

#

Is Rider reasonably lightweight?

rain apex
#

me i use code it sucks

#

to be more specific

  • the LSP works alright, sometimes it dies and i have to restart vsc
  • need to hand write csproj which doesnt seem to be the norm
  • build from solution explorer is awkward for build configs, so terminal dotnet build -c <config>
  • need some fiddling to have debug and hotreload
  • u can get ilspy for code if u want
autumn tangle
#

thats a great summary, thanks

rotund violet
#

Visual Studio is a smoother experience than Rider for most of us, though Rider is alright. VSCode really does suck, I'd call it far more than "fiddly" for debugging and hot reload. Maybe it's because I only really tried to do it on a Mac, but it was honestly a nightmare whereas Rider just worked off the shelf.

#

I straight up gave up on my attempt to get VSCode doing anything useful for C#. It's a great editor-on-steroids and a terrible IDE.

autumn tangle
#

got it

  • Visual Studio
  • VSCode
  • Rider (maybe)
rotund violet
#

Haha... you really find VS that bad in terms of bloat? It takes up a lot of space, sure, but I've never found it doing anything untoward, or outside its "scope", or when it's not running, etc.

autumn tangle
#

it's not that bad honestly
but I don't like having to install an installer for it

rotund violet
#

Yeah, I guess the complexity of the install is very high because Visual Studio supports so many languages and frameworks. Rider is just C#/.NET.

#

The corollary with JetBrains is that you literally have to install a different product for every language, or at least every category of languages.

autumn tangle
#

All I need right now is C# so I'm up to try something new and focused
I'll apply for an open source license and try Rider

rotund violet
#

You don't actually need the open source license anymore, they made it free for personal use.

autumn tangle
#

I cant code .NET without Resharper lol

rotund violet
#

Funny... I can't code with resharper, from the very beginning it always drove me crazy. But everyone else swears by it so I guess it's just me.

sand frost
#

I liked VS fine but they killed VS for Mac

#

And I REFUSE to believe VS code is an actual ide

rotund violet
#

It's not. I mean, Microsoft does not call it an IDE at any point. They call it an editor. They are at least honest about that.

sand frost
#

They do bill it as a “totally just as good” replacement for VS Mac though

#

Like their retirement notices sounded really delusional to me

worn remnant
rain apex
#

i have to use vscode for C++ at work rn it sucks^10

#

C# LSP at least works C++ is me fiddling with cpp_configurations.json for days sleep

rotund violet
#

C# on Mac+VSCode was me fiddling with launch.json for days, same kind of thing.

ivory shadow
#

The amount of AI bullshit on the website for VSCode these days is so gross

crystal wren
#

At least VSCodium exists.

crystal wren
thin estuary
#

just noticed the Leah bot doesn't have access to this channel. probably doesn't matter too much though

#

anyway, Harmony woes strike again

#

i was implementing something in my mod loader, used SomeStructType as one of the params, but in reality i needed SomeStructType?

#

no errors, other than my stuff not working

#

....... thanks #programmers-off-topic for being a great rubber duck, i realized that was in a transpiler, so it's actually my fault

#

weird that it didn't cause any exceptions though

#

it just reinterpreted the memory of the struct as a different struct

safe dragon
#

you’re welcome

marble jewel
rotund violet
#

That's almost definitely what they were doing and to me it's part of the problem - companies with a long legacy and tons of technical talent that should be leading the space are following "responding to" dumb ideas from startups chasing trends and investor money.

cinder karma
#

I'm being lazy and working out of gitlab vscode and I keep on trying to :wq lol

thin estuary
#

...for whatever reason, using a new AssemblyBuilder/ModuleBuilder for each type proxied in Pintail makes the whole process SO MUCH FASTER

#

rather than using just one

rotund violet
#

That's very strange. I imagine there could be some global caching that reduces the overhead for new instances, but hard to understand how it could outperform a single instance. I hope you're double- and triple-checking your benchmark/profiling setup to make 100% sure it's not observation error.

thin estuary
#

i'm actually only doing this, because i've seen someone saying that on StackOverflow

#

and it does seem correct

rotund violet
#

The only analogous situation I can think of is how Visual Studio seems to grind to a halt when you have 1 file with 5000 lines as opposed to 50 files with 100 lines, but I always assumed that to be an issue with the IDE in particular (don't think I've noticed it in other IDEs).

thin estuary
rotund violet
#

Interesting. Though one thing that goes unexplored is the cost of having 100 dynamic assemblies at runtime as opposed to 1 dynamic assembly.

#

Not the up-front cost of building them but what the consequences are of having them all loaded.

thin estuary
#

i'm profiling my mod loader. the current stable version of Pintail was taking 67% of total load time, because we have a lot of complex APIs used across the mods, and we proxy non-API instances to add new "events" too. after making some changes to Pintail to create a new AssemblyBuilder/ModuleBuilder per context pair (unordered pair of mod unique IDs), it went down to 12% of total load time

#

so yeah. i'll be doing some more testing whether anything gets broken, and if not, it'll go as the next Pintail version. the default behavior will still be the old one, since you had to pass in a ModuleBuilder. but there's gonna be an alternative constructor with a Func<IdkWhatExactlyYet, ModuleBuilder>, so you can opt in

ivory shadow
#

I did not expect that post to be seven years old. That seems like the sort of thing the .NET team should've addressed in that amount of time, lol

rotund violet
#

I don't think they've touched the old-school IL emit stuff in even longer than that. The new hotness was expression trees, then it was dynamic, then it was source generators, etc. I wonder how often the low-level APIs are used outside of game mods.

safe dragon
#

I didn’t even know this stuff existed before y’all but it’s interesting to see

#

I already feel like I’m using some deep internal C# stuff just using shit like GetGenericDefinition

cinder karma
#

It's used heavily by folks like xmlser and newtonsoft

#

...at least I know xmlser uses it lol

safe dragon
#

no idea what that is but I assume it’s an xml serializer

cinder karma
#

Correct, lol

safe dragon
#

I’m very familiar with newtonsoft though we’ve been gradually removing it in favor of system.text.json

cinder karma
#

Tbh I care less about like

#

Time to make a dynamic method

#

And more about runtime. In theory you don't make that many dynamic methods

safe dragon
#

I hope I never will

thin estuary
#

Pintail makes enough of these that it matters

rotund violet
safe dragon
#

some 70 year old dude at my previous job absolutely loved XML and would figure out horrible ways to integrate it anywhere he could

#

we suffered the consequences of his actions

supple ether
#

Xml is only really useful for schemas and xslt

cinder karma
#

So far at work today, both the graphics and wifi drivers on my work laptop are mad at me

crystal wren
cinder karma
#

sufficiently tired to fail to count to 20 multiple times

safe dragon
#

it happens

#

still debating whether someone in a programming server I’m in is an extremely dedicated elaborate troll account or someone genuinely extremely misguided on just about every fundamental aspect of programming with an unwillingness to change their beliefs

#

it’s been months

#

that was my mini rant as I recover from witnessing another one of those discussions I apologize

sand frost
#

I generally assume incompetence over malice. However, I mostly encounter that attitude in people trying to make or install mods, so it’s fairly easy to tell them that this just isn’t going to work and they should find a hobby better suited to their talents.

#

For example, people who don’t know what a Downloads folder is or where to find it

#

Or don’t know how to unzip files

strange copper
#

Honestly i feel a willingness to Google is huge

sand frost
#

If unzipping files is a challenge, installing SMAPI is a moonshot

#

Sometimes I try to send them Microsoft help pages, but honestly those are only medium helpful. Usually I ask if they have anyone they trust who’s better at computers, in the hopes of keeping them from accidentally installing viruses in the process

safe dragon
#

I don’t wanna slander this random person too much but their biggest issue actually has nothing to do with not googling or not finding information. It’s that they make two basic fundamental assumptions that seem to cause most of their ignorance.

  1. There is always an objectively correct approach to any programming problem
  2. Any software that does anything that isn’t exactly what they expected is simply the result of shit programming and the person who built it was simply incompetent and couldn’t have had a reason for why they did it that way
#

Today’s discussion was about their belief that a smaller binary is always better and more performant and that anything that would cause there to be “more” instructions would make it slower.
This was due to them complaining that generics in Rust make the binary much larger and that rust would be much faster if they “didn’t need so many instructions” to do generics. (While the actual reason generics in rust cause the binary to become larger is due to monomorphization which actually makes the program faster since it avoids dynamic dispatch)

#

they’re a big rust fanboy though so this one was a change of pace

#

it’s very different type of discussion than someone who has no background in programming trying to figure out how to mod

sand frost
#

I see, that makes sense

#

Honestly I know I’m not good enough at programming to know that kind of stuff for sure

#

I just listen to whatever Atra says

safe dragon
#

rust discords have funky conversations

#

the off topic channel can be anything from twitter drama to discussing different threadpool implementation strategies

cinder karma
safe dragon
#

perfect

cinder karma
#

Aside, one thing I've always been told (when picking my career) is that I was going into an industry that just...did not believe in the 40 hour work week.

#

like. At all.

#

like, it's pretty normal to work 60-80

#

and like, I'm perfectly okay with it, but I'm starting to hazard a guess that it's not like....a thing most people would accept

sand frost
#

Yeah I mean ok considering my choices…dunno if I have room to talk, but that would not be a plus for me and might be a dealbreaker if it was a) actually physically at work and b) started early in the morning at fixed hours

rotund violet
#

It's at least partly an age/experience thing. Everyone starts out bright-eyed and bushy-tailed, but eventually makes their way to "fuck you, pay me".

#

The process happens a lot faster with exposure to "enterprise", but it happens invariably.

#

Exceptions might be made if the founder/CEO/whatever is truly, phenomenally inspiring, but there are 100x as many who just think they are than those who actually are.

sand frost
#

I had an internship where they indicated that working on Saturdays wasn’t expected of interns but it was of full timers

#

And I was like “fuck that, im not moving to a state where i don’t have any friends to work 6 days a week for decent but not amazing pay”

#

It was a very educational experience

#

I learned that businesses that don’t have HR can be a massive red flag

rotund violet
#

Ah, the good old Death March.

#

"We're behind schedule [unstated: because of stupid management decisions and bureaucracy] so we'll need you to start coming in Saturdays. And maybe Sundays."

sand frost
#

I was working 40-50 hours a week as an intern and wasn’t mad about that, it was very interesting work, but I was so tired after working a full 8 hrs/day

#

My older friends had to gently tell me that hardly anyone actually works for 8 hrs/day

rotund violet
#

If someone is genuinely a workaholic then ok, I get it. Sometimes you just get obsessed with a particular problem and have to solve it. But that's different from the business/industry expecting it from everyone

#

Also, if someone is genuinely a workaholic, they should ask themselves what is truly most worthy of their time; if you're able and willing to work 60-80 hour weeks then you should seriously consider starting your own business.

#

I've known the true workaholics, and was one for maybe a year or two of my career. Also known a lot of folks who were just rationalizing.

sand frost
#

I mean empirically I can, it just also drives me crazy at 80hrs/week

#

And I’ve never wanted to start my own business

rotund violet
#

Wasn't suggesting that you personally should. Was more referring to Atra saying he's fine with it. If one enjoys or is at least ambivalent about working that many hours, why waste those hours on wage work?

#

Entrepreneurship scales extremely non-linearly with hours worked, the difference between 80 hours a week and 40 hours a week can be 10x the revenue rather than double. Whereas putting in 80 hours a week in a salaried job gets you... nothing. Literally.

safe dragon
#

you'd be hard pressed to find anyone at my job working more than 40 hours consistently

#

the office is essentially abandoned by like 4:30 pm

#

I'm relatively certain that consistently working 60+ hours in my country is considered illegal business practices

#

the absolute most that is legally allowed is 55 hours a week for a maximum of 4 weeks and it needs to be averaged out to a maximum of 48 hours a week over 16 weeks

#

for the most part this is actually adhered to... unless you work in Healthcare

crystal wren
safe dragon
#

so sad

modest steppe
#

a tragedy

fleet wren
#

"This repository's code has not been indexed yet. Try again later"
RAAAAAHH you're owned by one of the biggest tech companies in the world that runs a multitrillion dollars cloud service, the hell you mean it's not indexed yet after 2 fucking weeks

safe dragon
#

it's Microsoft man

#

they haven't even figured out indexing yet for their file explorer

stray bison
rotund violet
#

(Though I've had it happen on masters too)

#

Honestly, I can understand why indexing might just fail once in a while when you've got ten million repositories; those 0.01% bugs become certainties. The crime is not having a button to click on that says "ok fine, nobody's perfect, but seriously, hurry up and index that shit right now".

naive kayak
#

hi

safe dragon
#

hi

#

nothing quite like the minor annoyance that is a spelling error in a configuration file that you cannot fix cause it'd break shit

#

someone typed "responsed" instead of "responded" 10 years ago and now I suffer

worn remnant
#

stardew version (sorry):

public class IslandActivityAssigments
{```
safe dragon
cinder karma
#

If I ever find myself at crumble company I wil dedicate myself to minor typos

#

As in intentionally making them

safe dragon
#

cruel

sonic mirage
#

A client of ours has a "Premissions" table for user permissions

safe dragon
#

the consequences of a typo

#

one thing that happens a lot here is people mixing in Dutch words in their programming which can drive me mad

ivory shadow
safe dragon
#

there’s suddenly random dutch or it’s even worse and they combined dutch and english into the same variable name

#

the “GebruikerRoles” (user roles) table

#

that one is made up but it’s the same kind of thing

#

at my old job we had an even worse category

#

half dutch half english but the dutch is also wrong

ivory shadow
#

-# Dutch is always wrong

safe dragon
#

we had a “WichtQuantity” aka a “weight quantity” but the dutch word for weight isn’t “wicht” it’s “gewicht” so now it’s some weird middleground. Wicht does have a dutch meaning but it’s like… a not so kind word for a girl/woman

safe dragon
#

in programming yes

rotund violet
#

I wonder if they are trying to write English but somehow getting it mixed up with an unrelated Dutch word (that sounds similar) in their head.

cinder karma
#

Real talk: is an electrical engineer "supposed to" be able to replace a ceiling light

#

Mom and I disagree

#

I think your average electrical engineer probably could. A second year uni student probably could

#

She says no, she knows plenty that probably couldn't

safe dragon
#

I can do that and I barely know how to hold a screwdriver

crystal wren
#

I feel like this might be some discrepancy between what I'm (and I guess Crumble) are used to by "ceiling light"... being a super basic twist it in and out kind of thing, versus a fully mounted thing you'd need to rewire?

safe dragon
#

well are we replacing the light or the light fixture

crystal wren
#

That's the question! I assumed the light itself like I think you did...

safe dragon
#

most of the trouble installing the actual ceiling light fixture has nothing to do with the actual wires in my experience... It's figuring out how tf to hang it

#

often this funky ass setup with a little hook

cinder karma
#

Light fixture

crystal wren
#

Then I'm pretty sure I would agree with you...

#

It might not be the kind of thing an EE would be expected to do for a job, but if you can't do that, then...

safe dragon
#

shoutout to my 2 dangling ceiling lights for which I never installed a proper thing

cinder karma
#

In unrelated, I want ro buy drywall stilts

#

They look so fun!

cinder karma
crystal wren
#

Or alternatively in the UK:

safe dragon
#

you have 3 wires for your ceiling lights?

#

maybe it’s me not having lived in a building built within the last 70 years before but I’ve never seen that

#

don’t remember if the wires have colors

sand frost
#

And I’m not an EE

rotund violet
# cinder karma Light fixture

An EE student is surely going to understand the theory behind it, how the circuit works, etc. On the other hand, they've probably never heard of a non-contact voltage tester, have no idea how to trace which breaker is responsible, or any of the other tools and skills for doing it safely. Also, unless they've done other handy-work, they might not know how to work with solid wire, or any of the mounting hardware, and certainly will struggle the first time around with juggling their tools and wire nuts and other pieces around while trying to hold the damn thing up there.

#

I'd say your average EE could figure it out fairly quickly if given a couple of tools and a 5-minute crash course, but otherwise have to agree that it's mostly a different skill set. Knowing what the circuit diagram looks like is precisely zero help.

cinder karma
#

Hmmm

#

I feel like a lot of that falls into figure it out though

#

Sure

#

It's awkward af

rotund violet
#

It's just another theory vs. practice thing. EE students and the majority of all college students have never done any actual trade work, and to the extent they've worked on "physical" projects it's usually in some heavily sandboxed lab setting.

#

Sure, they'd be able to figure out in 5 seconds which wires to connect, but so would a lot of eight-year-olds. It's all the tasks other than identifying the wires that make the difference.

#

(Also, sometimes the colors don't precisely match. You might have a fixture with, for example, both red and white wires.)

cinder karma
#

Yeah, but I think most minor home repair is within the abilities of your average homeowner

rotund violet
#

Not even remotely. If you'd said it's within their capacity then yes, I'd agree. But "abilities" implies they can perform those tasks now, without a guide or external aid.

#

Most homeowners can probably learn. Most homeowners also never do.

cinder karma
#

I include with a guide in ability

#

Anyways

#

YouTube has convinced me I can replace a toilet

rotund violet
#

The hardest part is probably dealing with the bulk. Getting a one-piece up a flight of stairs...

cinder karma
#

Going to the gym more is on my new years resolution anyways

sand frost
sand frost
autumn tangle
#

Hot Reload isn't working for me in Rider.
Anyone seen this error?
[ENC2014] Changes made in project 'DaLion.Harmonics' require restarting the application: Could not found output assembly for mvid: 3187fef9-e01d-43e8-b7a1-4fe9bba9f850

crystal wren
#

It's... also not working for me, for what it's worth.

autumn tangle
#

Has it ever worked?

crystal wren
#

Absolutely!

#

Quite when it broke, I have no idea, because I was purely on Linux for a good while. Sometime between the start of that period and me needing to go back to Windows for a while.

autumn tangle
#

In Windows did you go back to Visual Studio?

crystal wren
#

I've just been suffering, mainly.

#

But on the occasion I really need to hot reload to test something, yeah.

autumn tangle
#

I see, that sucks

crystal wren
#

I even tried rolling all the way back to Rider 2022, and it was still broken. So it would seem to be something in Windows/.NET/SMAPI.

rotund violet
#

I was never able to get it working on Rider Mac either. Though I didn't get any error, it just... didn't do anything.

#

On Windows I just stick to VS.

#

Can't quite see how it would be .NET's fault, though, since this is all still on the .NET 6 framework which isn't getting any updates. (Unless hot reload is tied to the IDE's SDK version and not the runtime version... which is definitely possible)

crystal wren
#

I still generally run through the later .NET tooling/msbuild, but that's fair. I even tried using .NET 6's entire tooling to no avail.

marble jewel
#

This is the same issue I've had with Rider for a long time, and so I eventually abandoned it for VS2022. I've mostly gotten used to the differences, and have found Resharper to be sufficient for most of the things I missed.

safe dragon
#

hot reload worked flawlessly for AoC for me on linux

#

from what I remember

#

I used to use resharper but for the large projects at work it just wasn’t feasible to keep using

#

it would make visual studio almost completely unresponsive to the point of triggering windows’ “this application seems to have frozen” popup

marble jewel
#

How long ago was that? I've found the new 64-bit 2022 is pretty responsive even with Resharper

cinder karma
#

You also have a nasa level machine

marble jewel
#

Well even with my beefy machine, it was much snappier when compared to the non-preview, non-64-bit version

thin estuary
#

unless this isn't for mods

marble jewel
#

I have a long history of the feature simply not working correctly in Rider for me, and have found I'm not alone in that, and it's something that it works for some and not for others. The same code with all of the recommended configuration supports Hot Reload in VS and not in Rider (for me).

#

I've even tested it in a Windows VM that I installed from scratch to find that the issue could be easily replicated

#

It's something they seem to have no intention of fixing anytime soon since it's been at least 2 years of me waiting for a solution

rotund violet
# thin estuary

I'm not sure if I ever noticed the "as the target framework" bit, that would explain an awful lot.

marble jewel
#

Well I suppose relatively better can still be bad depending on your starting point. VS used to be borderline unusable for me which is one of the reasons why I found Rider such a joy to work with.

rotund violet
#

For some reason I had it in my head as "need .NET 8 installed"

safe dragon
#

I had to learn pretty quick that opening a webform’s aspx file would basically just render visual studio completely unusable if resharper was enabled

#

same for the 40k+ line “main” (vba) code behind file from the cash register’s main form

#

I might have just experienced more disastrous codebases with resharper

crystal wren
safe dragon
#

rough

#

to be clear, these things aren’t particularly snappy without resharper either. They just were kinda workable

#

this was on some extremely beefed up 64 GB ram i9 laptop

safe apex
safe apex
safe apex
#

My instinct says lever-nuts, since the springs should compensate for expansion/contraction, but I'd also expect them to fatigue over time. But twist nuts also experience differential expansion...

rotund violet
#

I am 90% positive I've seen wire nuts in my garage. But I am definitely not any kind of expert on home wiring or electrical codes, just a barely-competent DIYer.

#

I do know that for electronics that might be stored outside, the answer is "neither" - that shit needs to be soldered, heat-wrapped and put in a proper enclosure.

safe apex
#

Well, in the US, lever nuts are very rare overall - electricians don't seem to trust them for some reason.

#

However, I don't believe that the NEC allows you to solder electrical wires.

rotund violet
#

Probably not, no.

safe apex
#

so, what electricians in the US do isn't necessarily indicative of the best choice. Probably true elsewhere.

cinder karma
#

Wire nuts are fine

rotund violet
#

Home wiring is always on breakers, though.

#

You've got short protection at the source.

cinder karma
#

Unless you're really, really, like, on Mars

#

The temp swings aren't severe enough

safe apex
#

WAGO lever nuts are also relatively recently introduced.

cinder karma
#

If you put them outdoors though

safe apex
#

The issue isn't shorts. The issue is that the contacts come loose due to expansion/contraction, leading to an increase in impedence, and thus temperatures, spiraling the impedence, and then a fire.

#

or arcing.

#

the latter can be protected against with AFCIs, but only if an arc actually occurs.

cinder karma
#

You twist the wires together first

#

That's more than enough surface area for a gd light bulb

safe apex
#

That actually goes against what the wire nut instructions always say.

rotund violet
#

I've never actually seen contacts come apart in a wire nut. Doesn't mean that it doesn't happen, but can't be common.

safe apex
#

you're not supposed to twist them together first.

rotund violet
#

Eh? I've never seen instructions saying that. Always twisted 'em.

safe apex
#

The twisting of the wire nut twists them together and compresses them.

#

wirenuts are not UL tested pre-twisted.

#

the instruction sheet will very much tell you to not pre-twist.

#

That doesn't mean that you shouldn't, just that they say not to.

#

I prefer using Ideal's nuts, your mileage may vary with other manufacturers

rotund violet
#

I Googled it and... wow. Controversial topic, apparently.

cinder karma
safe apex
#

some makes probably handle it better than others.

#

it's more of an issue when it's repeated instances.

#

metal fatigues, even on small movements.

#

and it also has this habit of working its way loose

#

(because of entropy)

rotund violet
#

Sorting through all the emotions, the general message I'm getting is that wire nut manufacturers don't say not to twist, just that it isn't required because the nuts are supposed to do it themselves. And in a lot of people's experiences (including mine), the nuts just... don't.

safe apex
#

I suspect that if the nut isn't twisting it sufficiently on its own, you either haven't applied the nut fully, or the nut isn't very good.

rotund violet
#

Maybe it works better for stranded wire.

safe apex
#

I hate using twist nuts on stranded.

#

unlike solid, there's just so much more give and it never seems secure.

#

I just use WAGOs there.

#

if it's not full electrical, crimps.

rotund violet
#

or the nut isn't very good.

Would hardly surprise me that cheap parts are cheaply made.

safe apex
#

As said, I use Ideal stuff. I work on stuff in my home

safe dragon
#

I think this is the most electrical engineering I’ve ever seen this channel get

safe apex
#

and if I'm doing it myself, I want it done well, and with the least trouble to me.

#

so, ideal wingnuts, and WAGO lever nuts

#

WAGOs are preferred in most studies; they're just uncommon here.

rotund violet
safe apex
#

I'm just unsure of certain environments like the attic.

#

this is electrical... programming.

#

I don't do the stuff professionally, so I don't buy anything cheap. No benefit to that.

safe dragon
#

it’s ok. it’s enough for me to have no idea what it’s about and that’s what matters

safe apex
#

I have little to gain by cheaping out on nuts and either burning my house down or making my hand hurt.

#

or, worst-case, both

rotund violet
#

I think the wire gauge may have something to do with the effectiveness of nuts as well. It's hard to conceive how a regular wire nut could apply enough force to a bundle of 12-gauge solid wires to actually get them properly compressed and twisted. You have to use pliers.

safe apex
#

well, ideal wingnuts are pretty thick and sturdy

#

and the wings let you apply a lot of torque (and if you use the tool it's even easier)

rotund violet
#

And this tool does something other than the equivalent of pre-twisting?

safe apex
#

lever nuts do have the advantage of, well, just working

safe apex
#

:D

rotund violet
#

Lever nuts, at least according to Home Depot, are about $1 per nut. So there's that.

#

You can certainly argue "don't cheap out on safety" but still, that's more than 10 times the price.

safe apex
#

that's a bit much. They're much cheaper elsewhere.

#

on amazon, 2-conductor are about 60c each for 10, 28c each for 100.

#

but, as said, I'm working in my house. The cost difference here is negligible.

cinder karma
#

Got curious to see what nasa does

safe apex
#

the advantage (from an electrician's viewpoint) is that WAGOs are still significantly faster and easier to install.

#

NASA uses crimping.

#

(I've already read that document in the past)

cinder karma
#

Yup. They would know how to deal with fast, repeated temperature swings

safe apex
#

they also use the older wire loom-ey way of doing things

#

or at least used

cinder karma
#

I could learn to love crimping I guess

safe apex
#

crimping is objectively the best, it's just a pain sometimes

#

have to make sure you use the right tools and do it right

#

NASA also used wire-wrapping in the past, IIRC

cinder karma
#

Wire wrap, now that is a pain

safe apex
#

we should go back to knob-and-tube

#

I can't use ROMEX here anyways

#

the electrical code in Chicagoland requires all electrical conductors to be within metal casing - EMT or RIGID.

rotund violet
#

The electrical code in... wherever I live, is: "Building code? What's that?"

still harness
#

if anyone wants to participate in my experiment "How well can AI mimic your friends", please DM me for more info!

(i desperately need more people, as my science fair deadline is in 13 days)

fallow delta
#

heyy does anyone here have any knowledge of switch hardware ?

cinder karma
#

I swear Phone Link is the dumbest bit of software MS has made

#

My goal:

#
  1. Copy one LONG link from my computer to
#
  1. wechat
slow pulsar
#

sorry wrong chat

marble jewel
cinder karma
#

hi discord I'm just buying shit from grainger again, lolz

marble jewel
#

I have a channel on my server called #clipboard where I just paste things between my phone and PC

cinder karma
#

it's so silly

marble jewel
#

I tried higher tech options, but it hard to overcome the simplicity of something that just works, and is easy to support

cinder karma
#

anyways

#

this is what phone link is supposed to do

#

let me copy and paste from my laptop to my phone

#

it does not do that

#

it can mimic my phone screen and I guess show me what would have been displayed on my phone (no idea why I would want that.)

#

but using kb+mouse to type in text boxes? Nope. Using copy and paste? nope

#

why did you do this, microsoft

cyan shadow
#

Oddly enough, it works fine for me to copypaste between my pc and phone and vice versa

thin estuary
#

ah yes, my favorite type

supple ether
#

this makes pufferchick sad

#

I really wish ThreadStatic was more useful

thin estuary
#

i'm actually about to use the above in Pintail

safe dragon
#

that's very nullable

thin estuary
#

also i can't figure out try/finally blocks in IL

#

and i could really use one right now

safe dragon
#

couldn't you write one and then use an IL inspector

thin estuary
#

i did, and i get an invalid program then

safe dragon
#

oh that's exciting

thin estuary
#

i just wanted to pool some objects

#

apparently i was doing so much Pintail magic in my latest Cobalt Core mods, that i've managed to make GC pauses take half of the total runtime, all due to Pintail creating dumb Dictionary<string, Type> objects on every single proxy

#

i've managed to greatly reduce these allocations by just... checking if i even need that dictionary to begin with - they're only needed for generic types

#

but i'd love to pool the remaining instances

marble jewel
#

Hey y'all. I'm tired of dealing with the political drama of big corporations. Is the grass greener at smaller companies or startups?

supple ether
cinder karma
#

We're playing "what's that mod?" at work again, except "mod" in this context is an edit to the pcb

#

I haven't a clue why this is done, what this does, or even "what structure is this soldered to because it sure isn't on the schematic."

#

Fun stuff

rotund violet
#

The real grass-is-greener is starting your own, but that has its own set of major difficulties.

marble jewel
#

In the corporate world, I feel like I'm dealing with land grabs every year. Leaders fighting over who should be in charge of X, and meanwhile I just want to have my head down and do work without having to deal with all of these negotiation meetings.

rotund violet
#

If that's the only political drama you have to deal with, you're honestly kind of fortunate.

regal ingot
marble jewel
#

It's not the only drama, but it has been the most taxing lately

#

Literally had to be in a room for two full work days fighting over prioritization of my team's capacity

rotund violet
#

Why do you personally have to be at the meetings? I've been through a dozen reorgs in my day, just ignored them all.

marble jewel
#

I deal with it so that my team doesn't have to. They probably don't appreciate what goes on behind the scenes because I try to shield them from it.

rotund violet
#

Sure, I had to deal with the planning and prioritization of work streams when I was playing lead, but that's different from wholesale changes in project ownership.

marble jewel
#

It's just silly what's happening imo. No one is thinking about what's going to lead to more efficiency/productivity. All they care about is that they get to be in charge.

cinder karma
#

🫂

marble jewel
#

i.e. land grabs. People trying to be in charge just because they want to be in charge, even if they're incapable of providing any value to it.

#

It's like congratulations, you're in charge just so that my team can do all the work and you can take all the credit.

#

I think TPM has just lost its appeal to me, and I miss doing dev work

rotund violet
#

That happens to a lot of people. You can just say you're done with that, back to IC-ing, if they change all the priorities tomorrow then oh well, not your problem.

#

I'm guessing your company has some sort of formalized and possibly peer-review-based promotion system which essentially requires being a project owner in order to move up. So, yeah, everyone fights for ownership.

#

I learned how to play those games but didn't enjoy it.

sonic mirage
# marble jewel Hey y'all. I'm tired of dealing with the political drama of big corporations. Is...

I've been at a place with less than 20 people for ~10 years and there's approaching zero office politics, but they've been around for ~30 years and the majority of the company has still been there longer than me. I think the trick is to find a smallish, established business that isn't vying to IPO in 2 years and pays you the going rate for your area and expertise. The main thing would be that the work isn't going to be the same as what you're doing at larger places; everything will probably move slower and not be as shiny and new, so it depends what you're looking for.

marble jewel
#

I actually was part of a different company that operated more like a startup, which got acquired by a bigger company

#

There was something special about finding out how to accomplish things with more limited options for tech/tools

#

Now there is no shortage of tools, which is fun, but they have jobs/roles that oversee every little thing

sonic mirage
#

The owner prefers proven over shiny and new, and I can hardly blame him with how stable things have been for the company. We obviously upgrade things and try new stuff, but usually after it's been around a couple years. We also deal with a lot of smaller clients who only come back to us for feature changes, so their software tends to stagnate until its time to just rewrite it. Sometimes it just sticks around on life support, though, but a lot of it is internal webapps and things so security is less of a concern.

marble jewel
#

At the smaller company I got to see them upgrade from Excel spreadsheets, to Access databases, to SQL Server, and each of those was a game changer

sonic mirage
#

Yeah we have systems people and then us app devs, so if its not hardware related or infrastructure like server, we are usually handling it, so we're all more jack-of-all-trades then experts in some specific stack, but that keeps things much more interesting

#

It's not uncommon for us to collect Excel files from new clients to translate them into a webapp with a database for them. And then they ask for exports so they can mess with the data in Excel and we have to push back real hard until they learn to ask for us to make the webapp do it for them

#

So many small businesses run on spreadsheets

marble jewel
#

I have nostalgia for those simpler times

sonic mirage
#

I remember I added some automatic record creation to an existing site and a guy told me I freed up 3 days of his workweek from not having to hand-enter data from spreadsheets back into the site after he exported it and futzed with it

marble jewel
#

I once taught a guy how to do search and replace in Excel, and he said it saved him hours every week

#

I was a young analyst who was going through a bunch of inefficient processes and helped automate them

sonic mirage
#

People will brute force Excel unless you teach them a few simple formulas

rotund violet
marble jewel
#

Doomed

rotund violet
#

Anyway I think voltaek is basically on the money. Ask yourself if you are the "it's just a job" kind of guy or a "my job is my identity" kind of guy. If you don't care what you work on as long as you get paid and don't have to deal with too much BS, startups or rather small businesses can be great, especially non-tech startups that only employ a handful of tech people to begin with. But if you have to have the newest and shiniest, or if you need to feel like you're constantly learning new things, then you're going to be unhappy. Expect to see a lot of Java and Oracle and the like.

marble jewel
#

Ew Java. I’m glad I get to use Python and C# for work.

rotund violet
#

The python part of that is a toss-up for me, honestly.

sonic mirage
#

I learn new stuff all the time and appreciate that I get to (mostly) set the pace of the my work, such that I can produce polished, maintainable results. When I do the estimate and then also do the work, it works like that

#

We just use proven frameworks/software stacks, is all

#

The flip side is that clients bring in busted, barely taped together software/sites that we have to revamp, and while that can be very interesting, it can also be frustrating, so there are ups and downs for sure.

rotund violet
#

I don't think that's entirely typical of small businesses, though. More often, being polished and maintainable is an afterthought. It's good that you personally can set your own pace but someone considering a new job shouldn't expect to find that easily.

sonic mirage
#

You're correct, that's not typical and I can appreciate that it's difficult to find such a place. I think it will usually take people several jobs before they land on one that they like and are hopefully also compensated properly for.

#

Sometimes you have to go through a few places before you even know what it is you want in a job and a company, too, though

cinder karma
#

Microsoft: "researchers in France are turning to AI to assist with the non research parts of their jobs."

#

Me: "have we considered maybe not making them do those parts of their jobs."

safe dragon
#

no

cinder karma
#

Granted tbh I would take magic software to put my slides together

#

But like

slow pulsar
#

You'd think tech companies would understand the importance of having humans in charge of accuracy

rotund violet
cinder karma
#

Less bureaucratic work SDVpufferthumbsup

#

Tbh I'm complaining over stuff I've only rarely had to deal with

rotund violet
#

That is, in effect, what automating it will accomplish, because once something is automated there is always a concerted effort to minimize scope.

cinder karma
#

There was a lovely accountant at my last place who would handle stuff really well; often I just sent him the receipt + account number + project

#

Like. Over email

rotund violet
#

Several of the places I've worked at have had some online expense portal thing where I put in the same info. Doubt that's the kind of work they're trying to LLMify.

rain apex
#

Why is the dwarf debug info doc 1 giant pdf blobghostdeaddead

solid snow
#

Hey, I am new here and I dont really know where to put this message lol. I am a little comfused and i was wondering if the SMPI is only used for modding or if we can also use it to get information from the game as in levels that the player is at, day of the season, season, time, etc.

supple ether
#

I'm not sure what you mean by "get information from the game" if not for modding.

All that information is stored in the save file though, which is just xml, so if what you're trying to make is an external tool, that's a good place to start.

#

I guess I should ask- what specifically are you trying to do or make happen

solid snow
#

Yeah, so i am trying to make a game assistant kind of to have the stardew valley wiki accessible from the game, kind of like a little chat bot. But i dont want to be telling the chat like how much money I have, the day, the season and all that stuff if that makes sense. I was trying to figure out if i could get all that information from the API and what other information is available (as in is the greenhouse fixed, what level fishing are you, what did you choose fisher or trapper)

supple ether
#

Yes you can, but that just sounds like making a mod, yes?

solid snow
#

I guess i am a little confused of how mods work. the API mods are in C#? I want to use python if possible but i do feel that doing a mod would be easier. I guess i am a little confused on the restrictions of modding

supple ether
#

To be clear- c# in general does not really have IPC capabilities out of the box, so if you want any real-time information into or out of the game, you WILL need to make a mod for that

supple ether
#

(unless you make a mod to do it)

marble jewel
#

The game is written in C#. SMAPI allows your C# code to run with the game.

solid snow
#

could you do a mod just to send real time information to another script?

supple ether
#

Absolutely

marble jewel
#

You could. There have been mods that incorporate their own scripting language as part of their features. I even think an old mod called PyTK used to do stuff with Python Lua. The mod itself would be more complicated C# code to do the scripting stuff than writing it all in C#.

solid snow
#

so what i want to make is by hitting some key strokes i want a window to pop up where you can ask a question like "what should I plant" and without any more context needed i would get anohter popup window with the answer and i dont really know a lot of c# but i know that python has many libraries for doing that and i dont know if it would be easier to do a mod to get the info to the other python script or just doing it all in the mod

supple ether
#

Sounds like a good place to start doing research

solid snow
supple ether
#

Stardew does have ui capabilities

solid snow
#

that is true

marble jewel
#

Considering the whole game was written in C#, I'm pretty sure C# can handle UI

#

Since, you know, the game has UI

solid snow
#

thank you soo much everyone!!

#

I will do more research but this was really helpfull!

supple ether
#

C# has libraries for nearly everything. It is extremely powerful, flexible, and concise.

marble jewel
pliant snow
#

Another detail that's probably worth noting. You theoretically could write a mod in Python. However, you would need to write a Python program that would run all the time alongside SDV, checking for various events to happen and reacting appropriately. This is a bit cumbersome, so the reason why C# is recommended is that the mechanisms are in place for the C# modding code to be initialized and run alongside the game, not as an external program

lethal walrus
solid snow
#

omg you guys are so helpful, thank you very much!

cinder karma
#

:sigh:

rotund violet
#

Fuckin' passwords, how do they work?

lethal walrus
#

which makes me think those passwords are stored in plaintext without sanitisation or something

cinder karma
#

tbh the real annoying part is that I need to make a phone call to get a dental appointment

slow pulsar
red crest
#

limiting the special characters you can use is a sign of it
limiting your password in general is a bad sign. it just reduces the number of possible passwords there can be

lethal walrus
#

and in theory, length shouldn't even matter - most hashing algorithms have the same length output always

cinder karma
#

in theory I should be able to make a password that is 100% cat emojis and the chinese character for biangbiang noodles and it should be fine

#

I can imagine a length limit, but 15 is real low.

rain apex
#

Duang (Mandarin pronunciation: [twáŋ]; pinyin: duāng; Zhuyin Fuhao: ㄉㄨㄤ; written as 動L in Hong Kong Cantonese with Jyutping dung6 eu6) is a Chinese neologism that has become a viral meme despite its meaning being unclear. It has become a popular hashtag on Sina Weibo with more than 8 million mentions by the start of March 2015.

#

very sad this isnt in unicode

cinder karma
#

(ie, I shouldn't be able to submit the entirety of War and Peace as my password, but 15 feels low.)

red crest
#

15 is very low

#

thats lower than most username feels i find

#

fields*

cinder karma
#

tbh it took me a few tries to realize that was why they were rejecting my autogenerated password

rotund violet
#

Can we also get a round of boos for sites that disable or try to disable pasting into the password field?

lethal walrus
slow pulsar
#

BOOOOOOOO

leaden marsh
crystal wren
#

Making me want to make the least friendly login/sign up form of all time...

safe dragon
#

just make a login form where you simply always have to fill in a captcha to log in and have it forget your session every refresh

cinder karma
#

no

#

this is your password entry form

#

all 0-9a-zA-Z allowed characters

crystal wren
#

I'm thinking of including features such as limiting the amount of characters that can be inserted with a certain timeframe, too.

Too fast, it's obviously a brute forcing tool, and we don't want that.

leaden marsh
#

Anything above 60 WPM is unrealistic

#

40 WPM, even

safe dragon
#

anything below 20 wpm is considered being idle however which the website does not allow to avoid extra network traffic to idle clients

#

you will be forcefully removed from the website

#

reminding me of the password game

leaden marsh
#

Forcefully removed by way of testing every possible known browser vulnerability on you

#

And since your machine is clearly idle, run a cryptominer so at least something productive is happening

safe dragon
#

🙏

ivory shadow
#

If my password can't be the entire bee movie script what's even the point

hollow marsh
#

alternative title: fun things to put into the production server on your last day of work

rotund violet
#

Gonna go out on a limb and say that's fake.

safe dragon
#

impossible!

slow pulsar
#

Why did the gif freeze for me 😭

#

nvm it works lol

slow pulsar
#

Can a tech wizard explain why having a web browser open takes up space on my hard drive? Mozilla AND Google Chrome take up about 2GB when I'm on YouTube for some wild reason

sand frost
#

Are you sure it’s hard drive space and not RAM?

slow pulsar
#

It's the hard drive space

#

I close the browser and I suddenly get two gigs back

rotund violet
#

Maybe if you've got a dynamically sized pagefile. Didn't think that was still a thing, but who knows.

#

Or it could be cache that is cleared on exit, depending on your settings.

#

There are a lot of possible reasons but really the only way to know for sure is to do a before/after snapshot and see what was actually deleted or changed.

slow pulsar
#

I can imagine it shoving a bunch of stuff in a Temp file

frosty echo
#
$ md5sum /mnt/b2/test
c3c2969a32764125a5858c7f6bca5f72  /mnt/b2/test
$ md5sum /mnt/b2/test2
734e9abb7b05916c808fa109473884a0  /mnt/b2/test2
``` ![SDVpufferchickhands](https://cdn.discordapp.com/emojis/649746888110899210.webp?size=128 "SDVpufferchickhands")
safe dragon
#

hmmm

pliant snow
#

I assume the -a flag is doing something to it

frosty echo
#

It shouldn't be, it just means it copies attributes and timestamps and stuff

rotund violet
#

Is /mnt/b2/test an alias for /dev/random or something?

frosty echo
#

No, nothing sneaky like that

crystal wren
#

I want to know what test is ,whether multiple cp -a runs result in the same hash, and to peek at the before and afters in a hex editor...

frosty echo
#

A random file, head -c 50G /dev/urandom > /mnt/b2/test

crystal wren
#

...well I'm certainly not looking at those side by side in a hex editor.

frosty echo
#

Yeah

#
$ md5sum /mnt/b2/test3
f59488c604ae003955a56f38e021f71e  /mnt/b2/test3
$ md5sum /mnt/b2/test4
c7fb26956a30b2cd1b157755d642e5bd  /mnt/b2/test4
$ cp -a /mnt/b2/test4 /mnt/b2/test5
$ md5sum /mnt/b2/test5
ce3641709b282a769be4aa9372cc2f2f  /mnt/b2/test5
#

Repeating the md5sum on the same file does give the same result though

pliant snow
#

I would hope so

#

Is the file too large for MD5 or some oddity?

crystal wren
#

Good thought! Is this going on a FAT file system, maybe?

frosty echo
#

If they were being truncated, wouldn't they be truncated at the same place each time?

crystal wren
#

I would assume so, but at this point...

pliant snow
#

idk if it's truncation or something about the MD5 calculation picking a non-standard chunk of data

frosty echo
#

But no, ext4

pliant snow
#

If you try a smaller filesize do you have the same issue

frosty echo
#

That's what I need to try

rotund violet
#

And you know... try it on a different mount point, different drive, etc. Worst case would be a failing drive or I/O controller.

frosty echo
#

It must be something, not sure what yet. Not controller or cable, may be drive, still investigating

frosty echo
#

Did a compare on a 1G pair of files that were doing the same. 1 bit difference

lethal walrus
frosty echo
#

In the middle

safe dragon
#

magical

#

radiation flipping a single bit every time you do a copy

lethal walrus
safe dragon
#

always exactly the middlemost bit

#

that'd be fascinating

crystal wren
#

And it's not every file that happens to exist on whatever drive/controller this is?

frosty echo
#

Not every file, no, smaller files seem less likely to have a problem

frosty echo
#

And now it seems to have stopped happening, but I didn't change anything SDVpufferflat

floral ivy
#

Hi everyone,

#

Does anyone know how I can get the item sprites?

#

I've been downloading them from the wiki one by one but there are too many

safe dragon
#

wrong channel but if I had to guess they should be available in the game files, possibly as xnb files?

floral ivy
strange copper
#

Maps/springobjects

floral ivy
#

is that im a making a web app

#

not a mod, but your right

#

thanks

strange copper
#

Ah got it

unborn chasm
#

can someone make a mod where your children can help on the farm?

cinder karma
#

!modideas

indigo mistBOT
#

If you have a mod idea that you aren't planning to make yourself, you can put it in the mod ideas github: https://github.com/StardewModders/mod-ideas

However, this does not mean anyone is guaranteed to work on your idea—modders who are looking for ideas sometimes go through and work on what they find interesting off this list. If you want to pay someone to make your mod idea, there are a few people who do commissions (mostly art, sometimes code); you can ask around, search usernames for the word comms, or see !commissions.

safe dragon
#

spent the last few days experimenting with blazor vs svelte for my job and man blazor sucks

#

I've used blazor professionally for years now and I still can't get it to work right while I got it working exactly how I wanted within an afternoon in svelte

supple ether
#

As much as I like c# I am skeptical of blazor

safe dragon
#

they tried to do too many things at the same time with it, making it shit for every one of those options

supple ether
#

Do you think it's better or worse than php

safe dragon
#

I've never used it so can't judge

#

I can tell you it's in some ways actually worse than asp.net webforms was

#

though I'd still pick blazor between those two

supple ether
#

Yikes

safe dragon
#

blazor has so many core issues that have been just moved to later releases over and over for years now

#

the framework is honestly only really usable at all if you

  1. turn off prerendering completely
  2. only use blazor wasm or blazor server and never auto
#

and for both blazor wasm and blazor server it's very far from ideal

supple ether
#

Fat clients my beloathed

safe dragon
#

blazor wasm takes genuinely ages to load even if you try everything you can to reduce load times and the debug experience is sometimes actually worse than if it didn't exist

#

blazor server just has core issues with requiring permanent stable connectivity to function due to the websocket but on top of that the framework missing some extremely basic important features like debounce that you'd need to prevent some types of events to not completely overload the websocket queue with events (like onmouseover you simply cannot use without building some custom funky ass workaround through javascript bindings)

#

the amount of data sent over the wire by blazor server is also quite significant when compared to for example phoenix liveview(which uses the same concept of a permanent websocket connection)
Phoenix liveview uses absolutely tiny little update packets that very precisely specify which parts need to change, blazor will gladly blast over the entire grid's worth of data through the socket if you look at it wrong, sometimes several times within a second

supple ether
#

I've been wanting to use htmx for the frontend of my next project, but I'm not sure what to use for the backend yet.

C# is great for api stuff, but its templating seems terrible.

Rust has some promising libraries but lacks higher-level utilities

Codeigniter seems pretty good but my php experience is very minimal so I can't judge it well

safe dragon
#

on a more fundamental issues level, blazor tries to be a "reactive" framework (aka updating the dom immediately based on changes in the data) without actually introducing any kind of mechanism to track updates. Which means it will just assume that all data changed every single time any event happens (or StateHasChanged is called)

crystal wren
#

...what.

supple ether
#

Oh yikes

safe dragon
#

blazor doesn't even support observables/notifypropertychanged

crystal wren
#

But...

safe dragon
#

like basically every react inspired framework introduces some kind of system where if you try to update something, the framework can detect this and attempt a minimal dom patch if necessary

#

some like svelte go a step further using proxies + signals to detect the exact change you make even if it's only 1 field in 1 object in a list of 1000 items

#

but blazor? nope

#

nothing

crystal wren
#

So is it like... they just havenn't shipped a Blazor-native way of doing that, or with how it's made it'll actively fight you trying to do it yourself?

safe dragon
#

anything that is not a primitive type like an integer or something is always assumed to have changed unless you manually override the ShouldRender method and then manually implementing change detection

#

ShouldRender wasn't available either for most of my time using it

#

yeah...

#

there's also features that are on by default that don't work when used together which is wild

#

they have some feature to "persist state" from prerendering so that it doesn't have to be retrieved again once the client itself takes over... they also introduced "enhanced navigation" so that when you click a link that brings you to a different page on the website it won't actually do a full page load and just update the DOM/url accordingly...

these do not work together so if you go to a different page while enhanced navigation is on and it tries to prerender the page, the state is not persisted anyway so it does it twice regardless

#

yet both are on be default, making both features fundamentally broken out of the box

#

when they introduced built in authentication features they actually ran into this themselves and built some funky workaround manually. Then in that issue tracker someone of their own team commented like "this is clearly an issue we should give more priority to fix"... which was years ago at this point

#

so yeah

#

as I talk I keep thinking of more complaints I have

#

but I'll leave it at that

native cedar
#

hello

safe dragon
#

hello

frosty echo
pliant snow
#

That's quite a bad stick of RAM

frosty echo
#

1 bad nibble I think

sand frost
#

latex is a bit like programming — today I was trying to figure out how to get \section{} to use header tagging for accessibility but it turns out the answer is ???? pain and suffering for the most part (there's apparently a package straight up named accessibility that does it, but also is kind of old and broken, so lots of conflicting advice)

regal ingot
#

TeX is a turing complete programming language

safe dragon
#

uh oh

#

C# drama

#

fluent assertions changed its license to require commercial users to pay

#

and it's over 100 dollars per seat

#

who would ever do that

#

fluent assertions does nothing except make test assertions easier to read

#

I luckily didn't use it in the first place though I considered it

cinder karma
#

"Easier"

#

Barely any difference at all

thin estuary
#

nah, the difference is huge

safe dragon
#

huge

rotund violet
#

I never understood the appeal of those frameworks. Like it's really that hard to read Assert.Equal(a, b)?

#

There seems to be a certain type of programmer who that more abstraction and more complexity automtically means better design, even if the abstraction doesn't do anything useful.

sonic mirage
#

Some people are just addicted to chaining method calls

ivory shadow
#

I blame JavaScript devs

safe dragon
#

the only thing this does that I find somewhat "useful" is that I sometimes forget which of the two in an Assert.Equal is supposed to have the one you're testing and which one the value you're expecting

#

this is something that can be solved within like a quarter of a second and visual studio even tells you if you put them the wrong way around but still!

#

it's something

#

I've always just used the standard built in asserts regardless

#

I love fluent api's but for this it doesn't seem to actually get you much

#

I'd be more worried if this had been about FluentValidation instead of FluentAssertions

#

cause DataAnnotations ain't great and I don't wouldn't want to migrate back to that

rotund violet
#

Always check the license. Apache, MIT and even GPL can't be retroactively revoked, so the worst that happens is you get rev-locked. And then, probably, someone forks the open version and continues maintaining that as open, and the original company that pulled the bait-and-switch fades into oblivion.

#

If it's "free" but not open, well...

safe dragon
#

yeah fluent assertions was apache so you can just continue using the old release

#

and considering assertions don't change particularly often I don't think you'd miss out on much

cinder karma
#

I really don't get it

#

Tbh

#

I like fluent apis (perhaps too much)

#

But I don't find them more readable

#

And especially not for assertions

safe dragon
#

honestly my guess is that the one who developed this was kinda done with maintaining it and decided to cash out, not caring very much that this would definitely fail

rotund violet
#

That's usually not how it happens. Usually it's a change in ownership, with the new owners not being particularly bright re: how open source actually works.

safe dragon
#

apparently the company that purchased it (and now employ the guy who made it) have pulled the same trick before

#

with the wpf toolkit

rotund violet
#

It happens depressingly often. I'm trying to remember the specific example that I came across a few months ago, but for the life of me cannot remember which product it was. It was something I hadn't used in years, and had never used very much in the first place. The acquiring company blasted out a bunch of emails saying we were going to get charged monthly - no ifs, ands or buts. One wonders how they were going to do that with users who hadn't ever provided a credit card number or other FOP.