anmol-chawla.bsky.social
Engineer at Dashtoon. Breaking and fixing stuff everyday. Jogger and cyclist
46 posts
34 followers
125 following
Regular Contributor
Active Commenter
comment in response to
post
India and yeah still living here
comment in response to
post
As far as i remember, Google lens can be used for recognising and copying text from images in photos. Apart from that, OCR would be the best bet to do it cross platform. Something like tesseract-ocr should work
comment in response to
post
For neovim, there is an excellent plugin called auto-dark-mode (github.com/f-person/aut...), which essentially does the same thing. On detecting the system theme, it sets appropriate vim background. That is then picked up by the solarized theme (github.com/maxmx03/sola...).
comment in response to
post
For my shell, since I use fish, I created a function which queries the GlobalPreferences for the current system theme (interestingly on MacOS querying the GlobalPreferences when in light theme throws an error but returns "Dark" for dark theme). This function is called on every new shell creation.C
comment in response to
post
This is so true. A lot of the times individuals who do this force taking short term decisions, which lead to a a lot of headaches down the road.
comment in response to
post
That’s why a only posts feed exists as well. From what I’ve seen though, the interaction on posts on this platform seems quite genuine. If there’s not much of a value add, folks might not reply much.
comment in response to
post
Shameless plug, I wrote an article on our reason to shift away from docker compose as well : insiders.dashtoon.com/kubernetes-a...
comment in response to
post
This accurately captures the reason we moved out of docker compose to kubernetes as well. Towards the end of it we had watchtower running to handle deployment of services, nginx with multiple subdomains and so on. Another problem with the setup was RBAC, since anyone could ssh into the vm.
comment in response to
post
India
comment in response to
post
ps: it was in fun and we reset after the first time they faced this.
ps: ps: okay maybe we let it go on for two to three times before resetting it 😅
comment in response to
post
We actually pranked one of our colleagues with this. They had a habit of constantly leaving their system unlocked and unattended. So we went ahead aliased `ssh` to `sl`. It was quite funny to see them perplexed as to why there was a train running across the screen instead of logging into a vm.
comment in response to
post
I’ve been wondering about the same thing, and one of the core reason seems to be that has incentivised users for engagement while earlier there was no incentive for users to post or take part. This has lead to more controversial takes and random bot posting on threads.
comment in response to
post
Going through the entire Assassin’s Creed franchise slowly. Currently playing Black Flag
comment in response to
post
It could turn out that I'm unnecessarily pessimistic about the future and everything turns out okay with developers actually having their cake and eating it too. But my current stance is that it seems highly unlikely.
comment in response to
post
The pain of discovering solutions and actually going deeper is now abstracted away, and one just needs to now "prompt better" to get stuff done.
comment in response to
post
One caveat is that the codebase that I've been working on was mostly written by junior engineers. They are the ones which would be the most affected due to the ease that an LLM now affords them.
comment in response to
post
Quite frequently I've had to spend multiple hours trying to understand the flow of control and in the end re-doing the logic to add functionality due to rigidity of the logic that was written.
comment in response to
post
I've myself faced a lot of performance and extensibility issues while working on pieces of code that were architected and created primarily by prompting.
comment in response to
post
And this would manifest in multiple ways like increased security vulnerabilities, obscure performance issues, logical bugs for edge cases not thought about and so on. This in turn would make the job of those who inherit these systems much harder due to the amount of unstructured and disjoint logic.
comment in response to
post
Well the last generation one, the one which I have, and the current generation both have warm lighting (same as the one that used be offered with oasis). So you can adjust blue and yellow lighting separately to either make it warmer or cooler. They’ve also got a dark mode now, inverts the display.
comment in response to
post
Well the new paperwhite has increased contrast while colorsoft has got, well colour which is great forcomics. When i had upgraded from my older paperwhite to the last gen paperwhite, the improved contrast was really apparent.
comment in response to
post
You can check out Designing Data Intensive Applications by @martin.kleppmann.com
www.oreilly.com/library/view...
comment in response to
post
It just might be better to say that one should strive to be better than yesterday, instead of attaching a metric to the improvement. Thinking in this manner has helped me to rationalise my decisions and motivate myself on days when there’s just no energy to do anything other than laze about.
comment in response to
post
It seems like the settings for system tables gets reset on a version upgrade.
comment in response to
post
This is the size after just a week of unchecked growth 🥲
comment in response to
post
👋🏼
comment in response to
post
Currently
music.youtube.com/watch?v=BNwS...
comment in response to
post
For now all the lexicon related will be in a separate branch while I play around with the generation of classes.
github.com/anmol-chawla...
comment in response to
post
Next challenge is to actually figure out generation of the classes for Swift from the lexicon json files. Luckily I found a package by @nnabeyang.bsky.social, which has been instrumental in me understanding how to start.
You can check it out here:
github.com/nnabeyang/sw...
comment in response to
post
Started with models first, or lexicons as they are called in ATProto. For a while I was really confused about the fact that both ts and go repos had essentially scripts to generate classes. It finally clicked after I read multiple discussions (or skeets?) here about lexicons being defined by the PDS
comment in response to
post
While the usual reasons exist such as crafting code, I really enjoy the process of debugging. It’s a mix of problem solving via hypothesis creation, validation and fixes.
comment in response to
post
My plan is to now create a cross-device app for BlueSky using SwiftUI, which should be a sufficiently large sized project for me to use my new-found knowledge as well as actually create a production app
comment in response to
post
My motivation for learning SwiftUI was mainly to do with the fact that I've invested quite a bit in the ecosystem and could not always find applications that are sufficiently cross device and support my use-cases.