-
12 votes
-
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.
- React makes front end work a lot more like programming -- I like that!
- Javascript has changed a lot, and for the better, since I last used it over a decade ago.
- 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.
- 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
- 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.
- 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 -
Everybody's obsessed with the retro corporate aesthetic
6 votes -
The hazy evolution of cannabis
3 votes -
Say Lou Lou – Dust (2024)
3 votes -
What happened to the Nautilus?
9 votes -
Video game devotees are much more likely to be working-class than middle-class, says research
28 votes -
Oceans of Slumber - Where Gods Fear to Speak (2024)
2 votes -
Where will people commune in a godless America?
24 votes -
How to make kanelbullar / Swedish cinnamon buns
6 votes -
Airline food during the golden age of air travel
13 votes -
We made and distilled the 1886 Pemberton Coca Cola recipe from 'Glen And Friends' then taste tested the results with Glen
7 votes -
What games have you been playing, and what's your opinion on them?
What have you been playing lately? Discussion about video games and board games are both welcome. Please don't just make a list of titles, give some thoughts about the game(s) as well.
25 votes -
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:
- 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.
- 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 -
Tally Ho project updates - Watch this amazing boat building series
5 votes -
Horror fishing game Dredge being adapted for live-action movie
22 votes -
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 -
I ported thousands of apps to Windows 95
23 votes -
Cosmo Sheldrake - Stop The Music (2024)
17 votes -
Executions
17 votes -
With Vids, Google thinks it has the next big productivity tool for work
17 votes -
The Triple-i Initiative 2024: A new gaming showcase
15 votes -
The Pong horror movie | Red Letter Media animated
8 votes -
How the Berlin Wall worked
13 votes -
Elephant Apple - Elephants love this fruit and I do too
6 votes -
The Rogue Prince of Persia | Reveal trailer
4 votes -
The making of Pentiment
7 votes -
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 -
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 -
Matteo Lane at the MET Opera with Nadine Sierra
2 votes -
Jimmy and the Jaywalkers - Criminal Mischief (from the latest This American Life episode) (2022)
1 vote -
My 3D printer monitor livestream
2 votes -
The dark reality of Japanese host clubs
10 votes -
Is collapse coming for us?
7 votes -
Explore Edvard Munch's masterpiece “The Scream,” and find out why this artwork became one of the world's most famous paintings | Noah Charney
3 votes -
PVP in MMORPGs is dead (and here's why)
18 votes -
Rongelap Atoll: America’s nuclear mistake
8 votes -
Aurora – Some Type Of Skin (2024)
10 votes -
Insular India - A video on the archaeological legacies of the Indian subcontinent
5 votes -
Apple's $3500 nightmare
47 votes -
"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:
-
Indie Sampler (video): https://www.youtube.com/watch?v=LM6f4UCEgWU
-
[BOKC] BlancoKix (video): https://www.youtube.com/watch?v=lgNpSKToOSg
6 votes -
-
Why venting is always a bad idea
31 votes -
Taskmaster Australia | Season 1 complete playlist
9 votes -
This is World of WarCraft
17 votes -
Nandi Bushell performs "Caravan" (2024)
11 votes -
Windows keep falling off skyscrapers. Why?
9 votes -
You're wrong about Aptera's car. It's ridiculously efficient (and solar powered).
24 votes -
Jon Stewart on the false promises of AI
38 votes -
San Fermin - Weird Environment (2024)
2 votes -
How The Beverly Hillbillies changed TV
3 votes