Better HN
topnewbestaskshowjobs
Log inSign up

gmhafiz

24 karma · joined Jun 27, 2019 (7y ago) · 14 submissions

A software engineer, a chess player, and a medical doctor. https://www.gmhafiz.com
Submissions

comment 6mo ago · link · parent

> Remember, Malaysia is an officially Islamic country, with Islamic laws.

Malaysia is a secular country with secular laws. Islam is its official religion, and has a Syariah court that only applies to Muslim with limited jurisdiction.

Big difference than what you are trying to paint. As they cannot "suppress speech and civil liberties" if the law reach is limited.

comment 2y ago · link · parent

How do they know what my behaviours are if I don't have Facebook?

comment 2y ago · link · parent

https://echo.labstack.com/ a Go web framework

comment 3y ago · link · parent

In Go's net/http library, each request is served in a new goroutine. So it uses all CPU resources by default.

I'm not sure why its number is quite low though.

comment 3y ago · link · parent

Like the person said, the real thing. Brave and Firefox browsers you mention still use Safari engine underneath.

comment 3y ago · link · parent

https://syncthing.net

comment 3y ago · link · parent

It is still in draft and I've watched the spec changed at least once.

comment 3y ago · link · parent

One potential downside is ULID does not have an RFC, unlike UUID V7

comment 3y ago · link · parent

Expanding on temporal information leak

1. Size: If a client receives a record with id=10004578, they can guess that 4578 orders have been made.

2. Rate of growth: Receiving two different orders means they can track the growth rate of record insertion.

And also

Iteration attack: If your API endpoints do not have authorization, an attacker can try to access with GET /api/users/1, GET /api/users/2, GET /api/users/3, etc. UUID makes this next to impossible.

comment 3y ago · link · parent

I had Samsung s9+ in 2018 and I did have monthly security upgrades up until 2022 when I had it. Their promise was 5 years of security upgrades.

I also had the latest Android version. iirc they promised 3 years of OS upgrades

comment 4y ago · link · parent

Sqlc quickly breaks down when you want to do dynamic select. This is where an orm, or query builder shines

comment 4y ago · link · parent

For perspective, that single server is - 1TB of DDR4 RAM - 3TB of NVME SSD storage - 192 physical 2.7GHz cores (384 with hyperthreading

comment 4y ago · link · parent

I had to resort to chmod 400 on the autostart file to prevent ms teams from writing to that file

comment 5y ago · link · parent

iirc dockertest does not need docker itself to be installed. Container start up time otoh is instant.