News for hackers. Stuff that matters.
Re:How many of you know that the team is working on somethin... by noizejoy on Monday June 15, 2020 @08:35PM (#23534706)
> but at least we can now tell investors we are a keen company with an AI play up our sleeve

Obviously I don't know the details of your company situation, but I've experienced myself over the years, that sometimes it can be less overall cost and trouble to give this kind of lip service, rather than fighting an overwhelming fashionable trend until that trend runs its natural course to extinction.

> Team motivation is in a weird space: everyone is relaxed because there is no pressure to succeed

If I was leading that team, I would try to find (or insert) nuggets of goodness (smaller/non-obvious objectives and tasks) in that project which allow the team members to get some personal longer term benefit out of it.

And ideally find (or insert) nuggets of goodness (smaller/non-obvious objectives and tasks) in that project, which have a good chance of becoming useful to the company later - beyond the scope of the official project.

And hopefully the team would become excited about doing something meaningful beyond the official project objective.

p.s. I'm speaking from experience in this kind of a situation.

Re:How many of you know that the team is working on somethin... by hieunc229 on Monday June 15, 2020 @08:52PM (#23534813)
Well, it sounds so weird but intriguing. Do you mind telling the rest of the story?
Re:How many of you know that the team is working on somethin... by noizejoy on Monday June 15, 2020 @10:08PM (#23535279)
The story would probably make little sense to most HN readers, since it's very old and what was very non-obvious back then, became very obvious 5 years later.

Around 1994/95 client/server was unassailable in board rooms (much like AI is now). And after initially speaking up against it, I ended up shutting up about my criticism of that architectural approach, since it would have just gotten me fired.

So I ended up sneaking some early Internet technologies into a big client/server project I managed. Doing that ended up benefiting those developers in future jobs, and the company, because they didn't have to re-write that part so quickly. :-)

Re:How many of you know that the team is working on somethin... by buu700 on Tuesday June 16, 2020 @01:23AM (#23536171)
This may be a stupid question, but what does "client/server" mean in this context?

I would interpret it to mean any networked or Internet-based application that has both client- and server-side logic, which obviously isn't anything special in 2020, but it sounds like you're referring to something else that would now be considered outdated?

Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @04:05AM (#23536918)
> This may be a stupid question, but what does "client/server" mean in this context?

Not a stupid question at all, since terminology has been shifting over the decades.

Back in the early 1990s, the original client/server generally meant all application code (logic and UI) on the client computer, and all the data on the server. So a very fat client.

Database stored procedures (i.e. some logic on the server) only arrived on the scene later during that time, because the original architecture of all code on the client caused performance nightmares. But don’t get me started on the trials and tribulations of early stored procedures. They often caused more project turmoil rather than smoothen things out. — Partly because they weren’t good languages yet, partly because of amplifying developer vs. dba conflicts.

Re:How many of you know that the team is working on somethin... by ptx on Tuesday June 16, 2020 @06:33AM (#23537566)
Without any server-side logic, I suppose user permissions must have been handled entirely by the database, with clients connecting as different database users?

Did row-level security already exist in some databases at that time? Otherwise this must have been quite limiting.

Re:How many of you know that the team is working on somethin... by ako on Tuesday June 16, 2020 @11:13AM (#23540092)
Row level security was usually handled through database views.
Re:How many of you know that the team is working on somethin... by gmfawcett on Tuesday June 16, 2020 @11:23AM (#23540214)
There were alternatives to stored procedures for centralization. I remember RPC and CORBA being hot topics around that time. The tiered architecture was a thing before the Web.
Re:How many of you know that the team is working on somethin... by naniwaduni on Tuesday June 16, 2020 @02:55AM (#23536596)
I might be totally off the mark here, but in context I assumed the contrast was with doing all work on a thick "client". A client-server architecture in principle lets you run thinner clients and offload the heavy work, but in practice the network would've been expensive.

A modern analogue might be something like premature distributed computing.

Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @04:14AM (#23536947)
If my memory serves me right, distributed computing was the advent of smaller computers (back then often called mini computers like DEC Vax or IBM AS/400, but those were more like smaller mainframes, still using dumb terminals as frontends.

But you’re right in saying that the original client/server had all of the UI and business logic on a very fat client - and the server only served the data over very low bandwith networks.

Re:How many of you know that the team is working on somethin... by Throwaway111117 on Tuesday June 16, 2020 @03:13AM (#23536667)
Maybe rather than:

A modern analogue might be something like premature distributed computing

A modern analogue might be n, where n is more familiar to the composer of this, or, the source of information determining the production of this text is most familiar with n, where n does not include the word premature

Re:How many of you know that the team is working on somethin... by ashtonkem on Tuesday June 16, 2020 @01:26AM (#23536180)
I think they mean a dedicated thick client using the OS’s UI framework, rather than a web browser.
Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @04:30AM (#23537012)
Not only the UI, but all of the business logic - so a very thick client indeed.
Re:How many of you know that the team is working on somethin... by willcipriano on Tuesday June 16, 2020 @05:33AM (#23537309)
I've always called these direct database applications. The implication that the client directly connects to the database without the benefit of a middle tier.
Re:How many of you know that the team is working on somethin... by C1sc0cat on Tuesday June 16, 2020 @03:51AM (#23536867)
Something like Oracle forms with a custom clinet application talking to a database server.
Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @04:19AM (#23536973)
Yeah - kind of, but Oracle forms originally didn’t even have a graphical client - that’s probably why Powerbuilder and Visual Basic dominated the early 90s. Also, Oracle was still fighting it out with Sybase in the mini computer dbms space.
Re:How many of you know that the team is working on somethin... by ako on Tuesday June 16, 2020 @11:59AM (#23540702)
Oracle forms 2.3 & 3 where graphical terminal apps, starting forms 4.0 it also included windows (and X) clients.
Re:How many of you know that the team is working on somethin... by sime2009 on Tuesday June 16, 2020 @06:42AM (#23537610)
Is this related to the "Network Computer" idea that Sun was pushing around that time in the 90s?

https://en.wikipedia.org/wiki/Network_Computer

Re:How many of you know that the team is working on somethin... by epberry on Monday June 15, 2020 @11:18PM (#23535635)
Doesn't this speak more to the board's astounding foresight than inane projects?
Re:How many of you know that the team is working on somethin... by lstamour on Monday June 15, 2020 @11:52PM (#23535805)
Somehow PC Mag seems like the best reference here: https://www.pcmag.com/encyclopedia/term/clientserver

It’s hard to see the hype up close sometimes. The closest analogy I can think of and it’s an older one might be how in the mid-2000s everyone needed to make a “Web 2.0 mash-up” or how for awhile everyone needed “social” (remember Ping?)... if you were stuck with a stack based on jQuery and global variables, good luck transitioning to React without Facebook’s scale. Sometimes all you can do is try to stay organized, see a project through and hope it can evolve to something greater after the fad wears off...

Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @12:56AM (#23536047)
The PC Mag article seems mostly pretty accurate - however, I’d argue that the web isn’t classic client/server, since the server sends the code to the client just in time. Classic client/server had a totally different code deployment mechanism. It was a full app installation every time - often via sneaker network, since few corporate networks had enough bandwidth to deploy new apps over their network. And installation software infrastructure was almost non-existent. Version control systems? Seldom. Netscape was one of the very first apps that was entirely network delivered at really large scale.

If I had to describe the web to a time traveller from the 1980s, I might say the modern web browser is something like a super smart and capable 3270 terminal, while the cloud is the mainframe.

Re:How many of you know that the team is working on somethin... by C1sc0cat on Tuesday June 16, 2020 @03:54AM (#23536879)
I remember just before my first web project. I worked on a Oracle client server project (SMDS management tool) and to install the client, you installed about 4 products via 14 floppy disks one after the other on the client PC.

Took two days for two of us to install it on five or six client PC's

Re:How many of you know that the team is working on somethin... by noizejoy on Tuesday June 16, 2020 @04:34AM (#23537034)
So you can probably imagine what it was like when we had several dozens of client pc’s across several customer companies across several cities across the continent.
Re:How many of you know that the team is working on somethin... by C1sc0cat on Tuesday June 16, 2020 @05:05AM (#23537193)
Oh yes in 94 that was my key take away, you could launch a new system as a website and save a lot on deployment cots on say 500 seats.

I recall discussing this with the engineering centre manager about how in 5 -10 years the web could replace fat clients on PC's

Re:How many of you know that the team is working on somethin... by JackFr on Tuesday June 16, 2020 @08:06AM (#23538134)
> Version control systems? Seldom.

SCCS ftw!

Re:How many of you know that the team is working on somethin... by kqr on Tuesday June 16, 2020 @12:33AM (#23535969)
> if you were stuck with a stack based on jQuery and global variables, good luck transitioning to React without Facebook’s scale.

My team is doing exactly this on my initiative and seeing some positive effects already, even though we're only like 2% of the way there. Would you mind expanding on what you think is futile about it? I wouldn't want to be the one advocating something that with hindsight will look obviously stupid.

Re:How many of you know that the team is working on somethin... by lstamour on Tuesday June 16, 2020 @05:53PM (#23544723)
Well, leaving aside the React vs Web Components debate, the only issue is that some folks add technologies like React but forget to remove the old ones as they go. They half-finish the job. Then they do that up to 5 times more...

My advice would be to try to refactor the jQuery app to reduce global state first. For example, use ASTs and other techniques to programmatically determine what global state is used where. Think of it not as “porting” to React, but more as ‘re-writing in React” — the sooner you can finish the rewrite, the better. Take it in smaller, thin, but global (across the whole app) steps, and work to break the app dependencies back down to separate components — this is especially true for CSS, which historically has been global by design for much of its life...

If shipping during a rewrite, make sure you have some very basic tests running. Try to implementation-agnostically look for and click text or otherwise use the web app in your tests, then run the tests before and after making widespread changes... Use screenshots from the tests to quickly visually scan for errors. Pay attention to errors in browser consoles also, if not using TypeScript to its fullest yet.

Re:How many of you know that the team is working on somethin... by gvjddbnvdrbv on Tuesday June 16, 2020 @12:46AM (#23536015)
There's loads written on re-writes.
Re:How many of you know that the team is working on somethin... by drunkpotato on Tuesday June 16, 2020 @07:21AM (#23537831)
I may be misreading them, but GP seems to be doing the re-write in the recommended way, small chunks at a time. I think the advice cautioning against wholesale replacement re-writes is sound, but piecemeal transition is much more achievable. I think it took about 5 years to transition Wayfair from asp to PHP one page/system/scheduled task at a time, but the result was a working system at all times that improved with the re-write. Not that I have any love for PHP, but (Classic) asp was even worse. (I can’t speak to asp.net, never used it.)
Re:How many of you know that the team is working on somethin... by lukevp on Tuesday June 16, 2020 @08:54AM (#23538540)
Asp.net Core is fantastic. ASp.net is ok but not as good.

Asp.net Core is cross platform, has a self hosted https server called Kestrel that is insanely fast, has a really sensible composition of middleware, built in DI, and a strong community. Hangfire is a great job runner, signalr is available with real-time push over web sockets, identity server 4 can handle all your Authn/Authz and Entity Framework Core + Linq is very powerful and a lot faster than the full framework version.

Re:How many of you know that the team is working on somethin... by drunkpotato on Tuesday June 16, 2020 @10:40AM (#23539635)
Cool, very good info thank you! I’ve heard great things about .net core but never had the pleasure of using it yet. I would love to play with F#!
Re:How many of you know that the team is working on somethin... by xingped on Monday June 15, 2020 @11:48PM (#23535781)
I think he's saying the "foresight parts" were his initiatives, not the board's, and the board's part in it all had to be scrapped sooner rather than later while his initiatives did not.