I blow hot air.

  • 9 Posts
  • 106 Comments
Joined 1 year ago
cake
Cake day: July 6th, 2023

help-circle

  • I learned that type of stuff in college, so I can’t personally recommend any online sources. However, I can tell you that what you’re looking for falls under “Data Structures and Algorithms”. IIRC my degree required 3 classes with that name. Lots of sorting algorithms in that field since they make great case studies.

    You learn the various data structures and algorithms available, their strengths and weaknesses, how they work, when to use them, etc…

    You also learn how to measure performance, like Big-O notation, the bane of many a CS student’s existence.


  • I’m on mobile, so I can’t test out any specifics, but this is typically handled with overflow and text-overflow. With those two, plus maybe playing with width, you should be able to achieve what you’re looking for.

    CSS can be really hard and unruly sometimes, even for professional web devs with years of experience. It doesn’t make you dumb. Struggling with stuff like this is exactly what everyone goes through as an essential step of the learning process.




  • Vent@lemm.eetoMemes@lemmy.mlHey girl
    link
    fedilink
    arrow-up
    39
    arrow-down
    2
    ·
    edit-2
    2 months ago

    The people in the meme are at about Seattle and NYC, which is a little over 3k miles apart (by car). You’d need to be going 250mph for the entire 12 hours to make that distance. A quick google search says that the maximum operating speed of a bullet train is 200mph, but tests have been conducted at 275mph.

    So, you’d need to go non-stop at 125% max speed to make the trip in 12 hours. Even if you went at 275mph, realistically you’d make a lot of stops along the way, which is going to make the average speed a lot lower. Trains are great, but the US is really big.

    Bonus fact: a non-stop flight from Seattle to NYC takes about 5.5 hours.



  • Vent@lemm.eetoProgramming@programming.devProgramming Sucks
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    2 months ago

    Oh, it’s drag-and-drop only with no keyboard support whatsoever. Changing a variable is hidden beneath 12 menus, and it uses a proprietary IDE that locks up after every click. Looks great in screenshots though!

    You can 100% fire all your developers!*

    *As long as your business users have loads of free time and the skillset of developers.









  • All these answers read like they’re written for comp sci students rather than a general audience. Let me give an ELI5 (more like ELI12) a shot.

    Ports are just numbers. They aren’t physical pathways or doors or windows or anything like that. A better analogy is a street address, like an apartment number. Your IP address identifies your computer (apartment building), and the port identifies the program on the computer (the apartment). When a program needs to talk to the internet, which is very similar to sending a letter, it hands a packet/letter to your computer and your computer assigns the program a port number. It then puts that number on the return address of the letter so that the recipient knows where to send the response. The computer remembers that port number is associated with that program, so when it gets an incoming letter with that number, it gives it to the program. After the program is done talking to the internet, the computer frees the port up to be used by another program.

    Ports are “closed” when there is no program associated with them. Any incoming letters are ignored because they have nowhere to go.

    Ports are “open” when they’re associated with a program. This happens automatically when programs send outgoing letters, or you can manually open (or “forward”) ports by telling your computer/router what the port should be associated with and that it shouldn’t use the port for something else.

    ELI5 over.

    The internet is networks on top of networks on top of networks, so your computer will have an IP and assign a port number, then your router will remember that and change the address on the letter to its own IP with a different port number, then that process repeats a few more times until eventually it reaches its destination. You don’t have to deal much with your computer’s internal network, but occasionally you have to deal with your router’s by opening/forwarding a port because it has a NAT that has to deal with all of the devices on your network. Forwarding the port just tells your router to always send incoming letters with that port number to a specific device.



  • Podman is purposefully built to rely on systemd for running containers at startup. It ties in with the daemonless and rootless conventions. It’s also nice because systemd is already highly integrated with the rest of the OS, so doing things like making a container start up after a drive is mounted is trivial.

    Podman has a command to generate systemd files for your containers, which you can then use immediately or make some minor tweaks to your liking.

    I use podman for my homelab and enjoy it. I like the extra security and that it relies on standard linux systems like systemd and user permissions. It forces me to learn more about linux and things that apply to more than just podman. You can avoid a lot of trouble by running the containers as root and using network=host, but that takes away security and the fun of learning.


  • Vent@lemm.eetoPrivacy@lemmy.mlroku remote app showing ads now
    link
    fedilink
    arrow-up
    32
    arrow-down
    2
    ·
    6 months ago

    That’s crappy, but have you seen what other remote apps are doing?

    Vizio has an ad that takes up around 25% of the screen!

    MyQ has a large scrolling ad at the top, and they are actively hostile towards any integration that allows you to control your garage door without using their app (unless you use one of the very few subscription-based integrations they offer, of course).

    vizio app with a huge ad

    myQ app with a scrolling ad