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


File: 1771704374136986.jpg (204 KB, 2048x1798)
204 KB
204 KB JPG
You guys code anything cool recently?
>>
>>108543597
Nope.
>>
i did some personal projects this weekend that were mostly duds. i was playing around with agents to see if the hype is real. im somewhat impressed with the first 90% of what it does, but the last 10% is where these things really seem to fail desu. and you end up with a non-professional looking product. i think coding by hand is more fun and better end result.
>>
>>108543597
for something along the lines of six or more years I've been trying to come up with a better parser and every single one has worse cyclomatic complexity
so, no, not at all
>>
>>108543597
Nope.
>>
>>108543668
>parser
I meant lexer because I'm fucking retarded
>inb4 just use literally any tooling that already exists
20% of the time I don't even remember what I'm doing this for except that literally any solution besides inliing
strcmp()
is somehow worse
>>
File: I'm a bum.png (395 KB, 918x698)
395 KB
395 KB PNG
>>108543597
I tried to write a 4chan screencap program. Desuarchive started using cloudflare and raped my entire project.
I wrote another program which got a some attention but it has a really complicated issue that I am not able to fix.
tldr: No
>>
>>108543706
you can just get a screenshot from a browser console, you know that, right? use --fullpage
>>
>>108543723
That program was way more complex than a simple single screenshot you stupid nigger.
>>
>>108543748
you didn't specify any of those things because you're retarded and I'm gonna guess it probably just columnates screenshots. if you had any brains you would know that you can get GIMP to do that
>>
>>108543762
bodied that freak
>>
>>108543597
No and I’m dreading going back to work tomorrow. Working in Shython already sucks, but it sucks about 10x more working with people for who “it works” is their measure of success. Who cares if it’s literally the worst fucking code in the world right? All the services I’ve built are works of art (they aren’t) in comparison.
>>
>>108543781
lot of ignorant anti-social wannabes try making programming into their own special little competition because they're otherwise incompetent and absolutely completely worthless outside of being a try-hard elitist mongoloid on internet forums
>>
>>108543762
No you vantablack gorilla nigger. Of course I didn't write and entire program to do something that could be simply done with GIMP or a simple screenshotter. The problem with people like you is you assume others are at your level because you can't comprehend any better.
>>
>>108543706
I think you can bypass it, no? There's this software people use to get to their torrents. They are not the type to give fucks about loicenses and terms of service. They have a containerized up you can run. I'm not 100% sure it will suit you, but worth checking it out. It's called Bypaarr. Or something like that. Lot's of rrrrs.
>>
>>108543810
You are very competent at gay buttsex. Perhaps a technology board isn't for you.
>>
>>108543804
I imagine you are at least in some part maintaining those atrocities and I'm not gonna lie there's no reason for people making (and shipping) dogshit fucking code they pray they are not ever going to have to touch again. lot of lazy and inconsiderate people out there with total shit-for-brains who even at least half of do it on purpose. while it's pretty obvious you shouldn't stoop to their level, just don't be that guy who gets siloed because you're (probably) the only half-decent one on your team (at a minimum) and be picking up all the nonsensical drivel their profound retardation churns out constantly. if you can, and those people ask you or your manager asks, teach them how to do debugging instead of fixing it for them
>>
>>108543810
I'm a huge fan of people like that. They always inspire me to try harder and be better. It is never enough, just like it is impossible to reach perfection. But does it meant one should stop trying? Fuck no.
>>
>>108543812
>you assume
are you assuming I know diddly squat about your worthless fucking 4chan screenshot program?
random anon #108543812's dunning-kruger effect is in full force today
>>
>>108543830
Can't find anything to bypass it. I could also leave the captcha solving to the user but I don't want to run an entire browser just to simulate an http request. If anybody can give me the details of a workaround it would be deeply appreciated.
>>
>>108543863
>I don't want to run a browser to do something that browsers were created for in the first place
damn nigga you're SIMULATING requests and not making real ones? you are a bright motherfucker, aren't you? are you really too stupid to know that phantom.js exists and that people have been using it since last decade?
>>
>>108543859
Of course you wouldn't know the specifics of it. But any person with double digit IQ would have the common sense to understand someone won't go through the effort to write code to do something so basic.
>>
>Professor assigns multiple coding projects for a class, one is to make a Sudoku game
>Code it in SFML because I want to learn that
>It takes more time than required because the professor has extensive requirements for the project and I was having trouble understanding the code logic I needed and had to debug everything
>Turn it in last second, there's still stuff missing but I'm out of time
>Get a 70% on the project
>Late turn-in deduction brings it down to a 17%, earning 3 points out of 20
Maybe I should just stop coding.
>>
>>108543878
I don't know how long you've actually been using this website or actually been involved in programming communities except that if you have at all you would find out there is literally any amount of mouthbreathers (not unlike yourself) who actually reinvent the wheel on a daily basis AND ask stupid fucking questions about doing it.
>>
>>108543863
> I don't want to run an entire browser just to simulate an http request
Hm, yeah, it probably does that under the hood.
>>
>>108543885
for college work you really should just use python if you have the option.
>>
>>108543597
I've had multiple attempts throughout my life trying to learn to code and this is one of them. I'm wondering when I actually get to try to code so these fucking definitions stick and not just reading a bunch of jargon that I have a hard time remembering or associating with it's actual use. How many time will "Hello World" be prompted and I actually learn what is going on and not just told to copy/paste like a fucking dickhead. Could the people who teach this shit not just make drills for me to type even if I don't compile anything?
>>
>>108543927
I do have the option I'm just more familiar with C++. Most people in the class are using Godot, as far as I know. I'm just depressed that for all my effort to understand and code everything submitting it late shaved it down to a 17/100.
>>
>>108544893
Yeah Godot or Python are better for prototyping and school assignments. Really easy to get something up and running quickly which will save a lot of time. If you know C++ you know Python and GDScript, try one out next time and see if you like it.
>>
>>108544893
you mean to say that you didn't procrastinate and didn't ask for an extension or go in to office hours? somehow you're still disappointed by not even trying? weird.
>>
>>108544967
I've used Python extensively before, I just don't like how imprecise it is compared to C++. And GDScript is foreign to me, I hadn't used Godot at all before this class, and the professor did not teach us how to use it.

>>108544974
>somehow you're still disappointed by not even trying?
Where the hell did you extrapolate that from? I worked on it constantly throughout the assignment period, I just had to split my time between the 7 different projects I had at once (3 from this class alone, simultaneously) and needed to work through the extended late period to finish it.
>>
>>108543597
I wrote a little algorithm that controls a dot that wanders around the window. I was going for 'cute like a robot vacuum ' but it gets stuck in corners a lot.
It's eventually going to be the basis for a simple npc ai thing for muh gaymes.
Nothing fancy, but it's been fun messing with.
>>
File: bubble_and_metal.png (911 KB, 1075x969)
911 KB
911 KB PNG
bubble text and metal text plugins for GIMP 2.10 and GIMP 3+, they work non-destructive in GIMP 3.

https://gimpchat.com/viewtopic.php?f=9&t=22144
https://gimpchat.com/viewtopic.php?f=9&t=22145
>>
>>108543597
I'm making an interpreter in OCaml.
>>
>>108544992
why don't you stop comparing and try harder next time faggot
>>
>>108544992
you don't get a 17/100 by trying. I extrapolated that you didn't go to office hours.
>>
>>108545331
I will. Nothing more I can do for it now. It just wasn't the results I was hoping for.
>>
>>108543874
>He doesn't understand the costs of running an entire browser under the hood vs an http request
What is it with the browns on this site today?
>>
>>108545409
>is running an entire browser to shitpost on 4chan
wow imagine that another incoherent piece of white trash
>>
>>108543597
Yes.
>>
>>108545355
nta
you could still have gone to your TA or to your instructor's office hours to discuss your grade
realistically, 80% of college or university instructors aren't interested in flunking people, (You) included. it's probably been like 2-6 weeks after you turned in your assignment and it's too late now, but you could've showed up and just said "I want to discuss my grade for the sudoku assignment/project" then either explained where you were at throughout the project or gotten a better explanation for where your grade was made at. I used to miss exams (during night class no less) and show up for office hours to take the test I missed before having a conversation unrelated to the assignment, I was offered so many times to be a lab assistant, told I should be doing something like writing curriculum, getting into different programs, extracurricular activities, tutoring, jobs, all sorts of things just because I happened to be talking to people, one of who was also my advisor. people really don't gravitate towards doing education for a living to make things harder on people unless you're talking about bottom of the barrel educators who are stuck teaching high school forever because they're basically incompetent anyways. people who actually are doing and actively choose education for a job might be a little uninformed compared to industry jobs, but they're there to help as long as you aren't way off wasting their time.
>>
our bingo machine broke so i wrote a bingo game on bash so we could play last christmas
>>
>>108543597
I coded a Karafun clone.
>>
>>108543597
I coded a sweet alias for my bashrc.
>>
>>108546022
I'll talk to him tomorrow, I submitted the assignment a couple weeks ago but he just graded it yesterday. Most of the points lost are just because it was so late.

