ajsadauskas, to ai
@ajsadauskas@aus.social avatar

In five years time, some CTO will review the mysterious outage or technical debt in their organisation.

They will unearth a mess of poorly written, poorly -documented, barely-functioning code their staff don't understand.

They will conclude that they did not actually save money by replacing human developers with LLMs.

@technology

syntaxseed, to php
@syntaxseed@phpc.social avatar

Hey... question...

Say you have a function that has to return 1 of 3 states. Yes, no or N/A.

What's the recommended way to do this?

-Return an int flag?
-True/false/null?
-Return a value object?

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

Hello programmers from

I have a question for you.

⭐ What programming language do you use most of your life? Why exactly?

Most of my time I worked with almost the entire .Net stack, and in recent years it's Unity, so my language is C#
There were episodes in my life with mobile, many web stuff, java, c++, databases, etc.

Em0nM4stodon, to programming

Is being a "minimalist programmer" a thing? 👀

As in a programmer who specializes in coding with as few external dependencies as possible. Or is this just generally frown upon?

gregorni, to FunctionalProgramming
@gregorni@fosstodon.org avatar
SarahKL, to retrocomputing

Hey lovely Mastodon folk. I've just released an HP-35, HP-45, HP-80 simulator called HP-1973 to celebrate the 50th anniversary of the HP-45 calculator. (Free) standalone versions for Mac and WIndows (no need for any Python installation or knowledge) & Python source for Linux. It's been a coding marathon, so it'd mean a lot to me if you could boost this post, so it gets in front of the right people. Download here: https://sarahkmarr.com/retrohp1973.html Enjoy.

elduvelle, (edited ) to python
@elduvelle@neuromatch.social avatar

Please help question 🖥️
I am trying to install (4) on Windows (10) (I know, I know).

It works on one of my Win10 computers, but doesn’t on any other ones that I’m trying to install this on.
When running ‘pip install mountainsort4’ I get this error: “command ‘some_path_on_my_comp\cl.exe’ failed with exit code 2”

I also get this error: " C:\some_path\Local\Temp\pip-install-kykt_efl\isosplit5_3fce77eb41cf47b4a1d4ca22afae35a2\src\isocut5.h(19): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory"

I have googled this to death and tried everything and it just won’t fix itself. The cl.exe path exists. I added it to the environment variables (but maybe not properly?). It’s a Visual Studio function.
Seen this before? Any suggestions? 🙏

Edit (and thank you for all answers so far!):

  • I have tried running it in the visual studio console, it shows the same error.
  • I have tried running it in as administrator, same error..
  • I have tried replicating the conda environment from the computer that works onto the others, but it comes up with the same errors as when I install manually. The only detectable difference is that the working install has an older version of conda / anaconda.
  • I asked the repo owner and they said to use it on Linux (or using the windows subsystem for Linux), but I’d like to try and keep things as simple as possible (both for me and other users), and this is NOT simple. I know it can work on Win10 so I just want to replicate that.

Edit 2: I reinstalled Visual Studio stuff using these instructions
NOW I do not get the error about the missing stdlib.h anymore, and I can actually install isosplit5 which is a dependency of mountainsort, BUT - when I go back to running pip install mountainsort4 it now has new errors! (progress?) They look like syntax errors as described in this issue and they still end in the cl.exe error. At the end it said that it did build mountainsort4 but not isosplit5 and when I try to actually run mountainsort functions they say it's not installed. so Fail.

Edit 3: I am so desperate that I have created a Question on StackOverflow, yes yes
https://stackoverflow.com/questions/76887010/how-to-fix-missing-stdlib-h-file-and-failed-cl-exe-command-when-installing-m

Edit 4: Am I just using the 'wrong' version of those Visual Studio functions for the code? Like the code has not been adapted to current versions? But how can I know which version the code wants?

Edit 5: if I manage to install isosplit5... why does mountainsort try to 'build the wheels for isosplit5'? Is there a way to tell it to use the one that is already installed?

Edit 6 (Aug 15): I tried my pipeline in the Windows Subsystem for Linux. It had a C++ problem at first, but it worked after I ran sudo apt install build-essential.

Anyone knows about an equivalent to that instruction in Windows?
I think that would fix my problem... if it exists

anatudor, to CSS

What are your top features you played with, got excited over as they were supported in one browser... then years passed & support hasn't improved?

Mine:
@​property Chrome-only for half a decade
filter() Safari-only since 2015
element() Firefox-only since forever

kaiserkiwi, (edited ) to php German
@kaiserkiwi@corteximplant.com avatar

Liebs. ist mal wieder im Eimer. 502 Bad Gateway. Wie ich diesen Fehler hasse und es ist jedes Mal random, wie man ihn behebt. Die üblichen Sachen funktionieren schon mal nicht mehr…

Manchmal fehlt es mir nur mit HTML und CSS zu arbeiten.

fell, (edited ) to programming
@fell@ma.fellr.net avatar
defcon201, to devops
@defcon201@hostux.social avatar
gregorni, to programming
@gregorni@fosstodon.org avatar

What does your development environment look like right now?

(IDE/Text Editor? Terminal Multiplexer? Package Manager? Shell? Programming Language? Containerization? Command Runner? Terminal Emulator?)

futurebird, to programming
@futurebird@sauropods.win avatar

Did you know in python you can stick a for loop in the list brackets and just BAM have a list? No “append” check it:

l=[chr(i+65) for i in range(0,26)]
print(l)

> [‘A’, ‘B’, ‘C’, … , ‘Z’]

(it will be the letters A-Z since the unicode for the capital letter starts at 65, chr renders these numbers as letters.)

Is that classy? For some reason this neat little feature isn’t really taught. I guess with a loop and appending you have not flexibility— but still this is cool.

dcz, to opensource
@dcz@fosstodon.org avatar

The feeling when 87.5% of the discussion under your contribution is about : unreliable CI and insignificant .

Congrats, the project has created a barrier to entry for anyone who hasn't been into it for years already.

Hint: give everyone a freaking that satisfies your needs and let us move on to actual work, without having to redo the same stuff 8 times. Sheesh.

elduvelle, (edited ) to python
@elduvelle@neuromatch.social avatar

As a (broadly-speaking), which language do you prefer for your data processing and data analysis?

I’m particularly interested in understanding why so many people seem to use R these days - comments welcome!

#R

gregorni, to rust
@gregorni@fosstodon.org avatar

Somehow, whenever I write Rust, I feel like it's not really for me. I always spend so much time dealing with Rust logic, and so little time on actually writing the code I want.

I can understand how it suits a lot of people to have an extremely clear visualization of the path their code takes when it runs, but I prefer to write less code, even in that means sacrificing performance.

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.

kaiserkiwi, (edited ) to random
@kaiserkiwi@corteximplant.com avatar

UI/UX from scratch is hard. 😕 Sometimes I wish I had some designer to talk to about stuff I develop for Questlog.

One thing that annoys me extremely: I just don't get into mobile first for it. This is weird because I myself use it exclusively on mobile and most users seem to use it mobile only. 😅

I will finally get there but working alone on something as full stack in frontend, backend, UI and UX is sometimes pretty hard.

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

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.

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

anatudor, to accessibility

Forget CSS, people don't even know HTML.

Here's why I'm saying this: I've looked through demos made for last week's : https://codepen.io/challenges/2023/june/2 in order to get a better idea of how people want such a control to look and work.

And here are some numbers: 😭

metin, (edited ) to retrocomputing
@metin@graphics.social avatar

When I was a young Commodore-era game developer, C (without the ++ or # back then) was for wimps, and hardcore coders used Assembly, ditching the OS to have maximum available hardware resources. 👴

#C

rolle, to mastodon
@rolle@mementomori.social avatar

It would be so great to see "350 people boosted your post" instead of getting notification from each individually. Yes, you can disable them, but instead I would like to see this feature to get developed.

Attempted to group notifications in my Mastodon fork myself. Sadly, I'm not skilled enough in Mastodon JS, so re-bumping this: https://github.com/mastodon/mastodon/issues/1483

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