@spartanatreyu@programming.dev avatar

spartanatreyu

@spartanatreyu@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Why would I leave windows if Linux isn’t offering anything better?

Because Linux offers an ad-free experience, whereas Windows offers a free ads experience.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Are you using the group policy editor?

spartanatreyu,
@spartanatreyu@programming.dev avatar

No mouse and like games like MaM/Civ?

Recommendation for slower paced, top down strategy game:

  • GBA emulator and the game Advance Wars 2

Recommendation for hard and fast paced game (audio required):

  • Crypt of the Necrodancer

Recommendation for story based game:

  • Undertale (avoid spoilers, this game will mess with you, only goes for 4 hours per playthrough but you will replay it for the different endings)
spartanatreyu,
@spartanatreyu@programming.dev avatar

I’m not seeing anything in the data collected that I wouldn’t want to be sent if the app crashed.

Fedora is "the gaming" distro and perfect for Linux beginner confirmed (at least for me)

why? because it’s not triggering an obscure anti cheat on a game I’ve been playing when using wine (performance is still the same tho), everything else is just work no missing dependencies and it’s doesn’t get in my way like other distros (I tried Arch, Opensuse, Ubuntu, Debian), just to clarify I’m a complete noob...

spartanatreyu,
@spartanatreyu@programming.dev avatar

What stopped the install process working without a mouse?

Surely they’d have a keyboard navigation method.

spartanatreyu,
@spartanatreyu@programming.dev avatar

That’s an obviously poor take. If only laptop users could get past the screen then it’s still broken.

spartanatreyu,
@spartanatreyu@programming.dev avatar

You were literally responded by suggesting they use their laptop’s HID, then suggested a wired mouse which they said they didn’t have, then suggested using the console which the install process doesn’t advertise as a possibility to the user.

Poor UX is a bug, it needs to be updated.

spartanatreyu,
@spartanatreyu@programming.dev avatar

As an outsider looking in, it looks like it’s a bit of a wipe the slate clean governance and moderation wise as voted on by the community.

So, now over the coming days the community will in essence vote on whether they will allow sponsorships from the military industrial complex.

spartanatreyu,
@spartanatreyu@programming.dev avatar

This was 4 days ago, I didn’t have to look very far:

theguardian.com/…/google-project-nimbus-israel

Firing talent is a great way to bork a project.

Why PHP Usage Has Declined by 40% in Just Over 2 Years (thenewstack.io)

In conclusion, it is easy to see PHP in 2024 as the forgotten child of web development, while JavaScript is the most popular kid in class. Sadly for PHP, its decline in usage is unlikely to stop any time soon — why would it, when WordPress developers are busy adapting to a new JavaScript paradigm? But at least there is active...

spartanatreyu,
@spartanatreyu@programming.dev avatar

TIOBE index, literally in the first sentence…

PHP leaves a bad taste in my mouth and I’d be happier if we were rid of it (or it continued changing for the next 10 years), but even I can see this article is worthless.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Presenting: an excerpt from my lua windows management script:


<span style="font-style:italic;color:#969896;">-- Exists because lua doesn't have a round function. WAT?!
</span><span style="font-weight:bold;color:#a71d5d;">function </span><span style="font-weight:bold;color:#795da3;">round</span><span style="color:#323232;">(num)
</span><span style="color:#323232;">	</span><span style="font-weight:bold;color:#a71d5d;">return </span><span style="color:#62a35c;">math.floor</span><span style="color:#323232;">(num </span><span style="font-weight:bold;color:#a71d5d;">+ </span><span style="color:#0086b3;">0.5</span><span style="color:#323232;">)
</span><span style="font-weight:bold;color:#a71d5d;">end
</span>

Yeah, not a fan.

spartanatreyu,
@spartanatreyu@programming.dev avatar

It seemed pretty clear to me that the article states that css is doing it’s job and it’s actually fonts that are the problem

spartanatreyu,
@spartanatreyu@programming.dev avatar

Luckily for you, there’s not a vaccine for stupidity.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Nah, sourcetree has annoying bugs that never get fixed.

Use Fork, it’s a better sourcetree.

