[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: 1740201892575669.png (631 KB, 1393x921)
631 KB
631 KB PNG
previous: >>107860495

#define __NR_brk                12


now THIS is a strange syscall. it's always a good sign when the notes section advises you not to use a function, lol. if you haven't read any of the other man pages yet, go read this one: https://man7.org/linux/man-pages/man2/brk.2.html
>the actual Linux system call returns the new program break on success.
>On failure, the system call returns the current break.
such a bizarre api. there's lots of bookkeeping and hoops required if you dare to use this syscall for your allocator. but it's pretty neat to use in toy examples. it requires a very nonstandard approach

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/

Comment too long. Click here to view the full text.
55 replies and 4 images omitted. Click here to view.
>>
>>107886060
It's assembly man, you can easily do the instruction encoding by hand with a hex editor, it's just a pain in the ass. Or it would be trivial to write a script to convert it to GAS or NASM syntax but no one actually gives a shit about bootstrapping.
I do regret using Rust but it was kind of a historical thing and I don't like any of the other low-level languages.
>>
>>107886350
Why mention it at all then, Rajesh?
>>
neat


#include <stdio.h>
#include <stdlib.h>
#include <linux/prctl.h>
#include <sys/prctl.h>
#include <string.h>
#include <linux/seccomp.h>

int main(void){
char *c = malloc(1024);
printf("%d", (prctl(PR_GET_SECCOMP)));
if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT) < 0)
perror("didn't work lol");


Comment too long. Click here to view the full text.
>>
>>107886472
Because when normal people talk about bootstrapping they don't mean the whole Trusting Trust bit, they mean "how do I get an executable" and knowing what you need for that is obviously useful.
I can probably remove it from the main page but that was largely copied from the first release announcement.
>Rajesh
Do you seriously think jeets are writing real programs in RiscV assembly or Rust? Get real.
>>
>>107885420
in high memory.
> ebp = 0x00000000
> esp = 0xff96f380
it wouldn't make much sense for stack to be PROT_NONE. so i'm not sure what would occupy this region. the only strange thing about my program that could explain this behavior, is that it's a flat ELF binary produced by flatassembler. there is one program header (one RWX segment), but no section headers. maybe when brk(2) says "uninitialized data segment", it really means some specific section. but that doesn't make much sense to me.

File: 1767606785888.jpg (146 KB, 912x671)
146 KB
146 KB JPG
Everything is already from china, but here we discuss the cheap chinese shit you see on various sites.
1st rule of /csg/: If it looks too good to be true, it probably is.

Useful links
>TWS IEM reviews: www.scarbir.com/
>Guide: csg-guide.neocities.org/
>Wiki: https://igwiki.lyci.de/wiki/Chink_Shit_General

>What headphones/earbuds should I buy?
>>>/g/iemg
>I want a cheap smartphone what should I buy?
>>>/g/spg/
>I want to buy some sort of emulation device
>>>/vr/hhg/


Comment too long. Click here to view the full text.
55 replies and 13 images omitted. Click here to view.
>>
>The microphone beamforming saga continues.
Of course they want me to say it's not their fault, again.
>>
>>107887667
I actually have an rsp1 clone, and sure the extra bandwidth and resolution are nice, but other than that I don't see it being THAT much better. Might because it's a simple RTL-sized dongle with a input filter section with bunch of switches to choose the band, there could possibly be some losses in there. Also the software hurdles suck.
>>
>>107887781
From my experience with Ali sellers, they'll probably refund you properly if you do that - this roundabout way of going about it is to save their store's reputation, which is more valuable than refunding some single item.
>>
>>107887784
Now that I'm over the software hurdles and found a task for it (SDR++ server running at a remote site where I wouldn't dare to leave my Airspy HF+) I'm happy with it. The major difference between it and the RTLs/Airspy I own is that I need to constantly adjust the LNA and IF gain. The upside there is that it's a lot less prone to getting overloaded. But in some bands, say for instance the 2m ham band, the AGC is basically worthless and I'm constantly fucking with the gain and squelch. If it's not all manually set it just takes one strong transmission on that band and the noise floor is completely reset meaning whatever I'm listening to will be messed up. It's miles ahead of the RTL-SDRs for FM radio though which is my main interest.
>>
>>107885770
if you get one put a piece of aluminium foil on it to check that actually works, look for a video, is very obvious
and never start it empty

File: inside-the-linux-kernel.png (937 KB, 1772x1786)
937 KB
937 KB PNG
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Check the Wikis (most troubleshoots work for all distros):
https://wiki.debian.org
https://wiki.alpinelinux.org
https://wiki.archlinux.org
https://wiki.gentoo.org

