Live data from Hacker News

Viewing profile — CodeHz

CodeHz

HN member
Joined
Tue, Feb 02, 2016, 10:58 AM UTC
HN karma
27
Public activity
21 items

About CodeHz

No profile information was provided.

Recent public activity

  1. comment
    Comment #44324813

    Actually, it won't compile in msvc (the linking phase, to be precise), MSVC uses different names for methods with different visibilities

  2. comment
    Comment #37493189

    Windows do have this API, NtDeleteFile, AND it could be used to delete current running exe. https://twitter.com/jonaslyk/status/1345167613643661312 but it is undocumented...

  3. comment
    Comment #37368282

    Funiest thing is, in win11, the notepad use RichEdit again (but use winui's richedit control, not win32

  4. comment
    Comment #35964047

    no, you can do it by define SQLITE_DEFAULT_FOREIGN_KEYS=1 while compiling sqlite3

  5. comment
    Comment #35924812

    Btw, you can even run a executable file which has been renamed to any extension (.txt or .whatever) in command line. (See PATHEXT env) It just recognized by the explorer (and shell…

  6. comment
    Comment #34954012

    Maybe it just a transparent div that blocked all the pointer events?

  7. comment
    Comment #32292850

    it could come from a template function which don't have a sfinae branch (or `if constexpr (std::is_empty ::value)`) for empty type

  8. comment
    Comment #30290058

    You could try adguard (android version), but it is paid. And the biggest problem is most of sites are already upgraded to https, it needs MITM attack, but lots of applications won'…

  9. comment
    Comment #30004570

    BTW, the GitHub mobile app rendering them correctly (since it doesn't use html)

  10. comment
    Comment #29499867

    Tested on: Steam (search box), Apple (icloud), Minecraft (both server and client, just type PoC in chat box) (Tip: use dnslog to test(no payload), so it should not cause any proble…

  11. story
  12. comment
    Comment #26741232

    It's not perfect, since the scrollbar is keep while while the content has dark background... maybe you need a

  13. comment
    Comment #26583664

    at least the oldest icons are still exists in modern win 10, yes, even after ms decided to update some icons to fit new "Fluent Design" https://imgur.com/a/6T31ziE (from latest ins…

  14. comment
    Comment #26348419

    You can achieve it without CSS actually (in chrome) Just put to It will also make vanilla scrollbar into dark theme

  15. comment
    Comment #26288436

    根据相关法律政策,该内容无法显示 is "According to relevant laws and policies, the content cannot be displayed" So they just consered content in source code level

  16. comment
    Comment #26288431

    The readme.md has been blocked, translation for 根据相关法律政策,该内容无法显示 is "According to relevant laws and policies, the content cannot be displayed". You can still get content by `git cl…

  17. story
  18. comment
    Comment #25513182

    It looks similar to nim's ARC/ORC gc approach... Just curious, have you ever compared them?

  19. comment
    Comment #25055535

    I think we can achieve this through windows container(not docker, it won't support interactive GUI application), by using process isolation, most api have been implemented in conta…

  20. story
  21. comment
    Comment #20990267

    it happened in my system in last boot, dmesg says dbus-daemon tried (twice!) to read urandom before its seeded, and the next message (same second, about 200ms) is about urandom has…