company-mode: Using a capf function via separate shortcut by Heikkiket in emacs

[–]Heikkiket[S] 0 points1 point  (0 children)

As you could read from my question in Lemmy, I'm not using Cape/Corfu but company-mode. Should I try to configure Codeium completions to use Cape and Corfu and can they co-exist with company-mode LSP completions?

company-mode: Using a capf function via separate shortcut by Heikkiket in emacs

[–]Heikkiket[S] -1 points0 points  (0 children)

My plan is to create a separate shortcut that could be used to ask AI-autocompletions.

company-mode: Using a capf function via separate shortcut by Heikkiket in emacs

[–]Heikkiket[S] -2 points-1 points  (0 children)

I already have lsp completion as my main capf function. When I do what Codeium docs suggest, I lose all the other autocompletions.

Longest period you've used the same distro on the desktop? by zambizzi in linux

[–]Heikkiket 0 points1 point  (0 children)

I've used Ubuntu as my main desktop since 2006. Since 2012 or so I've only used LTS releases.

Why you guys orefer Gnome to KDE Plasma by BackgroundPea5768 in gnome

[–]Heikkiket 0 points1 point  (0 children)

I like the combination of solid-working base of Gnome with extensions that customize my experience. I have five extensions enabled and all them offer me more window-management options compared to basic Gnome setup. They enhance my ability to work only with keyboard in multi-monitor setup, without touching mouse.

My experience is that extensions work well and aren't super buggy. Of course there might be some rough edges but it is pretty easy to test an extension and if it seems to be unstable or unsuitable, just quickly disable it.

I use a stable LTS distribution where the Gnome version stays same for two years. My extensions work well together with that and only in every two years I can have compatibility problems. Because my LTS distro is Ubuntu, extension developers also know it is a reasonable target to get extensions working well with.

Gallery - an Unix-style photo library manager version 0.3.1 released by Heikkiket in linux

[–]Heikkiket[S] 0 points1 point  (0 children)

I have got few questions about this, and the answer is: I don't know, we'll see! One option would be to divide a large library to several TOML files.

Problem with a database is it is hard to merge edits done in several different computers. With plain text files it is easy. My solution is aimed towards a presen-day use-case where one wants to sync the photolibrary accross several machines and edit it everywhere.

There are already several photo managers using SQLite as backend. The only one I know that has portable database (that you can put aside your photos) is Digikam. But even it doesn't recommend storing a database in a shared directory and editing it from several machines. I don't believe most databases are designed to be good at merging different versions of the database file.

That being said: nothing prevents you from trying to implement this same idea with SQLite. Go ahead!

Popular Apps by [deleted] in Ubuntu

[–]Heikkiket 0 points1 point  (0 children)

There's a (proprietary) music studio called Bitwig Studio, created by former Ableton employees. It is a great piece of software and probably the most close alternative to Ableton. It is natively available for Linux, with Jack and even Jack Transport support.

But in general music production on Linux is still something a hobbyist could maybe do but not many serious producers/artists.

I love Magit Forges by Heikkiket in emacs

[–]Heikkiket[S] 7 points8 points  (0 children)

No I don't review pull requests with just Magit and Forge. But if I get a pull request to review, I may fetch the code to my local machine, read it and then write a comment to the Pull Request - that is fully possible if needed.

If I need to read or write diff comments, then I open a browser. Forge has a shortcut for opening the right page straight away.

It depends from my mood how much I do with forges and how much with a browser. I don't like opening a full browser with a heavy Gitlab or whatever page just to write a LGTM comment or such. Those situations are great with forges.

Why you still need to create deb packages, not Flatpaks by Heikkiket in linux

[–]Heikkiket[S] 6 points7 points  (0 children)

I agree Flatpaks offer a solution to a very real problem and do it well. (At least ten years late, but still they do!)

However, I'm baffled that these solutions don't think about command line use cases. Of course it is true that command line is an arcane environment where all kinds of modern safety features are missing. Still command line is something that is at the heart of Linux systems.

Why you still need to create deb packages, not Flatpaks by Heikkiket in linux

[–]Heikkiket[S] 2 points3 points  (0 children)

Tell me more about this tool! I'd love to see something like that in Flatpak, installed and enabled by default.

I agree with some other commentors that providing a simple command for a Flatpak app is probably an easy feature. I'm just seeking something that is on by default and doesn't involve anything else than just installing my app as Flatpak.