>Which distro should I choose?
https://www.gnu.org/distros/free-distros.html
https://nosystemd.org
>What are some cool programs?
https://suckless.org

Comment too long. Click here to view the full text.
135 replies and 14 images omitted. Click here to view.
>>
>>107887780
Fuck off back to pleddit
4chan really did die during December
And these time wasting captchas...
>>107887770
>use pygame to create a transparent window and load in an image
>use win32api to set window properties to click through, always on top
Like I said earlier I don't know what linux equivalent of w32api is but it'll not be a problem.
>>
>>107887700
and again nevermind, it doesn't work correctly.
they all grab inputs.
tried the hyprshade option, but it doesn't allow for textures.
>>
File: void-xfce420-491673078.jpg (85 KB, 1600x900)
85 KB
85 KB JPG
Let me guess, you need more?
>>
do you know a posture app anon? I realized all my back pain is from slouching. Mind blowing how much relief I'm getting from sitting properly, really...
>>
>>107887960
>do you know a posture app anon?
Yeah it's called the gym

File: Image flow_2026.jpg (666 KB, 768x1365)
666 KB
666 KB JPG
Shot Edition
Previous Thread: >>107845785

>Links:
>DALL-E 3
https://www.bing.com/images/create
https://designer.microsoft.com/image-creator
>4o
https://chatgpt.com/
https://sora.chatgpt.com
https://copilot.microsoft.com/
>Imagen 4 and Nano Banana (Pro)
https://gemini.google.com/app
https://labs.google/fx/tools/image-fx
https://labs.google/fx/tools/whisk

Comment too long. Click here to view the full text.
36 replies and 27 images omitted. Click here to view.
>>
can anon rank the common models based on quality?
I've been out of loop for so long. I've heard nano banana pro is the best now, right?
>>
Did someone say hand cannon?
>>
File: 1746742781330921.png (2.44 MB, 1144x2048)
2.44 MB
2.44 MB PNG
>>107886726
Nano Banana Pro, yes
>>
>>107886726
Depends on what you're trying to make. There's online charts that rank based on "accuracy" and "efficiency". You're just probably best off trying the newest of the big models between OpenAI, Google, MS, and MJ. That means Google's Nano Banana Pro, atm.

Don't get too attached, though. Results can be so varied that definitive rankings are useless, imo. Some models can handle multiple complex prompts within the same gen. Some can recreate art styles better than others. Some can understand negative prompts. Some are intensely user-unfriendly but when mastered produce high-quality results, and some are normie-tier accessible. Throw in censorship/copyright restrictions changing weekly, model decay, poisoned training sources, etc... nothing is stable.
>>
>>107885893
guess I was on a spotty VPN server (had it at random, recently rebooted PC, monthly), it's "something went wrong"ing me without having used it in hours then worked when changed

File: 1745798115945820.png (182 KB, 600x600)
182 KB
182 KB PNG
Bad to the bone edition

How to request advice:
>Budget
>Intended use (media, source, environment)
>Frequency response preference and music examples
>Past gear and your thoughts on them

FAQ:
>Where do I buy IEMs?
Amazon, Aliexpress, Linsoul, Hifigo, Shenzhenaudio

>Shopping Guide (IEMs, PMPs, Cables, Ear Tips, etc.):
https://rentry.org/consoomer_guide


Comment too long. Click here to view the full text.
10 replies and 2 images omitted. Click here to view.
>>
File: 1766725564629116.jpg (25 KB, 554x554)
25 KB
25 KB JPG
>Cope: The Post
>>
File: mgafkylu60td1.jpg (76 KB, 1080x1070)
76 KB
76 KB JPG
my new strat meta is milking the kikeslave cope for (You)s since I exhausted the last one for like 15 threads
>>
God, I wish I was a girl so badly.
>>
>>107887940
The beatings will continue until you learn how to use peak filters.
>>
>>107887807
Comfort. Waifu techs. Backup when your main pair inevitably breaks.

File: 3212128def8ae854.jpg (117 KB, 1280x850)
117 KB
117 KB JPG
Gen Xer talk.

