[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: 1766077501980664.jpg (228 KB, 1080x1080)
228 KB
228 KB JPG
previous: >>107824139

#define __NR_lseek                8


now this is an interesting one. it feels a bit strange to have a separate file offset whose information is stored in a totally opaque container, where you can only query information about it via some API. not to mention the following:
>If the O_APPEND file status flag is set on the open file description, then a write(2) always moves the file offset to the end of the file, regardless of the use of lseek().
>Some devices are incapable of seeking and POSIX does not specify which devices must support lseek().

relevant resources:
man man

man syscalls

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

Comment too long. Click here to view the full text.
4 replies omitted. Click here to view.
>>
sój thread
>>
>>107833909
nice fat anime breasts
>>
>>107834589
thanks i have been told she's just like me fr
>>
>>107833909
name of anime?
>>
>>107833909
anybody here use or know about eBPF? Sounds really cool, sending instructions to a virtual machine inside the kernel. Of course, I can barely program in userspace, I have no idea what I would do in the kernel space, but one day I'll get there. I have to learn syscalls and C, then I can start.

File: bzzt.jpg (205 KB, 831x1200)
205 KB
205 KB JPG
>UPGRADE & BUILD ADVICE
Post build list or current specs: https://pcpartpicker.com/
Provide specific use cases
State BUDGET and COUNTRY or you will NOT be helped

>CASE
mATX: AP201, Lian Li A3, O11 Air Mini, XT M3, CH260
ATX: XT PRO (ULTRA), AIR 903 Base/MAX, Lancool 207, Flux Pro, Meshify 3, 4000D FRAME, X50
Dual Chamber: Y60/70, O11 Vision, Antec C8

>CPU
Gaming: 14600K, 9/7600X, 7800X3D
-Budget: 12400, 12600K, 7500F
Workstation: 265K, 285K, 9950X3D


Comment too long. Click here to view the full text.
244 replies and 40 images omitted. Click here to view.
>>
>>107836055
>Unigine Heaven or Valley
Why do people still use this when Superposition exists?
>>
>>107836027
Radeon started this trend with their Yeston Sakura partnership troon, I’ve never seen you complain about those
>>
>>107836061
Because you can't run Superposition in windowed mode.
>>
>>107836075
You can, but it doesn't loop.
>>
>>107836041
>New cases under 50 bucks with good cooling potential,
you just removed all the panels. you might as well run it on the fucking cardboard box of your motherboard. stop talking please.
>360mm GPU support,
you made it that long to begin with
>room for 4-5 hard drives or sata ssds
>spinning rust
why not just velcro tape them in place. you clearly don't mind with a case like that.
>and 2-3 5.25" front bays?
use case?
DarkFlash Aigo B351
Sharkoon VS4-V
Chieftec Elox HC-10B
SilverStone Precision PS13
Chieftec Mesh CQ-01B-U3

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

File: PXL_20251114_071535038.jpg (1.27 MB, 4080x3072)
1.27 MB
1.27 MB JPG
Expensive cable on shitbuds 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.
290 replies and 65 images omitted. Click here to view.
>>
>>107835298
of course noeqs need a bass boost to mask the treble peaks
>>
File: 63o9oif3ij1b1.jpg (1.14 MB, 3493x2630)
1.14 MB
1.14 MB JPG
Be sure to get your PR2 when the Ali sale starts in 2 days and secure the best shitbud released in 2025
>>
>>107835637
remind me in 2 days and these better be better than the best shitbud that has been released so far in 2026 that I just ordered
>>
>>107835637
How much are they paying me to use this pos?
>>
>>107835905
Nothing, I got it for free on Aliexpress

File: 1761923146018224.jpg (84 KB, 912x570)
84 KB
84 KB JPG
>YouTube has removed the ability to search by upload date.

How come yt keeps getting shittier and shittier?
96 replies and 14 images omitted. Click here to view.
>>
>>107833338
That's what you get for having an account and staying logged in to it 24/7.
>>
>>107822434
Just use AI, retard.
>>
For a company who's got big via search, how are they constantly making it worse
>>
>>107835190
To test how important features are so they can be paywalled.
>>
File: 1740990805337900.jpg (124 KB, 428x754)
124 KB
124 KB JPG
>>107822944
>>107827430
i like ikatube, including the gui (particularly appreciating that it opens instantly), thank you.

File: kalculator.png (272 KB, 1003x867)
272 KB
272 KB PNG
kde devs can't even make a calculator right
93 replies and 19 images omitted. Click here to view.
>>
>>107834924
>>107832260
Ragebait?
It doesn't matter that they are using '/' for division. You could replace it with '÷' and it would read the same and be relevant to OP because the point they are making is about multiplication when no sign for multiplication is used i.e. implicit multiplication.
Very clearly states that the convention is to give implicit multiplication priority over division.
>>
File: 1749128083341253.jpg (25 KB, 540x540)
25 KB
25 KB JPG
>>107832366
>You know it's grim when gnome has the best fucking calculator
>>
File: 26.011.15.08.11.scrot.png (36 KB, 960x1022)
36 KB
36 KB PNG
>>107832366
>>107836019
I won't stand for this.
>>
File: Screenshot.png (7 KB, 1041x546)
7 KB
7 KB PNG
almost everyone itt is really so stupid that they haven't ever considered what this symbol might mean
>>
>>107836094
...and make Mexico pay for it.

File: 1750630967842350.jpg (715 KB, 1640x2048)
715 KB
715 KB JPG
IPS or OLED?
195 replies and 29 images omitted. Click here to view.
>>
>>107833953
The newest expensive IPS panels look pretty damn good with a dimly lit room. Yeah, the blacks aren't perfect, but they're quite a bit better than they were 5 years ago. For me, OLED strains my eyes way more than IPS, and I am mainly doing productivity tasks. You couldn't give me a high end OLED if it meant I had to use it instead of my IPS panels.
>>
>>107821187
It is nonsensical to have to baby a display by using half a dozen "safety" features. I like CRTs and their motion clarity, but even I can admit that I'm glad we no longer worry about static elements on screen, or needing to use screensavers. OLED is just a disposable meme technology.
Use high end IPS displays while we wait for Micro LED to get cheaper and smaller.
>>
>>107835397
>Use high end IPS displays while we wait for Micro LED to get cheaper and smaller.
Or you could enjoy an OLED while waiting for that and not have to suffer with the numerous drawbacks of IPS.
>>
>>107832040
if you don't use your monitor like you would a flashlight then burn is an extremely minor issue. you're a complete retard if you keep your monitor at a bright level. get proper lighting in your space. brightness should never exceed 50%. also HDR is pure cancer
>>
File: 1479846891424.jpg (10 KB, 217x225)
10 KB
10 KB JPG
>>107836076
It boggles the mind that most monitors still don't have an ambient light sensor to adjust brightness and temperature, and that Windows has no native way to control monitor brightness unless you're on a laptop (KDE does this just fine).

File: 1768162087284.png (113 KB, 1384x224)
113 KB
113 KB PNG
Linux sisters ... our response ...?
>>
>>107836059
He used Linux servers to transmit that message.
>>
>>107836059
and Android?

File: Ada Lovelace.jpg (2.4 MB, 2439x3504)
2.4 MB
2.4 MB JPG
What are you working on, /g/?
Previous: >>107779804
282 replies and 29 images omitted. Click here to view.
>>
>>107835165
>you're corrupting the data and losing information *100%*
Don't tell me. Tell the retards who programmed the FCGI modules. Our code worked *fine*, as is evident by the fact that everything was displayed properly as long as we bothered to clear the UTF-8 flag once before printing the output buffer to socket.

Oh, and of course the UTF-8 flag was set during site generation, because again, UTF-8 database.
>>
>>107828555
>>107835024
Ez

Just precalculate ranges of 1s for each row and then recursively descend them, using binary search to find intersecting ranges in the next row.
>>
>>107833167
You're fucking retarded.
>>
>>107835967
I spent an hour trying to get a brute force solution working, couldn't do it, then spent another 20 minutes trying to solve it with claude and still struggled. The runtime ended up at 260ms.
I can't even understand what I'm reading here.
I want to kms
>>
>>107835967
I can't read rust, but if I understand this correctly:
>expand the first row as far as you can
>try to expand the height by adding the next row
>if you can't, binary search to a rowWidth that works
>keep going
Is that your approach?

File: optimal.jpg (81 KB, 686x386)
81 KB
81 KB JPG
What is the optimal monitor size for a 1 display pc? What is the lowest in size/monitor you would go for?

File: 3649.jpg (71 KB, 900x900)
71 KB
71 KB JPG
Everything is already from China, but here we discuss the cheap chink 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.
39 replies and 12 images omitted. Click here to view.
>>
>>107835962
cheapest for you is lidl or aldi i'm guessing? you guys make a lot of money so everything else scales to that. i'm just imagining a random chang deciding to open one of these 'bargain basement' stores and his eyes pop out of his head because of rent/cost of living/taxes is insane there
>>
>>107835985
Not sure if they have those batteries, there's only one local supermarket and it's an expensive Swiss one, not a cheap German one.
>>
File: images.jpg (8 KB, 225x225)
8 KB
8 KB JPG
>>107836026
>>
Another package arrived in a week to canuckistan. This shit is lightning fast now.
>>
>>107835811
>lead/cadmium alloy wristband and watch
>lead and whatever other toxic shit contaminated cheap clothing dye and fabric

ah the greedy gweilo poorfag special

you are missing a 3$ phone charger and a "replacement" lithium-ion battery (with cool surprise firework effect)

Nuked by an escaped /v/ Schizo edition
Previous Thread: >>107781231

>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.
103 replies and 96 images omitted. Click here to view.
>>
>>
>>107835710
I'd butter her biscuits HUHUHUHUH.
>>
>Bowsette smugly reclining on her throne
>>
File: 1751853194194791.jpg (2.45 MB, 3072x5504)
2.45 MB
2.45 MB JPG
>>107835340
Nah, the Transformer couldn't even begin to emulate conscience
>>
File: 1763843526842706.png (2.24 MB, 1144x2048)
2.24 MB
2.24 MB PNG

File: file.png (142 KB, 1731x1351)
142 KB
142 KB PNG
Would you live inside Wine Desktop? Would it be insane to turn Wine into a DE for Linux like Windows 3.1 originally was for DOS? I would use the shit out of this.
21 replies and 1 image omitted. Click here to view.
>>
>>107835664
What if I hate UNIX?
>>
>>107835864
You don't even know what it is so you can't truly hate it.
>>
>>107829507
it's retarded. pretending like an old windows DE is better than a modern DE is stupid, espeically given the customization available to linux users. much better to use WINE as intended.

in ideal world you could just download .exe files and WINE would automatically launch them in a container
>>
>>107835890
Its a mainframe operating system developed in the 60s that's been shoehorned into home computing for most of its history. I actually wouldn't mind it (or things copying it) got rid of those mainframe centric features like the HFS or repositories (flatpack is not universally adopted so it may as well not exist, and even then still isn't a proper replacement for Windows's portable binary centric system)
>>
>>107836003
you can't customize away the linux file structure, which is a make or break issue for me.

File: EfXCE01UYAA8csO.jpg (41 KB, 798x644)
41 KB
41 KB JPG
you CAN invert a binary tree, right anon?
7 replies and 1 image omitted. Click here to view.
>>
I used to, but ever since I started working I never needed it once and now I don't remember it anymore
>>
>>107834883
/*
class Node:
def __init__(self, val=None, left=None, right=None):
self.val = val
self.left = left
self.right = right
*/

def invert(root):
if root == None: return

invert(root.left)
invert(root.right)
root.left, root.right = root.right, root.left


Comment too long. Click here to view the full text.
>>
>>107835605
Wrong.
>>
>>107834883
I can do whatever I want to a binary tree. I could invert it, balance it, traverse it, tie it in knots, or even leak or corrupt it. The computer is my bitch and it will do whatever I want without question.
>>
from binarytree import tree, invert

def invert(tree):
if tree:
return invert(tree)
return


How'd I do, anons?

File deleted.
>What phone has X and Y feature?
Don't ask, use these!
https://www.gsmarena.com/search.php3
https://www.kimovil.com/en/compare-smartphones
https://phonedb.net/index.php?m=device&s=query

Good Resources:
>Reviews
https://www.gsmarena.com
https://www.phonearena.com
https://www.notebookcheck.net

>Frequency Checkers
https://www.frequencycheck.com
https://kimovil.com/en/frequency-checker

Comment too long. Click here to view the full text.
47 replies and 10 images omitted. Click here to view.
>>
>>107835539
you can install pedoOS on pixels, though. Also the Hardware Root of Trust is neat piece of engineering (if they could get it implemented without in-factory tampering)
>>
My Android phone has a built in feature that let's me see which thing drained how much battery but it looks of works like shit.
Any third party options?
>>
>>107835775
accubattery
>>
About to root my Pixel 8. Is Odin still the preferred tool in case something goes wrong with the phone?
>>
>>107836042
only google has edl access if that's what you want
if you want a phone for custom roms then nothing phones have free edl and offline bootloader unlock

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.
167 replies and 22 images omitted. Click here to view.
>>
>Lisp the antithesis of Unix minimalism.
>All the WMs written in Lisp are minimal tiling troon WMs
Why? Not that I need it but even Genera made a lot of use of the mouse and was anything but minimal.
>>
>>107833647
Lisp is not the antithesis of Unix minimalism. Only reason it feels like that is because Common Lisp and the like are basically full environments, and we run each program in their own environments. If you just have an image with the stuff you want already in it it's fairly minimal. I guess a good comparison would be having to ship the "OS" with every binary because you're running it in a different OS hostile to it. Also you have stuff like Guile/GUIX which are very Linux (I guess not Unix)
>>
>>107832292
not him, but I really do not fucking get what makes people drop all of their shit the moment they see a Lisp. do we really exist in a profession where those that practice are unable to sit for 15 fucking minutes, writing out code to some Advent of Code style problem?
it's quite fucking trivial to learn any Lisp in such an environment.
monkey games type of shit.
>>
>>107834122
Yeah I also think about this often. I came from other languages pretty late in the game and had very little trouble adjusting to the sexp syntax. I'm guessing it mostly comes from python devs that are used to a mostly noiseless syntax, but coming from C++/Java/Rust it's a breath of fresh air.
Only thing I prefer in those languages is the discoverability with LSPs. Like doing thing.<autocomplete>, in lisp I need to know the method/function beforehand and I don't know what's compatible with what without looking at the source code. Overall not an issue because NIH is strong in Lisp and I have like 0-3 libraries max vs something like Rust where you end up with 20 crates.
>>
I was going to put this on gitgud due to my disdain for Microslop, but there were requests for me to register it with MELPA too, and lo and behold they require making a PR on shithub anyway. So up it goes there:
https://github.com/eNotchy/4g

Tell me which things you expected to work do not work (unless they relate to autoload fuckery which I'm currently fiddling with), in case any of you still use this.


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