>I was offered so many times to be a lab assistant, told I should be doing something like writing curriculum, getting into different programs, extracurricular activities [...]
Funny enough in a class a few years ago I got caught for cheating on a really easy, early exam because I thought it was a no-brainer and didn't study like a bonehead, then got caught with my pants down when the professor didn't give us an easy exam. Canvas reports clicks and that professor checked every student who clicked outside the exam window and called us up. Got grilled over it but was given an opportunity to let it slide if I worked hard, and it lit a fire under my ass to do the best I possibly could in that class. By the end of it the professor offered me a spot as a TA in it because he liked my progress so much. Never had that happen before in my life.
>>
>>108543597
c-like coompiler from scratch in c
this will let me self-host my coompiler ez since the code is already mostly coompileable with minor syntax tweaks
>>
>>108543597
just lots of AI assisted stuff, I'm decompiling a game and it's actually turning out allright
>>
>>108543597
>You guys code anything cool recently?
I am coding my 1 million dollar app and I won't tell you what it is. I won't open source it either because of you neets and leechers, make your own stuff
>>
File: 1000007385.jpg (28 KB, 550x472)
28 KB
28 KB JPG
>>108543597
I've made the world's first humanoid robot ride a scooter and that made me like 50 views on YouTube. Cool right?
>>
I can't think of anything useful to code and it drives me crazy
>>
>>108543597
Every single idea I could come up with has already been implemented by someone else, so why bother? Even for non-lucrative purposes, there's no reason to try at all since people will just assume that an agent did that for you.

Programming is a solved problem, time to move to different areas.
>>
>>108546410
you need a 17" laptop and a 12" laptop. 17" laptop boots wangblows for tests and the 12" laptop runs whatever you want. remote into the 17" laptop from the 12' laptop while stacking both and you'll basically never have that problem again
>>
>>108547271
Work on your clickbait and thumbnail game. YouTubers will constantly tweak that shit after uploading to minmax.
>>
File: 1761475999294363.jpg (87 KB, 956x1024)
87 KB
87 KB JPG
>>108543597
undetectable antikick

local code = [[
local game, pcall, type, hookfunction, getrawmetatable, getnamecallmethod, error = game, pcall, type, hookfunction, getrawmetatable, getnamecallmethod, error
local function checkparallel(str)
local isparallel, err = pcall(game.GetService, game, 'Workspace')
isparallel = not isparallel
if type(err) == 'string' and type(str) == 'string' then
err = err:gsub('ServiceProvider.GetService', str)
end
return isparallel, err
end

local LocalPlayer = game:GetService('Players').LocalPlayer
local namecall; namecall = hookfunction(getrawmetatable(game).__namecall, function(self, ...)
local method = getnamecallmethod()
if self == LocalPlayer and method == 'Kick' or method == 'kick' then
local isparallel, err = checkparallel('Player.Kick')
if isparallel then
error(err)
end
return
end
return namecall(self, ...)
end)
local kick; kick = hookfunction(LocalPlayer.Kick, function(...)
if select(1, ...) == LocalPlayer then
local isparallel, err = checkparallel('Player.Kick')
if isparallel then
error(err)
end
return
end
return kick(...)
end)
]]
loadstring(code)()

