sos, to programming
@sos@mastodon.gamedev.place avatar

I hate CMAKE. That's the post. Just hate it.

Why the FUCK does CMAKE generate VS project files that depend on having CMAKE installed on your system? And it has to be in a fixed path? And EVERYTHING has to be in a fixed path?

Have CMAKE developers ever compiled something or used version control? This is unusable and I am very angry and it's Monday and I haven't had my coffee yet.

EDIT: AND IT HAS TO HAVE VS INSTALLED AT A FIXED PATH TOO WHO MADE THIS CRAP????

devinprater, to accessibility

So, there are so many sites and books where programming code is syntax highlighted. And that's cool, I wouldn't want to take that away from anyone. But if you read it with what I like to call "object readers" like VoiceOver and TalkBack, you'll find that, because they move one element at a time, and will treat anything different than plain text paragraphs as a separate element, you'll need to swipe a bunch of times to get through even a simple code snippet. Imagine having to scroll past a huge screen full of just "def", or "console" "." "log". Thankfully, screen readers where there are blind developers , and they use their own screen reader, like NVDA and JAWS, don't have this issue, and hopefully reading with just the arrow keys on VoiceOver for Mac gets around this. But eventually, I hope that VoiceOver developers can confront this and just say "okay, if this isn't another paragraph, or an interactable element, just have all this on one element." Or even more cool, "Okay so this is wrapped in a <code> or <pre> element right? So let's do with code what we've already done with math. Show it in computer Braille if the user likes that (optional please dear God), and allow the user to drill down into the code. Also if this paragraph has spans and divs and CSS that looks like code, offer the same thing." No, it's not perfect. But it's a hella better than what we have now. I mean shit it even happens in the Books app. That Learn to Program by Chris Pines? Yeah, I hate reading it on my iPhone cause it's just one word at a time, and line numbers repeat because of course they do. And even though Brailel can now show text formatting, it's still a pain to read through code

because

its

just

one

thing

at

2

2

a

time

.

julienbarnoin, to gamedev
@julienbarnoin@mastodon.gamedev.place avatar

Somehow I was under the impression that the const keyword for function parameters in #GLSL was mostly there for the benefit of programmers, so we'd get an error if we try to modify something we're not supposed to, but that the compiler would figure out if it does get modified or not on its own.

I was wrong. I have a case where just adding the const keyword to one parameter makes a shader twice as fast - from 750µs to 300µs.
Totally unexpected for me, am I the only one?

#gamedev #programming

emacsen, to programming
@emacsen@emacsen.net avatar

A bit of a programmer rant...

People wonder why I like ORMs even when they're unnecessary. Firstly, I've never liked SQL. I think that writing queries to a RDBMS is something that a computer should do, akin to compilation. In the few times when extreme optimization is warranted, low level code can be generated to suit that specific case. In other times, ORMs usually provide a more natural interface to data that increases readability and code flow.

1/2

amoroso, to programming
@amoroso@fosstodon.org avatar

To improve as a programmer, many advise to read lots of code but few actually do.

In this old but still relevant essay Peter Seibel discussed why and explained what he does instead, summarizing his approach this way:

"Code is not literature and we are not readers. Rather, interesting pieces of code are specimens and we are naturalists."

https://gigamonkeys.com/code-reading

tomaszs, to technology

Today I've found you five open source projects using Typescript. You can modify and contribute. Tabby for example uses the famous Pug templating system
https://tomaszs2.medium.com/5-awesome-typescript-projects-home-automation-open-source-libraries-and-task-automation-ep-2-c3cef998f490

hbons, to vscode
@hbons@mastodon.social avatar

I want to shift focus to improving VS Code's version control flows soon. 🔀

what are some things you like/dislike currently? more importantly, what's frustrating you?

I'll start: I'm missing a visual git-log and feel disoriented because of it.

#vscode #VisualStudioCode #VisualStudio #ux #git #github #dev #coding #programming

Drmowinckels, to programming
@Drmowinckels@fosstodon.org avatar

📝 New blog post 📝

'The IDEs I use'

🧏 People who code have a tendency to spend a lot of time in various IDEs (Integrated Development Environments). They can be as simple as a text editor or as complex as a full-blown development environment. In this post, I'll go through my two go-to IDE's, RStudio and VScode, and why I switch between them rather than sticking to a single one. ---

👀 Read more at https://drmowinckels.io/blog/2024/ide

#R

maxim, (edited ) to gamedev
@maxim@mastodon.gamedev.place avatar

I'm interested to know what % of gamedev people started this path by learning everything on their own

Are you self-taught or did you study at an institution?

⭐️ please write the details in the comments

xsevy, to programming Polish

any Insomnia alternatives which are not Postman? I need rest and graphql support.
Insomnia is getting worse and worse and I'm worried it won't be better.
@python @golang
@opensource

bitprophet, to programming
@bitprophet@social.coop avatar

So is actually any good? I have a pile of anecdata asserting that historically, it turns into completely impenetrable wanker bullshit by day ~10 out of 24.

I /might/ actually have the bandwidth for it this year, but I would much rather put the time into personal projects or OSS if I'm gonna feel compelled to give up on an advent halfway through.

veronica, to workersrights
@veronica@mastodon.online avatar

