HNHacker News
TopNewBestAskShowJobs

mhkool

390 karma · joined July 18, 2015

submissionscomments
mhkool··on Hetzner Price Adjustment
OVH is more expensive
mhkool··on Tell HN: 2FA code for Google account gone after Google Authenticator update
I use a yubico key which holds all my Google Auth 2FA secrets. A yubico app generates the 2FA codes. I also have a hardcopy of all secrets. An additional advantage is that the yubico key is protected with a PIN code. Works great for me.
mhkool··on Systemd SEGV when reloading – Ubuntu 24.04
It was in /var/lib/apport/coredump

The bt full of gdb seems to indicate that systemd chokes on a unit file. I bet it is clamav-freshclam. I am going to reboot now.

  (gdb) bt full
  #0  0x00007fec4596675b in kill () at ../sysdeps/unix/syscall-template.S:120
  No locals.
  #1  0x000055d907cfab1c in crash (sig=11) at ../src/core/main.c:257
        sa = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 16 times>}},
          sa_flags = 0, sa_restorer = 0x0}
        pid = <optimized out>
        __func__ = "crash"
        __PRETTY_FUNCTION__ = "crash"
  #2  <signal handler called>
  No locals.
  #3  0x000055d907d74d73 in unit_active_state (u=<optimized out>) at ../src/core/unit.c:830
        __PRETTY_FUNCTION__ = "unit_active_state"
  #4  0x000055d907d84d86 in unit_may_gc (u=0x55d908ddfa00) at ../src/core/unit.c:392
        state = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
  #5  0x000055d907d739fe in unit_may_gc (u=0x55d908ddfa00) at ../src/core/unit.c:389
        state = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _found = <optimized out>
        __assert_in_set = <optimized out>
        _error = <optimized out>
        _u = <optimized out>
        _l = <optimized out>
  #6  unit_add_to_gc_queue (u=0x55d908ddfa00) at ../src/core/unit.c:468
        __PRETTY_FUNCTION__ = "unit_add_to_gc_queue"
  #7  0x000055d907d85ab1 in unit_clear_dependencies (u=0x55d908da3000) at ../src/core/unit.c:555
        other_deps = 0x0
        other = 0x55d908ddfa00
        deps = 0x55d908dc4878
        __PRETTY_FUNCTION__ = <optimized out>
  #8  unit_free (u=0x55d908da3000) at ../src/core/unit.c:698
        slice = 0x55d908cb92a0
        t = 0x0
        __PRETTY_FUNCTION__ = <optimized out>
  #9  0x000055d907d45d05 in unit_free (u=<optimized out>) at ../src/core/unit.c:654
        slice = <optimized out>
        t = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __unique_prefix_i15 = <optimized out>
        j = <optimized out>
        j = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
  #10 manager_clear_jobs_and_units (m=m@entry=0x55d908cb78f0) at ../src/core/manager.c:1421
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #11 0x000055d907d4b01a in manager_clear_jobs_and_units (m=0x55d908cb78f0) at ../src/core/manager.c:1418
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #12 manager_reload (m=0x55d908cb78f0) at ../src/core/manager.c:3826
        reloading = 0x0
        fds = 0x7fec45112ba8
        f = 0x55d908f6c940
        r = <optimized out>
        __PRETTY_FUNCTION__ = "manager_reload"
        __func__ = "manager_reload"
  #13 0x000055d907cf9a7b in invoke_main_loop (ret_error_message=0x7ffd4b3057f0, ret_switch_root_init=<synthetic pointer>,
    ret_switch_root_dir=<synthetic pointer>, ret_fds=0x7ffd4b3057e0, ret_shutdown_verb=<synthetic pointer>,
    ret_retval=<synthetic pointer>, ret_reexecute=<synthetic pointer>, saved_rlimit_memlock=0x7ffd4b305820,
    saved_rlimit_nofile=0x7ffd4b305830, m=0x55d908cb78f0) at ../src/core/main.c:1934
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        r = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _error = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _ptr_ = <optimized out>
        _ptr_ = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        table = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
  #14 main (argc=1, argv=0x7ffd4b305ab8) at ../src/core/main.c:2910
        initrd_timestamp = {realtime = 0, monotonic = 0}
        userspace_timestamp = {realtime = 1726568591653978, monotonic = 37908672}
        kernel_timestamp = {realtime = 1726568553745306, monotonic = 0}
        security_start_timestamp = {realtime = 1726568591655330, monotonic = 37910024}
        security_finish_timestamp = {realtime = 1726568591655914, monotonic = 37910609}
        saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
        saved_rlimit_memlock = {rlim_cur = 65536, rlim_max = 65536}
        skip_setup = <optimized out>
        loaded_policy = false
        queue_default_job = <optimized out>
        first_boot = <optimized out>
        reexecute = false
        switch_root_dir = 0x0
        switch_root_init = 0x0
        before_startup = <optimized out>
        after_startup = <optimized out>
        timespan = "\000\000\000\000\000\000\000\000\000\303t\255\211[\367\r\000\000\000\000\000\000\000\000\310\375\377\377\377\377\377\377\002", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\006\000\000\000\000\000\000\200"
        shutdown_verb = 0x0
        error_message = 0x0
        r = <optimized out>
        retval = 1
        m = 0x55d908cb78f0
        fds = 0x0
        finish = <optimized out>
        systemd = "systemd"
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>

        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
        _head = <optimized out>
        _item = <optimized out>
  #10 manager_clear_jobs_and_units (m=m@entry=0x55d908cb78f0) at ../src/core/manager.c:1421
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #11 0x000055d907d4b01a in manager_clear_jobs_and_units (m=0x55d908cb78f0) at ../src/core/manager.c:1418
        u = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
  #12 manager_reload (m=0x55d908cb78f0) at ../src/core/manager.c:3826
        reloading = 0x0
        fds = 0x7fec45112ba8
        f = 0x55d908f6c940
        r = <optimized out>
        __PRETTY_FUNCTION__ = "manager_reload"
        __func__ = "manager_reload"
  #13 0x000055d907cf9a7b in invoke_main_loop (ret_error_message=0x7ffd4b3057f0, ret_switch_root_init=<synthetic pointer>,
    ret_switch_root_dir=<synthetic pointer>, ret_fds=0x7ffd4b3057e0, ret_shutdown_verb=<synthetic pointer>,
    ret_retval=<synthetic pointer>, ret_reexecute=<synthetic pointer>, saved_rlimit_memlock=0x7ffd4b305820,
    saved_rlimit_nofile=0x7ffd4b305830, m=0x55d908cb78f0) at ../src/core/main.c:1934
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        r = <optimized out>
        r = <optimized out>
        __PRETTY_FUNCTION__ = <optimized out>
        __func__ = <optimized out>
        _error = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        saved_log_target = <optimized out>
        saved_log_level = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        _ptr_ = <optimized out>
        _ptr_ = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
        table = <optimized out>
        _level = <optimized out>
        _e = <optimized out>
  #14 main (argc=1, argv=0x7ffd4b305ab8) at ../src/core/main.c:2910
        initrd_timestamp = {realtime = 0, monotonic = 0}
        userspace_timestamp = {realtime = 1726568591653978, monotonic = 37908672}
        kernel_timestamp = {realtime = 1726568553745306, monotonic = 0}
        security_start_timestamp = {realtime = 1726568591655330, monotonic = 37910024}
        security_finish_timestamp = {realtime = 1726568591655914, monotonic = 37910609}
        saved_rlimit_nofile = {rlim_cur = 1024, rlim_max = 4096}
        saved_rlimit_memlock = {rlim_cur = 65536, rlim_max = 65536}
        skip_setup = <optimized out>
        loaded_policy = false
        queue_default_job = <optimized out>
        first_boot = <optimized out>
        reexecute = false
        switch_root_dir = 0x0
        switch_root_init = 0x0
        before_startup = <optimized out>
        after_startup = <optimized out>
        timespan = "\000\000\000\000\000\000\000\000\000\303t\255\211[\367\r\000\000\000\000\000\000\000\000\310\375\377\377\377\377\377\377\002", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\006\000\000\000\000\000\000\200"
        shutdown_verb = 0x0
        error_message = 0x0
        r = <optimized out>
        retval = 1
        m = 0x55d908cb78f0
        fds = 0x0
        finish = <optimized out>
        systemd = "systemd"
        __func__ = "main"
        __PRETTY_FUNCTION__ = "main"