if run_on_actor then
for _,actor in getactors and getactors() or game:QueryDescendants('Actor') do
run_on_actor(actor, code)
end
local added = on_actor_state_created or on_actor_added
if added then
added.Event:Connect(function(actor)
run_on_actor(actor, code)
end)
end
end
>>
Tips and reminders at intervals, for use with a twm.
start w/ something like: tipremind -s 3m
#!/usr/bin/env bash
while [[ $# -gt 0 ]]; do
case "$1" in
-s|--start)
(
exec -a tipremind bash -c '
while :; do
notify-send "$(cat ~/.config/i3/tipremind.txt | shuf -n 1)"
sleep "'"$2"'"
done
'
)
;;
-a|--append)
rofi_input "reminder" >> ~/.config/i3/tipremind.txt
;;
-l|--list)
cat ~/.config/i3/tipremind.txt | nl -ba | rofi -dmenu -p reminders
;;
-d|--delete)
linenum=$(cat ~/.config/i3/tipremind.txt | nl -ba | rofi -dmenu -p reminders | awk '{print $1}')
if [[ -n "$linenum" && "$linenum" =~ ^[0-9]+$ ]]; then
sed -i "${linenum}d" ~/.config/i3/tipremind.txt
fi
;;
esac
shift
done
>>
>>108550716
needs rofi_input
#!/bin/env bash

rofi -config ~/.config/rofi/input.config.rasi -dmenu -p "$1"
>>
>>108543597
I want to host a forum but:
A) I'm not entirely sure it's a good idea for me since I don't like managing things
B) I have a lot of custom things I want to implement but it takes skill I don't have
>>
>>108550856
I've thought about this too and I think the biggest issue is that if you allow images you have to have some way to prevent CP posting or the whole site will just end up being CP spam.
>B) I have a lot of custom things I want to implement but it takes skill I don't have
You can always just learn. There's never been an easier time to learn, even.
>>
>>108543597
Claude did it for me. I love being so based.
>>
>>108543597
no. I am just rewriting a bunch of CSS to use grid system because idk, why not.
>>
>>108550920
There is also the problem of cost:
+maintenance
+moderation
+data back up
+hosting cost
overall I think I'd need like 200$ a year to run it smoothly.
I don't want to make money from it since it's mostly a hobby thing, but I would probably require some donations if it ever got enough traffic.
>>
>>108550856
>I want to host a forum but:
ask yourself if it's better than just running a 'cord "server"
I know people shit on stuff like the 'cords, but it's free and powerful enough for your chatting needs. what specifically do you want from a forum other than some kind of semi-permanence in posts? also as you say, you still need to pay to run it.
>>
>>108551041
I care about ownership
I also care about customization (specifically being able to deliver a good custom experience to users)
both are not possible with Discord
>>
>>108543597
31k lines of code of pure nothing, if you find this cool drop you email and i will make you work for me without getting paid :/
>>
cycleswap [next/prev]

https://codeberg.org/problems_available/i3_config/src/branch/home/scripts/cycleswap

cycles through all windows of the same class, swapping the next/prev window with the focused window.
>>
>>108551090
It was like pulling teeth to get grok to do this for me. I don't know python.
>>
>>108543597
I did a yt-dlp firefox/chrome extension but it's vibe coded so...
>>
>>108551090
It's actually impressive how many times ai is doing the exact fucking opposite of what I ask it to do.
>>
>>108543597
currently vibe coding a little music-related side project. hopefully a recruiter notices it on my portfolio when i apply and i can get a job :)
>>
>>108543885
Last-second doesn't mean late, it means right before it is due.
>>
>>108551090
Never using grok again. No matter what this shit just bounces between two windows. It should be as simple as storing all the window id's of that class in array, storing the swapped out window in the array, and never using that window id as the swapped in window, but I don't know python. I'll have to try this again later in something not gay or indian.
>>
>>108551785
storing the swapped-out window in a state file*
>>
>>108551729
I meant last second before the assignment closed and I couldn't submit anything. And I talked to the professor, he's not reneging on the grade, but he also said he's not in the business of giving Fs, D, s, and Cs to students who are actively attending and coding, so his advice to me was to put the grade behind me and focus on future projects, because he takes all that into account at the end of the semester, so one bad grade will come out in the wash as long as I keep progressing.

