sxan

joined 2 years ago
[–] sxan@midwest.social 5 points 12 hours ago (1 children)

How long did you give it? It indexes the library. I had to rebuild my library once, and while I don't have a huge collection - mainly just rips of my DVD collection, about 450 films, and it takes over an hour to index everything. Until it's done, not everything shows up.

[–] sxan@midwest.social 2 points 12 hours ago (1 children)

This is a great, simple explanation.

It's with adding that the "rewards" is question do not directly affect current supply or value. They affect how much miners are awarded when they mine new blocks. Theoretically, at some point the reward becomes so small, so fractional, that mining itself isn't cost effective. It may not stop miners, but let's look at a hypothetical:

  • bitcoin is hovering around $100,000 per coin.
  • the reward after the 2024 halving to mine a block is 3.125
  • at the next halving, in 2028, the reward will be 1.5625
  • it uses approximately 6,400,000 KWh of electricity to power the computers to mine a single block.
  • There is a maximum number of BTC that can possibly exist, set by design: 21M. Over 19M have been mined, leaving about 1.5M left to be mined.
  • approximal 18 BTC are mined per hour, globally

So, right now, if you live in the W. Europe, it will cost you 1.5x the current price of BTC to mine. If you own a giant solar farm and electricity is cheap, it'd still be a better deal to sell the electricity on the market and buy your BTC. However, if you live in the Middle East, it's quite profitable: you could turn $1 of electricity into $200 of BTC.

In 2008, in the US bitcoin will halve again, and a miner will received only 1.5625 coins for a block. If nothing else changes - the price of electricity, the value of BTC - it'll cost $3 in electricity to mine $1-worth of BTC.

I think there are 5 halvings left, so in 2044 the reward for mining a block will be 0.1 BTC. At that point, either electricity will have to be extremely cheap or BTC extremely expensive to make mining profitable.

There are so many variables:

  • Electricity could become really cheap, like post-scarcity cheap. This is not a fantasy scenario; all it'd really require is for us to put solar arrays in space.
  • Electricity could become vastly more expensive. We're going to run out of coal on the planet before 2044 and if we're not completely off of it by then, that'll spike prices. This is something that will happen - running out of coal.
  • Quantum computers become consumer products. Mining coins suddenly becomes really fast and far more energy efficient. All 21M BTC would be mined before we hit all 5 halvings.

My guess is that the third thing will happen before we hit all of the halvings or mine all the coins - at the current rate, and with the halving schedule, it'll take until the mid-2100's before all the blocks are mined. I suspect quantum processors will be more common long before then. Heck, the advent of consumer-grade quantum processors might render BTC valueless; I don't thing the blockchain cryptography is quantum resistant, is it? Which would b make it hackable by quantum computers; at the very least, it'd present a huge threat to the public ledger, and prices could plummet.

[–] sxan@midwest.social 3 points 22 hours ago (1 children)

Yeah. It really started with Reagan, that amoral fuck. But I've read that it started immediately after RvW.

[–] sxan@midwest.social 1 points 22 hours ago

Better than Butterfly? Better than Dymaxion??

[–] sxan@midwest.social 1 points 1 day ago

Shouldn't the French Baby have a little white flag?

I kid! I kid!

[–] sxan@midwest.social 2 points 1 day ago

Psyche

Khan Blues

How You Like That

In Maidjen

Lots of good music from other countries.

[–] sxan@midwest.social 1 points 1 day ago

My distain for Jill stems from her complicity in being a spoiler pawn, and mostly spouting nonsense. Nearly all of her attack rhetoric was aimed at the Democratic party; she said relatively little and the Republicans and consistently went after Democrats, just like a good asset would. Her messaging was overwhelmingly negative, and she associated with all of the worst people. I haven't seen her do anything productive or positive. The fact that her campaign received significant funding from Russian-backed organizations is incidental; it only explains what she really stands for. I'm opposed to all external financial influence in US politics, whether Russian or AIPAC.

[–] sxan@midwest.social 0 points 1 day ago

Hah! I'm fortunate to not really be much of an anything guy, which seems to have the advantage that I get to have favorites. I'm in !superbowl@lemmy.world which I enjoy immensely, and I love the photos, but I'm not really an owl guy so to speak, so I have my 2 favorites. Same with spiders. And dogs. I guess I am a cat guy, but while I love all cats I still prefer certain breeds. Maybe I just have an inclination to bias.

Those were taken with my Canon 10D. I've always stuck with SLR interchangeable lens cameras, so for any given time period my picture quality gives me a technology edge. I didn't really switch from film to digital until IL SLRs were available. Anyway, thanks for the compliment. I have several more of her, but I figured those were enough for an ID.

And no kidding - that's one of our lady's cousins, right on the cover!

[–] sxan@midwest.social 2 points 1 day ago (2 children)

I don't know about Ada, except in jokes about how hard it is to write code that satisfies the compiler, which gives it something in common with Rust. Haskell is a horrible systems language. OCaml might be better. But I don't think it's justified to claim Zig isn't suitably for systems programming, or for writing OSes. Maybe even Odin, but I'm only peripherally aware of it, and don't know its strengths. Both are young and immature compared to Rust.

What will be hilarious is when, a little down the road, something like Zig will be mature; I'd bet money the loudest gate-keepers objecting to letting it in will be Rustaceans saying some shit like, "Rust already satisfies the safety needs of the kernel; there's no need to add another language."

[–] sxan@midwest.social 3 points 1 day ago (2 children)

It's the easiest retort, but no, Stein is loathsome for many more reasons.

I'll consider the Green Party again once they DX Stein, although they're going to have to purge a lot of their current Stein-supporting leadership to right their ship.

And I'll stop hating on Russia once they get their bitch asses out of Ukraine and release their occupation of Crimea, pay reparations for the illegal invasions, and withdraws from occupying Georgia. Putin also needs to be tried in international court of the criminal invasion of Chechnya; a death sentance would be appropriate for that one, as it was predicated on a false flag in which he killed a bunch of Russian citizens to foment.

Petty little dictator; the only thing more pathetic is our cheap, knock-off, wanna-be copy cat puppet.

[–] sxan@midwest.social 6 points 1 day ago

Words are cheap; actions matter. Judging by behavior and not rhetoric goes a long way to a more realistic perspective of the world.

[–] sxan@midwest.social -1 points 1 day ago (1 children)

Oooh! Oooh! Are we being brigaded? So exciting! Many of the posts seem to have been of critical, fascist bent, but I wasn't sure until now.

 

So, obviously not a real owl, but germane.

This was taken in Paris, in one of the side streets around Sacre Coeur, in 2010. It is a decoration set into a wall; the alcove was probably around 30cm high, so the owl figurine is small. I have no idea how long it'd been there, or why it was there; there was no plaque or other marking, and no other decorations on the wall.

I do recall that I took it from across the street and without telephoto, so this is massively cropped and this is the best resolution I have. The paint was more white and it was a brilliantly sunny day; I made it more warm in post-processing.

Sadly, this was before digital cameras came with GPS to stamp locations; I'm not sure if I could find this anymore.

 

cross-posted from: https://lemm.ee/post/55039423

 

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 !books@lemmy.world. 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?

 

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?

 

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 ›