|
Powerful Two-Hander posted:Also in before Shaggar says "use Blazor" he would never
|
# ? Mar 14, 2020 02:47 |
|
|
# ? Oct 16, 2024 09:27 |
|
just use sql server for everything. it can do xml, json (although the xml stuff is way better), full text search, messaging, columnstore, and graph db stuff!
|
# ? Mar 14, 2020 02:48 |
|
redleader posted:just use sql server for everything. it can do xml, json (although the xml stuff is way better), full text search, messaging, columnstore, and graph db stuff! A new generation, possibly the fourth, of programming languages, if you will.
|
# ? Mar 14, 2020 02:50 |
|
you just write what you mean, and the db takes care of the rest!
|
# ? Mar 14, 2020 02:58 |
|
redleader posted:you just write what you mean, and the db takes care of the rest! too much work is there one where i just wave aristocratically at it and it does everything?
|
# ? Mar 14, 2020 03:00 |
|
redleader posted:he would never blazor is good
|
# ? Mar 14, 2020 03:06 |
|
Shaggar posted:blazor is good no way, not possible. it's more insane webshit are you using it in production? the insane server-rendered-websocket-delivered mode, or the equally insane ship-the-entire-runtime-in-wasm mode?
|
# ? Mar 14, 2020 03:21 |
|
redleader posted:no way, not possible. it's more insane webshit
|
# ? Mar 14, 2020 03:32 |
|
pointsofdata posted:did they ever work between implementations? I tried twice and it was broken both times almost always, but troubleshooting a problem sucked rear end (which is why i was not more effusive in my praise)
|
# ? Mar 14, 2020 04:07 |
|
redleader posted:no way, not possible. it's more insane webshit I have something I wrote in server-side blazor in sort of production in that its a tiny app just used for configuration of something, but it works really well. the biggest problem with web "development" is javascript. html is basically just a lovely xml, but its close enough. blazor lets you modify the dom without using any javascript and that's a huge win. idk how production ready it would be for a real app tho.
|
# ? Mar 14, 2020 04:07 |
|
Antigravitas posted:I, a sysadmin, only build things that are plain html and minimal css. The Web is bearable once you treat it as a place for documents with hyperlinks to other documents. Sometimes I do POST via <form> tags, but I usually do not. thank you for doing web properly and not trying to pretend web pages are something they’re not also thank you for recognizing JavaScript’s deprecation
|
# ? Mar 14, 2020 04:36 |
|
jesus WEP posted:is nosql largely a webdev idea because it has that exact stank too what does your heart tell you especially given “nosql” is basically just “relational databases, but shittier, with JSON”
|
# ? Mar 14, 2020 04:42 |
|
Notorious b.s.d. posted:nosql was always a dumb and lovely term because it covers every god drat thing imaginable also any sufficiently robust “NoSQL” system is isomorphic to the database relational model someone did the proof of this like 10+ years ago yet it didn’t slow down the “NoSQL” momentum at all
|
# ? Mar 14, 2020 04:45 |
|
Krankenstyle posted:yeah tbh this is what i want. just code generation for whatever language based on a schema i pull out of my rear end why generate code when you can generate rules dynamically that have sensible default behaviors and plenty of well documented override points WebObjects & the Enterprise Objects Framework was doing this in the late 1990s for relational databases, dynamically generating both web applications and web services so you’d make an EOModel for your RDBMS, then you could just use that in a DirectToWeb application and have a basic CRUD application up and running in seconds, without generating anything like Rails’ scaffolding — oh, and it could also make CRUD endpoints for SOAP for that as well the EOModel has string attributes corresponding to some TEXT columns used for phone numbers? create a rule that says something like (attribute.type == “String”) AND (attribute.name LIKE “*PhoneNumber”) => formatter = PhoneNumberFormatter and now your PhoneNumberFormatter class is used to format the string for presentation—and to turn something entered for one of those attributes back into the stored string obviously you need a large set of baseline rules, but WebObjects provided that for all the common CRUD cases, and you could extend the supported actions arbitrarily if you wanted to WebObjects even included the ability to automatically generate Swing CRUD applications if you still needed something to run on desktops, and these shared a common rule set but could of course be customized independently from your web app and your web services I liked this enough that I reimplemented the rule engine for Cocoa very early on and it saw a bunch of use in random apps, including some pretty high-profile ones and the people who created it originally basically went to the top, running things like the iTunes Store eschaton fucked around with this message at 05:01 on Mar 14, 2020 |
# ? Mar 14, 2020 04:59 |
|
eschaton posted:also any sufficiently robust “NoSQL” system is isomorphic to the database relational model sufficiently robust, huh. so how does stonebraker (I’m just assuming it’s him you’re talking about because the guy loves rdbms and also loves bitching about NoSQL) manage to define robust in a way that implies rdbms without appearing to imply rdbms some workloads just don’t fit well into a pile of btrees, so yeah other DBs will see use. also idiocy is a factor in NoSQL usage, but idiocy is a constant. 20 years ago the idiots were designing schemas with one 500-column table, or alternatively 500 one-column tables. now they hit the size limit on mongodb docs instead
|
# ? Mar 14, 2020 08:12 |
|
I feel like sufficiently robust nosql store is like a sufficiently smart compiler
|
# ? Mar 14, 2020 08:39 |
|
everyone's gonna have to state their definition of "robust"
|
# ? Mar 14, 2020 08:43 |
|
redleader posted:everyone's gonna have to state their definition of "robust" girthy
|
# ? Mar 14, 2020 08:51 |
|
redleader posted:everyone's gonna have to state their definition of "robust" read only, broken
|
# ? Mar 14, 2020 09:23 |
|
I am gonna guess that the guy "who proved it 10+ years ago, but I won't link you to that" ... His definition includes joins Probably acid updates
|
# ? Mar 14, 2020 09:45 |
|
joints and acid are both good coping mechanisms for anyone forced to endure webdev
|
# ? Mar 14, 2020 09:51 |
|
abigserve posted:Swagger works fine as a documentation tool and it's better than the contemporary solution which is "nothing, literally, not a single thing" Hey there's always RAML.
|
# ? Mar 14, 2020 10:03 |
|
Antigravitas posted:I, a sysadmin, only build things that are plain html and minimal css. The Web is bearable once you treat it as a place for documents with hyperlinks to other documents. Sometimes I do POST via <form> tags, but I usually do not. turns out, after 30 years of optimizations, web servers are pretty good at serving static files
|
# ? Mar 14, 2020 11:00 |
|
Soricidus posted:joints and acid are both good coping mechanisms for anyone forced to endure programming
|
# ? Mar 14, 2020 14:22 |
|
Wheany posted:turns out, after 30 years of optimizations, web servers are pretty good at serving static files
|
# ? Mar 14, 2020 15:26 |
|
I'm just tired of all these react apps
|
# ? Mar 14, 2020 15:27 |
|
Finster Dexter posted:I'm just tired of all these react apps
|
# ? Mar 14, 2020 15:29 |
|
i kinda wanna watch that marilyn manson one
|
# ? Mar 14, 2020 15:31 |
|
also demonstrating recursion there too
|
# ? Mar 14, 2020 15:32 |
|
gonadic io posted:also demonstrating recursion there too i'll make sure to post my react vid to youtube when i watch it
|
# ? Mar 14, 2020 15:36 |
|
i wonder if you could use this trick to post a video of you reacting to itself
|
# ? Mar 14, 2020 15:53 |
|
gonadic io posted:you and me both
|
# ? Mar 14, 2020 15:56 |
|
prisoner of waffles posted:everything in this post is correct in a good VCS you'd be able to view and search the history however you like, instead of relying on committers to commit the "right way" so that the history-searching method your team prefers works.
|
# ? Mar 14, 2020 16:56 |
|
I never squash my commits, ya'll are going to have to read my exact thought process as a sequence of 5 separate commits with a final one of "fixed typos in previous" for eternity
|
# ? Mar 14, 2020 17:15 |
|
Wheany posted:turns out, after 30 years of optimizations, web servers are pretty good at serving static files also: web browsers have become pretty good at rendering basic html and css
|
# ? Mar 14, 2020 17:20 |
|
cool av posted:in a good VCS you'd be able to view and search the history however you like, instead of relying on committers to commit the "right way" so that the history-searching method your team prefers works. if you’re using git this means using a layer on top of it. I like phab/arcanist a lot. the way we have it set up, each PR gets automatically rebased and squashed, arc enforces linking the PR to a JIRA ticket, and the commit also links to the diff review. it makes code archaeology so much easier
|
# ? Mar 14, 2020 17:40 |
|
Wheany posted:also: web browsers have become pretty good at rendering basic html and css it really did take a while
|
# ? Mar 14, 2020 21:23 |
|
Wheany posted:turns out, after 30 years of optimizations, web servers are pretty good at serving static files Most of my web crap is actually Flask or Django depending on use case. I just decided that people looking up their print quota or space usage across the cluster aren't interested in much else. Even dynamic generation is really fast. The big time waste comes from large javascript garbage and round trips and api calls.
|
# ? Mar 14, 2020 22:31 |
|
ctps: I’m writing multithreaded code with non-trivial synchronization again. I’m sure I’m going to get it correct and deadlock-free this time! narrator voice: they didn’t (don’t worry this is idiot hobby code not anything that matters)
|
# ? Mar 14, 2020 23:20 |
|
|
# ? Oct 16, 2024 09:27 |
|
i came across clang's thread safety analysis attributes the other day and i highly recommend their use whenever appropriate. they're pretty dumb (in the "easy to understand but don't cover all use cases" sense) and libc++ support is minimal, but they're still totally worthwhile
|
# ? Mar 14, 2020 23:33 |