So thanks anons for the advice. Helped me keep my chin up.
>>
My GNU Make clone passes all but 9 of the 1300+ GNU Make tests.
>>
>>108554287
*8 now.
>>
File: wise_pepe.jpg (131 KB, 794x675)
131 KB
131 KB JPG
>>108543885
I hope you learned something. Is extremely common for projects to go massively over budget due feature creep. Never underestimate how much extra work is needed.
>>
>>108554391
6 now.
>>
>>108554457
4 left.
>>
File: PepeCryingStop.png (110 KB, 400x400)
110 KB
110 KB PNG
>>108543597
I vibe coded a calculator. Now the bridge I designed collapse. I'm currently being sued by the families' of the victims.
>>
>>108554630
>vibe coding makes dumb mistakes!
Human coders are even more retarded, anon. Not you, of course, your shit is all hand-optimized assembly that yet somehow has an artists' touch.
But NASA lost a probe for failing to convert inches to centimeters. Mistakes will happen.
In fact, no one could call it "artificial" intelligence if it wasn't trying to copy dumb stupid retarded humans
>>
>>108554602
3 left.
>>
>>108543597
knowledge
>>
File: Man In Black Fedora.jpg (197 KB, 900x1200)
197 KB
197 KB JPG
>>108554771
Did it make you feel euphoric, anon?
>>
>>108543597
>coding
Rapidly becoming a redundant skill to have and upkeep. Im just waiting for ai tools to get even better to the point where I just show it pictures of things I want to make and it just codes it all for me.
>>
>>108554766
1 left
>>
>>108557018
Now is actually a good time to have coding skills since the AIs cannot do that yet. May be a short window, but as long as they need detailed prompts and babysitting people who know how to program are the ones to do it.
>>
>>108543885
Here's some early wisdom. Coding always takes longer than expected. You can get a feel for how long it will actually take once you start.
So always start class projects the day they are assigned and then schedule from there.
>>
>>108543597
Gemini coded something cool for me
>>
i have never once had a cool idea that i would like to program that doesnt already exist. i went to school for it and have a job in it and ive only ever implemented things ive been told to
>>
>>108558642
Me either, but I still enjoy learning how cool things work. Which is why cloning GNU Make has been cool even if I'm not inventing shit.
>>
>>108558642
>>108558523

check it out, idk why non of you asshole reply but ok, you will probably just tell me I dont know what I am doing and its going to fail etc...what support do I expect from humans,,,,but ok....

you can do something to not pay an existing utility
>>
>>108543597
Yeah, at work. Can't talk about it sadly.
>>
File: EfXCE01UYAA8csO.jpg (41 KB, 798x644)
41 KB
41 KB JPG
>>108543597
>Coding outside of work, or """"Contributing"""" to open source
>>
>>108558740
>he thinks that's a cringe hobby
>has ponies in a cum jar
>>
>>108558672
Isn't SoundFlower already free?
>>
>>108558528
Done. Clone passes test suite.
>>
>>108543597
Prompt: "Code a infallible path to God."

Response:
"Infallible" is a dangerous word here. Any method you can code belongs to the mind-and the mind is exactly what fluctuates, distorts, resists, and claims progress when nothing real has changed. So if you're asking for a guaranteed technique, that doesn't exist.
>>
>>108559220
while (belief_in_separation == true):

notice(thoughts, reactions, judgments)

if (judgment arises):
do_not_follow(judgment)
do_not_justify(judgment)
release(judgment)

choose(peace_instead_of_being_right)

extend(non-attack, non-grievance, honesty)

remember:
nothing_real_can_be_threatened
nothing_unreal_exists

end

return awareness_of_what_was_always_true
>>
Yea, a chat UI frontend + API gateway/server with a bunch of different functionality.
essentially something close to a notebookLM but local/opensource and more features/stuff

https://github.com/rmusser01/tldw_server
>>
>>108551412
>>108551653
>>108554630
Ropes. Necks. Now.
>>
>>108550923
You are not based. You are a subhuman nigger and you should kys.
>>108551273
You could've just done it yourself. It would've been much easier. But vibe """coders""" love using chatbots to do everything for them.
>>108551785
>Never using grok again.
You shouldn't have in the first place.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[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.