spartanatreyu

joined 1 year ago
[–] spartanatreyu 11 points 1 week ago* (last edited 1 week ago) (3 children)

I think the more important question here is why are you using the internet without an adblocker?

But to answer the lesser question, stick this in a pinned tab and download what you need: https://devdocs.io/offline

[–] spartanatreyu 1 points 3 weeks ago* (last edited 3 weeks ago)

I wonder if the slowdown in non-ai features this release was influenced in some way by their migration away from AMD modules to ES modules.

Putting myself in their shoes and taking codemods into account, I wouldn't want to make a big feature and have to worry about AMD/ES module concerns. Why do that when instead I could get a bunch of checking and smaller (but non headline) tasks out of the way and get back onto the larger features in 1-2 months after the ES modules are proven to work and I don't have to worry about rolling back changes.

Either that, or sometimes by statistical eventuality we end up with changes (which all take a different time to be completed) just not being released within a small period of time.

[–] spartanatreyu 0 points 1 month ago

Tailwind leads to just as much class soup as bootstrap, so avoid it all together.

Your website shouldn't need classes everywhere to work. Use something that sets proper defaults then only use classes where they're needed. Like picocss or purecss.

[–] spartanatreyu 9 points 1 month ago* (last edited 1 month ago) (2 children)

See I think that’s not what the “anti-woke” people think it means.

That's exactly what I pointed out. The people who provide them their information are actively trying to poison the word to the point that it means something else. But it doesn't, because the poisoning only works in the echo chambers that spread that information.

Turning to urban dictionary, they’re using this definition: [...]

That would be one of the attempts to poison the word. It's worth pointing out that anyone can add a definition to urban dictionary and it's quite often that trolls try to overwhelm existing definitions on there.

[...] (according to that definition).

That comes back to what I said before. People who self report as anti-woke are against anything that uses the label "woke", until they look at what's under the label and they realise they aren't against any of the points the "woke" labelled thing is doing.

They're not actually anti-woke, they're anti-incorrect-label.

[–] spartanatreyu 1 points 1 month ago (1 children)

There's no official announcement per se, but the windows version is built with .net which has been getting better linux support over the last two years.

There are unofficial instructions to run it through wine on their issue tracker.

[–] spartanatreyu 1 points 1 month ago

It's basically just a better sourcetree.

If you're already used to sourcetree, it's a really smooth transition.

The main reason to switch away from sourcetree is the bugs and papercuts.

  • Bugs: Sure, bugs happen with everything but you're stuck with them when they happen with sourcetree. There was an issue not too long ago where sourcetree couldn't scroll. It was classed as a low priority bug and took about a year for it to be fixed. Imagine needing to use your keyboard to scroll up and down, but then git would refresh and take you back to the top where you'd need to start again. Now imagine trying to do that for a whole year. And that was just one bug.

  • Papercuts: It's so good at some things that you want to forgive the flaws in other things and find workarounds to bugs, but after a while they build up into poisoning you're experience. For example: things going slow in larger repos, getting git errors when staging certain lines because a different line in the middle had to be staged/removed in a different order, the bi-yearly account issues, etc...

The thing is, you don't need to put up with it since fork already does everything that sourcetree does (and a bit more), and they actually spend time sanding off the papercuts so you don't need to worry about finding workarounds when something goes wrong.

Just losing the bugs without losing any features is already reason enough to switch.

But there's also the improvements over sourcetree as well:

  • Collapsible and sortable git graph (by date or topology)
  • Better staging -- Sourcetree supports staging changed content by file, hunk, and sometimes by line when it doesn't bug out. -- Fork supports staging changed content AND original content by file, hunk, and by line. That way if you changed a line, you can keep both the old version and new version in a commit. (e.g. You altered a comment in your code, but then upon self review when staging changes you realised you don't want to change the comment, but instead you want the new comment to exist under the old comment. Instead of copying the change, undoing the change, then pasting the change into the code, you can simply stage the addition of the line, but discard the removal of the old line. Now both lines exist in your code)
  • Better rebasing
  • Supports new git features (e.g. worktrees, new diff algos, etc)
  • Just how snappy the program is compared to sourcetree, it keeps you in that flow state
