Profile for zlatko
About zlatko
Fields
- website
- https://zlatko.dev
- some photos
- https://pixelfed.social/zlatko
- some more photos
- https://photos.zlatko.dev
- 52frames photos
- https://52frames.com/photographer/20340
- Gravatar
- https://gravatar.com/zladuric
Bio
According to some, I'm avant-garde ;)
I try to stick to software development and engineering topics, often related to application development, but I also shitpost random stuff, occassionally about photography, (usually not more then) react to politics or economics.
My website is https://zlatko.dev but I less completely-infrequently post a photo or two to my photo gallery https://photos.zlatko.dev.
I also used to post at https://pixelfed.social/zlatko, and https://programming.dev/u/zlatko, and I'll occassionally swipe here and there.
Stats
- Joined
- Posts
- 2428
- Followed by
- 164
- Following
- 329
Me: (listening to some random progressive stuff)
Me: (notices it's on 2x speed, slows it down to 1x)
...
Also me: "Oh, this is also okay to listen."
It's incredible how people are overcomplicating Angular (and other frameworks as well). Just because there's a "smart" feature included, it doesn't mean you should use it.
One concrete example I'm currently having a problem with is implementing complex access/permissions behavior through a directive. I assume the intention was: e.g. this: <span *canAccess="null; currentUser.perms; Access.READ">Thing to access</span>. I believe it's intention is clear, the future users of this know how you can show parts of the UI only to people who are supposed to.
But that's actually false, and people do not, in fact, know how to do it. If it was a simple <span *ngIf="canRead()">, any Angular rookie knows this. By making your own custom directive, now people need to learn not just Angular, but also your DSL. It makes sense in big apps with several teams unrelated to eachother. But a lot of the time I see this kind of smart-ass code in a small team and a relatively small app. A dev learned a new trick, and used it. And now two years later, he's long gone and you have to actually go fix things, and you don't understand the intention any more.
Stick to simple, straightforward concepts in Angular, please.
Omg, I don't know if this is more hilarious or infuriating privacy policy page for s screensaver:
I am being extremely stupid today. In thinking of relatively decent but easy-to-remember password, I came up with:
"roughly, horses have 10 feet".
Then the lil bit of OCD that I have wanted it to be correct. so I expanded it.
But now I cannot stop thinking about the completely unrelated problem. Rounded up, do horses have ten or a hundred feet?
What are we going to do on the Linux side of the story with all the extra CPU/GPU powers and features stuffed into the new "AI" processors, though?
I mean, we can't let it all go to waste, but what do do with it all?
I wish y'all a lovely week.
Wrote a rant about M$ Copilot but have the good wishes instead.
Visiting my dad so I can worship Their Holiness The Cat
It's not really a dead babe, but it's close. I vote myself for the winner of the handsomest git short hash of the day:
dadeebb