#programmers-off-topic
1 messages · Page 33 of 1
The Google way
this website gets my approval
just jquery for some interactivity and a library for a fancy slider
though it is jquery 1.11
which came out over 10 years ago
if it aint broke
can you imagine going to your boss and saying we need to update the jquery, but not actually change anything
"I don't like the number that is commented at the top of this minified jquery file"
okay going from png to webp did reduce one of the images by like 80% lol
who could've thought
but also I hate webp.
damn
I guess for images people don't want to download it's superior but otherwise trying to get to a jpeg/png version of a webp is annoying.
I looked into alternatives like avif and jpeg xl for thumbnail generation but they're either not supported or don't really have good tooling available rn with what I use
the annoying thing about webp isnt webp, its that a lot of viewers dont support it for some reason
once i found the right package, i dont mind them
Fine, I like webp fine, I dislike how quickly it was adopted by browsers vs how ~~fast ~~ slow media is adapting.
The fervent webp hate online is interesting to me, but maybe I'll understand it better if I use Windows and/or process photos for a living
I mean, photo processing tools all support webp and have for years now
so do I think all major thumbnailer programs used by linux file explorers
I think the problem has mostly been solved at this point but the bad experiences linger
there's some weird things though
I'm not sure if it's still true but discord used to not support uploading webps for profile pictures even though they themselves serve profile pictures as webps
apparently Photoshop only supported webp since 2022, and Windows Photos only since last year. That's basically 5 minutes in internet time
damn
Like I said, if I used Windows I'd probably sympathize more with the online hate. Linux/GIMP wins again
ive apparently never done nested lists in HTML correctly
how are you doing it and how is it supposed to be done
we'll mark those down as "not recommended"
<tr colspan="3">
I did one time recently have an easier time implementing a layout with tables than grid
which was, would you believe it, for a table
Apparently when you nest them, the nested ones have to belong to their parent <li> element
Wrong:
<ul>
<li>Item A</li>
<li>Item B</li>
<ul>
<li>Item C</li>
</ul>
</ul>
Correct:
<ul>
<li>Item A</li>
<li>Item B
<ul>
<li>Item C</li>
</ul>
</li>
</ul>
which i think looks stupid, but apparently is correct
I've made improvements
the other stuff it wants is kinda dumb so I'm not going to worry about it
apparently a 7 day caching time isn't enough, it wants an entire year
do browser caches even live that long
what does Core Web Vitals assessment mean
how healthy your spider is
every site i tried this on failed that for mobile
you have no idea how difficult it is to get any scores close to this with blazor
well
any blazor rendering mode that isnt SSR
run JS on your website? jail
understandable
Working with ref struct in C# really makes me appreciate the Rust borrow checker despite its rough edges. There seems to be no viable way to express "A owns B and therefore it is not a leak for B to have a reference to A's state". As soon as you go ref struct, it's all copy-on-assign all the time.
They're needed if you ever want to write no-alloc code.
likely unnecessary for 99% of everything I do but neat tool for in the toolbelt
Yeah, well, yesterday/today I decided to try to write a parser, which is one of the main use cases where you really do want to use them.
Fuck QT
the funny vertical 10 bux
I don't have time for this bullshit, qt
what ails you
qt
and one of the funkiest scrolling effects I've seen
I mean I hate it but it's neat
great use of tax dollars trust
You know what I fucking enjoy? Sudden dark mode that doesn't change any of the font colors
ah you have that beautiful black on black
qt used to always have that with dropdowns and shit for me
dark text with a dark background
libreoffice always does that by default for me lol
libreoffice is so awful with theming
Tbh my word files are also doing it which is weird
I really do not want it to be in dark mode
lol i think ive seen that before
That's really cool. I think I've also seen it before as well, haha.
Until the 30th of September get 30% off any course on Dometrain with code BTS30: https://dometrain.com/?coupon_code=BTS30
Subscribe to my weekly newsletter: https://nickchapsas.com
Become a Patreon and get special perks: https://www.patreon.com/nickchapsas
Hello, everybody. I'm Nick, and in this video, I will show you all the performance impro...
Just for the puns
smh he's late
yeah, git revert
9 seems like a perfectly logical default value
Just keep everything in a scalable Excel table
you just add new rows and it scales right up
I have been told some businesses have actually genuinely worked with automatically updated excel sheets
I've been given the horrible task of manually copying data into an excel sheet once every few weeks
Which I actually need to start thinking of ways to remove that excel sheet, its the dumbest thing in the world
oh no
are they aware that there are libraries that can write to excel sheets for you
the last person who did the task knew but kept quiet about it so they could spend 10 minutes copypasting and 7 hours playing runescape.
Its a list of requirements that our products are supposed to obey. Anytime someone makes a new feature they need to go into this repository and add their new requirements to the proper git-backed CSV. It's not the worst idea in the world, except at the end of every quarter someone has to come along and cross reference the individual new requirements to which products they actually apply to, which somehow has become me. Now that we've moved to using ADO for everything, my goal is to convince the higher ups to move it to live in there, which would be 1000x simpler for everyone, but I suspect I'm going to get pushback
but, people who don't know even basic excel function much less doing things programmatically for it is wild.
If anyone knows if ADO supports some sort of searchable... whatever for us to put a list of product requirements so that regular users can just search or filter through them or whatever, please let me know lmao
what's ADO
Azure DevOps
That's not quite what we need
Yeah, its called a CSV and I'm the database
it needs to be human readable
by people who know nothing other than Excel
I've done my best to write a script that will scrape the data I need, but theres no guarentee the stuff I'm scraping even has everything
well, that seems like bigger issue than what data storage format you are use
Everyone lives out of ADO, that's part of why I want it moved in there, it would become a more rigid part of the process
this is half office politics, half technology
do your requirements change that often
The higher ups are convinced that pretty much every new feature should add new requirements
So it's dozens of entries I have to sort thru each quarter
"The product should be able to do X, Y, Z if A is present" stuff like that
documentation
yes, but very bad documentation
I actually hate how we structure our requirements, but thats a whole other fight not worth having
normally you'd verify something like this through integration tests
We do, this is one of the things the testers apparently utilize
where I work it's the testers who document the requirements
Wouldn't that be nice
I am merely the middleman trying to format these documents from the developers who dont want to write them to whoever injests them
no dont say that
other than the wiki I suppose
i have to believe i can be free
you can be
The manager who did this before me basically went "oh yeah, I was spending hours every evening doing this, i appreciate the help"
this sounds like some peak big business efficiency
yeah its great
If anything, this is one of the oldest continuous documentation we have, which means its kinda jank
anyway
time to push the governor changes and see if everything breaks
lol
Now we watch and wait...
as everything explodes
is it a behavior change or just a refactor?
There's one slight behavior change, but it should just be a refactor
the error is a behavior change
oh theres a whole file of functions with incorrect parameters now, cool
if only there was some way programming languages could tell you this before it runs
alas
Did the bots fall over?
we turned on the "Onboarding" feature which for some reason has meant that people aren't getting their roles like they should, but only occasionally
I have no idea why, and took this opportunity to refactor a bunch of stuff
Ah, I also added that to the server I own—I had to beef up the spam filters but otherwise it seemed to go fine, but previously I had been adding roles by hand (very small server compared this one lol)
I have no idea why it would change
That they're still getting XP, but something is changing where they don't get the role, even tho it always works without that setting
Hmm, that’s pretty weird 😦
I keep trying to be clever and cache the data, but its saving me from searching through a like 6 element array, I should just do it
since the cache clearly is getting me off
rip tiny bit of efficiency
depending on the implementation of the cache it might not even be faster than scanning an array of 6 elements
It was literally just a mapping to the index in the array. Although now I do have to get the IDs of all the roles they have, just to see if they're missing any, but that's also an array of less than 10 for most users
I should also say I only added that cache this morning as part of the rework so im not too sad to remove it an hour later lol
you're distraught I understand
that function had gotten really weird tho, I was passing in values that could be None and returning values that could be None, it was really goofy
youtube broke invidious again 
yeah, it seems like they're rolling out whatever new protection this is slowly so some videos work but others don't
boo
thankfully, playlet pushed a hotfix which uses https://github.com/LuanRT/YouTube.js/ for video data instead of invidious, so I can still use it on my tv
and that works well for normal videos but live streams are super low quality/laggy
oh, they used to work perfectly for me
I get around it for now by playing any video that isnt working via mpv, but its not ideal
Missing my sponsorblock 😔

