⭐ 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.
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. #retrocomputing#calculators#python#coding#rpn
Please help #Coding question 🖥️
I am trying to install #Mountainsort (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? 🙏 #Python#Programming
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 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
What are your top #CSS 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
Liebs. #LaravelValet 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…
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. #python#coding#tricks
The feeling when 87.5% of the discussion under your contribution is about #bureaucracy : unreliable CI and insignificant #style#bikeshedding .
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 #linter that satisfies your needs and let us move on to actual work, without having to redo the same stuff 8 times. Sheesh.
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.
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.
So is #AdventOfCode 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.
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. 👴
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.
AI and Coding.
How reliable is AI lke ChatGPT in giving you code that you request?