Cassette players - which ones are your favorite?
FIIO CP13 seems to be pretty neat, with it's early-to mid eighties aesthetics and has even metal housing. Too bad it only has rechargeable non-removable lithium battery, thus making it essentially disposable item. :(
Otherwise you can even adjust Azimuth of the head and even playback speed.
It would be nice to revitalize my cassette collection again.
4 replies omitted. Click here to view.
>>
>>107887371
>FIIO CP13
These are shit. Every modern cassette player is shit, and there's nothing the manufacturers can do about it unless they make their own mechanism, which none do. The only remaining mechanism being produced is a low quality one with bad wow and flutter, bad build quality, and none of the "fancy" features decks had grown back in the day like auto reverse. Modern cassette players also never have support for type II or IV tapes or Dolby NR.

You're better off getting an 80s-90s Sony Walkman that's already had the belt replaced if you don't want to bother doing it yourself.
>>
>>107887408
>>107887451
you two are right but there is one (albeit minor) difference between a $15 and a $150 one, i believe the fiio uses metal pieces (maybe the flywheel? im not well versed on cassette player mechanisms) instead of plastic ones. it's honestly a fucking joke though, probably a few cents more.
also why did they go for an internal battery? my retekess MP3 player just uses nokia-style ones you can swap out and recharge.
>>
>>107887371
>aesthetics
Zoomer detected.
>>
>>107887371
>cassette players
>>
File: IMG_20260101_053711_385.jpg (1.82 MB, 2448x2448)
1.82 MB
1.82 MB JPG
>>107887371
Whatever I can get on Facebook marketplace

File: 1751529586514.png (541 KB, 763x581)
541 KB
541 KB PNG
What browser should I use?
43 replies and 13 images omitted. Click here to view.
>>
>>107882882
>everything except firefox is a chromium reskin
grim
>>
File: 1768635892224.jpg (77 KB, 371x474)
77 KB
77 KB JPG
>>107883035
Brave has a unique logo.
>>
>>107882921
What happened to arkenfox?
>>
I like Zen but I don't know. Fuck around with some and see what you like. I can only recommend Zen if you don't mind that it's based on Firefox and want the best vertical tab experience for a Firefox-based browser.
>>
>>107886269
That's an iToddler hobby project

File: dk-7.jpg (423 KB, 2560x1440)
423 KB
423 KB JPG
+84 TKL edition

Previous: >>107816178

>Keyboard recommendation template:
https://pastebin.com/n220xk9V

>Find vendors
https://www.alexotos.com/keyboard-vendor-list // Up-to-date list of reputable vendors with brief descriptions
https://keycaplendar.firebaseapp.com // Tracker for current and upcoming keycap group buys

>This keyboard stuff is so expensive!
https://aliexpress.com (or Taobao if you know how)

>Learn about MX-type switches ("mechanical keyboard switches")

Comment too long. Click here to view the full text.
111 replies and 26 images omitted. Click here to view.
>>
>>107886881
it can be fun to just place a gasket mount pcb/plate assembly on various objects/surfaces around your house and see which ones sound best. I have some thick woven placemats that sound pretty good under a pcb
>>
>>107887239
MX Blacks feel good with heavy springs and lots of lube
helps with the stem wobble and all
gotta get your G on
>>
File: 1748986926929799.gif (582 KB, 350x280)
582 KB
582 KB GIF
I have a clone of GMK DMG coming from Aliexpress. I'm knocking around whether or not to buy the real set in the future since it's apparently still available.
>>
>>107887760
Clones feel horrible next to the real thing, so get the real thing or avoid clones entirely.
>>
Seriously, once you stop coping with Cherry and get real switches, you know what you were missing the fuck out on.
Get your G on but don't fucking use wobbleshit Cherries.
Get yourself a nice long pole from Geon's store.

File: AIlmao.png (35 KB, 586x379)
35 KB
35 KB PNG
If this ain't a bubble indicator then I don't know what will be
21 replies and 1 image omitted. Click here to view.
>>
>>107886633
I wonder what sort of personalised ads were useful to "Sam"? Duct tape, ice pick, mask and a van?
>>
>>107887545
What do you mean? They could fragment the internet to only countrywide with tightly controlled border ports, and you'd still adapt. You don't need LLM's.
>>
File: unnamed(10).png (171 KB, 524x662)
171 KB
171 KB PNG
>>107886633
Lmao
>>
>>107887574
Perfect. Now it just needs "I found this ad for you -- hope it helps!" instead of the pulsing "...".
>>
File: 1747457987697285.png (192 KB, 504x382)
192 KB
192 KB PNG
It's not going to be a bubble in the way troons are hoping. The government has decided that AI is a matter of national security so it's simply not going to be allowed to bankrupt or fail.

