|
I still can't decide if meteor is some sort of future alien technology or potentially the most bonkers confirmation that the web design world has no memory for hard learned lessons of the past. Some of it just scares me. Querying the database from the client side? Sounds like a recipe for tears to me!
|
# ¿ Sep 21, 2013 10:06 |
|
|
# ¿ May 2, 2024 22:59 |
|
The Insect Court posted:Why's that? NoSQL is going to be easier to scale, and there are more performant options than mongo(which is still pretty good). You lose some ACID guarantees, but depending on the application domain that's not super important. Personally I would fire any programmer that told me ACID guarantees are not "super important". Playing chicken with your data is how companies get killed. But hey, at least its webscale!
|
# ¿ Oct 7, 2013 12:48 |
|
MrDoDo posted:What do you mean as in "online"? Unit testing is kind of one of those things thats tricky to do after the fact, especially for a large app if it has 0 test coverage. Setting your sights on getting a test suite up, with full coverage for a large JS app in a month is pretty ambitious. Word. I started work at a large web firm that had this horrible inhouse CMS* written in bad PHP with everything wrong with PHP encoded in this mess (inline html, sql injections, long-drop coding styles (It starts at the top of the file, and drops all the waaaay through a big spagetti mess to the bottom and at the end lies a programmers lifeless corpse) and so on. All this built up over years of patches and crufting. Anyway, I got told I was being put onto a project to have "full coverage" for this code base. I pretty much said straight up it was a pipe dream because so much of the code just didn't lend itself to unit testing being massively side-effect filled, poorly structured with almost no object orientation at all. The loving thing managed to crash PhpLint, it was that bad. Anyway after lots of arguing I suggested a broader project of slowly refactoring the whole codebase into something modern and compliant and unit testing that. I was put on the task knowing it'd take me and another guy the better part of a year. Then I got sick and ended up in hospital. Then the recession hit whilst I was in hospital. Then the company died, because it turns out "Inhouse CMS" is a loving worthless assett that adds nothing to your share price, probably. The end. *(Protip: AVOID companies with their own inhouse CMSs. They loving dement companies because management end up believing these hokey loving cms's are their secret weapon when in reality they are usually written by bad programmers, maintained by bad programmers and are filled with layers upon layers of crust custom written for long forgotten customers, with SQL injections galore, entwangled HTML and code and so on)
|
# ¿ Mar 10, 2014 04:41 |
|
Sulla-Marius 88 posted:Duck monster I've always considered you to be a sort of programmer's George R. R. Martin, and posts like this remind me why. The only reason I'm still working as a programmer, is because at 40 its too late to change. I only post to remind people their life is meaningless and their dreams futile. Upon accepting this, and the resultant 7 stages of grief, they will eventually come to accept it, and finally be at peace scratching out a living in the dilbertesque hellscape that is software development. In short;- Dehumanize yourself and face to bloodshed. duck monster fucked around with this message at 09:42 on Mar 17, 2014 |
# ¿ Mar 17, 2014 09:39 |
|
Tivac posted:https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b Hooray , more package managers! Just what JS was missing!
|
# ¿ Jul 18, 2017 22:33 |
|
Man, I *really* like Svelte, like, a lot. And as someone that generally, and perhaps irrationally, detests JS, thats high praise from me. But its hard to escape the conclusion that the people that write these frameworks live in enclosed boxes. Most of the instructions on the net keep refering to sveletekit, ok so far so good, its got a few neat addons like routing that I like. But sveltekit *really* wants you to write its backend in their weird backend framework, and yeah, I dont *do* backend JS. Our company has a significant investment in Python FastAPI and Django* (We do data science, Python is the way) and I just want to have this thing poo poo out a nugget of JS I can upload into cloudflare and *not* be backend. Apparently it can do it, as to how, I dont loving know. * And an absolutely moronic piece of software written in PHP that acts as a TCP server that I protested *hard* about buuuuut the boss seemed to think the new guy was smart therefore..... The less said about that the better.
|
# ¿ May 3, 2023 03:10 |
|
ynohtna posted:Is there a reason you can't use SvelteKit's static adapter? https://kit.svelte.dev/docs/adapter-static I havent been able to get that thing to make its URLs work properly.
|
# ¿ May 4, 2023 03:19 |
|
Typescript is unequivocably a Good Thing. The problem with TS really is that because it needs to be compatible with JS its all optional mechanism which leads to that weird limbo of "I want to use TS here, but it invokes the exploding chaos if I include this old library so I might just dumb down the linter to cope with it.". When *everything* is static explicit types like C or whatever, theres really no ambiguity and thus everything works. duck monster fucked around with this message at 03:26 on Aug 16, 2023 |
# ¿ Aug 16, 2023 02:54 |
|
Considering that 95% of what we're making here are fucken web pages, this is an entire industry built on overengineering the poo poo out of everything. I mean gently caress, we have compiler chains and not only that but they are usually more complicated than C compiler chains. I repeat, we have compiler chains, for an interpreted language for web pages that might just work just as well with a bit of footerJS to automate the forms. EVERYTHING is overkill in 2023 web development.
|
# ¿ Aug 16, 2023 03:29 |
|
hey mom its 420 posted:where i work we use python for the backend and it's the same poo poo, if not worse. at least js doesn't have xkcd comics about its horrendous package management What the hell are you guys doing thats making it worse? One of the big attractions of python is that its ecosystem is old (its significantly older than JS, or even Java, python is as old as balls) , well maintained and comprised of packages that include a lot of batteries. Even with some of the newer stuff, a Fastapi backend is fastapi, your ORM of choice, maybe something to make things fit in containers better and .... thats about it, 90% of the time. virtualenv (or whatever your package management stack of choice is, its all Pip in the end) can be a little crunchy at times, but at least it properly isolates your runtime.
|
# ¿ Sep 27, 2023 15:42 |
|
teen phone cutie posted:i could see how the default package management strategy in Python is terrible. My last company at least just spit all the dependencies into a requirements.txt file and that's annoying because you will obviously forget how the dependency tree works a week later because you have your direct dependencies and nested dependencies all in that one file with nothing telling you how they all link together. Pipenv + Pyenv (Think of it as Pipenv being a python equiv to npm/yarn , its a thing that essentially uses the pip/pypy repo but adds a bunch of useful reproducability stuff, scripts, specifying python versions, env variables etc. Pyenv works with pipenv and essentially is a python version of nvm) You basically create a 'Pipfile' file code:
yst Or just use conda I guess. Popular with the datascience people, and notably good at getting the more esoteric system deps in order. But not so common outside of academia and datascience duck monster fucked around with this message at 08:41 on Oct 3, 2023 |
# ¿ Oct 3, 2023 08:39 |
|
teen phone cutie posted:lmao i keep thinking "why the gently caress did i bookmark this python thread" Thats a *very* fine point, and probably best we shuffle that discussion over to the correct place.
|
# ¿ Oct 4, 2023 06:32 |
|
prom candy posted:I hosed around with Rails' version of HTMX over the weekend (Turbo + Stimulus) and it sucks if you're used to reactivity. Having to manually coordinate DOM updates instead of just changing your data and getting a new render pass is really hard to go back to for me. Can't you just drop in a component somewhere (I havent done Ruby in a long time, so I have no idea how turbo + stimulus works, I just remember that for a while rubys answer to SPA was some stupid library that just preloaded pages and broke things. Which is a shame, because other than its dreadful default ORM, rails is a lot of fun.)
|
# ¿ Oct 4, 2023 06:34 |
|
|
# ¿ May 2, 2024 22:59 |
|
Combat Pretzel posted:The gently caress I know. There's a whole lot of poo poo I could rant about. And did so in the past in various other threads in this subforum. I think the best recent one was one of the guys in the department I'm doing the planning for, asked me to set up a network drive, because our IT department couldn't manage (probably by them attempting some harebrained account-specific solution via GPOs, which was ridiculous, because said system was pretty much single user... which is the explanation I made up in my mind). This is a pretty universal experience. Theres a *lot* of whackness out there in the land of corporate IT.
|
# ¿ Oct 27, 2023 08:24 |