• 0 Posts
  • 531 Comments
Joined 9 months ago
cake
Cake day: September 27th, 2023

help-circle
  • That is a very unlikely approach.

    Rich text in the modern world is almost exclusively solved by using markdown because it’s such a trivial solution.

    In previous words it was usually solved either using range tags (similar to HTML, sometimes literally HTML, more often custom stuff) or embedded boundary markers (something that marked a new boundary and then had a full definition of the styles to follow, sometimes omitting styles that didn’t change, often times in some insanely dense binary format for predictable scanning).

    Usually, it’s more sane to embed formatting in the string itself rather than having styling separately defined (i.e. CSS, kinda). Because otherwise storage would be a huge pain and reading would require a lot of non-consecutive disk scans.



  • I still constantly bitch about not being able to pin the taskbar to the side of the screen in windows 11.

    There will always be some static-friction to UI changes, even if it’s a change that makes the UI more accessible overall. Everytime you alter your UI you’re taxing your users as it will take them some time to adapt to the new system. You should minimize how often you do this for that reason. Additionally, sometimes you may be unaware of an unintentional feature users appreciate that you’re depreciating.

    I dislike your comment because it’s making a lot of sweeping generalizations (like that the UI changes are actually good) and ignoring the fact that users may have legitimate complaints.



  • I understand your pain - the real reason for that is that PHP was the first “hobbyist” programming language so a lot of self trained folks built websites that ended up slowly morphing into successful businesses.

    One of the things I’m actually most proud of from the PHP community is that around 5.2 the maintainers looked around and saw sites like Quora and StackOverflow were littered with the worst fucking PHP advice endorsing functions like mysql_query and ill-advised features like magic_quotes so the community invested a lot of resources in purging answers that preached anti-patterns and replace them with non-terrible answers.

    I work in PHP and it’s perfectly serviceable now, we’ve got strict typing, namespaces, lambdas, all the nice shit you’d expect in a modern language.









  • One of my proudest university moments was getting a 50% on an exam. I built this absolutely fucking glorious solitare implementation in Java as a first year student that dove deep into how image buffers work and stayed up all night doing it. I got 100% on the project and 0% on the presentation that I slept through (my prof did offer me some extra credit which I took advantage of).

    Never have I ever felt more validated in preferring to be a code monkey with zero interactions with clients than in that moment - I produced unimpeachably perfect results and completely fucked the communication side (thankfully, I’ve worked through a lot of my social anxiety but I’m still strongly in the introvert camp).