[ home / overboard ] [ spam ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Options


Password (For file deletion.)

File: ClipboardImage.png πŸ“₯︎ (11.31 KB, 189x266) ImgOps

 β„–32580[Reply]

newfag here, should i read it?
5 posts and 1 image reply omitted. Click reply to view.

 β„–32609

>>32580 (OP)
I haven't read it, but from what I know it covers K&R C rather than ANSI C89 (or ISO C90, which most compilers implement and call C89 or something). If you don't know or understand C very well, it may be worth the read.

Otherwise I'd recommend reading The Art of Computer Programming by Donald Knuth, specifically the first volume. It teaches you the fundamentals of trees and useful manipulations you can apply to them. It teaches these concepts in an ancient hypothetical punch-card programming language called MIX. You are provided nothing but the absolute bare-minimum. The assembly language still provides a great deal of meta-programming through homogeneity of instructions and data, but this concept isn't as useful as it once was. Still a very interesting and insightful read.

Newer volumes of the book should come with instructions in MIXAL instead of MIX, which is far closer to modern systems running AMD64/AARCH64.

 β„–32614

>>32609
>K&R C rather than ANSI C89 (or ISO C90, which most compilers implement and call C89 or something). If you don't know or understand C very well, it may be worth the read.
Why would you want to learn an outdated and frankly inferior iteration of C? Who the fuck would want to write K&R parameter lists or put up with the retarded compiler constraints of that era?

 β„–32615

>>32614
That was my point. Learning K&R C when no compilers exist for it is kind of pointless.

 β„–32617

File: C_Book_2nd.pdf πŸ“₯︎ (1.57 MB)

free pdf of the 2nd edition

 β„–32618

if you are just starting with c yes. if you want to learn modern c standard practices read "learn c the hard way"

 β„–32801

>>32618
but pipo have been saying that zed shaw is a bad programmer doe



File: 18GP5uqZb2IVhDKg.mp4 πŸ“₯︎ (891.39 KB, 720x720) ImgOps

 β„–32761[Reply]

i just switched from the google search engine to duckduckgo and so far i liked it, it does not have the gorillions of ai slop google has to offer, the search is okayish and i can work with it. unlike google, they dont force the ai shit onto you, even by default, but what are the cons to this search engine apart from the maybe occasional worse searches?
10 posts omitted. Click reply to view.

 β„–32780

>>32776
I refuse to think a human made this post

 β„–32781

>>32772
nigga im fucked, do i selfhost seaxng or what

 β„–32786

>>32772
>>32771
shieet. if i use yandex ill also get russia esque searches so ill just switch between them if needed

 β„–32788

duckduckgo and google both suck dick&balls&cock if you are searching for pirated media. Yandex is keyed because it doesn't care 'bout DMCA o algo

 β„–32789

>>32788
giga, ill switch between the two because its becoming painfully clear that every search engine will have a big con i wont like

 β„–32799

>>32786
>>32772
>>32764
>>32763
If your issue is privacy, your search engine matters less than how you browse.

You cannot trust anyone tracks you less than say, Google; you have no access to verify server side code. Therefore, privacy burdens remain on you

Using anti-fingerprint tech, IP masking (think VPN, Tor, proxies), never making accounts, etc
dyor



File: 1778956638702v.png πŸ“₯︎ (97.45 KB, 888x970) ImgOps

 β„–32599[Reply]

I feel like the stack is so mystified because the professors teaching it don't understand it or anything low level themselves. I say this as I am just beginning to learn C
<tech space
When a function is called, a section of memory is "reserved" on top of what is called the stack. This section of memory is the function's stackframe. The stackframe contains all of the variables allocated by the function. The stack is made up of stack frames.
<tech space
After you understand this, the rest is easy. If you want to remove a variable from a stackframe, it has to be both a variable from the frame on the top of the stack and the variable on top of that stackframe.
<tech space
Pushing something to the stack is just adding something to the top, and popping is just removing the top item. You can't push or pop any random item. The top of the stack is just a pointer in a CPU register. Popping simply decrements the top stack pointer and pushing simply increments it and stores a value at said address. The list of elements in them are entirely defined by those registers. There is no such thing as removing a value within these bounds. You can write it to be zero, but you can't just remove it.
<tech space
I think the plate analogy is almost a misnomer because it's easy to visualize but it's easy to forget this fact. You can't remove something from the middle and have the stack collapse on itself.
<tech space
Post too long. Click here to view the full text.
2 posts omitted. Click reply to view.

 β„–32605

File: ClipboardImage.png πŸ“₯︎ (14.97 KB, 810x304) ImgOps

File: ClipboardImage.png πŸ“₯︎ (4.07 KB, 473x93) ImgOps

i understood all of that before.

and if i am right in functions local variables are stored on the stack as well so that they can be modified via popping them to registers or moving something to %rbp + offset (which is a multiple of 4 or 8 depending on the system)

also
the reason why you don't return a pointer from function is because after it's stack frame is done and %rbp and %rsp are reset the address stored in the pointer will now point to the undefined region in memory (evendoe the data in it may still persist for a brief moment) which will make the os throw a segfault. very interesting stuff really about the scopes and variable lifetimes, be careful when returning a pointer.

 β„–32608

>>32599 (OP)
It is wild that most programmers fundamentally don't understand the machine they are working with. If you don't understand the stack, heap, fragmentation, pointers, and the primitive data structures constructed of only the previously mentioned things (especially trees, lists, and arenas), you are NGMI.

It is as if we went from having mathematicians to replacing them with people who can use calculators, and calling themselves mathematicians.

 β„–32636

bump, let's talk about the heap

 β„–32777

So garbage collection is just going back through the stack and reassembling based on what is still in context? So what happens with manual memory allocation and deallocation? I do infra work and Elixir I never got into C but intend to once I start on my Z80 build

 β„–32778

>>32777
I think garbage collection mostly has to do with the heap

 β„–32791

>>32777
when function call ends, stack frame "clears" automatically, we go back to previous %rbp. The data is still there, but it will be overwritten by other stack frames.
Garbage collection refers to automatically deallocating allocated memory on the heap. In C, there is no garbage collection, instead you have to call malloc() and then free() to free the memory. If you don't call free(), there may be a situation where your program repeatedly calls malloc(), causing it to allocate memory more and more, never disposing of it, swiftly devouring your RAM. This is called a memory leak. In languages like Java the dynamically allocated memory will be disposed automatically by a garbage collector. In V language there is memory deallocation at compilation time, or something like that, I think it automatically injects free() where is needed, o algo.



File: maxresdefault-3572434868.jpg πŸ“₯︎ (172.96 KB, 1280x720) ImgOps

 β„–21818[Reply]

>linux mint
29 posts and 5 image replies omitted. Click reply to view.

 β„–31931

File: 94tpgw8hbvu51-3488686594.png πŸ“₯︎ (418.32 KB, 960x960) ImgOps

>>the distro used by windows newGODS and grandmas is somehow fuggen troonslop

 β„–31946

>>21818 (OP)
arch tranny who thinks their better than you for using le hardrino distro

 β„–31963

False, Mint is for those who aren't really tech savvy: grandmas, tech newGODS, etc. The trooniest troons of all time use Arch.

 β„–32547

>>31946
marge what is arch i use windows

 β„–32783

>>32547
sybau

 β„–32784

>>32547
arch is a linux distro used by trannies. ubuntu and mint are linux distros used by gigachads and normalGODs. devuan, gentoo, and artix are linux distros used by political extremists.



File: 16736230403596764.webp πŸ“₯︎ (275.41 KB, 1280x2402) ImgOps

 β„–32768[Reply]

The only three versions of Microslop Windows worth using


 β„–29804[Reply]

>rust le troon language
Unironically a psyop by most asshurt Cniles to make Rust le bad while depicting C as le badass and high IQ.
Rust and Java are aryan, everything else is jeetslop.
23 posts and 8 image replies omitted. Click reply to view.

 β„–30729

i jate java because minecraft was written in it

 β„–30778

File: Gigareadsbook1.gif πŸ“₯︎ (2 MB, 416x480) ImgOps

>>30729
.jar in java archive stands for jarty btw

 β„–30880

File: fact.PNG πŸ“₯︎ (40.18 KB, 341x498) ImgOps

Rust hate is astroturfed, the whole Rust le tranny meme is a psyop by Cniles (reminder AGP was created by boomer faggots which Cniles are) to gaslight people into hating any semblance of innovation by incorrectly conflating it with transgenderism (once again, invented by boomers)
Hoare VVQN
Gosling VVQN
Bjarne, Thompson and Ritchie are retarded Jewish gay tranny nigger faggots who should be publicly executed North Korea style

 β„–32686

jsid
fuck the c++ committee btw

 β„–32769

File: 1776462339298d.png πŸ“₯︎ (776.93 KB, 1920x1080) ImgOps

trvthnvke that cniggers cant handle

 β„–32810

Just use Rust to make Chuddy things like TND games and algorithms that clock trannies.



File: 1766347537778c.gif πŸ“₯︎ (2.46 MB, 498x282) ImgOps

 β„–32635[Reply]

This is me when I spend 2 days trying to figure out why all the vanilla weapons do x1.5 more damage and all the enemies do /1.5 less damage.
I disabled all my addons but it’s still a problem.
13 posts and 1 image reply omitted. Click reply to view.

 β„–32752

>>32751
Ok the weapons now do more damage, while the enemies do the same amount as before (less than they should). The pistol and smog now do 12 damage while the pulse rifle does 11.

 β„–32753

>>32752
I verified the integrity of the files so now the problem’s the same as before

 β„–32754

Oh. I typed β€œskill 2” into the gmod console and it worked!

 β„–32755

>>32754
nice job

 β„–32756

>>32755
Thanks for the help. I’ll be using the campaign entities mod to make a very interesting save that I’ll link here once it’s done. Should take a day or two.

 β„–32757

>>32756
Anticipating this.
Have a great whatever.



File: desk.png πŸ“₯︎ (1.06 MB, 1920x1080) ImgOps

 β„–32653[Reply]

is the X windowing system the pinnacle of the UNIX(r) desktop?
1 post omitted. Click reply to view.

 β„–32672

>>32653 (OP)
Keyed IceWM with EMACS

 β„–32675

File: 1776396005234f.png πŸ“₯︎ (116.68 KB, 1000x1000) ImgOps


 β„–32679

i can't take your deviantart wallpaper seriously geg

 β„–32684

>>32675
literally me

 β„–32701

>>32675
Much pheonix or the heccin x12 will fix did saarr

 β„–32736

bro



File: 1776602664828i.png πŸ“₯︎ (464.75 KB, 1280x720) ImgOps

 β„–32676[Reply]

How do I make the Linux kernel less bloated and less monolithic without using Gentoo?
10 posts omitted. Click reply to view.

 β„–32719

inb4 sudo rm -rf joke appears

DON'T TYPE THAT FUCKING COMMAND OP

 β„–32720

File: my desktop.png πŸ“₯︎ (155.01 KB, 860x645) ImgOps

>*mogs your shitty goyware*

 β„–32725

>>32719
sudo dd if=/dev/random of=/dev/sda

 β„–32729

>>32719
rule 13

 β„–32731

>>32714
It would be good to know this if you're running a server

 β„–32732

>>32731
if someone gets into your system to the point where kernel attack surface matters, its already over



File: 1779692138616c.png πŸ“₯︎ (1.26 MB, 1242x698) ImgOps

 β„–32639[Reply]

everything and anything chemistry related.

 β„–32643

File: 1779169901325h.jpg πŸ“₯︎ (53.49 KB, 1000x1000) ImgOps

DIY crystal growing experiment! everything u need should be in ur house!

couple hundred pennies (or copper coin from your country), straw, put these aside for now.

get a clear jar, scoop 2 tablespoons of salt into it, and 1 tablespoon of baking soda.

the first important ingredient is usually in the bathroom cleaning supplies:

Ammonia (any brand). Pour it in until the jar is β…” of the way full

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

 β„–32654


 β„–32664

>>32643
I remember hearing this shit killed someone geg.

 β„–32730

>>32639 (OP)
gemmie this would help me study faster



File: ClipboardImage.png πŸ“₯︎ (111.36 KB, 474x530) ImgOps

File: ClipboardImage.png πŸ“₯︎ (416.25 KB, 680x605) ImgOps

 β„–32721[Reply]

>having an AGP GPU/graphics card in the 2000s
<having a PCI GPU in the 2000s

 β„–32722

>smug soyak.png
I already learned what AGP and PCI are from a youtube video so I don't need to look this up.,

 β„–32724

>>32722
dubs
you are the smartest person in the world



File: a24 iphone.png πŸ“₯︎ (42.75 KB, 250x222) ImgOps

 β„–32611[Reply]

are oled panels worth it I'm trying to find a good priced one
2 posts and 1 image reply omitted. Click reply to view.

 β„–32626

OLED is for TVs that you watch movies and TV on less than 10 hours a week. Gaming being better on them is a total myth because sample and hold blur is still just as present as on LCD.
This post will make consumer whores rage.

 β„–32710

>>32611 (OP)
they are if youre gonna be gaming, watching lots of movies or photo/video editing.

>>32626
>Gaming being better on them is a total myth because sample and hold blur is still just as present as on LCD
fake and thats not the point of oled for me really, i got one because it looks really good.

 β„–32712

>>32710
Good goy.

 β„–32713

>>32613
where is this soyjak wiki

 β„–32716

>>32713
happenings 2026
ctrl + f "aspie"
fuck you

 β„–32718




File: ClipboardImage.png πŸ“₯︎ (152.95 KB, 616x353) ImgOps

 β„–30776[Reply]

3 posts omitted. Click reply to view.

 β„–30836

File: ClipboardImage.png πŸ“₯︎ (6.11 KB, 162x194) ImgOps

File: ClipboardImage.png πŸ“₯︎ (11.62 KB, 327x73) ImgOps

the goyim have spoken, the game is a flop

 β„–30846

could be better

 β„–30849

awful coal trying to be the next roblox instead of gmod 2

 β„–31246

im one of the 40K to get the QA shirt from the dev preview and its always been kinda lackluster

 β„–32705

A wet dream of garry who always wanted gmod to have microtranscations and continuously make more money off of it. Everything else is just smoke and mirrors for golems to clap their hands and say that he's a genius for unveiling his real vision of how gmod should've ended up.

 β„–32711

Overtime it’s going to be better



File: ClipboardImage.png πŸ“₯︎ (45.42 KB, 679x905) ImgOps

 β„–32667[Reply]

i just want something small and relevant yk
1 post omitted. Click reply to view.

 β„–32670

File: crazed soyak(1).jpg πŸ“₯︎ (273.59 KB, 680x665) ImgOps

>i just want something small and relevant yk

 β„–32673

File: IMG_2242.png πŸ“₯︎ (5.95 MB, 1856x1868) ImgOps

>>i just want something small and relevant yk

 β„–32674

File: 1571377512835.jpg πŸ“₯︎ (52.69 KB, 1024x683) ImgOps

>>>i just want something small and relevant yk

 β„–32677

File: IMG_0580.jpeg πŸ“₯︎ (321.61 KB, 686x726) ImgOps

>>>>i just want something small and relevant yk

 β„–32683

very, wouldnt recommend only 128gb doe

 β„–32708

>>32667 (OP)
the battery isnt the best, but aside from that its probably the best samll phone there is.
it has like a year or two of updates left tho, and it uses the lightning port so im not sure if its a good choice in *current year*



File: Freebsd67.png πŸ“₯︎ (34.71 KB, 1080x1080) ImgOps

 β„–32660[Reply]

Are there actually any 'teens out there that actively use any of the BSD oses? (FreeBSD, NetBSD, OpenBSD)

I know the wiki likes to sing it's praises but I've hardly seen discussion about it on here.

Honestly, I don't really see much reason in using BSD when Linux exist but maybe you guys can convince me otherwise

 β„–32662

There's no reason to use BSD unless you were already using it for some reason, or you're a corporation who's scared of the GPL.

The advantages of FreeBSD that people claim (ZFS, jails) already exist on Linux in the form of OpenZFS w/ DKMS and containers.

Some people will say OpenBSD is "more secure", but the thing is, attackers attack your applications, NOT your OS. The same Postgres/PHP/nginx exploit will work the same on every operating system no matter how souped up the security of your BSD is.

MAYBE NetBSD has a very niche use case if you're running it on some ancient SPARC/MIPS/whatever toaster from the 90's that isn't supported by modern Linux.

 β„–32663

>>32662
they do attack the os
see dirtyfrag

 β„–32702

>>32663
An attacker would need RCE to exploit this vuln anyway. And if an attacker has RCE then you’re toast anyway.
That is unless you have a strict, enforcing SELinux policy. Which BSDs don’t really have any equivalent to. In OpenBSD pledge exists to limit syscalls. But the application has to be patched to support it, which no one bothers with (even for the most popular software), so it might as well not exist.



Delete Post [ ]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]
| Catalog
[ home / overboard ] [ spam ] [ soy / qa / raid / r ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]