Live data from Hacker News

Viewing profile — jibsen

jibsen

HN member
Joined
Mon, Jan 07, 2013, 2:06 PM UTC
HN karma
68
Public activity
66 items

About jibsen

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #13411486

    I don't have WSL available, but I would love some numbers for tasks like cloning a large repository with git and running cmake. These things tend to be slow on Windows due to fork,…

  3. comment
    Comment #13237832

    Regarding #3, it's worth noting that even though the elements of the two-dimensional array form a contiguous block of integers, you cannot treat them as such [1]. [1]: http://c-faq…

  4. comment
    Comment #13205882

    I suppose due to DST, the same clock time on the next calendar date might not exist or be ambiguous.

  5. comment
    Comment #13191541

    This was a very convenient way to share files because links were direct. Some people even used the public folder to host small static sites. Interestingly their help site lists the…

  6. comment
    Comment #13168245

    I also seem to have an annual attempt at switching to Vim [1]. I can do enough basic commands to survive, but I am so far from the productivity in Sublime/Atom that I always end up…

  7. story
  8. comment
    Comment #12526313

    It's worth noting that ssize_t is a POSIX type, and is only guaranteed to have the range [-1, SSIZE_MAX] (basically a size type with one error value) [1]. If you need negative size…

  9. comment
    Comment #12139640

    Using mingw-w64 (GCC 6.1.0): g++ -Os -static -s on `int main() { }' 17.408 bytes g++ -Os -static -s on `int main() { throw 42; }' 139.776 bytes

  10. comment
    Comment #12053938

    Try compiling with a recent 64-bit GCC and adding `-mtune=native -flto` to the mix.

  11. comment
    Comment #12053914

    It compiles fine with mingw-w64 on Windows. MSVC is a bit more involved due to the GCC extensions used. When LZFSE first came out I made a fork with the changes to compile with MSV…

  12. comment
    Comment #11802322

    Most importantly, whatever the language or codebase you are working in/on mandates. I write a lot of C, and given the choice, I tend to prefer tabs for indentation and spaces for a…

  13. comment
    Comment #11732835

    Back in 1997-1998 I wrote a compressor for DOS 16-bit executables called aPACK (and a library, aPLib, with the compression code). I still occasionally get an email from someone try…

  14. comment
    Comment #11559352

    I don't know if it is due to various fork implementations being slow on Windows, but programs that spawn a lot of subprocesses like build tools can be really slow [1]. I would love…

  15. comment
    Comment #11518984

    The Mac version has gotten a lot of good response, so I tried installing the Windows version. It feels a bit like a beta sadly. - Backups to local folder do not work - Scheduled ba…

  16. comment
    Comment #11500151

    To a large degree the language didn't change (some of the undefined behaviours we are discussing were in C89), rather the compiler vendors started to enforce parts of it.

  17. comment
    Comment #11460651

    I would love to see how it compares to a Linux VM for tasks that involve a lot of shelling out to run other tools. The native Windows versions of git and CMake can be awfully slow …

  18. comment
    Comment #11411281

    I wonder why they did not add `--ff-only` as an option, like GitLab has.

  19. comment
    Comment #11261566

    It seems that the target option might be the one I was looking for. The installed version defaults to x86_64-pc-windows-msvc, where the msvc at the end suggests it is looking for M…

  20. comment
    Comment #11253760

    What really confused me was that from the llvm front page, if you click Win Installer, you get a version that seems to expect MSVC headers, while if you click LLVM 3.8.0 you get th…

  21. comment
    Comment #11253741

    You might like Clang with Microsoft CodeGen[1], a work in progress by Microsoft to add a Clang toolset to Visual Studio 2015 that uses the MSVC backend. [1]: https://blogs.msdn.mic…

  22. comment
    Comment #11237676

    Pointers to character types get some special treatment. They can be used to address the individual bytes of other objects (C11 6.3.2.3p7), and the strict aliasing rule allows chara…

  23. comment
    Comment #11237630

    Even computing pointers that point outside an array can be undefined behavior, like f - 1 + 1. It is easy for people who understand the relatively strong correlation between C and …

  24. comment
    Comment #11227031

    Interestingly, Monokai was developed back when Mac OS was not using sRGB by default, so using the RGB values today looks different than it did back then [1]. People have gotten use…

  25. comment
    Comment #11211332

    Last time I saw GitKraken mentioned, I must admit I chose not to try it due to the license (which reads more like a NDA).