[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: incr.png (48 KB, 449x981)
48 KB
48 KB PNG
/dpt/ - Daily Programming Thread

Welcome to the Daily Programming Thread. What are you working on, /g/?
Previous thread: >>107575071
26 replies and 6 images omitted. Click here to view.
>>
>>107632451
Release builds having different output from debug builds should be a compiler bug. You are literally defeating the point of debugging.
>>
File: aoc2025rs-10.png (343 KB, 625x2595)
343 KB
343 KB PNG
Day 10
Rather than trying to implement a half-assed constraint solver again I decided to try the idea from that reddit post.
Basically:
>convert joltages to lights (odd = on, even = off)
>solve it like part 1
>the result of that can be subtracted from the joltages
>remaining joltages as well as the remaining button presses are now divisible by 2
>divide them by 2 and recurse on that
It's a bit slow (20s on --release) but it does work
>>
Whining about UB is basedcoded
>>
i have no project ideas
>>
>>107632918
Rewrite ls in Rust and get 1.4k starts on Github.

Alright give me your worst, roast me
68 replies and 3 images omitted. Click here to view.
>>
>>107618499
imagine unironically watching a nigger
>>
>>107617889
you secretly use x11 because wayland sucks, but you are to afraid to admit it publicly after you shilled wayland for so long
>>
>>107617889
passive aggressive tub of lard who refuses to mention lunduke by name
>>
>>107622731
these always look hilarious to me, what would even be the context of linux youtuber sucking a black dildo
>>
>>107632193
I find that aspect funny, he dick slobbed wayland for years and is now bitching about it in the most passive aggressive way. Full on shill worm

CleanCodeFags ETERNALLY BTFO
14 replies and 2 images omitted. Click here to view.
>>
>fellow engineer feels obligated to have something to say on every single PR
>the default is usually "can you change this [perfectly understandable variable name] to be this [slightly different version of the word]?"

I hate these kinds of people
>>
>>107632022
I know "clean code" is retarded, but assuming nothing you write will be read be anyone else is even more so.
>>
>>107632837
>the guy pretends to do something and gives you a chance to do it too
Honestly a based chap
>>
File: 1746804986307380.jpg (7 KB, 225x225)
7 KB
7 KB JPG
>>107632022
if you can understand your code from a week ago, you are getting replaced next month LMAO
>>
>>107632964
you cant explain this shit to newfaggot breed

File: image.png (477 KB, 1112x816)
477 KB
477 KB PNG
>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.
47 replies and 7 images omitted. Click here to view.
>>
>>107631792
yeah and punching holes into cards predates using a keyboard. I don't give a fuck, most applications use C-z. Defending insane defaults for "historical" reasons is just as insane as the defaults.
>>
>>107631893
>insane defaults
There are many bad defaults in Emacs, but this is not one of them. Emacs is made for use in a Unix-like environment, and C-z is what every shell I'm aware of uses for suspending the running app. Same with vim, gdb and a million other apps.
NOT using C-z for suspending would be the poor default choice.
>>
>>107631744
Try this.
(progn
(dolist (b '(" *Echo Area 0*" " *Echo Area 1*"))
(with-current-buffer b
(face-remap-add-relative 'default '(:height 2.0)))))
;; https://www.reddit.com/r/emacs/comments/67npjq/change_the_face_for_the_echo_area/


You can test it by doing:
(message "abc")
;; It should be double the normal size.


Also, just to get our terminology right, the mode line is the line where it says "*scratch* All (2,6)". The line(s) underneath that is called the echo area and the minibuffer uses the echo area to display things.
(info "(emacs) Screen")

https://www.gnu.org/software/emacs/manual/html_node/emacs/Screen.html

Comment too long. Click here to view the full text.
>>
>>107632896
PPS: To change things back to the way they were, use the same progn and set :height to 0.5.
>>
File: emac.jpg (357 KB, 1024x768)
357 KB
357 KB JPG
emac
https://www.youtube.com/watch?v=DMbrNhx2zWQ

File: 1765781629021219.png (461 KB, 700x700)
461 KB
461 KB PNG
Be honest, do you actually use your raspberry pi anymore or was it just one of these "projects" that gets abandoned?
45 replies and 9 images omitted. Click here to view.
>>
>>107630763
https://www.youtube.com/watch?v=CtPHZ5pG6nA

I was inspired by this. My CRT TVs now have 5 channels that show dumb cartoons 24/7
>>
>>107630763

The white one on the left is displaying this in a firefox kiosk from a server I self host elsewhere combined with the wayback machine's weather channel elevator music archive.

https://weatherstar.netbymatt.com/
>>
File: 1737441155573181.png (38 KB, 225x225)
38 KB
38 KB PNG
>>107628221
yea I use it as a lorawan gate and chirpstack + web host
>>
>>107628221
Running every day. k3s running multiple websites, home assistant, DNSCrypt and pihole.
>>
>>107630801
>with the wayback machine's weather channel elevator music archive.

Lol what? For real?

That's a level of autism I've never witnessed before.

File: 20251222_065534.jpg (63 KB, 600x800)
63 KB
63 KB JPG
just added "login with google" to my saas, did I miss anything?
>>
>>107632643
>did I miss anything?
yes. your pride and dignity.
>>
>>107632643
lmao
>>
>>107632643
>Login with your mom
just tried that and it said it's already in use, OP

Are you still with us, Doctor Freeman? Not for much longer I think.
297 replies and 43 images omitted. Click here to view.
>>
>>107618842
i had this screensaver on my xp machine. changing it to red was coolest
>>
>>107621943

Holy mother of based
>>
>>107624431
telemetry depends on what updates you install but i think you can disable all the telemetry in task scheduler or just block them with a firewall worst case.
i ran win 7 for 15 yrs without any security (as in on admin, printnightmare / smb1 enabled etc) only basic updates for games/vsdistribs and a router to protec and nothing happened.

if you want to be safe you can update fully but if you want vxkex then you cant go full esu. either way just get a firewall (simplewall) and secure/disable print spooler (printnightmare) disable smb1 and remote desktop crap for piece or mind.
>>
>>107632779
simplix doesn't apply the telemetry updates but simplewall blocks the telemetry by default anyway
>>
>>107632779
>if you want vxkex then you cant go full esu
what is this nonsense
vxkex works fine with ESUs installed

A complete piece of shit
114 replies and 18 images omitted. Click here to view.
>>
>>107627825
>Why can't you just use the browser?
I could, but the apps are faster and easier to use.
>>
>>107629665
it's the same as the kurobaex app
>>
>>107604558
Chance lives rent-free in Kurobatrannies heads.
>>
>>107618025
>Is there any talent on this board?
Do you really have to ask?
>>
File: 1757178173064160.jpg (65 KB, 640x295)
65 KB
65 KB JPG
>>107627825
Like some kind of animal?

44 replies and 13 images omitted. Click here to view.
>>
>>107630198
>xray cat
>>
i can finaly generate game icon items for placehold while in dev??
>>
>>107629468
BASED
>>
>>107629189
Yak
>>
File: Untitled.jpg (172 KB, 1644x822)
172 KB
172 KB JPG
>>107632926
yes. nano banana pro is a very capable model.

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

Prev: >>107629803

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

>Checkpoints, LoRAs, Upscalers, & Workflows
https://civitai.com

Comment too long. Click here to view the full text.
23 replies and 8 images omitted. Click here to view.
>>
Is julien here? I have a question
>>
>>107632868
>>107632888
>more stolen gens
Tranfag is such a retard, but you'd already know this is you saw the code for his dogshit UI
>>
>>107632917
use schizo bake for your drama, leave cozy bread out of this
>>
So i just tried tranistudio
Well, i tried to, it just crashes when starting
Literal shit
>>
>>107632907
>I have a question
>doesn't post the question
Those people need the guillotine.

File: mckenna.jpg (24 KB, 640x480)
24 KB
24 KB JPG
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 Tor through I2P outproxy or vice-versa or with different anonymizing network overlays. Clients used for browsing are only opened in on-RAM ephemeral qubes with no access to permanent storage. Attack surface is quite minimum since no extra things added like USB mouse 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.

what's your setup like?
17 replies omitted. Click here to view.
>>
>>107630751
>lust provoking image
>>
>>107630751
>Tor through I2P outproxy or vice-versa
How do you set up the reverse, i2p through tor?
My setup is redstaros on, and I connect remotely to private residential machines acting as a proxy chain.
>>
>>107632458
>yes I don't know what it is and here's more irrelevant text
you mix being smart with being a schizo. you surely are not the former
>>
>>107632651
just select the network qube of the i2p qube to whonix gateway. make sure you have split i2p-server and i2p-client qubes if you absolutely want ->tor->i2p->dest flow
>>
>>107632711
I haven't used qubes but I will look into this, thank you.

>$20/month vs $1,500–$3,000 upfront
>No drivers, no Windows bloat, no upgrades
>Runs max settings on a Chromebook / junk laptop
I might just cancel my plan to buy a new gaming pc after my last ones motherboard got fried.
46 replies and 4 images omitted. Click here to view.
>>
>>107632577
>What's their endgame here?
They keep telling you over and over again and you call anyone a schizo that quotes them.

>Maintain humanity under 500,000,000 in perpetual balance with nature.
10-50 slaves for every richfag
>Guide reproduction wisely – improving fitness and diversity.
Eugenics. No breeding for poorfags. No sex either.
>Unite humanity with a living new language.
Control thought through new language and hide real history from the slaves
>Rule passion – faith – tradition – and all things with tempered reason.
Rule with an iron fist.
>Protect people and nations with fair laws and just courts.
New world court. All nations/peoples follow our laws instead of their own.
>Let all nations rule internally resolving external disputes in a world court.

Comment too long. Click here to view the full text.
>>
>>107631635
>$20 even 12 months later
You don't get it, when streaming becomes the only reasonable option, the leatherman will increase the price.
>>
>>107632624
To be fair with the first point it is true there are at least 7 billion people too many on the planet.
>>
>>107632657
>There are too many people on the planet
>Most of the land is deserted
Step outside of your city sometime and witness the endless fields and wood land where no one is walking around.
>quote guidestones
>captcha suddenly goes full retard
pottery
>>
>>107631613
If you live close to the data centers its not bad. The start-up times are kind of ass though. You are going to be waiting an additional 30sec-1min just for the game to start loading. Other services were faster loading games, but had worse latency. This or shadow is probably the best. I prefer onlive or googles version though.

They really should really start making streaming only games for one service. Then the devs could shit up one set of hardware and make updates and patches easier. I'm really surprised someone has not done it with a sequel to an mmo yet. Game streaming and "live service" games go together and seems like an obvious move to me.

File: 1741359969327062.png (205 KB, 1080x1353)
205 KB
205 KB PNG
Anna's Archive backed up around 300TB Spotify (metadata and music files). And they are going to distribute it through to torrents.

https://annas-archive.org/blog/backing-up-spotify.html
177 replies and 8 images omitted. Click here to view.
>>
>>107619262
Not going to lie, this announcement didnt particularly catch my attention nor did I find it interesting at first... But, seeing how much stir it has caused among our retarded frens from Spotify and private trackers, I will try to seed it as much as I can. Loved seeing so many faggots seething here.
>>
>>107632136
>private trackers
They seethe about it because its format is too low quality to be allowed to upload on private trackers.
>>
>>107628123
khz and kbps isn't the same thing numbnuts
losslessly compressed 24 bit 192khz alac is an order of magnitude higher bitrate
>>
There is a way to block the ads on the application?

Not paying a cent to those jews.
The website ads can be blocked.
>>
>>107632891
https://github.com/SpotX-Official/SpotX

File: banner.png (69 KB, 1873x398)
69 KB
69 KB PNG
Python, one of the very few modern & popular programming languages not owned by big tech, is now begging hard for money at python.org (picrel), Wikipedia style.

This comes after the PSF rejected an US government grant because the PSF can't stop shilling for DEI: https://developers.slashdot.org/story/25/10/28/211237/python-foundation-rejects-government-grant-over-dei-restrictions
The same PSF then reported a surge of new donators following the above rejection: https://developers.slashdot.org/story/25/11/09/2017240/python-foundation-donations-surge-after-rejecting-grant---but-sponsorships-still-needed
Yet, they are now begging for money, using a big, intrusive and cringe banner at python.org, kek.

This is what your donated money is used for: https://www.python.org/psf/grants
>Conferences (e.g. PyCon Italia)
>Event site subscriptions (Meetup.com) (e.g. London Django Meetup)
>Django Girls Workshops (e.g. Django Girls Busan Workshop)
>PyLadies Workshops (e.g. All Day PyLadies Workshop)

These faggots have a whole page dedicated to their DEI philosophy: https://www.python.org/community/diversity
Their Libera Chat #python IRC channel is filled to the brim with trannies (they/them and she/her pronouns set as their IRC name).


Comment too long. Click here to view the full text.
73 replies and 11 images omitted. Click here to view.
>>
>>107609034
>USAIDS finished
>software (((foundations))) start begging for money

How many colored people and trannies are inside PSF?
>>
>>107626985
>How many
100%
>>
>>107626985
You can easily check this out
>1) Open https://web.libera.chat
>2) Set channel to #python
>3) Start checking their set IRC names for pronouns
4) (Optional) Compare the nicknames with known VIP within the project and the PSF
>>
I reckon they might even consider replacing The Zen of Python (import this) with a tranny manifesto.
>>
>>107632064
lol

File: maxresdefault.jpg (215 KB, 1280x720)
215 KB
215 KB JPG
>3 Game & Watch from a Flea Market
Can she fix them?
167 replies and 37 images omitted. Click here to view.
>>
File: 1757591977765.webm (3.87 MB, 1080x1920)
3.87 MB
3.87 MB WEBM
>>107632479
Moist. Damp. Steamy.
>>
>>107629465
>>107629527
>>107630624
>>107632507
Dubious this is her.

>>107630050
>>107631409
>>
File: 1745709572978.webm (3.74 MB, 1080x1920)
3.74 MB
3.74 MB WEBM
>>107632702
>>
File: 1766410811.png (19 KB, 348x353)
19 KB
19 KB PNG
ultimate surrender
>>
>>107629465
>>107629527
>>107630624
>>107632507
>>107632787
dammit, she posted one clip and never did a follow up video.


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