musa_totter's recent activity

  1. Comment on What programming languages will you focus on in 2020 and why? in ~comp

    musa_totter
    Link
    Professionally, probably a lot of Python and some C. Personally: Probably mostly Rust. I've been reimplementing some older projects in Rust for fun, and I'll probably continue doing that. Also, I...

    Professionally, probably a lot of Python and some C.

    Personally:

    • Probably mostly Rust. I've been reimplementing some older projects in Rust for fun, and I'll probably continue doing that. Also, I don't feel like I understand borrow checking and lifetimes yet, so that will be something to focus on.
    • I used to be more excited about C#, but some of the newer features I was looking forward to (like non-nullability and the new match expression) seem more tacked-on and less well thought out. Records and associated features look to be nice, though.
    • I'll probably focus a little bit on functional programming, too. Functional programming has invaded my personal programming style over time, and I'd like to take a more active role in exploring that.
    2 votes
  2. Comment on What games have you been playing, and what's your opinion on them? in ~games

    musa_totter
    Link
    I bought a Steam controller in the recent sale, and it turns out Superflight is a lot more fun with a controller than with a keyboard. Not something I would play for hours on end, but it's kind of...

    I bought a Steam controller in the recent sale, and it turns out Superflight is a lot more fun with a controller than with a keyboard. Not something I would play for hours on end, but it's kind of relaxing.

    2 votes
  3. Comment on The Mysterious Double Tilde (~~) Operation in ~comp

    musa_totter
    Link Parent
    IIRC things like x = x|0 are the idiomatic way to declare that a variable or parameter is an int in asm.js, so that may be another reason this may pop up. (Though asm.js has been left by the...

    IIRC things like x = x|0 are the idiomatic way to declare that a variable or parameter is an int in asm.js, so that may be another reason this may pop up. (Though asm.js has been left by the wayside in favor of webassembly IIRC)

    1 vote
  4. Comment on The Mysterious Double Tilde (~~) Operation in ~comp

    musa_totter
    Link Parent
    That is true, but these appear to be different somehow from type casts, because they are slower than implicit casts, according to benchmarks. After a little investigating, it would seem that...

    That is true, but these appear to be different somehow from type casts, because they are slower than implicit casts, according to benchmarks.

    After a little investigating, it would seem that parseInt actually converts its first argument to string before parsing, which not only slows it down, but also means that its result will sometimes be incorrect. For example, parseInt(6.022e23) returns 6, whereas the correct answer would be 602200000000000000000000.

    3 votes
  5. Comment on The Mysterious Double Tilde (~~) Operation in ~comp

    musa_totter
    Link Parent
    According to my understanding, this is logically equivalent to a type cast, like so (C++): #include <iostream> int main(int argc, char *argv[]) { std::cout << (int)3.7 << std::endl; return 0; }...

    According to my understanding, this is logically equivalent to a type cast, like so (C++):

    #include <iostream>
    
    int main(int argc, char *argv[]) {
        std::cout << (int)3.7 << std::endl;
    
        return 0;
    }
    

    This prints 3. But since it seems there is no built-in casting mechanism in Javascript, tricks like this arise to force the cast to happen. Checkout out a benchmark of this and similar methods on your browser here. On my browser, this trick is equally as fast as bitwise-or and bitshifting.

    5 votes
  6. Comment on Factorio developers commit to a 1.0 release date - September 25, 2020 in ~games

    musa_totter
    Link
    Someone on reddit mentioned that this will coincide with Friday Factorio Facts #365. Pretty neat that they've kept at it as consistently as they have for a whole year of fridays.

    Someone on reddit mentioned that this will coincide with Friday Factorio Facts #365. Pretty neat that they've kept at it as consistently as they have for a whole year of fridays.

    6 votes
  7. Comment on Microsoft announces new Surface lineup, including two new dual-screen devices, one of which is an Android phone in ~tech

    musa_totter
    (edited )
    Link Parent
    There are actually a number of different processors used in the products revealed: Device CPU Surface Laptop 15" AMD Ryzen Surface Edition (R5 3580U / R7 3780U) Surface Laptop 13.5" Intel...

    There are actually a number of different processors used in the products revealed:

    Device CPU
    Surface Laptop 15" AMD Ryzen Surface Edition (R5 3580U / R7 3780U)
    Surface Laptop 13.5" Intel i5-1035G4 / i7-1065G7
    Surface Pro 7 Intel i3-1003G1 / i5-1035G4 / i7-1065G7
    Surface Pro X Microsoft SQ1 (a customized Qualcomm processor)
    Surface Neo Unspecified Intel processor (shown in announcement video)
    Surface Duo Unspecified
    2 votes
  8. Comment on Privacytools delisted Brave from their website in ~tech

  9. Comment on A 20 Year Old DOOM Record Was Finally Broken in ~games

  10. Comment on Tencent controls 15% of gaming market and brought in nearly $20 billion in 2018 in ~games

    musa_totter
    Link
    Valve isn't on the list, presumably because it isn't public. Any ideas where they would be on the list?

    Valve isn't on the list, presumably because it isn't public. Any ideas where they would be on the list?

    5 votes
  11. Comment on Reddit testing a new "tip" feature. Giving real money to other users. in ~tech

    musa_totter
    Link Parent
    It further incentivizes people to keep making posts that Reddit's audience likes. Getting gold is somewhat desirable, but actual money is useful to you. I'm convinced that YouTube and Twitch have...

    It further incentivizes people to keep making posts that Reddit's audience likes. Getting gold is somewhat desirable, but actual money is useful to you. I'm convinced that YouTube and Twitch have much more content today than they would have if they had never added monetization for content creators. Similarly, I wonder if Reddit tipping could result in people (or more people than already) posting to Reddit for a living.

    1 vote
  12. Comment on Here's an animated scene I've been working on. in ~creative

    musa_totter
    Link Parent
    Are you on mobile? Imgur always redirects to the full page on mobile unless you do extra URL trickery.

    Are you on mobile? Imgur always redirects to the full page on mobile unless you do extra URL trickery.

    3 votes
  13. Comment on Anyone use a utility called Device Remover? in ~comp

    musa_totter
    Link Parent
    I've never used it before, but you can download it from an old version of the page on the Internet Archive here. Have you tried emailing him at the address on the archived page? On a different...

    I've never used it before, but you can download it from an old version of the page on the Internet Archive here. Have you tried emailing him at the address on the archived page?

    On a different note, I'm a little surprised such a stub-like Wikipedia page survived for so long and has met the notability guidelines.

    4 votes
  14. Comment on Filtering specific users in ~tildes

    musa_totter
    Link
    What makes you want to filter out users? I'm curious because a lot of the possibilities I come up with could probably also be covered by the upcoming trust system or by proper tagging.

    What makes you want to filter out users? I'm curious because a lot of the possibilities I come up with could probably also be covered by the upcoming trust system or by proper tagging.

    4 votes
  15. Comment on Would anyone be interested in a Tildes-exclusive Minecraft server (again)? in ~games

    musa_totter
    Link Parent
    It's been pretty empty, I was the only regular player AFAIK and I haven't been on in a week or so, so he may have just shut it down.

    It's been pretty empty, I was the only regular player AFAIK and I haven't been on in a week or so, so he may have just shut it down.

    2 votes
  16. Comment on Fandom (Wikia) is acquiring Curse Media from Twitch, which will include combining Gamepedia into Fandom in ~games

    musa_totter
    (edited )
    Link
    That's a shame, IMO Gamepedia is much better than Wikia. I hope they learn from what Gamepedia does better, rather than just migrating Gamepedia sites over to Wikia, but I don't think they will....

    That's a shame, IMO Gamepedia is much better than Wikia. I hope they learn from what Gamepedia does better, rather than just migrating Gamepedia sites over to Wikia, but I don't think they will.

    Side note, does this deal also include Feed the Beast? (Edit: According to the reddit thread, probably not.)

    8 votes
  17. Comment on The cover of MAD magazine #258 from October 1985 announces a special computer section featuring the MAD Computer Program in ~tech

    musa_totter
    Link
    For those who want to see the original output but don't want to run Flash or install AppleWin, here is a screenshot of the end result.

    For those who want to see the original output but don't want to run Flash or install AppleWin, here is a screenshot of the end result.

    2 votes
  18. Comment on Watch EVERYONE pick the iPhone XR over a 1080p Screen in ~tech

    musa_totter
    Link Parent
    How would I go about identifying OLED screens that are or aren't pentile (assuming I'm going off online information)? I don't believe that is usually listed in product page device specifications.

    How would I go about identifying OLED screens that are or aren't pentile (assuming I'm going off online information)? I don't believe that is usually listed in product page device specifications.

  19. Comment on How old is too old for trick-or-treating? in ~misc

    musa_totter
    Link Parent
    In my area (in the US) we just turn off the porch lights and we don't get much of anyone coming to our door. Are the kids more insistent in your area?

    Isn't it? You want a quiet night in, but instead you've got a steady stream of children turning up at your door asking for lollies.

    In my area (in the US) we just turn off the porch lights and we don't get much of anyone coming to our door. Are the kids more insistent in your area?

    7 votes
  20. Comment on How important is response time in monitors and how distinguishable is it? in ~comp

    musa_totter
    Link Parent
    Wow, 20ms sounds kind of high for a system expected to run at 90fps (11ms/frame) or better

    Wow, 20ms sounds kind of high for a system expected to run at 90fps (11ms/frame) or better

    5 votes