Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

vvv

@vvv@programming.dev

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

vvv ,

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

vvv ,

... 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!

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 do this with my xreal glasses sometimes when washing dishes or whatever. Connected to phone in my pocket with a desktop mode, set a black wallpaper, and drag the video into a corner.

It's nice for situations like that, where you're doing something with your hands and can't reasonably place a screen in a way where you wouldn't have to constantly strain your neck to look at it.

vvv ,

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?

vvv ,

"Hi, I just sent the ransom payment to the Bitcoin address you provided.
"Now you'll unlock my data, right?
"...... right?"

vvv ,

it could explicitly be a reasonable deterrent. if you double your price, but lose half your customers, you've made the same amount of money for half the work.

vvv ,

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

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 , (edited )

(obligatory I'm not a network surgeon this is likely not perfectly correct)

The article mentions network interfaces, DHCP and gateways so real quick: a network interface usually represents a physical connection to a network, like an Ethernet port or a WiFi card. DHCP is a protocol that auto configured network routes and addresses once a physical connection is established, like when you jack in via an ethernet cable, it tells you the IP address you should go by, the range of IP address on the network you've connected to, where you can resolve domain names to IP addresses. It also tells you the address of a default gateway to route traffic to, if you're trying to reach something outside of this network.

You can have more than one set of this configuration. Your wired network might tell you that your an address is 10.0.0.34, anything that starts with 10.0.0. is local, and to talk to 10.0.0.254 if you're trying to get to anything else. If at the same time you also connect to a wireless network, that might tell you that your address is 192.168.0.69, 192.168.0.* is your local network, and 192.168.0.254 is your gateway out. Now your computer wants to talk to 4.2.2.2. Should it use the wireless interface and go via 192.168.0.254? or the wired one and use 10.0.0.254? Your os has a routing table that includes both of those routes, and based on the precedence of the entries in it, it'll pick one.

VPN software usually works by creating a network interface on your computer, similar to an interface to a WiFi card, but virtual. It then asks the OS to route all network traffic, through the new interface it created. Except of course traffic from the VPN software, because that still needs to get out to the VPN provider (let's say, at 1.3.3.7) via real Internet.

So if you're following along at home, your routing table at this point might look like this:

  • traffic to 1.3.3.7 should go to 10.0.0.254 via the wired interface
  • all traffic should go to the VPN interface
  • traffic to 10.0.0.* should go to the wired interface
  • all traffic should go to 10.0.0.254 via the wired interface
  • traffic to 192.168.0.* should go to the wireless interface
  • all traffic should go to 192.168.0.254 via the wireless interface

whenever your os wants to send network packets, it'll go down this list of rules until one applies. With that VPN turned on, most of the time, only those two first rules will ever apply.

If I'm reading the article correctly, what this attack does, is run a DHCP server, that when handing out routing rules, will send one with a flag that causes, for example, the last two rules to be placed at the top of the list instead of the bottom. Your VPN will still be on, the configuration it's requested the OS to make would still be in place, and yet all your traffic will be routed out to this insecure wireless network that's somehow set itself as the priority route over anything else.

vvv ,

That's the other one. The Rabbit thing is $200, which, not that I would buy one, is not too unreasonable for an AI tamagotchi

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?

vvv ,

Everything else wrong with Gmail and Google aside, those are the least reasonable complaints? You can use labels as folders. You can also disable conversation grouping, but I doubt you go more than a week before turning it back on.

[Thread, post or comment was deleted by the author]

  • Loading...
  • 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 ,

    Do you have any particular pieces of theirs you can recommend I read?

    I don't consider Musk, by any means, to be "a good guy". Ideally, I'd just rather let SpaceX keep building out starlink for the good of the world and have it be a medium for communication that is difficult to disable.

    Why do we need to kill our enemies at this point in our civilization even? it's barbaric and ridiculous. The state of the art of weaponry right now is trending towards remote operations. How long until it just becomes BattleBots but with collateral damage? When do we get to world leaders settling disputes in a game of Worms?

    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.

    vvv ,

    on my car, there's a fuse you can pull out, which theoretically cuts power to OnStar. check your car manual/forums about your model

    Some AI models get more accurate at maths if you ask them to respond as if they are a Star Trek character, ML engineers say (www.businessinsider.com)

    Some AI models get more accurate at maths if you ask them to respond as if they are a Star Trek character, ML engineers say::Researchers asking a chatbot to optimize its own prompts found it was best at solving grade-school math when acting like it was on Star Trek.

    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.

    vvv ,

    For some good fiction, that puts this in context, check out:

    • Ex Machina (2005) which is nominally about an AI beating the turing test, but really more of an illustration of that AI in a box problem.
    • Snow Crash (1992) which is about a future where the two professions remaining on earth are software development and pizza delivery.
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • incremental_games
  • meta
  • All magazines