TheFrontEnd?

Description
? Articles
? News
? Tutorials
? UI/UX thoughts

on front end? mobile? and web dev ?

Admin: @masant1
Advertising
We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 3 weeks, 4 days ago

Your easy, fun crypto trading app for buying and trading any crypto on the market

Last updated 2 weeks, 4 days ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 4 days, 5 hours ago

1 year ago
[#thoughts](?q=%23thoughts)

#thoughts

Today I had a pleasure (not really) getting to think about how far should I go in supporting Safari.

At some point I found this which basically quoted:

Safari is the baseline in terms of web standards: The sites we develop must work in Safari versions at least 2 years old.

Which somehow resulted in aiming at Safari 13.1.2 with ended support in 2020 but some users still on it.

Boy, did I suffer. I'm using Antd as UI lib at work and let me just mention 1 thing - Grid is broken everywhere on our latest version.

One thing you'd hope UI lib does really well is grid and layout, I can add border\-radius to buttons myself..

How is that possible that there is a browser out there that is still so bad?

Speaking of which, I'm currently using Arc for my main browser for more than 2 months and couldn't be happier with it (if any of you folks looking for a switch)

1 year ago
TheFrontEnd?
1 year ago
[#tools](?q=%23tools)

#tools

Wow, this is golden 10/10 ?

https://www.refactornow.dev/roast

Your personal AI code roasting tool. Been throwing it a few snippets from online and it comes back with pretty nasty, but also fair feedback.

It can also come with a good feedback where it ll be like "huh, well I'm impressed and surprised, good job" ?

I guess my PR reviews will get to a new level with this ?

1 year, 1 month ago

Just found an alternative to megadraft.

Lexical.

A completely different approach, super flexible, but also quite complex compared to megadraft. Yet it gives you everything you need, mentions, hashtags, custom plugins, you name it. UI is also "up to you".

Now it makes me think - megadraft is 20 min plug and play solution, lexical is better long term for scalability. Gotta really analyse which one to pick (quick dev time now vs long term extension benefits).

1 year, 1 month ago

Best JS framework to date!

Spoiler: ⛔️⛔️⛔️⛔️⛔️

1 year, 1 month ago
[#learn](?q=%23learn)

#learn

The quickest explanation on hex vs rgb I've seen + also how you can derive one from another.

?Link

1 year, 2 months ago

#personal #uiux #learn

All of the above are also valid QR codes. Some people asked me to share more on that - there you go then ?

First of all this images are from qrbtf - a service that attempts to automate this whole process. You can jump in and try to generate yours quickly with some prompts. The only thing it won't let you change url the QR points to as the whole system is still WIP.

But all they do under the hood is use stable diffusion with specific controlNet that integrates your QR into generated image. I really recommend trying it yourself though as the process is quite fun and you learn along the way. And I'll share all the links you need to get started.

There is one specific guy that deserves all kudos in the world that wrote the whole 101 on it. Not gonna reinvent the wheel here - so https://antfu.me/posts/ai-qrcode-101

I managed to even get it running on my lower M1 mac, so you should be able too.

The quickest way to get started

- install stable diffusion web ui
- get the controlnet extension
- now get controlnet qr pattern

And you are pretty much set. Then just follow tutorial from antfu.me and get your qr codes flowing in.

I personally also found useful to get revanimated - the quality it can generate even with simplest prompts is phenomenal.

The best sampling methods that I liked were DPM++ 2M Karras and DDIM.

Now to the most interesting part ?

It's all gonna come down to "oh, I cant scan the code ?" vs "well fuck, it's obvious its a QR code ?". And you ll have to play with the control net settings.

Also one thing I didn't know is that not all QR scanners are the same, with this QR codes some might not be good enough. As a rule of thumb, try different ones - eg wechat scanner or iphone (there are 2, in camera and dedicated one).

And because you read this channel you'd already know that the most important things for any scanner is the finder patterns (those 3 large squares) - they tell the scanner it's actually a QR code so scan it pls.

Then smaller square is alignment pattern - becomes super important if you rotate you embedded QR code. Get this 2 points right and you ll increase the scannability.

Finally error correction is important, make sure it's not the lowest (aka you need to have more elements in the QR itself) cuz some of those can get missed when generating the image.

You can also completely change the way you input QR code looks, circles vs squares, dots vs lines etc. By playing with those you get more natural integration into objects in the images.

Like the one I had for this channel doesnt have obvious square finder patterns but you can still spot the elements in the table drawers that are pretty much those patterns. It reduced scannability for some scanners as a side effect but still made me happy and was good for POC.

That should be just about the largest post ~~this year~~ ever ? and just about enough info for you to try it yourself if you also find it amazing like I do.

Qrbtf

Gallery - QRBTF

QRBTF AI QR Code Generator

1 year, 2 months ago
TheFrontEnd?
1 year, 2 months ago
TheFrontEnd?
We recommend to visit

Community chat: https://t.me/hamster_kombat_chat_2

Twitter: x.com/hamster_kombat

YouTube: https://www.youtube.com/@HamsterKombat_Official

Bot: https://t.me/hamster_kombat_bot
Game: https://t.me/hamster_kombat_bot/

Last updated 3 weeks, 4 days ago

Your easy, fun crypto trading app for buying and trading any crypto on the market

Last updated 2 weeks, 4 days ago

Turn your endless taps into a financial tool.
Join @tapswap_bot


Collaboration - @taping_Guru

Last updated 4 days, 5 hours ago