News for hackers. Stuff that matters.
Re:Curating my corner of the Internet with a freehand web ed... by musicale on Saturday June 22, 2024 @12:50AM (#40756354)
> Too much knowledge of code is required to create a hand-made website. Building one shouldn't be any more difficult than making a PowerPoint [presentation]

I like this. I also wish designMode were more of a discoverable, easy-to-use feature in popular browsers.

Hosting (and DNS etc.) are still a pain though, and usually cost money.

> an abandonware WYSIWYG web editor called Hotglue

> Hotglue is a fascinating open-source "anything goes, WYSIWYG" website making tool

But it's open source (GPL), so anyone could revive (or un-abandon) it!

Re:Curating my corner of the Internet with a freehand web ed... by Dalewyn on Saturday June 22, 2024 @10:54AM (#40759525)
>Building one shouldn't be any more difficult than making a PowerPoint

Once upon a time there was Microsoft Frontpage and Frontpage Express which brought becoming a webmaster to the masses.

For all the rightful criticism they got, they were also what started me down the path of learning how websites are made.

Re:Curating my corner of the Internet with a freehand web ed... by rchaud on Saturday June 22, 2024 @02:02PM (#40760866)
Even in 2024, the <table> element remains an easier, HTML-native way to build multi-column layouts than flexbox or grid. Is it responsive? No. Does it work acceptably in the absence of the above? Yes!
Re:Curating my corner of the Internet with a freehand web ed... by lukan on Sunday June 23, 2024 @04:26AM (#40765689)
I think that might be subjective, because you have known and used table first?

I really like flexbox and find it way easier to use to get the desired layout.

Or do you meany the problem are outdated browsers? Well, those browser would be so old by now, one really should not use them for anything.

Re:Curating my corner of the Internet with a freehand web ed... by rchaud on Sunday June 23, 2024 @11:35AM (#40768199)
I mean that the problem with those is that they require lengthy tutorials and fairly extensive knowledge of CSS, just to get something pretty basic up and running. I've never seen an "ultimate guide to HTML tables", yet there are plenty such articles for flex and grid.
Re:Curating my corner of the Internet with a freehand web ed... by lukan on Sunday June 23, 2024 @02:42PM (#40769572)
Well, you can do much more with them. But getting a basic example set up and explained is less then a few paragraphs.

The long blababla articles might exist because of SEO. And back then that was not a thing, so a modern guide to html tables would be likely "ultimate" as well.

Re:Curating my corner of the Internet with a freehand web ed... by Terr_ on Saturday June 22, 2024 @06:13PM (#40762673)
Later but also noteworthy: [Macromedia|Adobe] Dreamweaver.

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

Re:Curating my corner of the Internet with a freehand web ed... by lukan on Saturday June 22, 2024 @11:22AM (#40759703)
"But it's open source (GPL), so anyone could revive (or un-abandon) it!"

Not everyone has the skill, or time and energy, to pick up a dead project. Most projects are dead, because the codebase became no more fun to work with. So it likely won't be well documented, nor clean code and original creators might be not around for questions. Really challenging start conditions, that is why most abandoned projects stay abandoned and people motivated rather start a fresh one.

(no idea about the state of hotglue, but it would surprise me, if it would be different here)

Re:Curating my corner of the Internet with a freehand web ed... by smaudet on Saturday June 22, 2024 @12:46PM (#40760329)
> Not everyone has the skill, or time and energy, to pick up a dead project.

To expound on that, usually when I encounter a "dead" project, the biggest hurdle(s) are the build assumptions that weren't addressed - large complex build systems that have many presumptions (usually dynamic run-times with macro libraries, that require specific versions of things to exist on your system, that themselves are also quite difficult to build/require specific starting conditions)...

A good example, I see (quite often actually) build systems with nested build systems that are then bootstrapping other builds - quite a technical marvel but unsurprising when a tweak to the "underlying build tools" causes strange errors and requires massive build-system surgeries...

The lesson? Be as verbose as possible about exactly everything you know you depend on, in as clear (human readable) format as possible, and always strive to pick the simplest build tool possible - if you are compiling a language, use that compiler, not a system that has support for systems that can compile your language.

Technical "shortcuts" are the bane of longevity of a software artifact.

Re:Curating my corner of the Internet with a freehand web ed... by robinsonb5 on Saturday June 22, 2024 @02:04PM (#40760879)
Very much this. Please stop building Jenga towers.

It's always alarming to encounter build instructions that start with "you need this specific version of this particular compiler for this particular obscure language..."

Bonus points if your build process fetches modules from online endpoints that may or may not be there in five years' time.

[And yes, I'm as guilty as anyone of creating over-engineered but ultimately fragile scripts to automate a build. My favourite is a bash script which parses a text file for filenames, matches against the file extension and processes them accordingly. If you edit the text file with a Windows-style editor so it acquires CR/LF line endings, the bash script can no longer parse it. Fun times.]

Re:Curating my corner of the Internet with a freehand web ed... by shrimp_emoji on Saturday June 22, 2024 @02:09PM (#40760926)
Are you saying dependencies are bad?

Are you saying all new languages are bad because they encourage you to pull in half the program via some language package manager, injecting problems from simple networking availability to supply chain attacks into what was otherwise a simple program?

Are you saying we should only code everything in C and C++ and Bash with as few dependencies as possible?

https://youtu.be/fDq_8y_drE8&t=85

Re:Curating my corner of the Internet with a freehand web ed... by lukan on Saturday June 22, 2024 @02:34PM (#40761107)
I think he or she is just saying, try not to build overly complicated things. To which I very much agree.
Re:Curating my corner of the Internet with a freehand web ed... by robinsonb5 on Sunday June 30, 2024 @03:31AM (#40835669)
Overly complicated things, but also things that are so fragile that the slightest disturbance (such as a minor version change) in the foundations will make them collapse.
Re:Curating my corner of the Internet with a freehand web ed... by musicale on Monday June 24, 2024 @12:08AM (#40772594)
> Are you saying we should only code everything in C and C++ and Bash with as few dependencies as possible?

Every so often I encounter a package with very few (or no external) dependencies that just works, and it's wonderful.

There is something to be said for going with a mature, stable, non-bleeding-edge platform and minimizing dependencies.

On the other hand, classic C/C++ code tends to facilitate memory errors, but memory-safe languages and compilers all seem to come with various down sides.

Re:Curating my corner of the Internet with a freehand web ed... by robinsonb5 on Sunday June 30, 2024 @03:21AM (#40835642)
Sorry for the late reply: what I'm saying is that build-process fragility is bad. Ill-considered or slapdash dependencies can be part of that, as can runaway complexity. So can the choice of language, but so can the hackish bash-script example I confessed to from my own project.
Re:Curating my corner of the Internet with a freehand web ed... by rchaud on Saturday June 22, 2024 @02:13PM (#40760949)
No worries about that with Hotglue (PHP), the deployment is no more complicated than dropping the unzipped project folder onto a webserver.

I really wish I knew more PHP to fix some things, as Hotglue as it is already ticks a lot of boxes for me (non-SaaS, self-hostable). I tried to find a way to make public pages password-protected, but it didn't work when I used the Apache server method (conflicts with the authentication method used for editing the pages). And I don't know enough PHP to do it on the application side.

Re:Curating my corner of the Internet with a freehand web ed... by lukan on Saturday June 22, 2024 @10:49PM (#40764340)
I think ChatGPT and alike could probably help here. Maybe they even know the project and had its sources in the training data and your request sounds quite standard.

(but personally, I am not touching PHP)