@funkylab@mastodon.social
@funkylab@mastodon.social avatar

funkylab

@funkylab@mastodon.social

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

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Wow the mansplaining is extra strong today.

funkylab,
@funkylab@mastodon.social avatar

@sundogplanets sorry if that was me

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Here comes a thread on light pollution from satellites, with a concrete action that you all can take to help push for regulation of satellites in orbit!

Astronomers have been worried about light pollution from satellites (if you've been following me for more than 24 hours, you've perhaps heard a bit about this). Astronomers spent SO much time and effort begging and pleading with Starlink to make their satellites fainter, with mixed results.

funkylab,
@funkylab@mastodon.social avatar

@sundogplanets no, not necessarily; on downlink, multi-satellite beamforming becomes feasible, and on the uplink, data rates are typically relatively benign, so that you don't need a terrible high SNR at the satellite.

funkylab,
@funkylab@mastodon.social avatar

@sundogplanets and FCC regulation does usually (and pretty certainly) try to respect quiet zones; it's not in the interest of the satellite operators to emit power somewhere where there's no phones, anyways, as that's power not available for reaching actual subscribers. Not sure whether I shared this with you before:
Satellite Constellations and Radio Astronomy;
https://www.youtube.com/watch?v=9iZyk2e5T9U
as director of the nat. radio astronomy observatory, the speaker might not be fully unbiased, but he sure is …

gsuberland, to random
@gsuberland@chaos.social avatar

quite happy with having come up with this recursive template trick to calculate the sum of a particular field of a struct array at compile time

funkylab,
@funkylab@mastodon.social avatar

@gsuberland the trick with the member pointer is cute :)

But you don't have to do this recursively (as that will break for larger scene arrays; says the guy who's got a recursive pi constant through Monte Carlo approximation, https://github.com/marcusmueller/constexpr_monte_carlo_pi):

In C++14, both initialized variables (size_t sum = 0;) and for-loops became constexpr, so a simple straightforward loop works:

https://gcc.godbolt.org/z/fv9a443ob

funkylab,
@funkylab@mastodon.social avatar

@gsuberland oh noes!

mjg59, to random
@mjg59@nondeterministic.computer avatar

Incredibly random question, but anyone have any experience with LTE-U hardware?

funkylab,
@funkylab@mastodon.social avatar

@mjg59 is this about the user equipment or do you want to work with the spectrum? My experiences with 4G / 5G in unlicensed bands are purely based on playing around with srsLTE / srsRAN, but that works well. But it's not hardware per se, you need to bring your own radio frontend

gsuberland, to random
@gsuberland@chaos.social avatar

had a stress dream about reworking 100 PCBs. so things are clearly going well.

funkylab,
@funkylab@mastodon.social avatar

@gsuberland woke up in a cold sweat about a cold joint?

mntmn, to random
@mntmn@mastodon.social avatar

did you ever encounter some RP2040 GPIOs just not... working? i.e. you tell it to output a logic high level, but the actual pin is close to GND? we have some pocket keyboards that are like that. there is no short on the board. so i'm wondering how this can happen. damage during soldering, handling?

funkylab,
@funkylab@mastodon.social avatar

@mntmn @Laberpferd @timonsku hm, but if that ESD diode became self-sacrificial, that would either be a severely underdimensioned protection, or a serious ESD surge that I wouldn't expect pcbway to have on series prod.
Q: is there a reasonable way you could estimate the worst-case negative pulse amplitude caused by opening a keyswitch under load? How much current do you put through your keys while scanning the key matrix? What's the (order of) inductivity of the longest trace?

funkylab,
@funkylab@mastodon.social avatar

@timonsku @jaseg @mntmn @Laberpferd but that's what I mean with "unlikely that PCBway has that problem"; these aren't a bunch of folks sitting at home with a 10€ soldering iron.

funkylab,
@funkylab@mastodon.social avatar

@timonsku @jaseg @mntmn @Laberpferd oh wow, wouldn't have expected that; keyboard assembly takes forever (and gets into quality/consistency problems) if you need to solder every pin of every keyswitch manually, which is why I'd have assumed there's enough concentration to either have one wave solder bath machine yourself, or one go-to subcontractor that does…