It’s free the same way that Sublime Text is: They’ll ask for a payment once a month, but you can say you’re “evaluating it” and use it for free. If you like it enough, you can pay for it. I have.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Let me reverse that question and ask: Why use Sass?

spartanatreyu,
@spartanatreyu@programming.dev avatar

CSS has variables, modules and nesting.

By inheritance, do you mean the extends keyword? Because if so, it just seems like going further down the misguided BEM path instead of picking better selectors.

spartanatreyu,
@spartanatreyu@programming.dev avatar

CSS can already be split into multiple files though.

So why not just use CSS?

spartanatreyu,
@spartanatreyu@programming.dev avatar
spartanatreyu, (edited )
@spartanatreyu@programming.dev avatar

There’s a reason Teams is/was shit.

The first teams was written in AngularJS (which is a slow to run resource hog, but fast to develop) wrapped in Electron. It was kind of a minimum viable product, just to build something quickly to get some feedback and stats on what people needed.

The plan was to build a new native version of teams and build it into the next windows while having an web fallback (built on react) for everyone else.

They stopped working on the original teams and started working on the new versions.

They got half-way through working on the native and react versions when suddenly, covid happened.

They couldn’t keep working on the new versions because they wouldn’t be ready for a while, so they had to go back and resume development on the old one, introducing patch after patch to quickly get more features in there (like more than 2 webcam streams per call).

Eventually covid subsided and they were able to resume development on the new teams versions.

Windows 11 launched with a native teams version (which has less features but runs super quick), and the new react based teams (which can now be downloaded in a webview2 wrapper) has been in open beta since late last year (if you’ve seen the “Try the new Teams” toggle, then you’ve seen this). The React+Webview2 teams will replace the AngularJS+Electron version as the default on July 7th.

spartanatreyu,
@spartanatreyu@programming.dev avatar

The windows 11 teams runs better, but if you’re using a school or work account, you need to use the old AngularJS+Electron version, or the new React+Webview2 version.

So for the time being, the Windows 11 teams is more catered for personal use only. It’s kind of like a modern reboot of Microsoft’s old MSN Messenger. It was included in Windows 11 (rebranded as “Chat”) but it’s been unbundled from Windows 11 installs and I think rebranded again. But not having the school/work account support means not a lot of people use it.

The transition between the AngularJS+Electron version and the React+Webview2 versions is happening now. At some point soon, anyone who is running an OS too old to run the new teams will be forced to use the browser version.

So after their transition, we’ll have to wait and see if they add the school/work account support to the native version because everyone using teams right now only uses those accounts.

spartanatreyu,
@spartanatreyu@programming.dev avatar

Eh, it’s the same on the Android side of the fence. There are big and small features that Google has been comically slow to crib from iOS.

I’ve definitely said “fucking finally” to things like overflow scrolling animations,

Those things like overflow scrolling, keyboard peak, etc… were only held back because Apple would patent it prevent it from being put into Android and would file frivolous lawsuits against other phone manufacturers to try and get them not to use them, even when some android variants already had it built in before apple patented it in the first place. (I still facepalm at apple trying to sue others over a rounded rectangle shaped phone)

And those patents lawsuits only stopped because other phone companies called bullshit and started threatening apple with their own patents.

and the “wild” idea that users should get 5+ of major OS releases.

TL;DR on this point: not much of an issue anymore.

This isn’t an android/iOS thing, it’s a manufacturer thing. If a chip isn’t supported by it’s manufacturer, then no software on it can be supported. Different manufacturers had different support windows, but Qualcomm became notorious for making chips, then only supporting them for 2 years so they could sell a new “supported” one (and watch the money roll in). Once they saw other the larger players getting pissed off and poking around with the idea of making their own chips, Qualcomm quickly decided that they could support their chips for longer. Now they have to since both Google and Samsung have made public promises for 5-7 year support cycles. Of course, that hasn’t stopped other phones from already reaching 7 years of official support before. (A notable example being Fairphone 2 who used a Qualcomm chip while they were still in their shitty behaviour phase and managed to support it for 7 years, 2 years Qualcomm support then 5 years of their own support despite Qualcomm.)

