[ Home / * / RSS ] [ b / c / g / lit / guestbook ] [ k / a / min / t / m ] [ Deepswarm / Services ] [ Search / Rules / Mod ]

/g/ - Technology

"The version with Linux, we call “GNU/Linux.” It is OK to call it “GNU” when you want to be really short, but it is better to call it “GNU/Linux” so as to give Torvalds some credit."
Name (Name could be empty, then a random name will be used from a pool.)
Options(sage: append your comment to a thread without bumping it; noko: after commenting, make your url stay inside the thread.)
Subject
Comment
File
Ext: jpg|jpeg|png|txt|conf|org|md|pdf|epub, Media:mp3|flac|webm; Max Size: 12M (Sum of all files);
Embed

Markup Guide

  • heading: use ## as 2nd heading and ### as 3rd.
  • inline code, use `
  • strong text, use **
  • italic text, use * or _ (single underscore)
  • slash the text, use ~~
  • underline the text, use __, enclosing text in double underscores.
  • Make hyperlink, directly paste url or use markdown syntax: [Link name](the url)
  • Goth the text, use [[ and ]]; Garamond the text, use (( and ))
  • Spolier the text, use ==; Make the text glowing, use ::
  • Make Kiketext, use ((( and )))
  • link inline meme/smiley, use double plus signs ++http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/css/e/b0.webp++
  • code block, use ```:

    ```
    // comment
    some code
    ```

  • A place for testing markup: /test. I'll clean test threads from time to time, so use it when you're not sure.
  • Use >>NUM (double) to make reference in-board,
  • use >>>/SLUG/NUM (triple) to reference any post of any board.

    File: 1748621807749.png (8.99 KB, 300x300,logo.huge.png)

     No.76[Reply]

    These days I was mainly occupied with creating this simple bookmark manager, named it with "hadeswark" to give more feelings. The code is obviously messy, but I'm not going to waste any more time to re-arrange or de-bloat. The next focus is mainly on improving the functionality and running speed of export-as-shared-bookmarks, and will keep it lean.
    - https://git.deep-swarm.xyz/coldxenine/hadeswark

    And this is the place where I put shared bookmarks: http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/bookmarks/

    By using action export-as-html, you would get a no css club's vibe: http://pure.dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/bookmarks/
    3 posts omitted. Click reply to view.

     No.80

    Considering Goethean & other stuffs, I'm opposing two tendencies:
    1. extremely "offline" and isolated (in the ideal sense, since actually to speak of the program-computing level it's always offline - mere plain files), autisticaly keep something, and express in a cryptic way.
    2. completely unselectively sharing anything like some soulseek-manias (and much of it is not cleanly separated from private preferences, or private habits such as messy unreadable nonsensical folder names)

    Seriously speaking I'm more disgusted by the second case.

     No.81

    Instead of riding the tiger, it's more practical to consume (eat) the tiger, in this sense what Stirner, Steirner, Evola, and Juenger etc. hold has no conflicts, when we are merely facing actual life.
    >“I have to succeed in treating my work as a game that I both watch and play…. It presumes that one can scrutinize oneself as from a certain distance like a chess figure – in a word, that one sees historical classification as more important than personal classification. This may sound exacting; but it used to be required of any soldier. The special trait making me an anarch is that I live in a world which I ‘ultimately’ do not take seriously. This increases my freedom; I serve as a temporary volunteer.”
    >“Working somewhere is unavoidable; in this respect, I behave like a condottiere, who makes his energy available at a given moment, but, in his heart of hearts, remains uncommitted. Furthermore, as here in the night bar, work is a part of my studies – the practical part."
    >Eumeswil

     No.82

    When I secretly wanted to license it with "BY-SA-NC 4.0" I stopped for a couple of seconds then made it under "GPLv3" since the action of allow "commercial use" is really nobler - which is exactly GPL/FLOSS's focus.
    And it was the first time I use GPLv3.

     No.84

    >>77
    I think it was really a bad idea to put one entry in one line. But currently to fix this need big change and amount of time.

     No.93

    Use LLM to advance I-a and here is new I-b: https://git.deep-swarm.xyz/coldxenine/hadeswark

    Good features to ensure seamlessly bookmarks export:
    - Enhanced image caching for fast exports
    - Smart image handling: only shows images for bookmarks that have them
    - Tracks failed image and URL fetches to avoid repeated attempts
    - Custom header support for easy website integration

    Next version I'm going to replace fixed-width formatting with pipe separators “|”.

    ☕ Enjoy.



    Bookmarks: http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/bookmarks/
    Pure bookmarks: http://pure.dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/bookmarks/



    File: 1748673109650.jpg (31.18 KB, 200x251,ovid.jpg)

     No.85[Reply]

    >Prisca Iuvent Alios: Ego Me Nunc Denique Natum
    >Gratulor: Haec Aetas Moribus Apta Meis.
    >(let Others Love the Past; Born Yesterday, I’m Glad!
    >These Times Are Best—the Best I’ve Ever Had. )
    >
    >Ovid, Ars Amatoria III. 121-122.

    Here I list some newly-established freely available services, resources that deepswarm can currently provide: http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/posts/publicly-available.html
    Request via listed methods: http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/contact/


    File: 1748620920155.jpg (3.88 KB, 128x128,slsk_bird.jpg)

     No.74[Reply]

    Soulseek, an ad-free, spyware free, just plain free file sharing network.
    From now on, I'll share some amusing observations when using Soulseek.

     No.75

    1. Jordi Savall
    2. Riccardo Minasi
    These two conductors’ releases are downloaded at least once (in 4-5 downloads) per day.



     No.71[Reply]

    how do i get out of debt /srs

     No.72

    >>71
    So what’s the point of posting it here…



    File: 1712737818228.png (12.08 KB, 200x204,vichan-200.png)

     No.5[Reply]

    View phpinfo(); in moderator dashboard
    1. In /inc/config.php:
    $config['file_mod_php_info'] = 'mod/php_info.html';
    $config['mod']['view_php_info'] = MOD;
    2. Define a function in /inc/mod/pages.php:
    function mod_php_info() {
    	global $config;
    	if (!hasPermission($config['mod']['view_php_info']))
    		error($config['error']['noaccess']);
    	// get content
        ob_start();
        phpinfo();
        $php_info_content = ob_get_clean();
        mod_page(_('PHP info'), $config['file_mod_php_info'], array('php_info_content' => $php_info_content));
    }
    Here the mod page titled PHP info is built (together with stylesheets, boardlist & footer, like every other mod pages), and variable php_info_content is constructed by array, this variable will be used in html files, to call out the whole php info table. So in the file
    /mod/php_info.html

    we only need to write:
    {{php_info_content}}
    Note that mod_page should have 3 args.
    9 posts and 2 image replies omitted. Click reply to view.

     No.15

    >>11
    js/quick-reply.js     | 260 +++++++++++++++++++++++--------------------------------------------------------------------------
    Perfect.

     No.16

    >>14
    I guess no one really want to modify jquery, which is a framework similar to mathjax (and take a look at tex-chtml.js), so using the minified version, around 85kb, is certainly better than using the full one, around 250kb (if I remember correctly).

     No.18

    >>16
    Yay, it makes sense if the size is greatly reduced.

     No.68


    In your origin server A
    Generates the sql file: mysqldump -u vichan -p vichan_db > vichan.sql, then transfer vichan.sql to the target server B.

    Server B
    follow the installation process at https://comfy.guide/server/vichan/ then after "installation complete",

    mysql -u vichan -p
    [ENTER YOUR PASSWORD] then you enter the mysql prompt
    
    use vichan_db;
    DROP TABLE posts_b;
    SOURCE /path/to/vichan.sql;
    exit


    Copy /img /src /thumb folders from server A to server B
    assume the structure of your /var/www folder of server B is:
    - "chan.deep-swarm.xyz" (server B files)
    - "dschandata" (copied from server A)
    - "html" (other softwares)

    manually
    cd /var/www
    cp -r dschandata/a/{img,src,thumb} chan.deep-swarm.xyz/a
    cp -r dschandata/b/{img,src,thumb} chan.deep-swarm.xyz/b
    cp -r dschandata/c/{img,src,thumb} chan.deep-swarm.xyz/c
    ...


    script
    OR directly use a script (before doing this click every boards in the mod.php page to make sure have generated folder-files of new boards):
    Post too long. Click here to view the full text.

     No.70

    >>68
    Yeah when I did it I just rsynced the whole folder. Also if you use mysqldump –all-databases it automatically dumps all users and tables. As I can remember the only thing you need to do further is to flush privileges. I found mysql much easier than postgresql when it comes to stuff like this.



    File: 1737709507494.png (20.54 KB, 310x66,server-04.png)

     No.66[Reply]

    Everything about hosting!

    delete your vultr accounts buy cheap vps
    delete your vultr accounts buy cheap vps
    delete your vultr accounts buy cheap vps

    cheap hosting and storage:
    - https://buyvm.net/ and https://frantech.ca/ (i'm gonna use this for a while)
    - https://datalix.eu/ (Germany)
    - https://hostup.se/ (Sweden)
    - https://racknerdtracker.com

    not that cheap:
    - https://www.mythic-beasts.com/ (UK) (their bandwidth price seems not cheap compared to buyvm)

    Post too long. Click here to view the full text.

     No.67

    I am moving many services to a new Luxembourg server: http://dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/services/
    Use these addresses for CHAN in the new server:
    - http://chann.deep-swarm.xyz/ (temporary opened for stable use)
    - http://chan.dswarmsikhttkg7jgsoyfiqpj3ighupfrvuz5ri3lu5q2dlqyrpgk7ad.onion/ (permanent)

    I'm configuring new storage space for the Luxembourg server, so /share would be down for several days.

    Report bugs via email (xenine at disr.it) or replying this post.

     No.69

    File: 1737968523987.png (4.67 KB, 176x98,imageMagick.png)

    Goodbye Vultr.



    File: 1714902479939.png (276.24 KB, 708x997,cover.png)

     No.30[Reply]

    The dream of serious self-publishing finally came true 🤡, see the result attached (some of the front cover design TeX code was derived from typesetting - itinerariummentis.org.
    I think the poems reprint should also be presented as such a pdf output for better reading experience. Going to finish typesetting multiple books and then release them together.
    5 posts and 3 image replies omitted. Click reply to view.

     No.39

    design is pretty good, how to download this poem book?

     No.40

    I decide to release these books together, so when all of these are finished, there would be a page for free downloading.

     No.63

    File: 1736872650591-0.png (1.18 MB, 1421x1009,project_avalanche_1.png)

    File: 1736872650591-1.png (930.3 KB, 1419x1008,project_avalanche_2.png)

    For I've been free from academic works for 2 days, I started to tinker more with the TeX again. It's really made me cringe to gradually realize how ugly my old typesetted pdfs are. Same feeling again. But up to now, this pdf looks pretty decent: https://deep-swarm.xyz/share/projects/Avalanche.poem.pdf

    It looks both hilarious and subliminal.

     No.64

    File: 1737029664555.png (302.04 KB, 526x752,imageMagick.png)

    >>30
    It's good and easy to make a publish pipeline, so a low-effort pdf could be easily rendered as this luxury kind

    I'm struggling about the copyright stuff since it's cringe to pirating them in such a "beautiful" way… https://deep-swarm.xyz/share/projects/Sion.essays.pdf

     No.65

    >>31
    Then you know how to insert some bloated images so you never able to come back to that proto-naivity



    File: 1725422930264.jpg (17.12 KB, 500x189,acoustics.cleaned.jpg)

     No.55[Reply]

    Merely theoritical learning. I am now trying to move from DSP to traditional acoustics, alhough I've completely forgotten what DSP is.

    Acoustics
    - Loudspeaker and Headphone Handbook, John Borwick
    - Handbook for Sound Engineers, Glen Ballou
    - Sound Reproduction, Floyd E. Toole

    DSP
    - Introduction to Digital Signal Processing, Tae Hong Park
    - SEGDSP, Steven W. Smith
    - The Mathematics of Signal Processing, S. B. Damelin, H. Guo & W. Miller
    - Musical Signal Processing, Curtis Roads
    - Digital Filter Design Solutions, Jolyon M. De Freitas
    - Julius O. Smith
    - Mathematics of the Discrete Fourier Transform (DFT)
    - Introduction to Digital Filters
    - Physical Audio Signal Processing
    - Spectral Audio Signal Processing

     No.62




    File: 1731149914659.png (11.08 KB, 272x102,imageMagick.png)

     No.56[Reply]

    New instance: https://videos.deep-swarm.xyz/ (may shut down in several days until I find a cheaper VPS provider) I've shut it down.

    Followed Denshi's https://comfy.guide/server/peertube/ (2021).

    some notes for a freshly installed Debian 11:
    apt install -y curl sudo unzip vim ffmpeg postgresql postgresql-contrib g++ make redis-server git cron wget certbot python3-certbot-nginx
    - when modified config/production.yml remember to manually generate secrets for the first time run peertube, by runing openssl rand -hex 32, then filling line16:
    # Secrets you need to generate the first time you run PeerTube
    secrets:
      # Generate one using `openssl rand -hex 32`
      peertube: ''
    - systemctl restart nginx after activating new peertube nginx config, in the guide Denshi forgot to mention this.

    Hardware requirements
    In their official site:
    - 1 vCore
    - 1.5 GB of RAM
    - Enough storage for videos
    - 20Mbit/s upload network speed
    - Enough bandwidth to broadcast videos
    From what I observed, peertube.service hinged mostly upon RAM, and my 8192MB RAM + 1vCPU is decent for this small video site. Try a 2GB RAM machine for a few days then you would have your conclusion.

     No.61

    >>56
    My first attempt was to use a 4096MB RAM vultr machine (which also hosts this chan and some docker containers), but it failed. Normally for this machine only about 1/4 of the memory is used (without peertube). So clearly the remaining 3GB is not enough for a peertube instance. I recommend to use a >4GB machine to be on the safe side. See peertube suck how much of your memory, then if there is still space, just install more FOSS software.



    File: 1731159519574.png (3.67 KB, 250x250,txtdot.png)

     No.58[Reply]

    >Making the internet readable again
    >TxtDot
    Looks like typical small software but this requires npm pnpm nodejs or docker. The official installation guide is useless and outdated. I tried to not use docker at first place but the bloatness of npm and nodejs family really disgusted me.

    New instance: http://txtdot.deep-swarm.xyz/

     No.59

    File: 1731165584009.png (170.26 KB, 1204x939,imageMagick.png)

    Parsing: https://rsarchive.org/Books/GA006/English/APC1928/
    - Result
    - Onion

    Parsing normal wp article:
    - Result

    For web.archive.org:
    - Result

    But I found it may block tor ips: 403 Forbidden and show 404 for above links. Nope it was just caused by my bad nginx config.

     No.60

    >>59
    My config. Remember to set limit:
    limit_req_zone $binary_remote_addr zone=txtdotapi:10m rate=2r/s;
    server {
            server_name txtdot.deep-swarm.xyz ;
    
            location / {
                limit_req zone=txtdotapi burst=4;
                proxy_pass http://127.0.0.1:8070;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
            }
    
    
        listen [::]:443 ssl http2; # managed by Certbot
        listen 443 ssl http2; # managed by Certbot
        ssl_certificate /etc/letsencrypt/live/txtdot.deep-swarm.xyz/fullchain.pem; # managed by Certbot
        ssl_certificate_key /etc/letsencrypt/live/txtdot.deep-swarm.xyz/privkey.pem; # managed by Certbot
        include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    
    }
    
    server {
        if ($host = txtdot.deep-swarm.xyz) {
            return 301 https://$host$request_uri;
        } # managed by Certbot
    
            server_name txtdot.deep-swarm.xyz ;
            listen 80;
            listen [::]:80;
            return 404; # managed by Certbot
    
    }
    
    server {
        if ($host = txtdot.deep-swarm.xyz) {
            return 301 https://$host$request_uri;
        } # managed by Certbot
    
            server_name txtdot.deep-swarm.xyz ;
            listen 80;
    
            location / {
                limit_req zone=txtdotapi burst=4;
                proxy_pass http://127.0.0.1:8070;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
            }
    
            server_name txtdot.deep-swarm.xyz txtdot.dschanlrufh4hvwygr65e7sathicyp5fce4ypuzizath36372ag6jxyd.onion ;
            listen 4447;
            listen [::]:4447;
    
    }

    Change the proxy_pass port to what you specify on your docker-compose.yml, this line:
    8087:8080
    And 4447 is tor port configured on /etc/tor/torrc:
    Post too long. Click here to view the full text.



    Previous [1] [2]
    | Catalog