• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle






  • #1 - What direction are the floor joists running, you would typically run perpendicular to the joists to minimize waviness on the floor.

    #2 - You would typically run it longways past the door, so the sun shining in doesn’t go along the board length.

    #3 - There’s really no WRONG way to do this, because the LVP flooring doesn’t have much structure to it, and it’ll just follow the contouring of the subfloor. So whatever way you think looks best, go for it.

    #4 - If the walls are really out of square, you can also go at a 45 degree angle to hide that. It’ll use up a LOT more flooring, but it also looks pretty cool when it’s all done.

    edit: Picture #2 would be the more “right” way to do it, but again, if that’s not what you like, then it’s up to you. Also, not sure if this was just the way you are demonstrating, but you’re also going to want to have a little more randomness in the board ends, don’t have them alternate in a pattern like you have it.





  • Feels like some of that stuff, like the SSD’s are a bit overkill for a media server. Most of them still use spinning disks to maximize size vs. cost.

    Additionally, the CPU/GPU needs of a media server are pretty minor, unless you need to transcode on the fly, and even then, single streams aren’t very intensive either.

    So unless you’re capping the outgoing bandwidth to multiple external sources, you’re most likely just streaming the video source as-is to the destination, which just needs a stable network stream. If you don’t need to transcode at all, you don’t really even need a GPU on the hardware.






  • I would just write down the steps I would take, just some psudocode. It doesn’t have to work, it just has to make sense in the style of the language you’re talking about.

    import random library  
    import any GUI/display libraries required for the outcome desired
    
    build array of integers [1..52] (or 0..51 if you're being fancy)
    for loop 1..1000
           select random number A 1..52 (or 0..51 if you used that above)
           select random number B 1..52 (or 0..51 if you used that above)
           swap elements in the array A and B
    pop first two elements from array
    decode at display time what the two numbers represent in terms of playing cards
    

    If the test requires more than that, then they’re crazy. The syntax doesn’t matter, just that you can logic yourself through the problem.
    You can use the IDE, google, or whatever to fill in the specifics. If you wanted me to do that in literally any programming language, once the psudocode is done, you just spend an hour or so looking up the details.