sozluk-cgi
html2image
sozluk-cgi | html2image | |
---|---|---|
3 | 1 | |
210 | 322 | |
- | - | |
10.0 | 6.7 | |
about 8 years ago | 5 months ago | |
Pascal | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sozluk-cgi
-
Ask HN: What's your "it's not stupid if it works" story?
Using CGI protocol on a Windows server. IIS (Windows' own web server) basically interfaces with executables by running them, feeding them HTTP headers, and server variables through environment variables, and gets the response HTTP headers and the body from their STDOUT. It's very inefficient, of course, since every request requires spawning a new copy of the executable, but it had worked fine in its first months :)
Here is a very simple example from the original sources: https://github.com/ssg/sozluk-cgi/blob/master/hede.pas
-
The beauty of CGI and simple design
I wrote Eksi Sozluk, the most popular Turkish social platform to date, back in 1999 using Delphi as CGI executables[1]. Delphi was the tool that I knew best, and CGI worked for me at the beginning. I almost immediately started having problems with EXE files constantly active, making updates impossible (as it was Windows based), which required restarting the server for any kind of update.
CGI executables also caused problems when I switched to an Alpha AXP RISC server which emulated x86, bringing the performance to a crawl. That made me switch to classic ASP, and about 10 years later, to ASP.NET MVC with routing, unit tests, abstractions, jQuery, all the shiny things at the time.
Web didn't stop there of course; there came SPA's, React, Vue and whatnot.
Now, seeing the yearning for CGI in 2023 feels funny. Have we come full circle? :)
___
[1] https://github.com/ssg/sozluk-cgi
html2image
-
Ask HN: What's your "it's not stupid if it works" story?
It uses the headless version of Chrome/Chromium or Edge behind the scenes.
It made me realize that even big projects have features that just don't work. Edge headless wouldn't let you take screenshots up until recently, and I still encountered issues with Firefox last time I tried to add support for it in the package. I also stumbled upon weird behaviors of Chrome CDP when trying to implement an alternative to using the headless mode, and these issues eventually fixed themselves after some Chrome updates.
[1] https://github.com/vgalin/html2image
What are some alternatives?
quickserv - Dangerously user-friendly web server for quick prototyping and hackathons
php - Prolog Home Page
Trusted-CGI - Lightweight runner for lambda functions/apps in CGI like mode
vehiclelogserver - Vehicle logging server for Second Life vehicles
preemptible-thread - How to preempt threads in user space
zfs - OpenZFS on Linux and FreeBSD
FuckIt.py - The Python error steamroller.
mojo - :sparkles: Mojolicious - Perl real-time web framework
RethinkRAW - RethinkRAW is an unpretentious, free RAW photo editor.
MarginaliaSearch - Internet search engine for text-oriented websites. Indexing the small, old and weird web.