@Ciantic@twit.social avatar

Ciantic

@Ciantic@twit.social

Developer. This is my main account for the time being. I have six profiles now on Mastodon, sigh.

I will remove followers who haven't posted anything.

#Rust, #FSharp, #CSharp, #DotNet, #TypeScript

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

chockenberry, to random
@chockenberry@mastodon.social avatar

The bad news: XML is going to be around forever.

The good news: XML is going to be around forever.

Ciantic,
@Ciantic@twit.social avatar

@chockenberry It's going to outlive bits! ... in printed form.

Ciantic, to random
@Ciantic@twit.social avatar

I have now hacky solution to show favicon in the Windows 11 taskbar for each Firefox tab.

  1. Disable combine taskbar buttons
  2. Firefox extension that sends a command to native cli tool
  3. Native cli tool calls WM_SETICON to swap the icons.

It should work pretty well. Currently I don't have extension ready for it, but I tried with scripts and AHK that this is doable.

marcoarment, to random
@marcoarment@mastodon.social avatar

My iPhone 15 Pro doesn't hold onto USB-C cables very well anymore, and they always fall out or flake out.

(And I only use the USB-C port for Xcode and travel charging, so it's not from overuse.)

Anyone else have this happen? Is this most likely a "crap in the port” 5-minute-fix-at-an-Apple-store situation, or a hardware-repair I'll-be-without-my-phone-for-some-days-and-need-to-move-into-an-old-one situation?

Ciantic,
@Ciantic@twit.social avatar

@tomhannen @marcoarment That seems to be intended for glue removal, not cleaning the port. I wouldn't try that first. Or maybe you linked wrong item.

Ciantic, to node
@Ciantic@twit.social avatar

I think I don't like 's JSR syntax:

import { foo } from "jsr:foo"

This makes yet another thing that deviates it from vanilla TypeScript/NodeJS/Bun

HTTPS imports at least have a chance they will be widely adopted, but these alternative import syntaxes not so much.

mjtsai, to random
@mjtsai@mastodon.social avatar
Ciantic,
@Ciantic@twit.social avatar

@mjtsai I'm reading this "for some reason the only location in the list was the grocery store that I go to once every two weeks"

My first thought is, you should've gone to the grocery store.

Devices that are purely locked by cloud services are becoming a problem. There is already a bunch of people who avoid storing anything meaningful in Google accounts because of fearing getting locked out. It would be a shame if Apple got the same reputation. How nutty is this?

Ciantic, to random
@Ciantic@twit.social avatar

#TWiT Timeline, looks like Thurrott is switching to Threads, follow him there: @thurrott

Ciantic, to react
@Ciantic@twit.social avatar

Just reading #React 19 notes, cool stuff, but I can imagine this is a headache for people with big code bases:

"In React 19, the way we use useMemo, forwardRef, useEffect, and useContext will change. This is mainly because a new hook, use, will be introduced."

"You won't need to use the useMemo() hook after React19, as React Compiler will memoize by itself."

Good luck everyone!

Jeremiah, to random
@Jeremiah@alpaca.gold avatar

😡 The @EU_Commission is giving up on @Mastodon and @peertube because @EDPS couldn’t find an agency within the commission to continue operating it.

https://www.edps.europa.eu/press-publications/press-news/press-releases/2024/edps-decentralised-social-media-pilot-end-successful-story_en

Ciantic,
@Ciantic@twit.social avatar

@Jeremiah @EU_Commission @Mastodon @peertube @EDPS

This just highlights that they should've made their account in @Gargron's server. Only thing #Mastodon needs is a simpler way to assing a custom handle: https://github.com/mastodon/mastodon/issues/2668

The burden of running your own server is too much for many.

Ciantic,
@Ciantic@twit.social avatar

@Jeremiah @EDPS @Gargron I hope they transfer their accounts to mastodon.social, I really liked seeing the content.

Ciantic,
@Ciantic@twit.social avatar

@Eh__tweet @Jeremiah @EDPS Nah, I'm quite certain that @Gargron can manage secure Mastodon server much better than any EU server jockeys, no offense to them.

EU is more than fine having accounts in Threads, Instagram, X, etc... having one more account in mastodon.social wouldn't be a big deal, it mostly reposts stuff from their web page anyway.

Ciantic, to CSS
@Ciantic@twit.social avatar

My obsession is to put user-select: none to all role="button" links, which the user might click quickly multiple times. It's really jarring to me when clicking a button quickly and browser starts to select text underneath.

#CSS

Ciantic, to CSS
@Ciantic@twit.social avatar

Sometimes #CSS is funny. Display grid is easy, but adding the actual grid lines between the grid cells, well, that's nearly impossible to do well!

I wish the display grid had inherited border possibilities from tables because they have all the needed things for adding borders (e.g. border-collapse etc) so there are no duplicate borders when using colspan etc.

Ciantic,
@Ciantic@twit.social avatar

@Meyerweb Precisely that. Paradoxically doing grids (ones that non-technical people say are grids) is hard to do with display grids because there is no way to draw the lines.

It was much easier with table-layouts, with grids it's nearly impossible, especially if the grids are not uniform (like using colspan or rowspan type of things).

matt, to threads
@matt@isfeeling.social avatar

#Threads reminds you after 30 days of sharing to the fediverse that you’re doing it and gives the option to go turn it off if you don’t want it anymore.

Ciantic,
@Ciantic@twit.social avatar

@matt Every time I look at Threads, it's @tchambers advocating to turn it on for people. Which is good, but this is completely backward.

The whole idea seemed that Meta was building a service from the ground up for federation so that everyone who joins Threads would be automatically in. I wouldn't care if they had some other way like RSS turned on by default, but they don't. It's a silo right now. Geeks will get it, but nobody else.

Maybe they have decided to extinguish without embracing.

Ciantic,
@Ciantic@twit.social avatar

@matt @tchambers This discouraging popup isn't making me very hopeful.

To me, Fediverse integration is an open API, not some weird sharing thing they present it to be. It doesn't remove safety or add it by giving the user an option. The same content filters Meta is using to remove spam and unwanted content work just as well if not better for content coming from Fediverse.

My litmus test is, that if Meta doesn't enable #RSS for all public accounts, they are not embracing open web.

Ciantic,
@Ciantic@twit.social avatar

@matt @tchambers ... and to continue a little bit, #RSS is a good litmus test, because they could turn on right now. It's a known entity. They can put sensible rate limits etc. in place and we can consume their content without that app of theirs.

But that's exactly what they don't want.

By making open-web APIs cumbersome they can own more content. Most brands like the NBA etc. aren't going to turn on Fediverse sharing if it is opt-in, and they also own the discussions around topics like that.

Ciantic, to random
@Ciantic@twit.social avatar

Today I learned, the hard way, #Git's

git diff > ..\mypatch.patch

DOES NOT contain untracked files.

Luckily I didn't have that many, but lost all the work in untracked files, as I screwed up also with stash.

Ciantic, (edited ) to CSS
@Ciantic@twit.social avatar

I don't understand, why is Focus Trapping so damn tricky in HTML/CSS/JS?

So many ugly hacks involved in that, event listeners etc. to achieve it.

#html #css #javascript

Ciantic, to dotnet
@Ciantic@twit.social avatar

Microsoft's Aspire framework looks cool to manage simple application with few dependencies.

It allows to write in application code the dependencies, and when deployed they start automatically.

For example if you add dependency to PostgreSQL or Redis then when started it starts it. Locally it uses K8s, but apparently when deployed to Azure it can use containers or services.

No need to write YAML, just pure C# & Nuget to get external services working.

#dotnet #Kubernetes #Aspire

Ciantic,
@Ciantic@twit.social avatar

What I like is that, in my opinion this is how K8s should've been from the start. Define the resources in code, not in YAML!

Ciantic, to email
@Ciantic@twit.social avatar

Newsletters would be so much better if I got them to Mastodon as links or full content.

When I open up an email, my mood is: I have to answer these. I don't want to spend any extra time on email app.

When I get the newsletter, it's a consumption mindset.

Mixing attention and consumption model makes newsletters so off-putting.

#Email #Newsletter #Substack #Mastodon

bradellis, to random
@bradellis@hachyderm.io avatar

Not sure if ya'll have played with Rive, but it's a highly capable animation app. Think Lottie but with bones, interaction, and a proper app. This rig has so many clips, z-index shenanigans, and keys to tween, but easily runs at full fps in Chrome.

video/mp4

Ciantic,
@Ciantic@twit.social avatar

@bradellis It is still worse than video for low-powered Android. I have Samsung Galaxy A10 (still current and updated) for testing, and scrolling a page with Rive runtime animations is still very laggy.

But there is no lag at all when scrolling the page with a video-element of equivalent quality of animation.

I prefer video-element for web animations for that reason, those are very well optimized even by low powered Androids.

Ciantic,
@Ciantic@twit.social avatar

@bradellis We tried SVG and Canvas based renderers last year. Both fails to work with Galaxy A10 spectacularly, crashes and yankiness.

In the end we did a solution that is a bit annoying: For Safari based browsers we are sending SVG animations, and every other browser video eleemnts.

Reason is that there is no way to tell from user agent if Android device is simply low powered or high-end. Because low powered Android devices still has recent Chrome version.

Ciantic, (edited )
@Ciantic@twit.social avatar

@bradellis Never tried APNG 🙂

I think videos are easy for cheap Androids because hardware decoding is so efficient, and already pretty well battle-tested, hard to beat it.

That said, SVG animations do work when used sparingly. Scrolling will be slightly worse with SVG, even just static big SVG images cause problems for some reason. It all depends on how heavy SVGs one does.

CodenameTim, to django
@CodenameTim@fosstodon.org avatar

Saturday morning #django package idea:

A tool that allows you to rapidly test and compare various indexes against a queryset or known view.

It then would configure the db, and run the queryset, store results, run explain analyze, store that, move onto the next and do the same, then at the end present and annotate the results.

Ciantic,
@Ciantic@twit.social avatar

@webology @ryanhiebert @CodenameTim This popped in HN just today:

https://github.com/supabase/index_advisor

Looks kind of neat also.

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