If it does pop it will be in the same way car manufacturers in the early days popped. Where something like 90% of the companies went under or were absorbed by larger ones, but the technology itself still dominates the world.

File: mentalyakuboutlaw.png (418 KB, 540x658)
418 KB
418 KB PNG
tldr post ultra light software you use.

Excluding nonminmalist software here's my setup

Feh for Image viewing
mpv for video/audio
zathura for pdfs
xterm auto launching with htop or btop for task manager
xterm auto launching with nnn and or fzf for searching music, documents and videos
a bunch of custom wrappers in local bin calling mv, cp, ln, gio trash, ls, fd, rg, nnn, fish and unar for finding and sorting and archiving files in the cli
and micro, less, mdless and more from opening files in the cli
xpat2 and xsol for solitare also a few terminal games like vitris and moon buggy


and just found last night a feature rich code editor 'xnedit" that only uses 4.5mb-5mb of RAM. I'm planning on writing a new GIMP/GEGL plugin with it to replace Geany which is 25mb of rAM.

Comment too long. Click here to view the full text.
5 replies and 2 images omitted. Click here to view.
>>
I do not prefer light software, but large featureful software
>>
File: islandtrumpprobably.png (549 KB, 1326x796)
549 KB
549 KB PNG
>>107887035
Good question. let me check my stash

rg "cp" ~/.local/bin/