[–] spartanatreyu 12 points 1 month ago (4 children)

Because being woke is generally considered to be a bad thing?

No. Being woke is only considered bad in toxic echo chambers where they've tried to poison the word.

Most people who self report as "anti-woke" repeat infectious and carefully crafted but fallacious talking points whenever the term "woke" is said.

But if you bring up a situation where a minority is getting the bad end of the stick and they agree with you that it's bad, they don't realise that they themselves are being woke. They agree with being woke so long as the label "woke" isn't used. It's when you point that out that they start to realise that they've been poisoned against the term.

Being woke simply means that some people don't often get the same affordances as others.

If you accept the general fact that women tend to get paid less for the same amount of work, then you're woke.

If you accept the general fact that black people might not get hired if a person doing the hiring is racist, then you're woke.

If you accept the general fact that some people have to hide the fact that they're not heterosexual in some countries otherwise they'll suffer the death penalty, then you're woke.

[–] spartanatreyu 6 points 1 month ago (1 children)

English doesn't really have a well defined way to write down the "zjush" from the "su" in pleasure.

The most accepted ways are "zh" or "x" in English, or ʒ in IPA.

Since most people call it twitter, and Elon want to call it x, so people push them together to make xitter, because it sounds like "shitter" (the crude term for toilet) and because the quality of twitter has declined dramatically to the point that it resembles an unclean toilet.

[–] spartanatreyu 11 points 1 month ago (5 children)

Looks quite good if you want to use git exclusively in vscode.

IMO, fork is the best git client for macOS/Windows but lacks native linux support (although they are experimenting with it).

Until fork gains linux support, this seems like a nice alternative if running on linux (and if it supports the remote development APIs: running on a linux docker image)

[–] spartanatreyu 3 points 1 month ago (1 children)

Watching web developers react to this change on mastodon has been... interesting to say the least

[–] spartanatreyu 8 points 2 months ago (11 children)

This doesn't seem overly useful.

It's a list taken out of a bunch of books with no regard for how something can be the best path in one language and a smell in another language.

Look at this page for example: https://luzkan.github.io/smells/imperative-loops

It suggests using functional loop methods (.map(), .reduce(), .filter()) instead of using imperative loops (for, for in, for each) but completely disregards the facts that imperative loops also have access to the break, continue, and return keywords to improve performance.

For example: If I have an unsorted list of 1000 cars which includes a whole bunch of information per car (e.g. color, year manufactured, etc...), and I want to know if there were any cars were manufactured before the year 1980, I can run an imperative loop through the list and early return true if I find one, and only returning false if I haven't found one by the end of the list.

If the third car was made in 1977, then I have only iterated through 3 cars to find my answer.

But if I were to try this with only functional loops, I would have to iterate through all 1000 cars before I had my answer.

A website with blind rules like this is going to lead to worse code.

[–] spartanatreyu 6 points 2 months ago

Poor quality red herring comment. Try harder.

13
submitted 4 months ago by spartanatreyu to c/webdev
 

Feel free to tweak the two custom properties in the css pane to explore the different mosaic patterns that are generated.

16
I made a thing (codepen.io)
submitted 6 months ago* (last edited 6 months ago) by spartanatreyu to c/webdev
 

Single HTML element + CSS only

  1. Inhale for 4 seconds
  2. Hold for 4 seconds
  3. Exhale for 4 seconds
  4. Hold for 4 seconds

And repeat

Inspired by: https://quietkit.com/box-breathing/

Note: The current Safari version has a bugged linear() implementation that has been fixed in the upcoming version.

 
32
Typescript 5.2 Released (devblogs.microsoft.com)
submitted 1 year ago by spartanatreyu to c/webdev
20
Typescript 5.2 beta announcement (devblogs.microsoft.com)
submitted 1 year ago by spartanatreyu to c/webdev
 

Shows a great example of JS' new using keyword (similar to defer in D, Go, Swift, etc...)

 

Comments should provide context, not repeat what the code already says. The Redis codebase has 9 distinct types of comments (Function, Design, Why, Teacher, Checklist, Guide, Trivial, Debt, Backup), each with a specific goal in mind.

view more: next ›