[ Home ]
[ en / f / h / h3 / jp / t / v ] [ Home ] [ FAQ ] [ Rules ] [ Catalog ] [ Archive ] [ RSS ]
Board Statistics
Board PPD Total Posts Unique Posters Last Post
Welcome to the WIRED
1717626166898.jpg - 379.08 KB (715x727) SauceNAO

What is the main advantage of Gentoo ? In your opinion, what are the main advantages over Debian or Arch-based systems?

>>
ef91ca382c13799592bf98392257f6bb.png - 3290.98 KB (1000x1778) SauceNAO

it is source-based. in my experience this means mainly three things: - if something breaks or doesn't compile I can fix it myself without having to search internet forums and such - I can set compilation flags to adapt programs to my needs and environment - it is easier to create and maintain my own packages for the package manager I use it mostly for Recreational Programming, I often browse github for libraries for my projects and most of the time they aren't popular enough to be in the package repository of any distro. with gentoo I can write an ebuild and have the library installed and maintained by the package manager in less than 5 minutes it fits my use-case well but I don't know if I would recommend it to other people. it isn't hard but you need some experience with c/c++ toolchains, autotools and cmake for it to be anything more than just another distro with less support than debian now that I think about it, one notable thing is that gentoo doesn't do stuff behind your back so to speak, so there aren't as many opportunities for things to break unexpectedly. I guess that can be a plus even for inexperienced users

>>

and yes, I'm too dumb and lazy to learn nix/guix

>>

>>694 Advantages? No. There is none. I've spent one entire year with Gentoo and three months with Funtoo, and, these two are simply distros for enthusiasts. That's it. Don't get me wrong, Portage is a good package manager, but you'll probably spend a lot of time with it, and it's just not worthy.


1188d4076f119c7e3700173f00c5eb66.jpg - 54.38 KB (735x736) SauceNAO

Hey, does anyone know how I can enter the closed shell system?

>>

