• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. React: Some comments from a beginner

      New job. I've been wanting to learn something new for a while, so I took a project where a lot of React is done. I'm learning it from scratch while I work with React. I have some comments about...

      New job. I've been wanting to learn something new for a while, so I took a project where a lot of React is done. I'm learning it from scratch while I work with React.

      I have some comments about it.

      1. React makes front end work a lot more like programming -- I like that!
      2. Javascript has changed a lot, and for the better, since I last used it over a decade ago.
      3. The React-Redux tool kit is the bomb. It should be integrated/absorbed into React. I can't see any reason not to use it, even for small applications as it is less wordy wherever you use it.
      4. The updating of state values should be more automatic, especially for flag variables not tied to GUI components. It is the major source of hassles with React
      5. Udemy React videos. My company makes them available free of charge to employees. I've sampled videos from a number of courses. I'm not a fan of the instructors showing you how to do things in older, less efficient ways first in a learning/demo project, the ERASING that code to do it a better way. The should include copies of the project at each stage if they do that. I finally figured out that the best way to take notes I can use later is to comment out the old code and put the new more efficient next stage stuff on top.
      6. React tests really need to improve. They are often more time consuming than the code itself. The tests have forced me to change my code or do needless testing to get the tests to pass. I had one situation where no matter what I did React test said I didn't cover the code until I broke an else clause off into it's one if clause. Blech.

      All in all I've been enjoying learning React. It is neat new ( to me ) thing.

      I feel sad that I will likely forget it all when I go back to my specialty language.

      16 votes
    2. What cooking techniques need more evidence?

      There are many tips or techniques that are strongly recommended for cooking, but it's hard to know which are evidence based and which are just passed along because that's what people always do....

      There are many tips or techniques that are strongly recommended for cooking, but it's hard to know which are evidence based and which are just passed along because that's what people always do.

      Which are the tips that need more evidence?

      Here are two that I struggle with, about stainless steel pans:

      1. Water drop test / leidenfrost

      People say that if you get your pan hot enough to get the leidenfrost effect and then add the oil you'll have less problems with sticking. My problem with this is that it means the pan gets very very hot - much hotter than it needs to be for most uses. My other problem is they all say "Look, I'll cook eggs and they won't stick" and those videos either have a ton of cuts, or the eggs stick and you can see the person pushing with a spatula to get rid of the stick, or their "scrambled eggs" is really a chopped omelette.

      1. Heat the pan before adding oil. I don't understand this. Again, people say it helps prevent sticking, but they use some argument about "pores" which just feels hokey. I add cold oil to a cold pan and bring it up to temperature before adding food so the pan and oil are both at the right temperature, and food sticks and then releases, because that's how stainless pans work.

      I'm aware I could be completely wrong here and that there may be a good evidence base for these, but they don't seem to work based on how I cook.

      37 votes
    3. What are some of your daily use/most important apps?

      I just got a new phone, and I opted to download all the apps I usually use manually, rather than having them transfer over automatically. It's like a nice cleanup thing that I get to do every...

      I just got a new phone, and I opted to download all the apps I usually use manually, rather than having them transfer over automatically. It's like a nice cleanup thing that I get to do every couple of years. I feel like I partially should just have a list somewhere of the apps I usually use and was wondering what people would download first (plus if I forgot anything)

      For me, this was my process yesterday:
      Password manager - Bitwarden - mostly so I can copy/paste my logins for everything
      Authentication - Not listing these but ya know
      VPN - MozillaVPN - just something for hostels and travelling
      Browser - Firefox Beta or Nightly - for downloading my new wallpaper and general use (including Tildes!)
      Sleep + Alarm - Sleep as Android
      Car things - My car app, EVGo/Electrify America - getting around and things
      Rideshare - Uber and Lyft - When I'm in a new city!
      Food - Doordash, Grubhub, asian specific food apps - to eat when I'm lazy!
      News - Boston Globe, AP News, BBC - Kinda obvious what they're here for
      Todo - TickTick - Checklists and all that
      Fitness - Fitbit, my smart scale app, and my gym app - general fitness stuff
      Language Learning - Duolingo and Lingodeer!
      Banking + Investment + Payments + Insurance - not listing these but yeah!
      Music + Podcasts - Spotify
      Streaming - D+, Netflix, Vudu, Peacock, Max, Movies Anywhere, Dropout, Hulu, Prime Video, Twitch - General Streaming
      Books - Kindle and Audible
      Messaging and Social Media - Signal, Beeper, Messenger, Discord, Slack, Instagram, etc. - just daily entertainment and connections
      Games - Slay the Spire, Dead Cells, Nonograms, Don't Starve, Cards of Terra, Bloons, etc.

      Bonus Q: I've been thinking of trying to add Obsidian to my general day to day, how? Might ask a question about this later though!

      49 votes
    4. Ffmpeg and AV1 for HTML5 streaming

      I've been looking around online at compatibility for HTML5 browser streaming. It looks like straight up AV1 in a MP4 container is becoming absolutely fine for browser playback on devices. Is...

      I've been looking around online at compatibility for HTML5 browser streaming. It looks like straight up AV1 in a MP4 container is becoming absolutely fine for browser playback on devices.

      Is anyone using this on webpages yet? The sooner we move to AV1, the sooner we can have high quality video stored at smaller file sizes, which is a massive bonus.

      Right now my company video hosting is purely in MP4 with H264, moov atom to the front as per the requirement, and it plays back on everything with no fallback in a straight HTML5 video container. What's the chance of switching to AV1 and not having to worry about the fallback for the most part?

      Edit: I should have used a better title. I used FFMpeg for MP4 and AV1 creation/encoding. This is more about HTML5 video container code and direct AV1 file playback.

      20 votes
    5. Tildes Video Thread

      Find yourself watching tons of great videos on [insert chosen video sharing platform], but also find yourself reluctant to flood the Tildes front page with them? Then this thread is for you. It...

      Find yourself watching tons of great videos on [insert chosen video sharing platform], but also find yourself reluctant to flood the Tildes front page with them? Then this thread is for you.

      It could be one quirky video that you feel deserves some eyeballs on it, or perhaps you've got a curated list of videos that you'd love to talk us through...

      Share some of the best video content you've watched this past week/fortnight with us!

      9 votes
    6. "Dominion of Darkness" - free, narrative driven, RPG/strategy simulator of the Dark Overlord/Lady

      "Dominion of Darkness” is a strategy text game in which the player takes on the role of a Sauron-style Lord of Darkness with the goal of conquering the world. He will carry out his plans by making...

      "Dominion of Darkness” is a strategy text game in which the player takes on the role of a Sauron-style Lord of Darkness with the goal of conquering the world. He will carry out his plans by making various decisions. He will build his army and send it into battles, weave intrigues and deceptions, create secret spy networks and sectarian cults, recruit agents and commanders, corrupt representatives of Free Peoples and sow discord among them, collect magical artifacts and perform sinister plots. Note – one game takes about 1 hour, but the premise is that the game can be approached several times, each time making different decisions, getting different results and discovering something new.

      Game is avalaible for free, online: https://adeptus7.itch.io/dominion

      If you are hesitant to play the game, I invite you to watch/listen to the reviews:

      6 votes