@dngrs@chaos.social
@dngrs@chaos.social avatar

dngrs

@dngrs@chaos.social

30 trillion cells in a trench coat

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

cuchaz, to random
@cuchaz@gladtech.social avatar

Once again I get foiled by switching languages. :blobcatfacepalm2:

In Javascript, you have to compare strings with ===, not ==, or else you'll run into type coercion problems, because Javascript thinks 1 == "1" is a totally fine thing to be true. (it's not)

But in Kotlin, === compares identity not equality for strings. But in the JVM, string values are aggressively cached, so === actually does what you want most of the time. Unless your strings come from weird places, like JNI code. Then you get awful non-deterministic behavior that's incredibly hard to debug, but it totally goes away when you use the correct comparison operator == for strings.

sigh I'm not really as good at this whole programming thing as I should be by now.

dngrs,
@dngrs@chaos.social avatar

@happyborg what didn't you like about angular? I found it surprisingly pleasant, especially the reactive API. Though that can be rather brain melting too, and hard to debug...

loosenut, to genart
@loosenut@genart.social avatar
dngrs,
@dngrs@chaos.social avatar

@loosenut they look so fluffy! What kind of tech is this? (my guess would be a fur operator in some 3D tool)

gsuberland, to random
@gsuberland@chaos.social avatar

new engine simulator video!

(if you haven't been following this series, I highly recommend going back and checking out earlier videos. it's wild)

https://youtu.be/J11c8mMN1PA

dngrs,
@dngrs@chaos.social avatar

@gsuberland oh yeah this channel is off the charts

mcc, to random
@mcc@mastodon.social avatar

Google why do you make me watch videos this way

dngrs,
@dngrs@chaos.social avatar

@mcc also they converted old videos of mine to shorts without my consent (that's also how I found out that you can watch any short as a regular video by changing the URL)

dngrs, to rust
@dngrs@chaos.social avatar

Ouh yeah! First working prototype of a rotary LED display with firmware ✨

LED rotor spinning in the colors red, green, blue and yellow

dngrs,
@dngrs@chaos.social avatar

We have achieved Ferris! Spent a few hours debugging what ultimately wasn't a code issue but a brown out...

Original pixel art by reddit user Limedye, found at https://www.reddit.com/r/rust/comments/62yv2i/i_made_a_rustacean_pixelart_for_rplace/

pixel art of Ferris, the Rust mascot crab, shown on a DIY rotary display

dngrs,
@dngrs@chaos.social avatar

@cliffle thank you! I'm quite happy I got it to work, being entirely self taught when it comes to EE and mechanics… lots of improvements still to be made, mostly I should get a rotor PCB fabbed that has a higher LED density than a puny strip 🙃
WiFi controls & firmware update would also be nice... the pogo pin jig is testing my patience for sure

larsmb, to firefox
@larsmb@mastodon.online avatar

Weird request - in 's password manager, is there a way to stop it from asking about saving new passwords?

I don't want to fully disable it (since I'm migrating to a different one step by step, and want access to the history), but I want all new ones to go to my new choice.

Seems this isn't possible, but maybe I just missed it or a helpful extension?

dngrs,
@dngrs@chaos.social avatar

@larsmb the way I solved this was by importing Firefox passwords into the new password manager

mcc, to random
@mcc@mastodon.social avatar

Okay so let me tell you what I just wasted my like… last half hour on?

Let's say you want to get an IP address of a mDNS (".local") server. Even if your computer can connect to these, the nslookup tool will not tell you what they are. One reason you might need the IP is WSL is generally blocked from doing mDNS lookups.

The fix is:

On Linux:
avahi-resolve --name SERVERNAME.local
Or for ipv4:
avahi-resolve -4 --name SERVERNAME.local
You may have to install an avahi-utils package.

On Windows:

dngrs,
@dngrs@chaos.social avatar

@mcc @glyph ping should work? I think?

gsuberland, to random
@gsuberland@chaos.social avatar

coughing up a lung so figured I'd better test.

