vvv

@vvv@programming.dev

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

vvv ,

Not sure what you're doing, but if we're talking about a bog standard service backed by a db, I don't think having automated reverts of that data is the best idea. you might lose something! That said, triggering a snapshot of your db as a step before deployment is a pretty reasonable idea.

Reverting a service back to a previous version should be straightforward enough, and any dedicated ci/cd tool should have an API to get you information from the last successful deploy, whether that is the actual artifact you're deploying, or a reference to a registry.

As you're probably entirely unsurprised by, there are a ton of ways to skin this cat. you might consider investing in preventative measures, testing your data migration in a lower environment, splitting out db change commits from service logic commits, doing some sort of blue/green or canary deployment.

I get fairly nerd-sniped when it comes to build pipelines so happy to talk more concretely if you'd like to provide some more details!

vvv ,

Are you using PersistentVolumes? If your storage class supports it, looks like there's a volume snapshot concept you can use, have you looked into that?

vvv ,

I use passwordstore.org/ as my password manager, including for my otp codes. It's backed by a git repo. I get a backup of it on every device it is cloned to.

What do you call application modules that are responsible for business logic?

Somewhere between API resources, queue workers, repositories, clients and serializers there is a class of ... classes/modules that does the needful. Gun-to-my-head, I would call them "services" but I'm looking for a less overloaded term. Maybe capabilities? Controllers? Pick a term from the business domain? What do you call...

vvv OP ,

Thanks for that, I think Engines is winning in my mind so far!

vvv OP ,

(often abbreviated BS)

vvv OP ,

that's a good call actually. I got pretty hung up on domain objects being mostly data classes, but one approach is to have them perform business logic themselves.

vvv ,

Be careful, if you get a .pizza, you are only legally allowed to spend the donations on pizza.

Are there any EV cars without any "technology"?

Like the title says, are there any EVs that just have a Bluetooth radio and that's it? Like a normal car, not a smartphone on wheels? If not, do you all think that this will actually happen at some point? This is the main reason why I can't (and will never) buy an EV. I like to have actual buttons everywhere on my car. I think...

vvv ,

Further, in terms of safety, having a large display built into your dash showing you navigation is much better than a small device you jerryrig onto a vent or something. It's easier to see via your peripheral vision, and won't put you in a situation where you need to go find it off of the floor when it falls off.

vvv ,

just to give you the term to search for, these types of applications are called snippet managers. for example, https://snibox.github.io/

there's a ton of them around. I don't have a particular one that I recommend, since it's not something I use in my workflow.

vvv ,

grep -r exists and is even more faster and doesn't require passing around file names.

grep -r --include='*.txt' 'somename' .
vvv ,

The password to my password manager: a few randomly chosen words that will definitely just sound like nonsense dementia-talk probably.

What are some free interests/things/hobbies you can do in the city?

I live alone and I'm just wasting away my time here. It's actually making me very depressed to be honest. I do live in the city which makes think there ought to be at least something to do out here. Though I can't really afford to spent money on it every day....

vvv ,

Geocaching is free and usually lots of fun in cities. It's like a big database of dead drops - people hide small containers with pieces of paper to sign, and post their GPS coordinates online. Frequently they're hidden near points if interest, as well so you might find some cool shops or bars as a side effect.

vvv ,

Once you have your list, check out fdroidcl so you can get it all installed from your laptop via adb

Recommendations please: Self-hosted web site analytics

Hello y'all! I have my personal (static) website / blog running on netlify out on the public internet. Netlify, in case you're not familiar, is not a traditional web host, so I can't add databases or anything else like that on the server itself. Right now, that site has zero analytics / visitor tracking and I've decided I want...

vvv ,

yep. they're still here. they got smaller, and we call them "tracking pixels" now.

it's just an image, which, server side, you can count the number of times it got loaded. easy to embed and no js required.

vvv ,

I don't get it, who in their right mind hosts development stuff on a Windows clunker?

Same question, but Subversion. Switch to git. Import your repos with git-svn.

vvv ,

That's interesting, okay. Is svn doing compression of those binaries for you?

Not to say "you're holding it wrong", but I'm curious about your workflow here. You clone these binaries every time you come back to a project?

What are you all doing for android "provisioning"?

Hi! I'm swapping my daily android phone for the nth time today and going through my set-up "check-list". As apps are updating/installing, I thought I'd check in with the hive-mind, what are you all doing to make the process easier? Maybe you know of a way to self-host some sort of android profile server? I'll post my process +...

vvv OP ,

Hmm, thanks for the suggestion... this looks like it might be mainly for only pixel devices? Or devices that have a LineageOS build? I might be frustrated enough with the problem to learn Nix, but I don't want to be limited to particular hardware.

