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

the post-broot depression edition

>Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
https://adventofcode.com/

/g/ leaderboard join code:
224303-2c132471
anonymous-only leaderboard:
383378-dd1e2041

See also: https://obonofcode.com/ (Summer 2026)

previous >>107523907

pic related did not quite happen this year
225 replies and 33 images omitted. Click here to view.
>>
>>107556990
Well that's sort of the thing. You have to change the heuristics depending on which machine you're doing. It's sort of hit or miss which heuristics prune too many good branches vs bad branches to get a quick convergence before you run out of memory.
>>
>>107556520
Step 1: write a non-optimizing compiler that targets the LLVM
Step 2: profit
>>
>>107556568
Codewars is great for learning niche shit
I learned category theory through its Haskell puzzles for example. There are also puzzles made specifically for assembly, and for theorem provers.
>>
File: aoc2025rs-01.png (45 KB, 375x587)
45 KB
45 KB PNG
I decided to do the puzzles again but in Rust, because that's what everybody else is using these days, and to fill the void until the 25th.
Struggled a fair bit to get a multi-file project to work but it seems to work now.

I did it the broot way this time because I don't want to deal with all the edge cases again.
Apparently you can't iterate over the same vector twice unless you mark it with '&', because otherwise the first for-loop takes ownership. Though I guess the '&' is no longer necessary since I reduced it to 1 loop.
The compiler is really fast at least, and error messages are pretty helpful.
>>
>>107555399
def run_instructions(line: str):
matching = {}
st = []
for i, char in enumerate(line):
if char == "[":
st.append(i)
if char == "]":
j = st.pop()
matching[i] = j
matching[j] = i

mem = [0 for _ in range(6)]
prev_l_bracket, prev_state = -1, mem.copy()
i, cell = 0, 0


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

File: Desktop.png (385 KB, 1366x768)
385 KB
385 KB PNG
libre edition
previous: >>107524364
131 replies and 55 images omitted. Click here to view.
>>
>>107552947
Terminal font please?
>>
>>107557693
It's a custom build of Iosevka. They have a configurator website that spits out a config file for the build environment. Just follow the directions at the bottom on the configurator page. Make sure to add --jCmd=<threads>
to the end of the build command, or you'll oom.
https://pastebin.com/59WksSk9
https://typeof.net/Iosevka/
https://typeof.net/Iosevka/customizer
>>
>>107556507
post cat
>>
>>107552824
who's the girl?
>>
>>107556173
Really cozy, any chance you could share the 4chan CSS?

I have an ancient kindle from more than 10 years ago.
It can't even browse the internet without crashing.

What's your favorite ereader? Books are outdated.
136 replies and 21 images omitted. Click here to view.
>>
What's wrong with laptop?
>>
>>107553166
There's a chance he thought it was a regular tablet, I believe him
>>
File: miku uh.gif (1024 KB, 242x227)
1024 KB
1024 KB GIF
>>107546914
>can create personalized, custom tailored novels
>>
>>107552531
>sideloaded manga apps
Why do you need to sideload them?
And I hate that word.
>>
File: 1765128037819119.jpg (2.49 MB, 2700x3600)
2.49 MB
2.49 MB JPG
I’ve got the Kobo Libra color. It’s pretty nice overall.

File: nhd15.jpg (86 KB, 915x900)
86 KB
86 KB JPG
The 1080ti of CPU coolers.
>>
>>107557731
closer to some 8gb vram gpu someone pays 2k$ for
>>
>>107557731
buy an ad

File: wwXURbJHjDVzkkpdZUEYkA.jpg (1.5 MB, 3840x2160)
1.5 MB
1.5 MB JPG
What is the definitive game controller?
203 replies and 52 images omitted. Click here to view.
>>
>>107555484
Shall I get this one or the Vader Pro 5??
>>
>>107537491
>"Guy! Aren't i so cool for my contrain take on the frog forum? Holy heckerino! i hope i farm some (you)s!"
>>
>>107555484
But the dpad is dogtrash
>>
>>107532510
gonna buy this
>>
File: 1762416483000431.jpg (33 KB, 500x800)
33 KB
33 KB JPG
>>107525250
I have big hands so PS5 controller is perfect for me. Same with button layout.
PS4 is ok but PS3 is just too small.

