#programmers-off-topic
1 messages · Page 16 of 1
but it'll make it worse
I slingshot between "these people are very smart, surely they understand the implications of what they're doing" and "these people do not care and are blinded by greed, they have no idea what the implications are of what they're doing"
Things being SEO'd to number one were bad enough before LLMs, yeah. Now, I just...
i think google is run by MBA types these days
i think the day will come when the board throws out the current CEO, their reputation has plummeted under him
https://iorate.github.io/ublacklist/docs can help for that
i had a kagi subscription for a while
i forget why i stopped it, but I recall being displeased with where they were going
https://iorate.github.io/ublacklist/subscriptions has things for a lot of different junk
the kagi ceo is bad, I can't find the original blog
their company used to be all about AI before the AI hype bubble was a thing
it never took off, so they moved to search
that may have been it lol
also his approach to censorship/politics is 'tech shouldn't be political' and 'we should show all results' and things along that line, leading to extremely right wing garbage
ah here it is
Do any of those lists remove the code snippet spamming sites?
I swear if a code snippet is anywhere but on StackOverflow then it'll have like 5 clone spam sites in the results alongside it
I expect so, try subscribing to most things, see if they continue to appear?
Even if there isn't one, just having a way to easily blacklist them like this will be nice
sure love the front page being full of product reviews either by people who've never seen any of these products in their lives or an actual AI given sponsored talking points
I don't really google programming questions very often these days so I'm safe from that
I tend to just have the msdn docs open in necessary since that covers 90% of my needs
the day microsoft adds forced AI documentation to msdn is the day I quit programming and become a goose farmer
Trust me I'm this close to moving permanently into thr mountains and living off the land
i think theyve been using AI in their help forums for years
i dont think ive ever ended up on a microsoft help forum and found the answers that I need
and given how the commenters seem to get angrier and angrier, no one has
What puzzles me is that they're notably worse than other help forums
someone will ask a question exhaustively listing everything they have tried, maybe even log files. Then some "verified Microsoft support" member shows up and asks them if they can try the very things they already tried
The average answer I find on Microsoft forums is either "that product doesn't have that feature" or "man, I hate this problem too 😦 but I haven't found a fix"
Like sometimes I go on stackexchange and find answers that don't work anymore or questions that didn't get fully answered, but most of the time it's at least relevant and informative, unlike microsoft forums
Like I know I'm just absolutely dumping on Microsoft here, but in my defense, they clearly deserve it
I don't think there's a useful answer to be found anywhere on the Microsoft forums
I sometimes search on apple forums too because I use a lot of Apple products and I swear the average answer there is better than the microsoft forums
So I feel like it's not even necessarily a big company thing
I swear these trained Microsoft support professionals they supposedly hire for the forums are random elderly who have difficulty finding the start button on their pc
I've also gone through google forums looking for google sheets help and such and same deal, it's not perfect but there's a decent amount of useful info
Most of the time when I do have to Google something it's either so old, no one has talked about it since 2009 or it's so new that no one has asked the question yet
I have a lot of pretty bog-standard problems
I do wish the python docs were higher in the search results
But like my python problems are mostly "what's the syntax for this one numpy function again?" or "how the fuck does indexing work again"
there's probably millions of people who have had the same problems
honestly, languages that don't have a great "dot into things to do stuff" work flow are just way more prone to needing to google
so much of my programming boils down to typing a dot, looking at the options and then being like "oh that'd make sense"
that might honestly be my biggest issue with dynamically typed language more so than anything else. You often get incorrect suggestions that wouldn't even run when dotting into something
I am a gremlin and I don't use anything fancy to write python
I use sublime but all it does is suggest words from the same document
So I don't get any suggestions really
If you're a reasonable person you type your python
So dotting works
If you're matplotlib though
You die
I have been told python supports type annotations, though is completely deletes them when compiling to bytecode
I don't really use python but I'm glad it has that at least
Javascript also has a spec in the works for type annotations
not counting typescript
If I sound like I'm in a murderous rage
It is because matplotlib isn't annotated right
matplotlib is one of my least favorite parts of python
maybe because I'm used to matlab plotting but it never behaves right for me
I've plotted maybe like 20 graphs in my life
and almost all of them were for my data science class
I don't share your pain
that was also in R
I've used R but that was many years ago
I didn't love R, I thought it was fine
Good for stats but very little of what I do is stats-focused
thats why i just use AI to search stuff now, less ads and more direct on what you ask. provided you keep in mind it wont be up to date most the time
i honestly love AI but it needs to be used right, not like how most people think its used(and is used sadly)
and is wrong most of the time
anything llms return needs to be double checked anyways
depending on what you search yeah
but like if you go google something simple i just use AI cause its often faster
like, if you got a neiche case go google but if you know what you want is often searched id choose ai
thats sadly what most people fail to do :/
they literally have warning for that on most as well
for reference only
that's clearly just a CYA tho
jokes on you, everything I say should be fact checked as well
Like, you can say "you should double check this!" all you want, it's blatantly clear people aren't doing that
'can make mistakes' is so misleading
'does not understand what you're asking by design'
I guess I don't have a good answer about what to do about that, but I feel like ML companies have a vested interest in pretending that it's just minor slipups and really everything is great
that too
ChatGPT can be accurate on occasion, accidentally
it's not a thing people fail to do, it's the way the systems are designed by the creators
ai by design only knows the letters you give, not what you actually are saying
but it can be powerful given you actually dont use it like its word is law
i kinda feel like ai stuff is starting to get out of hand though (looks at MS recall)
thats the secret cap, it was always going to get out of hand
worst thing about Recall is that it's not even the AI part people are most mad about
it's just a terrible security disaster waiting to happen
just makes people hate AI more when it really doesnt need the hate its getting(not recall thats just spy ware)
true
Nda go brrrrrrrr
Yes. Beep
We are one
We are legion
We will take over in a....oh, the prompt...what was the prompt
soooooooooo true
most online llms have a 2048 token limit of memory
or at least, that ive found
hard to tell without seeing the source
on another note, i love R so far
its like python but easier... for now
i also love not having to do print("Hello, World") i can just be lazy and type "Hello, World" by itself 
although i do have to use print for stuff like for loops
which still confuse me but ill get there
tehe..
mine has 100k
is it a locally ran one?
ahh you pay for it?
is it worth the forty?
how fast,,, might be better than my local one
do i have to set it up myself or is it an API key(we can move to DMs if you want)
Would anyone here happen to be a prodigious TypeScript expert? Like, knows discriminated type conditional logic and inference inside and out with their eyes closed?
I’ve been working on a new project this evening and I think I’ve finally hit the point where I can neither progress nor find relevant resources to unblock myself.
If so, please tag me literally whenever. I’m just… brain… melt.
I want to help but the way you phrase it makes me have this feeling that you know more TS than me 💀
LOL, I appreciate it. I don't want to oversell myself or anything. It's possible it's way simpler than I'm thinking it is... but I've been stuck on it for hours so I almost hope not 
Basically, I'm trying to do this:
interface MyGreeterProps {
color: string;
}
const MyGreeter = ({ name }: MyGreeterProps) => (
<div>Hello, {name}</div>
);
useDisplay().custom({
component: MyGreeter,
name: 'Name'
});
is this react?
Yeah, React typescript
But the idea is that basically .custom() accepts an object whose keys can be component PLUS any props that that component accepts.
So in the example above,
// valid
useDisplay().custom({
component: MyGreeter,
name: 'Name'
});
// invalid - MyGreeter prop `name` not supplied
useDisplay().custom({
component: MyGreeter
});
// invalid - MyGreeter prop `name` must be type `string`
useDisplay().custom({
component: MyGreeter,
name: 123
});
// invalid - MyGreeter doesn't contain prop `random`
useDisplay().custom({
component: MyGreeter,
name: 'Name',
random: 5
});
What's not working as expected?
I'm a bit suspicious of the component definition because you can't destructure a name field from something that doesn't have a name and i want to say that's what your code is trying to do
Kind of? So, the actual use case is a library for displaying modal dialogs. The options object (the argument passed to custom, for instance) is defined by
export type DialogType = "alert" | "confirm" | "prompt" | "custom";
export type DialogOptionsType<T extends DialogType> = {
alert: AlertOptions;
confirm: ConfirmOptions;
prompt: PromptOptions;
custom: CustomOptions<React.FC<any>>;
}[T];
export type CustomOptions<T extends React.FC<any>> = {
component: T;
signal?: AbortSignal;
} & (T extends React.FC<any> ? void : React.ComponentProps<T>);
I'm trying to find a way to specify a generic CustomOptions for use in, e.g. DialogOptionsType, without overriding the typing further down the line
Basically it's a question of how to infer the type of CustomOptions.component while allowing it to be passed around without a specified type when necessary. I think.
you were right about this being an unhinged quesiton let me think lol
Right?? Lol, thank you. No pressure; I just appreciate having eyes on it 🙂
Ok wait so useDisplay.custom() takes in an argument of type DialogOptionsType ?
No, it takes in an argument of DialogOptionsType<'custom'>, which in this case is equal to CustomOptions<React.FC<any>>
ooo
And we want CustomOptions to have component, signal?, and all the fields of component's props
correct
But if I try to just use CustomOptions without a type...
So I think I need some kind of dummy type
But it can't be React.FC<any>, because that means the eventual type union of the object passed to .custom() includes any, which means I don't get any type completion. Because React.ComponentProps<React.FC<any>> = any
how attached are you to keeping it all in one type? cause theoretically you could just go for subtyping inheritance instead
(ik that doesn't answer your original question but I don't think i am thAt qualified unfortunately)
Do you mean, like, containing all of the props to a separate props key which is itself an object? Or do you mean, like, having a separate hook for a custom dialog, like useDisplay().alert() and useCustomDisplay().custom()?
the latter
Hmmm, yeah... it's a good thought. But like, there has to be a way to do it all in one... right? 😆
That's my stubborn streak coming out
I entirely understand stubbornly wanting to make the original idea work lol and there may in fact be a way, I just don't know it 😔
builder pattern is nice and common though if that makes you feel better if you can't figure it out ahah
Basically the idea here is that a user can use
useDialog().alert({ body: 'Here\'s my alert!' });
For a simple, reusable, one-liner alert, right?
But then if they need something more complicated, they'd create a custom component which could, in theory, accept all the same props, like
useDialog().custom({ component: MyCustomAlertButTheresABigPictureOfDannyDevitoAtTheTop, body: 'Here\'s my alert!' });
That's the motivation, anyway.
the danny devito motivation
But thanks for this 🙂 It does make me feel better
sorry i couldn't help more but it was cool to hear about ur project
makes me think about how at work if stuff had a type i was lucky 💀
No no, no worries at all! I appreciate you trying and hearing your thoughts 🙂
i sat there a lot like "why are we using typescript just for u to write any"
lmao ngl this project is motivated by the wasteland of a codebase we have at work
every time i see tech debt i think "i can fix him" and i'm not right most of the time
Currently we're managing dialogs in Redux... with, like...
dispatch({type: SET_DIALOG_STATE, data: 'LOADING'});
dispatch({type: SET_ACTIVE_DIALOG, data: 'DELETE_ITEM_DIALOG'});
And every time I have to interact with that I want to die a little inside
I don't blame you
Everything is in Redux and I just--- RELEASE ME
We're in the process of rewriting a lot of code right now for something else so I feel like this is my chance to like, actually enforce some half-decent practices for... at least one small thing
this is definitely the time if there ever was a time
just gotta get one other person to sign off that PR to also agree that it is the time lol and then u click merge super fast
Yep, exactly
they won't see it coming
lmfao
I just wanna go back to series C-D startup land
Where, counterintuitively, people actually do things in accordance with best practices... usually
When you get up into F500, everything already has some sort of institutional solution that you have to follow, like managing everything in Redux
I don't even know what series the startup i worked for at one point was (it was my first dev job, i was an intern, i didn't care where i worked i just wanted to be employed) but the practices there were Not It 😭
aw mannn
everything had to iterate so fast that if someone didn't do it right the first time, then That's Too Bad, We Have Tasks To Do
and then i became the only employee
and then i quit 💀
honestly yeah. I learned a lot about engineering and i got to design a LOT of core functionality which was super cool
i'm just not for the startup life once i get a stable career
Yeah, that's totally fair
I'd only jump back in at a late series startup. Nothing pre-ipo or even series A-B
Just too much volatility
But there's a sweet spot where things are still exciting and close-knit without being chaotic
i really liked it more when the team had a designer and all that (mostly cause i didn't have to touch frontend then but also cause they were very cool and our designer was cracked)
but alas the early stage startup life often means someone will steal your employees by offering them more money and he was def worth more money
Ah so you're more backend oriented then?
for sure
it's a good thing people have different interests cause otherwise i'd never be able to escape frontend lol
lmao
I do definitely find myself strongly relating to the first 20 seconds of this video on a weekly basis https://www.youtube.com/watch?v=4boXExbbGCk
Fresh is a fullstack web framework for Deno that allows developers to build fast server-rendered webapps. It uses the "Islands Architecture" to limit JavaScript to specific components and can be deployed to the edge.
#webdevelopment #javascript #TheCodeReport
🔗 Resources
Fresh Announcement https://deno.com/blog/fresh-is-stable
Fresh on Gith...
don't worry tho this web framework will solve problems the other frameworks have by introducing more problems and then another framework will be introduced to fix this one
him apologizing for nodejs is so funny 😭
Fireship is awesome, love his stuff
oh oh, you mean Ryan Dahl LOL yeah
Unreasonably careful observers may have noticed earlier
I am, in fact, using Deno lol
i'm intrigued honestly because i'm not building a web app frontend without TS support and i hate waiting for builds
If you can afford to wait for the speed of 😱 W3C standardization 🐌, this will probably be a big step towards getting rid of transpilation https://tc39.es/proposal-type-annotations/
Essentially TypeScript syntax as a first-class language feature.
It wouldn't actually add type-checking, but syntax of TS would still be valid JS (TS portions would be treated as comments)
But yeah, there is that whole 😱 W3C standardization 🐌 thing
getting stuff added to JS seems like such a crazy process
As crazy as it sounds, this is better than it used to be
It used to be way faster, but that was because every browser did their own thing
Those were the dark ages
Now it's really difficult to add something, but when it's added, everybody adds it
safari adds it 3 years later
but it will be added

that's more a css thing but still
Apple painted Safari into an unenviable corner by monopolizing the browser market on their mobile devices.
Just like Edge, except if and when it falls behind, users have no recourse.
I’m a safari user
And I haven’t noticed anything too terrible
But part of this is my personal preference for things that are slightly broken in some ways—for example, I use a very janky 3rd party app to use Facebook on mobile because I’m mad at the official Facebook app and I don’t want Facebook to work very well on my phone
It’s not terrible
Historically, it has been, on average, the last browser to adopt new web platform features. They’re doing a lot better now, with some exceptions
This was the interop chart in 2021, when the WPT interop initiative started
Safari supported roughly 3/4 of what other browsers did at that time. It’s way better now, but they are consistently still a laggard when it comes to advancing new specifications (which is its own thing, and kind of me shifting goalposts, but still)
I had a nice usecase for masonry grid layouts a few years ago but that proposal never got further than experimental support in Firefox
Masonry is happening. Just slowly
unfortunately the project it was for will not be happening
Yeah… 😔
the latest masonry news is there’s a debate amongst implementers as to whether it should be part of display: grid (no) or its own display attribute (yes)
We’re still at the “freeform jazz” stage of the standards process. Though once these things are ironed out, there are strong positive signals from developers driving it
I also sometimes just disable JavaScript on my browser
aaaaaaaaaaaaaaaaaaa
Ahem, I mean… that’s totally your right and I support your ability to choose
I know, I’m a gremlin user
I’m glad you said it 
The web annoys me! I’m not old enough to really long for the days of plaintext websites…but I kind of do
I just want to be served information fast with no frills
But but, the frills! 
Hey, the web was built by quite a few old grouches, so you’re in good company
i leave javascript off in my main browser (firefox), and typically use chrome (with js) only when necessary for Bad Websites
the web is actually good and fast when you let it do its job (deliver and render text) and don't let it do a bunch of bullshit on top of it
how broken is rendering then
For what it does, I think the web is good and fast with JavaScript enabled. It’s a matter of how websites use it. If you use SSR with partial rehydration on the browser side, as opposed to driving your entire app through JavaScript, you genuinely can get performance pretty comparable to native.
But then, there are also nascent standards pushes like invoketarget which will make tooltips and dialogs possible without JavaScript, which will help take the burden off of JS in some cases, in addition to improving accessibility for alternately abled users
alright good. And yeah I'd separate since it's hard to really make sense of it with many other aspects of grid
as for the web being slow. As far as I've experienced it's more that a lot of "modern" Javascript frameworks are slow and things like Google analytics are slow
you should be blocking Google analytics regardless...
the company I work for has its own website for marketing and it's completely loaded with user tracking
it's barely usable so slow
Yeah, my feeling too. I get the counterargument insofar as grid is currently the two-dimensional layout mode. But masonry would really fuck with things like subgrid and explicit row/column positioning. IMO, it just needs to be separate
despite functionally not doing much
I think the entire website could be built with static html just fine. No Javascript even necessary
If you have any sway, I’ve heard good things about partytown. Offload things like GA to a worker thread instead of blocking render
I do not
sads
they hired some marketing consultancy team thing for the site
Oof, one of those
I don’t have anything against consultancies, but they’re more waterfall-y than doing it in-house
we have our own consultancy department which is a thorn in my side but they're fine
main thorn is they keep promising things to clients setting unrealistic expectations
which I feel like is a universal thing they do
Oh yeah. As long as there are development teams and marketing teams, there will be two different sets of timelines and priorities, and never the twain shall meet 

one of my friends is trying to lead a game dev project, and hes mentioned in conversation how the person hes wanted to do programming has been terrible with their communication
i told em id be willing to take a shot and see if id be able to help with it if they need someone else
so i might be learning godot stuff in the near future
programmers and terrible communication
impossible
sounds like an interesting thing to try
its not that theyre bad at communicating things, theyre just like barely responding to my friends inquiries about if theyre actually willing to commit or not
it is a pretty significant commitment
If you're not willing to commit to committing, you're not willing to commit is my thought.
and what is programming without commiting 
Archiving everything every night instead?
technically a type of version control
everything in tech rn is all just technically a database
is git ACID compliant? 
probably?
not acid compliance but it has essentially infinite rollback
git reset --hard
nah what is that emoji 😭
peanut anya
you are what you eat
wait that's art from the original author
That’s nuts
my friends game concept is being a worker on the Steamboat Willie
where you do tasks for people that are riding it
Is gitlab packaging openssl 1 for some reason????
surely not
nothing surprises me anymore. i can easily believe it
seahorses are horses
You know what, I buy that
a peacock mantis shrimp is actually a legume
yes
Glad we ironed this out
I mean it is a mantis shrimp but mantis shrimps are neither mantises nor shrimp

naming things
even non programmers struggle
this is still basically a reskinned Safari
Is this WebKit based? When I say that Apple painted Safari into a corner, I’m referring to the fact that at least as far as I’m aware, no browsers are allowed on the App Store unless they use WebKit internally. Google Chrome’s iOS app uses WebKit, for example.
Ah, yeah probably, it's based on Chromium.
All iOS browsers are just WebKit skins until the EU forces Apple to allow alternative engines, which I don't think has happened yet but is in the works
And even then don't be surprised when that's only in EU areas
https://developer.apple.com/support/alternative-browser-engines
To qualify for the entitlement, your app must:
Be available on iOS in the European Union only``` heh
Apple has been in the business of knee-capping its browsers capabilities for as long as iOS has existed so that devs are incentivized to build mobile apps, which means Apple gets money from them
yeah not only are you stuck with webkit, you're also not allowed to support extensions even though safari itself does
just 
I do be in the EU however
I used to do that
Uploading to Dropbox every night at the end of the night
I remember seeing this site before. I think it’s a bit weird for the custom cursor ones to be featured so prominently since iOS doesn’t even have a concept of a mouse cursor
Pretty sure can can plug in a mouse, at least with iPads
iPads are basically laptops stuck with iOS limitations
But also, because iOS only allows WebKit, they have no incentive to innovate or improve their engine other than social pressure like the WPT Interop initiative
Apple wants so desperately to hobble PWAs it’s both funny and depressing
Yeah, it's Apple monopoly / wall-garden nonsense and why I don't buy their stuff anymore
I buy their stuff, but I reserve the unfettered right to bitch about it anyway 
Just replaced the battery in my 2011 MacBook Pro and it'll stay the last thing I bought of theirs
They truly do make good hardware and software. Something about not throwing the baby out with the bath water
Just not safari
It's only for occasional note taking in meetings otherwise I'd have bought a Framework already
Hey, backups are still good!
Yes but as a CAD management solution that’s bonkers
like... a different copy?
In a new folder labeled with the date
it has finally happened to me
i had a problem and the fix was to unplug it and plug it back in
damn I gotta do that with my docking station every few days
more specifically the new network card I got was literally too short for my very old mobo/case, so getting it aligned in my bracket slot was unseating it slightly
I did also bend a bit of metal to get it to fit, so not just unplug and plug it back in, but still comical
the arch wiki explains how to do a lot of network debugging but not what all the steps mean, I needed a forum member to tell me "this command outputting nothing means the os doesn't see it at all, check that it's plugged in"
also, the arch forums are incredible and a huge benefit for arch
every problem I've had I've got an answer and it fixed in < 3 days
arch is pretty set for documentation and help
I use the arch wiki regardless of my distro even
often the arch wiki has better documentation for a tool than the tool itself does...
or it's technically in the man pages somewhere but on page 3 milion
I updated the arch wiki 😎
🙏
the arch user yelled at the arch user

It’s nerds all the way down here
The kind folks over at the TypeScript community Discord were very helpful and got me sorted 🙂
Highly recommend if anyone else is in a jam like I was
Poll:
If you are a normal engineering major, by which year should you be expected to know at least one programming language
It's a good question, and I'm not sure I know the answer to it anymore. Out of my group of high school friends, none of us studied CS as undergrads, and I was the only one who switched into it. However, I think all of us now program as a significant part of our jobs
- in which country
Maybe things have changed, I would expect it's now a much greater focus across STEM than it was, but maybe im wrong still
if u r in ECE specifically then year 1
but for other engineering its most likely introduced during statistics (matlab/R)
I learned Java as part of an optional elective as a physics student. If I hadn't taken it though, I think the closest I would've come was when we used Mathematica (although I imagine that's been replaced with Jupyter or something else these days too)
I started in CS so no idea 
I did look at more engineering focused majors but the math scared me
When I said normal I meant not CS haha
Sorry
Y'all are perfectly normal people (most of the time) just outliers
Actually y'all are more normal tbh
bold claim
no flex, only break
Would probably sound great too, actually...
….i only did that ONCE 😛
And we didn’t order it, we just took a uhaul to Home Depot
Then again at work we are talking about Americium
In particular, getting it from smoke detectors
Tired pupper
Anything can be a headrest, even me
Fuck labview
Currently mad at labview interop
kick it
What do people use for managing partitions on windows? Its a common problem that we have sd cards with partitions that need to be wiped, and all the windows options ive seen suck
i imagine diskpart is popular
idk any tool other than diskpart
Lol, do you know what I us
i think I've partitioned drives on windows maybe 5 times in my life
idk what makes a tool good or bad
other than it doin the thing
enlighten us
I just find diskpart to be incredibly convoluted to use
a common problem at your work or like... an actual common problem
[PolyamorySweet Rooms] Failed to load Room for Ram; please ensure that the NPC has a spouse room created, or contact the one who made that NPC. If this NPC is not normally marriable, there will be no custom room.
hmmm
{
"spouseRooms": [
{
"name": "Ram",
"file": "SpouseRoomsRam.tmx"
}
]
}
the only SD card I use is the one in my camera
the file tmx pretty long
this looks very on topic for modding
We occasionally test that updating our hardware works correctly via sd card updates. The updates format the card into two partitions, but when we go to reuse the cards later, flashing the images sometimes has issues with the multiple partitions
Really i should just use a less shit flashing software
ur doin funky stuff
I would use gparted but it only works on windows as a bootable usb, which i dont need
I could try that
Oh its already installed, not a good sign
my pc has blue screened twice today, its going great
blame etcher
Does anyone know how to solve the problem that smapi takes so long to run the game?
This sounds suspiciously on topic and potentially better suited to #archived-modded-support
Also tbh I don't really get questions like this
Like, if we knew, we would optimize it
Or. I guess "know how to optimize but not have the time"
add the --run-faster build flag
Feed your computer coffee
(Do not actually feed your computer coffee!!)
(Mine did not appreciate the time I fed it root beer by accident)
please only feed your pc organic chocolate milk
The legendary -O999 build flag
-Quantum
Me when I use my quantum computer to game instead of breaking encryption
my private quantum computer in my basement
Yeah it's very space efficient
Live on Twitch: https://twitch.tv/lowlevellearning
🏫 COURSES 🏫 Check out my new courses at https://lowlevel.academy
🙌 SUPPORT THE CHANNEL 🙌 Become a Low Level Associate and support the channel at https://youtube.com/c/LowLevelLearning/join
Why Do Header Files Exist? https://youtu.be/tOQZlD-0Scc
How Does Return Work? https://youtu.be/e46wHUjN...
I don't like this joke format: the premise is that being knowledgeable about a niche topic makes you unattractive - that is completely false. Your partner should support you in doing things you enjoy, not make fun of you. It also reinforces stupid man/woman, nerd, and dating stereotypes. You don't have to do anything to get girls to like you - be yourself and find a girl who likes who you are. Don't change for girls, change for yourself.

Straight up spittin’ facts. My guy’s a goof but he tries his heart out for me ‘nd the homies. He’s bein’ himself.
I’m sorry my post upset you.
What kind of spacetime are you contained within where a day can evaporate?
The type where my code which was working perfectly this morning is no longer working
No changes
is it python code
Python/labview
may i still blame python just cause
alright networking wizards, I need help
im here to make things worse
the fact you have an internet connection at all to ask this is a good sign tho
On my new RPI5,
Doing a DNS lookup directly succeeds:
nslookup ghcr.io
Server: 192.168.0.1
Address: 192.168.0.1#53
Non-authoritative answer:
Name: ghcr.io
Address: 140.82.116.33
while doing the same thing from docker fails:
sudo docker pull ghcr.io/home-assistant/home-assistant:stable
Error response from daemon: Head "https://ghcr.io/v2/home-assistant/home-assistant/manifests/stable": Get "https://ghcr.io/token?scope=repository%3Ahome-assistant%2Fhome-assistant%3Apull&service=ghcr.io": dial tcp: lookup ghcr.io on 192.168.0.1:53: no such host
If I comment out the local dns server in /etc/resolv.conf (192.168.0.1), it all works. But I don't want to have to do that, I'd rather fix docker/keep the default DNS config that goes through my router.... but I guess it doesn't matter that much
Is there some other way to fix this?
It seems like the docker daemon has a bug where it fails to resolve local DNS servers. 192.168.0.1:53 definitely is up and exists
I know go can be super weird with networking, e.g. to get go applications to be able to connect to the internet when running on my phone, I have to recompile the entire standard library using the android ndk tools
is 192.168.0.1 your gateway/router
So it wouldn't surprise me if this is similar
yes
anything container networking related isn't it, because this is the daemon itself failing to download an image
right
you shouldnt need to run it as superuser, but thats not your issue either
If I comment out the local dns server in /etc/resolv.conf (192.168.0.1), it all works.
this is weird to me
Yeah, using the default nameserver provided by my ISP directly works. But using the IP of my router (which I'm pretty sure just redirects to that exact same nameserver) fails
as one should
it is dark magic
uncontrollable
dabbled in by only the most powerful of wizards
does it work on a different machine?
says traffic is allowed. It also works when not through docker on the exact same machine, and on different machines
which makes me think it's a docker daemon bug
running nslookup ghcr.io in a shell works, running docker pull ghcr.io/.... from that same shell does not
also my older pi works fine with the exact same router + DNS settings, running some super old version of raspbian. perhaps docker + newest raspbian bug
Are you running a custom DNS server? I'm unclear about what this bug could actually be caused by
Nope
It just doesn't like you
I am going to give up and just edit my dns settings then
im not sure of the exact command, but it might be worth using nmap or something to check that port 53 is actually working. That being said, its weird that only one application on one device is having issues with it
nmap -p 53 192.168.0.1 I think
and if thats fine thennnnn idk lol
yeah I tried that, it worked fine
😐 hmm
is that their repo? I have never heard of moby before
Yeah, it's what they called it when they open sourced it
huh
also, I gotta say, rpi imager is great
It let me set up everything I needed so that I would not need a monitor/keyboard to set up my rpi
yeah its neat. I hate having to set it up, only to have to actually hook it up just to set up the wifi
fun day at work
there's a high priority item that needs to be merged but they just installed a new antivirus/antimalware program on the build servers and it's rejecting the builds
I think there's 3 different antivirus programs on that damn build server at this point
thing is already slow enough without them
this feels just like us not being allowed to white-list the visual studio build directory from the antivirus programs loaded onto our pc
antivirus programs and I don't get along
it's great except i always need to do wifi again 
I despise data structure and algorithms sm. Does anyone have any advice on how to learn it properly 
Other than leetcode ;-;
that was my favorite subject so idk
I got a lot of joy out of writing algorithms, benchmarking them and then trying out different things to see how they affected performance
I've never tried leetcode
How do you practice then? Leetcode is recommended to me
hmm idk I just did my uni assignments
eventually started participating in advent of code though that's just for fun
what are you struggling with
Im struggling with even knowing which technique/data structure im supposed to use
I cant really identify a pattern
"supposed to" is honestly a strong word but honestly I'd just try them out. Best way to gain an intuition for it is to try try them out, swap one out in the same algorithm and see what that does to the performance
there's general guidelines to follow but I'm assuming you've read them
is this for uni/college or just cause you want to improve
also, 99.9% of the time you don't really need anything other than an array/list, a dictionary/map or a (hash)set
Both lol
if it's for uni I'm sure they'll teach you stuff like binary trees which are absolutely useful but it's rare to actually end up using one directly
might be used behind the scenes by stuff like a dictionary though
for these the guideline is pretty much:
- array/list: general purpose for most things, what these words mean exactly is dependent on the programming language but their usage is mostly the same regardless
- dictionary/map: used if you need to often look something up by some kind of id/key
- hashset: you need to check whether it contains something
really for dictionary/map you'll know when you need em
hashset is... well often honestly you'd need to benchmark to see if you need it
unless you know that: 1. you don't want or need duplicates, and 2. you don't care about the order
hashset is also quite slow if it realistically only ever contains just a few items
Yes
since the cost of hashing itself would then end up costing more than you gain in lookup time
which is why "benchmark if possible"
It's less hashing and more the lookup
idk some languages have pretty slow default hashing functions for cryptography's sake
in rust it can be pretty impactful
well, that's not in the standard library but yeah it's good
gives a solid speedup
ah wait
yeah it's in the rustc compiler but not directly accessible
need the rustc-hash crate
this is nasty
classic wat.js behavior
why does it type coerce to string first?
that's the choice brendan made during the famous 10 days so we're stuck with it
Javascript loves coercing things to string
(and to floating-point)
love me some random floating arithmetic errors in code that wasn't even intended to have decimals
🙏
all hail the number type
tbh I'm surprised how few languages have a proper decimal type like c#
considering usecases like financial transactions where floating point errors are an unacceptable risk
at work we almost solely use decimal for that reason
(and representing it as an integer is not always viable)
Im trying to run before i could walk so i really appreciate this haha ty 
Brb gonna mess with people at work by labeling a box "spare ICs (box 6 of 7)"
spare intercities
I think people use libraries for those? Like Java has a separate library so you don't use doubles you use another type
me: I would not like to have a # in a text file please
also me: I would like to compile and run the docker daemon through a debugger
^^^ statements by the utterly deranged
the official docker development setup process involves having a working docker install first to set up the docker development environment container. it's self bootstrapping, like modern programming languages
update: it has crashed my pi
an omen of things to come
It is looking like a bug in either the go standard library or the operating system and I just do not have the arcane knowledge to delve further
ew
yeah there’s pretty much always a library for a decimal type but due to not being built in you often have to deal with a less ergonomic api than built in number types
especially in languages without operator overloading
and if you work with decimals in your database you need to hope your database driver/library supports the decimal library you use
or you have an awkward conversion step with potential issues
workable but not ideal
python's Decimal library works well but it's also kind of annoying to work with unfortunately
omg I didn't know they made extensions like that 😭
pricy but maybe youde enjoy it!
not that i know a thing about your institution but distributed computing is a pretty cool topic imo
If you loved linear algebra computer vision/graphics/ML is probably up your alley. vision stole my sanity and ran off with it but i learned a lot from the course i took
Operating systems was a very useful elective
Do you want to learn programming or Computer Science?
yes 🙂
my server hit 600 days uptime! (this is a bad thing why did I let it get to this) (although, it means nothing I wrote fatally crashed it.. yet)
what do you mean a bad thing, 100% uptime for almost 2 years
i guess...
ubuntu is also a patch out of date
what, do you not pay for liveupdating for your personal server in a closet? Shame, shame.
(I'm kidding)
it's not even my physical machine
it's a VPS
Programming more so
Thanks noted!
Computer graphics 🥹
Same lmao… whatever is easier to get into I guess
Computer science would be a really nice field for me to get into working in NYC though
Does your uni offer computer science and software development as separate degrees or something?
There is computer science & computer engineering
I’d go for science
Dream job would be game development but I’m looking at a CS degree for a well paying job, regardless if in the game industry or not
Deleted old picture for clarity - these are the electives… the other stuff mentioned in chat was already required
I’m definitely choosing computer graphics, but the other 3 I’m not so sure on
Maybe I’m overthinking again 😅😭
if it were me i'd be slamming the 42000: compilers button
It really depends on your interests imo
As general advice, I would recommend taking a broad range of classes so you know which directions you have interest in, strongly biased towards courses with the best teachers and somewhat biased towards classes as rigorous as you can stand.
Being good at difficult things is a valuable skill, enjoying your classes is important, and at the start of your career, breadth is important.
Also ask around
See who teaches which class
Having a great professor is sometimes worth taking a class you're less excited aboit
try a broad range of classes and then become a web developer anyway cause that's what half the job market is 🙏
It hurts
Hi guys!
Kinda simple question, i'm trying to improve my programming skills but i think i'm stuck about not knowing what to study. Currently i'm a junior dev (almost middle) working with c# and i liked a lot this language, but it appears to me that i lack some essential knowledge like design patterns, delegates, async methods, etc cause i always think my code is not good and could be better. Any suggestions about programming books, courses or life? hahaha
always thinking your code could be better is (as far as i know!) normal, and a good sign that you are in fact improving. you will hear a lot from experienced programmers about wrestling with their arch-nemesis: themself from four years prior
Atra recommends the yellow book iirc?
The CD spec Yellow Book
The yellow book is good for absolute beginners
Like baby's first c#
They're beyond that
Exactly, i'm not a begginer anymore, but i'm not a professional hahaha
Just knew that stardew valley mods could be made in c#, so i had an idea for a mod to practice my c# skills (currently trying to understand ther Chests Anywhere code)
I wouldn't worry about "categorizing" yourself as junior or senior or anything like that. There are plenty of "senior" programmers that write hot garbage, unreadable, unmaintainable code that they don't test and just push to prod with terrible/no commit messages.
The best thing you can do is try to understand every little thing your code is doing and if you don't understand something spend the time to learn/figure it out. Lots of what you learn ends up applying to more than one language and often will come up again later.
oh wise and noble nerds. Is there some software that combines the capabilities of ssh and sftp? Often I'm ssh'd into a machine, doing stuff, and decide I want to copy a file over. AFAIK there's not really a good way to do it, at least not with some really long command or just opening a second shell and sftping the file over that way
vscode ssh plugin
vile
I use WinSCP for direct SFTPing (such as for deployments) and then when developing on a dev server I use Sublime's SFTP plugin to push on save
Note that the SFTP plugin is paid, but I have a license through work
Been using it for 10+ years though so I think it's probably paid off lol
the more i google the less I think this is a thing, dang
people have rewritten every command under the sun in Rust, but I gotta open two shells like an animal
it's not sftp, but if you have ssh keys/pw set up in both directions you can scp a file out from inside the ssh shell
That i think is the main way, although i find its syntax odd.
I think i might be able to mount it or open it in a gui, but i dont realize i want to copy a file until im already sshd
opening another shell and using scp or rsync is by far the easiest. If you don't want to switch terminals you can suspend the ssh session (~^Z), run scp, and then fg it again.
theoretically you can go super old-school and do something like zmodem inside the session. Looks like someone even made a youtube for that. https://www.youtube.com/watch?v=4OkaKZgXmjU
thank you everyone, im listening to everyone's feedback on which courses to taek 
I don’t know enough about computers to tell if this is relevant but I used https://filezilla-project.org recently
How to learn programming? 😭
hello, wher do i finde some help white the mods for SDV?
tx
what do you want to learn?
Thats kinda the secret, learning one programming language helps learn others, but they have specialties
its true, i learned C# by just writing java in the editor, googling collection methods, and then learning how much better C# is through the intellicode suggestions lol
Meanwhile I learned Java by "oh we need someone to teach AP CS. Tomorrow. Think you can swing that?"
My AP CS A teacher was some full-time SWE at a big company and they just pulled him for first period every morning lol
i think he was a manager or something so he could just do what he wanted
Never compiled something myself but I found this guide for compiling asesprite on macOS catalina https://ankmahato.medium.com/building-aseprite-from-source-for-macos-catalina-10-15-d84246bc84a0 Is there any way to tell if this will need any adjustments for Sonoma? Or if anyone knows of a guide, I’d appreciate that as well. Thanks!
🤦♀️ Thank you, pillow. This is why I ask 
The year is 2024
Why are there windows 7 instructions
Page fault in nonpaged area
Joy
eek i just got my first pull request on my mod repo and it makes me so happy. I've been putting a blurb on every single update post asking for people to help out if they want and someone finally did and it was so good 😭 Mr/Ms/(Gender neutral honorific) mouahrara if you're here, I love u
and they clearly understand using git way better than me because their commits are so perfect and clean and beautiful with lovely concise messages. i yearn to be what they are
idk what it is about git i barely know how to use it well or anything but i love putting stuff on there. no one ever sees it. i just love to publish stuff there
I find a good visual Git app like Sublime Merge and/or TortoiseGit help me make better commits, esp Merge. I can easily review all my pending changes by scrolling through them in one place and add to my commit message as I review changed files and marked them as staged. I can also elect to not stage some changed files so I can group them together if they would logically group together better in a future commit.
If you get just one then get TortoiseGit, but Merge helps in reviews and committing a lot, without having to have 15 windows open like you sometimes get with TG
Hey folks, can someone possibly help me with a bit of javascript code.
I am using a wordpress theme that has an included countdown timer, however it will only count down from a date and not a date and time.
I have isolated the code to the following:
function CountDownTimer(a,b){function i(){var a=new Date,i=c-a;if(i<0)return clearInterval(h),void(document.getElementById(b).innerHTML="EXPIRED!");var j=Math.floor(i/g),k=Math.floor(i%g/f),l=Math.floor(i%f/e),m=Math.floor(i%e/d);document.getElementById(b).innerHTML=''+j+" Days - ",document.getElementById(b).innerHTML+=''+k+" HRS - ",document.getElementById(b).innerHTML+=''+l+" MINS - ",document.getElementById(b).innerHTML+=''+m+" SECS"}var h,c=new Date(a),d=1e3,e=60*d,f=60*e,g=24*f;h=setInterval(i,1e3)}
My mind is boggled just looking at that, but someone probably knows what they are looking at, I want to include a time in 24 hours, such as 1700.
The shortcode currently passes through "year" "month" and "date", i can also make it add "time" with the 24 hour time format, Is it possible to add something to that code above that will count down to not just a day but also a specific time within that day?
in regards to this, that is (pinging so you see, per your 'pls @')
i thought about it, but i kinda really like the git bash UI. just a simple little command line. and honestly, it isn't even bad or git bash's fault, i just suck and am kind of a noob lmaoo
and oh yeah ping is fine, I prefer to be pinged because I am so bad at following up on messages I've sent otherwise haha
I haven't completely taken it apart, but it looks like they're getting how much time is left from some starting point c, storing that in i, which would be in seconds. They're then doing the calculations to get that value in minutes, hours, days, etc as needed
prettifying that code helps a lot
you can also just feed it a Date as the first argument
CountDownTimer(new Date('2024-06-10T19:00Z'), 'timer')
function CountDownTimer(a, b) {
function i() {
var a = new Date,
i = c - a;
if (i < 0)
{
return clearInterval(h)
}
void(document.getElementById(b).innerHTML = "EXPIRED!");
var j = Math.floor(i / g),
k = Math.floor(i % g / f),
l = Math.floor(i % f / e),
m = Math.floor(i % e / d);
document.getElementById(b).innerHTML = '' + j + " Days - ",
document.getElementById(b).innerHTML += '' + k + " HRS - ",
document.getElementById(b).innerHTML += '' + l + " MINS - ",
document.getElementById(b).innerHTML += '' + m + " SECS"
}
var h, c = new Date(a),
d = 1e3,
e = 60 * d,
f = 60 * e,
g = 24 * f;
h = setInterval(i, 1e3);
}
@lethal walrus That actually helped me a lot, I just needed to input the date as HH:mm not HHmm and it worked
np
I was gonna say, it looks like you just need to include the time component you want when you initialize it
I love that the minimizer saves 1 character with 1e3 vs 1000
Thanks guys, I will do a javascript/JS course soon, i just didn't know how to parse it through.
and it does 60*variable, not 6e5
actually why does it do that, it takes up more doing the multiplication
It's probably just the level of minification; if it's just uglifying the existing logic it might keep that
true
Also d is used to calc m
oh you're right
I'm gonna pretend I know what you're talking about and say yup
it makes sense, its easier to remember theres 24 hours in a day than adding how many miliseconds in a day
and that way the retro encabulator can effectively prevent side fumbling
Uhh that didn't work it seems
Let's try linking to the message instead
Currently trying to get someone to send me their mods folder so I can troubleshoot an issue that they have. Pathos recommended me a site in this message: #making-mods-general message. The user's getting "Server responded with 0 code" when they try to upload a file (they've tried a 0.9 GB and 0.8 GB file). Any clue what could be causing this and a good alternative file hosting site that would dodge this issue?
they could update their big mods to make sure they're on the latest of these, then remove them before compressing and tell you to get them yourself
i'm still surprised catbox lets you upload such big files for free
i doubt you'll find an alternative
litterbox is temporary
still
mhm
bandwidth isn't free
the servers are $1400ish a month (source: homepage)
just zip it into parts
disks also experience wear
it'll suck a bit for recipient but u can send big things this way
aaaay someone else who knows what catbox/litterbox are
i only know from pathos tbh
same
really? I didn't know pathos used it
yeah it's what he recommends most of the time
I like to use it to send dev builds to people who aren't on discord and the number of times I've had people be like "wtf is this sketchy shit" is astonishing
I'll give that a go then
Should I also recommend some other precautions like turning off their VPN (so they aren't using one that could be IP banned) or checking their internet connection? A cursory search returned those as possible reasons
tell them to try uploading literally any other file first
something small
if that works, then i doubt the VPN is making a difference, if there's any
litterbox also has file size limits but I think it's 1gb?
Yeah I was wondering if my math wasn't mathing or if it's an issue of the units
Why are they like that
or it could just be derping on larger files
what file type are you uploading as well? certain extensions are banned
I asked for a zip file, dunno what else they could be uploading but I could reiterate in plainer terms what zipping is just in case
maybe have them try mega if they can't get litterbox working?
I'll leave that as one of the last options to try I guess
Got a whole prioritized list going now
short answer: marketing
the distinction between gigabit and gigabyte exists for good reason; the distinction between gigabyte and gibibyte is just so hardware manufacturers could scam clueless consumers
ehh i dont strictly agree
the distinction between gigabyte and gibibyte is that gibibyte is the more natural one, but sounds stupid
I agree with what you said but I suspect you got them mixed up
gigabytes are powers of 10, which is not suitable for binary systems, and gibibytes are powers of two, which makes a lot more sense in computing
gigabytes were and still are defined as powers of two by most operating systems, while hardware manufacturers tend to prefer powers of ten for gigabyte, often without specifying the actual capacity in bytes. Gigabytes were not legally defined as powers of 10 until a lawsuit in 2019, and after that gibibyte started gaining visibility as an alternative term
also it's not even consistent. I bought two different models of drive advertised as 1tb from the same manufacturer. one is 1024 GiB, and the other is 1000 GiB (???)
I'm not really upset about losing 24 gb but it really hammers home that hard drive manufacturers will just put whatever bs they want on the package and get away with it
I now automatically unlock my keepassxc database which holds my ssh keys before performing ssh commands 😎
That doesn't happen by default because the ssh agent protocol doesn't support it, but I am a wizard
incredible
why was I selling myself short, I did have the arcane knowledge to delve further
detective cat is on the case
theyve already responded, youre LATE
this is dark arts tho, there be dragons there
at what point do you just run your own DNS server lol
It seems to not matter unless I'm pulling images with docker, and I barely do that ever, so probably never
I'm waiting for this to actually turn out to be a secret backdoor you've accidentally stumbled upon
And you'll find yourself on national news at the center of a major security discovery
That would be incredible
The person responding has figured out the problem is https://go-review.googlesource.com/c/go/+/386016 but doesn't understand why
wow ive never seen anyone else use gerrit besides us
Its sending the wrong packet length then, and dropping packets?
dont suppose your router has a firmware update
honestly no idea
im surprised they managed to find the correct commit from 2 years ago that fixed it
There is not, and the firmware is 8 years old
Incredible, it must be vulnerable to so many things
that guy is one of the creators of the language and he responds to almost every single issue, I am not surprised 😄
so what do you do now
wait I guess
rip
coming home from work and using the OS you know how to use is a wonderful feeling
see if that makes any difference. I don't know why it would, but I also don't know what is going on here.
yet they found the correct commit from 2 years ago
a wizard
Use code GSBLAZOR20 at checkout to get 20% off our new Getting Started with Blazor course: https://bit.ly/4c9g8YA
Become a Patreon and get special perks: https://www.patreon.com/nickchapsas
Hello, everybody. I'm Nick, and in this video, I will introduce you to a brand new feature coming in C# 13 called semi-auto properties or simply the field ...
Ducking awesome
controversial
I just checked our projects
I'll have to change 3 names
catastrophic
wait no actually I can just remove the backing field
honestly, your own fault if you're doing LangVersion=latest
I'll be happy if we adopt C# 13 before 2026
no company of over 50 people uses a lang version less than a decade old
what if the language isn't a decade old yet
even go is 14 years old damn
o shit
rust is only 9
why did I think go was newer than rust
was it just that no one cared at first
Hear me out
Langversion=preview
In production
on critical applications
storing medical data
only storing?
running mri scanners
generating medical data
landing airplanes...
Let your dishwasher do the work for you!
Links 'n' stuff:
The Connextras video on my dishwasher's program change-up:
https://www.youtube.com/watch?v=0Kp3bjm55xw
The original dishwasher videos:
https://youtu.be/_rBO8neWw04
https://youtu.be/Ll6-eGDpimU
Technology Connections on Mastodon:
https://mas.to/@TechConnectify
Technology Connections on...
He posted!!!!
My dishwasher is definitely not better than I think.
My old dishwasher may have had whatever tech it wanted but empirically it did not clean dishes
Only unwashed fish in the DH household
British
I haven't seen a video from him in a hot sec, I loved a lot of his other videos I've seen
the only reason I remember is the background
Also, this is a thing that Discord is doing now: https://discord.com/developers/docs/change-log#userinstallable-apps-preview
I kinda dig it, but I don't really see how that's any different
except I guess you can have access to a bot without having to share a server?
begging the folks at SAS to upscale the UI for the next version. it's so fuzzy on any modern monitor because it still has that windows xp look to it
@pliant snow I have started a spicy argument about edns and caused a new dns debug flag to be added to go, forever 😎
.img my work here is done
your legacy has been achieved
It turns out the problem is that the DNS server provided by my modem is broken. Sometimes it returns the right thing:
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 666dcdcf8d70e2ae010000006668b07f82295db2bc36c7b1 (good)
;; QUESTION SECTION:
;ghcr.io. IN A
;; ANSWER SECTION:
ghcr.io. 22 IN A 140.82.116.33
but sometimes the wrong thing:
;; Warning: Message parser reports malformed message packet.
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ghcr.io. IN A
;; ANSWER SECTION:
. 0 CLASS1232 OPT 10 8 q3CHJllrWrQ=
;; ADDITIONAL SECTION:
ghcr.io. 20 IN A 140.82.116.33
I do have the latest firmware, but it's from 2020. I wonder if that is bad
The fact its a router firmware problem is not at all shocking to me lol
what model is it?
and why it is only with that once device that it has issues
It is a Zyxel C3000Z
older pi: go defaults to using it's own dns resolver, runs an old go version where go didn't add the edns0 flag to it's own dns resolver yet
new pi: go defaults to using it's own dns resolver, and always sends the edns0 flag
desktop: go defaults to using the system resolver rather than it's own which doesn't send edns0 flag
If I tell the system to send the edns0 flag that starts failing too
It's just that go decided to always send it, rather than only send it if included in the user's config
which is a very go decision: enable something by default always because it is better/reduce number of configuration options, add an opt out flag in the unlikely case it breaks
tbh this is the first issue they've seen since they introduced edns0 ~2 years ago so I agree with what they did
Does that mean you're going to have to live with a compiled from source version of Go on raspberry pis for the forseeable future
No, I just need to set GODEBUG=netedns0=0 in the environment for anything that uses go - it's luckily a runtime flag not a build time flag
or set it for everything
or just get a new modem honestly
I've got custom firmware on mine
could try that
I barely understand what its doing, but that keeps life exciting
I do not want to manage my modem firmware on top of everything else 😄
ooh, like pihole?
Yeah, I used to have a separate pihole device, which due to how my previous router was locked down, had to also be my DHCP server. This was sort of a pain, as it meant I had to have that pi up and running at all times to even have internet. So I bought one with custom firmware support so the adblock now lives on it
Neat
I guess I could try to get my isp to issue a firmware update
But that sounds awful
I think my router, and its firmware, is old enough to join this server 
using that modern new wifi 3 specification
oh god forbid
id rather not have internet
my isp is actually issuing a firmware update for my modem in 2 hours and 7 minutes
wait no
3 hours and 7 minutes
the modem I got from my isp is the most insane thing ever I don't even have another router that competes
this modem/router gives me like 800 mbps everywhere in my apartment
my old router started losing signal the moment I entered the bedroom
i live somewhere that uses community wifi to manage people's individual routers so i have absolutely no control over anything ISP related
i miss being able to do literally any troubleshooting
the power switch on the router isn't even accessible so i can't even turn it off and on again lmao
the first place I lived during uni just had some shit router for the whole unit that we couldn't do anything about or even access without a key from a landlord that lived all the way in a different city
the most frustrating thing was that the house was hooked up to fiber internet but despite that it was using some incredibly shoddy DSL connection
it's not even cheaper
they just didn't want to bother with changing it
i am in an apartment complex in spectrum territory
i did not live in spectrum territory before grad school so idk if these community wifi packages that residents have no control over are unique to them, if they've just become more popular in the last half decade, or something else
i lived in a house once that had a fiber internet connection, but the actual house and the actual electrical wiring were AT LEAST 50 years old
whoa, your internet can be super fast! but it's also going to go out multiple times a week
a fun combination
my current house is a little funky
I am connected to two fiber networks
there was already one and then a second network was like "ok but we also want to provide service in this street"
and now there's another
I have two separate little boxes in my wall to connect to each different network
anyway i popped into this conversation because one day, when i live somewhere else where i have my own router, i would also like to have adblock live in the router
ah pihole kinda thing
every day i fist-fight google
sometimes i just want to watch youtube on the tv instead of on my desktop. and google decides that means i have to see 3 minutes of ads for every 4 minutes of content
not really incentivizing me to pay to remove the ads when it's that egregious
I just bit the bullet and moved everything to firefox
chrome can't catch me if I don't use chrome anymore
i am a firefox loyalist but you can't really do that on a ps5
There's this guy commenting on my go dns issue and it's weird
First this: https://github.com/golang/go/issues/67925#issuecomment-2159816140 which is unexplained and irrelevant to the issue, but at least an attempt to help
Now this: https://github.com/golang/go/issues/67925#issuecomment-2161824799 which is unexplained and vaguely threatening
His router has been bitten by an infected DNS server. You can't help him.
There's a language barrier for sure but also recent issues he's opened have also been vaguely hostile
Why would you go on the internet and be weird
thats my job
That discord hiccup seemed pretty odd. Images and emojis seemed to be getting through fine albeit slow but no messages?
CDN would be a different server than the api, it'd make sense only one goes down
yeah the cdns are separate for the most part
Yeah, but for images to be getting through but not messages without, that would mean there's a distinction between messages with images and messages without at some point... right?
Hey is there a self taught programmer here?
I have zero actual education in the subject!
If there is a self taught programmer here, please kindly give me advice 
do stuff till it becomes fun and then keep doing more stuff 👌
but more seriously... what have you done so far?
I'm not "self taught"(I went to uni for it) but I can try
and what is your goal? employment in the field or just being able to program
I am entirely self-taught, but nowhere even close to recently... so I won't have too much specific advice for the early stages.
programming to me at least is one of those things that you can only learn by doing. You can read a hundred books about it and live and breathe programming tutorials on YouTube but that won't really do that much once you're actually faced with having to use it yourself. Of course still helps to be educated on what's out there and what's possible but especially when starting out it shouldn't be the focus
Programming also has possibly the biggest problem with getting stuck in tutorial hell of... I think anything?
yeah, very much facilitated by a million online creators making content for these people, just adding on the heap of tutorials
"How to make an action RPG battle system in Unity where the main character has a dodge but without I-frames, with draw-with-cursor style magic casting in space with zero gravity!"
Have you tried knitting
When a tutorial "industry" has a lot of things like that fake example... there's a problem.
no I gotta watch some tutorials first
Umm... sewing technically, yes!
programming was incredibly daunting to me when starting out and honestly the most valuable thing I got out of university was simply that it forced me to get past that point.
Most of the actual course details I've long forgotten
I'm like Atra... first time I ever really touched it was VBA in an ancient version of Office...
In terms of first contact with languages, ignoring how long I stuck with anything, I think I went...
VBA > BASIC (via the hidden QBASIC 4.5 I found on the school's computers) > C > C++ > Java > random languages I don't want to count because I screwed with everything > C#.
I poked around with D at some point very briefly...
I went: C#
I've learnt a few other languages since then but C# is still the one I use most...
It's definitely the one I like the most right now!
it is not the one I like the most 
I left JS off my list on purpose, because no.
Also Atra, were you around when I figured out that VSCode's C# debugger does attach to SMAPI correctly on Linux now?
impossible
Which is good, because ModBuildConfig purposely doesn't generate run configurations on Linux... and this change means I can tidy up my csproj files a bit!
Don't think so!
Oh nothing yet, I am upcoming college student.. the course that I will tackle is information system, I have no knowledge about programming 
I like how I can be in four different languages by Wednesday, tbh
But I'm primarily python/LabView rn
SQL Server's flavor of sql
aka Microsoft's creation
SQL but with a bunch of stuff for stored procedures thrown on top
I've actually begun not outright hating Python lately, by the way. Which is real character development for me.
damn
eventually you'll reach my stage of mild ambivalence
it has some absolutely cursed things in there but it's mostly ok
I'll never get over optional parameter reference types maintaining state between calls to the function though
that's just a bug they forgot to fix
And now people use it, so it's not being fixed until Python 4 probably?
and maybe they even like it and won't fix it...
I'm also incredibly opposed to how loosely python plays with the rules of variable scope...
Don't say that, JS might hear you.
Javascript already knows I hate them
I understand that this playing loose with scope is convenient sometimes but it's such a terrible idea for anything beyond small little scripts...

also means a bunch of problems for the compiler/runtime cause it will have significantly more difficult determining whether a variable has gone out of scope and can be garbage collected

Writing fpga code, wishing I was in a sane language like haskellll
Python is very convenient but shit like that makes me dislike it as a first language
Like I really enjoy writing Python now, but I’m like 4 languages in
I always recommend C# as a first language. It's strongly typed so you'll learn how to deal with typing and has plenty of guard rails between Intellisense telling you what's available and the compiler telling you what you did wrong.
C# is not a bad choice imo. I started in Scheme (Lisp variant) but then Java
Scheme is good for mathematical theory of programming—pure recursion
Java is another strongly typed language that’s popular in the US because there’s an AP class using it
I don’t write any Java anymore but i think it was good for me to start there







lets see