Hammerheart

joined 1 year ago
[–] [email protected] 14 points 2 months ago

it believes that to “categorically condemn the use of AI writing tools” is both “ableist and classist”. (The implication that working-class people and people with disabilities can only write fiction with the help of generative AI, however, is apparently A-OK.)

nothing about their initial statement implies that the poor and disabled need to or can only use AI. This sort of bad faith discourse irritates me. It's a deliberate attempt to discredit those espousing an opposing opinion. It's manipulative and intellectually dishonest.

[–] [email protected] 9 points 2 months ago (1 children)

Really, you already use gimp, but not linux?

[–] [email protected] 2 points 2 months ago

Duckduckgo has a no javascript mode.

[–] [email protected] 2 points 2 months ago

I have the tab bar set to expand when I hover over it. But when I split tabs to see two pages at once, I don't seem able to make them take up different proportions of the screen. The split tabs feature was what made me want to give it a spin, so I hope it is possible.

[–] [email protected] 2 points 2 months ago

Forge joe.

like, "joe sure is tough, he's built like a forge"

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

Is it possible to resize tab panes?

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

Reminds me of total annihilation, which is a very good thing.

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

Thats actually not a terrible idea.

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

Ive been daily driving debian since dec 25, 2023. I dont regret it at all. I had some experience using ubuntu in like 2007, but other than that had been using windows exclusively.

[–] [email protected] 6 points 3 months ago* (last edited 3 months ago) (1 children)

Damn, I wanted to mention sqlite.

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

how do you avoid using else, and why?

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

It is fucking brutal

Your "Typing-Speed-Test" repo? Zero stars—sounds about right. And those "bots" you’ve created? They scream “desperation” louder than a midnight Tinder swipe. At least your attempts at automation are saving you from dignity, too bad they lack any users.

Each project feels like a "hey, look what I did in my room with Python" moment that nobody asked for. Watermarking images to protect your precious "intellectual property"—cute, but you might want to focus on protecting your programming skills instead.
109
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

Lately ive noticed that i was wanting to do certain things on Windows that just seemed much easier and more intuitive on Linux, based in the OS specific solutions i would see to problems i encountered. And i was more frequently using software where Windows support seemed like an after thought.

A couple days ago i finally sat down and tried to install Mint. The installer didnt recognize my windows partition so it didnt offer any assistance. And a stroke of fate saw my internet connection dieing at the exact same time. Yes, i cant believe it either.

So i decided to live dangerously and just try to wing the installation with no outside help. It seems like creating a second EFI partition was not the right call. The install failed, and I couldn't get back onto windows.

I wound up just using a live ubuntu image for a few days while i wrestled with repairing the boot loader. I didnt succeed. Eventually i just made a windows recovery disk from my Desktop with an intact copy of windows, and had to reinstall windows.

Then i did manage to successfully install Debian, and ive been having such a great time with it so far. I feel like i probably didnt even need to keep a windows partition, especially since i could have just used my desktop if i REALLY needed windows. I havent had this much fun just using the computer since i was a kid.

 

I'm new to vim and getting the hang of the configuration. I've gone through a couple of youtube videos giving a tutorial of setting it up with lazy.nvim. Now I am following ThePrimeagen's config, and UndoTree doesn't work.

The plugin is loaded and my config is properly sourced, but when I run run :UndoTreeToggle, I get this lovely error:

(E5108: Error executing lua: function undotree#UndotreeToggle[11]..<SNR>37_new[2]..41, line 6: Vim(echoerr):"diff" is not executable. stack traceback: [C]: at 0x7ff77ae89570)

I am running windows (currenty in the process of backing up my personal data so I can try out Linux without feeling too disconnected from my daily computer user). I did a little bit of google searching and checked the issues on github, unfortunately I couldn't find anything related to my problem. Any help would be much appreciated.

 

I am working on user authentication in Flask. I have my User class, which inherits from db.Model (SQLAlchemy) and UserMixins (flask-login):

class User(db.Model, UserMixin):
    id = db.Column(db.Integer, primary_key=True)
    email = db.Column(db.String(100), unique=True)
    password = db.Column(db.String(100))
    name = db.Column(db.String(1000))

and I create a new User object during registration:

        new_user = User(
            name=request.form["name"],
            password=generate_password_hash(password=request.form.get("password"),
                                            salt_length=8,
                                            method="pbkdf2:sha256"),
            email=request.form["email"])

Since I inherited from UserMixins, I started to get an "unexpected arguments" warning from pycharm when I create new_user. can someone explain to me why that is? If I don't inherit from UserMixins, the warning goes away.

 

So, it used to work just fine. Then jerboa became basically unusable due to some bug. That was a few weeks ago. I saw an update was available, so I thought to give it another try. It's much more stable after the update, and my lemmy.one account works just fine. But when I try to log in with this account on jerboa, I get an incorrect login error. I set the instance to "programming.dev" and I know I used the right credentials because my password manager filled them in, just like it does in the browser.

Any ideas on a cause or fix? It might be a jerboa issue but I don't get why it seems to only impact this instance.

2
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I was looking over the first kata i did on codewars, and I thought it would be fun to try and solve it in C. The object was to return a string based on a boolean input. it took a lot of trial and error, googling, chat gippity, but I eventually got it to work. I am still focused on learning python, but I've had it in my mind that I should branch out once I've reached a competence plateau in python. I'm nowhere near that plateau yet, but this seemed simple enough to warrant the necessary investment in time to accomplish it.

// C:
#include <stdbool.h>
// FIRST EVER C PROGRAM
const char *bool_to_word (bool value){
// you can return a static/global string or a string literal
  if (value == 1){
  return "Yes";
    }
  else{
    return "No";
  }
}

I realize this is pretty trivial, but still, it's a milestone for me and I wanted to do my part to get the ball rolling on this community.

view more: ‹ prev next ›