@carparc@mastodon.social
@carparc@mastodon.social avatar

carparc

@carparc@mastodon.social

Network administrator • Programmer • Linux and BSD user since 2000

This profile is from a federated server and may be incomplete. Browse more on the original instance.

carparc, to random
@carparc@mastodon.social avatar

I think this stance is exactly right. Until the copyright and licensing issues with LLMs have been tested in courts, it is a huge risk to be including LLM-generated code. Especially when the LICENSE is such a defining part of the project.

To those that ask “but how will they know”—ultimately, they cannot, but having a clear policy like this sets expectations upfront; just like they have a policy not to include GPL-licensed code.

#NetBSD https://mastodon.sdf.org/@netbsd/112446618914747900

carparc, to random
@carparc@mastodon.social avatar

has the best icons of any operating system or desktop, by far, in my opinion.

https://www.haiku-os.org/development/icon-guidelines/

carparc, to linux
@carparc@mastodon.social avatar

I have had a strange problem for ages where my new (to me) #linux laptop would completely freeze almost every time the screen locked, with no errors at all. Different distros, DEs, kernels… always the same. Until I happened, by pure chance, to find this post:

https://forum.manjaro.org/t/how-to-choose-the-proper-acpi-kernel-argument/1405

I added "acpi_osi='Windows 2019'" to my kernel command line and so far—fingers crossed—it has been completely stable.

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

carparc,
@carparc@mastodon.social avatar

@elduvelle I don't know anything about MountainSort specifically, but cl.exe generally needs to be run from the "Visual Studio Developer Command Prompt". This has a load of environment settings set that the Visual Studio compiler needs.

https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022

nixCraft, (edited ) to random
@nixCraft@mastodon.social avatar

At what age did you start writing code as a programmer or software developer? #programming #softwaredevelopment #engineering

carparc, (edited )
@carparc@mastodon.social avatar

@nixCraft I made a very simple file manager with Visual Basic on the school computers when I was about 16. Been playing with code on-and-off ever since but never considered myself good enough to be a "programmer", because they make actual cool stuff and all I was doing is linking systems together.

Now I'm in my late-30s and finally letting myself believe that I might actually be okay at it. #ImposterSyndrome #programming

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