|
I've really been sleeping on getting work done on my survey of Wirthian languages, especially during my period of self-funemployment ATM.
|
# ? Apr 17, 2024 21:33 |
|
|
# ? Apr 19, 2024 00:19 |
|
As long as I'm talking about stuff I meant to do and haven't done yet, have my raw notes to self about emails I wanted to send to The Array Cast folks from like 2.5 years ago:quote:2021-12-21
|
# ? Apr 18, 2024 03:10 |
|
Phobeste posted:to be clear (and admittedly this was a bit ago because it was so loving bad I refused to use it anymore) this is only and entirely speaking about osx docker hosts that run full fledged vms for the children. no other host os has this problem as far as I can tell. it’s not a host OS “problem,” it’s inherent in what containers are: they’re defined as being a Linux environment, so if you’re not running Linux you have to run a VM to host containers I don’t use Docker or containers for much of anything because I work on end user software, but for the small amount that I do use them, I use podman on macOS and it works perfectly fine and plenty fast but it runs one VM under the hood, and runs the containers under that
|
# ? Apr 18, 2024 03:43 |
|
Share Bear posted:this link and entire page reinforces my outsider view and also adds that i don't think anyone should be writing new C/C++ code in 2024 hey now, don’t mix C in with that C++ nonsense
|
# ? Apr 18, 2024 03:48 |
|
minidracula posted:As long as I'm talking about stuff I meant to do and haven't done yet, have my raw notes to self about emails I wanted to send to The Array Cast folks from like 2.5 years ago: not to turn it into a long rant, i think it's very unfortunate that j-style forks and trains seem to be infecting most modern arraylangs and they've come to be seen as central features of the paradigm- at least among vocal enthusiasts in my mind the truly important features are implicit and abstract iteration, having algebras and generalizations over a small, closed collection of types, and the idea of programming directly in the language instead of constructing abstractions
|
# ? Apr 18, 2024 03:54 |
|
eschaton posted:hey now, don’t mix C in with that C++ nonsense C is my favorite C++ replacement language
|
# ? Apr 18, 2024 04:00 |
|
eschaton posted:it’s not a host OS “problem,” it’s inherent in what containers are: they’re defined as being a Linux environment, so if you’re not running Linux you have to run a VM to host containers we’re moving away from podman on macOS for local development at work because it’s flaky when you push it with a lot of container lifecycle operations and our dev support folks are sick of the headaches. I forget what we’re doing instead, alas
|
# ? Apr 18, 2024 08:36 |
|
Subjunctive posted:so here’s an interesting thing happening in languages not a fan of anything that makes cpp less unappealing tbh. let it die.
|
# ? Apr 18, 2024 09:11 |
|
Subjunctive posted:we’re moving away from podman on macOS for local development at work because it’s flaky when you push it with a lot of container lifecycle operations and our dev support folks are sick of the headaches. I forget what we’re doing instead, alas works great for me, but all I’m doing with it is running gcc, binutils, and gdb-multiarch to build and debug some 68K ROM code I never need to do “a lot of container lifecycle operations” whatever that really implies
|
# ? Apr 18, 2024 10:20 |
|
if I have to use containers for something (ugh), podman is the Docker-clone I should/ought to be using instead of actual Docker, right? this is what I've somewhat inuited via osmosis semi-lately. is it correct?
|
# ? Apr 18, 2024 12:28 |
|
docker is a product made by a real company so i’d use it if you have the option. for corporate use you need a license
|
# ? Apr 18, 2024 13:14 |
|
podman/containerd is what most people use if they dont wanna use docker i'm sure there's some weird nix way to run containers too but thats way too obscure for right now
|
# ? Apr 18, 2024 15:57 |
|
need to run a handful of containers and would appreciate not having a root escalation daemon permanently running -> podman need to setup some purgatorial service-oriented architecture and want to use a dozen tools selected by throwing darts at the cncf homepage -> docker
|
# ? Apr 18, 2024 20:10 |
|
Share Bear posted:podman/containerd is what most people use if they dont wanna use docker the weird nix thing is building container images, not running them https://nix.dev/tutorials/nixos/building-and-running-docker-images.html
|
# ? Apr 18, 2024 20:25 |
|
Asleep Style posted:the weird nix thing is building container images, not running them ah i'm still new to the entire thing so i assumed there was some sort of container runtime with it too, thank you
|
# ? Apr 18, 2024 20:27 |
|
my team at work used to use python for developer tools. we’re switching to go for new things (I lost the argument for java and tbh java is a dubious fit anyway because of start up latency). one guy thinks we should have picked c++ but while I really hate go, I don’t think I hate it that much
|
# ? Apr 18, 2024 20:34 |
|
shoulda switched to rust
|
# ? Apr 18, 2024 20:47 |
|
nrook posted:my team at work used to use python for developer tools. we’re switching to go for new things (I lost the argument for java and tbh java is a dubious fit anyway because of start up latency). may i ask why they switched away? packaging/isolation/reproducability i'm guessing? maybe speed? i just switched to ruff from black as an example, and it's SO much better
|
# ? Apr 18, 2024 20:59 |
|
this is from a few pages back so apologies but lmao if you think strncpy has fewer sharp corners than strlcpy any function that potentially leaves a string non terminated is a bad function
|
# ? Apr 18, 2024 22:31 |
|
strncpy is a really useful utility function for working with fixed-width record databases, which by the grace of god have basically died out the only problem is that the name makes it look like a general string routine
|
# ? Apr 18, 2024 22:36 |
|
fixed-width records does sort of justify the null padding for short copies
|
# ? Apr 18, 2024 22:51 |
|
strncpy was for working with directory tables, or something? it’s a menace
|
# ? Apr 18, 2024 23:00 |
|
yep, you have to fully overwrite whatever used to be be in the field. and of course text fields in a fixed-width record are terminated by the end of the field; you only pad with nul bytes if the text doesn't fill the field. it's a completely sensible operation for something that used to be one of the predominant ways to store information and is now totally and unquestionably obsolete
|
# ? Apr 18, 2024 23:03 |
|
we use it in protocols which have fixed width string fields still, needs suiting
|
# ? Apr 18, 2024 23:04 |
|
Sweeper posted:we use it in protocols which have fixed width string fields still, needs suiting you’re why we can’t remove it
|
# ? Apr 18, 2024 23:09 |
|
Subjunctive posted:you’re why we can’t remove it no need to remove it, just only use it for fixed width strings as intended.
|
# ? Apr 18, 2024 23:55 |
|
|
# ? Apr 19, 2024 00:19 |
|
nrook posted:my team at work used to use python for developer tools. we’re switching to go for new things (I lost the argument for java and tbh java is a dubious fit anyway because of start up latency). No, seriously, I am curious how this works out for you/your team at work in practice. It's something I've heard not infrequently, and I've thought along similar lines the last several years (not just WRT moving from Python, but inclusive of that as well) for various reasons (which I can get into somewhat if anyone cares), but I'm always interested in more trip reports.
|
# ? Apr 19, 2024 00:17 |