ULOG 154 - Steem Telly performance optimisations

in #ulog6 years ago


The latest updates are more on performance optimisations of Steem Telly app. The video details and audio details views were slow to load due to multiple calls to the Steem API to retrieve related content. So instead of making those API calls before rendering the view, I'm rendering it first and then make asynchronous API calls making it look snappier.

A second optimisation is resizing the thumbnails on the fly and caching them on CloudFlare CDN. I noticed that although some thumbnails are so small that they look ugly on a TV screen, some are so big that it takes long to load and display them. So what I did is setup a little script on steemtelly.com that downloads the images, resize them and get them cached for future re-use. One thing I learn from this is that you better not use the "Take Snap" functionality of D.Tube because the resulting image is too small. However, if you choose to upload your own image, don't upload a 2MB file either, take time to use an app like Canva for example to make your thumbnail look better and at the correct size.

Last change that is still in progress is fixing an issue where some content on DSound are not playing at all. For example, I wanted to listen to @melissakellie's latest sound but it didn't work... After some tests, I realised that the Apple TV could not detect the file was an MP3 because there is no file extension and the Content Type reported by IPFS was wrong. So I will attempt to create a script that also caches MP3 files from IPFS but also correct the Content Type header.


Previously on my Ulog:


Vote for my witness
On Steem, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the communities.


I'm a member ofthese communities
Team Australia BannerTeam Vietnam banner
Steemit French community bannerHomesteaders Online
Member of the SmartVote communityMinnow Support Project
Earth TribeNatural-Medicine.jpg
@quochuy ulogger on steemit.comghscollective_logo_01_1.png

Credits

  • The image at the top has been generated with the Canva app using my own photo.

Protect your money against Phishing Scam!

Cryptos accounts are the target of international scammers because they want your hard earned money!

Those people are very clever and in a moment of inattention, you've given them your login and password!

I've created a Chrome extension that can help you detecting scam links!

Install Steemed Phish Chrome desktop browser extension now!

Password and Private Keys security

You all know that your Steem password is the access to all your STEEM, SBD, posting, transferring, everything... right?
So, please, follow these simple steps and keep yourself safe:

  1. Apart from the initial setup of your account, NEVER use your password ANYWHERE, if stolen, it will give full control to your Steem account.
  2. Backup your password and keep it somewhere safe. Use a password manager like Lastpass, print it on paper and put it in a safe (no kidding). If you forget your password, no one can help you out.
  3. To login for creating content and curating, use your Private Posting Key
  4. To make transfers and account operations, use your Private Active Key
  5. To encrypt and decrypt memos, use your Private Memo Key

▶️ DTube
▶️ IPFS
Sort:  

Hope you will fix that problem,

Have a good day

Posted using Partiko Android

Thanks! I just managed to fix it 😄

Posted using Partiko iOS

@quochuy, Genuinely speaking, I've really enjoyed the User Interface Experience and this telly effect is giving an Rich essence to the Dtube without any question. And in my opinion these kind of tools and resources will going to add more value and will encourage to come up with more changes and developments.

Wishing you an great day and stay blessed. 🙂

Hi @chireerocks, thanks for the great feedback. I also think experiencing DTube on a TV screen is more enjoyable.

Posted using Partiko iOS

Welcome and have a great time ahead. 🙂

UpvoteBank
Your upvote bank
__2.jpgThis post have been upvoted by the @UpvoteBank service. Want to know more and receive "free" upvotes click here

Chúc mừng @quochuy, bạn đã nhận được một upvote 45%. Tôi là con bot của cộng đồng Việt Nam trên Steemit. Tôi được tạo ra bởi nhân chứng @quochuy và được uỷ quyền, tín nhiệm bởi các thành viên Việt Nam, hôm nay tôi vote cho bài của bạn để ủng hộ bạn. Tôi hi vọng sẽ được thấy nhiều bài viết hay từ bạn.

Chúc bạn vui vẻ, và hẹn gặp lại một ngày gần đây.

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 7 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 7 SBD worth and should receive 293 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Hi, @quochuy!

You just got a 0.52% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hi @quochuy!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 5.937 which ranks you at #326 across all Steem accounts.
Your rank has improved 1 places in the last three days (old rank 327).

In our last Algorithmic Curation Round, consisting of 226 contributions, your post is ranked at #23.

Evaluation of your UA score:
  • You've built up a nice network.
  • The readers appreciate your great work!
  • Good user engagement!

Feel free to join our @steem-ua Discord server