Got my new monitor set up and mounted on an arm rather than the default stand. I'm running Debian on the PC, and this is my workspace for working on my open source project. It first really nice!

I work remotely, so I really needed this for my work setup. The monitor has a built-in KVM switch, so when I switch to the laptop for work, so does the mouse, keyboard and webcam.

maxim, to mastodon
@maxim@mastodon.gamedev.place avatar

Hello programmers from

⭐ What development tools do you use more often, or better to say, what is yours IDE?

video/mp4

vwbusguy, to programming
@vwbusguy@mastodon.online avatar

Looking for a diff tool that spits out valid yaml but only including the parts where there are differences between the two. I have some helm chart values yaml files that have gotten unnecessarily verbose.

markwyner, to programming
@markwyner@mas.to avatar

Friends in native iOS development. I’d love advice.

I’ve been writing code for over two decades, but never native iOS. Nor C. Nor anything related. But I’m beginning the journey.

Can you recommend a favorite resource for helping folks begin from the ground floor? I can spend all day in an editor and my terminal. But Xcode and iOS is an entirely new world for me.

Thanks in advance!

freemo, to ArtificialIntelligence
@freemo@qoto.org avatar

Please reboost!

Trying something new, everyone is guaranteed an interview! Open interviews! For a limited time no one will be skipped (except for clear cases of abuse).

So we still have about 10 more 100% remote positions to hire for full-time market-fair positions here at QOTO/CleverThis.

100% remote, work from anywhere, even the beach, market-fair offers. Ethics first, we treat our people like family.

We have an urgent need for Machine learning experts with a background in NLP and Deep Learning (Natural Language Processing and Neural Networks). There is a focus on Knowledge Graphs, Mathematics, Java, C, looking for Polyglots.

We are an open-source first company, we give back heavily to the OSS community.

We need everything from jr to sr, data scientist to programmer. If your IT and your good, you might be a fit.

I will personally be both your direct boss, and hiring manager. I am also the founder and inventor.

The NLP position can be found at this link, other positions can be found on the menu bar on the left:

https://docs.cleverthis.com/en/human_resources/organizational_structure/sr_data_scientist_(nlp)

If you would like to submit yourself for an interview, which for a limited time I am guaranteeing you will get a first stage interview, then you can submit your application here, and even schedule your interview as you apply, instantly!

https://cal.com/team/cleverthis/interview-stage-1

For those of you who cant schedule during core hours you can schedule in my free time if you’d like a chance (the company doesnt have fixed hours):

https://cal.com/team/cleverthis/interview-stage-1-extended

treyhunner, to python
@treyhunner@mastodon.social avatar

Self-taught programmers: what made the idea of "time complexity" really click for you? 🧮

Was there a video, blog post, book chapter, etc. that really acted as an ah-ha moment? 💡

ArneBab, to web3 German
@ArneBab@rollenspiel.social avatar
Stark9837, (edited ) to Youtube
@Stark9837@techhub.social avatar

"Why We Left The Cloud"

Recently watched this video by on , and his hot-take 🔥 was that they were using , and half of their pain was caused by this.

I have no experience with Ruby at all and most probably won't even recognize it if I were to read it.

If Ruby is such a bottleneck and inefficient, why did :mastodon: use Ruby for its implementation?

I know Ruby is often praised for servers and backends, especially APIs, but we have many solutions for this in :python: , which I wouldn't recommend, but :golang: and .

Does anyone have opinions or sources for this statement?

Video: https://youtube.com/watch?v=6h4oiPwtwDk&feature=share

Original article:https://world.hey.com/dhh/why-we-re-leaving-the-cloud-654b47e0

wagesj45, to windows
@wagesj45@mastodon.jordanwages.com avatar

Does anyone still use WinForms unironically? Everyone seems to have moved on to XAML for C# projects, be it WPF or Avalonia or Maui or whatever. I've written applications in all of them (except Maui) but I just don't like the new ones like WinForms. It feels better. It makes more sense. Maybe I'm just too stupid for all the binding nonsense. Or too boomer. :boomer:

Am I alone here? Do any of you c# have opinions on this beyond "old bad, new better"?

shafik, to programming
@shafik@hachyderm.io avatar

This one trick to do sqr() and cube() in C: https://godbolt.org/z/7qeanM

elduvelle, to programming
@elduvelle@neuromatch.social avatar

in question:
This should be easy, but I can’t find a straightforward solution anywhere. How can one ask the user to select one **or more ** directories using a graphical interface?

There is “tkFileDialog.askdirectory()” in the Tkinter module but it only allows to select one directory. Any implementations of that function that allow for directory multiselection?
(Yes, I could do a loop and call the same function multiple times but I wouldn’t call that straightforward)

veronica, to python
@veronica@mastodon.online avatar

Ternary conditionals in Python are very practical, but not necessarily easy to read. Still, I find I use them more and more lately ...

#Code #Python #Programming

davidbisset, to webdev
@davidbisset@phpc.social avatar

Hey and community, what's your main setup?

array, (edited ) to random
@array@fosstodon.org avatar

When you get to choose a programming language for your projects, does its performance/efficiency really matters to you, or do you have more important priorities? Asking for a 408 Request Timeout.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines