HNHacker News
TopNewBestAskShowJobs

spapas82

2,104 karma · joined March 2, 2016

blog: https://spapas.github.io/

github: https://github.com/spapas

meet.hn/city/gr-Athens

submissionscomments
spapas82··on Ask HN: Share your personal website
spapas.github.io
spapas82··on F-35 Fighter Jet's C++ Coding Standards [pdf]
This is insteresting to me especially since this is a 2005 document. Is there a reason why C++ was chosen instead of Ada which to my knowledge was the gold standard for such software ?
spapas82··on Show HN: Tacopy – Tail Call Optimization for Python
For tco to be really useful you need to think in a non procedural way. Imagine that you don't have loops in your language so you need recursion to do stuff multiple times.

Also even in procedural languages there are some problems that are easier to understand and model if you use recursion, for example tree or graph like structures.

spapas82··on Django 6
I think they should. Not sure if they will.

However Adam Johnson mentioned django-tasks as the reference implementation that may be included in Django here https://adamj.eu/tech/2025/12/03/django-whats-new-6.0/.

spapas82··on Django 6
Using Django for almost 15 years, almost exclusively, for both business and personal projects. Have tried a lot of other frameworks, nothing clicks so good with me.

My only (small) complain with this release would be that they included the task framework but didn't include a task backend and worker. I'd prefer to wait a bit and include everything in the next version.

spapas82··on MinIO is now in maintenance-mode
Yes this is concerning for me too. Hopefully if they don't fix/merge security issues somebody will fork and maintain it. It shouldn't be too much work. I'd even do it myself if I was experienced in golang.
spapas82··on MinIO is now in maintenance-mode
Minio allows you to have an s3 like interface when you have your own servers and storage.
spapas82··on MinIO is now in maintenance-mode
This is a way too old version. You should use a newer one instead by downloading the source and built the binaries yourself.

Here's a simple script that does it automagically (you'll need golang installed):

> build-minio-ver.sh

  #!/bin/bash
  set -e

  VERSION=$(git ls-remote --tags https://github.com/minio/minio.git | \
  grep -Eo 'RELEASE\.[0-9T-]+Z' | sort | tail -n1)

  echo "Building MinIO $VERSION ..."

  rm -rf /tmp/minio-build
  git clone --depth 1 https://github.com/minio/minio.git /tmp/minio-build

  cd /tmp/minio-build
  git fetch --tags
  git checkout "$VERSION"

  echo "Building minio..."

  CGO_ENABLED=0 go build -trimpath \
  -ldflags "-s -w \
  -X github.com/minio/minio/cmd.Version=$VERSION \
  -X github.com/minio/minio/cmd.ReleaseTag=$VERSION \
  -X github.com/minio/minio/cmd.CommitID=$(git rev-parse HEAD)" \
  -o "$OLDPWD/minio"

  echo " Binary created at: $(realpath "$OLDPWD/minio")"

  "$OLDPWD/minio" --version
spapas82··on MinIO is now in maintenance-mode
Well I didn't mind when they removed it and certainly I didn't consider their paid version which is way too expensive for most use cases.

The UI was useful when first configuring the buckets and permissions; if you've got it working (and don't need to change anything) you're good to go. Also, everything can be configured without the UI (not so easily of course).

spapas82··on MinIO is now in maintenance-mode
Minio is more or less feature complete for most use cases. Actually the last big update of minio removed features (the UI). I am using minio for 5 years and haven't messed with it or used any new thingie for the last 5 years (i.e since I installed it); I only update to new versions.

So if the minio maintainers (or anybody that forks the project and wants to work it) can fix any security issues that may occur I don't see any problems with using it.

spapas82··on GitHub: Git operation failures
Having a self hosted gitea server is a godsend in times like this!
spapas82··on Cloudflare Global Network experiencing issues
Please read my comment again including the update:

For 15 minute cloudflare wasn't working and the status page did not mentioned anything. Yes, right now the status page mentions the serious network problem but for some time our pages were not working and we didn't know what was happening.

So for ~ 15 minutes the status page lied. The whole point of a status page is to not lie, i.e to be updated automatically when there are problem and not by a person that needs to get clearance on what and how to write.

spapas82··on Cloudflare Global Network experiencing issues
Cloudflare seems to have degrated performance. Half the requests for my site throw cloudflare 500x errors, the other half work fine.

However the https://www.cloudflarestatus.com/ does not really mention anything relevant. What's the point of having a status page if it lies ?

Update Ah I just checked the status and now I get a big red warning (however the problem existed for like 15 minutes before 11:48 UTC):

> Investigating - Cloudflare is aware of, and investigating an issue which potentially impacts multiple customers. Further detail will be provided as more information becomes available. Nov 18, 2025 - 11:48 UTC

spapas82··on Async Django: a solution in search of a problem?
This is a good article and also reflects my opinons on the matter. All this effort should have gone else where (for example to improve the async job queues framework already introduced in Django 6)
spapas82··on Django: One ORM to rule all databases
SQL Server is actually supported in Django with this backend by microsoft https://github.com/microsoft/mssql-django
spapas82··on Show HN: Family Chess: Play across firewalls and Internet cultures
This is very good. One recommendation would be to include a docker image so people can run it easily!
spapas82··on A platform-jumping prince – History of Prince of Persia's 1990s Ports
I don't remember having such a CGA simulator. I suppose it would be a TSR program that I needed to run before prince, but definitely I wasn't doing that.

From some research it seems that hercules was actually supported:

https://www.dosbox-staging.org/getting-started/enhancing-pri...

and from

https://dosdays.co.uk/topics/Games/game_prince.php

> Intel 8088/8086 CPU, 512 KB of RAM (640 KB for MCGA/VGA version) Graphics support for Hercules, CGA, Tandy/PCjr, EGA and MCGA/VGA (320 x 200 max. resolution in 256 colours)

Notice that PoP was one of the few games I was able to play with that hercules monitor :|

spapas82··on A platform-jumping prince – History of Prince of Persia's 1990s Ports
I remember that I was playing the DOS version of PoP on a computer with Hercules Graphics Card (https://en.wikipedia.org/wiki/Hercules_Graphics_Card) so I suppose the DOS version also supported Hercules (beyond CGA/EGA/VGA).

The music, even though was playing from the PC beep speaker haunts me to this day https://www.youtube.com/watch?v=HcI8lQvX8Ng

Finally, after all these years I still remember running it with "prince megahit" to enable cheat mode so I'd be able to pass the levels using ctrl+l...

spapas82··on Top Programming Languages 2025
What's really interesting is the place of Elixir (below Cobol and ABAP) and more of less the same as Ada. This is very controversial when comparing it with other indexes where, for example Elixir is the most beloved programming language or the language that most people wanna use. Also compare it with the number of Elixir posts on the front page of hn.

Any idea how could it be explained?

spapas82··on GNU Midnight Commander
In a restricted environment like a console only system these two pane file managers are very useful. I was a heavy user of norton commander (nc) back in my DOS days. Also these are useful on mobile.

However I rarely use them on a graphical environment like windows where I can open arbitrary explorer windows and arrange them as I see like. I guess it depends on what people have experience on...

spapas82··on Scammed out of $130K via fake Google call, spoofed Google email and auth sync
My two cents: 1. When somebody communicates with you and tells you it's urgent it's usually scam. They are trying to make you do stuff because of the urgency and so scam communication will always be urgent. Here in Greece one of the most common scams is to call older people and tell them that "your son has had a car accident and we need 5000 euros right now to operate on him, bring the money in a bag"

2. (More general) When a person initiates a communication with you it is for his benefit, not yours. If it was for your benefit then you'd initiated the communication to benefit from it. This is not only about scam but also about selling stuff or answering to polls or whatever. Be always sceptical when somebody you don't know contacts you.

spapas82··on Robert Redford has died
I even got the protagonists watch (seiko Pepsi)
spapas82··on Show HN: I made a generative online drum machine with ClojureScript
I had also build a similar (non polished) app using js: https://boombox-agw.pages.dev/

It also includes a bunch of greek rhythms; try tsifteteli!

spapas82··on The Helix Text Editor (2024)
+1 for evil helix, however the default keys are not 100% compatible with vim needing some more tweaking with the settings.

For example C is not change line as expected but multi line edit mode (something not very useful with vim keybind) ...

But even with these quirks it's close enough to be usable and enjoy all the goodies of helix.

spapas82··on How many HTTP requests/second can a single machine handle? (2024)
> External volume for the database - it does not write to the local file system (we use DigitalOcean Block Storage)

Is this common? Why not use the local filesystem? Actually, I thought that using anything else beyond the local filesystem for the database is a no-no. Am I missing something?

spapas82··on Leaving Gmail for Mailbox.org
Unfortunately this is common in many smtp servers and is configuration dependent: After you authenticate as usera@example.com you can send emails as userb@example.com.
spapas82··on Leaving Gmail for Mailbox.org
The whole point of PGP is to actually communicate (out of band) with the party you want to sent mail to and receive his public key.

It's no big deal if you really need to send a private message.

spapas82··on Zed for Windows: What's Taking So Long?
For people that use scoop and want to try Zed there's a precompiled binary they can install using scoop install zed.

I tried it and the experience (mainly visually, fonts colours etc) wasn't very good so I can understand why the Zed developers are reluctant to formally release windows binaries.

spapas82··on Left to Right Programming
The proper way to parse or construct nested list comprehensions as explained in pep 202 is to think like you're using normal for:

for a in b:

  for c in a:

    use(a,b,c)

 
This would be

[use(a,b,c) for a in b for c in a]

Everything stays the same except the "use" part that goes in the front (the rule also includes the filters - if).

spapas82··on How and Why to Ditch GitHub
For a self hosting solution I'd recommend gitea: it's a single go binary that needs almost no installation (only a config file), it's very fast, updates work great (replace previous binary and restart), supports ldap and has all the features of GitHub your love and even various features that free GitHub does provide (ie branch protection for private repos).
← PreviousPage 2 of 23Next →