Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
redleader
Aug 18, 2005

Engage according to operational parameters

Powerful Two-Hander posted:

Also in before Shaggar says "use Blazor"

he would never

Adbot
ADBOT LOVES YOU

redleader
Aug 18, 2005

Engage according to operational parameters
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!

Sapozhnik
Jan 2, 2005

Nap Ghost

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.

redleader
Aug 18, 2005

Engage according to operational parameters
you just write what you mean, and the db takes care of the rest!

Carthag Tuek
Oct 15, 2005

Tider skal komme,
tider skal henrulle,
slægt skal følge slægters gang



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?

Shaggar
Apr 26, 2006

redleader posted:

he would never

blazor is good

redleader
Aug 18, 2005

Engage according to operational parameters

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?

mystes
May 31, 2006

redleader posted:

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?
I think what Shaggar means is that it would be good if it was actually possible to use it in production.

Notorious b.s.d.
Jan 25, 2003

by Reene

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)

Shaggar
Apr 26, 2006

redleader posted:

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?

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.

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

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

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

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”

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

Notorious b.s.d. posted:

nosql was always a dumb and lovely term because it covers every god drat thing imaginable

some of those things are wretched

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

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

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

like soap had in the 90s and still has in maine

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

Nomnom Cookie
Aug 30, 2009



eschaton posted:

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

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

dick traceroute
Feb 24, 2010

Open the pod bay doors, Hal.
Grimey Drawer
I feel like sufficiently robust nosql store is like a sufficiently smart compiler

redleader
Aug 18, 2005

Engage according to operational parameters
everyone's gonna have to state their definition of "robust"

Jabor
Jul 16, 2010

#1 Loser at SpaceChem

redleader posted:

everyone's gonna have to state their definition of "robust"

girthy

Soricidus
Oct 21, 2010
freedom-hating statist shill

redleader posted:

everyone's gonna have to state their definition of "robust"

read only, broken

dick traceroute
Feb 24, 2010

Open the pod bay doors, Hal.
Grimey Drawer
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

Soricidus
Oct 21, 2010
freedom-hating statist shill
joints and acid are both good coping mechanisms for anyone forced to endure webdev

Aramoro
Jun 1, 2012




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.

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

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.

The stuff I build loads within milliseconds, which confuses some people :iiam:

I'm dead serious, I've had tickets because some people are so used to seconds-long page loads that they didn't believe they got the most recent report after refreshing. So web devs are creating problems for me even though I'm not using any of their poo poo code. gently caress me.

turns out, after 30 years of optimizations, web servers are pretty good at serving static files

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS

Soricidus posted:

joints and acid are both good coping mechanisms for anyone forced to endure programming

prisoner of waffles
May 8, 2007

Ah! well a-day! what evil looks
Had I from old and young!
Instead of the cross, the fishmech
About my neck was hung.

Wheany posted:

turns out, after 30 years of optimizations, web servers are pretty good at serving static files

:emptyquote:

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.
I'm just tired of all these react apps

gonadic io
Feb 16, 2011

>>=

Finster Dexter posted:

I'm just tired of all these react apps
you and me both

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice
i kinda wanna watch that marilyn manson one

gonadic io
Feb 16, 2011

>>=
also demonstrating recursion there too

Cold on a Cob
Feb 6, 2006

i've seen so much, i'm going blind
and i'm brain dead virtually

College Slice

gonadic io posted:

also demonstrating recursion there too

i'll make sure to post my react vid to youtube when i watch it

gonadic io
Feb 16, 2011

>>=
i wonder if you could use this trick to post a video of you reacting to itself

mystes
May 31, 2006

gonadic io posted:

you and me both

"React reacts to Angular reacting to React"

cool av
Mar 2, 2013

prisoner of waffles posted:

everything in this post is correct

none of it speaks to whether/when you should, e.g., partially squash history, make a merge commit vs a fast-forward, etc.

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.

Powerful Two-Hander
Mar 10, 2004

Mods please change my name to "Tooter Skeleton" TIA.


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

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

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

Nomnom Cookie
Aug 30, 2009



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

prisoner of waffles
May 8, 2007

Ah! well a-day! what evil looks
Had I from old and young!
Instead of the cross, the fishmech
About my neck was hung.

Wheany posted:

also: web browsers have become pretty good at rendering basic html and css

it really did take a while

Antigravitas
Dec 8, 2019

Die Rettung fuer die Landwirte:

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.

Soricidus
Oct 21, 2010
freedom-hating statist shill
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)

Adbot
ADBOT LOVES YOU

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.
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

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply