Live data from Hacker News

Viewing profile — mmozeiko

mmozeiko

HN member
Joined
Wed, Jul 27, 2011, 8:28 PM UTC
HN karma
695
Public activity
146 items

About mmozeiko

https://github.com/mmozeiko/

Recent public activity

  1. comment
    Comment #49193419

    See the following pdf for example on how to do this with SSSE3 (pages 104-133) or even SSE2 (pages 151-173) https://deplinenoise.files.wordpress.com/2015/03/gdc2015_afr...

  2. comment
    Comment #47867703

    sub is also recognized as zeroing idiom for register file. Intel documents these in "3.5.1.7 Clearing Registers and Dependency Breaking Idioms" from Optimization Reference Manual: …

  3. comment
    Comment #47789289

    xor swap trick was useful in older simd (sse1/sse2) when based on some condition you want to swap values or not: tmp = (a ^ b) & mask a ^= tmp b ^= tmp If mask = 0xfff...fff then a…

  4. comment
    Comment #47368286

    How does it compare to rendering SVG by Direct2D itself? When using ID2D1DeviceContext5::DrawSvgDocument method, and ID2D1SvgDocument can be loaded from file with ID2D1DeviceContex…

  5. story
  6. comment
    Comment #45532747

    Ah, I see. Yeah, then the current approach is fine.

  7. comment
    Comment #45532445

    From what I understand from code those unwarps are just doing matrix multiply to get unwraped pixel location? In this case doing these operations directly in fragment shader instea…

  8. comment
    Comment #44726999

    There's also Windows.Graphics.Capture. It allows to get texture not only for whole desktop, but just individual windows.

  9. comment
    Comment #44109542

    I don't know why Signal calls it "DRM" because the do not use DRM for this. Typically DRM means encryption & keys are involved (which is what Netflix & others are doing with Widevi…

  10. comment
    Comment #44000615

    If you change logic and/or to bitwise and/or then it'll be branchless.

  11. comment
    Comment #43346755

    https://github.com/veluca93/fpnge is a very fast png encoder. A bit lower compression ratio, but runs significantly faster than alternatives. Here is a presentation with benchmarks…

  12. comment
  13. comment
    Comment #41760202

    There is a simple way to get that immediate from expression you want to calculate. For example, if you want to calculate following expression: (NOT A) OR ((NOT B) XOR (C AND A)) th…

  14. comment
    Comment #41571198

    Unfortunately not everything. For example, no xbox 360 controller support: https://github.com/microsoft/GDK/issues/39

  15. comment
    Comment #39076387

    It is called far2l: https://packages.debian.org/search?keywords=far2l&searchon=n...

  16. comment
    Comment #37112899

    Alt + start typing jumps to file/folder with this name. Ctrl + enter puts currently selected file/folder name into command-line. Ctrl + O hides panels and shows you "background" wi…

  17. comment
    Comment #37108413

    I recommend Polygon as virtual filesystem for SQLite database files: https://plugring.farmanager.com/plugin.php?l=en&pid=973 PortaDev for accessing MTP mounts (like Android): https…

  18. comment
    Comment #37108163

    On Ubuntu this seems to be official (?) ppa: https://launchpad.net/~far2l-team/+archive/ubuntu/ppa Make sure "far2l-gui" is installed. On ArchLinux there's package in AUR: https://…

  19. comment
    Comment #37106390

    Make sure you run wxgtk build, not the terminal one. Terminal is limited on what shortcuts it can do. But wxgtk build runs exactly as windows counterpart - Alt+F1/F2 and many other…

  20. comment
    Comment #36399010

    Here's a fancy trick from LLVM source: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Targ... #define A 0xf0 #define B 0xcc #define C 0xaa And then you can build immediate…

  21. comment
    Comment #36298751

    There's also dxwrapper that implements old DirectDraw/3D interfaces with newer D3D9 api for better compatibility with newer Windows versions: https://github.com/elishacloud/dxwrapp…

  22. comment
    Comment #36066822

    I'm pretty sure such thing is implemented by hooking OS functions that are dealing with directory enumeration, create/open file, etc - and then redirecting to custom code that prov…

  23. comment
    Comment #34216878

    Not fully open-sourced. There are bunch of pieces that are available only in compiled form - .obj/lib files. Like math.h functions.

  24. comment
    Comment #33711752

    You can use it for any workload that can use D3D12 buffers or textures as input. All the API does for you is transfer data from disk to ID3D12Resource object. After that it is up t…

  25. comment
    Comment #32844825

    It is there to process last <32 elements. The vectorized loop processes up to 32 elements per iteration. The iteration does not happen if there are less than 32 elements left, beca…