|
Plorkyeran posted:mysql’s big advantage was that it’s a lot easier to implement a mostly working good enough rdms than a correct one, but eventually Postgres progressed from a theoretically better but impractical rdbms to an actually better one replication is still a sore spot in postgres, but just about everything else about it absolutely destroys mysql these days. especially the stupid but amazing poo poo like indexed json fields.
|
# ¿ May 14, 2022 06:05 |
|
|
# ¿ Mar 28, 2024 12:24 |
|
CMYK BLYAT! posted:should i name my new library achilles or dionysus diogenes. always diogenes.
|
# ¿ May 22, 2022 07:21 |
|
RokosCockatrice posted:sob-admin is a solid admin username. covers both what the users think the admin is, and what the admin does at home
|
# ¿ Jun 11, 2022 07:44 |
|
I don't remember the details because I avoid js like the plague, but don't arrow functions have more nuances than traditional anonymous functions? I'd swear I read that in the context of js, "lambda function" refers strictly to arrow functions, as opposed to any anonymous function.
|
# ¿ Jun 12, 2022 17:42 |
|
Xarn posted:Hello Python guy. rite? i always just referred to them as higher order functions outside of python, though i guess decorators are just a subset of higher order functions
|
# ¿ Jun 13, 2022 06:53 |
|
Shaggar posted:it works fine in windows for the most part. when people complain it's usually cause they're running into a security constraint like delegation or token relaying. or if they're doing Linux poo poo it's the absolute tits in linux these days, assuming you're in a linux-first environment. linux speaking to FreeIPA, Samba, or even directly with ldap-of-choice/(mit-krb5 or heimdall) makes for happy fun times linux speaking to AD for anything but the most absolutely simple of use cases, and you're gonna have a bad time
|
# ¿ Jun 18, 2022 23:09 |
|
assuming you want to be able to map one spiel to many crimes, and buttonid is how you intend to join the two, sure. that said, as spiels grows, it will become increasingly inefficient, and you should probably pull your buttonid up to sit directly inside spiels[] with something likecode:
edit: i am not a frontent person and just realized buttonid is unikely an id. if you want to map crimes and spiels, you either need to put the spiel inside the crime, or provide an id to map between the two. outhole surfer fucked around with this message at 23:42 on Jun 18, 2022 |
# ¿ Jun 18, 2022 23:39 |
|
echinopsis posted:there is surprisingly little tutorial on the internet that helps you work out how to actually open a JSON file in your code and reference it. down the stack overflow rabbit hole I go you're trying to think about several relatively simple operations (open file, read it into a string, deserialize that string into an object) as one complex operation. instead decompose your problems when searching for them. search for how to open a file in your language of choice, then how to read that file into a string, and finally how to parse or deserialize that string into an object.
|
# ¿ Jun 19, 2022 00:18 |
|
echinopsis posted:you're probably right, although I would have thought it was a common enough set of problems that tutorials addressing one would at least mention the others. part of what you're bumping into is that by the time you need to parse a json file, you're generally expected to have already tackled the concept of opening/working with files, and parsing json strings (from hardcoded vars or apis) into objects, so nobody explicitly calls out "here is how you go from file to object"
|
# ¿ Jun 19, 2022 01:49 |
|
if you can't develop using only system packages, you're weaksauce
|
# ¿ Jun 24, 2022 17:42 |
|
12 rats tied together posted:none of the moving parts of this build pipeline have changed since 1997. true story: on-boarding for my current gig, I asked about an internal build/configuration management system that was mentioned in our wiki. response was not to worry about that system as it was legacy and had been replaced by the current build/configuration management system. in 1992.
|
# ¿ Jun 24, 2022 17:47 |
|
docker's biggest wart is the dockerfile. the decision to generate a new image layer for the majority of the available instructions is nonsense that way too much time is spent fighting.
|
# ¿ Jun 25, 2022 02:10 |
|
animist posted:it kinda makes sense for dockerfiles that just wrap a plang package but otherwise yeah it's annoying, especially if you're doing any kind of build. even then you gotta fight it the majority of the time. for most languages a package install is still going to cause a lot of cruft to land on disk if you're not careful (does the package manager download an index, cache the package, etc)
|
# ¿ Jun 25, 2022 02:15 |
|
I've gotten so most of my Dockerfiles just call out to one script for build and another script as an entrypoint. I also yell at the neighborhood kids to get off my lawn, so there's that.
|
# ¿ Jun 25, 2022 02:17 |
|
Sapozhnik posted:ehh, disagree, it works fairly well. I guess there can be a lot of backslashes involved in some cases but if you really need to do a whole bunch of stuff in one leap then you might want to write a shell script honestly I wasn't even thinking about the additional escaping, but that raises another issue with it: another layer of escaping on top of a language already fraught with string handling and escaping gotchas
|
# ¿ Jun 25, 2022 03:30 |
|
Private Speech posted:the windows side of things is usually okay about this, as sort of mentioned linux just ships a tarball^Wcontainer image with the binaries and the nastily patched dependencies
|
# ¿ Jun 25, 2022 23:00 |
|
champagne posting posted:laugh-cries-emoji in Microsoft Teams at least modern emoji is still plaintext unicode. i'll take that any day over rich text.
|
# ¿ Jul 21, 2022 19:21 |
|
a deploy *and* dependency change on friday. bold strategy cotton.
|
# ¿ Jul 22, 2022 20:04 |
|
sb hermit posted:I wrote perl in order to add spamassassin modules and even I cannot completely understand what I wrote unless I write copious amounts of comments the perl interpreter is a utility that translates line noise into book stores
|
# ¿ Jul 24, 2022 06:22 |
|
plot twist: no linter was currently being used and the new guy was proposing they try one out
|
# ¿ Jul 28, 2022 04:48 |
|
i actually had an old hand make an argument like that when i joined a past gig. sysadmin type work, everything was managed directly from his workstation and only occasionally in any form of source control. i started an ansible repo that described a single file i was deploying to hosts (to act as a starting point for collab and test the waters) and he raised hell up the flag pole that i was trying to change all his workflows on day one.
|
# ¿ Jul 28, 2022 04:52 |
|
barkbell posted:the best change was screen print width from 80 to 100. huge value as someone who has been too lazy to reconfigure default terminal width for a couple decades now, i'd have to agree with you. that's a wtf pr right there.
|
# ¿ Jul 28, 2022 05:19 |
|
akadajet posted:smokadustbowl dags are a boomer myth
|
# ¿ Jul 31, 2022 01:31 |
|
many many times. they never last because they abstract too much, and when users of them land in a rough spot, they can no longer speak the the lingua franca of git misery
|
# ¿ Aug 1, 2022 02:25 |
|
bob dobbs is dead posted:embedded linux, they might literally just only have libc how someone contributes to buildroot but has never used make graph-depends is mind boggling to me tho
|
# ¿ Aug 1, 2022 07:24 |
|
TheFluff posted:fair, i've never actually used rails myself either rails (well, activerecord really) pisses me off with all the goofy convenience methods is spews out. an integer should not have a days_ago method that returns a date/time
|
# ¿ Aug 8, 2022 20:18 |
|
RokosCockatrice posted:I need some help workshopping an opinion pretty sure pull requests originated from the lkml, not github. github implemented a web ui around the process, but pull requests previously existed as a literal e-mail that requested you pull changes from a repo specified in the e-mail.
|
# ¿ Aug 9, 2022 20:02 |
|
99.9% of real world saml implementations are heavily browser dependent. ECP was introduced to try to bring saml beyond the browser. i started to add an exception for amazon, saying that awscli supported ecp, but that doesn't seem to be the case anymore if it ever was, as they suggest a 3rd party tool that implements saml ecp to get an sts token, so it's a 3rd class citizen there too.
|
# ¿ Aug 17, 2022 23:59 |
|
DrPossum posted:nudge-it no
|
# ¿ Aug 19, 2022 14:23 |
|
Carthag Tuek posted:lmao at admitting that people admit to and are even proud of the dumbest poo poo. colleague at a past gig had been responsible for their iam infrastructure for years doing everything by hand, from building to deploying to operating services. acted like it was unreasonable to config manage an environment that was only a half dozen servers and a dozen services and was proud of constantly having to hero the shitshow he made dude would also proudly talk about how the shibboleth deployment was stuck on a hella old version because he wrote a plugin that the deployment depended on, then lost the source. he of course blamed everything on not having enough time to do everything that needed to be done.
|
# ¿ Aug 24, 2022 17:38 |
|
redleader posted:i'd rather write xslt than js tbh
|
# ¿ Sep 1, 2022 00:53 |
|
ruby is an ecosystem where nobody thinks twice about adding a days_ago method to integers
|
# ¿ Sep 7, 2022 00:21 |
|
horrible flashbacks to a customer site (porn site) I worked on 15+ years ago. all images were mysql blobs. on a porn site.
|
# ¿ Sep 7, 2022 19:05 |
|
cinci zoo sniper posted:no, the name of the algo is "zstandard" required pronunciation is an american impersonating a german tho Zee Standard!
|
# ¿ Mar 18, 2023 22:29 |
|
3.11 just builds on top of python for workgroups, right?
|
# ¿ Apr 7, 2023 00:36 |
|
i'm one of those crazies that goes a step further and says vendor all your dependencies you never know when poo poo is going to disappear from the internet and break your builds. mirroring gets you part way there, but being able to git blame within a dependency is the goddamn bees knees
|
# ¿ Apr 16, 2023 16:04 |
|
Jabor posted:it becomes a brownfield app pretty quickly when you have microservices pooping all over it
|
# ¿ Apr 21, 2023 01:17 |
|
then you have loving conda where they were like "what if we shipped a shitload of packages that aren't related to python with every install" loving kerberos is provided by conda by default
|
# ¿ May 4, 2023 03:14 |
|
Just a Moron posted:I should clarify that I love EVE, I think it's great. But I've gotten the impression over the years that it running in python has been a consistent source of technical debt that they have to overcome. it's a shame that keeps getting in the way of them becoming insanely profitable... oh.
|
# ¿ May 5, 2023 04:27 |
|
|
# ¿ Mar 28, 2024 12:24 |
|
uvicorn is the new hottness if you're moving from wsgi to asgi
|
# ¿ May 6, 2023 01:22 |