sxan

joined 2 years ago
[–] [email protected] 1 points 1 minute ago

Not at all defending the decision, but in support of your comment: construction can ruin a small business. If construction routes traffic around your business, or causes people to go to other, more convenient locations - even if only temporarily - the business loses income. They still have to pay rent during construction; they still have to pay salaries, and keep the lights on, only now there's less money coming in. And maybe some customers get used to going somewhere else and never come back. But it's that short-term that kills you.

Big companies have reserves and resources to weather one, two years of downturn knowing that in three years business will be better. A small business may not survive to see the future improvement.

There are solutions; city council can mandate rent reductions, or provide subsidies from taxes to businesses to make up for the interruption. But someone is going to get it in the shorts. Residents may have a tax increase to help cover the subsidies; property owners get less income from the rent, yet still have to pay property taxes and perform maintenance using less income. At any rate, it's a sort of butterfly wings effect - it's not a simple as it seems. How do you help keep those businesses alive during the disruption? Who do you transfer the financial pain onto?

Personally? I think the answer is always "Elon Musk" or "Jeff Bezos", via coin flip, but that's just me.

[–] [email protected] 1 points 18 minutes ago

Linux has a standardized API called Advanced Linux Sound Architecture (ALSA). Another layer above ALSA, a sound server, should handle interactions with userspace applications. Initially, that layer was Pulseaudio and Jack, but it was recently replaced by Pipewire.

"Initially?" Pulseaudio was released in 2004. By then, Linux had been around for 13 years, and ALSA had been around for 6 years. And it took some years before Pulse became common.

Pulseaudio was first adopted by a major distribution in Fedora version 8, in 2008 - when ALSA was already 10 years old - and even later by Debian, Ubuntu, and so on.

"Initially" is entirely inappropriate here. Pulseaudio is Poetteringware and has no relationship to any original or early Linux audio subsystems.

[–] [email protected] 1 points 1 hour ago* (last edited 1 hour ago)

TOS, although I'd start with season 1.

My friend best described it as "The US Navy, in space." It's definitely progressive, although you have to consider it was made in the 60s, and while there are women officers, it's still a male-centric show, with women swooning over Kirk in a sort of James Bond way. Still, there's a black, female officer on the bridge, and her job is arguable more commanding than, say, whichever ensign is manning the weapons that day, so... they were pushing the boundaries of acceptability for 1966 broadcast television. Basically, mankind is making progress, but the show still has to appeal to American public.

TNG has less of the swooning, and more equality for women. It ran for longer, and there's a fair amount of dark and ugly later in the series; IMHO, the later seasons lose much of the optimism that we're far from perfect, but generally getting better as a species and society. There are plenty of bigots in high command - which is what bothers me the most. Star Fleet is supposed to be the best of the best of us, and yet there regularly are some just awful people in high positions in Star Fleet, and it just frustrates me. It's such a step backwards. But, as I've said elsewhere, I think ST generally reflects the level of optimism of the target audience, and by the mid-90s we had G. H. W. Bush in office, and we seemed to be involved in constant conflicts - Libya, Grenada, Panama, and the highly controversial Gulf War). While we had the space shuttle flying, after the first initial rush of getting to the moon, the space program seemed to have stalled; we didn't seem to be making any progress to getting people into space. Shit, we hadn't even set foot on the moon again since TOS (the last human to set foot on the moon did so 3 years after TOS was canceled). Still, especially in the first seasons, TNG is still probably still the most optimistic of the series.

DS9 was a fantastic series, but absolutely was not optimistic. It's full of moral quandaries, questionable ethical decisions, terrorism, totalitarianism, genocide, ; of all the series, I think it encompasses all of the worst of mankind, even if it's other races doing those things. Again, Star Fleet command is not represented as "the best of the best of us" which annoys me.

Voyager... I didn't watch more than a few episodes. I really disliked the comic relief format and, TBH, most of the characters. I thought the writing was awful, in general; it started rough, but unlike TNG, it never found its groove. IMO.

And after that, I mostly ignored the seasons. In this time, there were a couple of real stinkers in the theater, too, and with the reboot... it wasn't Trek, just a leech trying to milk as much money from the fandom as possible.

I picked it back up with Lower Decks, which I consider the first true Trek in the original Roddenberry spirit, despite being an animated almost-parody. It's optimistic, Star Fleet is once again competent and staffed with reasonable, well-intentioned people. I'm not a woman, so I can't say if it achieves full equality, but it feels like it to me.

Because of LD, I tried Strange New Worlds, and found it... not awful. I have a pet peeve about the obsession about sexualizing Spock, which started with the reboot, and it's a major running plot device through SNW. Plus they've retconned the Born which is exceedingly frustrating. And in the first season they've already had two episodes with alt-reality; one fantasy, and one that's basically a musical. Usually writers don't resort to these until the show has already jumped the shark. I'll admit that I fast-forwarded through most of the musical one. I'll probably start watching season 2, but if there writers keep up with these filler plot devices, I'll probably drop it. There are some really good episodes in the first season, though.

So, to echo parent: start with TOS, and then TNG. After that, you're on your own.

Oh, PS Lower Decks is best watched after all of the others you're going to watch, because a full 40% of the fun is the show poking fun at tropes from the other series. Many of the jokes will fall flat or just go over your head if you haven't watched at least TOS and TNG.

[–] [email protected] 4 points 2 hours ago (2 children)

I don't know that I can answer your question, sorry, but something you said confuses me.

  • file storage/syncing from a central server (so Syncthing is out) ... While working absolutely fine for sync between different devices (have it in use in a different scenario), the peer-to-peer nature is unsuitable for what I'm looking for

Why? I think you missed describing a requirement, because there's no reason SyncThing can't do "for syncing from a central server." Do you mean one-way, or one-to-many, or what? What, exactly, doesn't SyncThing do that you need?

I believe SyncThing is not the right tool in many scenarios, but I don't understand these bullet points.

For one thing, SyncThing is only peer-to-peer if you set it up that way. You can absolutely define a "master" simply by only connecting the "clients" to the master. It's an utterly arbitrary distinction, but the clients won't know about or communicate with each other unless you explicitly pair them with each other. This is how I have our phones set up: each one is paired to the central server, but neither is an introducer nor knows about each other. We have one directory that the server has shared with both phones, and several directories that the server shares only with one or the other phone. I even have the server connected and sharing all of the directories with a second, backup server that neither phone knows about.

Again, I'm not pimping SyncThing; it has weaknesses, the biggest one being any lack of sophisticated merge ability. I wish it had a plugin system where, for each for type, in case of conflicts it would call out to some external merge program; rather than just throwing up it's hands and going, "well shucks, guess I'll just spam a bunch of sync conflict files". And it can be annoyingly slow recognizing changes and syncing; it would be a terrible choice for any sort of pair programming file sharing.

But what problems have you encountered with it, for your case?

[–] [email protected] 1 points 2 hours ago

Yeah, it's sad that rail isn't subsidized like the airlines are; it's hard for them to compete unless it's gross freight.

But it sounds fun. We took a sleeper down there East coast (of the states) from Philly to Orlando once. It was... interesting, and far more expensive than flying. Certainly not luxury of any kind, although it was a more comfortable experience. Not really worth it for a 3 hr flight, but for a longer flight - like cross-country - it starts to look more attractive. But then, you're also starting to compare against first-class airline ticket prices, which make the comfort difference less extreme.

[–] [email protected] 2 points 2 hours ago

Hey, another question: do you have more pictures, perhaps from the inside of the train? Which did you take?

I haven't started searching yet, so I don't know if there are multiple lines, but Amtrak here in the states tends to run different services on the same lines, and I assume it's the same in Canada. Did you take a special service?

[–] [email protected] 1 points 3 hours ago

This is great! We'll have to look into taking the trip. Thanks!

[–] [email protected] 2 points 3 hours ago

Gentrification is a problem, but I'm not so sure that, in this case, it's so clear it's a bad thing. Are they redeveloping with low income housing? Loss of low income housing is an issue, but there are whole areas of Philly that are essential urban wilderness. And that are around Temple was not safe space for anyone.

[–] [email protected] 10 points 14 hours ago* (last edited 14 hours ago) (3 children)

Was then, still is.

Thing is, all girls carried rifles to get safely to class; it's just these ones also were on the shooting team.

I made the part up about all girls carrying rifles, but the the part about Philly being hard is no joke. When my wife went to Temple, there was a street separating the campus from slums; not just poor people, but violent gangs. The train station was a couple blocks away from the main campus, and Philly cops kept the campus and that stretch to the station, and the station itself, fairly safe, but you crossed off campus at your own peril, and the university was blatantly clear with parents that they had no liability for any student straying off campus. It was a scary place.

I've heard it's gotten better immediately around the campus in recent years - safer, anyway. Still a rough town, though.

Edit hey, I just noticed - bolts all open, too! Better discipline than most period men-with-guns photos you see.

[–] [email protected] 8 points 14 hours ago (6 children)

Train! This is a bucket list for me, too (Vancouver, to as far East as I could)! Did you get a cabin?

Several years back there was some hubbub about reinstating one of the more luxury liners that did a multi-day trip along the entire border; we didn't have the money for it back then, and I didn't follow it to see whatever became of the plan.

Your post has inspired me to reinvestigate it. How was your trip? How long? How were the accommodations - even if you went coach, how was the food/bar car?

[–] [email protected] 2 points 1 day ago

Wesley over there, just hoarding pips until he's got a ring of them around his collar.

[–] [email protected] 6 points 1 day ago

Presidential medal of honor, for sure.

 

Despite the click-bait tite, I am thinking about a couple of factors. First, the context I'm considering is specifically about inviting well-known/published authors to an AMA. I'm posting this question here, because most authors write in one or maybe two genres, and the authors I'd like to see answer AMAs are fantasy and sci-fi authors. I haven't yet come across any "big name" AMAs in any community yet, but I'm impatient.

  1. Reach: the largest subscriber size I see is [email protected]. The issue there is that the topic is rather broad, but to make an AMA worthwhile for the author, I'd think the larger the audience the better.
  2. Moderation. Doing an AMA well is significant work. There's advertisement to reach people who may not be subscribed but who may be interested; there's reaching out to the author and coordinating the details; and then there's moderation to prevent it from being overrun by trolls.
  3. Interest. I haven't been on Reddit in a couple of years now, but something thing I miss is AMAs from authors I'm reading. Some, like Scalzi, had a Reddit account and both did AMAs and also responded directly to random posts aimed at him. I'm aware that it's possible I'm in a minority and the Lemmy community at large isn't interested in AMAs, and while I doubt that, it's still something that'd need to be cleared with whichever community hosted the AMA
  4. Adjacently, I wonder how many authors lurk on Lemmy, and how would one find out? Is there a channel where authors could express willingness?

I feel a hole here, and I'm not going to fill it with Reddit. It's an area where I think a federated platform like Lemmy may be at a disadvantage to a platform like Reddit: with Reddit, it's pretty clear who might host any given AMA, and Lemmy's decentralized -- and often redundant -- communities complicate matters.

I've been on a Miles Cameron binge lately, and have a couple of questions I'd like to ask him; I could write him through his publisher, but I find AMAs to be much more interesting.

Is Lemmy ready for AMAs?

11
Questions! (midwest.social)
 

Hi! I have many questions which I will try to phrase in ways that that can be answered in yes/no format, in the hope that my post will be no burden. I did not see anything in the sidebar restricting such a post, and neither have I found answers online.

  • I am currently focusing on 9front. There being approximately 15 Plan 9 derivatives, is this community appropriate for asking 9front questions?
  • I read that Plan 9 is monolithic, but I found a lot of apocryphal evidence that it's actual quite much more of a microkernel in spirit. Is this at all true?
  • Searching "plan 9 Rust" returns only results for r9. Is there any cross compiling, or has Rust be ported to 9front? To be clear, I have no interest in Rust itself, but there are some programs written in Rust I'd like to have.
  • I hate having to use a mouse. I consequently have greatly disliked Acme every time I've used it. Should I give up on 9front?
  • I want helix as my editor. This is really just rephrasing the previous two questions: is there any hope of me being able to get Helix running on 9front?
  • I hate mice, and so want a tabbed window manager. I vastly prefer herbstluftwm, but honestly any keyboard-driven tabbed WM workflow would work. Plan 9 doesn't run X; I'm not sure it even has the concept of window managers. Should I just give up on 9front?
  • I mainly program in Go. Both Russ Cox and Rob Pike, often mentioned in the 9front literature, were/are instrumental in the creation of Go. The last post I read that mentions a Plan9 port was from 2015. Will I be able to develop Go on 9front?
  • I don't care about git, but 9front devs have to be using something for VCS. What is it - or what are the VCS options? Please don't tell me it's still cvs, or shudder rcs.

Am I thinking about this all wrong? Is 9 front really just turning your powerful workstation into a dumb terminal from which you connect to other computers running all of the other software you need to do development? Or is it shoehorning folks into a drastically constrained set of tools - ACME, Plan9 C, Rio - useful for developing Plan 9 tools and little else? Or is there a wonderful world of Plan9 diversity, with the ability to support diversity, accommodate people who can't or won't use pointing devices, running tools that can cross compile to a variety of target platforms?

 

First, a caveat: I'm not running pure DD-WRT, but a GL-iNet router that has some UI shim (and possibly other stuff) running on top of DD-WRT.

The issue I'm seeking help on is that I am seeing odd behavior with client resolution, where sometimes lan device names will resolve, and sometimes they won't. When they won't, there's a thing I can do in the UI and it'll start working again for a while, until it doesn't.

The other variable is that I've got all outbound traffic going through a VPN, and DNS servers configured by the VPN. This does, and always has, worked, and DNS tests always confirm that external DNS requests are going to those servers.

The issue is that I want all LAN hosts to resolve using the leases. And sometimes this works, but sometimes it stops working and LAN hosts don't resolve. I can fix this by toggling the "DNS Server Settings" between "DNS Proxy" with the IP of the router as the proxy, and "Automatic" (which, it appears to me, just sets resolution to the VPN settings). Toggling in either direction works, at least temporarily. Although I can't replicate it at the moment, there was a time where I'd toggle in one direction (to "Proxy" probably) and LAN resolution would work but no WAN domain names would resolve until I switched it back to "Automatic."

Oh -- one other oddity: I disabled the "Allow Custom DNS to Override VPN DNS" which made things behave better, in general -- it may be why I can no longer reproduce the "external domains don't resolve" issue.

The behavior makes me suspect a couple of things:

  1. Applying the switch is restarting some service -- probably masq -- and possibly temporarily changing the configuration thereof.
  2. I have dns-masq misconfigured s.t. it's not falling back to the VPN-configured servers

I had a third thought, but it's gone now.

So, my question really boils down to how I need this configured such that my .lan hosts resolve via leases, but everything else goes through the VPN DNS servers. I avoid going in and changing things via the shell, but I'm not afraid to; I just prefer to have it done through the UI.

In the UI, there are three toggles, all off: rebinding attack protection; override DNS settings for all clients; and allow custom DNS to override VPN DNS. Then there's the "Mode" with options "DNS Proxy," "Automatic," "Encrypted DNS," and "Manual DNS." I have only used Automatic and Proxy. Finally, when Proxy is enabled, there's a proxy server address which, as I've said, is set to the LAN IP of the router.

I think I need to be on "DNS Proxy" as I'm using dns-masq. But to ensure dns-masq is using whatever current VPN DNS configuration setting is active, do I need to configure something in dns-masq? I randomly choose a new VPN exit node once a day, which probably doesn't change the DNS configuration (they don't have that many DNS servers), but does restart the network when it happens (although, I do not think the restart triggers the issue).

 

I normally go for odroid for these sorts of things but have had a bad run recently.

What I want is a bare minimum computer I can hook to some externally powered speakers and run snapclient on. That's it; nothing else will run on it. It's part of a project to get audio casted into every room.

Arch, because I'm most comfortable with Arch; I don't have to learn any new peculiarities; Alpine would also work. deb and rpm-based distros aren't options.

It needs WiFi, or the ability to take a module. And of course an RCA out jack for the audio plug.

Cheap would be nice.

I have no experience with Pis, but there's a bewildering variety of them with varying capability; many don't come with WiFi, and some not even with audio out. It's frankly hard to tell what's the minimum Pi I can get away with for my use case, and what components I need to add on. I don't want to have to become a Pi expert just to get one device for this.

IME getting Arch running on odroid is a bit of work, and Mint or whatever they sell on the micro SD cards may be the worst distro I've had to deal with in recent years.

I'd love to try a RISCV board, but I feel like that's just asking for a whole different level of protracted tinkering to get what I want.

Basically, if I could get a plug-and-play Arch SBC with WiFi and audio out, even if I had to boot it first on ethernet the first time to set it up, for a good price, that'd be ideal.

What are good options here? So many Pis are for tinkering or as project components. Odroid seems like they're only half-heartedly doing business. RISCV is bleeding edge and still sounds fussy and iffy except for very specific problem domains. Micro PCs like Trigkey or Beelink are full desktop replacements and are both overkill for my use, and too expensive.

What do y'all advise?

17
Qt || ^Qt (midwest.social)
 

This is an opinion. Not even a shower thought, but something that I just realized I could express succinctly.

I'm a TUI/CLI person. I look first for CLI programs, and only if I don't find a way to do it in a shell do I look at GUI alternatives.

I'm also a tiling WM person. I used i3 for several years, and then bspwm for a hot minute, and for nearly a year now have been in herbstluftwm. I'm at a point where hlwm not running on Wayland is the main reason I'm not on Wayland.

But at one point, before discovering the joys of tiling, I was a big KDE fan. So it's been interesting to find myself skipping Qt apps in favor of GTK apps when I have to use GUI apps; and just now I realized why:

When you pull a GTK app, only rarely does it link in a bunch of Gnome dependencies; when it does, it's usually pretty obvious in the name or description... "X for Gnome" or some such. But Qt apps are really bad about hooking in and pulling a bunch of KDE dependencies, launching KDE services, and generally trying to turn your WM into KDE, that I've learned to just avoid them. There's no reason for them to, unless it's because the KDE libraries provide so much functionality that isn't in the core Qt libraries.

Anyway, it just occurred to me why I have such a negative knee-jerk reaction to apps with Qt dependencies; I literally just filter them out as I'm scanning package lists.

I like Qt; I don't like that most Qt apps also depend on KDE libraries.

 

I have a situation where generics would be useful: a server (that I do not control or influence) with many API endpoints that each returns very similar json. There's an envelope with common attributes and then an embedded named substructure (the name differs in the return value of each call) of a different type.

Without generics, you could do something like:

type Base struct {
   // common fields
}

type A {
   Base
   A struct {
      // subtype fields
   }
}

type B {
   Base
   B struct {
      // subtype fields
   }
}

but then you'd need to either duplicate a bunch of API calling and unmarshalling code, or consolidate it and do a bunch of type casting and checking.

Generics to the rescue: subtypes become specific types for a general type:

type Base[T any] {
   // common fields
   Subfield T
}

type A struct {
  // subtype fields
}

type B struct {
  // subtype fields
}

It even looks cleaner! Ah, but the rub is that the marshaled field name Subfield is the same for every type: there's no way to specify a tag for a struct type so that Subfield is un/marshaled with a name specific to the type.

https://go.dev/play/p/3ciyUITYZHk

The only thing I can think of is to create a custom unmarshaller for Base and use introspection to handle the specific type.

Am I missing a less hacky (introspection is always hacky) way to set a default tag for any field of a given struct type? How would you do this?

This pattern - APIs using envelopes for data packets - is exceedingly common. I can't believe the only way to solve it on Go is by either mass code duplication, or introspection.

 

I do my keyboard configuration with Vial, which may or may not be relevant.

I am unable to momentarily switch layers from a particular layer, and I'm looking for tips.

I have a base Dvorak layer, with all of my layer switches as tap-dance keys under my left hand, with holds triggering a momentary layer switch and all of the other keys under my right hand: a layer for punctuation, a layer for numbers, a layer for function keys, for WM navigation, for tmux navigation... 9 layers in total. It all works well.

Recently, I started playing Factorio again, so I set up a combo switch to the 9th layer, which is bog-standard QWERTY, it being easier to just learn new muscle memory than to reconfigure all 9,000 Factorio key bindings for Dvorak. But now entering numbers was a PITA because my keyboard has no number keys, so I have to switch back to the base layer to use the MO binding to switch to my number layer.

Eventually, I decided this was too much trouble, so I created a tap-dance MO binding for the same physical key in the QWERTY layer... but it doesn't work, in that the layer is not switched to the number layer - except for "0": that combination works. The fact that one key works makes me think it is actually sorta switching layers? But all of the other keys just enter the un-switched QWERTY keys.

I've tried setting the trigger key to a different one, with identical results. All of the keys on the left hand (and under the trigger key) are KC_TRNS on the number layer, so in both cases I've tried the trigger key is KC_TRNS on the number layer. I have not yet tried duplicating the number layer and using that instead.

Does the target layer (the number layer) have to be a layer number greater than the starting layer? Number layer is layer 4, and QWERTY is 9 - do I need to move 4 to 10? Is there some other, common, issue I'm encountering?

 

On linux, this is trivial. I have my private subnet over Wireguard and hosts with static IPs all on the 10.79.x.y subnet. All other traffic goes through my commercial VPN provider.

Problem is, ya cain't do that on Android, as it supports exactly one VPN connection at a time. The best you can do is white/blacklist traffic to either go through the VPN, or not.

Do how do I achieve this? My commercial VPN provider will not nest and route on their end; I could route all traffic through my VPS servers, but that's a lot of traffic for my little VMs. It may, however, be my only option:

  1. Phone is connected to my VPS over WG VPN
  2. VPS is connected to internet via commercial WG VPN
  3. Routing tables on VPS send 10.79.x.y to destinations over the private VPS
  4. Public destinations get sent over commercial VPS

Am I missing an easier, more efficient work-around for Android's utterly stupid networking limitations?

 

Like, not technically how, but emotionally? If I spend too much time messing around on a platform, critters inevitably attack my base. Even if I build a fortress, I worry that something will run out and guns will run out of ammo... or that something will run out and The Factory will grind to a halt. I could just stack up a vast area of capacitors and rely on lasers and a fission reactor, but is this really what you guys are doing?

How do you emotionally detach from Nauvis and commit to not being able to troubleshoot on the home factory? Heck, once I establish factories on other planets, how do I leave them to return to Nauvis and not worry that they'll be overrun??

When Space Age was released I restarted, solo, with a new base, and I'm getting close to building a traveling platform; how do I ensure the security of Nauvis before I depart?

(My first, and as yet only, station attached for giggles)

 

I'd like to know if I should file a bug, or if this is just something in my config. In particular, I'd be grateful for confirmation about what I'm seeing.

In Raccoon, in this post, I see only the first paragraph of the post. If I "view raw," I can see the entire post text; it also shows up correctly in Thunder, and in the web interface.

I don't see a way to expand the post, and I'm not sure if it's only this post or if it's happening a lot and I just haven't noticed, because the only way to detect missing content is through the "view raw" function.

Is this a setting, or a bug? I

 

I was thinking about this before the Tholian wave, but it's apropos.

It unscientifically appears to me that TOS had a far higher incidence on non-humanoid aliens than later series. Tholiens, Horta, the flying neural parasites on Deneva; while there were many bipedal aliens sometimes differing only by skins color, many were non-bipeds or were bipedal but radically different from humans, like the Gorn and the salt vampire. In later series, it seems nearly all aliens were reduced to bumpy head species.

TOS ran for only three seasons, and truly different aliens are expensive; I understand the economics of going the prosthetic forehead route. And it's difficult to have recurring truly alien biology in a series.

My question is whether anyone's done a statistical analysis covering the originality of aliens, per series, based on divergence from the humanoid base. Does it only seem like TOS had more different types of aliens (intelligent and non) because it was so short, or was the universe really more diverse in TOS?

view more: next ›