/tech/ - Tech


Mode: Thread

Max message length: 8192


Max file size: 20.00 MB

Max files: 3


(used to delete files and postings)


Remember to follow the rules

(55.49 KB 500x337 500px-JabberNetwork.svg.png)
XMPP Comrade 01/21/2020 (Tue) 18:00:40 No. 316 [Reply] [Last]
Comrades, I urge you to use and spread XMPP for messaging, wether it’s with your organisation or friends and family. There are many servers you can use at no cost, but installing und operating an own server is really easy for everyone with just a little bit of linux experience. What are the pros of using XMPP, especially when using your own server? •A couple of options for strong end2end encryption, to make sure neither the server operator nor the glowies can read your messages •It’s harder to gather metadata of your communication in a federated network •There are clients for most of the platforms, and even webclients. Most of them respect your privacy and freedom •When your server has the right extension modules, modern messaging features like sending files (including images and voice recordings), push messages, group chats (both anonymously or private), synchronization between your different clients/devices and much more are possible While really clandestine communication shouldn’t happen even in the near of a internet device like a smartphone, it is important to make it as hard as possible for the glowies to gather information about with who or at which times you communicate. The spreading of XMPP can be an important step in doing so.
6 posts omitted.
>>322 CLI based?
>>317 Mainly because of bloat, but that is just a matter of taste. Luckily, there is no need to decide ultimately, both are good software and bridgeable: https://gitlab.com/uhoreg/matrix-appservice-prosody
>>323 There's matrixcli and weechat-matrix
>>325 Though I would advise usage of the 'Riot' client, as that is the most up-to-date as of now.

Lets Make a Imageboard - /hobby/ edition Anonymous Comrade 10/31/2019 (Thu) 22:28:28 No. 2315 [Reply] [Last]
With the official locking of >>>/tech/ I'm moving my development log thread here. Feel free to ask questions, make comments, or pass on your suggestions. Much of the template is now complete, the CSS is responsive, usable on every browser that has rem support, and only 3815 bytes. There is still some work to be done which I'll mention in a reply following this. As it stands the plan is to start programming the back-end in OCaml this Monday leaving the finishing touches in the front-end for a later date.

front-end principles
The site should be minimalist. Adding elements unnecessarily makes everything more difficult to implement for and slower.

The site should be responsive. I don't own a device with a touchscreen, but they are omnipresent, and there is no reason that you shouldn't be able to use a website with your touchscreen device well.

The site should be compatible. I'd like to see support for more or less every desktop platform since ~2000 (this is easily done with MyPal PaleMoon, and TenFourFox) and more or less every "smart device" ever.

Text formatting should be subtle and compose as expected. There should be nothing that would feel be out of place in a book or article.

Web-fonts should not be used. Web-fonts don't improve the usability of the site but increase bandwidth usage and hinder performance for users.

JavaScript should only be used for progressive enhancements and as much of the site as possible should work without it. A Complete list of features which will require JavaScript are: automatic copying of text into the reply form, automatic refreshing of the page along with title notifications, and moving the second reply form.
134 posts and 23 images omitted.
OP is trying to make a new imageboard sowftware, If you want to make oneyourself, try using LynxChan
It's amusing to me that the formatting on this site managed to become even more broken, and that this somehow managed to effect posts already stored in the database; this thread is hideous now. Anyway I made a good bit more progress on this project but decided to abandon it. My justification was that while the left needs to establish new hegemonic institutions, of which social-media is probably the strongest modern example, these institutions are worthless unless you're willing to use the power these institutions hold to enforce your will, and I simply don't have the time to realistically do this. Another issue is that the internet probably reflecting modern cultural trends (as promoted by the bourgeoisie) is hedonist and obsessed with the spectacle (not to mention least common denominator politics like social democracy), these cultural traits would be very difficult to overcome, and require rules that would be especially costly to enforce. For now I'm going to be focusing on improving my skills, I've recently been studying GADTs, existential types, type-level programming, eta-reduction and all sorts of interesting things in addition to my standard mathematics studies, hopefully my improved skills will be useful to us in the future. In any case, I will likely stop posting on this forum or any other forum, and it's fair to assume that any posts from this point on anywhere on the internet are not me. I wish you all the best, good bye. >>2449 >hey I haven't read the thread, but, how hard is it? It's a pretty simple web application, not particularly difficult so long as you don't obsesses over the details (which I tend to do). I'd only ever made two static sites before this and I was still able to make CSS that was superior to any imageboard I was able to find, and the backend was very clean if incomplete despite my programming experience having nothing to do with the internet. >>2450 >OP is trying to make a new imageboard sowftware, If you want to make one yourself, try using LynxChan. Just to be clear using LynxChan isn't creating a new image-board engine, which was my intent.
>>2451 Sad to hear that, good luck on your next projects anon tho >Just to be clear using LynxChan isn't creating a new image-board engine, which was my intent. Oh yeah I know, I was just telling him to use it if he wants to make a new imageboard
feature request make threads look good in firefox's reader mode
>>2453 lol nvm just saw this wasn't happening anymore RIP

