• 0 Posts
  • 48 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle



  • I have a big screen android phone that I use mostly for games and social media apps, with a pop socket magsafed to the back because I have small hands. Goes in right pocket usually. With my keys on the rare occasion I use my car.

    And I have a small screen iphone with very few apps, mostly just for taking videos and communicating with friends and family. Has a magsafe wallet on the back and goes in left pocket.

    It makes me feel balanced, having a phone in each pocket. And lets me compartmentalize better.


  • Yes, it’s me, I’m the buyer. At any expense, I must possess all the apes. I’m here from the future, to spread the word that if we allow the genral public to have ownership over this level of stupidity, it will result in a runaway moron effect. And if left unchecked, then in my time, four hundred years from now, when we make first contact with other spacefaring civilizations, they’re going to think we’re really lame.







  • Those prongs are fine. The handle, though, it’s like having a huge counterweight on the back of the utensil. I can imagine liking it if it’s always been that way or if you have big hands. Otherwise, handle number 5 is the clear improvement - no sharp edges, properly balanced, not shaped like a wedge. Could hold that fork for days.




  • Yes, I think yaml’s biggest strength is also its built-in flaw: its flexibility. Yaml as a data structure is built to be so open-ended that it can be no surprise when every component written in Go and using Yaml as a data structure builds their spec in a slightly different way, even when performing the exact same functions.

    That’s why I yearned for something like CUE and was elated to discover it. CUE provides the control that yaml by its very nature cannot enforce. I can create CUE that defines the yaml structure in general so anything my system builds is valid yaml. And I can create a constraint which builds off of that and defines the structure of a valid kubernetes manifest. Then, when I go to define the CUE that builds up a KubeVela app I can base its constraints on those k8s constraints and add only KubeVela-specific rules.

    Then I have modules of other components that could be defined as KubeVela Applications on the cluster but I define their constraints agnostically and merge the constraint sets together to create the final yaml in proper KubeVela Application format. And if the component needs to talk to another component, I standardize the syntax of the shared function and then link that function up to whatever tool is currently in use for that purpose.

    I think it’s a good point that overgeneralization can and does occur and my “one size fits all” approach might not actually fit all. But I’m hoping that if I finish this tool and shop it to a place that thinks it’s overkill, I can just have them tell me which parts they want generalized and define a function to export a subset of my CUE for their needs. And in that scenario, I would flip and become a big proponent of “Just General Enough”. Because then, they can have the streamlined fit-for-purpose system they desire and I can have the satisfaction of not having to do the same work over and over again.

    But the my fear about going down that road is that it might be less of an export of a subset of code and more of building yet another system that can MAD-style generate my whole CUE system for whatever level of generalization I want. As you say, it just becomes another abstraction layer. Can’t say I’m quite ready to go that far 😅


  • Thanks for the info. When I searched MASD, it told me instead about MAD, so it’s good to know how they’re differentiated.

    This whole idea comes from working in a shop where most of their DevSecOps practices were fantastic, but we were maintaining fleets of Helm charts (picture the same Helm override sent to lots of different places with slightly different configuration). The unique values for each deployment were buried “somewhere” in all of these very lengthy values.yaml override files. Basically had to did into thousands of lines of code whenever you didn’t know off-hand how a deployment was configured.

    I think when you’re in the thick of a job, people tend to just do what gets the job done, even if it means you’re going to have to do it again in two weeks. We want to automate, but it becomes a battle between custom-fitting and generalization. With the tradeoff being that generalization takes a lot of time and effort to do correctly.

    So, I think plenty of places are “kind of” at this level where they might use CUE to generalize but tend to modify the CUE for each use case individually. But many DevOps teams I suspect aren’t even using CUE, they’re still modifying raw yaml. I think of yaml like plumbing. It’s very important, but best not exposed for manual modification unless necessary. Mostly I just see CUE used to construct and deliver Helm/kubernetes on the cluster, in tools like KubeVela and Radius. This is great for overriding complex Helm manifests with a simple Application .yaml, but the missing niche I’m trying to fill is a tool that provides the connections between different tools and constrains the overall structure of a DevSecOps stack.

    I’d imagine any company with a team who has solved this problem is keeping it proprietary since it represents a pretty big advantage at the moment. But I think it’s just as likely that a project like this requires such a heavy lift before seeing any gain that most businesses simply aren’t focusing on it.


  • I’ve never heard of this before, but you’re right that it sounds very much like what I’m doing. Thank you! Definitely going to research this topic thoroughly now to make sure I’m not reinventing the wheel.

    Based on the sections in that link, I wondered if the MASD project was more geared toward the software dev side or devops. I asked Google and got this AI response:

    “MAD” (Modern Application Development) services, often used in the context of software development, encompass a broader approach that includes DevOps principles and tools, focusing on rapid innovation and cloud-native architectures, rather than solely on systems development.

    So (if accurate), it sounds like all the modernized automation of CI/CD, IaC, and GitOps that I know and love are already engaging in MAD philosophy. And what I’m doing is really just providing the last puzzle piece to fully automate stack architecting. I’m guessing the reason it doesn’t already exist is because a lot of the open source tools I’m relying on to do the heavy lifting inside kubernetes are themselves relatively new. So, hopefully this all means I’m not wasting my time lol


  • Uli@sopuli.xyztoProgrammer Humor@lemmy.mlHow it started vs. How it's going
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    3 months ago

    Yeah, I’ve been using it heavily. While someone without technical knowledge will surely allow AI to build a highly insecure app, people with more technological knowledge are going to propel things to a level where the less tech savvy will have fewer and fewer pitfalls to fall into.

    For the past two months, I’ve been leveraging AI to build a CUE system that takes a user desire (e.g. “i want to deploy a system with an app that uses a database and a message queue” expressed as a short json) and converts a simple configuration file that unpacks into all the kubernetes manifests required to deploy the system they want to deploy.

    I’m trying to be fully shift-left about it. So, even if the user’s configuration is as simple as my example, it should still use CUE templating to construct the files needed for a full DevSecOps stack - Ingress Controller, KEDA, some kind of logging such as ELK stack, vulnerability scanners, policy agents, etc. The idea is the every stack should at all times be created in a secure state. And extra CUE transformations ensure that you can split the deployment destinations in any type of way, local/onprem, any cloud provider, or any combination thereof.

    The idea is that if I need to swap out a component, I just change one override in the config and the incoming component already knows how to connect to everything and do what the previous component was doing because I’ve already abstracted the component’s expected manifest fields using CUE. So, I’d be able to do something like changing my deployment from one cloud to another with a click of a button. Or build up a whole new fully secure stack for a custom purpose within a few minutes.

    The idea is I could use this system to launch my own social media app, since I’ve been planning the ideal UX for many years. But whether or not that pans out, I can take my CUE system and put a web interface over it to turn it into a mostly automated PaaS. I figure I could undercut most PaaS companies and charge just a few percentage points above cost (using OpenCost to track the expenses). If we get to the point where we have a ton of novices creating apps with AI, I might be in a lucrative position if I have a PaaS that can quickly scale and provide automated secure back ends.

    Of course, I intend on open sourcing the CUE once it’s developed enough to get things off the ground. I’d really love to make money from my creative ideas on a socialized media app that I create, am less excited about gatekeeping this kind of advancement.

    Interested to know if anyone has done this type of project in the past. Definitely wouldn’t have been able to move at nearly this speed without AI.


  • My perspective is only mine, but I’ve had mixed results on this.

    I’m in my mid-thirties and I have not seen a doctor as an adult. I have been to urgent care twice, once in my early twenties for pneumonia and once a couple years ago for a fungal ear infection.

    I have a few minor ailments, some curable and some not, which I would love to see a doctor for. But I’m always afraid to open that door. Due to my ADHD, I tend to get in a cycle where I’ll find a decent job, burn out due to poor sleep hygiene and the pressure of wanting to do well, and then spend months working on personal projects and getting good sleep until I have to find work again.

    I have this fear that I’ll find a doctor and get prescribed for something that I’m told I need and then become reliant on that medicine and then leave my job and not have an affordable way to get it. I’m mildly overweight, but at my peak fatness I was worried I was pre-diabetic. And I avoided seeing a doctor still because I figured I’d like to focus on diet and exercise to address it without medicine, because I don’t want to get prescribed anything. I get concerned hearing news stories about doctors getting pharmaceutical kickbacks.

    I can’t stay young forever. My problems will worsen without adequate care. My goal is to make enough money from creating software independently that I don’t have to worry about whether I have a job or not when I schedule a doctor’s visit. To know I’ll be able to afford any medication either way. I feel like I’m getting close to realistically achieving this but it’s not necessarily a realistic goal for the average person with ADHD to have.

    In the absence of healthcare, I have smoked and consumed a lot of cannabis. This self-medication has been the source of some of my ailments. There is a real possibility that if I continue to smoke this way into old age, I will develop some form of emphysema. I do not want to be dependent on this drug forever.

    That said, the effect it has on my ADHD is mostly positive. I’ve developed a tolerance such that I’m not as affected by most of the usual negative side effects - impaired memory, lowered cognitive function, etc, though there is still some effect. It leads me to disassociate more for sure. But that can also be good practice for maintaining focus when I’m sober. I’m a lot better at that than I used to be. Maybe mainly due to maturity and experience. But if properly channeled, the THC-fueled ADHD tangents can lead to productive results. In my experience.

    People forget that cannabis has a narcotic component. When I consume edibles, it makes me sleepy. But something about the metabolic pathway of smoking gives cannabis smoke or vapor a stimulant effect on me. And it motivates me to enjoy the thing I’m doing, whatever that is. It’s very easy to get lost in the enjoyment of watching movies or playing video games or making comments on Lemmy (oops). But when I’m doing work while high, I get a certain enjoyment in the minutiae of the task and trying to adequately solve whatever piece of the puzzle is keeping my work from advancing. Where I might not have had the motivation to work at all before, cannabis can make it a fun activity. Again, it’s how it works for me.

    But it’s expensive, even with how cheap it’s become. When you look at the long term, who knows if I would have saved money with pharmaceuticals instead? And it hurts my lungs, makes me cough loudly. I’m also dependent on it. I’ve needed to stop at times for jobs, or because I was trying to quit. And I notice after a week or two, I’m more irritable, more lethargic, with increased depression and suicidal ideation. It is addictive.

    But so are the stimulants people with ADHD take. I’ve dated people on these meds and seen the difference in energy of on versus off. I wonder if in some ways I’m better of from having not used my access to medical care and instead I developed coping mechanisms that allow me to exist in the world. Or just grew out of some of my issues to some degree. But even if THC has helped me with the introspective development I needed to reach this point, I wonder if I would now be better off without it. And maybe give the pharmaceuticals a shot, tentatively. I’m unsure.

    I don’t think the guy promoting cannabis in this thread is doing so with very much tact, and maybe the downvotes are useful to deliver that point. But given my history I hesitate to entirely dismiss the idea that cannabis can stand in for a stimulant in certain scenarios. We should be realistic about the risks and tradeoffs, but I felt the need to provide my somewhat biased viewpoint. Not trying to persuade anyone, just want my experience to live here as another point of data. In case anyone else has experienced something similar.