canadaduane

joined 2 years ago
MODERATOR OF
[–] canadaduane@lemmy.ca 1 points 4 days ago

I think you could be reading into what I'm saying a bit, but I do appreciate your example as gedankenexperiment. I think what you're getting at here is that not everyone should be empowered to code, because coding is powerful, and power can do harmful things, like genocide. Is that right?

If I read one layer further, I think what you might be most concerned with (correct me if I'm wrong) is the conveyance of statistical power in corporate hands, where decisions are often amorally arrived at, and LLMs and their training sets could represent a bad form of this--if they are allowed to be used for ill. Is that right?

I guess I just find it empowering to work on good objectives. I'm the moral agent, and I treat the computer and all of its capabilities as a tool. The AI system I have running on an old(ish) GPU in my closet is powered by solar panels, transcribing my audio notes, and giving me peace of mind that my data is within my digital domain. Adding an LLM to that GPU is part of the ongoing experiment. And if it helps my daughter (who is not a coder) build apps that are just for her and that she loves, well, I'm cool with that (see other posts for details, I have to get back to work now).

[–] canadaduane@lemmy.ca 4 points 4 days ago (1 children)

Thanks for your thoughtful reply. I admire that, despite the clear differences we might feel around the subject. I'll try to be thoughtful as well.

LLMs are the opposite of anything ecological IMHO.

I think this is a really interesting point, and I hope to hear it unpacked some time. I'd be interested to know if you're talking about American LLMs, or some other breed of LLMs, or the transformer algorithm that generates language models itself.

We have a thousand of those already. A better example is needed.

I mentioned this in another reply, but will repeat here a bit. I didn't go into detail in the original post because I wanted to be brief. But the habit tracker app I was thinking about was something my daughter designed. She isn't a coder. But she had a complex set of nuanced motivation ideas for herself--she wanted to make a system where if she didn't something healthy for herself, she would be awarded stars, and if she did something social she would be awarded flowers. I'm doing her app a disservice by abbreviating it. She wrote a 19-page description (Product Requirements Doc, in engineering terms, but she wouldn't know that term) in Google Docs, and then built her app in v0. She was so so excited to see her ideas come to life! It's the first time I've ever seen her really interested in computers.

(re: mold an existing app) That’s not how any of this works. One more reason to shun those who do not care and take the time to understand what programming is all about.

I'm not sure what you mean here. I'm a FOSS developer. I know what open source is. I also know what it takes to start with an existing open source app and mold it into a new shape, based on new requirements that I have. What am I missing?

Linux is free FFS, install Ubuntu today and you have all the languages you’ll ever need. How is ~~code vomit~~ vibe coding helping? Also LLMs are very expensive to run right now, it’s the worst example.

I'm running an LLM and a transcription service (audio -> text of my notes, synced via syncthing from mobile phone to server, then processed using n8n and a docker image of whisper-asr-webservice) on an nvidia 3080 GPU in my home, powered (mostly) by our solar panels. I'm exploring new paths, and vibecoding seems like an interesting one to me 🤷

Last but not least, I hate how all the CEOs, managers, companies, and random people try to: pretend that open-source does not exist, change the meaning of the word open-source by associating it with binary blobs, and show developers as selfish people (“tech wizards”) who want to keep the technology for themselves.

I'm not sure that I agree with this statement.

You don’t want to learn how computer works and it’s fine, it’s your right, but don’t pretend it’s anyone’s fault.

I guess I didn't think I was blaming anyone here.

My vision for the future is one where it's more equitable--where digital algorithms don't govern our lives like they (primarily at the hands of corporations) do today. I'm exploring what vibecoding might mean if it emancipates people to contribute to the ruleset that is often hidden from their view, especially when they don't have computer/technical expertise (but also by just being a human being in this era, when mobile phones, social media, and unhealthy relating with devices are ubiquitous and basically just "expected" of you).

[–] canadaduane@lemmy.ca 3 points 4 days ago (1 children)

lol, that sounds like a disaster.

I'm curious, what would it look like in 300 years? What would be different, and enable a positive human-computer alignment at that time? I know you've said it's out of scope, but I'm curious what we can't have now that is desirable in the future.

[–] canadaduane@lemmy.ca 1 points 4 days ago

lol, fair point. <3

I do hope we use it judiciously. So far, I've found the "biggest bang for your buck" to be at beginning a new project. But I'm also wary of vibecoding in its extreme form of "just press accept".

[–] canadaduane@lemmy.ca 3 points 4 days ago

Right! I guess this is precisely my point--big corporations are running with it, and so the future will be whatever they make it. But I want to make my future, which is why I've built solar panels on my home, built my own server, re-used old computer parts in my closet, hosted my own server, and am running a GPU with my own ollama and whisper AI algorithms on it. I'm hoping to take control and not just be a consumer of corporate enshittification.

[–] canadaduane@lemmy.ca 1 points 4 days ago

You're right, it's a bit tongue-in-cheek. But it's a fun name, and I found a lot of people didn't understand "no code / low code" and even more didn't really get excited about it. Vibecoding is interesting to people, I think.

[–] canadaduane@lemmy.ca 3 points 4 days ago

You make a good point about software being potentially low capital. Open source is a great counter example.

But I wonder how do we know what people need? Are the solutions out there actually good for everyone? My daughter is not a coder, but started vibecoding her own habit tracker app last week. She's very excited about her motivation system of stars and flowers, and the nuances of how to make it just right for her. She wrote 19 pages on a google doc describing her app. It's almost like a requirements document, and if she had $30k I bet she could hand that document over to a software engineer and they could build a mobile app for her.

If she hadn't built this app, I wonder how many habit tracker apps would have also advertised to her, or sold her habit data? If a person is not a software engineer, they kind of have to live with other people's decisions in the digital sphere (and some folks, I've found, aren't even able to evaluate software for safety, privacy, alignment with their values etc. let alone build it).

I guess I just wonder what the world would be like if the bar for personalized software were dropped so everyone could create just what is needed, for them, wherever they are and in whatever community they find themselves.

[–] canadaduane@lemmy.ca 4 points 4 days ago (1 children)

I might be misunderstanding, but it sounds like you're angry at AI, or at least, you'd like it to diminish not grow in use.

[–] canadaduane@lemmy.ca 5 points 4 days ago (1 children)

We often think of "AI" as what is promoted by big corporations--but it doesn't have to be. The math, algorithms, and machines that run AI can all be ours, and I think we can run them responsibly. For example--I run an AI transcription service just for myself on an old GPU. It works quite well. I also have solar panels installed on my home. I think it can be carbon neutral.

[–] canadaduane@lemmy.ca 4 points 4 days ago (1 children)

I recently bought a frame.work mini-PC and plan to run my own models, solar-powered.

[–] canadaduane@lemmy.ca 3 points 4 days ago

That's what I've been working towards!

 

I started a local vibecoders group because I think it has the potential to help my community.

(What is vibecoding? It's a new word, coined last month. See https://en.wikipedia.org/wiki/Vibe_coding)

Why might it be part of a solarpunk future? I often see and am inspired by solarpunk art that depicts relationships and family happiness set inside a beautiful blend of natural and technological wonder. A mom working on her hydroponic garden as the kids play. Friends chatting as they look at a green cityscape.

All of these visions have what I would call a 3-way harmony--harmony between humankind and itself, between humankind and nature, and between nature and technology.

But how is this harmony achieved? Do the "non-techies" live inside a hellscape of technology that other people have created? No! At least, I sure don't believe in that vision. We need to be in control of our technology, able to craft it, change it, adjust it to our circumstances. Like gardening, but with technology.

I think vibecoding is a whisper of a beginning in this direction.

Right now, the capital requirements to build software are extremely high--imagine what Meta paid to have Instagram developed, for instance. It's probably in the tens of millions or hundreds of millions of dollars. It's likely that only corporations can afford to build this type of software--local communities are priced out.

But imagine if everyone could (vibe)code, at least to some degree. What if you could build just the habit-tracking app you need, in under an hour? What if you didn't need to be an Open Source software wizard to mold an existing app into the app you actually want?

Having AI help us build software drops the capital requirements of software development from millions of dollars to thousands, maybe even hundreds. It's possible (for me, at least) to imagine a future of participative software development--where the digital rules of our lives are our own, fashioned individually and collectively. Not necessarily by tech wizards and esoteric capitalists, but by all of us.

Vibecoding isn't quite there yet--we aren't quite to the Star Trek computer just yet. I don't want to oversell it and promise the moon. But I think we're at the beginning of a shift, and I look forward to exploring it.

P.S. If you want to try vibecoding out, I recommend v0 among all the tools I've played with. It has the most accurate results with the least pain and frustration for now. Hopefully we'll see lots of alternatives and especially open source options crop up soon.

[–] canadaduane@lemmy.ca 3 points 1 month ago

I don't think I have intrusive thoughts. I'm happy, generally pretty creative (hobbies, coding, etc.). Sometimes politics and world affairs get me down, but I don't feel like they are "intrusive", more like affecting my mood. I like how /u/0x01@lemmy.ml put it--I kind of let my mind do whatever it does, and I try to be an observer of what unfolds. I think meditation practice has helped with this practice (Vipassana or Insight meditation specifically).

29
submitted 3 months ago* (last edited 3 months ago) by canadaduane@lemmy.ca to c/pop_os@lemmy.world
 

This has been killing me in Cosmic as I daily drive the alpha--the Alt-Tab functionality up until now has not cycled through most recently focused apps--rather, it has used a static list in the launcher that seems to be based on app launch order.

Not any longer! Two PRs will soon land from wash2, which continues the work of wizznokes (who started on this feature nearly 6 months ago), making recency-based alt-tab work!!

You'd think it's an easy task, but there are, afaiu several subtle things involved, including the need to create a protocol for cosmic-comp for active workspace combined with active app, so cosmic-launcher would be aware of and able to switch among workspaces, depending on circumstances of the most recently focused app.

I just pulled the branches behind these PRs and compiled and tested. What a beautiful sight to behold! Thank you all who were involved!

While I'm not involved directly with development, if I were to make a guess, I'd think these will reach the staging servers and be released this coming week if you're following popdev master (sudo apt-manage add popdev:master).

 
8
submitted 10 months ago* (last edited 10 months ago) by canadaduane@lemmy.ca to c/pop_os@lemmy.world
 

My laptop is running modern hardware with NVME drive and has 64GB of RAM. Running Pop!_OS 22.04 with Gnome/Wayland.

When I launch the cosmic-store or cosmic-edit (for example) via command line or launcher, each takes about 25 seconds for its app window to load. Loading the Pop Shop in the same fashion takes less than 1 second.

I saw a few lines indicating files couldn't be opened, and thought at first maybe my ulimit was set incorrectly, but there is plenty of headroom on my user (soft limit: 4096, hard limit: 1048576).

I do see a handful of logs that look questionable:

May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Couldn't move process 17126 to requested cgroup '/user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-com.system76.CosmicEdit-17126.scope': No such process
May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed to add PIDs to scope's control group: No such process
May 04 07:50:59 rosie systemd[2109]: app-gnome-com.system76.CosmicEdit-17126.scope: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit UNIT has entered the 'failed' state with result 'resources'.
May 04 07:50:59 rosie systemd[2109]: Failed to start Application launched by gnome-shell.

What could be causing the cosmic apps to load so slowly?

 

Some article websites (I'm looking at msn.com right now, as an example) show the first page or so of article content and then have a "Continue Reading" button, which you must click to see the rest of the article. This seems so ridiculous, from a UX perspective--I know how to scroll down to continue reading, so why hide the text and make me click a button, then have me scroll? Why has this become a fairly common practice?

 

I want to run a command and see all of its output on the left hand side, while simultaneously searching/grepping for particular lines on the right hand side. In other words, I want a temporary vertically split screen in my CLI, ideally with scrollback on each side of the split, but where I expect the left hand side to be scrolling thousands of lines quickly, while on the right hand side is a slow accumulation of "matches" to my grep.

Is this possible today? What tools would you recommend to accomplish this?

EDIT: To be clear, a one-liner is preferable over learning tmux or screen, although this does motivate me to perhaps begin learning tmux.

In case this is an X/Y problem: The specific command I'm trying to run is an rsync simulation (dry-run) where I want to both check that the command works, and subsequently check that there are no denied errors. The recommended way to do this is to run the command twice, as follows (but I want to combine it into one pass):

# first specify the "-n" parameter so rsync will simulate its operation. You should use this before you start:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/

# check for permission denied errors in your homedir:
rsync -naP --exclude-from=rsync-homedir-local.txt /home/$USER/ $BACKUPDIR/ | grep denied
 

LazPaint is a surprisingly good image editor.

I've looked around at many raster image editing apps for Linux, and I have mostly been disappointed.

  • The Gimp is hard to use and has lagged behind major other platforms' banner image editors.
  • Pinta is "ok" but has graphics glitches on my hardware (Intel).
  • Inkscape is good but specializes in vector graphics, not raster images.
  • Krita looks like it might be particularly good for artists using a tablet, but is mediocre for raster image tasks and has a complex interface.

I've also tried various "simple" apps such as KolourPaint [1] and Drawing [2], but these are generally more like "MS Paint" and have limited capabilities when importing images for various editing tasks.

LazPaint has all of the major features you would expect, without an over-complicated UI--selection, layers, gradients, filters, shapes, opacity, many file formats etc.. However, it is not wrapped in a Flatpak, so you need to download the "deb" file and install with Eddy (or the CLI):

https://github.com/bgrabitmap/lazpaint/releases/tag/v7.2.2

As an aside, I recently also discovered Pixelitor, and I think it's another one to keep an eye one. The author seems to be making some great progress lately (most recent release in September 2023).

 

The pop_os subreddit has many Pop!_OS-specific help requests per day. I'm kind of surprised there aren't more here on the Fediverse/lemmy side of the community.

I browse looking for ways to help, and after having shifted my attention from Reddit to the Fediverse I feel like I could be helping out more. Why aren't there more requests here?

1
Emotions: A Code Book (Kent Beck) (tidyfirst.substack.com)
submitted 2 years ago* (last edited 2 years ago) by canadaduane@lemmy.ca to c/listening@lemmy.ca
 

Kent Beck is a computer scientist and author. In his post, he takes a more personal turn. His "code book" for emotions is insightful.

This list reminds me of the importance of listening to our own emotions--complex signals of inner state (inner facts) that carry great significance if we're to gain deeper insight into our motivations, and then go on to improve our world and the world in general.

Identifying our feelings can sometimes be a challenge in itself, but interpreting them is also a skill and depends on wisdom and knowledge. I'm not sure there is a perfect interpretation of each emotion, but I appreciate and learn from others (like Kent Beck) who attempt to simplify these feelings into clearer meanings:

  • Fear—a call to focus. I need to increase a priority & let go of other things.
  • Anger—a call to establish & enforce my boundaries.
  • Anxiety—a call to pay attention to something I am ignoring.
  • Flashbacks—a call to deal with my past trauma.
  • Confusion—a call to step back & re-establish my intentions. For me this often takes the form of asking what I would do if I was serving my mission to help geeks feel safe in the world.
  • Envy—a call to safeguard my social standing.
  • Jealousy—a call to safeguard (or let go of) an important relationship.
  • Hatred—a call to accept something about myself I don’t like.
  • Boredom—a call to do something I am avoiding.
  • Apathy—a call to accept that I am stuck.
  • Guilt—a call to change.
  • Shame—a call to accept myself & then change.
  • Terror—a call to freeze in the face of fear (rather than run or attack).
  • Sadness—a call to release something I’m attached to.
  • Despair—a stronger form of sadness. I really need to release something I’m attached to.
  • Grief—a call to honor loss.
  • Depression—a call to understand deeply.
  • Suicidal thoughts—a call to change. (I hesitated to include this. If this is you, get help. I’ve read too many “logical” geek suicide notes. My suicidal thoughts diminished when I learned to interpret them as saying, “I really don’t want to be in this situation.”)
 

I am currently having issues with using Blender on my desktop computer where Blender just locks up/stops responding randomly while I manipulate positions of objects or node graphs. Blender never unlocks and there does not seem to be a consistent cause for this issue. All other programs run fine while Blender is locked up. My computer is not locked due to memory, CPU, nor GPU usage.

Please, if anyone can provide any information on this, I would greatly appreciate it!

Computer details:

Blender version: 3.6.1, only non-default add-on is MolecularNodes v2.7.4

OS: Pop!_OS 22.04

GPUs: GeForce GTX 1080, GeForce GTX Titan X (both pretty old, but still running strong with other visualization softwares)

GPU Driver: 535.104.05

CUDA Version: 12.2

CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz

RAM: 32 GB

Edit: just noticed that Blender is still using 100% CPU (one thread of 8) even after being locked for 15+ minutes now.

Edit 2: Added Blender version and add-on details (duh).

Edit 3: This is not arising due to loading corrupt blender files. I just started a fresh run, recreating the desired blender process for the visualizations that I am interested in, and the program still locked up.

 

It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.

But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relationship, but that’s typically a symptom rather than a cause. What typically happens is it accumulates in the little things that just build up over time, and I call those scar tissues. And the reason I use the phrase "scar tissues" is because scar tissue is when you have a wound that doesn't heal quite properly and you get this other tissue that just sort of fills the gap, which is called scar tissue, and that tissue is not as strong as the original tissue that was there. So, scar tissue is weak. So, what happens in relationships is that sooner or later, there's a conflict. It happens in all relationships and not all of them get resolved perfectly. So, now somebody's left feeling just a little bit unhappy about the result, mostly okay but just a little bit unhappy. But then it happens again... and it happens again in a different situation and no one of these is enough to kill the relationship, but over time that annoyance just builds up more and more and more and more, and then people start seeing patterns in behavior. You know if you ever hear the phrase "You always X": scar tissue.

So people start becoming sensitive and then they expect the bad behavior and there's nothing more guaranteed to create bad behavior than expectation. You will find it if you see it. And so eventually it just gets worse and worse and worse and worse, and then somebody decides they just don't care anymore and typically that's the point where something spectacular happens and the relationship collapses. And people often think it was the spectacular thing that wrecked the relationship, but really it was all those little bits of scar tissue building up over months or years. And my opinion is that in most of these situations the people aren't fundamentally bad, though they often appear bad, typically at the spectacular end phase of the relationship. It's just that the relationship wore off. Just wore off: too much scar tissue.

So, I'll give you an example of a relationship of mine that wore off. So, we had our house remodeled a couple years ago. Major remodeling of our kitchen and family room, and the foreman for the contractor, Jim, was in our house for every day for about 4 months during the work on the job. And it started off and things were fine, but then there were just little things that started happening. Like he wouldn't seal up the plastic around the kitchen, and so, dust would get in to the rest of the house. And most of the work he did was really great, but if he ever made a mistake he wouldn't want to admit it; he would kinda make excuses to try to avoid fixing his mistake, and this just got more and more annoying for me. And I'm sure I did my share in return because I'm sort of a perfectionist, and I probably noticed every little thing he did that wasn't absolutely perfect, and it probably drove him crazy that every morning when he came in, I was there standing in the kitchen ready to tell him about all the mistakes he made yesterday [Laughter], and so it just got worse and worse and worse to the point where we were barely on speaking terms at the end of the project, and one day our daughter came in, and she was like, “Dad I think your relationship with Jim is wearing out,” [Laughter] which was when I realized I shouldn't be telling her my theories about relationships.

Now, I could have sat down with Jim to try to work it out, but I decided since it was only a 4 month contracting job, I'll just put up with it, and you know, it'll be done in a while. He would have been pretty worried if we sat down and I was like, “Jim, can we talk [Laughter] about my feelings? I mean you left the plastic open and dust got into the house, and sometimes I feel like you don't respect me as a person.”

Now maybe if I tried that he would instantly change his behavior just to make sure we never, ever had to have a conversation again. [Laughter] So, the solution is if you want a relationship to last a long time, somehow you have to keep the scar tissue from building up. And that's really hard. So, when there's an issue, you somehow have to resolve it where there is zero lingering animosity. Nobody is even a little bit upset. Because even a little upset, that scar tissue that accumulates, that never goes away. And that's really hard to do; I don't have any perfect answers for that; it's communication and compromise. Both people need to be willing to listen to understand the other person's view and then you have to find some compromise where everybody agrees that's a fair trade off so nobody’s upset. So, that's really hard, and if either person can't listen or can't compromise, the odds are not good long term for that relationship. But there are classic mistakes people make. Like, some people are just too nice, and they wreck the relationships. They think, “Oh, it's not a big deal, it's just one little thing, not worth having a big argument about it. I'll just give in.” Well, that seems generous, but it's a really bad idea. You have to ask yourself, "Are you really, completely, 100% over this? You're giving in? No animosity? You're not secretly hoping that maybe they'll do something for you in return or a little behavior change here or there?"

Because if there's anything at all when you're giving in that you can feel bad about later, you're nuking the relationship - you're creating scar tissue with yourself, and that will build up to the point where you wreck the relationship. And the flipside is also bad. You may think, “I'm such a good arguer, I can just argue this person to death, and whatever they want I can just outargue them: I'll yell louder with more words, and I'll get my way. Whew! That was a great, great resolution, I got my way.” Well, you're nuking the relationship, sorry. So, somehow both people have to be completely satisfied with the outcome. So, the irony of this is, I think it's not the big things that nuke relationships it's all those little things. Even if there's a big thing, the relationship was going to die really soon anyway. So, just think about your relationship experience and the people around you. How many of you have either had a relationship that wore out like this or you've seen somebody around you and you could see their relationship wearing out?

[90% of a 300+ class raises their hands]

Yeah, it happens to everybody and we've all been there. And the trick is, again, you just have to avoid the creation of scar tissue. Not easy, but it's the only solution. Okay, that's my thought for the weekend

 

I'm exploring ways to shave a few seconds off of my boot time, and I came across a post that stated, "my initrd is pretty small--doesn’t really load much--and Arch also defaults to using zstd which is also faster to decompress versus gzip."

What compression does Pop! use for initrd and the kernel? When I run ls -al /boot, I see files such as 14M vmlinuz-6.4.6-76060406-generic and 119M initrd.img-6.4.6-76060406-generic. Are these compressed?

Lastly, is there a way to choose the compression of these boot files without a custom kernel build? Or is what I'm trying to do "off the beaten path" and going to lead to "you have to compile your own kernel from here on out"?

view more: next ›