>>728 debian uses binary packages, right? based on my brief experience with debian I would guess you have to first create the packages and then add them to a local repository (this is, a local list of packages) >compile and "install" the package to a $dummy dir (I think cmake has flags to do this, similar to --prefix with ./configure) >mkdir -p $dummy/debian; nano $dummy/debian/control (https://www.debian.org/doc/debian-policy/ch-controlfields.html#debian-binary-package-control-files-debian-control) >dpkg-deb -b $dummy this will create a .deb for $dummy with the files that make install (or cmake install) would normally add to your /usr/local then you create a local repository in the arbitrary dir $lrep >mkdir $lrep >cd $lrep >cp -r dir/with/deb_files/* . >dpkg-scanpackages . > Packages >echo "deb [trusted=yes] file:/path/to/$lrep /" > /etc/apt/sources.list.d/lrep.list replace $dummy with the name of your package and $lrep with the name of your local repository (same with /path/to/$lrep). here is an example of a debian control file https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#controlfile notice that the only required fields are package, version, architecture, maintainer and description

>>

>>729 I want git pull, magick.sh, apt install, https://www.debian.org/doc/manuals/debmake-doc/index.en.html

>>

>>730 what do you mean?

>>

>>731 There's so much info about packaging. I want to 1. git pull/wget the source code of the release I want to compile 2. run magick.sh that will make me a package 3. apt install it I could implement all that but I lack mental capacity to comprehend all the documentation right now

>>

>>732 without getting into source-based packages that sounds easy to automate in a very crude way, you don't really need debmake or debuild, just have a script download and untar the release, compile and install to a prefix, add the debian control file, generate the .deb, move it to your local repository, and update it's metadata the only problem with this approach is dependency detection, but considering you are already compiling the software, I assume you have the dependencies anyways. it is a bad practice but you can list the dependencies later I guess


1694738897401595.gif - 78.76 KB (384x241) SauceNAO

Does anyone know how I might get into learning C? I want to make a simple RPG to play in my terminal but I don't know a lick of programming...

>>

>>711 Literally just write a program and you will learn by googling syntax If you are on linux you likely have a preinstalled resource for the stdlib (ew) and (most) linux interfaces >rpg puts() is as good as any high-level shitlang.

>>

>>711 "Modern C" by Jens Gustedt is more or less the default C beginner book. There is a CC version (https://inria.hal.science/hal-02383654/file/ModernC.pdf) so you don't even need to libgen it. >a simple RPG to play in my terminal Elaborate?

>>

>>711 Anon we all start somewhere and it's okay to start with a scripting language like Python. Learn enough Python to build your simple game then move on if you feel like it. No need to commit to one language for all time. Sorry this didn't really answer your question. >>716 This is good advice for your 2nd language but if you don't know how to program at all you'll need some guidance to get started.

>>

>>716 >puts() is as good as any high-level shitlang. I think OP wanted to make something like nethack and not 100% text, but I could be interpreting it wrong. In that case I recommend looking into (n)curses, however it WILL be very frustating, as there is little documentation, but it is doable. Just make sure to gather some more programming experience and keeping this on your backlog, before starting with it, as it's a bit advanced. >>721 As this anon, said, you probably should start with an easier language first. Sure, you can try C, but it will much likely be frustrating and not very fun. Ncurses bindings exist for Python as well, so you can make your terminal RPG with that too. See here: https://docs.python.org/3/howto/curses.html For learning Python just pick up some book from the last 10 years about the language (it's important that it is Python 3 and not Python 2.7) and read through it. The book or course or video playlist doesn't matter as much, as does practice. It's important you try as much stuff out as possible, so you make mistakes and learn from them, but also because you'll gain an understanding of programming overall. If you don't know which book to choose, just try this: https://libgen.rs/book/index.php?md5=922B856D66574746B69EC69E67C20A17 In case you don't like authors writing style, the examples or find it otherwise not helpful, just search through libgen with keywords such as "Python programming", "Learn Python" or "Python Course"

>>

Just use haskell people seem to have a very wrong opinion on it. It's super easy to use and it's extremely fast out of the box, almost on par with C, only 5% slower at most!


2cdec5077b75a4ed13cf9a35c5a21791.png - 245.16 KB (640x360) SauceNAO

we make our own OS

>>

>>688 thank you

>>

here is a hello world kernel in zig (0.11.0) https://files.catbox.moe/7cokdu.gz (based on https://wiki.osdev.org/Bare_Bones) if don't know where to start from untar, compile and execute (qemu) with: tar -xzf 7cokdu.gz zig build-exe kmain.zig -target x86-freestanding --script linker.ld qemu-system-i386 -kernel kmain -display curses

>>
1723276908226629.gif - 2009.06 KB (640x482) SauceNAO

>>690 first thing to do os to programing the external device a computer can feature (cd, ram, usb, and other connections)

>>

>>691 >>690 no wait, I made a mistake. first thing is to do is to create a executable and handling of the programs

>>

>>692 nevermind, I don't know where to begin


1711142457283841.jpg - 30.81 KB (343x463) SauceNAO

what distro of linux is the best for a beginner in linux?

>>

>>661 >paragraphs such a waste of time how'd that guy do those shiny particles over his text???

>>

>>539 >what distro of linux is the best for a beginner in linux? all of them

>>
3b6e3feb712547053aa08df31efc97d03ba23814969190493ea38cb67a8708bc.png - 270.23 KB (480x270) SauceNAO

>>628 >Arch he actually uses systemd

>>

>>539 as many have already said, linux mint is what i recommend to any beginner. it is my favorite "just werks" distro. i use the default cinnamon DE version on laptop for college and it does me just fine. it functions similar to windows, is based on debian (and is therefore stable), and comes with all the bells and whistles a noob would want from a distro. most games work fine on linux now as well so if you're a gaymer you'll have no issues as installing steam is either one command in the terminal or a few clicks in the software manager.

>>

>>539 I am using gentoo although I wouldn't recommend it to a beginner. I suppose mint or ubuntu are the most user friendly distros out there.


DDAawJz.jpg - 544.66 KB (900x1000) SauceNAO

Is it possible the change the icons set for the peer flags in qbittorrent?

>>

>>472 qbittorrent is open source (you dont need to read the code though), find in what directory its looking for the icons and swap the picture out for something to your liking >I mean there are presets I saw somewhere sometime on the internetz You should be able to find that too unless they did some web-based bs, in that case there is a forum you can ask in: forum.qbittorrent.org


1708693968793707.jpg - 13.34 KB (409x395) SauceNAO

How did some of you learn to code? My attention span is literally worse than a toddler

Your fortune: Bad Luck

>>

>>427 By sitting down and coding. Learn by reading and doing

>>

>>427 I am having some of the same problems but am just trying to do projects on topics I am interested in. FOr instance I am making an IRC client in c++.



5cdd3b57deaefda25b9bf81ce9735cbd77c90705e4a5af2c9e7b16a22d44b444.jpg - 30.88 KB (825x800) SauceNAO

Do you still use CRT monitors? I do

>>

I have a couple in storage that were going to be thrown out. I've missed out on higher quality ones. My mother threw out our big CRT TV against my wishes. If you want a monitor with the CRT aesthetic, there's the Checkmate monitors.

>>

>>187 >My mother threw out our big CRT TV against my wishes. My dad did too Not too long ago, I saw one of our neighbors throw out their old CRT on their lawn so I took it

>>

>>113 1. High refresh rate (smoooooth ) 2. 4:3 (and other smaller aspect ratios) paired with the low resolution and that soft glow = cozy 3. Nostalgia

>>
a42d01915158f8c5e22646adac418fa596ce6bcd12777f9a88d9a081af39ab36.png - 259.78 KB (500x375) SauceNAO

>>103 I have a similar monitor plus an actual CRT for a 2 monitor setup

>>
1630251411194.png - 400.24 KB (587x484) SauceNAO

I've been using CRTs from 2020 till beginning of this year. If you use it too much, it can hurt your eyes, I've felt this. I usually use my computer for idk 15 hours/day, so this can be a pain in the ass. Now I'm using a LED 27'inch monitor with nice colors and it was the best thing I've done. I love CRTs and it's aesthetic, but I don't think it's suitable for me anymore. Here's one of my old photos using it.


c.jpg - 16.59 KB (474x545) SauceNAO

what programming languages does hikari use?

>>

>>422 zig

>>

>>422 Scheme

>>

HolyC

>>
730ccccf-40cf-4bc6-8c9b-9e04c3dfae97.jfif - 235.88 KB (1440x1800) SauceNAO

>>424 I want to learn Racket. It's sound so fun to craft your own meta-language I don't know what I'd use it for tho...


Delete post: [ File only ]