Also, when Google was pissed at Qualcomm they decided to start modularising their OS and pulling chunks out of it out of needing direct hardware support. This means that even if chip support were to stop, it would only affect the background / lowest-level-invisible-to-the-user parts of the OS, and all the user visible parts of the OS could be updated independently (starting with Project Treble, and going all out with Project Mainline). This basically means that entire chunks of the OS can be updated the same way an app can be, early 2010 Qualcomm companies be damned.

This also has the weird thing of android not really being a “version” per se, one phone might have different components of Android 10/11/12/13/14/etc… running at the same time. The components themselves have their own versions.

spartanatreyu,
@spartanatreyu@programming.dev avatar

There’s absolutely a massive internal bias people have where they naturally believe that others develop the same kinds of content, when really it’s half working on page based content, and half working on component based content.

  • Page developers know that putting their styles in the content itself is a disaster when you want to make a global change.
  • Component developers know that putting their styles external to their components is a dx nightmare because developers keep making changes that they think only affects one component when it actually impacts a different component (and that change might not be found until months or years later).

Both are correct.

The real problem is developers thinking that there are only two methods for making styles: external css files, and tailwind/atomic styles in class names.

Component developers should have their styles inside their components, but not inlined in style attributes (like in tailwind).

Component developers should instead place a style tag inside their component that is scoped to just that component.

So let’s say you’re making an accordion component.

Make your html+js/jsx like you already do, and add an “accordion” class to your component’s root element. Now add a style tag in your component with a single selector targetting the .accordion class. Now you can use nesting to style anything in the accordion exactly how you want. Want to style something based on whether an element is open or not? Use an attribute selector. Want to style something based on whether it’s child is doing something? Use the :has() selector. etc…

If you’re making a widget system, use container queries. If you’re making a card system, use subgrid.

There’s so many obvious use cases that modern css provides for, so use modern css! and not any of this BEM or tailwind nonsense. Now your css is so much smaller, robust and more maintainable.


Follow up questions:

Q: But I don’t know modern CSS

A: Learn, it’ll be much better for you in the long run compared to using tailwind, then needing to learn something else once people switch off tailwind for something else.

Q: But wouldn’t putting a style tag in every component mean that there’s going to be two style tags on the page if I put two of the same component on the page?

A: It’ll only do that if you make it do that. Most component based frameworks are already set up to reduce repetition, check your framework’s docs. (e.g. react’s many css-in-js solutions, web component’s :host selector, vue’s <style> and <style scoped> elements, SSGs like Eleventy have Asset Bucketing, and even native html is getting it’s own solution this year with @scope).

Your 4G phone could be impacted by 3G shutdowns this year. Here's what to know (www.abc.net.au)

All three major telcos have been warning customers to make sure they upgrade from 3G-only devices, but also to check if their 4G and 5G devices have something called Voice over LTE (VoLTE), so that they don’t get caught out when 3G networks shut down....

spartanatreyu,
@spartanatreyu@programming.dev avatar

The ones with 5G also cost a lot more.

What is the “ones” that you are referring to?

Are there plans that differenciate between 4g and 5g?

Or do you mean phones, or towers/infrastructure?

Because both the modems in phones and the infrastructure goes down as their production is scaled up. I don’t think there’s any new mainstream modem chipsets that don’t support 5g anymore.

Linking parts of the codebase such that changing one forces reviewing the other ?

Suppose we have a large to-do task manager app with many features. Say we have an entity, which is the task, and it has certain fields like: title, description, deadline, sub-tasks, dependencies, etc. This entity is used in many parts of our codebase....

spartanatreyu,
@spartanatreyu@programming.dev avatar

You mean a whole different window at the OS level?

Yes, that way I could switch between windows in a single shortcut, or even place them side by side so I can see both at the same time with other shortcuts.

That’s just a way inferior hack to the way vim does it by default.

Can you explain this more?

Why wouldn’t you want window management to be managed by the window manager?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • tacticalgear
  • osvaldo12
  • Youngstown
  • everett
  • slotface
  • vwfavf
  • rosin
  • mdbf
  • kavyap
  • DreamBathrooms
  • provamag3
  • ngwrru68w68
  • Durango
  • cubers
  • ethstaker
  • khanakhh
  • tester
  • modclub
  • GTA5RPClips
  • anitta
  • cisconetworking
  • normalnudes
  • Leos
  • JUstTest
  • All magazines