|
Antigravitas posted:Limiting yourself to whatever is packaged by your distro isn't the worst idea imo. it means that it's maintained by a debian maintainer, who often has no connection to anyone who has actually contributed a line of code to the package
|
# ? Oct 11, 2021 22:35 |
|
|
# ? Dec 3, 2024 15:40 |
|
CRIP EATIN BREAD posted:what do you use over a socket? HTTP? I suppose that works, it just feels wrong to me to use it for IPC
|
# ? Oct 11, 2021 22:49 |
|
Presto posted:Nope. I don't know what these things are for. I just install python and it goes. Gazpacho fucked around with this message at 23:13 on Oct 11, 2021 |
# ? Oct 11, 2021 22:51 |
|
my homie dhall posted:HTTP? I suppose that works, it just feels wrong to me to use it for IPC no. if you had a raw socket what would you use?
|
# ? Oct 12, 2021 00:00 |
|
my homie dhall posted:what protocol are you supposed to use over pipes?
|
# ? Oct 12, 2021 00:06 |
|
CarForumPoster posted: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? Except for a couple months when I was working on an Actionscript thing.
|
# ? Oct 12, 2021 01:20 |
|
Presto posted:It's true. For my entire professional career I have never written code on a machine with an Internet connection. what are you working on? I’ve written Python on computers without internet connections and it just takes some prior planning of what packages I’ll want so I can clear them through a security process. build my env, burn to CD, submit to security…wait forever…done!
|
# ? Oct 12, 2021 01:29 |
|
CRIP EATIN BREAD posted:no. if you had a raw socket what would you use? custom ascii serialization format documented in code only with fs to separate fields, rs to separate records, and nul to terminate
|
# ? Oct 12, 2021 01:35 |
|
Joe Chip posted:custom ascii serialization format documented in code only with fs to separate fields, rs to separate records, and nul to terminate make the only acceptable numeric format octal and you’ve basically got the tar header format
|
# ? Oct 12, 2021 01:40 |
|
CarForumPoster posted:what are you working on?
|
# ? Oct 12, 2021 01:42 |
|
so... milind complex?
|
# ? Oct 12, 2021 01:44 |
|
Presto posted:It's true. For my entire professional career I have never written code on a machine with an Internet connection. ??? can you not copy all the stuff you want from site-packages onto a pen drive and use those?
|
# ? Oct 12, 2021 01:58 |
|
DoomTrainPhD posted:??? can you not copy all the stuff you want from site-packages onto a pen drive and use those?
|
# ? Oct 12, 2021 02:01 |
|
DoomTrainPhD posted:??? can you not copy all the stuff you want from site-packages onto a pen drive and use those? I'm guessing that presto works for the spooks and plugging a USB drive into a secure computer is a good way to get yourself in forever jail
|
# ? Oct 12, 2021 02:02 |
|
milind complex, spooks, directly for military or some other thing w clearances ciaphas did this whole rigamarole a bit back didnt he? should go ask him also post resume
|
# ? Oct 12, 2021 02:09 |
|
Kazinsal posted:I'm guessing that presto works for the spooks and plugging a USB drive into a secure computer is a good way to get yourself in forever jail
|
# ? Oct 12, 2021 02:11 |
|
Presto posted:Lmao. You have no idea how many rules you just violated. my company sells poo poo to orgs like yours, and let me tell you, when an escalation comes in from one of those places it’s a loving nightmare ever tried walking someone through editing yaml over the phone? just the phone, no screen share, no documents, zero bits in and out of their network except through the voice of some dork SSH’d into the system. and that dork doesn’t know how to use any cli editors federal systems with that air gap bullshit can get hosed, it’s the worst.
|
# ? Oct 12, 2021 02:21 |
|
Kazinsal posted:I'm guessing that presto works for the spooks and plugging a USB drive into a secure computer is a good way to get yourself in forever jail no no. I meant copy the files over and submit them for approval lol. not “plug random usb stick into secure computer machine”.
|
# ? Oct 12, 2021 02:29 |
|
Arcsech posted:my company sells poo poo to orgs like yours, and let me tell you, when an escalation comes in from one of those places it’s a loving nightmare literally yes lol. walking random USAF enlisted through using vi by spelling commands out over the phone using the NATO alphabet was weirdly fun
|
# ? Oct 12, 2021 02:32 |
|
Presto posted:Don't need to get the spooks involved. You do not insert *any* writable media (USBs, non-finalized CDs, whatever) in prohibited systems. I knew a guy once at my last job who in a brain-fart moment plugged his iPod into his workstation. It had to be destroyed, and he swung the hammer himself. if you’re working in defense I find it really hard to believe that you don’t have any low to high process. that’s the easy direction you don’t put the CD in your computer you follow the process ive done low to highs on Python packages before. was time consuming but lol at the idea of just writing all pure Python poo poo
|
# ? Oct 12, 2021 02:49 |
|
i did some work on an airbase and you couldnt use usb drives but you could burn cd-r dude i was working with had a stack of cd-r like you wouldnt believe we had to send some logs back to a vendor, but you couldnt email logs from internal systems (against the rules), and you couldnt plug in usb (you get an armed response), but you could burn a 2kb log file to a cd, take it to a low-sec computer on a separate network, and email it then. poo poo took all loving day because we had to do it multiple times
|
# ? Oct 12, 2021 02:52 |
|
just print all the libraries you need and then retype them yourself
|
# ? Oct 12, 2021 05:28 |
|
arg I'm getting flashbacks to an oncall rotation where I got paged by somebody working in a SCIF they had two machines on their desk and they copied me logs by reading them off one screen and typing them into the other computer
|
# ? Oct 12, 2021 07:51 |
|
Presto posted:Don't think I ever used pip. i have, however, used pip3
|
# ? Oct 12, 2021 08:24 |
|
CRIP EATIN BREAD posted:no. if you had a raw socket what would you use? write a userspace TCP stack and do HTTP over it. pretend I'm a terrible programmer the only thing I can think of that gets simpler is that you have SOCK_DGRAM available so you don't have to worry about handling message size. is there some well-known efficient binary protocol you use like protobufs? or is protobufs the thing?
|
# ? Oct 12, 2021 08:45 |
|
you've already hooked your pipe up to the right place. you have absolutely no need for the parts of a protocol related to breaking a message up into packets, routing it through several intermediate machines to your destination, retransmitting any packets that didn't arrive, and reassembling it into the original message.
|
# ? Oct 12, 2021 10:27 |
|
you do what you gotta do for a particular employer, but some curiosity about more common industry practices would serve you well
|
# ? Oct 12, 2021 12:57 |
|
Jabor posted:you've already hooked your pipe up to the right place. you have absolutely no need for the parts of a protocol related to breaking a message up into packets, routing it through several intermediate machines to your destination, retransmitting any packets that didn't arrive, and reassembling it into the original message. so you're saying i shouldn't wrap my pipe
|
# ? Oct 12, 2021 13:32 |
|
CarForumPoster posted:if you’re working in defense I find it really hard to believe that you don’t have any low to high process. that’s the easy direction
|
# ? Oct 12, 2021 14:30 |
|
I'd except a but after easy, if you know what I mean
|
# ? Oct 12, 2021 14:40 |
|
pokeyman posted:tbf not using pip would probably improve my python experience. perhaps it is everyone else who is foolish pip wouldn't be so bad if it didn't write to your system dep store by default... or if python was like Java where you have to set the classpath at runtime.
|
# ? Oct 12, 2021 16:39 |
|
i agree kind of but it only does that by default because your OS comes with python by default, its not reasonable to expect python to janitor your OS for you IMHO sometimes you want to install packages to the system python, and from a server janitor perspective its way better for a language to have 0 magic, its intuitively very easy to understand "system pip installs packages to system site-packages". if you need an isolated python, simply install one much like you would install anything else e: it is better than the GAC, at least 12 rats tied together fucked around with this message at 16:46 on Oct 12, 2021 |
# ? Oct 12, 2021 16:44 |
|
MrQueasy posted:pip wouldn't be so bad if it didn't write to your system dep store by default... or if python was like Java where you have to set the classpath at runtime. I remember having some hilarious issues with specifying version ranges in requirements.txt and things not working, but I don't remember the specifics and it might have been user error, plus semver was a mistake and the only package manager that does this even remotely close to right is elm's
|
# ? Oct 12, 2021 18:27 |
|
semver is fine its the fact that python programmers dont have basic understanding of things like compatibility or non-breaking changes.
|
# ? Oct 12, 2021 18:39 |
|
semver is bad and python is unremarkable in its use thereof
|
# ? Oct 12, 2021 18:52 |
|
CRIP EATIN BREAD posted:semver is fine its the fact that python programmers dont have basic understanding of things like compatibility or non-breaking changes. the notion of the breaking change is incomprehensible because, and this cannot be repeated enough, computers are a gently caress
|
# ? Oct 12, 2021 18:54 |
|
python 2 to python 3 is one of the better language compatibility stories that exists, especially for a free language
|
# ? Oct 12, 2021 18:55 |
|
semver works fine and also global, non-OS libraries should never be used. disk space hasnt been a consideration in decades.
|
# ? Oct 12, 2021 18:56 |
|
12 rats tied together posted:python 2 to python 3 is one of the better language compatibility stories that exists, especially for a free language
|
# ? Oct 12, 2021 18:59 |
|
|
# ? Dec 3, 2024 15:40 |
|
im sure it sucked for a lot of code authors and it could have been rolled out better, but as "guy who uses 3rd party code and can freely switch between versions", i have several core packages that today will still run fine if I reinstall them on top of python 2 one of them will even detect python 2.7 and use it if there isn't a python 3 interpreter available, of course, i always make sure there is a python 3 interpreter available
|
# ? Oct 12, 2021 19:02 |