vvv

joined 1 year ago
[–] [email protected] 3 points 2 days ago

and it's potentially an existential threat.

[–] [email protected] 7 points 6 days ago

I highly recommend installing fzf, and its shell integration. Makes your Ctrl + r magnitudes more pleasant to use!

[–] [email protected] 10 points 6 days ago

More than that, your editor doesn't run with root permissions, which reduces the risk of accidentally overwriting something you didn't mean to.

[–] [email protected] 18 points 2 weeks ago

it feels to me, like they're less looking for new people to start doing this "work", but more to connect with people who already happen to be enthusiastically going to events and showing off their laptops.

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

This is up there with left-pad now!

[–] [email protected] 14 points 1 month ago

I really think that's the secret end game behind all the AI stuff in both Windows and MacOS. MS account required to use it. (anyone know if you need to be signed in to apple ID for apple ai?) "on device" inference that sometimes will reach out to the cloud. when it feels like it. maybe sometimes the cloud will reach out to you and ask your cpu to help out with training.

that, and better local content analysis. "no we aren't sending everything the microphone picks up to our servers, of course not. just the transcript that your local stt model made of it, you won't even notice the bandwidth!)"

[–] [email protected] 5 points 1 month ago

Macy's now has a Toys Я Us branded toy department.

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

I don't know. I'm typing this in a razr 40 ultra with a shattered outer screen. on one hand, it sucks that it's shattered. on the other hand, I'm happy it has a second screen as a point of redundancy?

[–] [email protected] 27 points 2 months ago* (last edited 2 months ago) (2 children)

... but there is a way, and it has been proven.

One of the more memorable physics classes I've had went into the history of discoveries that led to our understanding of relativity. The relevant story here, starts with how sound travels though air.

Let's say you're standing at the bottom of a building shouting to your friend peeking out a window on the 5th floor. On a calm day, that friend will hear you at pretty much the same time as someone standing the same distance away, but on the street. However, if it's windy, the wind pushes around the air through which the sound of your voice is traveling, the friend up in the window will have a slight delay in receiving that sound. This can of course be verified with more scientific rigor, like a sound sent in two perpendicular directions activating a light.

Scientist at the time thought that light, like sound, must travel though some medium, and they called this theoretical medium the Aether. Since this medium is not locked to Earth, they figured they must be capable of detecting movement of this medium, an Aether wind, if you will. If somehow the movement of this medium caused the speed of light in one direction to be faster than another due to the movement of this medium, measuring the speed in two directions perpendicular to each other would reveal that difference. After a series of experiments of increasing distances and measurement sensitivities (think mirrors on mountain tops to measure the time for a laser beam to reflect), no change in the speed of light based on direction was found.

Please enjoy this wikipedia hole: https://en.m.wikipedia.org/wiki/Michelson%E2%80%93Morley_experiment , and please consider a bit of caution before you refer to things as facts in the future!

[–] [email protected] 2 points 2 months ago (1 children)

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?

[–] [email protected] 6 points 2 months ago (3 children)

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!

[–] [email protected] 2 points 2 months ago (1 children)

Not even Chrome is blocking some of the add-ons...

is that something you know for sure? or has Google quietly complied with similar requests, without making a statement like Mozilla has here?

 

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 them?

64
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

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 + list of goals & gripes below and if you have any tips or suggestions about what I can do better, I'd love to hear them!!

Current Process

  • flash clean rom
  • walk through the setup process
  • enable developer mode + adb
  • go through default app list disabling/uninstalling crap i don't want
  • use 'fdroidcl' to install all my fdroid apps
  • adb push a gpg private key to import into OpenKeychain
  • generate a ssh keypair in Password Store, put public key on my server via ConnectBot, clone passwords repo
  • log into firefox sync
  • log into joplin
  • configure fairmail
  • configure davx
  • log in to google account
  • download play store apps I was missing
  • go through apps one by one, logging in to accounts + doing configuration
  • deal with fucking whatsapp
  • hold old phone + new phone side by side and made sure i got everything

Goals & Gripes

App Installation

fdroidcl helps a LOT here, i can have a list of my minimal required packages - password management solution, browser, and notes get installed and it solves a lot of bootstrapping problems for me. I never need to do the dance of opening chrome, downloading fdroid, giving chrome install permissions, installing fdroid, etc.

that said, it is /slow/ and obviously limited to installing apps from fdroid repositories. maybe the slowness i can solve with self-hosting an fdroid repo, but i'm still stuck with having to install a bunch of apps manually either through aurora store, or play store.

App configuration

If i could push in arbitrary app configurations i would be sooooo happy. certain apps have config export/import, like my launcher, but that's far from all of them. i've tried a number of "backup" options, like Titanium, but obviously they don't work without root and don't always work /with/ root, especially going across devices. I've vaguely considered using Appium for this but ... ehhhh.

De-googling

Okay, so I can probably solve the apk problem somehow... I can solve the contacts sync... but I really like android auto, and that's a non-starter without a system google account afaik.

Whatsapp

i've never once managed to successfully move whatsapp to another device and not lose my chat history. it starts restoring from a backup, fails, and kicks me into being logged in without any chance of a restore.

Edit: oh and if you have any suggestion that'd make me not hate re-pairing wearos watch... 🥺

 

I've posted this to reddit before, but the post has gotten lost among an automod flurry. I've got some longer travel coming up and this thing has been on my mind again, so I'm looking for some suggestions!

 

An example: https://www.thenextdroid.com/topics/tutorials/root/. This Ellis Gibson person. Very good with the find/replace button.

Maybe you know of a browser extension to hide all these?

view more: next ›