Programming thread

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
I hate talking about my work but I got annoyed this morning. Every so often, there's a top-down push by boomer managers at my company to get everyone to use VS Code. My boss still codes some and is a hardcore vim/C/Bash terminal guy, and we're not an especially large or old company, where SVP and director types want their code monkeys to work in an insanely homogenized environment. So it's purely a a "Microsoft good 🙃" attitude by some director type who, every so often, just does the @ all thing in one of the IT channels to tell people they really should use VS Code to standardize everything. It's especially gay because I hate Electronshit, and I've had people insist that somehow VS Code is not Electronshit and I should upgrade my hardware because they're fucking cattle who are too lazy and retarded to learn command line tools like grep and git, because they need an "opinionated" tool with a bunch of retard defaults they're tied to as a crutch to replace reading docs.

Even though I'm bitching about it, it honestly seems like a real good thing for my job security. I showed a zoomer coworker how to spin up a Docker container and start an interactive shell in it and she was amazed by that. I'm way less knowledgeable about Linux than a lot of posters, but knowing some basic flags for git etc. impresses the hell out of a surprising number of people.
 
I got tired of shallow knowledge in game engines and sheeit so I'm learning C++. I started some small projects with SDL which I didn't finish (as is tradition) and now I'm following a pretty good course on writing a small game engine. There are a lot of things I like about C++ over C (uniform initialization, RAII, scoped enumerators, templates, STL, auto when you don't use it like a retard) but good goddamn the long and winding history of this shitshow of a language gets in the way sometimes.

I had a dumb example of C++'s history leaving artifacts behind but that shit doesn't matter, what's important is I have intuited from this that I'm going to be tripping over my own dick a lot with this environment. I am so excited. If the day's programming doesn't involve a little CBT I don't think I can get out of bed in the morning. I tried the "programmer happiness" languages like Ruby and Python and that shit almost gave me cancer from all the exogenous estrogen exposure. I've worked more in C# than anything and I have about zero complaints with the day-to-day work in that environment; I hate that. If I don't have an excuse to SCREAM and RANT and RAVE when the sun goes down I feel ORNERY and I can't SLEEP.

Anyway, does anyone have experience with ECS? I used FLECS a bit and enjoyed it. I made it run some basic systems on a million things including drawing their sprite and maintained 60 FPS. That was with my naive approach to writing C++ and using the FLECS API, so I have high hopes for doing lots of cool shit on screen with effective DOP. Strangely, it ran way better when I wrote it in C than when I "upgraded" the project to C++. No clue what the fuck I did to cause that.
 
So it's purely a a "Microsoft good 🙃" attitude by some director type who, every so often, just does the @ all thing in one of the IT channels to tell people they really should use VS Code to standardize everything.
(...)
because they need an "opinionated" tool with a bunch of retard defaults they're tied to as a crutch to replace reading docs.
As a retard, the thing I hate about VS Code is it's not standardized and opinionated for the end user. JetBrains IDEs are opinionated and standardized, everything is done the same way in every IDE even. VS Code is "lightweight" and "extensible", meaning, it does each thing in its own genderspecial way that the writer of the extension liked best. It makes every individual programmer deal with a collection of random bullshit, but the IT director has a chubby because every programmer is dealing with the same collection of random bullshit.

I started some small projects with SDL which I didn't finish (as is tradition) and now I'm following a pretty good course on writing a small game engine.
Poast the link to the course.
 
  • Like
Reactions: Marvin
i use youtube dl to download youtube videos occasionally. if i am downloading a lot of videos at once, say an entire channel, sometimes a file will fail to download. is there a way to get a cmd terminal to write to a log? not necessary but it would be nice, can one pass if statements to the the terminal? would be nice if i could get it to just log errors instead of just copying the entire sequence of events.
 
i use youtube dl to download youtube videos occasionally. if i am downloading a lot of videos at once, say an entire channel, sometimes a file will fail to download. is there a way to get a cmd terminal to write to a log? not necessary but it would be nice, can one pass if statements to the the terminal? would be nice if i could get it to just log errors instead of just copying the entire sequence of events.
You can use the return value. It's non-zero if it has an error.
Though I think if you're doing a bulk download, especially an entire channel, you should use the --download-archive filename.txt option, which logs successful downloads to filename.txt and skips them on another run. I've used this in a delayed loop for big downloads or when I have spotty internet.
 
Last edited:
I am on a standards committee (one of the numerous IEEE ones) for a technology you probably use every day. Until this cycle, every single person on the committee was a subspecialist in the relevant field, and trust me that you want the subspecialists in charge of this thing.

There is a soy-faced Wikipedia janny who wormed his way into being a volunteer vice-secretary for the committee. Thank god he had no idea that there was an "editor" role separate from "secretary" and that the secretaries mostly do organizational shit, but he is now making comments in the biweekly meetings that are both needlessly pedantic (outside of the subspecialty - we love pedantry on topics inside that specialty) and utterly retarded.

Apparently he is getting a PhD in the sociology of standards committees or something gay like that, but instead of being a passive observer, he has wedged himself in as a secretary of the committee, doing a bunch of organizational stuff including organizing meeting agendas and taking minutes despite knowing absolutely nothing about our collective subspecialty. Anyway, it turns out that "sociology of X" means "importing troonery into X" not "studying the social dynamics of X" and that is honestly very disturbing.

This isn't one of the cool/hip standards committees (like the C++, Python, or Rust committees) that has a lot of drama already. This is a group of incredibly conservative, mostly old men whose main priority is "don't break every single computer" and not any of the bullshit that comes along with committees like programming language committees whose decisions rarely matter in real life. The Wikipedia-style bullshit is still very much unwelcome, but I worry that it heralds the beginning of the end.
 
I am on a standards committee (one of the numerous IEEE ones) for a technology you probably use every day. Until this cycle, every single person on the committee was a subspecialist in the relevant field, and trust me that you want the subspecialists in charge of this thing.

There is a soy-faced Wikipedia janny who wormed his way into being a volunteer vice-secretary for the committee. Thank god he had no idea that there was an "editor" role separate from "secretary" and that the secretaries mostly do organizational shit, but he is now making comments in the biweekly meetings that are both needlessly pedantic (outside of the subspecialty - we love pedantry on topics inside that specialty) and utterly retarded.

Apparently he is getting a PhD in the sociology of standards committees or something gay like that, but instead of being a passive observer, he has wedged himself in as a secretary of the committee, doing a bunch of organizational stuff including organizing meeting agendas and taking minutes despite knowing absolutely nothing about our collective subspecialty. Anyway, it turns out that "sociology of X" means "importing troonery into X" not "studying the social dynamics of X" and that is honestly very disturbing.

This isn't one of the cool/hip standards committees (like the C++, Python, or Rust committees) that has a lot of drama already. This is a group of incredibly conservative, mostly old men whose main priority is "don't break every single computer" and not any of the bullshit that comes along with committees like programming language committees whose decisions rarely matter in real life. The Wikipedia-style bullshit is still very much unwelcome, but I worry that it heralds the beginning of the end.
Joseph Stalin worked his way to ruling the USSR through a secretary position, so this fag is probably trying to LARP
 
Im making some progress learning Ruby but alot of the materials I found are just reading and I am a hands on kind of guy when it comes to learning.

To anyone here that knows Ruby, what is a project that you recommend that will cover all the basics? Like by the time I finish the project I will have a firm grasp on the basics for Ruby and then I'll go from there. Im learning it specifically for shopify's api.
 
Im making some progress learning Ruby but alot of the materials I found are just reading and I am a hands on kind of guy when it comes to learning.

To anyone here that knows Ruby, what is a project that you recommend that will cover all the basics? Im learning it specifically for shopify's api.
Implement a webstore, if you're doing it to learn Shopify's API. At a minimum you'll be touching on database integrations, page template based generation, serving HTTP requests, and authentication flows.
 
  • Like
Reactions: ${Sandy}
Guys how do I make the slamming awesome CRUD ap that'll get me all those cushy entry-level remote jobs
 
Guys how do I make the slamming awesome CRUD ap that'll get me all those cushy entry-level remote jobs
Don't bother. Just steal one from Pajeet and study the latest interview questions going around. Once you're in to one job, simply say "yes, saar" anytime your boss asks you to do something and spend all day looking for a new job. If you can do this without getting fired for 6 months a couple of times, the rest is gravy.
 
Back