News for hackers. Stuff that matters.
Re:Things I wish I knew before moving 50K lines of code to R... by marban on Friday September 01, 2023 @05:05AM (#37348404)
To cap it all off, I'll add some dynamism with cgi-bin magic.
Re:Things I wish I knew before moving 50K lines of code to R... by ljm on Friday September 01, 2023 @05:33AM (#37348590)
Why use kubernetes and the cloud when you can FTP or rsync your code onto a box?

Simpler times.

Re:Things I wish I knew before moving 50K lines of code to R... by spinningslate on Friday September 01, 2023 @08:28AM (#37349944)
2nd law of Thermodynamics: Entropy increases over time.

Quoting[0]:

"The entropy of a system can in fact be shown to be a measure of its disorder and of the unavailability of energy to do work."

I rather like that - where "work" is the time spent solving first order business problems, and "disorder" is a measure of the energy spent not directly solving the business problem. AKA dealing with accidental complexity.

[0] https://www.coursehero.com/study-guides/physics/15-6-entropy...

Re:Things I wish I knew before moving 50K lines of code to R... by danuker on Friday September 01, 2023 @08:30AM (#37349973)
I deploy my static blog via rsync. I also have Isso [0] on it. No need for a back-end web framework or anything.

[0] - https://isso-comments.de/

Re:Things I wish I knew before moving 50K lines of code to R... by Scarblac on Friday September 01, 2023 @08:38AM (#37350053)
I just ssh to the server and edit the code there, I never understood why people need to have two whole environments that they keep in sync.

(though seriously, in my dorm room in the 90s, my pentium 90 desktop at the end of my bed had a fixed IP address and was the server...)

Re:Things I wish I knew before moving 50K lines of code to R... by phist_mcgee on Friday September 01, 2023 @09:02AM (#37350281)
Now add 5 people doing that at the same time and report back on how scaleable that solution is.
Re:Things I wish I knew before moving 50K lines of code to R... by yumraj on Friday September 01, 2023 @11:25AM (#37352029)
You need Kubernetes for a product which has a 5 people team?
Re:Things I wish I knew before moving 50K lines of code to R... by baq on Friday September 01, 2023 @01:10PM (#37353552)
Resume/CV won't pad by itself
Re:Things I wish I knew before moving 50K lines of code to R... by ljm on Friday September 01, 2023 @12:49PM (#37353230)
That's how we did it at my first gig with PHP and Drupal. I'm not going to say it was great or even particularly good, but given our work was split across different modules, you could easily have multiple people either uploading changes over FTP or doing some quick hacks over SSH. After all, you only needed to copy over your changes and not re-deploy the entire project. The server was a little Dell box sat under the desk of the 'CTO' in his office.

There were some cowboy-level engineering practices for sure, to the point that I'm not sure you could call it 'software engineering', but there was definitely some beauty in the simplicity of that setup compared to what we typically have to do these days. At least after you set up the box and the access to it, anyway.

Re:Things I wish I knew before moving 50K lines of code to R... by Cthulhu_ on Friday September 01, 2023 @08:23AM (#37349864)
I've developed a simple programming language to make this a bit easier, I've been using it for my Personal Home Page.
Re:Things I wish I knew before moving 50K lines of code to R... by postmodest on Friday September 01, 2023 @09:57AM (#37350907)
You have lost the Perl of Wisdom possessed by the ancients....
Re:Things I wish I knew before moving 50K lines of code to R... by raverbashing on Friday September 01, 2023 @10:24AM (#37351224)
Well get ready for Advanced Server Pages then! /s
Re:Things I wish I knew before moving 50K lines of code to R... by dakna on Friday September 01, 2023 @10:45AM (#37351457)
I wonder if you could use it to call some existing C libraries. Maybe just add some wrapper functions to execute the compiled binaries, and return the result. As long as you keep the same order of arguments for the function call, this could be quite straightforward. /s