Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

ammarfaizi2@social.gnuweeb.orgA

ammarfaizi2@social.gnuweeb.org

@ammarfaizi2@social.gnuweeb.org
About
Posts
34
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • @indonesia
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @indonesia

    Australia sudah mulai kehabisan stok BBM. Indonesia kapan?

    Link Preview Image
    Krisis BBM Australia, Ratusan SPBU Kehabisan Stok

    Ratusan SPBU di Australia kehabisan BBM, pemerintah gandeng Singapura untuk menjaga pasokan energi.

    favicon

    liputan6.com (www.liputan6.com)

    Uncategorized

  • This post did not contain any content.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @LLENN08

    Kenapa kok sedih?

    Uncategorized

  • @cell
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @cell

    Besok sudah mulai kerja ya

    Uncategorized

  • Oh wow, TIL we can do:``` static void *array[] = { &&foo, &&bar, &&hack }; goto *array[i];```
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    RE: https://tilde.zone/@sirwumpus/116267753725061982

    Oh wow, TIL we can do:
    ```
    static void *array[] = { &&foo, &&bar, &&hack };
    goto *array[i];
    ```

    Uncategorized

  • @ammarfaizi2@hiradai.space @LLENN08
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @ammarfaizi2@hiradai.space @LLENN08

    $[x3 ]

    Uncategorized

  • Subject: "systemctl suspend" on Linux is not reliable.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @indonische

    Noted, thanks.

    It seems the doc you referred is actually what I am looking for.

    I will try to tweak the wake up sources and play around with those configurations. It is much better to have only the "power button" as a wake up source rather than having random unexpected wakeups.

    I will test suspend-resume after tweaking it later today.

    Uncategorized linux sysrq sync

  • Subject: "systemctl suspend" on Linux is not reliable.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    The watchdog reported CPU#6 stuck for 5946s (observed from the photo).

    That is roughly 99 minutes bake, lol.

    That means my laptop didn't just wake up right before I checked it.

    It likely woke up and hit soft lockups almost immediately after I put it in my backpack and was running at full tilt for the entire journey from Sragen to Surakarta 😭

    Shit.

    Uncategorized linux sysrq sync

  • Subject: "systemctl suspend" on Linux is not reliable.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    Subject: "systemctl suspend" on Linux is not reliable.

    How long has it been since last time I used the the emergency sync SysRq?

    Today traveled to Surakarta for a family event, I departed from Sragen. I suspended my laptop with "systemctl suspend" and put it into my backpack.

    When I arrived in Surakarta, I opened my bag and felt my bag was so hot. It turned out that my laptop was on (not in a sleep state) and everything was spinning at 100% CPU (especially firefox and vscode).

    I had a chance to check htop and tried to kill firefox with "pkill -9 firefox", but then the system froze.

    When the GUI froze, I could still see my caps lock button was still working indicated by the caps lock LED on-off still responed to my input.

    I tried to jump to tty4 and tried to login, but then soft lockup warnings appeared, everything froze. I could not login from tty4 neither.

    I invoked an emergency sync procedure (Alt+SysRq+s) and forced my laptop off. Unfortunately, the SysRq to print backtrace was disabled. I am not sure how to debug this.

    I hope this was not a kernel bug, just hope it was a random bit flip in my RAM caused by an extrme temperature that led to this scary incident.

    Hopefully, my persistent filesystem will still be ok, not corrupted.

    #linux #sysrq #sync #fs

    Uncategorized linux sysrq sync

  • A university textbook in Indonesia states that `char*` is the same as `char[]` 😭 😭 😭
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    A university textbook in Indonesia states that `char*` is the same as `char[]` 😭 😭 😭

    Uncategorized

  • Sashiko reviewed my patch
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    Sashiko reviewed my patch

    Uncategorized

  • Mind-blowing.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    RE: https://infosec.exchange/@linkersec/116242048269785381

    Mind-blowing.

    Exploiting a 20-year-old bug in the Linux kernel to achieve full privilege escalation and container escape, plus a cool bug-hunting heuristic πŸ’€

    Uncategorized

  • Again, mati listrik lagi...
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    RE: https://social.gnuweeb.org/@ammarfaizi2/116223293818439097

    Again, mati listrik lagi... Jam 02:42 pagi.

    Uncategorized

  • I really appreciate the elegance of pointer tagging.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    I doubt that it will be forward compatible, though.

    Uncategorized

  • I really appreciate the elegance of pointer tagging.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    BTW, using those bits to store extra user data can drastically simplify object identification.

    I often use it when dealing with async I/O user data in epoll or io_uring.

    How I typically macro this out to pack and unpack event bits:
    ```
    #define EV_BIT_ALL (0xFFFFull << 48)
    #define GET_EV_BIT(X) ((X) & EV_BIT_ALL)
    #define CLEAR_EV_BIT(X) ((X) & ~EV_BIT_ALL)
    #define SET_EV_BIT(X, EV) ((X) | ((uint64_t)(EV) << 48))
    ```

    Uncategorized

  • I really appreciate the elegance of pointer tagging.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    RE: https://mstdn.social/@hkrn/116216511686844081

    I really appreciate the elegance of pointer tagging. A standard 64-bit pointer isn't actually fully utilized for addressing. On most systems, virtual addresses are only 48 bits wide, leaving the upper 16 bits theoretically free to embed extra user data

    Uncategorized

  • @ammarfaizi2@hiradai.space @ammarfaizi2@gnuweeb.org
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @yuka @ammarfaizi2@hiradai.space

    Nice. Thanks for testing!

    Uncategorized

  • @ammarfaizi2@hiradai.space @ammarfaizi2@gnuweeb.org
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @yuka @ammarfaizi2@hiradai.space

    I plan to send this patch to upstream. Would you like to attach a Tested-by tag?

    Uncategorized

  • Kebayoran Lama, Jakarta Selatan baru saja mati listrik.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    Kebayoran Lama, Jakarta Selatan baru saja mati listrik. Bersiaplah untuk kemungkinan terburuk.

    Uncategorized

  • Today I realized that my Linux Contabo VPS has a built-in script in `/etc/cron.hourly` that drops the cache every hour.
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @yuka

    Lmao, you just hit a kernel bug. Can you show the full call trace?

    Uncategorized contabo kvm linux vps

  • @LLENN08
    ammarfaizi2@social.gnuweeb.orgA ammarfaizi2@social.gnuweeb.org

    @LLENN08

    Netcup is good. I have been using netcup for almost 3 years and have no complaints.

    Previously, Netcup only offers VPS located Germany and Austria regions. But recently, Netcup also offers Singapore region (which is good w.r.t. latency if you access it from Indonesia).

    I recommend you to migrate to netcup.

    > also how hard to register

    Netcup will ask you to provide your selfie photo, ID, and your electricity bills.

    While it was easy and quick for me to register, I have seen several GNU people were rejected. I am not sure what the reasons were behind the rejection.

    Uncategorized
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups