[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Subject
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]

[Catalog] [Archive]

File: 1763968550850276.jpg (82 KB, 750x1000)
82 KB
82 KB JPG
>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

Comment too long. Click here to view the full text.
141 replies and 19 images omitted. Click here to view.
>>
How to make emacs free memory properly? It starts with ~120mb. Over time as I open/close clients daemon can grow to over 1gb. garbage-collect does nothing, malloc-trim freed 500mb out of 1gb, but it's still more than 300mb of memory emacs using with absolutely no buffers open compared to what it started with. I don't even have that many packages installed. I tested it with emacs -q. It also doesn't free all memory if I open close bunch of clients.
>>
>>107820445
Doesn't daemon always keep the buffers and stuff open even if you close the clients? Have you tried quitting all buffers? I don't use daemon because I like separate instances but try that.
>>
>>107820453
I know about this, and I made sure to close all buffers.
>>
>>107820445
what does M-x memory-report say?
>>
File: file.png (265 KB, 384x978)
265 KB
265 KB PNG
>>107820541
I tried to look at it before already and It doesn't really show anything useful. In htop I see 500mb memory usage right now. And memory-report shows less than a 100mb of memory usage in total

File: file.png (494 KB, 1920x1080)
494 KB
494 KB PNG
This is a thread for all AI CLI related discussion

Claude Code: https://code.claude.com/docs/en/overview
Gemini CLI: https://geminicli.com/
OpenAI Codex: https://openai.com/codex/
OpenCode: https://opencode.ai/

New:
>Skills are now available in Gemini CLI in the preview branch: https://geminicli.com/docs/cli/skills/
>npm install -g @google/gemini-cli@preview

The CLI's are not just for code. They can just do things on your computer.
237 replies and 20 images omitted. Click here to view.
>>
>>107818225
Just use neovim
>>
>>107807451
>shatbots can't replicate my retarded use of new lines
>>
What’s your opinion on GLM 4.7?
>>
>>107821553
worse than sonnet 4 like the rest of these benchmaxxed chinese models
>>
>>107821608
It’s basically equivalent to Sonnet 4.5 but significantly cheaper. If GLM 5.0 is Opus 4.5 level that would be incredible.

File: 1764219032451205.png (355 KB, 1024x768)
355 KB
355 KB PNG
>user interface cleaner and more usable than literally any modern linux distro
Genuinely how is this possible?
45 replies and 8 images omitted. Click here to view.
>>
>>107817013
>"comfort is not necessary" way of thinking is inexplicable
It is very easy to understand when you realize that lots of Linux devs aren't making a product for a customer, or even for a user. Free / open source devs are often motivated by reasons such as implementing something they need to use themselves or just working on something because they find it enjoyable. These aren't the same incentives that a company making a product it wants to sell has, the guy making something for himself or doing it for fun doesn't have any customers for his work and doesn't have much of a reason to care about any users who get his work for free. After all, anyone who doesn't like it can contribute improvements and changes too, right?

Even the Linux projects that receive some sort of funding don't really make a product to sell in the same way MS used to make Windows.
>>
>>107816462
Do you remember boomers ?
The one you like to shit on constantly ?
Yeah those one, they did this.
While modern devs, zoomies and millennials can't code shit.
>>
>>107816462
its not just xp, its litterally any gui from the 90s to the 00s. ui got a downgrade to accomodate the masses.
>>
IMO the worst thing is they did 360 and walk away, they dropping flat design trend and come back to mac os X or windows 7 gui design and they do it worse than in 2010
>>
>>107816583
Is there anything left from "Metro" on Windows 11?

File: 1748226709858735.jpg (340 KB, 1560x716)
340 KB
340 KB JPG
63 replies and 48 images omitted. Click here to view.
>>
File: GEG.jpg (83 KB, 576x507)
83 KB
83 KB JPG
>>107820781
>wait no, that's the gay horse
>>
>>107820539
Lmao, absolute nutjob but shit got real at the end.
>>
>>107820670
Top kek
>>
File: am7zd2y_460s.jpg (31 KB, 460x345)
31 KB
31 KB JPG
>>
File: 1673441716228092.gif (49 KB, 300x250)
49 KB
49 KB GIF

They are coming back to the GUI of windows 7/mac os X era and it still look like shit, fucking how?!?!?
>>
Who is they?

File: 1763803860724790.jpg (118 KB, 680x850)
118 KB
118 KB JPG
XD
9 replies and 1 image omitted. Click here to view.
>>
File: 1740173450758389.webm (1.77 MB, 618x720)
1.77 MB
1.77 MB WEBM
>>107821606
i appreciate you posting this. it always snaps me out of mindless browsing for a few minutes, reminding me that i don't really care about these threads regardless of the topic. it really is just 'a twitter screencap thread'. i will be closing and disabling reply notifications for
>>
:DDDD
>>
PENIS
>>
>>107819936
OK THIS WINS THE INTERNET XD
>>
^^

File: 1738444375153980.jpg (1.09 MB, 2732x1950)
1.09 MB
1.09 MB JPG
i noticed, today, that there are currently 363 x86 syscalls listed in musl libc: https://git.musl-libc.org/cgit/musl/tree/arch/x86_64/bits/syscall.h.in

i thought that this would make for a really good "syscall of the day" discussion (nevermind the fact that it's already the 9th)
for today, in order to catch us up, as well as maybe foster a bit more discussion and interest, we'll actually start with 7 syscalls. these are:
#define __NR_read                 0
#define __NR_write 1
#define __NR_open 2
#define __NR_close 3
#define __NR_stat 4
#define __NR_fstat 5
#define __NR_lstat 6

luckily for us, these are all pretty similar, so it really works out quite nicely. these are your classic, day one syscalls that pretty much every programmer ought to know about, even if they don't care to delve too deeply into the internals of the system.

ITT, feel free to discuss these syscalls, syscalls in general, file io, and other related topics

Comment too long. Click here to view the full text.
33 replies and 4 images omitted. Click here to view.
>>
>>107817765
you could think about it the other way. Are there jobs where I get top play around with syscalls while making a 6-figure salary? Yeah, there's plenty of those.
>>
>>107821899
>I believe the real reason Win32 has this option in the first place is because in the underlying NT API, there is no syscall to "delete" a file. You just open it with DELETE access, and specify OBJ_DELETE_ON_CLOSE in the OBJECT_ATTRIBUTES structure, and then just close the handle. Then the file disappears.
Nevermind, I just hallucinated all that. Turns out I'm no better than a LLM. There is NtDeleteFile, I just didn't know about its existence until just now.
>>
>>107817765
if it's not your hobby, why do you still come here? I'm serious, I see people make similar posts on this board all the time about how they only do programming for work etc
why waste your time on a hobby board?
>>
>>107821899
it is nice that you don't have to worry about finding a valid new filename with this flag.
also it sucks in general that processes assume that files always have to be linked. I frequently delete the folder I have a shell opened in as cwd and a program I run fails in a perplexing way. for files it's less of a problem because I guess most programs get and keep the file path in a variable very early on.
>>107821309
only if it needs to be seekable. most unix programs seem to work with streams well, the bigger problem is the retarded ones where they parse the filename extension for its processing logic, which this wouldn't fix
>>
>>107821574
filepaths are useful because they let you define a variable length number of them as args whereas 6<file is limited by fd count. it's maybe less work done too if the files are lazily opened by the callee.

File: FzqVfDrXsAMNt1D.jpg (154 KB, 1080x1080)
154 KB
154 KB JPG
Why do trannies hate AI so much?
28 replies and 3 images omitted. Click here to view.
>>
>>107821145
>I hate it when it replaces people thinking critically
>Conveniently ignores the last 75 years of importing people from the third world to replace people who think critically
We already went down this road. AI changes nothing about critical thinking by replacing Paco's job with a robot.
>>
>>107821390
dude, I fapped to gay furry porn before trannies become mainstream, yes, gay artists are on pair with ai, and ai is often more polished, more detailed because computer is more precise and stuff, AND YES, trannies seethe because they can't draw
AI art>>>gay furry artists>>>>shit>>>>random newbie with passion>>>>>anti ai trannies and their actual SLOP
>>
>>107821858
Lmao, the "artists" are everything they accuse other people of.
>>
>>107821861
I am mainly concerned with diagnosis, treatment and prevention. Im not a councillor
>>
>>107821969
>diagnosis
>what's wrong buttercup? Feeling sad? Here's some drugs to make you feel better
LOL

File: whec2uf2uun81.jpg (82 KB, 600x524)
82 KB
82 KB JPG
I only see images of them, do people really take time of their day to make them? is there such a thing as a ""community"" or people applying them in real life?
Genuinely what the fuck is the point
>>
File: am7zd2y_460s.jpg (31 KB, 460x345)
31 KB
31 KB JPG
>>107821566

File: openbsd-plasma6.png (1.05 MB, 1920x1080)
1.05 MB
1.05 MB PNG
Ask your BSD-related questions here, discuss tips and tricks, share
scripts, and everything in between.

>Main operating systems
https://www.openbsd.org
https://www.freebsd.org
https://www.netbsd.org
https://www.dragonflybsd.org

>Updates and advisories
OpenBSD: https://www.undeadly.org
FreeBSD: https://www.freebsd.org/security/notices/
NetBSD https://www.netbsd.org/changes/
DragonFly BSD: https://www.dragonflydigest.com


Comment too long. Click here to view the full text.
9 replies omitted. Click here to view.
>>
>>107819173
>krashes edition
>>
File: nigger.png (393 KB, 1212x940)
393 KB
393 KB PNG
>>107819173
cuck license
>>
>>107819529
Took you too long
>>
Did anyone else install NetBSD this week?
>>
File: 929183.png (63 KB, 280x280)
63 KB
63 KB PNG
pufferfish wit da big ass lip

File: 1767948325742.jpg (216 KB, 1600x1586)
216 KB
216 KB JPG
Sir, another malware has been distributed through the AUR
>>
>>107821834
>Folks, we are doing everything we can to get this virus -- which came from IRAN by the way -- under control.
>Sleepy joe could never do what we're doing, people. His administration was a disaster. He was so soft on I-RAN. Could you imagine? Oh my god. Terrible.
>But now we're back, America is back.
>You know, they're saying it's the best virus response ever. The best.
>They've never seen anything like it. I-RAN will regret it. They're gonna regret it. Big time.

File: writing_direction@2x.jpg (119 KB, 800x230)
119 KB
119 KB JPG
Behold, Apple's legendary attention to detail
38 replies and 5 images omitted. Click here to view.
>>
File: 1767989712229838.gif (344 KB, 500x491)
344 KB
344 KB GIF
>>107812818
> you can't Apple
you can't Apple
> you can't Apple
you can't Apple
> you can't Apple
you can't Apple
>>
>>107811317
https://tonsky.me/blog/tahoe-icons/
> Apple releases macOS Tahoe. Main attraction? Adding unpleasant, distracting, illegible, messy, cluttered, confusing, frustrating icons (their words, not mine!) to every menu item:
>>
>>107813376
that looks like it has been indented for icons that are not appearing.
i looked at textedit and the same menu there doesn't have standard/from left to right/etc indented.
>>
>>107812100
yes, they are
>>
Works better than any troonix DE i've ever used by far.

Tinker trannies can stay mad

File: IMG_3337.png (420 KB, 1183x1144)
420 KB
420 KB PNG
Why not?
35 replies and 4 images omitted. Click here to view.
>>
>>107808988
no software
all unix-like programs are literally taken from linux
>>
it's not (re)written in holy rust
>>
>>107818687
OpenBSD rapes your drives with IO for no real reason
>>
>>107820779
> all unix-like programs are literally taken from linux

https://dspinellis.github.io/unix-v4man/v4man.pdf

NIGGER .. explain how next programs has been taken from Linux:

TCP/IP networking stack
vi / vim
shell
cron
ps, top, netstat, ifconfig
OpenSSH
grep, sed, awk
doas

Comment too long. Click here to view the full text.
>>
>>107808988
no games
>inb4 muh games
if it can't do something others can then it means it's not a valid alternative

File: pepe.gif (23 KB, 111x111)
23 KB
23 KB GIF
Linux fags BTFO
>Be me
>Play with the old macbook I got from sister
>It's iris pro 2015 model
>Install high sierra, mojave, catalina, big sur, monterey, ventura and sequoia
>not bad not bad
>Install big saar and set it up
>I have 50 apps I will use until EOL
>can upgrade anytime but big sur is still supported with most modern versions
>pirating on it doesn't require much effort comparing to windows and linux
>it just works
>everything set up, time for testing
>time machine backup done on my external drive
>windows 10 installed with bootcamp in 5 minutes
>mac extracted stuff from ISO and downloaded tools in the background before rebooting

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

File: Desktop.png (2.97 MB, 3840x1080)
2.97 MB
2.97 MB PNG
New Graphics Edition
Previous Thread: >>107724782
142 replies and 67 images omitted. Click here to view.
>>
>>107819338
There's always bad actors. Multiple benefactors come through here. Trannies want more suicide, China/Israel wants control over information, and trolls cause entropy. Nobody posts on the chans for the love of it anymore.
>>
>>107819838
>youre new to deb, right?
yes
>had any krashes yet?
now that you mention it, no. i used to krash a lot when on arch
i was thinking of switching to xfce sometime. i'll just go do that
>>
>>107817548
the paper is quite old so i doubt that
>>
Good evening gentlemen
>>
File: 1604445133323.jpg (24 KB, 640x483)
24 KB
24 KB JPG
>>107820093
i see now. the reason why i never gave x11 a chance was because of plasma
lagging in games, but it just werks


[Advertise on 4chan]

Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.