File: color_logomark.png (8 KB, 668x389)
8 KB
8 KB PNG
What are some of the more rtfm zsh features that you actually use? zed? zcurses? global aliases? zcompile? sockets? OR THE TCP STACK?

File: dog on plane.png (91 KB, 345x330)
91 KB
91 KB PNG
I use co-pilot on github to write some code and pushed it to merge.
Fuck the police.

File: snitch_robot.jpg (125 KB, 938x1500)
125 KB
125 KB JPG
>Open new Hanukkah present
>It's a GoyBox9000

What would you do in this situation, Anon?
>>
>>107557928
Kill myself because I'm Jewish.
>>
>>107557952
you make jokes like this today after what happened yesterday?
>>
File: 1705280524307.jpg (2.31 MB, 4032x3024)
2.31 MB
2.31 MB JPG
>>107557928
return it
>>107557952
this

File: images.png (8 KB, 447x447)
8 KB
8 KB PNG
what happened with this social media?
>>
>>107555273
Its filled with pedo honeypots and pedo bots
>>
>>107555273
Garbage
>>
>>107555273
Days 1 - 3: Nobody really knew anyone else, everyone was excited and hyped up interacting with everyone else. Such engagement was addictive. A genuine positive atmosphere permeated the site. The algo would fuck up and show you random topics like soccer in arabic from time to time, but such glitches were expected considering the rushed launch.

Day 4: The larger clouted accounts on Twitter decided to give it a shot. Instantly people stopped interacting with each other, instead chasing after the clouted one. Thus it became Twitter, but with a ruleset that chokes out anything actually interesting from being discussed or posted.
The end.
>>
>>107555273
Deprecated by X.

how is it possible that after 10 years USA is still unable to get New fucking Zealand to extradite Kim Dotcom?
why is this based fat fuck allowed to do whatever he wants
16 replies omitted. Click here to view.
>>
>>107553057
The raid and procedures were so illegal that NZ can't let him go too soon without embarrassing itself
>>
>>107553143
At a certain level of wealth the rules you are told no longer apply.
>>
>>107553057
new zealand is the safe space for the elites, they can't set a bad precedent
>>
>>107555344
Yes but would he want to
>>
>>107553372
Nah it's the best time to get a pardon. Should only cost a few million too.

File: 332344357345.png (67 KB, 1262x1442)
67 KB
67 KB PNG
Reminder to enable additional filters in your uBO settings such as:
>Built-in 6/6, Ads 3/3, Privacy 3/3, Malware Protection/Security 2/2, Multipurpose 2/2, Cookie Notices 4/4, Social Widgets 3/3 & Annoyances 9/9

Reminder to import these into your uBO filter lists:
>https://raw.githubusercontent.com/DandelionSprout/adfilt/refs/heads/master/LegitimateURLShortener.txt
>https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt

Reminder to stop using shit like -
>AdNauseam, Ghostery, Decentraleyes, Disconnect, Privacy Badger, ClearURLs etc
- with uBO, as uBO is simply better than any of those listed, no matter how many times people like Rossman shill for them.

Reminder to put these into 'my filters' to improve YouTube:
>youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 6 !important;)
>youtube.com##.ytp-quality-menu .ytp-menuitem:has(.ytp-premium-label)
>youtube.com##.ytp-menuitem:has(.ytp-menuitem-container-with-badge)

Comment too long. Click here to view the full text.
239 replies and 31 images omitted. Click here to view.
>>
>>107556423
Not even close, its projection. There's a whole psychological thing behind futa that I won't get into
>>
Default ublock blocks literally everything on the internet for me, so does just using brave browser.

But how the fuck do you block twitch ads?

Twitch must be spending an absolute fortune trying to stop adblockers because it's the only website that constantly bricks my adblocks.
>>
>>107557270
>But how the fuck do you block twitch ads?

