blob42

joined 2 years ago
 

Hi !

I am sharing codegpt-ng.nvim — a minimalist AI plugin designed for fast, "vim way" workflows.

How Does It Compare To X

This is a fork of CodeGPT.nvim fully refactored and brought back to life. Here is a quick overview of the new features:

  • Fully tested with Ollama and OpenAI API
  • Streaming mode for real-time popup responses
  • lua table-based configuration instead of global variables
  • Model definition inheritance: Define models that inherit other model parameters
  • New commands and helpers such as the % commmand range operator
  • Ability to cancel current request.
  • UI Query and select local or remote model
  • Strips thinking tokens from replies if the model forgets to use codeblocks
  • New callback types: insert_lines and prepend_lines
  • Refactored for idiomatic Lua and neovim plugin style
  • Simplified command system with explicit configuration
  • Chat History: Add example messages in a command definition
  • Tests with plenary library
  • Fixed statusline integration

And much more to cover here. I use it as my daily driver.

Contributions welcome !

Fun Fact: that same post has been instantly flagged as spam on the official /r/neovim reddit for no reason. I have been a member since years and replied to many posts and posted before. The state of the internet today is very sad. /rant_off

[–] [email protected] 1 points 4 months ago

Good to know thanks. For info all modern bluetooth chips have compatibility issues with Linux anyway.

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

May I ask which motherboard was it ? I am planning to get soon exactly the same specs but with an X870e Taichi which is renowed for good compatibility with Linux.

Good advice is to ask in the Level1Tech forums before buying new hardware.

[–] [email protected] 3 points 4 months ago

The worst was changing the best controller configuration UI when they retired Old Big Picture. The UX was absolutely perfect and paired with a steam controller you could make fairly complex configs easily. Now I am forced to use the old linux client on linux to keep the UI but cannot enjoy the new compatibility stuff like gamescope.

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

start from man man and learn to use man pages. Get used to lookup man pages for any topic before checking on the internet

[–] [email protected] 3 points 7 months ago

LMFO I was on the reddit thread reading this post and coudn't believe my eyes reading the comments. We're living truly revelation times. Like you said this is a long due wakeup call for the rest of the "uncivilized" world.

[–] [email protected] 1 points 2 years ago

xmpp + omemo => good luck

[–] [email protected] 9 points 2 years ago* (last edited 2 years ago)

One thing I can imagine is even something like unconscious “self censorship”, choosing more permissive license to attract more people and even corporations which will hire developers…

This is the result of years of anti-copyleft propaganda which started to pay off. Now, all that corps need to do is wait for new projects and libraries to pop up and subtly (more than often openly) allocate resources to whichever project they need, or simply EEE. A much easier exercise than it was during the early years of copyleft where we could literally have a free alternate operating system to Microsoft, Apple and IBM while they were openly fighting it. Read on the Education and Government Incentives program for a reminder of what corporations are capable of.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

I highly doubt these are sponsored by any big corp, just hobbyists/students that think it is interesting project to undertake that don’t care as much about the GPL as much as they care about doing something interesting to them.

I wanted to test this theory, quickly looking at the commit history you can see that although the project might have started as a hobby/student weekend project, it is currently maintained by someone with an official affiliation of director at Mozilla corp.

PS: I am not pointing the finger to any entity here, I picked this project as an example to have a discussion on this topic.

[–] [email protected] 6 points 2 years ago* (last edited 2 years ago)

I am aware that permissive licenses became the defacto form of licensing for new projects thanks to years of propaganda from big corps and especually Microsoft, who bought Github mainly for this. I never paid too much attention until I realized the potential for Rust projects to be widely adopted for replacing a big portion of copyleft libraries. This coreutils project was just an example to make the point, it seems very convenient and it is easy to dismiss the licencing choice as a coincidence. On the long term this might have huge implications a few generations ahead when big corps don't have to contribute nothing anymore to society. Look at what is happening with ~~Open~~CloseAI, open source models are lagging behind because there nothing equivalent to GNU/Copyleft in this field, thus we end up with a big corp mostly owned by Microsoft holding a life changing technology in its hands and hindering the progress of all society.

 

I posted this over /r/StallmanWasRight and I am not sure it would be taken well at /r/Rust so here we are.


I have been getting into Rust in the last year but the licensing ecosystem of Rust crates makes me perplexed.

Today I came along this project https://github.com/uutils/coreutils that is trying to rewrite GNU coreutils in Rust and it is likely over the years projects like this one will overshadow many of the legacy GNU projects.

They are almost all made on "permissive" licenses that will give so much more power to corporations, in fact I am absolutely sure all these (big) rewrites are sponsored by corporations to escape the GNU safeguards that were built to protect users and society.

Does anyone else see this or am I just too paranoid ?

EDIT: It is not my intention to single out any specific project/team. Instead, I aim to initiate a meaningful discussion regarding the licensing choice. Rust is likely the first language since C that holds the capability to effectively replace the decades old, legacy libraries.

[–] [email protected] 1 points 2 years ago

dwm, I got too much used to "it just works" and never ever breaks afrer an update.

[–] [email protected] 36 points 2 years ago

Thank you for your integrity and ethics. This action sends a strong message to the capitalist leeches where we stand.

 

Hi,

I am an amateur in network admin and run my homelab. I currently have a need to create some complex routing logic for a docker container, basically replicating the ip rules generated by Wireguard's wg-quick but manually.

Since years I wanted to learn a bit more about Policy Based Routing and better using iputils ip command for this.

What comprehensive book or learning material do you recommend ?

[–] [email protected] 1 points 2 years ago

I don't use toolformer it's just used for demo purposes, I simply scan the PDF of the paper and generate embeddings which are used for question answering. The AI logic is built with Langchain.

It currently uses OpenAI model but the next priority for me is to use local LLMs which should be straightforward with Langchain.

 

Hi all,

I wanted toshare a project I have been working on.

With Instrukt, you can build, customize, debug and instruct AI agents straight from the terminal.

I made a quick demo to showcase the main features here: https://youtu.be/_mkIoqiY0dE

Looking forward for feedback.

 

Picked this one for having hassle free LTE internet that I would be able to flash it for the stick version where there is no NAT, the carrier assigned ip is directly exposed without restrictions. It has also very good compatibility with Linux.

I found this blog article where the firmware E3372h-153 21.180.01.00.00 is mentioned. All the links are dead and it's so difficult to find anything with Google now that every single piece of information is controlled.

Any idea where I could look to find this kind of files ?

 

While writing any post or reply, using the backspace key often deletes the previous word (merge two previous tokens) which makes writing anything longer than a sentence hell.

 

Hi all,

As the title says , Timothy Cain , creator of the fallout series started a youtube channel where he discusses Fallout and game development. It's really interesting listening to the history and politics that went behind.

 

Hi all,

I started learning rust a few months ago on my free time. I went through the most difficult already like borrow checker and I used the Learning Rust book from Jim Blandy as reference especially for its first chapters.

This is not my first time learning a language I already have experience with Python, Go, JS, C, Lua ... but with Rust it feels different.

Everytime I learned a new lang there was always a milestone I crossed that made me feel comfortable using the language, that milestone was always some side project or program I needed anyway.

I am trying to do the same with Rust but the slowness of learning and looking up the docs coupled with the verbosity of the language is not very motivating. Don't get me wrong, I really want to use Rust and learn it as it looks very elegant and clean, I already learned a lot more about lower level details of programming. The documentation is probably the most elaborate one I ever used for a programming language.

To keep me going I am practicing Rustlings while a procrastinate to work on the side project I chose as first project.

I am just curious how others passed that milestone with Rust.

view more: next ›