[ prog / sol / mona ]

prog


 

linux distros

1 2023-01-13 20:58

what you use?
i use artix

265

66 2024-04-12 09:22

On my desktop, I use Arch Linux mostly because I'm too lazy to install Gentoo or Artix Linux. On my laptop, I use Void Linux, and on my old potato laptop I use Alpine Linux. I can recommend all of these distros I mentioned. My parents run Xubuntu LTS and they don't have any problems with it (the HP printer works after I installed hplip (without the hplip GUI!!), cups, printer-driver-all and simple-scanner). They mostly use Firefox, though.

67 2024-04-24 15:30

i was using funtoo for a bit, then gentoo, and i've finally settled on slackware as my linux of choice. i've used a lot of distros and after enough time you realize there is no fucking difference between distros aside from packages
as for bsd i use freebsd since it works nicely with intel wifi cards, netbsd's installer became retarded or i'm using the wrong livecd, openbsd wiped my hard drive with no y/n prompt

68 2024-05-01 13:58

A y/n prompt is superfluios and annoying. Why would you boot an installer image other than to whipe your harddrive and install the OS?

69 2024-05-01 16:44

>>68
i duel boot, so i was going for a partition install

70 2024-05-01 20:59

Duel booting is a crazy hack. People should normalize using kexec.

71


VIP:

do not edit these



 

New imageboard...?

1 2024-04-10 05:25

I made an imageboard because I was bored and thought it would be fun, but I don't know where to share it. I was thinking about sharing here, but I don't know if that's lame or if anyone from here would use it.

223

24 2024-04-28 03:42

Textboards have the important value of being extremely simple and easy to use in low-power shitass machines. But unlike something like vichan someone can't just roll up, upload gigabytes of shit or even worse, gigabytes of illegal shit.
Hope you figure out how to run SBBS. afaik Scheme is available on even the oldest of linux distros so it shouldn't be any harder than setting up vichan.

25 2024-04-29 18:23

>>24

Honestly yeah, I originally *was* going to setup a textboard, but just don't have enough experience to use Scheme dangerously. Plus again, it was just a way to teach me PHP and this and that. It is more than likely that it will turn into a textboard eventually

26 2024-05-01 16:47

>>24
i prefer imageboards, but i get your point about textboards over imageboards. thinking about once i finish sicp and scheme forking sbbs and modifying it into an imageboard. feels like an easy project

27 2024-05-01 19:10 *

There's no way I'd run my own image board in any country where you can be liabale for images your users post. I'm pretty sure most US image boards are run by intelligence agencies for this reason.

28 2024-05-02 05:44 *

>>27
I never really considered this. That actually sounds horrible. For that reason, I will now be speed reading sicp and running SBBS now. Jokes aside, I really do want to use SBBS, but I'm too retarded. I tried to get it running a few days ago and it wasn't working right

29


VIP:

do not edit these



 

Guix

1 2019-05-02 17:37

Rejoice, Guix v1.0.0 has finally been officially released!
https://www.gnu.org/software/guix/blog/2019/gnu-guix-1.0.0-released/

I've been using this as my primary OS for 2-3 years now and cannot recommend it highly enough - Best thing that's ever happened to my computing life.

Now we're just waiting on GNUnet and Hurd ( ._.)

2100

101 2024-04-27 22:28 *

>>100
nice no true scotsman
sorry i dont do programming as a job so im not inclined to use inferior software
anyone in their right mind wouldnt be in (((it))) with the masses choices
besides i can only use guix on the gnu operating system not a problem once you understand what that means but those pushing guix as anything else need to be publicly put on display

102 2024-04-30 14:48

>>101
Eh. It's not hard to impress other people in IT right now. You can work from home, do maybe two hours of "work" a day, and get paid six figs for it. The hard part is keeping yourself mentally comfortable living the lie enough that you care to show up. That's actually shockingly hard in my experience.

I'm a little confused about why you think the New Jersy approach to software implies a lack of determinism. Panicking after a failed assertion seems like a cheap strategy to achive that IMO.

103 2024-04-30 23:58 *

>>102
no shame or wrath huh
the price of being cheap needs to be paid at some point
theres not a lack but a high interest rate that gets paid in nonsolutions decades later at best

104 2024-05-01 14:39

>>103
Sure, that's a problem for the shareholders though, I'll be gone in three years tops just like the last company.

105 2024-05-01 21:54 *

>>104
i meant for software in general and those nonsolutions are still being implemented to this day
if you or anyone else wishes to jew corporations for shekels with known broken solutions thats not my problem

106


VIP:

do not edit these



 

قلب programming language

1 2024-04-21 02:46

Ive found an interesting programming language called قلب, which is a scheme-like language written in Arabic. What do you think of it?

214

