Michael Labbé

@frogtoss

C/Python/Go consultant living in Vancouver, Canada, building the tools and tech that make your multiplayer project better. Doom, guitars, code, biz.

iPhone: 20.490421,-87.241356
Vrijeme pridruživanja: ožujak 2008.

Tweetovi

Blokirali ste korisnika/cu @frogtoss

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @frogtoss

  1. Prikvačeni tweet
    26. stu 2014.

    I just open sourced a C API w/ minimal bloat that lets you use native file dialogs on Linux, Mac and Windows.

    Poništi
  2. 28. sij

    I often read source code on Github, etc. When I find an interesting bit that I don’t understand, I email the author and ask them about it. And, with a 100% success rate so far, I always get a helpful, well thought out response from the original programmer. People are generous.

    Poništi
  3. 27. sij

    I mean I knew Doom 3 was dark, but I didn't know I'd need an actual torch to view the source code.

    Poništi
  4. 20. sij

    Can combining characters change the column width count of a grapheme cluster, as reported by wcwidth()?

    Poništi
  5. 19. sij

    I've been using 's ThreadTracer to optimize my inner loop and it's been very handy. It handles a ton of events without dropping any. Recommend.

    Poništi
  6. proslijedio/la je Tweet
    14. sij

    Actual code snippet from RC:UYA.

    Poništi
  7. 13. sij

    memset(): too easy to swap the 2nd and 3rd parameters, so let’s create bzero(). bzero(): compiler can optimize it out, so let’s create explicit_bzero. explicit_bzero(): silently do nothing if 2nd parameter is 0. What should we name the function that definitely zeros mem?

    Poništi
  8. 9. sij

    I know a lot of devs swear by autocomplete, but "open header file for definition in a dedicated reference window" feels like the same thing, only with more context for those of us fortunate enough to have enough monitor.

    Poništi
  9. 3. sij

    clang-format on save is cool and the way I'll be coding from now on, but man, is it ever disorienting if you delete a close brace and everything below your cursor just indents.

    Poništi
  10. 2. sij

    Some reflection from me on the most important developer changes I made over the last decade.

    Poništi
  11. 28. pro 2019.

    The week after Xmas seems like a very easy time to get dunked on, on tech twitter, but I'm just going to say it anyway: LibreOffice Calc is not bad.

    Poništi
  12. 27. pro 2019.

    Sometimes I want to use QtCreator to debug/view disasm on Linux. I never want to maintain a QtCreator project. I wrote a tool to generate an adhoc project and launch QtCreator. It has been working well for me all week:

    Poništi
  13. 18. pro 2019.

    Trying to become financially independent by doing contract work

    Poništi
  14. 12. pro 2019.

    Apple Notes app for impromptu note taking is actually quite useful. When I am on my Linux laptop I can use to access and update notes. I still prefer org-mode for long lived text docs, but sometimes you just need to jot something down quickly.

    Poništi
  15. 7. pro 2019.

    Why is terminfo even a thing? Why not standardize a request/response protocol where programs can query the *actual running terminal* for its capabilities instead of storing them in a database which is out of date, doesn’t revision and is ill structured for the future.

    Poništi
  16. 6. pro 2019.

    Terminfo binary db parser in c without third party libraries (like curses): (ctrl-f search for tiparse.c to get to actual code)

    Poništi
  17. 6. pro 2019.

    strlen(s)==0 is the preferred way to check string length in C of my voters. ;:( (those are eyebrows) 1/3 compilers I checked do not optimize away this potentially unbounded linear search for a value at a known address:

    Poništi
  18. 2. pro 2019.

    Your favourite way to check if a cstr is zero length:

    Poništi
  19. 29. stu 2019.

    Happy block Friday: the day I resolve to click all unsubscribe links in my inbox while adding filter rules to instantly delete emails from non-humans.

    Poništi
  20. 29. stu 2019.

    The hope was that I had a path to write small, tight and fast GUIs for C programs that would be able to target Windows natively and, hey, run on Linux, too. I still want that, but I don't think this is way to go about it.

    Prikaži ovu nit
    Poništi
  21. 29. stu 2019.

    4. There isn't much advantage over running a PE executable with the wine runtime except being able to directly perform syscalls. The obvious downside is time spent porting win32 msvc code to gcc.

    Prikaži ovu nit
    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·