mhkool··on Systemd SEGV when reloading – Ubuntu 24.04
The systemd config is default and it should dump core and logs a message that it dumped core but I have not been able to find it. Usually core dumps are in /var/lib/systemd/coredump but the directory is empty.

The server has ECC memory and there are no messages in the syslog about ECC failures. The SEGV occurred on two consecutive days when systemd was reloading so for the moment I find it unlikely that memory may be the root cause but looking at a core dump would certainly help. Where is it?

mhkool··on Systemd SEGV when reloading – Ubuntu 24.04
any ideas on how to resolve this?
mhkool··on *(char*)0 = 0; – What does the C++ programmer intend with this code? [video]
To test if the system has a functional MMU
mhkool··on TOTP tokens on my wrist with the smartest dumb watch
I like the yubico key that even has a pin code so if lost or stolen protects your TOTP codes
mhkool··on Prefix Sum with SIMD
Since the performance for array sizes <L1-size and <L2-size is similar , I would like to see an attempt to improve B. B = L2-size / 2 / sizeof(int) - 16 might produce better results.

Note also that _mm_broadcast_ss() is faster on newer processors.

mhkool··on Blockchain-based systems are not what they say they are
Why do people want to escape fiat currencies? Because the central banks inflate them. If only we could have an inflation-proof currency...
mhkool··on Blockchain-based systems are not what they say they are
Even billionaires and hedge funds participate in this bubble. We have seen in the past that people start to invest in risky assets before a depression. I think a depression is coming.
mhkool··on Hetzner now provides IPv6 only dedicated servers
me too
mhkool··on Ask HN: Tips for more energy during day?
Did you check your cortisol levels? Drowsiness is a symptom of adrenal fatigue.
mhkool··on End the Fud
Not FUD but facts:

Bitcoin is 1st generation blockchain technology and compared to current 3rd generation (e.g. XRP) it is slow and expensive.

IMF, BIS, ECB and FED have stated in political obfuscated speak that they want a fast and cheap bridge currency for cross-border payments. There is only one serious candidate for this: XRP.

mhkool··on Ask HN: How to determine the value of this company?
correct, but that does not make coverage calculations incorrect since it is based on the snooped FQDNs.
mhkool··on Ask HN: How to determine the value of this company?
Thanks for the pointers.

The coverage is calculated by DNS servers and web proxies and can only be incorrect if circumvented. The web proxies are almost all in corporate environments where they cannot be circumvented. Only a tiny fraction of HTTPS uses a TLS1.3 extension to encrypt the FQDN of the web server - the rest of the HTTPS traffic can be monitored.

mhkool··on Show HN: LibreTranslate – Open-source neural machine translation API
“He didn’t know what to think” is translated to Portuguese “Ele não sabia o que fazer” which is incorrect. Fazer is “to do” not “to think”
mhkool··on Many scientists citing two scandalous Covid-19 papers ignore their retractions
Why don't you talk about the 10 points that the scientists state to argue that the test is flawed? And what do you have to say about the other 21 scientists? What do you have to say about the former Pfizer chief scientist which is co-author?
mhkool··on Many scientists citing two scandalous Covid-19 papers ignore their retractions
The biggest scandal so far: a retraction paper for the SARS-CoV-19 PCR test was submitted in November 2020 but ignored so far. The retraction paper is here: https://cormandrostenreview.com/report/
mhkool··on The CentOS Project Just Committed Suicide
I agree. But I rather pay a small fee for CentOS without support than a hefty fee for RHEL with support.
mhkool··on The CentOS Project Just Committed Suicide
I agree. We will see if a new community wants to copy CentOS and maintain it.
mhkool··on The CentOS Project Just Committed Suicide
RHEL is used for its stability. I also would like to see more updates. I think it would be better to introduce a RHEL Stream in addition to “basic” RHEL instead of killing CentOS.
mhkool··on AI researcher Timnit Gebru resigns from Google
Sure, companies may have interests in some areas and not others, but it is counterproductive and even irritating if the company does not clearly communicate what the areas of interest are and which are not. An order to retract without explanation is rude and counterproductive.
mhkool··on Covid-19 PCR test protocol is being challenged by 22 scientists
The link is to a retraction paper that was submitted last Wednesday. If the paper is accepted there will no longer be a covid-19 PCR test.
mhkool··on Has cryptocurrency failed for the time being?
All central banks are "investigating" CBDCs. I interpret from their statements that they have everything developed and tested. They are just waiting for the right moment to introduce them. Ripple has also signed partnerships with numerous banks all over the world so their XRP is most likely to become more popular.
mhkool··on Can I work for a bad company and still be a good person?
the person that is working at company X, decides for himself if X is bad. If this person believes that X is bad, he should IMO resign to stay healthy.
mhkool··on Short term, high-dose Vitamin D supplementation for Covid, a randomised trial
prof dr Cicero Coimbra uses 600,000 IU in a single dose to get 70 ng/ml after 3days and got very good results (do not recall details).
mhkool··on The Big Vitamin D Mistake (2017)
The whole medicine study is a joke since it focuses on symptom treatment and not treatment of the cause(s) of the symptoms. Functional Medicine is the science that tries to find the causes and treat those but less than 1% of medical doctors practice functional medicine.
mhkool··on The Big Vitamin D Mistake (2017)
nradov suggested to look at athletes who were still fit at 60, not your friend with a belly at 35.
mhkool··on The Big Vitamin D Mistake (2017)
I have nodules in my thyroid and as part of the treatment, 3 different doctors prescribed 10,000 IU per day to get the D3 level at 80 ng/ml. For the past 5 years the nodules are stable.
mhkool··on Best place to park $1M for 12 months?
inform yourself about governments that endlessly print money and you will quickly find out that inflation is a key word. In times of inflation there is a substance that many call "insurance": physical gold outside a bank since banks generally default in times of inflation.
Page 1 of 9Next →