u/John_Doe_1984_

Does Arch use a Debian based file system

I've been using Ubuntu for a few months now (but still very new to Linux, be easy on me)

From my understanding, debian based distros (i.e. Ubuntu) use the same file system, which when it came out was very well loved, hence many distros adopted it.

I can't find online if this file system is the same for Arch, as I've spent a long time trying to understand how my Ubuntu files work, so this would give me less of a hurdle to finally trying out Arch.

Is the file system the same or similar?

reddit.com
u/John_Doe_1984_ — 8 days ago

Difference between repositories & package managers?

I understand package managers, but I'm getting confused when people refer to repositories, are they being used interchangably?

I've googled it, but they sound exactly the same, am I missing something?

reddit.com
u/John_Doe_1984_ — 8 days ago
▲ 5 r/emacs

Does Emacs use a similar .swp file saving system to Vim?

On Vim, if you begin editing a file it makes a .swp file with the changes, then when you save the file, it combines the original with the .swp file & deletes the .swp file so you have an updated file.

Does Emacs do the same?

I can see a new file ending in ~ is created (when I edit a file) but it appears to be the original copy of the file (not the updates I've made), also, saving the file doesn't delete this newly created backup file?

reddit.com
u/John_Doe_1984_ — 9 days ago
▲ 6 r/emacs

Difference between using :! and : when running a terminal command (Evil mode)?

This might be a very specific question, apologies

But running Emacs in Evil Mode & : or :! before running a terminal command (i.e. pwd or ls) don't appear to be doing anything different

In Vim, using !<command> would give you the result & keep you in the file, whereas :!<command> would temporarily put you in the terminal

Is there any difference between the 2 on Emacs that I'm missing?

reddit.com
u/John_Doe_1984_ — 10 days ago

What's the difference between a Frame &amp; a Buffer?

I've seen both be used & through google I understand there is a framebuffer system built into Linux.

However, what's the difference?

I have a fairly good understanding of a Buffer, but the word Frame is throwing me, are they the same?

reddit.com
u/John_Doe_1984_ — 10 days ago

Why can't I use a return statement in an __init__ function?

Apologies if this has been asked before, but here's my code:

You can print in both (i.e. the check's), but I'm a little confused why this __str__ is specifically used, only so you can include a return statement. Is this just to simplify the __init__ & make sure it's only used for creating variables?

class Student:
    def __init__(self, name, grade):
        self.name = name
        self.grade = grade
        print("check 1")
        
    def __str__(self):
        print("check 2")
        return f"{self.name} {self.grade}"


joe_init = Student("joe", "A-")
print(joe_init.name, joe_init.grade)
print(joe_init)
reddit.com
u/John_Doe_1984_ — 11 days ago