/tech/ - Tech


Mode: Thread

Max message length: 8192


Max file size: 80.00 MB

Max files: 5


(used to delete files and postings)


Remember to follow the rules

(1.70 MB 1525x2455 damaged6s.jpg)
Just rolled into the shop Comrade 02/05/2020 (Wed) 22:18:22 No. 249 [Reply] [Last]
The white glass is broken and the screen has moisture, is the whole thing destroyed? Otherwise perfectly functional (!). Client is a friend, apparently this happened before he could replace his damaged case. It's a gift so he can't afford to service it. I feel like the parts for this will either be chinkshit or more expensive than a decent Android with a free, open operating system for once. Any advice would be huge.
(1.01 MB 2583x1544 dmg2.jpg)
It looks like to me you are gonna need a whole new screen ribbon cables and all. Shouldn't be much like you said.

(29.70 KB 346x346 E-QEqMcs_400x400.jpg)
Bodhi vs Lubuntu? Comrade 02/01/2020 (Sat) 06:20:29 No. 267 [Reply] [Last]
I'm planning on switching from lubuntu to bodhi, however I need to know whether or not bodhi would work just as well as lubuntu for my system Specs: >CPU: Intel Atom CPU Z520 @ 1.333GHz >GPU: Poulsbo >RAM: 2gb It's a really shit acer netbook
2 posts omitted.
I only ever used Lubuntu for old computers and it works quite well (don't expect to be able to watch video on YouTube at more than 480p though). I've heard nice thing about Bhodi but never tried it.
>>270 >(don't expect to be able to watch video on YouTube at more than 480p though) That'd still be an issue of the hardware tho and not the OS (I've used Lubuntu playing HD clips fine on my laptops with 4GB of RAM).
>>270 I have shitty laptop too but minimal devuan with dwm helps alot
>>271 Yes I know, I was just saying that while Lubuntu can give an 10 years+ computer a new life, it can't do much about resource intensive websites like YouTube (there's always the great program YouTube-dl for that).
>>268 Because I'm buddhist

(12.42 KB 730x389 Kubernetes_New.png)
kubernetes Comrade 08/11/2019 (Sun) 05:35:58 No. 2530 [Reply] [Last]
can someone for the love of god explain to me what this thing actually does?
8 posts omitted.
>make every program live in its own folder, store all data and configs there <nah that's boring let's rather mix all programs' file together in a single hierarchy, first it'll require package managers to manage this mess, there will be hundreds of those, and most of them won't be compatible, and later we'll move on to distributing whole package-manager-produced "mixtures" of program files, and we'll call these mixtures "containers" and we'll also create container managers and yes we fucking will overcomplicate them too, and there will literally be jobs devoted entirely to configuring this garbage
>>2540 Containers also enforce process isolation. Yes, this is only necessary because the unix security model is shit and if there was a God GNU/HURD would have killed it in the 90s.
>>2540 fuuuuck. that, plus this insanity >>2536 Docker should've just been a way to configure linux builds, plus a way to vm it locally. What's the point of spinning up a machine only to spin a new machine inside it. Makes no sense. Kubernetes might be useful, but it seems like container software's fetish is BDSM, it likes to torture users with shit documentation, so I wouldn't fucking know. Talking about shit documentation, FUCK aws, especially all that terraforming bullshit. Mix it all together and you get a bullet to your brain. untyped dynamic made-in-two-weeks javascript using 3 libraries which somehow made your node_modules folder be 1.6GB non-deterministic npm builds because fuck you. good luck trying to debug why docker isn't caching your npm build and having to rebuild a huge dependency you don't even use (why does this accent parser library depend on ChartJS???). oof, then find through the billion articles how to deploy a container on aws. There must be a pre built solution or at least a good tutotial, right? no, fuck you. oh but now you need a worker (or you bought into the microservices bullshit). motherfucking good luck making your containers talk. how sure are you about your topology now? are they in the same server or are they in a LAN? how many servers are deployed at the moment? can you ssh in or retrieve logs somehow? fuck kubernetes, don't even want to know what it does.
>aws Don't use proprietary shit.

(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.


no cookies?