I have a wrapper named "makegeglplugin" that auto runs
cp -ri ~/gegl_assistance/new_plugin/ ~/DevelopingGEGL/Final_Filters_here/`

so I can make a new blank plugin instantly from a template

and "sendgeglcode"
cp -r $(find . -name '*.so') ~/.local/share/gegl-0.4/plug-ins/

so I can find all gegl plugin binaries and point them in the folder they belong, no -i so I can auto overwrite.

I also have a command I haven't used in years that I made back in early 2023 that gets REMBG to run from Nomacs


Comment too long. Click here to view the full text.
>>
Mental yakub Outlaw is going to be so proud. 4.5mb of RAM softtware can make GIMP plugins. It just sucks I can't skip to compile errors like I can in Geany

I compiled it a while ago but I spent hour tweaking it.
>>
>>107887953
beaver go to bed!
>>
File: pipes_2026.png (551 KB, 1686x753)
551 KB
551 KB PNG
second plugin of 2026 (150 something total) and first plugin ever coded on potato software.

File: 1767924533564861.jpg (48 KB, 680x547)
48 KB
48 KB JPG
Previous: >>107847595
230 replies and 53 images omitted. Click here to view.
>>
tfw no twg bf
>>
>>107887798
sex with chooms
>>
File: sexysnakes2.jpg (632 KB, 1280x1804)
632 KB
632 KB JPG
>bike to work
>had to resist the "A Song of Ice and Tires" pun/joke ever time there has been snow

>know I morally cannot do it anyway because my shit-ass vehicle develops actually less torque than a genuine cyclist
>>
File: hesoyam.jpg (103 KB, 640x613)
103 KB
103 KB JPG
I got it! I know what I miss now!

Back there, I was a dedicated mercenary! It's cringe, but hear me out. They pay me to show up, but also I didn't like how things were done, and I was willing to make suggestions. On both ends, things are silly, and there's willingness to play about. Even if I don't push extra buttons on it or --god forbid-- implement extra buttons or redefine existing buttons, there's potential to. It's a mercenary effort. I was (and am) paid to fulfill a pretty arbitrary, high-level objective. It's frustrating, but it's frustrating because some understandable high-level objective doesn't work out despite our best efforts. There was some objective somewhere.


Now, I just have a job. They pay me to do a specific task. Or set of tasks, rather. There's specific engineering documents, the system is as-designed and as-delivered, there's not much room to maneuver. I just push buttons on it. I am not paid to make something work or not work. I am paid to push the button. That makes it less satisfying. At the end of the day there, if things don't work in a bigger way for the client, all I can do is go "well, it's as designed." As long as it turns on and shuts off properly, that's the end of my responsibility.
>>
>>107883636
Got my shit together 2 years ago and about to join the dev team, but I also wasn't doing nothing during my NEET years, I also was Shizo-coding.

File: 1767004794694373.png (1.65 MB, 1920x804)
1.65 MB
1.65 MB PNG
I use QubesOS with detached boot partition on 2 duplicated USB drives with any data that rests on the SSD/HDDs being encrypted with LUKS2. Whonix gateway is proxied through a VPN qube to hide Tor IPs (can't hide communication patterns) without bridges since bridge IPs can be farmed. Sometimes I2P outproxy through Tor through a VPN or similar setups with different anonymizing network overlays. Clients used for browsing are only opened in ephemeral disposable qubes whose one-time random 256-bit encyption keys reside on a tmpfs, with no unencrypted access to a permanent storage; or in entirely on-RAM disposable qubes to hide storage device wear statistics and other side channels. Attack surface is quite minimum since no extra things added like USB keyboard and no PV qubes (aside from sys-usb and sys-net) are used for launching HVM qubes with qemu stub domains unless very necessary and every other qube on the system gets shut down first to keep information leakage minimum. A veracrypt volume with hidden storage on a permanent qube for data storage and plausible deniability. Screws are painted with nail polish to ensure physical tamper evidence.

what's your setup like?
1 reply omitted. Click here to view.
>>
>lust provoking image
>>
organic thread, bro
>>
>>107883710
you trust systemd?
also datamining thread
>>
>>107883710
>Screws are painted with nail polish to ensure physical tamper evidence.
why don't you just install an airbag inside the case so it explodes when somebody is opening it?
>>
>>107886469
https://github.com/maqp/tfc
>>107887389
where did systemd come up?
>>107887522
ram killer is enough, I dont want to carry a bomb

File: 1762990207625480.jpg (210 KB, 480x480)
210 KB
210 KB JPG
Tor, what the actual fuck is going on:
>Almost ALL of the guard nodes are in NATO countries like Ingerland, Germany, Netherlands, France, Finland and the US
>3 relay families own more than a THOUSAND nodes (niggers like family:1D57EFEA3442E6(4chinz thinks this is spam, just delete this and the other parentheses)8993E7C21E7(nig)C1F350E8(fuckniggers)3BFFAF9, family:FC326586B78(nig)C91CE7199528B(kekerald)82163FD4FB(fuckthespamfilter)189D57(this one family has an 18% exit probability), and more than 600 nodes called "Quetzalcoatl" with the same contact info and has a 12% exit probability)
>Most of the time you get a circuit with Germany -> Random cunt -> Germany or Netherlands -> Random cunt -> Netherlands
This is it? It's ogre? Can snowflake proxies at least solve the circuit problem? (more than 100k snowflake proxies are active from the browser addon alone)
11 replies and 2 images omitted. Click here to view.
>>
>>107885860
i2p runs on totally random users' computers. It's diverse but users love to download corporate spyware...
>>
>>107884693
you are a racist AND a pdf, who the fuck cares about your opinion
>>
>>107886617
That's called "being enlightened" and his opinion is worth far more than normal cattle such as yourself.
>>
>>107886617
i am both of those things!
>>
File: put_in.jpg (366 KB, 679x900)
366 KB
366 KB JPG
>>107884693
fuckin NAFOtrannies!
save us daddy putin
>>107885760
i hate the west so fuckin much REEEEEEEEEEEEEEEEEEEE

File: 1741201704490387.png (59 KB, 329x533)
59 KB
59 KB PNG
If you didn't buy a Blu-Ray drive to rip things before 2024/2025, you fucked up. Prices have gone up 200%, the end of production is here, and you will no longer own this for anything less than 200 dollars if you can find it in stock.
30 replies and 3 images omitted. Click here to view.
>>
>>107884822
the lockout just preventa ripping 4k bdrs right
>>
>>107884409
>Who the fuck is using optical media lmao.
I am. Keep seething cloudfaggot
>>
>>107884067
Are you storing these out in your shed? wtf
I have so many dvd drives in my damp musty basement and they all work.
>>
>>107884835
Yes, and limited performance.
>>
>>107884724
AI slop

File: robopussy.webm (331 KB, 854x480)
331 KB
331 KB WEBM
What the title says. I've been fapping to stories set in the near future involving sexbots for years, and yet it feels like they're just as far away now as they were decades ago. I know life sized realistic sex dolls exist, and I can't go 30 seconds without hearing about how far long AI chatbots have come. So when the FUCK am I getting my life sized, fully autonomous, self cleaning sex robot? What's the hold up? It's [current year]. I was promised robot paradise years ago, and I want to fuck the robots
33 replies and 11 images omitted. Click here to view.
>>
https://www.youtube.com/watch?v=q2rR_aXjqnI
>>
>>107881954
anon at least post something real
>>
>>107882452
But what if i'm not into passive sodomy? What's the level of sex after that?
>>
>>107883533
>run, run, run
>>
>>107881963
>>107882011
>forgot to remove the gemini watermark award


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