NanoRaptor, to random
@NanoRaptor@bitbang.social avatar

If I were to go hunt down an old ThinkPad as the one ThinkPad for my collection, given the Wallstreet PowerBook is one of my ever-favourites, what year & model should I be hovering around?

funkylab,
@funkylab@mastodon.social avatar

@nblr @NanoRaptor I think on the "already oldschool, but still useful" scale, and the overall size and design awesomeness, I'd go with the X201. (There was a "fan remake", but stupidly I was too stingy back then to buy the replacement motherboard and screen they offered…)
The X300 would probably have offered more runtime than my X201, but seriously, with the heavy duty battery plugged into the back, I could do solidly beyond "workday including travel", so that wasn't that strong an argument.

pid_eins, to random
@pid_eins@mastodon.social avatar

5️⃣ Here's the 5th installment of my series of posts highlighting key new features of the upcoming v256 release of systemd.

I am pretty sure all of you are well aware of the venerable "sudo" tool that is a key component of most Linux distributions since a long time. At the surface it's a tool that allows an unprivileged user to acquire privileges temporarily, from within their existing login sessions, for just one command, or maybe for a subshell.

"sudo" is very very useful, as it…

funkylab,
@funkylab@mastodon.social avatar

@mattdm @pid_eins yep, you could

  • open the file as root,
  • memfd_create an fd,
  • copy the file (whatever is appropriate between sndfile, copy_file_range, read/write) to the memfd
  • fork (keeping the FD),
  • drop root
  • execve("vim",…) with the /proc/pid/fd/ created by memfd_create as argument, and
  • finally, when the child exits, replace the original with the contents of the modified memfd "file".
funkylab,
@funkylab@mastodon.social avatar

@pid_eins @mattdm ah true, the create & rename trick. Hm, well then, making that copy in /run/user/{UID}… somewhere that systemd itself is confident isn't visible to anyone else seems the sanest approach.
Since a superuser power wielding demon is involved anyways, one could also do crazy things like, as the root-run daemon:

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Last night I dreamed I was in a string quartet performance that was somehow a talk about satellite pollution. I wish I could figure out how to do this... playing angry music sounds way more fun than giving an angry lecture.

funkylab,
@funkylab@mastodon.social avatar

@sundogplanets "angry astrophysicists" does make for an excellent mathcore band name

sundogplanets, to random
@sundogplanets@mastodon.social avatar

Starting hour 2 of a PhD defense where I'm the only non-male examiner. I'm so glad I'm on Zoom so I can take video-off/sound-off breaks when I need to scream a little bit...

funkylab,
@funkylab@mastodon.social avatar

@sundogplanets I know of very reputable test&measurement equipment manufacturers that simply put an engineer and an extra ticket on a plane when there's need for express delivery of a multi-million-€ customized tester to a customer, because that customer pays the support contract that gets them an engineer to mount and set the device up and do a short intro, anyways.

holgi, to random German
@holgi@chaos.social avatar

Radio an.
"Als wäre dieser fail nicht schon cringe genug..."
Sender gewechselt.

Ich werd alt 😆

funkylab,
@funkylab@mastodon.social avatar

@herrbett @nblr @holgi "mega lit?" Ja, ich empfand den einen oder anderen total natürlichen Interviewdialog auch als ein Mülltonnenfeuer

arturo182, to random
@arturo182@mastodon.social avatar

Look at those oscillator guard rings on the new Sparkfun board 👀

funkylab,
@funkylab@mastodon.social avatar

@arturo182 @davedarko but here that clean ground only seems connected in the middle, and that would make this more like a an additional resonator, coupling the left oscillator to the right and vice versa? bit confused, honestly, maybe it's just vias with a diameter smaller than the trace width that I'm missing here.

azonenberg, to random
@azonenberg@ioc.exchange avatar

Is there any kind of API or config file or something on Linux that you can use to determine if an application is running under a tiling window manager?

Obviously I can just "ps" and search the list of running processes for known window managers, but is there some kind of X server flag that lets me just determine "tiling" vs "not tiling" without having to hardcode a list of every known tiling WM and check if any are running?

funkylab,
@funkylab@mastodon.social avatar

@azonenberg You won't get around that hardcoded list, I'm afraid – not aware of any X property, environment variable or such to announce the paradigm of window management (https://unix.stackexchange.com might be wiser than me, though).

The black magic incantation to get the name of the window manager, though, is simply to use xprop to get the ID of the root window, then use xprop again against that ID to get the self-proclaimed name of the window manager. Easy and intuitive!
1/2

funkylab,
@funkylab@mastodon.social avatar

@azonenberg Would ps even work when run from bubblewrap (flatpak) or snap or toolbox?

funkylab, to random German
@funkylab@mastodon.social avatar

Bad: my throat hurts
Good: my teapot on a glass surface looks like a raytracer demo

nblr, to random German
@nblr@chaos.social avatar

Liebe DB-Intensivnutzer unter meinen followys… Das hier heisst doch, dass ich problemlos einen Bürostuhl mitnehmen kann, oooder?
(1.Kl, „Geringe Auslastung“)

funkylab,
@funkylab@mastodon.social avatar

@nblr die FAQ ist blöd formuliert. Deine sog. Traglast nach https://assets.static-bahn.de/dam/jcr:2a4816f2-a8b5-411b-a847-9ae4b7acd24a/Bef%C3%B6rderungsbedingungen%20der%20DB%20AG%20-%20Stand%2010.04.2024-1.pdf 7.2 muss so untergebracht werden können, dass sie die Sicherheit von der janze nicht gefährdet. Das scheint hier das Kriterium zu sein.

RichiH, to 3DPrinting
@RichiH@chaos.social avatar

Another one for the , , and maybe bubble:

What, if any, are the considerations when selecting a reasonably priced decent quality cleaning bath?

Use case would be to clean and degrease/deoil small tools, glasses, watches, etc. Maybe a second unit some day to experiment with e.g. wood-chip infused milk; that second unit would remain food-safe.

I didn't get much farther than "probably stainless steel, and correct volume" -- and select that from eBay?

funkylab,
@funkylab@mastodon.social avatar

@RichiH @xuxxux on a somewhat related note, you can buy smoke as liquid; seems to be the same stuff as when foodstuff declares "smoke" an ingredient. Makes sense to me, probably much better to burn/gas out wood in a highly controlled chamber with a controlled-temperature condenser and transfer the result to production than to put sausage over a wood fire and hope the amount of carcinogens stays low while the amount of aroma is well-controllable.

pid_eins, to random
@pid_eins@mastodon.social avatar

As you might guess I get a certain amount of "fan" mail regularly. It's usually pretty dumb and not worth to mention. But sometimes it's so funny, that I just have to share the good parts of it. So here some comments from a recent mail I got (sorry, in German):

Subject: Tja, schade! War definitiv die falsche Entscheidung zu Microsoft zu wechseln

Hi Lennart!

Das war schon eine ziemliche Überraschung für uns alle!!!

funkylab,
@funkylab@mastodon.social avatar

@pid_eins @mks_h I'm sorry that hits you; and sadly not so surprised that people who believe there's exceedingly easy solution to complex problems do that politically, as well. :(

nblr, to random
@nblr@chaos.social avatar

In a strange way, receiving spam for poorly made knives, cheap furniture, or cases full of low-quality tools offends me significantly more than receiving spam for pills against erectile dysfunction.

funkylab,
@funkylab@mastodon.social avatar

@nblr I mean, you don't walk around and publicly project an image of "I'm a person who can constantly maintain an erection" nearly as much as you project "part of the world's problem is poor choice of tooling and for my part, I'm going to change that and the processes that lead to it".

funkylab,
@funkylab@mastodon.social avatar

@nblr
From: Bürobedarf Versand <sophie.miller@tehui666.net>
Subject: DIREKT AB LAGER: Weltentrenner, nur 99,99€

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