|
I've never programmed in anything other than C, C++, and Python, so I have no idea what you guys are even talking about. Dependency management?
|
![]() |
|
![]()
|
# ? Jun 7, 2024 17:17 |
|
Sapozhnik posted:meson, kinda conan is ok and pretty easy to integrate with cmake
|
![]() |
|
vcpkg
|
![]() |
|
new job uses angular and i forgot how heavyweight this poo poo is. also they put everything into ngrx store, the screen width, whatever, its really annoying. oh also nx is on top of it. its overbuilt complexity the app
|
![]() |
|
Presto posted:I've never programmed in anything other than C, C++, and Python, so I have no idea what you guys are even talking about. Dependency management? Does pip not count?
|
![]() |
|
DrPossum posted:Does pip not count? not since pip search was turned off from too many requests
|
![]() |
|
terrible programming question: if i'm building processes on the same machine that i want to communicate with each other is there any reason to not just use localhost? from what i can gather the OS is smart enough to remove most of the overhead when you use it so it's fairly efficient. i have a series of python modules which will need to communicate with a java machine where they'll be exchanging roughly 100k messages per second, so if there's a way for them to communicate that's significantly more efficient i should probably go with that instead
|
![]() |
|
PIZZA.BAT posted:terrible programming question: if i'm building processes on the same machine that i want to communicate with each other is there any reason to not just use localhost? from what i can gather the OS is smart enough to remove most of the overhead when you use it so it's fairly efficient. i have a series of python modules which will need to communicate with a java machine where they'll be exchanging roughly 100k messages per second, so if there's a way for them to communicate that's significantly more efficient i should probably go with that instead comedy option: send them through a dbus
|
![]() |
|
PIZZA.BAT posted:terrible programming question: if i'm building processes on the same machine that i want to communicate with each other is there any reason to not just use localhost? from what i can gather the OS is smart enough to remove most of the overhead when you use it so it's fairly efficient. i have a series of python modules which will need to communicate with a java machine where they'll be exchanging roughly 100k messages per second, so if there's a way for them to communicate that's significantly more efficient i should probably go with that instead I would be hard pressed to name something faster than shared variables/memory blocks unless there was some bizarre hardware setup I'm unaware of that would allow for shared cache or registers.
|
![]() |
|
the overhead of local network sockets is going to be a hell of a lot more than something like unix sockets or pipes for IPC running this https://github.com/rigtorp/ipc-bench on a 2.2 GHz Sandy Bridge Xeon, with 1000 octet messages, I get almost 700,000 messages/second via pipes and a palty 46,000 messages/second via TCP. unix sockets come in at about 450,000 messages/second
|
![]() |
|
well. i've been teaching myself a shitload of other concepts for this project so why not pipes as well?
|
![]() |
|
pipes are easy
|
![]() |
|
yeah this doesn't look difficult at all. i've just never built something myself that had to use them. ty, thread
|
![]() |
|
pipes are great for synchronous IPC because the read/write calls are inherently synchronous. in theory you can get even faster with shared memory but you have to write your own message passing and synchronization code with futexes and the like and frankly gently caress that
|
![]() |
todats standup status: laying some pipe
|
|
![]() |
|
terrible programming: yeah this doesn't look difficult at all.
|
![]() |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
![]() |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
![]() |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
![]() |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
![]() |
|
what protocol are you supposed to use over pipes?
|
![]() |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all. ![]()
|
![]() |
|
DrPossum posted:Does pip not count?
|
![]() |
|
my homie dhall posted:what protocol are you supposed to use over pipes? idk you can use anything, like xml, json, datagrams, protobufs? as long as you have a way to tell the receiver how long the message is / when the next one begins (could be a length or a special value etc) probably depends what you wanna do specifically tho
|
![]() |
|
my homie dhall posted:what protocol are you supposed to use over pipes? what do you use over a socket?
|
![]() |
Presto posted:Don't think I ever used pip. and you’ve used python? ![]()
|
|
![]() |
|
Presto posted:Don't think I ever used pip. ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
|
![]() |
|
maybe they use conda
|
![]() |
|
tbf not using pip would probably improve my python experience. perhaps it is everyone else who is foolish
|
![]() |
|
i feel very "works for me WONTFIX" about pip but i understand that people may have had hellrides with it and will always listen
|
![]() |
|
Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. When a Python thing is packaged by Debian it's usually a sign that it's being maintained.
|
![]() |
|
Share Bear posted:i feel very "works for me WONTFIX" about pip but i understand that people may have had hellrides with it and will always listen same its bad mostly if you try to install poo poo that needs specific C/C++ dependencies, like data science crap that will silently install itself without GPU support unless the environment you install it into has the exact right stuff in the exact right location so the setup scripts can find it installing like django, flask, postgres stuff? has never been, will never be a problem
|
![]() |
|
wtf how am I getting connection pool exhaustion issues when using integrated security under the app pool Identity but not when I use SQL security for the same application e: oh the iis app pool was not set to run under the application identity so I guess all the pooled connections we're getting put into a different process identify and only ever got created, they were never getting "re used" Powerful Two-Hander fucked around with this message at 19:41 on Oct 11, 2021 |
![]() |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. lmao
|
![]() |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo.
|
![]() |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. I was going to say, this is bait but it's too late I see
|
![]() |
|
Of course it is being maintained. By idiots
|
![]() |
|
Share Bear posted:maybe they use conda I've also only ever programmed on isolated systems
|
![]() |
|
hmm, I'm pretty sure you're not supposed to move a muscle until you've downloaded an additional tens of millions of lines of code that do… things
|
![]() |
|
![]()
|
# ? Jun 7, 2024 17:17 |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. Presto posted:Nope. I don't know what these things are for. I just install python and it goes. These sure are SOME posts. Presto do you also post from isolated systems? Are you sending your posts to jeffrey of YOSPOS by carrier pigeon?
|
![]() |