• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics with the tag "advice". Back to normal view
    1. I'm thinking of getting a password manager. How does it work and any advice on transitioning to one?

      The reason why is to make more accounts for reddit, YouTube (one for entertainment and Portuguese content each) news sites where signing up is an alternative to pass a paywall and other sites with...

      The reason why is to make more accounts for reddit, YouTube (one for entertainment and Portuguese content each) news sites where signing up is an alternative to pass a paywall and other sites with comment sections. Bad euphemism bro. Also some sense of "praxis" in order to gain privacy.

      Edit: And also getting anxious at the idea of remembering all my passwords, and putting them in a note in my old phone, which I am not bringing into my new phone and want to use this to delete.

      According to these two articles, I can save my old passwords I had before and maybe even still make new ones after, and put them in a folder behind one true (master) password, which is the one you will truly care about, and they will be saved in a way in which the managing company won't know your password?

      There's also figuring out which provider to use (and probably a similar post for alt-mail providers.) This is overwhelmingly for mobile (Android). No real space constraints for apps, only price, because I'm not working age.

      27 votes
    2. How do you convey emotions in text?

      It's something I've struggled for a long time to do in text conversations. People will often think I'm mad when talking in a way that I think is perfectly normal or that I'm a brick wall while...

      It's something I've struggled for a long time to do in text conversations. People will often think I'm mad when talking in a way that I think is perfectly normal or that I'm a brick wall while discussing disagreements and well, that can't be fun. I often have to reassure certain people that it's not the case.

      Sometimes I try to show how I'm feeling through emotions or more "fluffy" language but I feel like that's too excessive and feels kinda fake to me?

      It's also something I've more recently struggled with because I'm trying to write personally on my blog and I'm not exactly sure how to convey my feelings other than stating it like a robot like "This makes me mad" or "That's depressing" or "It makes me feel great".

      It feels off to me and maybe it's just a me problem but I think that's also because I write the same way I speak and so, it just sounds strange.

      I don't know, this post is rambly and I've been wanting to write something like this in the last few days but I just have to push enter at some point.

      10 votes
    3. Full-stack developers starting a software agency?

      Hey guys, I have been flip-flopping back and forth on this idea for a while, and would love some feedback on whether peeps would find this valuable. Although I still call my self a "software...

      Hey guys,

      I have been flip-flopping back and forth on this idea for a while, and would love some feedback on whether peeps would find this valuable.

      Although I still call my self a "software developer" (and try to code daily), for the last 8 years I have ran a small 5-person agency that I started from the ground up, so my role was really CEO/CTO/CFO/Everything-O. My company focused on delivering high-quality custom software. Not brochure websites, and not Wordpress - our niche was internal business software (or as I like to call it "boring software for boring businesses") - and for a client service company we got very high margins of return.

      Last year my business was acquired by a larger company which was an amazing result after the time and effort I had poured into it. I have realised I now want to help other developers who want to start their own software agency, or maybe they already have and are looking for hints or advice on certain topics.

      So I have started Dev to Agency - a part blog part guidebook for how a full-stack developer can start and successfully run a software development agency, the things to pay attention too (and the things to ignore), and the key-values that I feel helped my business go from nothing, to 7 figures per year, and then to being acquired (if that is a path people would want to take).

      I have just published my first couple of posts, About Dev To Agency that is a rundown of what I hope to achieve with this, then a post about My small custom software development agency - which gives an overview of what I built and where I think my articles will add value, and lastly You are the gold standard which covers how I feel an owner/maker should set the businesses standards and practises based of their personal values.

      I have never written a blog before (or really done any writing before), so it would be fantastic to get some feedback from the community, and if there are any developers that this could interest then please subscribe on the website.

      Cheers,

      Chris.

      15 votes
    4. Tips to use NixOS on a server?

      I see some people using NixOs on their servers. I would like to try it out to self host some services and learn about NixOs. I use hetzner and they have an NixOs iso available so I can just use...

      I see some people using NixOs on their servers. I would like to try it out to self host some services and learn about NixOs.

      I use hetzner and they have an NixOs iso available so I can just use that to install NixOs. But how do people manage remote instances of NixOs? They would just use ansible or something like it, to run nix on the host, or is there a better way?

      Thanks

      11 votes
    5. [SOLVED] A background process using a significant amount of CPU power stops immediately when I open task manager. Is there a way to identify what's doing thing?

      It started a day or two ago. Three threads (I think?) jump from nearly 0% to 100% and go back as soon as I open task manager to try figure out what's causing it. My first thought was a virus or...

      It started a day or two ago. Three threads (I think?) jump from nearly 0% to 100% and go back as soon as I open task manager to try figure out what's causing it. My first thought was a virus or bitcoin mining trying to hide itself (though isn't that done on GPU's?), but Windows' Defender came up empty handed.

      I know certain OS apps, like automatic VIRUS scans behave similarly, stopping when you click or type, but this culprit seems to only react to opening the task manager. It also doesn't start again until task manager has been closed for a while.

      17 votes
    6. Surviving the winter

      When I was a child I never seemed to mind the winter, but in the past two or three years it's become exponentially harder for me to live through the cold and dark. I'm dreading the next few...

      When I was a child I never seemed to mind the winter, but in the past two or three years it's become exponentially harder for me to live through the cold and dark. I'm dreading the next few months.

      The lockdowns in March and April were pretty agonizing because I had too many responsibilities but suddenly none of the support systems I had built up in my friend groups. I got through that because it was slowly getting warmer and I could just go on a walk if I needed space. But it's started snowing this week and I don't know how well I'm going to manage for the rest of the season, with it getting dark at 4 PM and seeing so few people. I get caught up in my own head in these destructive patterns of anxiety about past friendships and relationships and obligations that are very hard to escape from around this time of year. I have a lot of hobbies but I can't do most of them right now, so I kind of just end of staring at the wall or my phone for half the day, feeling bad that I screwed up a relationship or said something weird 6 months ago or whatever. On repeat for every day. I have some friends in the area who I like a lot, but I'm a little scared to leave my house from what I hear about the virus on the internet. I've been trying to do phone calls sometimes but they kinda just burn me out and make me feel worse.

      I'm wondering if anyone else has a recurring problem with the winter like I do. I'm not sure if this is a normal thing and I'm just naive and haven't figured it out, or if most people are automatically as happy in the winter as they are in the summer. I've brought this up sometimes with people irl and they say "haha yeah I have seasonal depression too," but they mostly seem to just not like the cold (?), it's not the issue of banal-yet-existential dread and torturous self-probing that I can't avoid. I have a very sweet cat who will keep me company, and she's a good listener, but she doesn't talk a lot and she's hiding in another dimension half the time anyway. I journal and meditate every night, and that helps a little, but I really mostly rely on being able to go to pretty places to keep myself happy, and it's hard to do that when they're all closed or when it's too cold to be outside for a long time. If people have any thoughts or experiences I would love to read them.

      thank you xoxo

      19 votes
    7. What's your relationship with advice?

      How often do you tend to give or receive advice? If/when you're receiving it, from where/who? And about what? If you're giving advice, what is it usually about? If you're confident in your...

      How often do you tend to give or receive advice?

      If/when you're receiving it, from where/who? And about what?

      If you're giving advice, what is it usually about?

      If you're confident in your knowledge/advice in any given area, what places do you not reccomend people take advice in that area from?

      What people/places do you get advice from?

      Do you ever get or follow places that give advice you won't use until far later? (I admittedly do this quite a bit by lurking r/sex.)

      8 votes
    8. Any way to get a Canadian (CBC) show in the US?

      My spouse is a retired dancer interested in watching the CBC comedy Off Kilter. When we go to their website and click on "Watch Now", all of the episodes show as "This video is unavailable". They...

      My spouse is a retired dancer interested in watching the CBC comedy Off Kilter. When we go to their website and click on "Watch Now", all of the episodes show as "This video is unavailable". They appear to be on YouTube, but when I go to YouTube, I can only watch the trailer. If I attempt to watch episode 1 it again says, "This video is unavailable." So I assume it's some sort of geo-locking or something? I'd even happily pay for them, but they don't appear to be offered on any service on the AppleTV (at least in the US). What's the recommended way to watch such a show? As I say, paying isn't an issue, just watching.

      7 votes
    9. What do I need to know about switching from Android to iOS for my phone?

      I've been all in on Android for quite a while, but I'll be making the jump to an iPhone with the next phone I get, which will end up being soon, as my current one is having some hardware issues....

      I've been all in on Android for quite a while, but I'll be making the jump to an iPhone with the next phone I get, which will end up being soon, as my current one is having some hardware issues.

      What do I need to know about crossing over?

      In particular, I would like to leave my Google account behind and NOT have it logged into my new phone. I use Fastmail for my email and contacts -- will I be able to sync my contacts easily to an iOS device from it, or will I have to import them into iCloud?

      I'm also open to app recommendations for basic stuff -- preferably ones that are open-source and privacy-friendly. On Android I run a lot of stuff out of F-Droid, but I know iOS is a lot more locked down, so I'm interested to know what the best options are in their store (I have no interest in jailbreaking mg device).

      Also, are there any huge disadvantages I should be aware of regarding older models? The new line just came out, which means the older ones are cheaper, and I'm a casual enough phone user that I should be fine with older hardware, but I want to know if there are any big tradeoffs.

      Finally, if there are any cool iOS tips or tricks I should know about, let me know!

      16 votes
    10. An honest question about gender, sexuality, and the LGBTQ+ community

      Hello! If you've clicked on this I'd like to start off by apologizing for the title! I'm in a bit of a strange headspace right this moment as I try to digest some thoughts thrown my way today. I'm...

      Hello! If you've clicked on this I'd like to start off by apologizing for the title! I'm in a bit of a strange headspace right this moment as I try to digest some thoughts thrown my way today. I'm currently coming at this from the personal lens of myself, but I think there are some larger questions/generalizations that could be made and might be helpful for others.

      Ok, so for some background I am a "straight" man. My previous partners have all been women, with the exception of one who identified as female when we were dating, and my current partner is non-binary but female-presenting and has identified as such the entirety of the time we have been dating. I have previously viewed myself as straight and an ally to my partner and the lgbtq+ community. Today, I was having a long conversation with my cousin about his experiences coming out of the closet and with homophobia in our family. I mentioned at one point that I didn't feel comfortable making some assumptions/statements since I am straight and not a member of the community. He (very politely) brought up that, at least strictly technically speaking, the fact that I am dating someone who is non-binary means we are not in a heterosexual relationship and that I am not technically straight, more likely being bi or pan (if we could lets not turn this into the bi vs pan debate which I know is a controversial topic but not really what I'd like to focus on). He also made a point to stress that these are all technical definitions and that gender and sexual identity are very personal and if I don't feel that it describes me then it isn't for him to decide I'm wrong. This made me a bit uncomfortable. It made me uncomfortable because while he's right, it feels wrong. I feel like if I began identifying as pan/bi, it would come off as a straight white male looking for a way to put himself in the position of being oppressed or marginalized for woke points. I don't know if it is because the college I went to was full of dudes like this, constantly looking for ways to be the victim, but its just something I feel deep in my bones. I don't really know though. I feel like if someone came up to me and described my life as their own and told me they identified as pan/bi I would agree and support them, but I won't extend that to myself. I don't know if its just a lifetime of assuming I was straight is why this is or if the term is actually wrong.

      I guess to summarize/generalize, I'll put some reallly fucking loaded questions where I know the 'real' answer is "It is a deeply personal thing and will vary by person to person because the LGBTQ+ community isn't a monolith with all the same ideas" but I'm hoping maybe writing all this out and reading some of the results will help me color, process and digest my thoughts.

      1. What/where would you put the line between straight and not straight (if anywhere). I know personally while I like to keep an open mind, I do heavily preference female-presenting people, whether they be trans, nb, or identify as a woman. But is that openness to dating someone who doesn't identify as a woman enough for me to be not-straight? I want to say yes, I don't think you need to date someone of a different gender to be not-straight. My cousin is bi but has exclusively dated men. I wouldn't tell him he isn't bi.

      2. I am very uncomfortable with this question but do you feel there is a degree of "not-straight" you need to be to be an active part of the queer community. To kind of explain my thoughts on that: From an outside perspective, no one that hasn't been told my partner is nb would question if we said we were a straight couple. I've never and probably will never feel fear or be oppressed based on my sexuality. I dunno. I just feel really weird. like I'm inserting myself into a community I've always identified as an ally of but been an outsider to.

      Anyway, sorry for this rant. I know the two questions are really loaded and I honestly feel like I know the answer to both of them. But just because i know the answer doesn't change how conflicted I feel and so I guess I'm just trying to work through some of the thoughts and conflicts.

      I also want to take a second to note: I am actively talking with my partner about these thoughts and feelings. This is an ongoing discussion in our household, I am just looking for more perspectives and views to help me see things from different angles and work through my thoughts and feelings. Helping me through this is absolutely not the responsibility of anyone on Tildes and I don't want it to seem like I am putting that pressure on the community.

      18 votes
    11. Is there a video downloader extension/program that still works?

      In the past I used whatever Chrome extension I found, then moved on to youtube-DLG because Google Play store doesn't allow extensions that let you download off of Youtube. Now neither is working,...

      In the past I used whatever Chrome extension I found, then moved on to youtube-DLG because Google Play store doesn't allow extensions that let you download off of Youtube. Now neither is working, on and off Youtube. I'd wager websites are trying to actively fight people downloading videos, even though (I assume) the data is likely identical to what we're viewing in the browser.

      9 votes
    12. Did youtube just make it so you can't watch embedded videos that have an age restriction without logging in?

      I just try to navigate the internet with as little "logging in" as possible. Youtube always had an age restriction that forced you to confirm your age by logging in but it could be bypassed when...

      I just try to navigate the internet with as little "logging in" as possible. Youtube always had an age restriction that forced you to confirm your age by logging in but it could be bypassed when watching the video embedded on another site. I just tried for the Hitman 3 trailer on /r/games and it didn't let me. That's the first time this happened. Could it be just some adblock thingy? Or are they no longer letting you watch restricted content without logging in?

      10 votes
    13. esoteric board game rules templating review, please

      I'm working on a card game that would arrive to your home without a rulebook, but I'm having a comprehensibility problem. Below is some basic rules text for this game. If you had enough time to...

      I'm working on a card game that would arrive to your home without a rulebook, but I'm having a comprehensibility problem. Below is some basic rules text for this game. If you had enough time to decipher the below, do you believe you could understand its meaning? Are there any words which are too obscure?

      Join a game by selecting a central objective from among its currently apparent contests. Catch a turn from wherever to start playing then describe your plan aloud to the group. If anyone agrees that your plan is valid (legal?) then they can accept you into the game as their second. Anyone else who wants to join at this point may also join/rejoin as your teammate.

      Contests are tensions between two scales which can be described by consensus. For example, imagine I'm 1v1 with Ah while you are on a team with Bo and Ci against Du. Imagine Du sees that the tide is not in their favor, and decides to jump ship to the other game. They may do so at any time by admitting they want out of their losing position and describing which team in the other game they would like to swing over to join (My team or Ah's.). Bo, Ci, and you are left in the boat without an opponent. This may cause a crisis (see "Crisis Card").

      Farewell, I am off to prepare lunch for a child.

      4 votes
    14. How can I buy some Marvel comic books for my Swedish nephew?

      So my nephew is Swedish and lives in Gothenburg. He’s 5. Apart from small kids' stuff, my sister says she never saw comic books being sold in her town. My nephew’s favorite superhero is...

      So my nephew is Swedish and lives in Gothenburg. He’s 5. Apart from small kids' stuff, my sister says she never saw comic books being sold in her town. My nephew’s favorite superhero is Spider-Man. On his last trip to Brazil, he loved my comic books. He cannot read yet, but my sister reads for him (she will skip anything inadequate for his age, of course. He can always reread later). She thinks he would prefer getting several small issues (48 pages usually I believe?) than a single book with the same page count (it's "more stuff" in his mind :P). The preferred languages are Swedish and Brazilian Portuguese (not European Portuguese). I would send him some in Portuguese but shipping would be slow and super expensive.

      So, are Marvel’s monthly issues even published in Swedish? If so, how can she acquire those?

      7 votes
    15. Can you write ad-blocker rules to essentially blacklist mention of certain people?

      I've just read a journal from someone on another site saying that they wished there was a blacklisting system which stopped them seeing submissions from, to or about certain other users in their...

      I've just read a journal from someone on another site saying that they wished there was a blacklisting system which stopped them seeing submissions from, to or about certain other users in their feed, as it is potentially trauma-inducing for them to log in and keep seeing them come up. I assume that the person looking for this blacklist isn't realistically able to just leave the site, because it's the most populous of its kind and serves as an art portfolio or source of income.

      Is this, or something like it, actually possible to do with custom ad-blocker rules, or do they need to just wait for the site's admins to get around to it?

      6 votes
    16. Privacy is a lonely bastion. Anyone know how to meet friends online these days?

      At some point we recognized the signs of desperation. My wife and I had been running to the window like puppies for a glimpse of any unusual traffic. We caught ourselves bingeing on news articles,...

      At some point we recognized the signs of desperation. My wife and I had been running to the window like puppies for a glimpse of any unusual traffic. We caught ourselves bingeing on news articles, as if saturating ourselves with reporting could somehow make us relevant to a world that saw less and less of us. We even resorted to calling my mother. After listening to 90 uninterrupted minutes of narration regarding her most recent routine doctor’s visit, we broke down. We resolved to end the isolation that was slowly killing us. Then the pandemic hit.

      Our biggest stumbling block is figuring out how can we make friends online using only privacy-respecting platforms and software? We would like to see some friendly faces in real time without being simultaneously, you know, mined. Could anyone in the know share suggestions?

      Edit: I'm grateful people are considering this. Thank you! I find it helps to ask people what their ideal solution would be, no matter how far-fetched. So, in response to that: My dream platform/venue/project would meld aspects of Lunchclub with The Human Library. I have stories to tell. I would love to video chat with fully-clothed individuals drawn from all over the world, chosen based on their stories and ambitions. It would work the way a good host does. You know, "Greta once had the job of getting sweat stains out of Bruce Springsteen's guitar strap. You two should swap cleaning stories, since you work at that drycleaner's, right, Butchie? Is it true it's a front for the mob? Oh, excuse me, I have to disinfect the pizza guy. I'll leave you to it." Maybe I should flesh this out more.

      36 votes
    17. What tips or tricks do you use when researching a topic to find actually useful information?

      Stop me if you've heard this one before: You get an idea for something you'd like to learn more about. (Maybe you have a question, maybe you want to explore a new hobby, or maybe you want to make...

      Stop me if you've heard this one before:

      • You get an idea for something you'd like to learn more about. (Maybe you have a question, maybe you want to explore a new hobby, or maybe you want to make a more informed decision.)
      • You type something into a search engine.
      • You click a result, only to realize that what you're reading is poorly written. It seems rushed, surface-level, and ill-informed. "This doesn't answer my question at all!" you think to yourself.
      • You go back, and try another one, and another one, only to give up and put the idea back in your head.

      I don't think these webpages are written to be useful in the first place. They seem to be written to attract attention to the website for other reasons (ad revenue, affiliate links, to draw attention to a product or service). Regardless of why it's happening, though, I want to find a better way to search.

      The sort of content I'm looking for is written by someone who really cares about the topic. I want to learn from dorks and nerds and passionate people. Once I stumbled across this blog about extra virgin olive oil. The website isn't pretty, and it goes way more in depth than I'll ever need, but I trust the author, and there are some really interesting nuggets of insight on these pages. (e.g. "Another myth debunked: Heating EVOO makes it ‘toxic’")

      Do you have any tips or tricks to more reliably find these sorts of sources (whether online or in-person)?

      15 votes
    18. Developer Resume Review

      I am currently a junior in college and in search of summer internship for next year. I am not seeing much response and starting to wonder if it is an issue with my resume. Is there any chance one...

      I am currently a junior in college and in search of summer internship for next year. I am not seeing much response and starting to wonder if it is an issue with my resume. Is there any chance one of you would be willing to take a look at it? Open to any and all feedback.

      Thank you for your time.

      Resume

      12 votes
    19. In which a foolish developer tries DevOps: critique my VPS provisioning script!

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the...

      I'm attempting to provision two mirror staging and production environments for a future SaaS application that we're close to launching as a company, and I'd like to get some feedback on the provisioning script I've created that takes a default VPS from our hosting provider, DigitalOcean, and readies it for being a secure hosting environment for our application instance (which runs inside Docker, and persists data to an unrelated managed database).

      I'm sticking with a simple infrastructure architecture at the moment: A single VPS which runs both nginx and the application instance inside a containerised docker service as mentioned earlier. There's no load balancers or server duplication at this point. @Emerald_Knight very kindly provided me in the Tildes Discord with some overall guidance about what to aim for when configuring a server (limit damage as best as possible, limit access when an attack occurs)—so I've tried to be thoughtful and integrate that paradigm where possible (disabling root login, etc).

      I’m not a DevOps or sysadmin-oriented person by trade—I stick to programming most of the time—but this role falls to me as the technical person in this business; so the last few days has been a lot of reading and readying. I’ll run through the provisioning flow step by step. Oh, and for reference, Ubuntu 20.04 LTS.

      First step is self-explanatory.

      #!/bin/sh
      
      # Name of the user to create and grant privileges to.
      USERNAME_OF_ACCOUNT=
      
      sudo apt-get -qq update
      sudo apt install -qq --yes nginx
      sudo systemctl restart nginx
      

      Next, create my sudo user, add them to the groups needed, require a password change on first login, then copy across any provided authorised keys from the root user which you can configure to be seeded to the VPS in the DigitalOcean management console.

      useradd --create-home --shell "/bin/bash" --groups sudo,www-data "${USERNAME_OF_ACCOUNT}"
      passwd --delete $USERNAME_OF_ACCOUNT
      chage --lastday 0 $USERNAME_OF_ACCOUNT
      
      HOME_DIR="$(eval echo ~${USERNAME_OF_ACCOUNT})"
      mkdir --parents "${HOME_DIR}/.ssh"
      cp /root/.ssh/authorized_keys "${HOME_DIR}/.ssh"
      
      chmod 700 ~/.ssh
      chmod 600 ~/.ssh/authorized_keys
      chown --recursive "${USERNAME_OF_ACCOUNT}":"${USERNAME_OF_ACCOUNT}" "${HOME_DIR}/.ssh"

sudo chmod 775 -R /var/www
      sudo chown -R $USERNAME_OF_ACCOUNT /var/www
      rm -rf /var/www/html
      

      Installation of docker, and run it as a service, ensure the created user is added to the docker group.

      sudo apt-get install -qq --yes \
          apt-transport-https \
          ca-certificates \
          curl \
          gnupg-agent \
          software-properties-common
      
      curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
      sudo apt-key fingerprint 0EBFCD88
      
      sudo add-apt-repository --yes \
         "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
         $(lsb_release -cs) \
         stable"
      
      sudo apt-get -qq update
      sudo apt install -qq --yes docker-ce docker-ce-cli containerd.io
      
      # Only add a group if it does not exist
      sudo getent group docker || sudo groupadd docker
      sudo usermod -aG docker $USERNAME_OF_ACCOUNT
      
      # Enable docker
      sudo systemctl enable docker
      
      sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
      sudo chmod +x /usr/local/bin/docker-compose
      sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
      docker-compose --version
      

      Disable root logins and any form of password-based authentication by altering sshd_config.

      sed -i '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^PasswordAuthentication/s/yes/no/' /etc/ssh/sshd_config
      sed -i '/^ChallengeResponseAuthentication/s/yes/no/' /etc/ssh/sshd_config
      

      Configure the firewall and fail2ban.

      sudo ufw default deny incoming
      sudo ufw default allow outgoing
      sudo ufw allow ssh
      sudo ufw allow http
      sudo ufw allow https
      sudo ufw reload
      sudo ufw --force enable && sudo ufw status verbose
      
      sudo apt-get -qq install --yes fail2ban
      sudo systemctl enable fail2ban
      sudo systemctl start fail2ban
      

      Swapfiles.

      sudo fallocate -l 1G /swapfile && ls -lh /swapfile
      sudo chmod 0600 /swapfile && ls -lh /swapfile
      sudo mkswap /swapfile
      sudo swapon /swapfile && sudo swapon --show
      echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
      

      Unattended updates, and restart the ssh daemon.

      sudo apt install -qq unattended-upgrades
      sudo systemctl restart ssh
      

      Some questions

      You can assume these questions are cost-benefit focused, i.e. is it worth my time to investigate this, versus something else that may have better gains given my limited time.

      1. Obviously, any critiques of the above provisioning process are appreciated—both on the micro level of criticising particular lines, or zooming out and saying “well why don’t you do this instead…”. I can’t know what I don’t know.

      2. Is it worth investigating tools such as ss or lynis (https://github.com/CISOfy/lynis) to perform server auditing? I don’t have to meet any compliance requirements at this point.

      3. Do I get any meaningful increase in security by implementing 2FA on login here using google authenticator? As far as I can see, as long as I'm using best practices to actually ssh into our boxes, then the likeliest risk profile for unwanted access probably isn’t via the authentication mechanism I use personally to access my servers.

      4. Am I missing anything here? Beyond the provisioning script itself, I adhere to best practices around storing and generating passwords and ssh keys.

      Some notes and comments

      1. Eventually I'll use the hosting provider's API to spin up and spin down VPS's on the fly via a custom management application, which gives me an opportunity to programmatically execute the provisioning script above and run some over pre- and post-provisioning things, like deployment of the application and so forth.

      2. Usage alerts and monitoring is configured within DigitalOcean's console, and alerts are sent to our business' Slack for me to action as needed. Currently, I’m settling on the following alerts:
        1. Server CPU utilisation greater than 80% for 5 minutes.
        2. Server memory usage greater than 80% for 5 minutes.
        3. I’m also looking at setting up daily fail2ban status alerts if needed.
      9 votes
    20. I got a piano

      My aunt is moving to a smaller apartment and her piano does not fit there, so I offered to take it. Not because I intended to play, but she wanted to keep it in the family out of nostalgia and...

      My aunt is moving to a smaller apartment and her piano does not fit there, so I offered to take it. Not because I intended to play, but she wanted to keep it in the family out of nostalgia and emotional attachment.

      It is under renovation and should arrive perfectly tuned.

      But now that I have it, I ask myself: why not play it? I had piano lessons as a kid, and I like classical music.

      Is there a straightforward way to learn piano by myself that doesn’t feel like much of a chore? Otherwise, the piano will just linger in my living room.

      12 votes
    21. [SOLVED] US websites no longer work, at all, in EU (?)

      So, I had an issue with the radionouspace.net website, referenced here. Since then, I've started hitting the exact same issue on a few other sites ... webpage never resolves, the browser just...

      So, I had an issue with the radionouspace.net website, referenced here. Since then, I've started hitting the exact same issue on a few other sites ... webpage never resolves, the browser just spins its wheels until it times out.

      I went thru and systematically shut down all of my add-ons, no joy. Tried other browsers, does not work anywhere ... except, oddly, sometimes, in TOR. On a hunch, I fired up my VPN service and tried to connect thru a US-based VPN server ... and there it is.

      I have now confirmed, multiple websites (I'm assuming these are all US-based -- have not checked) no longer resolve for me, here in Hungary. Can anyone, anywhere else in the EU, confirm this?

      I'm guessing this is the US response to the latest GDPR ruling against data-sharing across the Pond, but I'm on a "news fast" and haven't been keeping up-to-date ... anyone care to fill me in -- the "in a nutshell" version?


      Update: Definitely something local-ish, probably specific to my ISP. VPN thru Hungary works, non-VPN thru Hungary does not.

      10 votes
    22. What should I know about intermittent fasting?

      I know it's a big deal right now, but I don't know much about it. I sort of stumbled into it by accident because I don't feel safe eating at work right now, so most days I don't have any food...

      I know it's a big deal right now, but I don't know much about it.

      I sort of stumbled into it by accident because I don't feel safe eating at work right now, so most days I don't have any food until I get home around 4:00 to 4:30 PM. I'm also usually wrapping up my evening and in bed by 9:00 PM, so I end up with a roughly five hour window in which to eat. Last weekend I tried to follow it even though I was home and found it surprisingly easy to just not eat until that time, even though it was safe for me to do so and food was available.

      I was already calorie counting prior to this, but I noticed the shift to not eating at work accelerated my weight loss a little bit. It's also way easier to come in under my calorie count when I don't eat for most of the day.

      Because it seems like this is working (though granted, I'm in the very early stages), and because I don't really have a choice in the matter given that I can't safely eat at work anyway, I'm interested in learning about the do's and don't's of intermittent fasting. As a beginner to this, what should I know? I am mostly interested in just making sure I'm not doing any damage to myself or creating any potential problems that I don't realize, so safety is my primary concern. Weight loss is a secondary focus, though less essential because I feel like I've got that down with calorie counting. Any insights or resources you know of would be appreciated.

      14 votes
    23. Resources for learning Hebrew?

      I'd like to learn Hebrew, and my understanding is that the OT vocabulary is very limited, though creative word use, particularly in Hebrew poetry is a challenge to understand. I don't know enough...

      I'd like to learn Hebrew, and my understanding is that the OT vocabulary is very limited, though creative word use, particularly in Hebrew poetry is a challenge to understand.

      I don't know enough about the distinctions between Ancient and modern Hebrew to be certain, but I believe they are significant enough that Duolingo won't be a good fit, particularly as definitions of words in ancient Hebrew aren't always agreed upon.

      Are there any recommendations? I have the Biblia Hebraica Stuttgartensia and a couple other books, since I thought they would be good references, but a lot of the word formations are dependent on pronunciation, and reading descriptions of how to pronounce words isn't doing it for me.

      8 votes
    24. How can I reproduce my somewhat complicated Linux keymappings on Windows 10?

      I am stuck on Windows 10 for the time being, and I wish to make it function similarly to the arrangement I have on Linux, using xcape and xmodmap. This is what I need: Caps sends Escape on tap and...

      I am stuck on Windows 10 for the time being, and I wish to make it function similarly to the arrangement I have on Linux, using xcape and xmodmap. This is what I need:

      1. Caps sends Escape on tap and Control on hold
      2. Tab sends Tab on tap and Alt/Meta on hold
      3. Escape sends Caps (I rarely use this one).

      I find this setup extremely comfortable. Is there a way to achieve this on Windows (that a layman like myself could do?).

      7 votes
    25. New podcast name

      My friends and I are starting to work on a gaming focused podcast. It will cover news and provide our commentary and stories for anything related to games. It will be primarily about video games,...

      My friends and I are starting to work on a gaming focused podcast. It will cover news and provide our commentary and stories for anything related to games. It will be primarily about video games, but we will also cover board games and a little D&D. We've narrowed down the list of names we like and would like to get a little feedback. What do you think of these podcast names? Any feedback is appreciated, thanks!

      • DOT - Dialogue Over Time
      • Our Alts Have Day Jobs
      • Best in Slot
      • Theory Crafting
      • Data Mined
      7 votes
    26. How do you pick what sources of news you listen to?

      I've recently been getting into RSS reading and well, I usually just went with whatever was given in a forum (like Tildes for example). Although, I've recently been looking into news organizations...

      I've recently been getting into RSS reading and well, I usually just went with whatever was given in a forum (like Tildes for example). Although, I've recently been looking into news organizations I follow to see if I should actually trust them.

      Factors that came to mind to be important was looking at past controversies regarding them to see where they might fail in the future and who owns them. It made me realize that most sources I had actually might not be who I want to follow for news but then well, not many are left and while I do want to cut down on the amount of news I get because it's overwhelming, I also don't want to miss important news.

      So how do you pick what sources of news you listen and what are some news you trust and why?

      22 votes
    27. How to let someone down?

      for those still committed to monogamous relationships: if you've been in a situation where you're talking with a few people that could be romantic interests, how do you let them know it's not...

      for those still committed to monogamous relationships: if you've been in a situation where you're talking with a few people that could be romantic interests, how do you let them know it's not gonna happen once you've found the (current) one ?

      9 votes
    28. What's the deal with gemini?

      Hi! I've heard tilderinos talking about the gemini-verse on some other posts; I tried it out this evening and it honestly felt strange browsing in terminal and even stranger navigating the web...

      Hi! I've heard tilderinos talking about the gemini-verse on some other posts; I tried it out this evening and it honestly felt strange browsing in terminal and even stranger navigating the web without search engines. I was wondering if anyone had a gentler introduction than the official site? I feel like I've got a ship, but no map to this new verse.

      26 votes
    29. Is there a known image norm suitable for textured images?

      Suppose I am trying to iteratively produce a completed image from some subset using a combination of convolutional/DNN methods. What Image norm is best? The natural (for me) norm to ascribe to an...

      Suppose I am trying to iteratively produce a completed image from some subset using a combination of convolutional/DNN methods. What Image norm is best?

      The natural (for me) norm to ascribe to an image is to take the bitmap as a vector with L2. If the input image is anime or something else, the uniform coloring makes this very likely to be a good fit in a low dimension - that is: no overfitting.

      However: pictures of fur. Given a small square, the AI, set to extrapolate more fur from that single image, should be expected to get that stuff right next to the given subimage right, but further away, i want it to get the texture right, not the exact representation. So, if the AI shifts the fur far away from the image left by just the right amount, it could get an incredibly poor score.

      If I were to use the naive L2 norm directly, I would be guaranteed to overfit, and you can see this with some of the demo algorithms for image generation around the web. Now, the answer to this is probably to use a fourier or a wavelet transform and then take the LN norm over the transformed space instead (correct me if I'm wrong.)

      However, we get to the most complex class: images with different textures in them. In this case, I have a problem. Wavelet-type transforms don't behave well with discrete boundaries, while pixel-by-pixel methods don't do well with the textured parts of images. Is there a good method of determining image similarity for these cases?

      More philosophically, what is the mathematical notion of similarity that our eye picks out? Any pointers or suggestions are appreciated. This is the last of two issues I have with a design I built for a Sparse NN.

      Edit: For those interested, here is an example, notice how the predictions tend to blur details

      7 votes
    30. Deciding between Godot and Unity

      Hey, all. I'm back four weeks to the day after you guys gave me a lot of great advice about potentially making a 2D RPG out of my tabletop RPG. I decided to try both Godot and Unity given what...

      Hey, all. I'm back four weeks to the day after you guys gave me a lot of great advice about potentially making a 2D RPG out of my tabletop RPG. I decided to try both Godot and Unity given what people told me and I completed two tutorials for each over the last few weeks. After completing these two tutorials, I have some questions that I hope maybe some of you can answer to help me choose between the two.

      TL;DR at the bottom. This is a long post.

      For context, here's the tutorials I did:

      Godot - https://www.davidepesce.com/godot-tutorials/
      Unity - https://learn.unity.com/project/ruby-s-2d-rpg

      To be frank, the Unity tutorial wasn't really an RPG. There were no stats, no quests, XP. It was much more of an adventure game. That's fine, it still gave me a lot of time inside the engine to learn a lot of basics.

      So, working with each one had it's own up and downs.

      Unity's use of an external scripting program seemed to hurt me quite a bit, from simple things such as forgetting to save before going back to Unity (I did this way too much) to having to declare public variables in the script and then filling them in the Unity GUI rather than just doing it all by script. The editor itself also seems to be kind of heavy, I was get the spiral beach ball for a second or two every time I went between the script editor and Unity and I have a machine that can edit 8K video without proxies. These general load times and stuff like that seemed to come up regularly. Tilemapping in the tutorial didn't include autotiling, I assume Unity has this somewhere built in? Or do you need to purchase an asset to get this functionality?

      On the plus side, Unity overall seemed easier to use for a non-programmer. A lot of things are done through the GUI. Animations seem easier to handle for sure. The Unity tutorial was also more written for someone that hasn't coded much as it explained what specifically the code was doing (so I assume more resources for Unity will be helpful in that way that perhaps Godot will not).

      For Godot, GScript was easier to use than C#, but I do feel like it was easier to get my head around prefabs in Unity than the Node system in Godot. The Godot tutorial took almost twice as long as the Unity one, but I don't know if that's because Godot is more difficult or the combination of the Godot tutorial being more thorough (I feel like I mad an actual, if very uncomplicated game, plus I did Godot first, which probably helped me just learn more about scripting and thinking like a programmer that I took into Unity). The node/scene system seemed more difficult to get my head around than game objects and prefabs. That said, my Godot program felt very tight. There weren't things happening that I was having a tough time explaining or figuring out why they weren't working quite right, at least at the graphical level (this might have more to do with the Godot tutorial using 8-bit graphics and Unity using a more modern sprite look). Having the scripts in the editor meant I never ran into a case like in Unity where I couldn't attach code to a game object because it was failing to compile, but it was failing to compile because it wasn't attached to a game object (that headache took at least a half an hour to sort out).

      Overall, I was able to finish both tutorials mostly understanding what the code I was given was doing and was able to edit it to get some different affects and kind of just play around. So, on that level, I'd say they're about equal.

      One big thing I want for sure out of the engine we use is to be able to handle a lot of conversations and variables there from. We're hoping to make a "choices matter" (TM) game, and very story/dialog heavy. Ink seems like a good plug-in to do this in Unity, but implementation doesn't seem easy (though I did find a pretty good looking tutorial that may help de-mystify). Godot seems to have some assets available for handling dialog trees, but i haven't had a chance to really dig in to them yet. So, that could definitely be a decider for me: which engine has assets that make a dialog/choice heavy game easier to make.

      While I had originally thought about making a tactics RPG for this project, looking around at both the Godot and Unity scenes, it seems like few people are making these types of projects that are giving out free advice on how to make them work in those engines. After talking with my team (I have a team!, see my post from a while back), it seemed like a good idea both to keep the game within the scope of a novice, but still tell the story we wanted, to do a skill role system instead. Since this came from a tabletop session anyway, seemed to make the most sense to do skill rolls rather than develop a whole combat system.

      TL;DR - Looking for advice on which engine, between Godot and Unity, would be handle a 2D RPG that relies on a lot of dialog and choices along with skill rolls for the gameplay. Thanks in advance!

      12 votes
    31. Intuitive music composition software

      For a class I have to compose soundtracks and music, and I have no experience whatsoever. Okay, I played classical guitar for a decade but I never was good at music theory and can barely read...

      For a class I have to compose soundtracks and music, and I have no experience whatsoever.
      Okay, I played classical guitar for a decade but I never was good at music theory and can barely read notes.

      My issue is that I come up with a tune, and I need to dump that information to a recording medium as soon as possible. Translating that tune into a short term memory and playing it out on my guitar doesn't work, as I'll end up forgetting it nearly instantly. The one instrument that I can play is whistling, but that's kinda hard to do for long.

      I'm looking for a more intuitive way to input notes into a computer.
      I was thinking of some kind of pitch slider that continuously plays a note (limited to notes, no microtones) that I can control with an external input device like a knob or potmeter / by moving my mouse up and down, and then hit a button to input that sound, moving on to the next note. No delays inbetween, just immediately starts playing a new note.

      Like the computer whistling a note for me, and me adjusting the pitch and length.

      I can move my mouse quite precisely & can adjust pitch pretty easily when whistling, it's just that translating music from head to an instrument will never be as intuitive as something like whistling.

      It's not supposed to be perfect, on-point music, just enough to record the vague idea and process it later. It also should be super minimalistic, I'd preferably only have the slider, the play/pause button, the confirm note button and a "save to file" button.

      I'm not sure where I can even start finding something remotely related to this. I've looked around and tried a bunch of music software, but it's all either complicated or unintuitive.

      Anyone know something like this?

      Edit: As this website puts it;

      Intuitive music composition requires that you hear the musicality of the music as you are composing it. Which means that you have no choice but to compose by playing.

      and

      You cannot intuitively compose music by entering note data into a software application.

      13 votes
    32. I can't make it any clearer. Any advice?

      Last Thursday, at my workplace, we rolled out a software upgrade across the company. The server side was upgraded overnight to ensure there was minimal downtime, and we had instructions for users...

      Last Thursday, at my workplace, we rolled out a software upgrade across the company. The server side was upgraded overnight to ensure there was minimal downtime, and we had instructions for users posted on our Intranet (pinned to the top for the next 4 days), on exactly what they needed to do to run the upgrade on their PCs and ensure everything was working correctly.

      The instructions were written with the help of my 4-year-old to ensure it was clear enough for anyone to read and follow along.

      I still received at least 40 messages and emails from people complaining the upgrade didn't work or that certain Outlook plugins are now missing (which was covered in the instructions).

      My question is, has anyone found a good way to ensure people follow instructions, or the best way to ensure that your instructions are easy to understand and follow along with?

      It is very frustrating to take the time to ensure things go smoothly and write what even my 4-year-old thought was clear instruction, and still have a third of the company not be able to figure it out?

      This is not meant to be mean hearted in any way, I genuinely would like some advice or tips on how I can improve on this the next time around.

      Thanks.

      16 votes
    33. Vintage bicycle repair

      I love bicycles. I really love the aesthetic of vintage bicycles and the easy-ish to repair nature of them. They are mostly standard off-the-shelf parts, nuts, bolts and washers etc. Look for...

      I love bicycles. I really love the aesthetic of vintage bicycles and the easy-ish to repair nature of them. They are mostly standard off-the-shelf parts, nuts, bolts and washers etc.

      Look for opportunities to give old things new life, a quote that inspired me from a YouTube channel titled Old Shovel. He repairs old tools and recently bicycles.

      Since then, I have been restoring a 1974 Canadian Tire branded Japanese Bridgestone Youngway.

      Any advice for a newbie hobby vintage bicycle restorer?

      9 votes
    34. I've beaten Final Fantasy VII Remake. How to approach the Postgame and Hard mode?

      I beat Final Fantasy VII Remake last week. Those last chapters were exhausting, and amazing, and now that I've gotten some rest I'm thinking about going back and doing some postgame content and...

      I beat Final Fantasy VII Remake last week. Those last chapters were exhausting, and amazing, and now that I've gotten some rest I'm thinking about going back and doing some postgame content and Hard mode.

      Any tips on where to begin? I tried picking Chapter 9 to go to the Colosseum and get a couple upgrades I missed for Aerith, but quickly died to some easy mobs within the first 15 minutes of the chapter.

      So I'm thinking I need to do some grinding first, probably on Normal, before attempting Hard? My characters are around Level 40.

      How did you go about the postgame content? Did you replay the chapters in chronological order, or prioritize specific goals? What worked well for you (read: made the postgame enjoyable and not frustrating), and what would you have done differently?

      10 votes
    35. What are some examples of good administrative/management UI design to use for inspiration?

      tl;dr What applications (web or desktop) have you seen that have excellent, productive user interfaces that prioritize getting shit done? I am currently developing a moderately complex web...

      tl;dr What applications (web or desktop) have you seen that have excellent, productive user interfaces that prioritize getting shit done?

      I am currently developing a moderately complex web application with a management interface that will be used by non-technical users. It also has a separate interface for technicians to see their tasks and submit reports, but I'm pretty happy with how that's coming together. I have a pretty good idea of how I want to display data in terms of what kind of "widgets" I could use. For example, a calendar view with daily, weekly, and monthly view modes. What I'm looking for inspiration with are the finer details, like filtering data, navigation, data hierarchy. I want to find things I hadn't even considered and aren't part of the typical "flat web UI toolkit" playbook.

      I'd love to steal small ideas from a forgotten tool built for Windows 95, or maybe those paradigms are best left in the past—I don't know. Personally, I find most flat UI applications are almost useless in terms of discoverability, productivity, and general ease of use. Something like the Azure dashboard is what I would like to avoid building.

      I'm also trying to keep my front end stack pretty lean by using Vue.js and rolling my own components based on accessible and keyboard navigable HTML components.

      9 votes
    36. Wisdom teeth recovery tips?

      Hey everyone. Today, i had my wisdom teeth removed (two of them anyway), and I currently sitting here with am ice pack pressed against my face trying to type with one hand. I wad wondering, if any...

      Hey everyone. Today, i had my wisdom teeth removed (two of them anyway), and I currently sitting here with am ice pack pressed against my face trying to type with one hand. I wad wondering, if any Tilderinos with dental experience or who had there teeth removed, have any tips for surviving they next week? I've heard the see one and third day are the worst, is that true?

      9 votes
    37. Is high-fidelity audio a genuine product or unnecessary overkill?

      Note: if this topic is better served in ~music than ~tech feel free to move it! If I wanted to buy Linkin Park's A Thousand Suns, I have the following options: From Amazon 256 kbps VBR MP3...

      Note: if this topic is better served in ~music than ~tech feel free to move it!

      If I wanted to buy Linkin Park's A Thousand Suns, I have the following options:

      From Amazon

      • 256 kbps VBR MP3 ($11.49)

      From 7digital

      • 320 kbps MP3 + 256 kbps MP3 ($12.99) (I'm assuming it's 320 CBR/256 VBR)
      • 16-bit/44.1kHz FLAC ($16.49)

      From HDTracks

      • 24-bit/48kHz FLAC ($19.98)

      From Qobuz, which appears to be a different mastering of the album:

      • "CD Quality" FLAC ($14.49)
      • 24-bit/48kHz FLAC ($16.49)
      • 24-bit/48kHz FLAC ($10.99 with subscription to their $250/year service)

      Does paying more for the higher fidelity actually matter? I suspect that this is just a form of price discrimination preying on my want to have an "objectively" better product, because I'm assuming there's a ceiling for audio quality that I can actually notice and the lowest encoding available here probably hits that. I also don't have any special listening hardware.

      I understand the value of FLAC as a lossless archival encoding (I used to rip all my CDs to FLAC for this purpose, and I've been downloading my Bandcamp purchases in FLAC all the same), but for albums I can't get through that service it appears that the format has a high premium put on it. Bandcamp lets me pay the same price no matter the format, but every other store seems to stratify out their offerings based on encoding alone. A Thousand Suns costs nearly double on HDTracks what it does on Amazon's MP3 store, for example, despite the fact that I'm getting the exact same music, just compressed in a different way.

      As such, is paying more for FLAC unnecessary? Is high-fidelity FLAC in particular (the 24-bit/48kHz options) snake oil?

      Furthermore, Qobuz seems to offer a different mastering of the album, which seems like it actually could be significant, but it's hard to know. Is this (and the various other "remasters" out there) a valid thing, or is it just a way to try to get me to pay more unnecessarily?

      (Note: I'm using this specific album simply because it was a good example I could find with lots of different stratified options -- I'm not interested in the particulars of this album specifically but more in the general idea of audio compression across all music).

      21 votes
    38. Turning my tabletop game into a real video game

      So, I am a filmmaker by trade. I understand scripting, pacing, etc. I also have been doing a lot of tabletop design, running a campaign for years with continuity, recurring characters that I...

      So, I am a filmmaker by trade. I understand scripting, pacing, etc. I also have been doing a lot of tabletop design, running a campaign for years with continuity, recurring characters that I design from the ground-up (excluding the rule system, so just all the dungeons, NPCs, plot devices, etc).

      With covid, film production has really slowed down and I have some time on my hands, so I thought about trying my hand at video game making, something I have honestly toyed with for decades, but never did too much of. I did have a brief window in the 00s when I had RPG Maker and I made some demos that my friends enjoyed, but that's about it.

      So, given that my programing knowledge is super limited (I took a few Java classes over a decade ago and used to do HTML in the 90s), my graphics making abilities are near non-existent (I'm good at motion graphics, but not pixel design or 3D graphics), but I have what I think is a good plot, characters and game design, what should be my first steps in trying to make this a reality? What engine should I use? I have no problem buying, for a couple bucks here and there, other people's art and what not. Ideally, probably make a 16-bit esque RPG, like FFIV, Earthbound, etc. but perhaps with more of a BioWare, "choices matter" type dialog/questing system.

      I don't expect to set the world on fire, but I do want to make what would be considered a decent looking first effort from a one man novice that, if nothing else, would be a fun experience for me to make and something fun to give my players as a gift (as we are reaching the end of the story of our campaign). And maybe, why not, something I could release for the broader public if the core is good and it's worth me hiring a few more people to help me polish it. Maybe it won't. As a filmmaker, I know how bad first films are, and a lot of times they are just learning experiences that you keep on a hard drive locked away somewhere. So, trying to be realistic while excited.

      Appreciate advice.

      14 votes
    39. Help me think about the next step in my life

      Hello, I am a late 20s person from Europe who works part-time at a low-skilled job and is nearing completion of a masters in Financial Mathematics (FM). I also have an undergraduate degree in...

      Hello, I am a late 20s person from Europe who works part-time at a low-skilled job and is nearing completion of a masters in Financial Mathematics (FM). I also have an undergraduate degree in Economics and a post-graduate degree in Finance.

      Previously I’ve worked full-time as an IT consultant, in R&D at an asset management company and in operational risk at an investment bank. I stopped working full-time in early 2018 due to mental health issues such as depression, anxiety disorder and possible Asperger’s. But even before then it was obvious my health was deteriorating and I actually got fired from my second job partially due to these problems. Since then I’ve been slowly working (or at least trying to) on my health, which has improved substantially but not as much as I would like. So in early 2018, with way too much time in my hands, I decided to get the part-time job to partially offset my expenses and also decided to go back to school to study FM.

      I went back to school for multiple reasons. I was tired of doing work that was not very technical or quantitative. While working on my health I realized that I don’t do well with work that is subjective, unstructured or involves little interaction (for example doing a lot of reading, specially when I have no clear goal). I did a little programming at previous jobs and more during the masters. So, I can say with some confidence that I enjoyed it. But going back to the FM masters: it is very technical, I was fascinated and curious about it plus it has an excellent track record with regards to employment prospects. I also considered “going back” and doing an undergraduate degree in computer science but decided that it was just too long (minimum 3 years).

      So with this “introduction” out of the way let’s get to the heart of this post. I don’t know what to do after I finish my masters. Of course I could just apply for jobs related with what I am studying. However, I think I really want to try working in the technical side of IT. I will admit I don’t know much about the different aspects and careers in IT but I find it interesting. Every time I was doing non-technical work I just wanted to understand and do the work of my technical colleagues. I think it both better suits my personality and aligns well with my long term goals of increased freedom and flexibility (IT generally pays well and you can do a lot of work remotely). I have this idea of maybe becoming a freelancer but I can understand that is not realistic in the short-term. So, working in IT inside a company is probably my best bet at this time. Regardless, another objective of mine is to be able to work less than 40h per week. I think it would be great for me, specially health-wise.

      I have to say I got more excited about my ideas when I saw this post here on Tildes: https://tildes.net/~comp/quj/would_any_tilderino_be_interested_in_tutoring_me_in_programming. I am willing to put in the work and it would be awesome to have some tutoring. Another point I took from that post is that IT is a very big field and I honestly don’t know specifically what I want to do inside that space. However, I do know I don’t like dealing with UI or graphical/design aspects.

      I guess I will finish by asking direct questions to help people structure their answers around (but if you want to talk about something else I wrote, be free to do so):

      • First of all, what technical areas within IT do you think would suit me? If it’s not much of a hassle, please provide a brief description of what people actually do in those areas.
      • Is it realistic to start working as a technical IT freelancer and learn as I go? Or are the odds very slim?
      • Alternatively, if I decide to take the "safer" and more probable route of nailing a technical IT job, what should I do to put myself in a better position to attain that goal?

      Thank you =)

      10 votes
    40. I’m moving across the country in a few days

      I’m moving from the Midwest to California on Tuesday to start graduate school (I’ve been in an post-baccalaureate research position for the last two years). I’ve been so busy packing and making...

      I’m moving from the Midwest to California on Tuesday to start graduate school (I’ve been in an post-baccalaureate research position for the last two years). I’ve been so busy packing and making sure I see friends that I think it hasn’t truly hit me yet. I’ve lived around Chicago my whole life, even during college, so I suppose I’m a bit nervous about the change of location and being so far from friends and family. I’m incredibly excited of course to begin this new phase, but nervous nonetheless.

      Have any of you all ever had big moves in the past? Any advice for settling in a new locale?

      14 votes
    41. A friendly reminder: If you own a bicycle, you must own a helmet

      I shivered at the thought of being severely brain-damaged after being hit by a car while cycling about a month ago. I am now extremely humbled by the fragility of the human body. The vehicle that...

      I shivered at the thought of being severely brain-damaged after being hit by a car while cycling about a month ago. I am now extremely humbled by the fragility of the human body. The vehicle that hit me was going really slow--a hard requirement of the lane. An apt cyclist can easily achieve 30 MPH (48km/h). That's enough to do a lot of damage itself. Now imagine a shock with a vehicle coming in the opposite direction at a mere 20 MPH (32km/h) (that’s not what happened to me BTW. I have no recollection of the accident, and no wish to get in touch with the driver. I don’t resent him at all, in fact he was extremely caring and wanted to ride with me in the ambulance but my mom was already occupying the only spot).

      I'm terrible at physics but you guys and girls are probably not, so you make the calculations. To sum up, without a helmet a ridiculously "benign" accident at low speeds can literally impair you for life.

      After the crash, my helmet went into pieces. I wish someone had got it so I can visualize the extent of my luck. It was an old helmet that should have been replaced at least 2 years ago. It cost me about 30 bucks and probably saved my life or cognition.

      So, cyclists: own a helmet and use it whenever you're on the bike even if there are no cars around. A skilled cyclist can still crash all by himself/herself. And a car could appear from nowhere.

      Some people get brain damage by falling in the bathroom. Why would you be safer waltzing around on top of a metal frame?

      41 votes
    42. [SOLVED] Archiving a deceased loved one's Twitter timeline, including media

      Recently a loved one of a friend has died and they would like to archive their entire timeline (no retweets), including media they posted. I've looked around a little bit and the Twitter API only...

      Recently a loved one of a friend has died and they would like to archive their entire timeline (no retweets), including media they posted.

      I've looked around a little bit and the Twitter API only allows 3200 tweets to be exported. As this includes RTs, this goes back to about 2018, while the account was made in 2011, so it's missing about 90% of their tweets. Also, getting all the media isn't really possible.

      Do any of you know a way to accomplish this? Or, can anyone direct me to scripts that crawl the page and save every non-RT tweet + potential media? I'm not very tech-oriented but I can at least run python scripts.

      I should mention that I've so far checked out Allmytweets.net (returns RTs) and the Twitter archival project (or whatever it's called), which is a group of people that help in archiving accounts, but they haven't responded yet.

      13 votes
    43. When should you consider it a good idea to delete your comments?

      (I'm tagging as ask.advice and ask.discussion because while my motivation to make this comes from my comments I'm not the only one who this could apply to and deleting coments is very much a...

      (I'm tagging as ask.advice and ask.discussion because while my motivation to make this comes from my comments I'm not the only one who this could apply to and deleting coments is very much a general topic.)

      So basically, I wrote this comment, noone agrees with it and the contrary takes all are upvoted, so should I delete it? If noone agreed with what I had to say and upvoted contrary answers, then what I said wasn't valuable to anyone, and so I should delete it, right?

      This also applies to quite a few comments I have written that have 0 votes like this, this this and this.

      In the other hand, measuring a comment's value by how many people voted on it isn't that great and leaving clarifications and tecnical/minor details and if someone replied, even if only to point out your comment as wrong or not so unlikely, so other than the third comment, you can argue they aren't entirely bad. (And leaving someone's answer without a question is pretty bad if someone comes later since they wouldn't know why that answer was there.) So where does one draw the line?

      11 votes
    44. How do I talk to my girlfriend about her past sexual assault?

      I've been in a relationship with my current girlfriend for almost a year now, and things seem rough right now because of an issue we're having. My girlfriend is upset with me because she thinks I...

      I've been in a relationship with my current girlfriend for almost a year now, and things seem rough right now because of an issue we're having.

      My girlfriend is upset with me because she thinks I don't care about her past trauma. She's told me, very roughly, what she's gone through, and I told her that whenever she's ready to talk about it, I absolutely will. But according to her, the last time she tried to initiate talking about it, I told her that I had no idea what to say. And this upset her and stonewalled the discussion.

      I don't doubt that happened. My problem is, is that if she were to try again, I might just very well do the same thing. I have zero idea on how to handle something of this severity. How do I ask her to talk about it? Is that something I should be asking? What does someone even say when given this information? I am not equipped whatsoever to deal with information of this magnitude and I'm at a loss. How do I let her know that I really do care about her, and am 100% willing to listen to what she has to say? I worry I'm too far in the doghouse to even make use of any of this advice, but any help is immensely appreciated

      Edit in case anyone was interested: We talked and we're okay :). She told me what she went through and I didn't handle it nearly as bad as I worried I was going to. Thanks everyone for your kind words and helpful advice.

      17 votes
    45. How to design a database?

      I'm working on an application that allows a user to view playlists belonging to a particular radio show and stream/download/favourite the tracks in them. It has 4 core entities: User, Show,...

      I'm working on an application that allows a user to view playlists belonging to a particular radio show and stream/download/favourite the tracks in them. It has 4 core entities: User, Show, Playlist and Track.

      • Each show has multiple playlists (one-to-many)
      • Each playlist has multiple tracks (one-to-many)

      To be able to reference a playlist belonging to a particular show. I gave those playlists the same uuid as the show they belong to. A few questions though.

      1. Is this the right/best way to associate data?
      2. As a track could potentially belong to multiple playlists, I can't take the same approach as I do for (show/playlist) How would be best to handle this? Ideally I would like to have a single "Track" table containing all tracks for all playlists.

      For any experienced database designers out there, how would you structure this data? What would you consider in designing the schema and why? If I did go with 4 tables only, presumably there would be performance implications given the potential amount of data in any one of those tables, particularly tracks. If that is the case, how best to structure this kind of thing with performance in mind? Thanks in advance for any help :)

      For reference, in case it's of importance, I'm using sqlite3.

      5 votes
    46. Architecture for untrained software engineers (Python)

      Hey everyone, I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar...

      Hey everyone,

      I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar with the principles of TDD and SOLID - which have helped with maintainability - however still feel that I'm lacking in the ability to architect a properly structured system. As an example, I'm currently developing a flask REST API for a website (just for learning purposes). This involves parsing a html response and serializing the result as JSON. I'm still quite unclear as to structuring this sort of thing. If any more experienced developers could point me in the right direction/offer up their opinion I'd be very appreciative. Currently I have something like this (based - I hope correctly? - on uncle bob's clean architecture).

      Firstly, I'm defining the domain model. i.e the structure of the API response. Then, from outside in.

      1. Infrastructure (Flask): User makes request via interface (in my case a request to some endpoint)
      2. Adapters: request object checks if the request is valid (on the way back it checks if the response is valid) - Is this layer only for error handling?
      3. Repository: I'm struggling a bit here, AFAIUI this layer is traditionally a database. In my case however, where the request is valid, is this where I should handle the networking layer? i.e all the requests to return the website source? I'm also confused given at this stage I should be returning the relevant domain model, like an ORM, but as my data is unstructured, in order to do this I need to transform the response first. Where would it be best to handle this?
      4. Use Cases: Here I transform the domain model depending on the request. For example, filter all objects by id. Have I understood this correctly?
      5. Serializers: Encode the domain model as JSON to return from flask route.

      If you got this far, thanks so much for reading. I really hope to hear the opinions of more experienced devs who can steer me in the right direction/correct me should I have misunderstood anything.

      8 votes