Christmas with fri/en/ds

/t/ - Technology

Welcome to the WIRED


Visit J-List - Your Favorite Online Shop and Friend in Japan
Get the Newest Figures from J-List - Your Favorite Online Shop and Friend in Japan

[]
05/21/24 Happy birthday hikari3! (News post)
12/21/23 Recent news post: Check here. Also, new board added: /i/ - Oekaki.
11/25/23 Accepting banner submissions; check this thread for more details.
11/17/23 New blotter! Use this to keep an eye for small updates.
[Show All]


Merry Christmas!


Css Pepsi 06/25/2024 (Tue) 20:03:10 No. 624 [Reply]
Hey, does anyone know how I can enter the closed shell system?
6 posts and 2 images omitted.
>>
>>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
>>
>>
>>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

(78.76 KB 384x241 1694738897401595.gif)
C Anonymous 08/16/2024 (Fri) 03:18:39 No. 711 [Reply]
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...
1 post omitted.
>>
>>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!

/t/ project Anonymous 08/24/2023 (Thu) 10:37:17 No. 138 [Reply]
we make our own OS
28 posts and 6 images omitted.
>>
>>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
>>
(1.96 MB 640x482 1723276908226629.gif)
>>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

(30.81 KB 343x463 1711142457283841.jpg)
linux distros for beginners Anonymous 05/05/2024 (Sun) 00:43:35 No. 539 [Reply]
what distro of linux is the best for a beginner in linux?
29 posts and 4 images omitted.
>>
>>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
>>
>>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.

Anonymous 10/21/2023 (Sat) 18:14:24 No. 231 [Reply]
What's your favorite programming language /t/?
43 posts and 18 images omitted.
>>
(53.27 KB 947x947 Lua_Logo.png)
Lua because it's really comfy It gives a developer lots of freedom to solve problems in a way that is suitable, with the features the problem needs and nothing more. My current long-term project is an RPG written in Love2D (which I adore for giving me a useful toolbox to make games quickly without tying me to a whole engine, though Tiled support sucks a bit), and I'd like to eventually use Lua to write 90% of the code for my dream game (a far larger RPG). There's a lot to critique with lua but the absolute freedom it gives me, along with the nice community and the fact it doesn't require much mental effort to work in makes it my favourite.
>>
>>666 something tells me i should not use Lua
>>
>uids 1 holy shit i have been samefagging all along
>>
>>665 >takes file pointer >uses imaginary filesystem argument with the pointer as an index what did this genius mean by that?
>>
>>666 I LOVE LUA
Edited last time by admin on 07/15/2024 (Mon) 02:23:37.

Anonymous 04/09/2024 (Tue) 01:30:38 No. 492 [Reply]
What's your text editor of choice? Vim for me
7 posts and 1 image omitted.
>>
>>527 Neovim is pretty fun to configure
>>
>>549 More like pain in the ass to configure
Your fortune: Average Luck
>>
(40.78 KB 480x530 erika-smug-creepy.jpeg)
https://vimuser.org/ https://www.emacsuser.org/ Just going to leave those here and let you use your judgement.
>>
Emacs syntax highlighting is as if it were not even there, it escapes me how you guys can navigate that in anything above 1000 lines. Macros are neigh indistinguishable from normal text.
>>
sublime text is awesome

(968.92 KB 1920x1200 1497735478567.png)
Gentoo Linux General Anonymous 03/18/2024 (Mon) 03:07:08 No. 449 [Reply]
Any Gentoo Friends on this board? If so tell me what you love or hate about it. What USE flags do you use? In the meanwhile I will post some of my favorite Gentoo Desktops!!
7 posts and 3 images omitted.
>>
(517.04 KB 2000x1300 owl.jpg)
>>458 Yes here you go anon
>>
(104.66 KB 800x1068 gentoo.jpg)
The only thing I hate is the slow emerge times , but it's because I have a shitty laptop Surprisingly this is the most stable I've felt using a linux distro
>>
You guys just made me interested in gentoo again. I used it for a couple years back when i was a noob and exploring. It was a bit difficult to set up then , over 10hrs of compilation. LOL this time it'll be much easier
>>
i love gentoo and i used it for years, but i got tired of having to compile everything, takes too damn long. i use debian now.
>>
>>507 we need more of this

(544.66 KB 900x1000 DDAawJz.jpg)
Anonymous 03/27/2024 (Wed) 00:30:14 No. 472 [Reply]
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

(37.56 KB 240x60 banner.gif)
Drust0!uezEqy.DqQ 12/09/2023 (Sat) 14:21:34 No. 317 [Reply]
inspired by: https://www.lainchan.org/%CE%A9/res/73638.html Let's make our own webring Hikari3! How to participate? Post the following: * Link to your homepage * 240x60 .gif banner for your webpage Each anon will can then advertise other anon's sites on their homepage with their banner and a clickable link! I will also keep a directory of everyone's link on my site: https://unreadable.info (picrelated is the banner btw)
3 posts and 1 image omitted.
>>
>>318 I have my own but I don't have a domain and it's not much of a webpage, I guess you could call it a very simple front-end for downloads.
>>
(7.41 KB 240x60 worldwidewar.gif)
https://worldwidewar.org/home added your banner to my page! hope more people join in
>>
>>361 Thank I just woke up and I'm renovating my site I will add it when I get back to my PC
>>
static site generator still needs some work, but its almost complete >>361 i have finally added your banner to my site :)
>>
>>361 Really nice website anon! Cool design!

(13.34 KB 409x395 1708693968793707.jpg)
How do you git gud? Anonymous 03/04/2024 (Mon) 12:24:36 No. 427 [Reply]
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++.


No.

Name

File

Embed

Subject

Size

Date

Replies