(362.24 KB 536x774 Selection_255.png)
filter me 10/29/2019 (Tue) 16:47:19 No. 2260 [Reply] [Last]
Oh, so /tech/ stopped existing.
Wallpaper/desktop thread?
>tfw you're not a cop raping delinquent teenagers
Jahy-sama wa Kujikenai!

clojure Comrade 08/06/2019 (Tue) 04:54:14 No. 2638 [Reply] [Last]
what does bunkerchan think of clojure?

its a lisp that actually works for web dev and other SW dev in the modern day.

41 posts and 3 images omitted.
I actually know a bit of Clojure, and the backstory. I agree with what you mention about the persistent data-structures and concurrency being built-in rather than in libraries is a advantage, all be it a rather minor one to me. I disagree with the idea that Common Lisp having Lists makes it slow, in practice Common Lisp programmers use whatever data-structures are most performant for their applications, including using mutability to increase performance when applicable. Also it's possible that Clojure is simpler than Common Lisp, but it's not simpler than Scheme. You can (and I have) literally read the Scheme specification in a few hours, and understand the guarantees and primitives of the whole language across implementations. Trading the Common Lisp ecosystem for Java's might be advantageous depending on the application though.
>You can (and I have) literally read the Scheme specification in a few hours

including all the SRFI? If your argument is that you can write a basic lisp interpreter as a side project or for a class then yes scheme is simpler but in addition to the SRFI to make scheme usable you have things like for example in Racket Scheme which have to implement lots of additional stuff to make scheme into a practically usable language (for web dev).

Scheme is like the C of lisps
Common Lisp is like the C++ of lisps
Clojure is like the Java of lisps

If you had to choose for example an embedded language for scripting a video game, scheme or lua might be good.

I probably wouldn't use scheme for doing modern web dev, because there are myriad of toy implementations. When you try to sell jim the JS developer on lisp, hes gonna flip his shit when he can't find the GraphQL library

>in practice Common Lisp programmers use whatever data-structures are most performant for their applications

sure but all good programmers choose whatever data structures are the most performant for their task. Its not just about what a language allows but what it steers average coders into in. rockstars can write good code in any language

>using mutability to increase performance when applicable.

theres a lot of strategies that let you rewrite functional code into mutable efficient code under the hood and most functional languages use these

Common lisp is a more complete overall language (other than concurrency) and Scheme is easier to understand, but as far as tooling, practicality, ease of use, and popularity Clojure definitely wins hands down. Other than emacs lisp Clojure probably has the most lines of code written of any of the lisps today.
>The SRFI to make scheme usable you have things like for example in Racket Scheme which have to implement lots of additional stuff to make scheme into a practically usable language (for web dev).
The SRFI's are just libraries, Racket isn't a Scheme anymore, and really the only extensions you need to RnRS to have a language quite capable of web development is POSIX support, threads, and probably a FFI. Many Scheme implementations have these things. Regarding Libraries you should look at Chicken Scheme: http://eggs.call-cc.org/5/#lang-exts https://github.com/lassik/graphql-chicken Not that this isn't all besides the point because your claim was that Scheme was more complex than Clojure which is simply not true.

>Its not just about what a language allows but what it steers average coders into in. rockstars can write good code in any language
I don't think as a programmer you should care about how a language steers average developers. Ease of doing something does matter, and you're going to have a slight cost by going into quicklisp and installing a library for some of the things Clojure has built in but it's not significant. Regardless the average Common Lisp programmer cares a great deal about performance, and they tend to write very fast applications.

>theres a lot of strategies that let you rewrite functional code into mutable efficient code under the hood and most functional languages use these
I don't think this is true, you can do this if you have Linear/Quantitative types but otherwise you're going to be giving up any concurrency guarantees you have, if you do this behind the back of the programmer (which is sort of the main point of writing in a functional style at this point).

>Common lisp is a more complete overall language (other than concurrency) and Scheme is easier to understand, but as far as tooling, practicality, ease of use, and popularity Clojure definitely wins hands down.
I think this is probably a fair assessment so long as you recognize that Clojure has these advantages only for a single problem domain. It has better tooling, practicality, and ease of use for web development and nothing else. Additionally I don't think the advantages it has in this department are that significant.
(82.73 KB 1280x719 rh.jpg)

RH'S epic talk on clojure vs common lisp (2 parts)

>Common Lisp btfo
Not really, it was mostly just a overview, and as I said I already knew a good bit of Clojure. Pretty much all his arguments are rendered null by (ql:quickload "fset") or are insignificant to the point of not mattering. Porky likes JVM is another part of his reasoning. Some of the abstractions mentioned are cool, but don't really matter, it's basically just sugar. Not particularly interesting to me. I can't be bothered to watch the second video provided. Anyway I'm getting pretty bored talking about this, I feel I've made a quite solid case, so I'll probably stop now.

(94.89 KB 500x645 cockshottvulture3.jpg)
Relational/SQL vs NoSQL Comrade 08/13/2019 (Tue) 03:02:44 No. 2593 [Reply] [Last]
what is the advantages of nosql over traditional dbs?

why did programmers from 2006->2015ish all start writing and useing their own databases. whats the point?

people say oh its faster for the programmer because they dont have to write a schema but literally the only thing to change a schema is an alter table statement anyway which takes 30 seconds
8 posts omitted.
(131.70 KB 1280x720 topology.jpg)
mongoError: Topology was destroyed
there's no need to ACID, transactions, or rollbacks, i said, laughing.


databases like postgres have literal decades of engineering behind them making them rock solid. it even have json store if you want
(537.89 KB 708x708 abadi.png)
Any thoughts on Daniel Abadi and his DB work?
>Daniel Abadi
never heard of him
GAVIN-MENDEL GLEASON is a tech guy and marxist affiliated with Cockshott whos making a graph database

(55.16 KB 1024x930 Guix_logo.svg.png)
GNU Guix Comrade 09/28/2019 (Sat) 10:55:08 No. 2607 [Reply] [Last]
Is Guix the operating system of the future?
21 posts and 3 images omitted.
(65.25 KB 374x212 vibe.png)
There are lots of "OS of the future"
Guix is great, though I could never get it to play nice with Doom Emacs, which was a dealbreaker at the time (I'm not using Doom Emacs anymore, but as far as I can tell the only way to maintain config for your software like this is to build it as a Guix package, which I just don't have the time or energy for). I ran it for a couple of months on my hobby laptop, though I got tired of the build-times for some packages when substitutes weren't available (especially non-free Linux kernels, which I would leave running overnight and sometimes come back to the kernel still being built in the morning).

I do think though that declarative operating systems are the future, because the implications are amazing for deployment of many machines, as well as maintaining your own workstation - you make some configuration change to a particular service in your OS declaration, build and switch to that OS you've declared, and if you fucked up you rollback.

What really excites me is that Guix is just the package manager - even though we call the distribution based on on this package manager `Guix System', in reality every system configuration for Guix is its own distribution of GNU/Linux. Some future non-Guix project could `downstream' Guix by way of providing some standard distributions (read: `operating-system' configuration files with useful collections of packages, services, configuration, etc.) users could make use of, adding new channels with non-free software that users could opt-in to if they have e.g. a wifi card with non-free drivers, and providing some helpful configuration tools, e.g. for setting up and maintaining profiles, which don't require you to be pretty well versed in Scheme to have a working, maintainable distribution. Maybe this project could maintain build servers for the more popular software which isn't available in the standard Guix build repositories. We could have all sorts of Linux distributions which are built on the Guix package manager, and switching between these distributions would just be a matter of running `guix system reconfigure'.

I think the possibilities here are incredible, and I'm pretty excited for it - for now though I've got Slackware on my laptop, so I can keep my distance from systemd while having a distribution that gives me most of what I could possibly need from a system out of the box.
Sounds pretty cool, now I need to find an excuse to try it!
(441.68 KB 400x425 1417750820580-1.gif)
Just finished writing my first package and it compiles!!

(27.41 KB 796x398 XXIQIeg-796x398.jpg)
gaming on linux Comrade 09/30/2019 (Mon) 03:07:32 No. 2132 [Reply] [Last]
do you guys think gaming on linux is picking up steam in 2019?

- Steam games on linux/SteamOS: more native titles than ever and protondb making wine setup and config a one click thing.
- Windows 7 support ending, windows 10 sucks donkey balls (Cortana, offline account option now removed as well)
- Intel, AMD graphics drivers at near parity, Nvidia catching up
- Google making a game streaming service (Stadia) means they obviously plan to port games to linux, it can't work without it
- Vulkan API is going to replace both legacy OpenGL and Direct3D (easier to port, even more cross platform engines as well)
- Lutris > playonlinux, making installing top titles extremely easy.

What do you think guys, is 2020 the YEAR OF THE LINUX GAMING DESKTOP?
15 posts and 1 image omitted.
Nerd. Now I sage.

No. As long there is windows, linux will never be a viable option
In my experience about 50% of games work without issue via Wine or Proton. I still dual boot Windows but using it less and less.
they usually have 0.1+ms extra lag that makes it uncompetitive for serious players, especially in time sensitive genres like FPS
Fight imperialism, reminder to install non-proprietary software.

(94.89 KB 500x645 cockshottvulture3.jpg)
Federated Discord Anonymous Comrade 10/27/2019 (Sun) 13:39:20 No. 2634 [Reply] [Last]
Have you heard of Riot.im?


its a federated discord alternative.
hm, interesting, do you know if it has active servers?
It predates Discord. I use it every day.
I'd use it if all my friends and family would switch from discord.

Comrade 09/02/2019 (Mon) 23:10:12 No. 3336 [Reply] [Last]
This thread is about creating software to help workers organize.
As per >>602 and >>>/leftypol/51843
Current idea is to make software to organize unions, whatever that might be.
12 posts omitted.
this could be a good idea for the IWW.
email to them, explain the idea, maybe they can give you some money to start the project.
You can set the country you want the news from at the bottom. You can put a map under it if that's what you want. For example, here's Switzerland:
They even have RSS so you have less scraping to do:
There's really nothing stopping OP from doing what she wants other than being a useless ideaguy who's too lazy to do any research themselves. They had the perfect resource available to them but they chose to ignore it. I say they can go and fuck themselves.
(18.03 KB 276x241 1389820828797.jpg)
>anon posts question/suggestion
>make passive aggressive insults without explaining why
>anon asks why
>"go fuck yourself"
If you actually think this matters and is a good answer, why are you bothered by someone bringing it up again so that other people could see the site?
If you're satisfied with labourstart good for you. This is a discussion board. This thread is for talking about developing tools to help organize labor. I bumped this thread because after the merge I wanted more people to see it. I included a post from /leftypol/ because I thought it might be useful for discussion to keep the topic going. Why are you here?
(470.48 KB 736x658 how_stupid!_lol.png)
>I bumped the thread to advertise my idea but ignored the obvious solution to it because I am too lazy to actually do anything about it
I bumped the thread to bump the thread, but I figured if I added something besides "bump" it would be more likely to get replies. I guess I was right, but not how I expected.

(176.19 KB 400x267 1557932957929.gif)
What are you working on? Comrade 10/16/2019 (Wed) 03:13:47 No. 2580 [Reply] [Last]
This is the type of thread that you can write in every time you visit the site! You can do anything from use this as a personal log for your project, to sharing what you're hacking on at the moment, to critique something some else did in the thread, or request help with a bug you're struggling with. I'm looking forward to hearing what you guys are up to!
7 posts omitted.
>So what I'll try next is to use xf86drm.h and xf86drmMode.h
Looks like I'm going to have a very busy weekend, so I likely won't be able to try this until the start of next week.
I made a bit of progress on this project. I've got a working OpenGL ES2 context using libdrm, and I've rendered a blue screen to it. The program is mostly copied from various tutorials all be it with some stylistic changes and offensive programming. I've found a few blogs and some official documentation which should let me improve on it more. I plan on doing some literate programming to improve my own comprehension. Do any of you have any suggested tools for this? I've found noweb and CWEB, but I've also seen a number of modern takes on the idea in my brief search.

Also I wrote a little partially broken responsive menu for a imageboard over at >>953, it's been awhile since I've written any CSS.
I forgot to post a update yesterday, I made a little progress with my literate programing venture using noweb, and wrote a "Red Yotsuba" theme for the imageboard menu I made the other day just cause.
(201.48 KB 498x272 tenor.gif)
reading capital. writing a script for a friends short film. learning GURPS. but mostly just working. feeling lonely and aimless but ive been worse. just trying to not get caught in the feeling that everything's going to inevitably spiral cause that ends up being a self fulfilling prophecy more often than not.
oh, this must have been merged from /tech/, i thought it was a general hobby project thread


no cookies?