15 2024-04-30 16:50

>>14
… are you seriously this dumb:
https://worldpopulationreview.com/country-rankings/manufacturing-by-country
https://www.statista.com/chart/20858/top-10-countries-by-share-of-global-manufacturing-output/
https://worldfuturefund.org/charts/China/chinawealth.html
etc.

16 2024-04-30 23:53 *

proud to be a chinese jew ramming chinkonse cunny in australia mate

17 2024-05-01 09:32

>>15
China's foundation as a society is built on sand and is sinking further as time goes by. China's demographics are projected to plummet in the next few decades just like the rest of the world. Unlike the rest of the world, China's foundation is based upon the wizardary of communism, and they're working hard to conjure communist magic to prop up their future.

18 2024-05-01 09:34

>>11
TSMC isn't strictly necessary. It's perfectly feasible for US companies to replicate TSMC functionality in America, but not quite operating at TSMC prices.

19 2024-05-01 12:15

>>17
Every nation that isn't populated entirely by rapy retards is demographically fucked because we were stupid enough to accept feminism.

20


VIP:

do not edit these



 

Autistic Funny Shit

1 2024-04-25 08:32

"The core game loop might look like this (code examples in Perl)"

"Step by step, the Rust programming language is moving deeper into the Linux kernel."

"Systemd, in turn, links to liblzma, and this allows xz Utils to exert control over sshd."

23

4 2024-04-25 12:59 *

>>2
so socioautism?

5 2024-04-26 22:05

to begin installation first run ./configure

6 2024-04-29 07:43

"By working on the Sokoban game, its engine, and Jai at the same time, Blow is able to test the language's design and adjust it early in its lifetime.[67]"

7 2024-04-29 13:27

What's wrong with that?

8 2024-04-30 01:44

https://dev.to/ovid/the-unknown-design-pattern-1l64
The core game loop might look like this (code examples in Perl)

lolwut?

9


VIP:

do not edit these



 

What shell do you use?

1 2021-10-12 12:07

I am thinking of using Dash because it is less bloated than other shells in the Bourne shell family (e.g. Bash and zsh).

231

32 2024-04-20 20:36

I used ash and ksh both for a while but quite honestly bash isn't that bad and everyone else uses it.

It's really what you want in a shell after you fix the stupid way it handles history.

33 2024-04-23 14:26
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>

int main()
{
        char buffer[512];
        while (1) {
                printf("$ ");
                fgets(buffer, 512, stdin);
                *strchr(buffer, '\n') = '\0';
                char *token[16] = { 0 };
                token[0] = strtok(buffer, " ");
                for (int i = 1; token[i] = strtok(NULL, " "); ++i);
                pid_t pid = fork();
                if (pid)
                        waitpid(pid, &pid, WUNTRACED);
                else
                        execvp(token[0], token);
        }
        return 0;
}

you "need" more?

34 2024-04-23 22:22 *

>>33

(loop (print (eval (read))))

you ``NEED'' more??

35 2024-04-24 14:03

>>34

* (define-macro (sh . rest) `(system* ,@(map symbol->string rest)))
* (sh ls -lh)
drwxr-xr-x 2 cudder cudder 4.0K Apr 14 12:53 bin
drwxr-xr-x 2 cudder cudder 4.0K Apr 14 13:28 src
0

i need more

36 2024-04-24 15:22

at the moment csh since it's default on freebsd (which i'm daily driving right now), bash usually on linux, though i'm also using csh on slackware.

37


VIP:

do not edit these



 

Started learning Swift

1 2024-01-16 17:45

What am I in for?

Also, /Swift general/

Resources:
https://cs193p.sites.stanford.edu/2023
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/

213

14 2024-02-22 15:02

>>13

Oh Common Lisp is okay too :)

15 2024-02-26 19:37

>>13
Nothing.

16 2024-03-25 07:33

ITODDLERS BTFO

17 2024-04-20 15:43

>>13
Scheme is better.

18 2024-04-21 17:56

Scheme is the best!

19


VIP:

do not edit these



 

Pretend Lisp didnt exist

1 2024-04-05 20:16

If lisp never existed, what language do you think SICP would've used?

217

18 2024-04-11 03:43 *

>>17
thanks god vary cool but you used perl for 99% of everything

19 2024-04-12 01:17

>>18
It's the 1% that counts

20 2024-04-12 01:28 *

>>19
the chosen i presume

21 2024-04-18 06:14

combinatory logic? knuths' assembly?

I think lisp was used because of how directly shows the concept of a state machine which is one of the pillars of modern computing, also makes understanding nesting easy and the extensibility/meta programming aspect

any language that can pull that in a simple to visualize manner fits the bill imho, I could be wrong

22 2024-04-19 03:24 *

>>21
I think it can be summed up in that very few languages can be described as homoiconic, and even fewer of those are truly so in the sense that Lisp is. It's not enough that programs be manipulable as data, but for it to be possible for the program to encode it's own understanding of itself in a simple manner, syntax be damned. Given how far this plays into the whole metaprogramming aspect, I would have to agree with what >>2,14 had to say in that any hypothetical language that shares enough qualities with Lisp in that it achieves these properties is essentially Lisp.

23


VIP:

do not edit these



 

Wrote an imageboard engine in Go

1 2024-03-08 10:15

https://gitgud.io/nvtelen/ogai/

I took a bit of inspiration from SchemeBBS in terms of layout and post formatting.

212

13 2024-03-18 15:29

>>10
Chin nanochong nip nong <( ̄︶ ̄)>

14 2024-03-20 15:19

>ogai
>gai

lmao

15 2024-03-22 12:08

névtelen

16 2024-04-10 22:17

Interesting! (´・ω・`)