(it's negative)

dngrs,
@dngrs@chaos.social avatar

@gsuberland I have heard of many Covid+ post Revision cases. Are you swabbing just nose or throat as well?

passthejoe, (edited ) to fedora
@passthejoe@ruby.social avatar

My 7-year-old laptop runs as if it's new. Thanks (and and )

dngrs,
@dngrs@chaos.social avatar

@raptor85 as an embedded Rust developer: this is wildly inaccurate. You need unsafe for a few building blocks like register access, but most code is perfectly fine performance wise without unsafe.

dngrs,
@dngrs@chaos.social avatar

@RL_Dane rustc has gotten a lot faster over time, also cross compiling Rust is rather trivial. There's also cargo binstall (yes, with a b) for prebuilt packages.

larsmb, to random
@larsmb@mastodon.online avatar

Time for the regular rant about two-column PDF layouts the tech/CS/IT/ACM/IEEE community seems stuck on for distributing "papers".

ffs.

If anyone should understand people read these things on screens since the noughties it should be us.

FFS.

dngrs,
@dngrs@chaos.social avatar

@larsmb mobile friendly papers (or readers) would be cool too...
sadly LaTeX isn't built for any kind of fluid layout. And publishing to HTML - where's the prestige in that?

CatherineFlick, to random
@CatherineFlick@mastodon.me.uk avatar

Yay positive for covid, this blows

dngrs,
@dngrs@chaos.social avatar

@venite @CatherineFlick seconding this. Get well!

peter, to random
@peter@thepit.social avatar

weird how a speaker at a major conservative political conference calling for the end of democracy and the establishment of a theocratic authoritarian state is something i have to read about in goofy little niche websites and social media accounts because i can't find it in, like, the pages of a newspaper whose catchphrase is "Democracy Dies in Darkness."

dngrs,
@dngrs@chaos.social avatar

@ebooksyearn @peter snake for president

mntmn, to random
@mntmn@mastodon.social avatar

we did a GitLab security update and now our instance is suffering from the "huge logo when logged out" bug, sorry for that https://discuss.kde.org/t/gitlab-has-big-header-when-not-logged-in/9049

dngrs,
@dngrs@chaos.social avatar

@mntmn can you replace the logo image with a QR code linking to the bug tracker entry?

mntmn, to random
@mntmn@mastodon.social avatar

little productivity thing for linux that i would like: terminal integration of the XDG (?) "Recent" folder. make it an actual Folder ~/Recent with links to the files, or a FUSE fs. i often have to integrate console and desktop tools and this would make it less painful.

dngrs,
@dngrs@chaos.social avatar

@phryk given that Powershell runs on MacOS and Linux it might not be that unrealistic!

larsmb, to random
@larsmb@mastodon.online avatar

Most disappointing about Vlad's response on behalf of is not seeing the clash with their pretend-mission of "humanizing the web".

You can't do that while pretending ethics aren't part of it. Or by defending your business relationship with someone who denies basic human rights to some.

Amorality in tech is not a "principled position", much less the only one. And looking at the people who come out in support for your position should tell you something.

https://kagifeedback.org/d/2808-reconsider-your-partnership-with-brave/17

dngrs,
@dngrs@chaos.social avatar

@larsmb aye, after thinking about this for a really long time my current conclusion re capitalism is that the main, maybe only real problem is that it's amoral and you can't run a sustainable society on just that

quixoticgeek, to random
@quixoticgeek@v.st avatar

Oh fuck it, thread time.

Inspired in a way by a certain long discussion by a well known Sci-fi author about the announcement of a Nuclear powered container ship from China. I wanna talk about "technology won't save us" When it comes to climate change.

"Technology won't save us" is the usual refrain when someone mentions Carbon Capture and Storage (CCS). CCS is often touted by the fossil fuel industry as a way of us being able to keep burning dinosaurs. Continue our lives unchanged...

1/n

dngrs,
@dngrs@chaos.social avatar

@quixoticgeek any recommended reading on GM impact in India?

mjg59, (edited ) to random
@mjg59@nondeterministic.computer avatar

Ok! https://github.com/mjg59/openssh-portable/commit/44cf1b5fed5d4d5b74eaae1544aaebe2aabdf051 is a hacky first pass at allowing TOFU for SSH certificate CAs rather than the host keys themselves. This means that an admin can update the host keys on a server by simply issuing a new certificate for the new key, rather than jumping through the key update protocol. This only adds the CA for the specific hostname, so assuming the CA private key is at least as well protected as the host key this shouldn't be a net reduction in security?

dngrs,
@dngrs@chaos.social avatar

@SpaceLifeForm @drsbaitso @mjg59

ever worked with, say, PEM files on a source code level? It's an absolute nightmare and the entire infrastructure around ASN.1, openssl etc """"works"""" but after seeing how it's all duct taped together under the hood I'm not surprised at all when another CVE comes around.
(This is not an endorsement of how MS does things, I have zero experience there, but "even more unpleasant" would be a really high bar to clear)

glyph, to random
@glyph@mastodon.social avatar

This is a subtoot of like nine different things at once, but, fellow progressive/left-leaning friends: please for the love of all that is good in the world just stop ranting about "capitalism". if you think some feature of our current market system is bad, just like, describe the market mechanism and the incentive it creates and the bad outcomes of the incentive. Criticizing "capitalism" is like criticizing "evil" at this point. it's so nonspecific and nebulous that it's counterproductive.

dngrs,
@dngrs@chaos.social avatar

@glyph China isn't really communist though

gsuberland, to random
@gsuberland@chaos.social avatar

endlessly cruel to suffer from a condition that not only hurts like hell but also has a silly name that everyone thinks you made up

dngrs,
@dngrs@chaos.social avatar

@gsuberland yeah I'm negative too. Is it correlated with less progression?

dngrs,
@dngrs@chaos.social avatar

@gsuberland interesting. My (half) sister is positive, and we're pretty sure we inherited from our father, who never got a diagnosis but showed definite symptoms. I'm constantly both amazed and frustrated by what modern medicine can and cannot (yet?) do

dngrs,
@dngrs@chaos.social avatar

@gsuberland FWIW, her symptoms seem a lot worse, I'm more or less stable since years, however Long Covid has thrown a very severe curveball in my direction and I'm now mostly unable to work because of that. LC seems to be correlated with AS, too.

dngrs,
@dngrs@chaos.social avatar

@gsuberland stay safe! I was out of order for half a year after my first infection, but the second one completely wrecked me (so far 17 months in, much worse symptoms than after the first and no improvement whatsoever)

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