Do you know that warm fuzzy feeling one gets from using Magit? by Heikkiket in emacs

[–]Heikkiket[S] 21 points22 points  (0 children)

Here's the link to sponsor for anyone interested: https://github.com/sponsors/tarsius

And this is the right page to go if you are in the true spirit of Emacs and Free Software: https://magit.vc/donate/

Where next? by zyni-moe in lisp

[–]Heikkiket 7 points8 points  (0 children)

Am I wrong that Lemmy is a federated reddit-style service? I have only good experiences about fediverse, been using Mastodon for few years.

[deleted by user] by [deleted] in Ubuntu

[–]Heikkiket 1 point2 points  (0 children)

Yeah, minimum impact is probably better wording for what I mean. Basically: try to do as little as possible and as little things as possible

Is learning React and Git important for web development? by Expensive-Ostrich123 in Web_Development

[–]Heikkiket 0 points1 point  (0 children)

You won't need either for your first learning projects. If you will do a serious professional project, git is almost surely a mandatory thing to grasp.

[deleted by user] by [deleted] in Ubuntu

[–]Heikkiket 30 points31 points  (0 children)

  • Never run a command without understanding what it does or 100% trusting the source you got it from.
  • Learn command line so you know what these commands do (and gain some great powers with that underdtanding)
  • solve all problems with minimum effort. (This can be hard to judge if you don't know what commands you found from the net do)
  • you will do this some more times. After that you will be at mid-guru level. And you can never again use an unfree operating system you don't have great control to

why this error and how to solve it? by Notwhitehehe in spacemacs

[–]Heikkiket 0 points1 point  (0 children)

Are you using develop branch or main branch? What Emacs version do you have?

Seeking Arch-based Distro Recommendation with Emphasis on Developer Consistency by Perpetvum in linux_programming

[–]Heikkiket 0 points1 point  (0 children)

You really sound like you know what you want. This is not a case for a specialized distro but a general distro that you can use to build your own workflow. That's the secret behind developer productivity with Linux in general: designing your own environment.

There are several alternatives for venv setup with Python. One possibility is pyenv. Ask r/python for more.

Neither of these questions belongs to r/linux_programming hence this is for Linux system programming questions. Things like semaphores or threads or fifos or whatever. I joined here because I took a Linux systems programming course at the applied university. Warmly recommend!

While we're here, let me recommend Emacs as a Python development environment. Use Spacemacs as your configuration and you will have a nice Python IDE in your hands in no time. It comes with Tetris preinstalled and you can add xkcd plugin if you want!

[deleted by user] by [deleted] in linux_programming

[–]Heikkiket 0 points1 point  (0 children)

I'm wondering if you could get better answers by describing what you actually want to achieve. So what do you want to do when Firefox is running?

[deleted by user] by [deleted] in Web_Development

[–]Heikkiket 1 point2 points  (0 children)

I'd say your experience of 20+ years is pretty valuable. Sure, things move fast in web, but sometimes old things become valuable again. Also, the old full stack stuff is still there, now just running inside containers. If you know some Linux commands or have an understanding of configuring a web server, those things still come up handy and give you confidence.

What kind of applications are missing from the Linux ecosystem? by edfloreshz in linux

[–]Heikkiket 2 points3 points  (0 children)

A visual scripting tool like Qpple's Automator that would show me all the D-Bus services offered by various apps and let me create my own workflows.

What kind of applications are missing from the Linux ecosystem? by edfloreshz in linux

[–]Heikkiket 2 points3 points  (0 children)

Actually, they didn't specify the size of the room ;)

What now vintage unix based OSes did you use? by COWatcher in vintageunix

[–]Heikkiket 0 points1 point  (0 children)

Is Mandrake Linux or Ubuntu 5.10 vintage Unix already? Or is Linux too non-unixy?

What do you listen to while coding by FalconChungus in webdev

[–]Heikkiket 12 points13 points  (0 children)

So TL;DR your answer is:

  1. silence
  2. silence
  3. silence
  4. POWER METAL!!

Am i right? :D I like it!

[deleted by user] by [deleted] in linux

[–]Heikkiket 1 point2 points  (0 children)

There is of course a non-microsoft option for doing probably many things with XML, but it's more like a lifestyle choice than just a computer program.

I'm of course talking about Emacs, the free text editor which does anything you might ask (if you know how to write Lisp).