Live data from Hacker News

Viewing profile — dawg

dawg

HN member
Joined
Mon, Oct 14, 2013, 2:24 AM UTC
HN karma
57
Public activity
15 items

About dawg

No profile information was provided.

Recent public activity

  1. comment
    Comment #41666506

    Give git-autofixup a try, never had any incorrect fixup targets with it's hunk-based algorithm.

  2. comment
    Comment #41666482

    Same workflow here, and it's become a breeze with autofix, rebase --update-refs, and a small command to push the whole stack. I'm using magit, so I directly see what could not be m…

  3. comment
    Comment #41665270

    Yes, I empirically found the hunk-based approach of git autofixup to work more reliably. I use it via magit. Paired with rebase --update-refs, it's particularly helpful to automati…

  4. comment
    Comment #18745098

    This approach is taken by https://github.com/dlang-community/drepl and https://docs.scala-lang.org/overviews/repl/overview.html . While it works surprisingly well, you need to pars…

  5. comment
    Comment #18352257

    Installer and binaries have been signed and submitted to Microsoft since a while to fix the issue with Windows Defender. https://dlang.org/changelog/2.082.0.html#signed_windows_bin…

  6. comment
    Comment #18351172

    Dmd releases have been signed and submitted to Microsoft since 2.082.0 to fix the issue with Windows Defender. https://dlang.org/changelog/2.082.0.html#signed_windows_bina...

  7. comment
    Comment #16721253

    And this short snippet in D T max(T)(T a, T b) { return a without requiring explicit constexpr annotations and with less noisy template syntax ;).

  8. comment
    Comment #16508830

    For emacs it might be OK, usually mutating objects in the heap during marking is not a good idea, as it breaks sharing CoW pages with forks.

  9. comment
    Comment #16507683

    Did sth. similar a while ago for our not so great D GC. https://github.com/dlang/druntime/pull/1073

  10. comment
    Comment #16306595

    You loose builtin arrays and hashes and need to use a container library instead. Same goes for newing aggegates which can be replaced with smart pointers. Escaping closures (delega…

  11. comment
    Comment #16305389

    You don't have to restrict yourself to betterC to use manual memory management. BetterC is mainly targetted at embedded programming and to port components of existing C application…

  12. comment
    Comment #16021726

    In D which has CTFE support since ages, you'd debug such functions by invoking them at runtime. https://tour.dlang.org/tour/en/gems/compile-time-function-ev... There are also tools…

  13. comment
    Comment #14898679

    Yes, if you're willing to spent some effort on it. Somewhat simpler you can just avoid most GC allocations so you don't run into any performance issues with the GC. http://dlang.or…

  14. comment
    Comment #14592954

    The D language is currently heading towards deterministic and safe memory management, making it possible to avoid the GC overall, hence further work on GC improvements was depriori…

  15. comment
    Comment #14120135

    Here is the archive.org link (requires an account) https://archive.org/details/LundukeHourApril14RMS .