vvv OP ,

That's an interesting suggestion, thanks! I might wind up trying that for android auto + google voice 🤔

vvv OP ,

Hey, thanks for that, I appreciate you sharing your list.

One option you can consider with fairmail and gmail is to use an "app password" to authenticate to IMAP, instead of oauth. That might work better when backing up with neo backup?

Who’s Behind All the ‘Pussy in Bio’ on X? ( nymag.com )

Spam is hard. No real platform has solved it completely, and none ever will. Spammers evolve, platforms catch up, spammers evolve again, and so on until the last post is posted and the last user signs out. Individual spam tactics, however, do tend to have short lives, and while PIB won’t be with us forever, it’s notable...

vvv ,

The value proposition of old or used android phones as SBCs is insane! You've probably got some in your drawers, or can at worst buy some carrier locked ones for 30$. You get a device with better compute than a raspberry pi, with a screen, cameras, speakers, flashlight and battery attached!

Personally, I use them to run and monitor my 3d printers.

vvv ,

I don't have a particular guide at the tip of my fingers, but I can share some recommendations based on my experience:

  • prefer a phone with USB-c if you plan on connecting USB things to it. the otg adapters for micro-b are kinda hit and miss when it comes to keeping the phone connected to power as well.
  • look out for clearances of those carrier locked prepaid phones from physical stores, you can get nice devices for nearly nothing
  • whatever you're running on the phone, make sure it starts at startup, so you don't need to go launching everything if you reboot for some reason
  • if the phone is"mission critical" e.g. random restart while in the middle of a print is unacceptable, turn off all the automatic updates and such.
  • a VNC server has been helpful, to remotely poke at the phone if I'm too lazy to go do it physically
  • get something that'll keep the screen off the phone on. I've encountered reduced performance regardless of what battery optimizations I've turned off without doing that but YMMV depending on ROM.

I fully expect the screen thing and the batteries bring in there constantly charging to kill the phones I'm using eventually, but it's something I expect and accept. my octoprint phones have been fine so far, for a bit over a year 🤷‍♂️

vvv ,

I love it. now I don't need to bring a controller in ADDITION to my steamdeck when I come visit!

vvv ,

"Bringing together all of our AI offerings, we introduce Copilot-Copilot!"

vvv ,

Would you rather he, as a non-government affiliated citizen, pick a side? War is stupid. Communication is great. Maybe this is naive of me, but I think the world would be better, and maybe require less war, if everyone had equal access to communication.

vvv ,

Science fiction of the 90s was the time to discuss philosophy. We didn't come to a conclusion then. The future is now. A global low latency, highly available communications network is technologically inevitable. In our timeline, a rich narcissist has gathered enough support and competence around himself to start building that network. So now we have real, concrete questions that need answers: who should have access to that network, and who should decide?

The way I see it, the options are (besides opening the network for everyone globally):

  • limit access to non-military purposes: practically impossible
  • limit access to the country of which Elon calls himself a citizen: what happens if he moves?
  • destroy the network: everyone is worse off
  • have the government take over control of the network: I don't think we want this precedence

Do you have another suggestion?

vvv ,

Surveillance is a usecase for communication. I can't think of a communications technology that hasn't been (ab)used for surveillance... Books even! Historically people have been prosecuted due to the books they possess! Should our target of ire be the entity building the network? Or the entity wanting to use it for surveillance? The vibe I'm getting from this thread is that folks would prefer the US government, via NASA or otherwise, have control of the whole thing instead.

vvv ,

So that the US government can more directly use starlink for surveillance?

vvv ,

Putting aside the fact that this is a bit of a straw man, multiple countries having nuclear capability is the only thing preventing nuclear war. Russia does not nuke the US (or allies) because they know the US will respond with a nuclear launch of its own. same for the other way around. Awareness and access to similar capabilities makes everyone think twice about becoming the aggressor. if I had to pick, a cold war is preferable to a hot one.

No, electric vehicle sales aren’t dropping. Here’s what’s really going on ( www.cnn.com )

No, electric vehicle sales aren’t dropping. Here’s what’s really going on::Tesla has been slashing prices. Ford just cut the price of its Mustang Mach-E, too, plus it cut back production of its electric pickup. And General Motors is thinking about bringing back plug-in hybrids, arguably a step back from EVs.

vvv ,

Gen 2 chevy volt owner here, PHEVs are absolutely not a step back. If I didn't buy the volt, the one car our family could afford would have been an ICE car. IMO, these things help bridge idealism with current reality - for most of my day-to-day, I drive a fully electric car. I just also get the option to toss some gas into it when on a long road trip.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines