HackerTrans
トップ新着トレンドコメント過去質問紹介求人

gmokki

no profile record

コメント

gmokki
·2 か月前·議論
Have you tried terminating the EC2 instances abruptly to test the resilience of your solution?

aws ec2 stop-instances \ --instance-ids i-12345678 \ --skip-os-shutdown
gmokki
·3 か月前·議論
Not in EU anymore
gmokki
·3 か月前·議論
The negotiatons can be considered a big success because Israeli leaders did not order the murder of the negotiators this time. This will open doors for more realistic negotiations in the future.
gmokki
·3 か月前·議論
Java can work with transparent hugepages (in addition to preallocated hugepages), but you just use +AlwaysPreTouch to map them in during the startup so that at runtime there won't be any delays or jitter. Redis should add a similar option
gmokki
·3 か月前·議論
World economy will be better off with the 1-2% fee ($2M per tanker) that Iran asks if USofA leaves middle east, compared to the Trump 100% price hike on oil.
gmokki
·3 か月前·議論
What options are there?

1. Manufacturing defects in satellites. Either accidental or sabotage.

2. Someone using them for target practice. With an energy beam or projectiles?

Did both of the satellites happen to be over the same region of earth?
gmokki
·4 か月前·議論
I would recommend using PTP on all clouds. The accuracy is more than 10x to NTP. It consumes less CPU. It does not use network traffic and thus can not be attacked, even if UDP is open to internet or if network stack is under DoS.

All clouds except AWS is easy: just `modprobe ptp_kvm` and point chrony at /dev/ptp0

On AWS it depends on instance type: some older do not support it at all, some support it via the network driver, some via the kvm PTP driver.
gmokki
·4 か月前·議論
When I pull the trigger and the bullet kills an another person, it is just how technology works. Why would I be responsible if I choose to use it or not?
gmokki
·8 か月前·議論
https://www.phoronix.com/news/SDL-Lands-Wayland-Pointer-Warp

Wayland and SDL got support this summer.

And Xwayland has had support for past 10 years: https://www.phoronix.com/news/XWayland-Pointer-Confinement
gmokki
·8 か月前·議論
Don't you always need a database after reading events from Kafka to deduplication?

So the competing solutions are: PostgreSQL or Kafka+PostgreSQL

Kafka does provide some extrs there, handling load spikes, more clients that PG can handle natively and resilience to some DB downtime. But is it worth the complexity, in most cases no.
gmokki
·9 か月前·議論
I think he was trying to say that phone theft can benefit the same way as credit card theft. The thief uses the phone to buy stuff before the user reports it stolen. In this case the stuff that is bought is mobile services that are billed for example 100€ for each SMS message. The victims mobile subscription plan gets the bill and the associates of the thief get the money.
gmokki
·10 か月前·議論
I have bookmarked the play store update view as separate icon by long pressing the play store icon, then long pressing/dragging the my apps section to an own "app".

That way I can skip the store garbage and directly go click update all apps button.

I just tried on apple device s few weeks ago and it took me many minutes to find the listing where I can update installed apps and it was missing the update all button...
gmokki
·昨年·議論
Has anyone tried the AMD suspend/resume patches that Alibaba? https://lists.freedesktop.org/archives/amd-gfx/2025-January/...

"We have tried to solve these issues case by case, but found that may not be the right way. Especially about the unbalanced irq reference count, there will be new issues appear once we fixed the current known issues. After analyzing related source code, we found that there may be some fundamental implementation flaws behind these resource tracking issues.

So we try to fix those issues by two enhancements/refinements to current device management state machines."
gmokki
·2 年前·議論
I do not understand where the 64bit integers not working with JSON comes from.

JSON the format had no limit on integer size. And all Java JSON libraries I know can handle arbitrary prevsion integers (BigInt) and 32/64bit int/long types when serializing and deserializing.

Quick googling shows that also JavaScript has proper support for 64bit integers with their BigInt type, and it can be used to deserialize incoming data correctly with the default parser, albeit requiring a bit more work to annotate the fields.

Personally I often explicitly make sure that the integers I return in trust environments as identifiers in REST APIs are by default longer than 52bits so that buggy parser libraries are caught early.
gmokki
·3 年前·議論
AMD enabled AVX-512 without increasing their power consumption. To do that their AVX-512 runs only half of max speed compared Intel when using 512 bit registers (aka max flops is same as with AVX2 256 bit registers). Still, because the new instructions in AVX-512 are beneficial in many scenarios the actual speed up is still often 10-20% in code that benefits from the new instructions.

Then 4 years later AMD has the option to bump to full-speed AVX-512 if it is really needed. This is the same they did with AVX2 initially.