|
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?
|
# ? Oct 10, 2021 05:11 |
|
|
# ? Jun 8, 2024 08:55 |
|
Sapozhnik posted:meson, kinda conan is ok and pretty easy to integrate with cmake
|
# ? Oct 10, 2021 11:14 |
|
vcpkg
|
# ? Oct 10, 2021 12:38 |
|
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
|
# ? Oct 10, 2021 14:20 |
|
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?
|
# ? Oct 10, 2021 23:02 |
|
DrPossum posted:Does pip not count? not since pip search was turned off from too many requests
|
# ? Oct 10, 2021 23:25 |
|
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
|
# ? Oct 10, 2021 23:28 |
|
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
|
# ? Oct 10, 2021 23:32 |
|
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.
|
# ? Oct 10, 2021 23:35 |
|
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
|
# ? Oct 10, 2021 23:38 |
|
well. i've been teaching myself a shitload of other concepts for this project so why not pipes as well?
|
# ? Oct 10, 2021 23:40 |
|
pipes are easy
|
# ? Oct 11, 2021 01:03 |
|
yeah this doesn't look difficult at all. i've just never built something myself that had to use them. ty, thread
|
# ? Oct 11, 2021 01:10 |
|
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
|
# ? Oct 11, 2021 03:10 |
todats standup status: laying some pipe
|
|
# ? Oct 11, 2021 04:15 |
|
terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 07:34 |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 08:25 |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 08:26 |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 09:35 |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 09:40 |
|
what protocol are you supposed to use over pipes?
|
# ? Oct 11, 2021 12:42 |
|
Carthag Tuek posted:terrible programming: yeah this doesn't look difficult at all.
|
# ? Oct 11, 2021 14:38 |
|
DrPossum posted:Does pip not count?
|
# ? Oct 11, 2021 16:52 |
|
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
|
# ? Oct 11, 2021 16:55 |
|
my homie dhall posted:what protocol are you supposed to use over pipes? what do you use over a socket?
|
# ? Oct 11, 2021 17:51 |
Presto posted:Don't think I ever used pip. and you’ve used python?
|
|
# ? Oct 11, 2021 17:59 |
|
Presto posted:Don't think I ever used pip. ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
|
# ? Oct 11, 2021 18:01 |
|
maybe they use conda
|
# ? Oct 11, 2021 18:04 |
|
tbf not using pip would probably improve my python experience. perhaps it is everyone else who is foolish
|
# ? Oct 11, 2021 18:06 |
|
i feel very "works for me WONTFIX" about pip but i understand that people may have had hellrides with it and will always listen
|
# ? Oct 11, 2021 18:11 |
|
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.
|
# ? Oct 11, 2021 18:12 |
|
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
|
# ? Oct 11, 2021 18:21 |
|
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 |
# ? Oct 11, 2021 18:23 |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. lmao
|
# ? Oct 11, 2021 18:46 |
|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo.
|
# ? Oct 11, 2021 18:53 |
|
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
|
# ? Oct 11, 2021 18:57 |
|
Of course it is being maintained. By idiots
|
# ? Oct 11, 2021 20:50 |
|
Share Bear posted:maybe they use conda I've also only ever programmed on isolated systems
|
# ? Oct 11, 2021 21:36 |
|
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
|
# ? Oct 11, 2021 21:43 |
|
|
# ? Jun 8, 2024 08:55 |
|
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?
|
# ? Oct 11, 2021 23:14 |