>Navigate to the uBlock Origin Dashboard (the extension options)
>Under the My filters tab add twitch.tv##+js(twitch-videoad).
>Under the Settings tab, enable I am an advanced user, then click the cog that appears.
>Modify the value of userResourcesLocation from unset to the full url of the solution you wish to use (if a url is already in use, add a space after the existing url). e.g. userResourcesLocation https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/vaft/vaft-ublock-origin.js
>To ensure uBlock Origin loads the script I recommend that you disable/enable the uBlock Origin extension (or restart your browser).
>>
Stop making ads obnoxious, intrusive propaganda and maybe I'll consider not blocking them. I'll still block them of course, but I'll consider it.
>>
>>107557548
oh shit this works, it's the same solution that used to work for me but it stopped working a while ago, but it's seems the "userResourcesLocation" url changed, changing to the new url works thank you! <3

File: Only Debo.png (1.23 MB, 1997x1370)
1.23 MB
1.23 MB PNG
No Ran, no Ani, only Debo edition

Discussion of Free and Open Source Text-to-Image/Video Models

Prev: >>107543106

https://rentry.org/ldg-lazy-getting-started-guide

>UI
ComfyUI: https://github.com/comfyanonymous/ComfyUI
SwarmUI: https://github.com/mcmonkeyprojects/SwarmUI
re/Forge/Classic/Neo: https://rentry.org/ldg-lazy-getting-started-guide#reforgeclassicneo
SD.Next: https://github.com/vladmandic/sdnext
Wan2GP: https://github.com/deepbeepmeep/Wan2GP


Comment too long. Click here to view the full text.
41 replies and 7 images omitted. Click here to view.
>>
>>107557061
that's how they photoshop "good portraits".
>>
sorry if this sounds dumb but im finally getting my lazy butt around to getting wan 2.2 and the premade workflow in this rentry: https://rentry.org/wan22ldgguide seems to only have a 5 second output and also it's at a lower framerate
in the 2.1 workflow i used from the older rentry, it had an 8 second output at 24fps
am i overlooking something or how do i get 8 second videos with 24 fps for 2.2? i dont really want to poke around on civitai because i remember dudes here posting some extremely cursed workflows that took hours for the equivalent of a schizophrenic ms paint scribble
>>
>>107557319
To get 8 seconds at 24fps with WAN 2.2 find the "Empty Latent Video" node and change frames from 121 to 193 and set any FPS settings to 24. 2.2 workflows default lower because it's more resource heavy than 2.1. You can run 8sec at 24fps fine, just takes longer and more VRAM.Make those changes and you're good. Reply if you can't find the nodes.
>>
>>107557354
"/ldg/ Comfy I2V Kijai workflow" was what i was looking at
i didnt see it in there
>>
Real general with classic thread quality

File: Screenshot 2025-12-13.png (97 KB, 380x645)
97 KB
97 KB PNG
>Denuvo gets removed/cracked in a year anyway
Biggest lie piratenigs ever told.
109 replies and 12 images omitted. Click here to view.
>>
>>107537500
Saves you the disk space, you end up playing older better games.
You no longer need to upgrade!
Where's the problem again?
Hey if you really want to play it buy it in 10y for $2 on steam or get it for free on epic.
>>
>>107557721
Nah that sounds absurd. Pretty sure it's added on top of a functioning build, so if someone were to just leak the pre-denuvo .exe, it'd just werk.
>>
>>107538604
Wrong way to do it.
Start with the final boss and then the rest will take 50%less
>>
>>107548614
Nope fuck the games go away tranny
>>
>>107537695
>he still plays AAA woke slop
lmaoing @ you, retard

File: images (85).jpg (19 KB, 525x525)
19 KB
19 KB JPG
Clippy wouldn't force you to have an online account
Clippy wouldn't put ads into the start bar of the product you already paid for
Clippy wouldn't force AI down your throat
Clippy wouldn't spy on you and sell your data for maximum profit

Clippy was just here to help
>>
>>107557763
>Clippy used to say nigger by using the Easter Eggs in microsoft Word
You missed the best one.

I finally downloaded yt-dlp and figured out how to use it.
I feel so powerful now. Like I just decalcified my pineal gland and opened my third eye.
10 replies and 1 image omitted. Click here to view.
>>
>dling music from youtube
you must be deaf
>>
Great, now try FFMPEG
>>
>>107556546
double female male pegging
>>
>>107556629
hahahaha
>>
>>107554538
Disk space is cheap.


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