protocol to speed up protocol development
one of the best ways to speed up wayland protocol development is by blocking the entire gnome foundation from voicing their opinions
totally factual and I am not biased
fire gnome into the sun
I want to declare I found a very much a heisenbug at work
And it has to do with a device controlled by gpib
is there a replacement for wayland yet
to solve all of wayland's problems
Also, after having read architecture docs yet again, I still do not understand the desktop windowing architecture
They don't do a very good job of explaining it
its all very confusing
Crashing the computer with windows Explorer lol
@pliant snow actually looks to be caused by new install requirements to get around the latest protections; adding them fixed it for me https://github.com/iv-org/inv_sig_helper/issues/25#issuecomment-2372559195
What actually is this?
hmmm
I guess the official invidious installation guide recommends it
looks like that was just added this week
Oh I see, rather than reverse engineering the javascript google uses to try to lock down youtube to its clients, it just runs it instead
It's google, so they probably wouldn't run malware?
it does seem to work
There is another Beatle at work
Beatle or beetle?
I hope it's Ringo
another?
better be ringo
Probably just Paul.
that rascal
I kinda wish that companies would stop with the ai chat bots in the corner
They will. I give it about 6 months to a year before the GPT (and GenAI in general) bubble bursts.
the little AI support chatbots have been around for much longer and as far as I can tell they did not get better from gpt either
Yes. But now they all depend on either OpenAI or Anthropic. It's that dependency, which did not exist before, that will take them down.
I think we're heading into the Trough of Disillusionment phase of the hype cycle
maybe
(Around LLMs specifically)
it has at least stopped being something that helps you in marketing (to people that is, not investors)
The hype cycle is a techno-social model; my prediction for LLMs are based on the financials. That's not to say that the hype cycle is incorrect here, just that it only predicts when people will stop being excited about it, not that the industry will collapse.
There will be no "slope of enlightenment" for GenAI, it's a dead end.
(Which is terrifying for my stock portfolio, but in my defense, I didn't choose them because of GenAI, they started diverting into GenAI long after I owned them.)
I work under the Data & AI Org at my company, and we went from leaders saying we'd become AI Powered a year or more ago, to not much really changing as of now
I'm just looking for the default stackup man
I don't need help of AI, I just need a well organized website
That's my point - the collapse is not simply hype dying down, it is a massive change in the financial structure, both capital and pricing.
Well, "massive" over time, it will be subtle at first.
I think the hype cycle follows that though. It will find it's place somewhere way below the hype, but in a more utility/cost-effective function.
i wish i could work up techbro enthusiasm towards AI tbh
the image generation stuff has valid applications for my work
There is no cost-effective solution to GenAI. Have you looked at how much capital they are burning through? It is unprecedented; it makes the 2008 mortgage meltdown look like chump change.
Right now, but aren't a lot of the costs based on using GPU hardware
(There's a naming issue here; GenAI is barely AI. AI is still interesting and relevant, but GenAI in particular is a dead end.)
GPU, TPU... either way it requires insane amounts of capital and there are no new ideas or revenue streams coming out.
The biggest (albeit invisible) cost is actually the training data, which they have essentially run out of, and that is why they've all resorted to massive copyright infringement.
we r try to implement AI upscaling
but the plugins we r trying out is unsatisfied with the mere 100gb of ram
That's why I think it will "crash" in a sense, but land on much more boring utilty functions rather than be world changing as the hype would want people to believe
ESRGAN is not good enough?
(unsure, i say we but its really my coworker who is suffering with it)
What utilities, though? That's the fundamental problem I see; all the problems GenAI is being touted to solve are invented problems, or problems that didn't need solving. Most techs we talk about on the hype cycle do solve real problems and are just a little too, well, overhyped. But if the real costs of GPT et al are exposed to consumers then it is 10x more expensive to solve with it than without it.
The real cost to run this stuff is far higher than the cost of an intern or secretary. Even the cost of a mediocre graphic artist.
lol blockchain there at the beginning. One techbro vulture capitalist "innovation" trying to latch onto the new one to maintain relevance.
General GenAI I have described and maintain is a cute novelty at best, not efficient for its power use.
AI/ML tools like LectinOracle and AlphaFold are good uses of the tech, but they won't make money like how the techbros want AI to make money, and seeing predicted proteins is not exciting or sexy to the average user, useful as it is, so it doesn't get much mainstream play.
Blockchain is what I'd consider a good example of the hype cycle. Bitcoin solves a real problem, but the massive shitcoin/NFT/etc. stuff that sprung up around it and every management consultant pushing companies that have nothing to do with finance into "blockchain" solutions was unnecessary and pointless.
"Techbros" are a minor driver of all this, it's the McKinsey consultants who control the hundreds of billions of dollars required to keep the engine running.
I think the average techbro is just easily excited and easily duped.
Fwiw when people say tech bro
I hear tech enthusiasts
Not necessarily technical people
This is equivalent to, like, not being able to find the sizing chart on a clothing website
usually at that point I begin to suspect the website of being a scam
not great
tech bro to me means one of those silicion valley "entrepreneurs" that try to sell investors on the future of some industry with some technical innovation they pretend is going to change everything
they might not necessarily even have a technical background. They just think tech is the solution to... anything really
they're more charisma than actual credentials
They are not
They are just the type of person who is good at what they do and bad at web design
when I say techbro, I mean "silicon valley talk fast hype man seeking VC money and selling vaporware". I don't mean to insult tech enthusiasts.
yeah
they might not even necessarily be a tech enthusiast. They might just see it more as a marketing tactic than something they believe in
that said. I do think generative AI will find a place in something. Even if it's just a much smaller locally run instance which might be reasonable enough to run on regular workstation machines for autocompletion solutions for example
I don't think these gigantic very expensive genAI cloud providers could ever be profitable though
I'm with Atra on this, or at least I think I am. "Tech bro" is principally used as a sneer word against ordinary guys who enjoy tech, and principally used by the exact people whom Teoshen is talking about. I know that none of you guys here mean it in any way that's intended as an insult to any of us, but, having spent so much time in the industry, I really do not like the phrase because of this very ambiguity and the fact that it's more often deployed as propaganda than used to describe a real situation.
Or more succinctly: The VCs, management consultants and fake "entrepreneurs" who are actually fucking everything up, love using the term "tech bro" to blame the corrosive culture on the engineers who actually do all their work.
I guess it's just a different environment we find ourselves in for the use of that word
I mean, this is the top definition on urbandictionary and you see what I mean:
https://www.urbandictionary.com/define.php?term=Techbro
An educated male lacking in social skills who also happens to work in tech. Many of them are libertarians who simp for Elon Musk, and/or people trying to reinvent the wheel with some dumb new technology.
while mine is more this https://tvtropes.org/pmwiki/pmwiki.php/Main/Techbro
It's meant to convey the idea that everything that's wrong with the tech industry is the fault of the engineers, and not the management consultants and tech journalists.
the tvtropes definition pretty much matches what the term has meant to me
always nice to have a term with competing definitions
I think this throwaway line in the TV tropes writeup really gets to the heart of it:
(if they aren't just fratbros and hedge fund kids who fell into funding tech startups)
The people the article is talking about are almost always frat bros and hedge fund kids, and almost always well-funded and advised by VCs and management consultants who are totally on board or even pulling the strings; they are almost never former/current nerds running their own show and virtually always have no background whatsoever in tech. Having them called tech bros is a very deliberate mechanism for connecting them with programmers, engineers, etc. And you can see from the rest of the TV tropes page that even the author(s) of that page is/are very confused and have trouble separating the two.
They paint it as a bottom-up movement rising from geek culture when it is in fact a totally top-down movement run by well-connected insiders.
We already had several perfectly good phrases to describe those sorts of people: grifters, con artists, hustlers, and so on.
Listening to google may have messed up stardew.chat on mobile...
God its quite fucked up
Its that initial-width=1 meta tag which i dont really understand
oh that
I just deleted it. It might be improper to not have but it looks better lol
why is set not hashable in python
is it about mutability?
there's frozenset i guess
makes sense
im gonna use frozenset
ok benchmarking my algorithm on my own computer instead of just sending it to romayne 😭
some of the things i really think would speed it up ends up just making it slower
also the weird slope for yellow comes because i ran it from 1 to 100 and then from 100 onward
anyway this looks like O(n^2) which is prob the best i can get
going to write this up in stardew and see how reasonable it is
Wow is the brute force method n! or something
yeah, it was n!. (calculating actual fish hook percentages)
yeah, O(n!). there are n! possible random shuffles for a list of length n 😵💫
I may not be able to code, but... I don't think he's doing it right
ohh python style
The curly braces are on the right side. Dude that's evil... 😭
I wouldn't be surprised if the code is written without the curly braces and semi-colons, and that those are all actually added via some sort of parser
I think we just hit a record on the amount of comments placed in a single PR. They outsourced the implementation of a feature to some other company and the changes they made are just insane
it was ultimately a fairly straightforward feature but my lord this PR
riddled with bugs, scenario's that would crash the application, buttons that will become completely unresponsive for over several seconds due to random connection checks thrown in...
there's over 100 comments on this PR and all we did was a single scan
pretty much none of them are nitpicky things but actual functional problems
there's a while(true) retry loop with no cap of any kind
what a nightmare
happy I will not be around to have to maintain this
alas
management told me their plan was to move more work to an outsourced team with me leaving
That bodes well for them
definitely
When is your last day
the sign of a good change
I wonder if they will "outsource" to ChatGPT. Based on what you're telling us, it might be an improvement.
I really would expect better from chatgpt
in that case it would be much better written, but when you go to run it you find that none of the functions it used actually exist
That could still be an improvement over making the app unresponsive.
at least then it just wouldn't compile
God, dotnet framework 4.5 is hard to install these days
yeah at work we have some funky installer we had to basically reverse engineer to get 4.5
luckily we have since moved everything out of 4.5
I'm just trying to run an example code file from NI
So far I have yak shaved three versions of dotnet
I've found net framework 4.0 dlls lol
with some luck you can just update the csproj to an easier to install newer version
for core?
I think microsoft themselves still distribute all the sdks for core
they're not that old
for .net framework you'd need to update it to 4.6.2 or later to get a regular download from microsoft
idk what NI is
National Instruments
dotnet 6 should be easy if they supposedly moved to that...
Yeah, except well
all you modders probably already have it installed...
does NI just not distribute their packages at all
Badly!
even for internal packages we use nuget man
not the standard source of course
the NI Package Manager...
well good luck
I'm doing both at the same time
Also trying the c sample code
Do you actually need the 4.5 runtime to run 4.5 code? I thought 5.0 was essentially a merge of the 4.x track and the Core track and could handle both.
My problem is that labview runs the code
I am not sure what the latest version I can use is, i thought it was core 6 but I'm having a hell of a time finding the common instrument lib for core at all
Disconcertingly labview itself may be using framework 4.6.2
there is no core 6 unless you just mean .net 6
understandable
4.6.2 is also what our cash registers run
cause some clients are for some reason completely unwilling to update windows to a newer version that would support anything beyond that
IIRC, .NET 5 was the first to require Win10.
Lot of people really did not want to move away from Win7 and I completely understand why.
When Microsoft finally decides to stop supporting Win10 and puts out a framework version requiring Win11, I am going to be one of those people.
many clients don't even want to update to windows 7 sp1
which would allow for 4.7 to run
God why
Also, what is wrong with win 11 that's so bad?
I'm actually not upset at windows 11 but also I reverted the right click menu immediately
it's just windows 10 with a few things made more annoying and more telemetry and AI nonsense
I use it fine but it was in no way an improvement
I think I'd just sound like a broken record going over all the things I dislike about Win11 again.
wow
I like it more than the previous Teams
It boils down to "privacy issues, ad issues, general nuisances, and some performance issues".
For versions of Teams it's an upgrade, still prefer Slack/Zoom
I'll be using teams soon for work. I've never used it beyond a few voice calls with people outside my company
I think I also disabled the ads
I like slack
(I still dislike outlook compared to Gmail but.)
have never used outlook before so no opinion
Can't you disable the telemetry
I didn't mind Outlook in the old days when it was a corporate thing. The new Outlook they're pushing on consumer Windows is aggressively hostile to privacy, wants to store all your POP/IMAP passwords in the cloud.
I don't like this need for everything to be cloud
As far as disabling all the annoyances in Win11, yes, you can, there's just a lot more of them to disable and they keep adding new ones. (They're still adding new ones to Win10 too, but at a slower rate.)
SharePoint is the thing that really draws my ire
And it's my general distaste for these practices that turns me off of updating anything Windows-related, ever.
So for the record my personal computer runs Ubuntu 20.04
Like, we pay for Windows, yet Microsoft still treats us as if it were ad-supported software.
Lol. But I'm not hating win11 on my work computer except for SharePoint
(I think everyone who's used SharePoint despises it. No arguments there.)
Last time I used it was damn near 15 years ago, but everything I've heard suggests it has gotten worse, not better.
I don't even really understand what it is beyond filesharing
Otoh, like, I have low expectations of a work laptop you know?
Most of the time I'm not fighting it so good enough for me!
It has enough ram to not die 😁
I got a very expensive, high-end laptop for work, but I can't really say more.
Ironically I also largely used Linux for work. All my Windows experience is at home.
Lol
I only use windows for work on a specced out workstation laptop. Idk about performance issues in w11 cause all the antivirus/malware programs handle that for them
(I can't say more about it but yeah, linux at work is great other than the fact that we have to use windows to get there.)
That's... one way to build it, I guess.
heard good things about wsl2 at least
I actually have no idea what my new job uses but considering I'll be developing in C# I'm guessing windows
I had a lot of trouble when I tried to use WSL on this machine and ended up having to uninstall it. But IIRC it was conflicts with things that normal people mostly don't use like Hyper-V.
It's not wsl2, it's basically ssh I to linux server
Yeah I figured it was either remote or a VMWare type deal, WSL would be too esoteric for even a hardware-oriented SharePoint-obsessed business to run.
For just a console? Or a remote desktop deal?
oh are u remote into it
that's one abysmal rdp
I also ssh into crumbles home server from his ipad
damn
I used to work exclusively through Remote Desktop
never had any issues with speed
Remote desktop is an option but I always just stick to ssh terminal.
when that's an option yeah
Even though RDP wasn't actually that slow for me. Something about having a remote desktop open at the same time as my regular desktop just... bugs me. It's friction while I'm trying to work.
if the internet is anythng less than gigabit then remote desktop is doomed
Eh, RDP responsiveness is rather more about latency than bandwidth.
You need some bandwidth, obviously, but once you have the minimum, adding more won't do a whole lot.
for me I used Remote Desktop to remote into a work pc on which everything was done. My laptop was merely a cheap shell to remote into the real pc
yea that is true, it is just the shittier internet tend to also drop more packets
yeah it's more latency
i was on an adsl connection at the time of 80 mbps
latency was alright, somewhere in the 20s
never had issues
DSL is usually not that bad for latency, it can even handle video calls decently. Although mostly DSL is being replaced by fiber; if you're one of the unlucky ones, I'm sorry.
It's the cable connections that can be really unreliable; some days you'll have a 3 ms ping, other days it's 300.
Keep in mind we are on site
Of course, what atra is talking about sounds like it's a problem on the server side.
yeah I'd assume so
ur remote is just intranet right
And by "problem" I mean "horrible catastrophe how do you even do that"
Predates me
Sounds like the experience you get with 95% packet loss.
Server is overloaded
exciting
Speaking of Windows telemetry
I'm surprised businesses don't bitch more
You know, their precious IP
It's complicated. Bitching isn't much of a strategy. Think of these big companies as aspiring nation-states, all seeking to spy on each other, prevent others from spying on them, and generally engaging in all sorts of information and cultural warfare.
Getting mad and complaining would be pointless. Complain to whom? What will they do about it?
If microsoft is stealing corporate data, you'll bet there will be a lot of bitching
they might accidentally encourage legislation that prevents them from doing the same invasive telemetry

First they would have to know what's being stolen. Then they would have to understand what's being stolen. Then they would have to be able to prove it's being stolen. And even then, there is a fine line between theft and "telemetry", especially now with everything being cloud-based and phoning home.
you have a lot of faith in the validity of corporate lawsuits
Me? I have zero, that's my whole point and the reason why I propose the (wannabe/striver) nation-state model. There's no one policing the system. You can bitch if you want, but so what?
It's kind of the same deal as patents. Different tactics, but same strategy. There's no use complaining about patent trolls or frivolous patents; you play the arms race and try to maneuver into a MAD situation where no one wants to sue you because it could be ruinous to them as well.
.choose fix GPU fan, fix GPU fan, fix GPU fan, build new PC
Choose result: build new PC
WHAT
Have fun building a new PC
anyway, darn, I'm looking at the GPU market right now and ugh
first crypto, now AI
I felt like the last good time to buy a GPU was 6 years ago
the last time i knew anything about buying GPUs, AGP was a thing (about 20 years ago)
What's agp
that's the best part, i don't remember 
i think it may have been the type of connection it used to the mainboard. i think it came in different numbers of x (like 8x)
yeah PCI express ate it
Haven't checked prices recently, but although the 4080 was really insanely expensive, it is also extremely good. It's massively overengineered and even at full load, my CPU heats up the loop faster than the GPU.
(4090 was just too big a pill to swallow when I was looking.)
Also, I bought it used for about 60% of the "retail" price at the time. I use scare quotes there because the few retailers that had it were selling it at twice the MSRP.
4080 is pretty tempting. I maintain that no one actually needs a 4090
though rn I'm waiting for NVIDIA to reveal their next gen before I bite
I think it's this month?
You're right, I could easily run everything I run right now with a 4070 or lower; but, the cooling would be a lot noisier. Also, VRAM.
They did roll out the "successor" to 4080 (I think they called it Super again?) several months ago which was just kind of... weird, spec-wise. But it should have dropped the prices on the 4080s.
I have a 4090 and I agree 
but it was my first big paycheck so 
anyone can help me solve this
trying to install expanded step by step but ended up like this
#1272025932932055121 is a better location
Though it looks like you're modding Android? In which case don't expect much help unfortunately, Android modding is old and broken, and not many people is knowledgable
ah okay
thanks
what kinda language doesn't support recursion
Overview This example shows the new drag and drop recursion interface to generate the Fibonacci sequence. Description A recursive function calls itself as a part of its own definition. Recursion is an advanced programming concept that can be used to reduce the complexity and size of code required ...
incredible
my university had a requirement to have recursive fibonacci in every CS course
so we saw it like 10 times in various languages/ways 
lmao oh god
I think the ML course didnt have it, thinking of it now 
I only saw it once in my functional programming course in haskell
and it was like 1 slide to just explain that recursion exists
I've done enough recursive programming that I don't really understand what I struggled with when I first had to use it
i realized that because of precendence i think fish chances are even more complicated to calculate. should generalize pretty easily from my earlier process though
I fear what the fishing chance code looks like more and more every time this gets mentioned
i assume it's setup the same way weather is
list of entries, each having a condition, first one that is satisfied is chosen
and the conditions include a random chance
is it not just grouping by precedence and then each subsequent group being mult. by the chance all prev fail? if so, agh
so if the first entry has a 20% chance, then yeah, that one has a proper 20% chance of being chosen
but any further entries have to take into account the 20% of the first entry
theres two separate places chances are rolled, some fish have a 100% chance in the locations data and then have separate fish data with a different calculated chance
so if 2nd entry is also 20% in the condition, it's actually 20% * (100% - 20% (of the first entry))
its just painful overall fr though
fish probabilities suck
there's weird, useless shit with the jellies
and the probabilities can depend on player pos and fished tile
I’m pretty sure this is the right reaction
lemme see
well immediately, no. there is, for example, not necessarily (n-1)! shufflings where a certain item is first in the list
why doesn't sdv just use a weighted chance like almost every random drop table implementation ever made
take [(0.5, 0.75), (0.6, 0.4, 0.7), (0.125, 0.25, 1)] where () represents precedence groups. 0.5 is in first, across all random orderings (respecting precendence groups) 1! * 3! * 3! = 3!^2 = 36 (the remainder of a group needs to be multiplied, and the other precendence groups present as well)
if this were just [0.5, 0.75, 0.6, 0.4, 0.7, 0.125, 0.25, 1] then 0.5 would appear in the first place (8-1)! = 7! = 5040 times across all random shuffles
wtf
my method solves for the 5040 times one lol
i think this is actually Pathos/CA wanting to keep the chances exactly as they were pre-1.6. the code was dumb, and they needed to make the new code also do the dumb logic
usually it's managers demanding such things 
im wrong it's just a modification on the previous method
Probably this. If they updated the code, then they'd also have to go through the data and redo/rebalance all the actual chances.
I was wondering what .tmx stood for, as an ancronym, and saw that it stands for Translation Memory eXchange, and is mostly used for translation softwares and localization tools. but that... doesn't seem like the right type of file format for making maps with. I know this isn't an actual gameplay modding question, but I'm curious. does anyone know why Stardew uses a translation memory format to store maps in?
if i have to guess tmx prob stands for tiled map xml
and tsx might be tileset xml
oh, so it's also a proprietary format? if they have the same file extension, then does that cause problems if, for whatever reason, a translation program that uses the Translation Memory eXchange version of tmx loaded a Tileset XML version of tmx?
both kinds of tmx we r discussing here are xml like
i think tiled would just go shrug cant read file and thats that
since they have different top level tags
and to clarify it's not a proprietary format, as that page mentioned it's licensed with CC
by 'proprietary', I meant that it's a Tiled-specific format that doesn't see a lot of use outside of the Tiled program, but you're right, I used that word incorrectly
its not wide reaching like png ofc, but ultimately it's just a standard
anyone can go make a library for reading and writing tiled tmx 
but, thank you for teaching me something new about file extensions. I thought that they were all unique, or else it would cause problems/crashes when programs were expecting one type of extension and got a different one than they expected, even if (to human eyes) the .tmx extension looks the same
You can associate different file extensions with various things in your OS
its on the program's side to not explode when reading bad file
But that is a you decision
whether it's file corrupted or just unexpected format
oh, I am not looking to do that, this started because I was curious what .tmx meant and found a file format that matched the .tmx extension, but looked incredibly weird for storing map data, and wondered how that could be used in such a way (because I was under the misunderstanding that all file extensions had to be unique)
Then we have the occasional person who waltzes into #making-mods-general with a .svg renamed to .png and sad face when that crashes everything
I assume it crashes because the game/SMAPI is expecting to find a .svg file and finds a .png instead and has no idea what to do with it?
oh no, reading that exchange makes it seem like you did not have a fun time debugging that
Someday you are going to run out of wetware storage for all the details of random bugs you had to fix years ago.
I mean
I'm a cat with an oscilloscope and a power drill
Can you even be sure I have wetware
I thought that was a heat gun.
how big is brain if measured in bytes 
I heard that even orange kitties have at least one brain cell
is it even sensible question to ask
I've heard estimates ranging anywhere from a gigabyte to a terabyte, but it is kind of a category error.
In the same sense that LLMs don't actually store a copy of all the text they've ever read, but they still "remember" fuzzy details.
Someone did this with svg and edge, it’s the worst
It might actually be Edge screwing things up itself and not a human doing it
But it’s super annoying because the laser cutters unsurprisingly don’t appreciate freaking Microsoft edge
pretty sure windows 11 automatically sets pdf to edge on installation
I got an XFA (an old proprietary format that some govs still use for digital signing) PDF at work once on my Linux workstation, and the only software that could read it was ||Mozilla Firefox||
None of the actual PDF readers worked
So in a way I see the justification (at least for my extremely specific use case)
No Linux version
If I was on Windows I would have just used Adobe
I try to avoid Adobe at all costs, personally.
the one time I out of desperation tried to use Adobe acrobat for a pdf it still didn't work. I had to fill in a form and it just refused
pdf forms in general seem to be very annoying to deal with
Adobe really tries to gaslight people into thinking only they can open PDFs
None of us do
I once had a pdf I could fill in and if I opened it it would be filled in but then if I sent it to someone else it was empty
god, I'm not sure if we still do, but there's some automated build job at work that only runs like once a year that has to parse something out of a PDF. which occasionally broke down
I've worked with pdf generation for reports and stuff like invoices but I leave the actual pdf stuff to the reporting library
doing anything with a pdf once it exists scares me
I had to fill in a form recently and Adobe acrobat for mobile just insisted it was a read only pdf
Google drive was able to fill it in fine though
they're mysterious things
The pdf spec is literally 1000 pages
So I'm gathering pdfs are not just images with pages?
very much not
It was spun off from the printing specifications iirc, which was a big area of computing in the day
Funnily enough, I actually converted a bunch of digital magazines I have from pdf to another image format because the PDF size was so much larger, having to render all the fancy graphics
The funny thing is that the "P" in "PDF" stands for "Portable".
that makes me wonder what a format would look like that isn't portable
drm encoded into the file?
.exe
It is slightly more portable than literally carrying a laser printer with you.
(very slightly)
slightly yes
Portable means standardized here right
Dont some pdfs literally have executables embedded
Doesn't need speshul program to read
I wouldn't be surprised
I think it supports all sort of crazy extensions
Why cant I talk in the vc
you need level 5
chat just a little more and you will level up
How do I get level 5?
PNGs r also portable so it's just ppl abusing pdf in particular
someone somewhere out there probably understands the pdf spec
Ok
How much do I need
To chat?
Is there a certain amount
We need to talk to get level 5?
Dunno, but you can check in #governors-mansion with the /level command
(Read the server guide)
2 hours ish
On a happier note, I just learned that .NET 9 has partial properties, so some day we'll get to live in a world where INPC doesn't suck.
shame the new extensions thing was cut from this release
it's not a particularly feature rich release as far as shiny new things go
but I like it
Performance is a feature!
does beg the question whether they're going to try to introduce big new features in .net 10 aka an LTS release
it is
I am very happy with the linq changes
and in general the memory usage improvements across the board
fun
maybe I should switch to Arch for my next PC
do it for pacman
That seems right. Before pdf, the only real options were rtf or plain text.
Plain text of course had no formatting at all, and rtf had only limited layout options
wow pdf is 2 yrs older than html what the heck
Yeah isn't that fucked up
Yay!
Get it?
Okay, I'll let myself out.
This feels cursed somehow
Not really. According to wikipedia, a list of HTML tags was first publicly described in late 1991 (but there was already working server and client software in 1990) and a formal specification published by the IETF in mid 1993. PDF was proposed in 1991 (as Interchange PostScript), a publicly available specification released in 1993, but remained a proprietary format controlled by Adobe until it was released as an open standard (and a royalty-free patent license) in 2008.
Yep, the historical trivia is that PDF traces its lineage back to PostScript which was around all the way back in the 1980s, so it completely makes sense - printing has been around a lot longer than the web has. On the other hand, if you want to go back even further, HTML/XML were not the invention of markup languages; their predecessors date all the way back to the 80s or even the 60s if you consider proprietary versions.
yep, PDF is a combination of font embedding, a simplified version of PS, and compression (at least in the initial version).
and HTML was intended to be an SGML application (although many of the various versions didn't quite make it to be 100% conforming SGML and they eventually gave up) plus hyperlinks, which Tim Berners-Lee had already implemented in a previous project in 1980. SGML itself was the evolution of GML created at IBM in the 1960s.
uhm, actually pdf stands for pat doggy fast and it's the motto i live by whenever i see a doggy
Oh my god there was almost a government shutdown????
how does that even happen
I think this is the third time I've heard about the US government possibly shutting down
I think I looked into why that's even possible last time but I've forgotten by now
It's when Congress doesn't pass the spending bill for the year, if they don't do it by the start of whatever fiscal quarter they're on, the federal government has no funding and by default shuts down
Every year they go thru this dance
I'm pretty sure that here when the spending bill doesn't get passed in time we just continue using the old one
were you surprised it didn't
because as a non-American I thought that was normal
On one hand I wish they'd stop making a big deal out of it since it happens every year at this point, but on the other hand I wish they'd somehow make a big enough deal out of it to convince the people voting for the politicians that force us to deal with this to not vote for those people.
Not that I expect that would work
Guys.. remember to keep political talk off the server lol
this is cool
what is that
math
6480
fair
HTomgtheresadoggyimgoingovertoaskifitwantspatsML
yup that's what html stands for
.quote 6480
No quote found. Wow, chat more, losers.
this is so sad
Is this number incremental or randomly assigned
incremental i think
I want to burn asp.net web forms to the ground
Turning the simple task of enabling or disabling a button based on which checkboxes were checked into a two hour activity
thats fun
very
but it's done
and it's the very last time I will ever touch this application
🎉
presumably the last time I will ever touch web forms
I hope so at least
You find out your next life us webforms
Just webforms
You wake up in a life where there is nothing else
True hell
You would think installing the exact same programs with the same configs on my desktop and laptop would give the same results, but you would be wrong
I've long given up such thoughts
I just want blur effects on both, is that too much to ask
yeah
😔
have you considered becoming myopic
why put the blur effect on the pc when you can put it in your own vision
smear vaseline on my retenas
writing a nice dynamic programming solution for interview practice on a question tagged "dynamic programming"... and then looking at other solutions because mine was comparatively slow just to see that return n % 2 == 0 is an alternate accurate solution in one line
Dynamic programming to check if number is even
it was a game-playing question where both players play optimally and I couldn't figure out that the way to play optimally was just to pick 1 every time 😭
The only other way I could think of doing it is just division by subtraction in a loop
Which q
#1025 divisor game, easy difficulty
i had it just giving me random DP problems and I feel so betrayed that i didn't even need the DP
assuming the compiler doesn't just optimize this away(which it probably will) it's technically faster to bitshift to the right and then back and then check if the value is still equal to the original
than a modulo 2
Any half decent compiler will do that
is it sensible to do like
public abstract class Foo<T> : IFoo where T : IBar
the T is used for type of a particular field
I've seen that used before at least
in a generic model where the generic type is the type of the Id (long or int)
yeah, looks sensible to me
thank im glad i didnt do any crimes
today in weird ass bugs
the nuget package version we were using to validate jwt access tokens only worked on select computers
it didn't work on my pc or the server but worked fine on another dev's pc
with the exact same access token, signing keys and everything
updating the nuget package fixed it
idk what could possibly ever be computer dependent for validation a jwt signature
everything we could think of was identical between our pcs
even the exact same version of windows
I am so exhausted by JWTs existing.
In theory, they're fine. In practice, so many people just use them in completely wrong ways.
Web devs discovering jwt be like:
"We don't need to do the existing auth layer stuff if we just validate the jwt."
"We're using this jwt like an oauth access token so it should remain valid for hours if not days."
"Invalidation? What's that?"
Yes the James Webb Tokens
welp, gonna be calling these Jason Webb Tokens for a hot minute now
guys can someone recommend a software language that is easy to learn and will help me learn other languages?
But yeah. People will be like "we can use jwt for access tokens, that way we don't need a database" but then you need a database anyways because JWTs don't come with any sort of invalidation built in aside from expiration time.
So you aren't saving yourself a database query at all, and also your access token is now like a kilobyte or more in size because every jwt is enormous
C
....
bold suggestion
🐍
oh really?
no i think its important for the youngins to know what pointers are
C
There I bolded the suggestion.
C is good to know but but really a good starter language.
the standard answers for easy to learn programming languages are Javascript or python but I started with C# and it was totally fine
C# is good to start, honestly.
yea and it'll help if you have something to aim for while learning, like making a mod
Javascript is a good choice if you're strictly going for web development but otherwise I'd stay away from it as your first language
You don't have to worry about manual memory management, but it still has other useful qualities like a static type system
this server is naturally going to be pretty biased towards C#(including me)
I do think it's genuinely a solid starter language though especially if you want to get into either game development or web server stuff
Yeah, c# is solid. It can get very complex, but it doesn't need to be that complex.
You still have fairly normal syntax without meaningful whitespace, which is my biggest issue with Python for beginners
It's also kinda just better Java imo and I started with Java and turned out fine
hating hours
You have actual types that aren't a dumpster fire, which is my biggest issue with js/ts.
I'll +1 C#
assuming you're not just using an auth provider like aws cognito I'm not sure how one could ever think they can avoid storing some state in their database
Web devs. shrug
my only experience so far has been json
json is going to be a part of what you work with regardless at some point in the future tbh
all these C# advocates digging their claws in...
yes
json isn't a programming language
Well, I'll ask one more question, it's a bit silly, but can c# be learned by watching videos and experimenting without a course?
Do you even accept lab view, atra
You would stay very employed
idk atra ive only ever seen you complaining about labview
is employment really worth the angish
Last week a fourth person in this 30 person company told me
atra has two modes:
- Knitting
- LabView problems
yes. I think that's honestly true in general for programming. A drive to just try and do things will outweigh anything a structured course can do
everyone here will scoff and be offended, but python or javascript are overwhelmingly used in a lot of spaces and will set you up to work on a large number of projects
"I can work in labview but I really fucking don't want to."
just make a mod tbh
nah you're right. I mean I'm sure most of us have to work with at least one of em sometimes
Not saying those languages don't have their place. I am saying those languages have fundamental issues that I think makes them bad for learning.
my animosity towards python comes from the fact that i have to write python instead of cpp
should I look at how it is done with applications like ILSpy and do it? because I don't have a single idea about c#
JS especially does some really stupid things that could give someone bad habits
I kinda get that, and while I think statically typed languages give the fundamentals better, I think one with an abundance of resources and versatility is worth more
Any language that silently and automatically type casts between string and float at the drop of a hat should not be used to learn
the best answer is just "use whatever seems to be used for the thing you want to do with it" but that of course relies on you already knowing what that is
but for first language it's better to pick something that punish u for bad spaget
the biggest barrier to programming in my experience is just having to motivation to get through that initial learning curve
My very first programming course was in Java
which language it is is secondary
most mods are open source so u can go look at those, i think there's also code academy intro stuff
we used some drawing library, and we did some neat projects, I liked it
Yeah, a lot of beginner courses are Java. And C# is just ms flavored better Java.
At the end of the semester, I wanted to show off what I had made, and realized I had no idea how to actually make the project portable
That realization turned me off for probalby 4 years from programming

Got it.
thank you to everyone who helped
I don't think I'd ever used the publish option for C# till work
All languages kinda suffer from the same thing, and the prof probably should've taught us how to do it, but I only got back into it once I found bash and python, which let me run things more immediately with much less hassle. The actual fundamentals I picked up as I went
python is easy to run yeah. Just drag the .py onto the pc and assuming it doesn't have dependencies you're good...
Good luck if it does have dependencies tho
Python package management is best described as "install Python again and install different packages"
speaking of which, I need to check out uv
idk if it really has many benefits, but people seem excited about it
doesn't pip have some chroot jail/venv nonsense capability for this exact reason?
Yeah, and it's nonsense.
"fuck it, just make a new environment"
Even js has better package management
linux distros are moving towards not even letting you use pip anymore lol
Not that node_modules started off great but now that js package managers are just using links to a global cache the performance is way better. And you never have to worry about dependency pollution between projects
lmao another pip??
A second pip has struck the site-packages.
We've got three different versionf of python installed on our work computers, which irritates me to no end
I remember spending hours once cause a script was finding some random other python executable somewhere which was the wrong version causing it to fail
idk pip always works for me
i do admit probably not using virtual environments is some kind of python crime
that was back on windows tho
I'm not offended but I think people should be aware that both of these languages have the risk of teaching bad habits. if you go on to learn other languages then probably it will turn out fine.
This is why they recommend using virtual environments
but like, i feel like if I didn't know about types, half of what python did would be some kind of mystic nonsense
half of what python does is mystic nonsense
For arch, I just install the python package I need as a distro package (which someone told me was frowned upon, but idk) or do it in docker
if i need to run a python program, i reconsider my needs
just like how right now on duolingo I'm muddling my way through nouns of having gender in russian, but duolingo obviously doesn't tell me this, so I just hope I get the right version of "this" out of the 3 choices each time
This is why any and every Python app distributed on Windows distributes its own copy of Python.
i feel like separately windows is bullshit about python
i always find it so frustrating while on my mac it Just Works
There's by default a python.exe in path...
Which opens the Microsoft store
Yeah, somehow Python seems even more bizarre on windows, in a way it isn't really on mac or linux
shout out to duolingo removing their grammar explanations and then also removing the discussion forums so now you literally don't have any way to get this information without going to a different website
Windows and python seemed hostile
never worked well for me
I think the very first time I ever tried to install python is the time I learnt what path variables are
cause windows did not believe python existed despite me installing it
I'm glad to be anaconda free never understood what that's about
One time I had cpu version of pytorch on windows and tried to uninstall it to have the GPU version and the only way I got it to work was to just install the next version of python 💀
Autodesk needs to stop shipping their own python with stuff 
soz autodesk will now ship two versions of python instead cause you asked that
matplotlib takes ages to build in pip, yet with uv it seems instant
Wait uv is a package manager? I thought you meant uv the high performance networking library
nop
Why would they reuse the name
its a new fangled pip replacement
That's so dumb
that would explain why there was a uv and python-uv Arch packages lol
uv mapping has nothing to do with ultraviolet alas
apparently uv mapping is called that cause w, x, y and z were already taken
the standards diverge so far for uv that they all do something in completely different fields
its like how they apparently wanted to call wayland the Y window manager, but it was already taken
im going to switch bouncer to using uv, we'll see how this goes
suddenly everyone is properly getting their roles
There's been an issue with that actually that I still haven't figured out
If users who joined ages ago, but never spoke, now speak only once, they aren't getting villager. It seems the second time they post they do get it
[2;34mDoes [2;31mthis [2;32mwork [2;33mon [2;35mmobile [2;36myet?[0m[2;35m[0m[2;33m[0m[2;32m[0m[2;31m[0m[2;34m[0m
No
Do you mean colored syntax or just code block
Oh interesting, ansi color codes work on desktop now?
They have for a while now
I wanted to use them more for bot stuff, but they werent and apparently still aren't supported on mobile
What's the % breakdown for mobile vs pc users for this server? Do we know
Huh, I probably haven't seen it because of no mobile support.
I think the discord stats do show that
do i still have access to those...
no
booo
Yeah, server insights does show device stats.
why dont they give me unrestricted access to everything smh
i am server owner after all
I use both
Now that I know ansi color codes are a thing I feel tempted to write a bot for something like
[1;34;47m West of House Score: 0 Moves: 0 [1;37;40m
ZORK I: The Great Underground Empire
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Revision 88 / Serial number 840726
West of House
You are standing in an open field west of a white house, with a boarded front
door.
There is a small mailbox here.
>
It would be interesting to write a bot that's a wrapper around zork
adds to todo list
what about king's quest
There are open source interpreters for Zork's scripting language, should be easy enough to wrap one of them.
Hmm. King's Quest could work too. The bot would just have to upload an image, but that shouldn't be difficult.
You don't exactly need 60 fps for King's Quest
There were bots where people got gameboy emulators of some sort running
text-based ones would be more fun tho i think
surely discord doesn't just allow randomly inserted iframes
I dont think so
uv proudly backed by 3 venture capital firms that invest deeply in crypto and defense startups 
they're heroically draining money from firms that would've otherwise used that money for crypto
The dream
I also would love to have php and nginx in the same docker image, but idk if thats worth it
fantastic, you're now forced back onto the team properly 😌
Gratz aquo
HUH?
that's... kinda neat
feels like youre discords labrat
I GUESS?
but this is like, a relatively new account that's so weird, is it because of nitro
maybe it's a/b testing
oh yeah discord picks random nitro users for new features
man, i paid money to be a lab rat
What does going right mean
so far i havent figured out if there is an opt in/out

I CAN MAKE CIRCULAR LOGIC
Can't believe avi usurped the server
hmmm
much better than to link a message like before tbh
i do like that it has a full show
I suspect this isn't how it's supposed to look
....i think
Congrats, you've unlocked forwarding (I was equally as confused when I noticed it today too, we're both lab rats in discord's game 😔)
But I haven't updated phone discord in like 2 yrs
if you forward a forward I guess it still looks the same
Kind of, depends if it's just one message you're interested in
true, true
I'm also a lab rat this time
Labrats unite
atra's also a labrat
Is this 3 emote thing new too
nah I think that was already a thing
it came about like a week ago

I've had the 3 emote thing for a while so not new at least to me
i was like oh, yknow, that's useful
you're correct, i do use those 3 emotes too much changes it up
I think I've had it for months
wait hasnt it always been there like for months
Idk I only saw it yesterday when I restarted my discord
After 2~3 weeks of ignoring the green update button
Only 2-3 weeks?
on Linux Discord force feeds you update and won't launch if it's outdated
much like slack, i refuse to update until told
Peasants, my max is ,checks notes, less than an hour
i have that "gotta have all my notifications gone" kinda problem