17 2024-04-17 22:10

hi

18


VIP:

do not edit these



 

cddr

1 2024-04-14 16:06

Do schemers really?

27

8 2024-04-15 19:29 *

>>6
this is also what scheme vectors are but the standard pushes implementations to optimize vectors here
sure they can skit but its less likely to optimize `(caddr x)`

>​7

dimwit cnile says terse is good because their execution environment cant handle more
midwit lipth commoner says terse is bad because modern machines can already handle the sideeffects of worse is better
ivywit schemer says terse is good because it keeps design proper and allows ease of generating strict proofs while they still use a lisp machine like environment to program in their own scheme >>5
and you decided to use a lisp machine like environment thats the worst lisp as an example of a proper editor

9 2024-04-16 21:21 *

>>7,8
I'd agree that making third generic for both vectors and lists is a good idea, while making caddr the same would be stupid.
Terseness is only good up to the point where it remains obvious what something is, and I think lispers/schemers understand this well. I don't think C programmers have a right to engage in a terseness debate when any given C program of around 200 lines could be written in less than 20 lines of Lisp or Scheme with actual semantics. We can hang our hats once an APL programmer shows up.

10 2024-04-17 01:55 *

>>9
can you tersely define for a standard how this third generic gets optimized at a lower and more abstract level where having vectors and improper lists defined is moot
otherwise it doesnt belong in the standard and its something you can already do with scheme
i agree the standard has too many vector bits scheme isnt a shining example of terseness but it departs greatly from the common lipth goop slide into a sink
im waiting for another apl programmer to make an argument but since you understand proper etiquette here
scheme allows some or all if you wish imo macros just fit the case forms of apls shortening while most lipth implementations omit even supporting λ by default
sure you can argue about unicode but some modern apl doesnt
and i will say both of these arent real arguments you can even use a emacs mode for translating long goop into terse symbols locally

Terseness is only good up to the point where it remains obvious what something is

isnt the extreme what cniles broken vocabulary believes terseness is
incomphrenciable goop isnt terseness the word implies theres still a concisely defined subject
Of speech or style: brief, concise, to the point.
Synonyms: concise, succinct
even better it comes from a latin word tersus
clean, neat, rubbed or wiped (off), cleansed, having been cleansed
pure, correct, nice, terse, spruce, neat
is errccwrkprtpwo() any of those you already know the answer
now i will say r7rs-tiny has-a-few-goop-procedures but some of them are justified
call/cc this is cnile i need to know cc means current continuation and / with by looking at it first glance not because i have background information from studying call/cc
instead the emacs mode is justified here as the local programmer i know what symbols i consider equivalent to call-with-current-continuation
sure another solution is a proper (help) but this is something that should already be there especially for standard procedures and now when someone else goes to read it they have to manually look up call/cc
it can be acceptable when the concept needs paragraphs to describe to someone with baseline knowledge in that case call/cc should scream / is with and cc is current continuation but there is no consistent nomenclature where / acts as a combination in r7rs-tiny unlike -> which is even strictly defined to return another type of object
the nice thing about apl is once you understand the graphemes enough and the bases they form things like quadwords its universality accepted how those symbols get used so you arent writing split-at-obtuse-point-five because there is no need and it removes the broken need for verbosity in procedure names
i recommend a glossary using logical graphemes that works with proper lisp environments over split-at-vector-point-five that way someone reading can just hover or something else configured and see the verbose procedure name until they inherit the personal nomenclature the author has for symbols

11 2024-04-17 17:32

My issue is that it is backwards, I know that's how it is when you write things out, but I like piping better.

12 2024-04-17 22:59 *

elaborate upon this http://snow-fort.org/s/fisher.cx/robert/fisherro/pipe/1.0.0/index.html for your preferences relevance

13


VIP:

do not edit these



New Thread





do not edit these