← Home ← Back to /g/

Thread 105713933

298 posts 62 images /g/
Anonymous No.105713933 [Report] >>105714591 >>105720168 >>105722417 >>105727520 >>105735587 >>105758773 >>105764087
wdg/ - Web Development General
Clown that teabags people in their sleep edition

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your friend for web dev fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS
https://roadmap.sh/roadmaps?g=Web+Development - Guided beginner roadmaps

>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go

>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related

>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue

/wdg/ may or may not welcome app development discussion. You can post and see what the response is.
Some app technologies of course have overlap with web dev, like React Native, Electron, and Flutter.

We have our own website: https://wdg-one.github.io

Submit your project progress updates using this format in your posts, the scraper will pick it up:

:: my-project-title ::
dev:: anon
tools:: PHP, MySQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: https://desuarchive.org/g/thread/105639325
Anonymous No.105713954 [Report] >>105714039
If I make a video series on learning c++23 coming from Javascript and webdev, and go into building a webserver with UWS and an ORM in a familiar way for express users, would any one be interested?
Anonymous No.105714010 [Report] >>105714042 >>105714068 >>105714117 >>105722360 >>105765730
Why isn’t there a comprehensive course or book or guide that teaches you how to:
- set up a linux server
- make static website
- deploy that website on said server
- make a webapp from the ground up like that Steve Huffman’s udacity web dev course
- including login, security, database, search, comments, etc.
- and deploy that website to the server
?
The stuff available are always about this and that frameworks, and expensive deployment on a sass/pass.
Anonymous No.105714039 [Report] >>105714048
>>105713954
You’ll get a few hundreds views. Unless you fill it with memes and quick cuts. It also helps if you’re white, handsome, funny and have a pleasant voice.
Anonymous No.105714042 [Report] >>105714068 >>105765932
>>105714010
Traversy Media has a bunch of courses like that...
Anonymous No.105714048 [Report] >>105722663
>>105714039
I'm all of those things but I don't want to do quick cuts and memes. Can I just be racist?
Anonymous No.105714068 [Report] >>105714102 >>105765932
>>105714010
And every time you ask this question you’ll just get an ad like >>105714042 . I’ve seen many threads on social media wanting the same thing, and the responses are usually ads for random courses.
Anonymous No.105714102 [Report] >>105714145 >>105765932
>>105714068
>why aren't there any courses that do x
>y's course does x
>why are people shilling courses

Yeah you're a fucking retard.
Anonymous No.105714117 [Report]
>>105714010
Digital Ocean guides -> MDN -> translate that Udacity course to your preferred web app framework -> google the login and stuff -> more Digital Ocean guides.
Make a youtube video teaching people this. Get 20 cents.
Anonymous No.105714145 [Report] >>105714192
>>105714102
kys, shill
Anonymous No.105714192 [Report] >>105714383
>>105714145
Don't ask for courses if you don't want courses suggestions you retarded nigger. If you need a course to set up a linux server and do some static html you're already fucked.
Anonymous No.105714383 [Report] >>105714479
>>105714192
Don't shill your course.
Anonymous No.105714479 [Report]
>>105714383
Travery Media has a URL that's been in the OP for years... he's pretty much the biggest web dev channel on YouTube you retard. Short of fireship maybe but it's more of a summary channel than course channel.

Point being you asked for a course and you're a retard.
Anonymous No.105714591 [Report] >>105714666
>>105713933 (OP)
What does a teabagging clown have to do with web dev
Anonymous No.105714666 [Report] >>105714778
>>105714591
It's a metaphor for react. It's made by clowns but webdevs still let that clown put their nutsack all over them by using it.
Anonymous No.105714778 [Report] >>105715302 >>105732336
>>105714666
What's so bad about React? It works and it's easy to use. I've heard that other frameworks are faster and/or smaller but I can't really be bothered to learn niche frameworks that aren't going to open any new job opportunities.
Anonymous No.105714823 [Report] >>105715539
Guys im using css rule nesting and it feels so cool!
Anonymous No.105715302 [Report] >>105715944 >>105728977 >>105732336
>>105714778
Use solid, alpine, svelte, astro, or even htmx a single time and you'll know how shit pre-2020 frameworks are.
Anonymous No.105715539 [Report]
>>105714823
It's about fucking time. Devs have been asking for this shit for 25 years.
Anonymous No.105715944 [Report] >>105717849
>>105715302
I'll just keep using React because:
(a) it just works
(b) it's easy to use
(c) jobs want React skills so I think it makes sense to keep practising with React
Anonymous No.105717849 [Report]
>>105715944
>20 steps that should be one
Anonymous No.105718494 [Report]
What's the work flow for creating a good ssr/ssg in astro for SEO but is also a SPA?
Anonymous No.105719375 [Report]
finally got my docker shit sorted after like 10 hours of trial and error + googling + getting help from deepseek. finally get to work on the fun stuff tomorrow
Anonymous No.105720158 [Report] >>105743895
Have you guys used Komodo? I'm looking for impressions online but there aren't that many. It seems to be a great alternative to Portainer though.
Anonymous No.105720168 [Report]
>>105713933 (OP)
Me on the bottom
Anonymous No.105720881 [Report]
tailwind is based
Anonymous No.105721390 [Report]
Bulma is better than tailwind
Anonymous No.105721552 [Report] >>105721839 >>105721856 >>105721960
>have job
>applying for new ones
>job has my very specific stack php, python, react-native.
>probably less than 1% of devs have all of that
>have 10 years of experience, job requires 8.
>specifically wants to know experience implementing AI.
>Have built more AI implementations than probably anyone in the world. Have literally used every tool and built everything. I have tools where you can build entire videos with just a subject and it generates a script, segments, creates text to speech audio with elevenlabs, measures duration of clip, generate images then animates with image to video such as kling, then uses whisper for timestamping audio and generates captions using ASS. That's just one AI thing. I have over a dozen launched AI products and AI-enhanced products utilizing everything. Tool-calling, mcp, rag, everything.
>submit resume
>"Sorry, we have decided not to move forward with your interview process"

Like what the fuck is going on? Not even an interview?
Anonymous No.105721591 [Report] >>105721893
>got called out for being slower than vibe coders by my manager
Owari Da
Anonymous No.105721839 [Report] >>105721893
>>105721552
you're probably overqualified
Anonymous No.105721856 [Report] >>105721893
>>105721552
We should get all the anons together that are sick of the tech world and start a free lance agency that uses modern bloat free tech stacks like astro.
Anonymous No.105721893 [Report] >>105721914 >>105721924 >>105722335 >>105723708 >>105728924
>>105721591
my team is AI-retarded.
I'm over here using claude code and cursor. One on the team discovered copilot finally and the other pastes code into chatgpt.

>>105721839
requires 8 years, have 10. I think it's because I don't have a degree and HR is now probably under orders to not hire people without one as a filtration mechanism for the massive influx of entry-level candidates and potential interview cheaters.

>>105721856
What I've been doing is just building apps with the boys. crank out a new app, post it on socials, repeat.
Anonymous No.105721914 [Report] >>105721962
>>105721893
>cursor
is cursor that good?
Anonymous No.105721924 [Report] >>105721962
>>105721893
You wouldn't happen to work in crypto would you?
Anonymous No.105721960 [Report] >>105722057
>>105721552
well senpai, help me out, how do I AI max? I'm building an alexa using python, it is in fact built, but I'm using some libraries, and I suspect some are literally google services, specifically the voice to text one. can I ungoogle my shit? is python ok for this job (the job is done) or should I do it in C#, java, node? What's your take pham?
Anonymous No.105721962 [Report] >>105722003 >>105722008
>>105721914
The quality of cursor has really degraded in recent months, but if you're coming from a regular IDE then it's still an upgrade.
Claude Code is the new magic. I use it for large edits, then cursor for small edits. Claude Code with opus will one-shot even large infrastructure additions.

>>105721924
Not unless you give me a referral. I'm in general B2B SaaS territory.
Anonymous No.105722003 [Report]
>>105721962
>B2B SaaS territory
ah, fukken paradies
Anonymous No.105722008 [Report] >>105728930
>>105721962
I was working with two guys in crypto and one guy suggested using Claude with cursor, it was a small app with the boys. I was just copy pasting shit into GPT lmao so thought there was a slim chance you were the Claude and cursor guy. I met one of the guys in a 4chan community so the chances seemed not zero.
Anonymous No.105722057 [Report] >>105722090
>>105721960
I think how a thing is built isn't important until it's bringing in enough money to change how it's built.
There's nothing wrong with google services, especially if it makes you develop faster.
I'd use some onboard speech transcription to detect wakewords then immediately activate a connection with the openai realtime api.
Anonymous No.105722090 [Report] >>105722989
>>105722057
>I'd use some onboard speech transcription to detect wakewords
that's already done
>then immediately activate a connection with the openai realtime api
hmh, I don't follow, in fact for this part I keep using the speech to text and parsing the fuck out of the text to try to translate nigger user babble into actual orders I can execute, in fact this is giving me headaches. I'll try to keep it simple. But building infinite switches and ifs is depressing. How would you go about this?
Anonymous No.105722335 [Report]
>>105721893
It's an issue regarding my retarded pride.
I know more about AI than them, but I don't want to use it and end up a lot of time on dumb CSS shit.
Anonymous No.105722360 [Report] >>105722624
>>105714010
ngmi just ask claude to do a deep research request
Anonymous No.105722417 [Report] >>105724007 >>105724044
>>105713933 (OP)
i think im gonna quit my job to work on ai side projects, my saturn aries 6th house is conjunct neptune and my saturn returnal starts next week so it was meant to be
Anonymous No.105722624 [Report]
>>105722360
Don't bother the guy is a fucking retard. He specifically mentioned courses in his post then chimped out when he got a reply about courses.

He just wants to stay bad and make excuses of how it's everyone else's fault he can't learn.
Anonymous No.105722663 [Report] >>105722733
>>105714048
> Can I just be racist?
yes.
Anonymous No.105722733 [Report] >>105722762 >>105722797
>>105722663
>racist
>in tech
>with the trillion jeets
hm, I doubt it
Anonymous No.105722762 [Report] >>105722812
>>105722733
Jeets are more racist than whites. What do you think the caste system is? Darks are at the bottom.
Anonymous No.105722797 [Report] >>105722812 >>105722846 >>105722871 >>105723003
>>105722733
> >with the trillion jeets
Name a single GOOD tech service that was CREATED by jeets?
Apple, Microsoft, Linux, Google, Meta? all created by random white dudes
Anonymous No.105722812 [Report] >>105722823
>>105722797
>moves goalpost
>>105722762
they're literally in bed with the horrid HR lady, good fucking luck with that
Anonymous No.105722823 [Report] >>105722850
>>105722812
> isn't white
Anonymous No.105722846 [Report] >>105722871 >>105730548 >>105771365
>>105722797
I'll do you one better, name a single of those companies that jeet CEOs made better.

Microsoft's windows 11 task bar crashes now because it uses fucking react native.
Anonymous No.105722850 [Report] >>105722953
>>105722823
>implying
Anonymous No.105722871 [Report] >>105730548 >>105771365
>>105722846
>>105722797
Correction, the start menu. Fuck Indians.

https://winaero.com/windows-11-start-menu-revealed-as-resource-heavy-react-native-app-sparks-performance-concerns/
Anonymous No.105722953 [Report] >>105723037
>>105722850
I am both successful and white and in software and racist
And you are not
> implicated
Anonymous No.105722989 [Report] >>105723024
>>105722090
just send it all to the llm in chunks and let it figure it out.
I do something similar for a cheating tool I made. It takes system audio and sends it to the openai realtime api to look for interview questions and responds with answers.

In your case I might have it respond with the inferred question then make a separate request to generate an answer, just that way so you can log it more easily.
Anonymous No.105723003 [Report]
>>105722797
Framework was started by Nirav Patel. He might be American, I dunno, but his heritage seems to be South Asian.

Now stop being racist you silly cunt.
Anonymous No.105723024 [Report] >>105723144
>>105722989
>send it all to the llm
what kind of llm are we talking about here? as of right now I send it to literal ifs and switches that call methods
Anonymous No.105723037 [Report]
>>105722953
I'm all of those things too, and I doubt you are any of them btw. I'm just not retarded the jeets would finish my career in a heartbeat by the reasons I've already stated
Anonymous No.105723077 [Report] >>105723098 >>105723116 >>105723131 >>105723134
Anyone who works in tech who is also racist, I just assume they're a failure

Is Zuck racist? Bill Gates? Linus Torvalds? I don't think so. They might have some faults but I don't think they're racist.

The first example of a racist programmer who comes to my mind is Curtis Yarvin. Is he successful? Not really. He is known for racism far more than for his tech work.
Anonymous No.105723098 [Report] >>105724070
>>105723077
Zuck is a fraud who got called out by his own employees for not knowing basic HTML a few years ago despite making an empire off PHP. Gates copied another guys OS after his wife told IBM to fuck off so they went to Gates instead.

Terry Davis outperforms both of those retards and you're a fucking nigger
Anonymous No.105723116 [Report] >>105724070
>>105723077
Brendan Eich. Creator of Javascript for Netscape. Founder of Mozilla and now Brave.

Take a look at why he was ousted from Mozilla. Dude is based and redpilled.
Anonymous No.105723120 [Report]
see where that takes you stupid nigger? racism vs anti-racism, all because you're too niggerbrained to adapt to the environment, the jeets got the horrid HR lady kidnapped, be racist then I fucking dare you, all because you're niggerbrained and can't stop screeching about how you're le based racist. so I'm I, but the difference is I'm not a nigger brained retard, see?
Anonymous No.105723131 [Report] >>105723150
>>105723077
true racists come from impoverished families and racism is the easiest way to control lower class people since they have nothing to be proud of apart from things they were given by the elite like their national/ethnic identity
Anonymous No.105723134 [Report] >>105724070
>>105723077
Any normal white person is racist by simple virtue of being exposed to other races. They just hide it because they have to.
Anonymous No.105723144 [Report] >>105723166
>>105723024
I'm beginning to think you work at Google Home lol.
Initial thought would be to use real-time api speech to speech but I'm not sure if it allows tool-calling, if it does then use that, delete all those conditionals and feed the functions in as tools. Would be a near drop-in replacement for the conditional logic.
Anonymous No.105723150 [Report] >>105723165
>>105723131
cognitive dissonance. its the rich racist white men.. w-wait no.. it's the poor racist white men.. w-wait ! it's just le bad ok!?
Anonymous No.105723165 [Report]
>>105723150
its poor people.
Anonymous No.105723166 [Report]
>>105723144
alright got it, not I'm not a google employee, it's a side project
Anonymous No.105723708 [Report]
>>105721893
>my team is AI-retarded.
i have a junior that's all in on AI tooling. tries all the new tools as they come out
it's incredibly painful reviewing his PRs, seeing everything clearly AI generated and yet he's still 5x slower than i am, and i generally just use cursor's tab complete instead of agent mode
Anonymous No.105724007 [Report] >>105724784 >>105724870
>>105722417
Could you elaborate? I don't understand shit of what you said. Are you an astronaut?
Anonymous No.105724044 [Report] >>105724784 >>105724870
>>105722417
>my saturn aries 6th house is conjunct neptune and my saturn returnal starts next week
tell us morea bout that
Anonymous No.105724070 [Report]
>>105723098
Was Terry Davis successful? No.

>>105723116
Eich isn't that successful though. The most successful people in tech aren't racist.

>>105723134
Actually it's the opposite. Normal people aren't racist, because normal people function in society, where you sometimes have to deal with people of different ethnicities. If you're racist then you will lose life opportunities.
Anonymous No.105724784 [Report] >>105724905
>>105724044
>>105724007
basically your natal chart in your horoscope has different planets in different signs with different significance. Saturn is sort of the "order, structure, restriction, boundaries" one. These planets have relationships to other planets that impact their effect.

For my chart I have a saturn in aries in the 6th house. The 6th house is where they show up as well that impacts in what domain the energy is expressed.
So I have
>Saturn (restirction/structure)
>In aries (fiery energy, actually puts saturn "in fall" meaning some planets have signs they are naturally good in and other they are naturally bad in. People with saturn in aries will have difficulty with structure because that fiery energy is contrary to the structure of saturn)
>In the 6th house, the house of daily habits, work, that sort of thing.
Meaning my saturn is sort of fundamentally weak but manifests with a fiery energy in relation to work/daily habits.

The saturnal return is every 29.5 years or so saturn returns to where it is on your birth chart, which is considered to trigger radical shifts in accord with it (the specifics depends on your other signs/planets/aspects(the relations between planets))

My saturn is returning (i just realized this after thinking about quitting) next week which means that fiery energy will become intense.
Along with that neptune is in the same place which means the dreamy/spiritual aspect is also playing a role with my saturn. Basically destroying what structure I had and requiring I use my fiery energy to build a new structure in line with my ideals/dreams.

(I didn't know any of the specifics of this before but it and other aspects match up with my shit im working through and if fits perfectly)

Lots of other compleixties with other things saturn/neptune relate with.
two parts are basically
>your birth chart and how things are related
>where are planets now and how do they relate to your birth chart
Anonymous No.105724870 [Report]
>>105724044
>>105724007
i use ai to analyze it and try to get unbiased third parties, this is a result of me just giving it my birth chart + the current transits and no other context
https://rentry.co/i5e6p6hq
I have to quit my job and it will be good for me... this gives me an excuse at least : )
Anonymous No.105724905 [Report] >>105724942
>>105724784
which cultures/peoples came up with these sets of rules?
Anonymous No.105724942 [Report] >>105725090
>>105724905
you can see all this in the greeks/hellenic authors but it goes back to the egyptians and probably pre-history. Everyone throughout history did this until like 100 years ago when people started to consider it occult for some reason.
Throughout medieval times saints would use it, popes would consider it for how they'd construct thing. It's only recently people stopped being aware of it.
Even if you don't think it's real it's at least a very interesting psychological model far more complex and subtle than anything else we have. I find when you actually start looking into it and seeing how perfectly it lines up with things is kind of necessary, it's very easy to oversimplify and mis-represent because it's so complex, and when it's simplified it gets very stupid (like people just talking about sun signs).
Anonymous No.105725090 [Report] >>105725309
>>105724942
any sources to see this in motion?
Anonymous No.105725305 [Report]
Another great /wdg/ thread discussing the most common and advanced issue related to development of web based applications:
> racism
Anonymous No.105725309 [Report] >>105725350
>>105725090
tetrabiblos is one of the classics, there is a ton of stuff that just isnt' translated though sadly. Bits of it were also in all the medican books like galen and it was tied in with the humoral stuff
Anonymous No.105725344 [Report]
There is no reason to use Rust as a web dev and if you do you should feel bad.

>Muh speed
C++ has better performance than rust and closer syntax to Javascript. As well as a way bigger more mature ecosystem
>Muh Memory Safety
C++23 has that too. https://tomaszs2.medium.com/nobody-expected-c-memory-safety-rust-in-trouble-cefb39166923
>but the government said rust better
That was before C++23 don't be a tranny
>but does C++ have any libraries for webdev even?
Yes, uws or uWebsockets is one of the fastest ones out there. The syntax is based on express.js so you'll feel right at home. There's ORMs as well for C++ if you want to feel real familiar when writing your app
>but I don't want to learn a more performant language
That's fine. You can use uws.js to use the uws C++ server from node.js and it still outperforms Rust, it has slight overhead over uws. It is based on express ans there's even libraries made from it like hyper-express to give near identical syntax to express. It is also a websocket server

Tl;dr fuck Rust use C++
Anonymous No.105725350 [Report]
>>105725309
sounds dope, I'm saving this information
Anonymous No.105725897 [Report] >>105733564 >>105737979 >>105738247
I NEED audio autoplay and that's non-negotiable, I don't care what google thinks
Any workaround that still works?
Anonymous No.105725901 [Report] >>105725962
Just did some more work on my PWA lads

Give it a couple months and I'll have made the new Facebook haha

Not really but i can dream
Anonymous No.105725962 [Report] >>105726252
>>105725901
What stack are you using
Anonymous No.105726252 [Report] >>105728357
>>105725962
The GOAT stack (Go And Typescript)
Anonymous No.105727035 [Report] >>105728051 >>105728357 >>105732707
In terms of difficulty:

frontend > *huge power gap* > backend
Anonymous No.105727520 [Report]
>>105713933 (OP)
I need a new job. Feel like I'm getting fired soon after 4 years. Problem is, my coworkers are on my linkedin, which I have no fucking idea why they would add me. To see if I'm looking for another job??

What do in this case? Block every single person from my company? This is a protip btw. I'd block everyone on Linkedin as SOON as you start a new job.
Anonymous No.105728051 [Report]
>>105727035
hosting is the most difficult
>domain name
>vps/vds/cloud
>managing your vps/instance
>email server
>email security, ddos protection
Anonymous No.105728357 [Report] >>105732602
>>105726252
Sounds kind of gay.

>>105727035
And who's fault is that? Web devs overcomplicated their shit on purpose.
Anonymous No.105728924 [Report] >>105730551
>>105721893
how do i add you up? i need some boyz in tech to chat with.
Anonymous No.105728930 [Report] >>105730551 >>105731942
>>105722008
what is a "4chan community". i wanna meet based and redpilled devs
Anonymous No.105728977 [Report]
>>105715302
>svelte
>I made that shit up framework
Shit is all over the place and has no flow. Ass pull after ass pull because they ran into a problem they couldn't solve with fundamentals.

They have to nail the fundamentals first. If they don't their lang is gonna bloat fast.
Anonymous No.105730548 [Report]
>>105722846
>>105722871
WHAT THE FUCK
Anonymous No.105730551 [Report] >>105732143
>>105728924
>>105728930
cmon bros help a devva out
Anonymous No.105731942 [Report] >>105732102
>>105728930
It was synchtube about 14 years ago. Good luck finding a time machine.
Anonymous No.105732102 [Report] >>105732177 >>105736129
>>105731942
thanks taylor
Anonymous No.105732143 [Report] >>105735587
>>105730551
there used to be a /wdg/ discord, if you find it report, I think it was literally /wdg/
Anonymous No.105732177 [Report] >>105732197
>>105732102
When are you getting back on steam? I haven't seen you in like a year.
Anonymous No.105732197 [Report] >>105732219
>>105732177
don't really play any gaymes on Steam, I pirate all my shit lmao
Anonymous No.105732219 [Report] >>105732255
>>105732197
My github got banned BTW in case you're wondering where the project went. I sent you a message saying I was on bitbucket but hadn't seen you online in months and got another job and put it on hold. I took your advice and started learning astro btw
Anonymous No.105732255 [Report] >>105732298
>>105732219
how the fuck do you even get banned off github lmao

Anyways yeah there isn't that much to learn from using Astro. Pretty great framework for building websites, but if it were for a very dynamic app I'd use something else (Next.js, SvelteKit, or raw Vite+React) cause they have routers built in to the framework.
Anonymous No.105732280 [Report]
heh, took me 30 mins just to download 30MB. apparently I'm on dialup now
Anonymous No.105732298 [Report] >>105732322 >>105732332
>>105732255
I called for the country of India to get banned from the express.js repo and started a flame war under my own name. Apparently banning Russia is fine with Github, but when 400 Indians a day were editing the readme.md that was too far. The express creators called me racist and cried.

This dork wrote an article about me.
https://tomaszs2.medium.com/express-js-got-flooded-with-pull-requests-an-idea-to-ban-india-strongly-rejected-96a9ec554661
Anonymous No.105732322 [Report] >>105736129
>>105732298
Oh yeah I remember that. Didn't know you participated in that but I'd fully expect you would kek
Anonymous No.105732332 [Report]
>>105732298
top lmao
Anonymous No.105732336 [Report] >>105732353 >>105732602
>>105715302
>>105714778
For me it's jQuery
Anonymous No.105732353 [Report]
>>105732336
based department?
Anonymous No.105732578 [Report]
I'm really good at animation in packages like houdini, maya, toonboom, etc. I can arrange shapes however I want. I also know enough about code to animate stuff, but I much prefer being able to draw and then interact with stuff, and only *then* add some code if necessary.

I've somehow managed to totally avoid webdev, but now I want to make webpages with animations. I know I could just do a webgl canvas or three.js, but what are my options for SVG animation with just html5, CSS, and JS?

For example, let's say I made a character like this out of SVGs and wanted to animate some loop of her making a gesture or walking or dancing or something. What's the best toolset for this task?

I'm kinda imagining it might be just illustrator to make the SVGs + manually writing a bunch of js for the animations, but I feel like there's gotta be something better.
Anonymous No.105732602 [Report]
>>105728357
What's wrong with Go and TypeScript? Also how do web devs overcomplicate things?

>>105732336
Disgusting
Anonymous No.105732707 [Report]
>>105727035
I used to laugh at this idea in university until I was forced through frontend hell.
Though, everyone just use AI to add animation nowadays.
Anonymous No.105732904 [Report]
for me, it's effect-ts
Anonymous No.105733036 [Report]
Should I even bother manually typing CSS/Bootstrap/Tailwind anymore?
AI can get the job done, and I can just tweak it later.
Anonymous No.105733564 [Report]
>>105725897
Autoplay works after the user interacts with the page first
Anonymous No.105733573 [Report] >>105734054 >>105739842
Why use nginx on top of my nodejs app
hardmode: not for cloudflare-like challenges
Anonymous No.105734054 [Report]
>>105733573
I asked myself that a year or so ago after I started using uws.js instead of express + nginx and the answer was pretty much there is no point. Uws.js is pretty much the fastest standard webserver on the net and has it's own SSL built in. Considering practically every server hosting company you use anymore be it server-less or a VM has it's own built in shit for everything else Nginx does, it's kind of pointless in this day and age. Only thing I could think of is if you're on a home server and serving an SSR and want to reverse proxy the served content forward. I'm pretty sure everyone serves static content through CDNs anymore. But a lot of people use things like Railway or Vercel even for SSR.

https://github.com/uNetworking/uWebSockets.js/discussions/72
Anonymous No.105734183 [Report] >>105734215
Lads, today I invited my family to a good and expensive restaurant. I purposefully told them to order what they wanted no matter if it was a bit on the expensive side. The food was alright, except for 3 things that were really good. But it felt really good to pay the bills for my whole family. Celebrating 2 years of employment and career progress in the same job. Life is good.
I studied a 2 years "trade" in web dev. I grinded like a motherfucker in the studies and then some more at the job interviews, and it paid off.
Disclaimer: the market is extremely fucked and you are not guaranteed to get a job and if you do the future of this field still look cloudy. Regardless here is my story. God speed to all you newbies.
Anonymous No.105734215 [Report]
>>105734183
Congrats on taking your family to Taco Bell retard
Anonymous No.105734922 [Report] >>105735177 >>105735188
Blob or base64?
Anonymous No.105735111 [Report] >>105735164 >>105735172
flexin mah webapp part 3. I added some custom axis helpers, and some bay creation utility tool. Tomorrow I will optimize the solvers, I love my web app bros :3
Anonymous No.105735164 [Report]
>>105735111
>:3
that's roasty and troon territory pham, I wouldn't do that
Anonymous No.105735172 [Report] >>105735453
>>105735111
nigga did you just program a CAD in web? If so I'd suggest completely skipping web dev and going straight to 3d software programming
Anonymous No.105735177 [Report]
>>105734922
blob it
Anonymous No.105735188 [Report]
>>105734922
my job uses base64 for product ID in their API, sloppiest shit imo
Anonymous No.105735453 [Report] >>105735500
>>105735172
you can do this in like ten minutes using some reactive framework + 3.js. you can find any number of oss projects with basic cad capabilities. it's all just 3.js.
Anonymous No.105735500 [Report] >>105735587
>>105735453
it's in my todo list, but "doing nothing at all" is a bigger priority since I have a job, I've done 3D modeling, so it should be fairly simple, if I manage to land a job that pays me to fuck around (those do exist, they give you a day or some hours to do whatever the fuck you want) I might dive in that shit, I made a 2d bouncing ball with simulated physics in canvas, shit was cash
Anonymous No.105735587 [Report] >>105735616
>>105735500
awesome. i did the bruno course on 3.js and it was great, had a lot of fun with it. reason i learned it was to make a procedurally-generated enlightenment-era museum that uses 4chan threads as generators so you can walk into a museum (board), and browse threads live by walking around, see other anons post in real-time. i'll get around to it someday.

>>105732143
i found it. the link is https://discord.com/invite/0qLTzz5potDFXfdT but its fairly dead :(

>>105713933 (OP)
OP why did the discord stop getting linked? I had to find it from a 2017 /wdg/ post https://4archive.org/board/g/thread/60643132/wdg-web-development-general
Anonymous No.105735616 [Report] >>105735661 >>105735849
>>105735587
>i found it. the link is https://discord.com/invite/0qLTzz5potDFXfdT but its fairly dead :(
sad, I barely used it, we should have shilled it more, but never include it in the OP, you know what I mean
Anonymous No.105735661 [Report] >>105752519
>>105735616
>but never include it in the OP, you know what I mean
i really dont lol
Anonymous No.105735849 [Report] >>105735954
>>105735616
Snitchcord isn't trustworthy after what they did to Yuzu. They had no reason to do that.
Anonymous No.105735954 [Report] >>105735968
>>105735849
wtf is yuzu, looks like some emulator? let me guess transcord shut them down due to some dmca from nintendo etc?
Anonymous No.105735968 [Report] >>105735985
>>105735954
Worse. Snitchcord literally snitched them out to Nintendo because a few users were sharing keys which Yuzu specifically told people not to do. You can make emulators but you can't put a registration key in.

They had zero incentive to snitch there. Snitchcord themselves reported it to Nintendo.
Anonymous No.105735985 [Report] >>105736129
>>105735968
ah, very gay indeed. should still put /wdg/ in the OP tho. i saw mention of some steam group? also not even an IRC link in the OP? /wdg/ has fallen
Anonymous No.105736129 [Report] >>105736445
>>105735985
There's not a Steam group. I happen to know a few users here from an old other community and one of them always recognizes me here, this guy >>105732102

A lot of us used to talk on Steam. But it was a video game related thing.

>>105732322
Mb didn't reply, I was looking for the screenshot then realized they gave me a chance to appeal and I went on a gaslighting rant to them about why they discriminate against Russians. Lmao I'm still banned from your country so of course I'm banned from Github kek
Anonymous No.105736445 [Report]
>>105736129
>old other community
cool which one? also kek at the screenshot
Anonymous No.105737979 [Report]
>>105725897
The only way autoplay will work(when autoplay policy = disallow) is if the srcObject of an Audio element is a MediaStream, such as one acquired from an RTCPeerConnection. I also learned the hard way that the audio element that you want to autoplay can't be dynamically added to the page, i.e it has to be part of the DOM on initial load.
Anonymous No.105738247 [Report]
>>105725897
Google pretty much did it to force Youtube app for Youtube premium and get rid of adblock users on mobile. I stand by this theory.
Anonymous No.105739796 [Report] >>105740180
Damn we really sound like that? Wtf does this sentance even mean https://news.ycombinator.com/item?id=44404876#44406976
Anonymous No.105739842 [Report]
>>105733573
Single thread slop like js ruby and python cant fully saturate a cpu so you pretty much need to spawn multiple process and put a load balancer in front.

Plus nginx can serve static files from your /public folder without invoking slow js, python or ruby code.
Rust, c and the like are fast enough to not need a load balancer at all and serve their own static files with their regular framework.

And modern load balancers like caddy also automagically register ssl cert for you with zero config which is nice
Anonymous No.105740180 [Report] >>105740224
>>105739796
>Damn we really sound like that?
whats this in reference to?
Anonymous No.105740224 [Report]
>>105740180
Aaron earned an iron urn
Anonymous No.105741729 [Report] >>105741872
>page 10
Fuck all your frameworks
Anonymous No.105741751 [Report]
Embrace the newest framework
Anonymous No.105741872 [Report] >>105743107
>>105741729
Euros really let us down huh
Anonymous No.105742543 [Report] >>105744153
canvas is so cool guys
Anonymous No.105742815 [Report] >>105742931 >>105742978 >>105744179 >>105744279
honestly is it really that stupid to store images as base64 in your mongo database instead of bothering with aws or some shit like that
Anonymous No.105742931 [Report]
>>105742815
just be yourself
Anonymous No.105742978 [Report]
>>105742815
I dunno what people recommend but I would just do whatever is easiest, as long as it's secure.

I was going to store images as binary in my Postgres database but then I thought fuck it, I'll just save the files to disk because it's easier for me.
Anonymous No.105743107 [Report]
>>105741872
Too busy being free on the weekend
Anonymous No.105743895 [Report]
>>105720158
I tried it but didn't like it. The way it abstracts things into resources was weird and turned me off. My use case didn't match up either; I wanted to redeploy a local compose stack when pushing to git. Overall a bad fit for me.
Anonymous No.105743987 [Report] >>105744898 >>105745438
What the fuck am I doing wrong?
CI/CD builds works fine, but I'm unable to spin up a developer environment.
Anonymous No.105744153 [Report]
>>105742543
How hard is it to use WebGPU and VulkanAPI directly in canvas rather than using pre-made render engines like three.js or babylon?

I don't actually know if vulkan is used directly actually or if it's used only through webGPU. I've only ever used three.js and babylon
Anonymous No.105744179 [Report]
>>105742815
hosting via CDN is better because you faster image to customer through local CDN network AND the browser can cache the file AND the browser doesn't have to calculate 69420 base64 images in your website. but if page speed doesn't matter then the answer is yeah go for it
Anonymous No.105744279 [Report] >>105744906
>>105742815
Yes. Incredibly stupid. Why clutter your already dogshit database instead of just using a CDN? It's not that hard to write an uploading and downloading function to a server, and it's not that hard to convert it to use fetch to upload and down to your CDN which would be way cheaper, cache, and more efficient.

Just rip the bandage off and stop using Mongo while you're at it. You can learn prisma off any youtube video in like an hour, ask any decent AI to convert your models to PRISMA schematic, then ask it to convert the API controllers themselves to use prisma format, then use any database you want pretty much with similar ORM to mongoose but with way better performance. Mongo is the best for raw data/JSON but just fucking use SQL. Prisma even comes with built in sanitation and does everything for you.
Anonymous No.105744898 [Report] >>105745990
>>105743987
join the disc i'll help you out, posted the link somewhere above
Anonymous No.105744906 [Report] >>105744994
>>105744279
>writing sql
i'd rather kill myself. ive been using instantdb and its a blast.
Anonymous No.105744982 [Report] >>105745059
>wage cucking tmr
ahhhh
Anonymous No.105744994 [Report] >>105745040
>>105744906
You don't write SQL with Prisma. It's an ORM.

Basically you have one set API similar to Mongoose that works for tons of different databases like SQL, Mongo, Postgres, you name it. You write a prisma schema kind of like a Mongoose model. Then you just use the same API calls regardless of the database. You don't need to know SQL for it, nor sanitation. Prisma handles everything.

I suggest you learn what an ORM is, don't be a boomer.
https://youtu.be/rLRIB6AF2Dg
Anonymous No.105745040 [Report] >>105745049 >>105745055
>>105744994
nigger ive gone around the sun 20 times and back. ive used every orm there is. i just hate writing sql if im doing personal projects. rather use firebase or instantdb. whatever helps me launch faster.
Anonymous No.105745049 [Report]
>>105745040
that said ill check it out, sounds cool.
Anonymous No.105745055 [Report] >>105745066
>>105745040
Then why use MongoDB (assuming you're the guy I initially replied to)
Anonymous No.105745059 [Report]
>>105744982
id kill for a fkn job rn
Anonymous No.105745066 [Report] >>105745084
>>105745055
im not the guy you originally replied to. hes probably indian. you'll open an indian resume and see a guy building something with mongodb and backbone.js or some shit in >current year.
Anonymous No.105745084 [Report] >>105745097
>>105745066
Ah, the prisma explanation was because I thought you were the Mongo guy. I used to be that guy when MEAN stack was a thing because I didn't want to write raw SQL either until I finally realized other ORMs that aren't shit exist.
Anonymous No.105745097 [Report] >>105745177
>>105745084
I just hate writing migrations, and doing row level security, as well as designing an rdbms and then having to go through hell to modify the schema and data. Appreciate the prisma explanation tho, it does sound cool. I got turned off from ORM's way way back using knex/bookshelf and ended up just rapping everything in raw().

>t. frontend shitter
Anonymous No.105745177 [Report]
>>105745097
ORMs have gotten a lot better since Knex. It's the one I tried to switch to from Mongoose then instantly noped and stuck with Mongoose/MongoDB.

Prisma is pretty simple because you can GPT most of that setup shit since it's so basic and you use terminal commands for setup and migrations. Really APIs are so easy in this day and age with ORMs and HTTP servers like express you can GPT like 99% of your APIs after you get your initial server all setup. APIs are probably the best usecase for LLMs in my opinion. It's really hard to fuck an API up.
Anonymous No.105745438 [Report] >>105745990
>>105743987
pin your versions, you fucking retard.
Anonymous No.105745990 [Report]
>>105744898
Solved, thanks anyway.

>>105745438
They are all on the latest version except for leaflet which I pinned.
The issue was sharp. Version 0.34.* will segfault, rolling back to 0.33.5 solved this.
Anonymous No.105747659 [Report]
Page 9
Anonymous No.105748316 [Report]
My house got struck by lightning yesterday and blew my internet out soI can't do my C++ stuff :(

I was finally getting into using the real uWebsockets in C++ instead of the uws.js package. I think this is a sign god doesn't want me leaving the javascript ecosystem.
Anonymous No.105748975 [Report] >>105749712 >>105751795 >>105754149
Hey fellers
I have an idea and I need a very static and simple website to advertise it
I have little knowledge about how to administer webpages but I want to do it myself
Where should I even fucking begin
Anonymous No.105749712 [Report] >>105750070 >>105751795
>>105748975
Pls respond
Anonymous No.105750070 [Report]
>>105749712
join the disc link is in this thread and ill help you out
Anonymous No.105751367 [Report] >>105751515 >>105751798
Claude Code and Cursor are making me so lazy desu
Anonymous No.105751515 [Report]
>>105751367
i hate it. takes all the fun out of it, for a risk at some perceived speed gain. building shit in natural language is so fucking gay. but then at the same time you start going half-manual and you feel like an asshole, and start taking the risk again for the perceived gain, ad infinitum. im transitioning to mechanical engineering or something
Anonymous No.105751795 [Report] >>105753997
>>105748975
>>105749712
You're not really giving us enough details. You'd have to tell us slightly more so we could know if it needs a backend or is just an html page.
Anonymous No.105751798 [Report] >>105752333 >>105752526
>>105751367
What's the point of cursor over just getting an extension in VS Code that does the same thing?
Anonymous No.105751961 [Report]
Thank you microfrontend niggers
I discovered ssi includes and now i'm putting json blobs in html
i dont need no god damn server components
Anonymous No.105752333 [Report]
>>105751798
nta but cursor's tab autocomplete is the best on the market
Anonymous No.105752462 [Report] >>105752528
What open source bot protections are there? I know Anubis, anything else?
Anonymous No.105752519 [Report] >>105758255
>>105735661
that can attract too much shit attention, better to only share it with whoever has legit interest and putting in work, what sense does it make to have a discord full of newbies and nobody to actually help? just care for the ratios
Anonymous No.105752526 [Report]
>>105751798
Because of its first class AI support. It's able to browse my repo, do tool calls like CLI commands, provide a git merge style accept/decline changes for everything it did

my work also pays for it so I'm not complaining at all.
Anonymous No.105752528 [Report]
>>105752462
fail2ban iirc
Anonymous No.105752610 [Report] >>105752936
I feel like a retard trying to figure out Perl web frameworks. There's mainly the official documentation and not many real world examples.
Anonymous No.105752936 [Report]
>>105752610
Just settle on Mojolicious and maybe ask here https://github.com/mojolicious/mojo/discussions.
Anonymous No.105753997 [Report] >>105754107
>>105751795
Just an html page
Something like really basic
Anonymous No.105754107 [Report]
>>105753997
Literally just get a hosting service that has Cpanel then if you don't need a backend. No need for any fancy servers.
Anonymous No.105754149 [Report]
>>105748975
github pages is free, there are shorthand domains as well, otherwise namecheap and digitalocean will do the trick, paying
Anonymous No.105755229 [Report] >>105756273
Page 8
Anonymous No.105756273 [Report]
>>105755229
7 acshually
Anonymous No.105756476 [Report]
Does anyone know if Astro has any good virtual routing integration support? I want something like next.js but next is kind of dog shit.
Anonymous No.105756839 [Report] >>105756970
i want to scrape specific kinds of html pages for work. an example page is here: https://www.sec.gov/Archives/edgar/data/320193/000130817925000008/aapl4359751-def14a.htm
i have a program that goes through every SEC EDGAR def14a submitted by the company of my choice and attempts to parse each one with beautifulsoup, using different parsers until one works. i search for particular info in each 14a, collect it, and then i'm out.

with the case of apple, their most recent 14-a use a different kind of html, seemingly 'xmlns', which seems related to the SEC's inline XBRL format. i'm finding that recent 14-a forms of this format are really resistant to beautifulsoup parsing much to my chagrin. kind of a shot in the dark i know, but does anyone have previous experience scraping/parsing from relatively recent SEC edgar filings like this?
Anonymous No.105756970 [Report] >>105756998
>>105756839
I've been doing webdev for over a decade and haven't heard of most of the technologies you mentioned. Truly the web ocean is larger than I thought.
Anonymous No.105756998 [Report] >>105757041
>>105756970
i mean, i hadn't heard of them either before a few weeks ago. my boss gave me a task and i needed to learn how to scrape shit. i don't spend much time trying to seek shit out myself, because i know work will give me something to learn regardless.
Anonymous No.105757041 [Report] >>105757147 >>105758283 >>105758773
>>105756998
Unfortunately I'm bound to Windows right now. But I ran this in browser, which should work in node.js as well and it scraped the page 1:1 as seemingly XML just fine.
let res = await fetch('https://www.sec.gov/Archives/edgar/data/320193/000130817925000008/aapl4359751-def14a.htm');
let page = res.text();


Without access to my Linux ecosystem I can't help too much lmao. That said if it's fetching as XML does that help any? There's probably dozens of XML parsers out there for you as opposed to whatever the fuck xmlns is.
Anonymous No.105757147 [Report] >>105757319
>>105757041
i'll give this kind of solution a shot, thank you.
Anonymous No.105757319 [Report]
>>105757147
Ye let us know if it works or not.
Anonymous No.105758255 [Report] >>105758283
>>105752519
yeah thats fair. wish more ppl were active
Anonymous No.105758283 [Report] >>105758376
>>105758255
I noticed a distinct pattern of multiple generals that people asked questions in dying around the same time GPT came out. Specifically a lot less questions being asked about fixing code and more general discussions of the trade.

I'm literally the only person who's used a code tag the entire thread here >>105757041 but the threads used to have them all over a few years ago.

AI kind of killed several threads.
Anonymous No.105758376 [Report] >>105758395
>>105758283
yeah very depressing. i only just came back to these threads after like a decade. twitter is so gay it makes me wanna die so i came back here.
Anonymous No.105758395 [Report] >>105758406 >>105762517
>>105758376
I like Twitter. I've called so many people niggers and retards now that Elon has taken over and get banned less than I do on 4chan for calling people niggers and retards.
Anonymous No.105758406 [Report] >>105758485
>>105758395
i hate that i have to pay for it to get anything out of it. i've been on it long enough to know that every single anime avatar edgy coder profile is literally an indian.
Anonymous No.105758485 [Report] >>105758618
>>105758406
I went viral several times on Twitter before getting banned with thousands of followers and big accounts retweeting me. Every time I got banned I'd be able to go viral again one way or another. My last one I had a single tweet get retweeted by Project Veritas, it's founder, Robert Malone, Alex Stein, and several news stations, and some Infowars people.

Ever since Elon took over though I get no engagement despite not getting banned anymore and getting retweeted by semi-big accounts like three.js and babylon. I think it's rigged for blue checkmarks now. Basically only good for trolling if you're not going to pay (I refuse)
Anonymous No.105758618 [Report] >>105759016
>>105758485
nice i never invested much into it cuz i used it for coding so i had my real life shit in my profile. was going alright when i paid for it way back, made it to 100 followers then gave up lol.
Anonymous No.105758729 [Report] >>105758868 >>105759016 >>105759072
Alright, completely new to web dev here, but I've got low level C experience. Say I want to make a website where my friends and I can play yhatzee or card games together, what should I use?

That's such a broad question, I know, but the sea of shit out there is just too fucking vast for me to even narrow down.
Anonymous No.105758773 [Report] >>105759016
>>105713933 (OP)
Are there any vps providers that don't require ID these days?
>>105757041
>let page = res.text();
Oh boy. Don't forget to await this, too.
Anonymous No.105758868 [Report] >>105759016 >>105759016 >>105759281
>>105758729
Don't have to get too bogged down on what technologies to use. But fwiw, the simplest options to get up and running asap are:

- using websockets for the multiplayer
- node.js on the backend that uses Socket.io - you'd keep in-memory the game state in some object that you'd broadcast to players in the room, as well as broadcast moves
- don't worry about databases
- separate the backend and front end in to it's own folders with it's own package.json
- for the front end you may want to use Vite to be able to use npm packages (e.g. socket.io-client) and to bundle your web app
- don't worry about using front end frameworks like react, vue, svelte, whatever unless you're proficient in it.
Anonymous No.105759016 [Report] >>105759281
>>105758618
lmao fuck that shit

>>105758773
Oh yeah I forgot, my bad. I looked in console and saw the text and was like "yeah it works that's the xml right there", forgot I had to await promises to make it use-able.

>>105758729
Make a game how you normally would but make it online. Then rig it to websockets and do a room system. It's pretty easy. I changed a Dance Dance Revolution clone I found online to use.

I'd suggest just learning to make a chatroom with socket.io like >>105758868 said. It's easy as fuck. Then if you understand storing user data and sending it to the frontend users, then you'll have no problems sending scores and card games stuff too. Socket.io is slow in this day and age compared to things that aren't Javascript or Uwebsockets.js, but it's easy to use and has tons of examples so it's perfect for a small cardgame with friends.


>>105758868
I don't think you need vite for socket.io, I never used it when I wrote in vanilla.
Anonymous No.105759072 [Report] >>105759281
>>105758729
>Alright, completely new to web dev here
turn back now while you still can.
Anonymous No.105759118 [Report] >>105759238 >>105760619 >>105767997
got the 57" samsung ultrawide 7680x2560. shits cash.
Anonymous No.105759238 [Report]
>>105759118
Congrats, now you can easily shitpost in multiple threads at the same time
Anonymous No.105759281 [Report] >>105759403 >>105760678
>>105758868
>>105759016
Thanks for the suggestions, lads. I'll take a look. The chatroom/socket.io idea sounds like the best place to start for me. Keep it simple and work on from there.

>>105759072
Also, kek. When I started researching stuff, I was getting this kind of impression from all the things people had to say online.
Anonymous No.105759403 [Report] >>105760678
>>105759281
Just use firebase realtime db. Rolling your own everything especially sockets is going to make you want to kill yourself.
Anonymous No.105760619 [Report]
>>105759118
Imagine watching porn with that
Anonymous No.105760678 [Report]
>>105759281
Don't listen to this retard here >>105759403 he's why everyone makes fun of web devs for having unnecessary SaaS and dependency bullshit everywhere. Websockets are a good skill to have and you can carry it to C later.

I'll tell you what. If you want to learn websockets and are already experienced in C there's a package called uws.js that is both a websocket server and https server in one. It's pretty much the fastest standard thing you can use. I normally tell new comers just use socket.io BUT uws.js is an abstraction layer on a C++ library called uwebsockets, that's why it's so fast. I'd actually say just use uws.js and if you like it, since you're a C guy you'll know how to use the C++ version later if you ever want to write in something familiar. The uNetworking team based a lot of their syntax for their http around express.js, and a lot of the socket stuff around socket.io
Anonymous No.105761641 [Report]
page 9
Anonymous No.105762517 [Report]
>>105758395
>calling the regard and negev word on twooter
You got deboosted nigga
Anonymous No.105763813 [Report]
Page 10
Anonymous No.105763862 [Report] >>105764146
tailwind is based
Anonymous No.105764087 [Report]
>>105713933 (OP)
>On July 10, 2018, GitHub founder and former CEO Tom Preston-Werner predicted that "within 5 years, you'll build your next large scale, fully featured web app with JAMstack and deploy on Netlify."

How accurate is that?
Anonymous No.105764103 [Report]
i dont care about your job im still top chicken.
plus im doing work for money which is a job so i get to dab on you even harder. das right.
Anonymous No.105764146 [Report] >>105764300
>>105763862
I like tailwind but how do would you guys manage multiple themes on the same website?
Before tailwind I used 1 css file for each theme and swap them using js.
How do I do this with tailwind?
Anonymous No.105764300 [Report]
>>105764146
You still can do that. Just use colors assigned to css variables with the variables assigned different values in each theme (class).

@import "tailwindcss";

@theme {
--color-accent-100: oklch(40.1% 0.123 21.57);
--color-primary: oklch(100% 0.3 31.57);
}

@layer theme {
.rainbow {
--color-accent-100: red;
--color-primary: pink;
}

.shit {
--color-accent-100: blue;
--color-primary: maroon;
}
}


something like this, and just assign any element the .rainbow class and anything underneath it will have those colors.

<div>
<h1 class="text-accent-100">Default</h4>
<div class="rainbow">
<h1 class="text-accent-100">rainbow accent</h4>
</div>
<div class="shit">
<h1 class="text-accent-100">shit accent</h4>
</div>
</div>
Anonymous No.105765141 [Report] >>105765555 >>105765600 >>105766373
I've been using vite with sveltekit just because it has the "live-reload" on server-side code. Is there a way I can get that same live-reload effect with something like hono/uwebsockets/express so I can ditch the bloat? It's just way better for devving than restarting the process with nodemon
Anonymous No.105765332 [Report] >>105765579
>gemini tells me to run this and open + port forward

import socket
import psutil
from flask import Flask
app = Flask(__name__)

@app.route('/status')
def status_page():
ip = socket.gethostbyname(socket.gethostname())

open_ports = [conn.laddr.port for conn in psutil.net_connections(kind='inet') if conn.status == 'LISTEN']
uptime = datetime.datetime.fromtimestamp(psutil.boot_time()).strftime("%Y-%m-%d %H:%M:%S")
return f"<h1>Server Status</h1><p>IP: {ip}</p><p>Open Ports: {open_ports}</p><p>Uptime: {uptime}</p>"

if __name__ == "__main__":
app.run(host="0.0.0.0", port=5001)


bros i think my gemini hates me wtf
Anonymous No.105765555 [Report] >>105765630 >>105766373
>>105765141
What's wrong with nodemon? That said if you're thinking of hono/uwebsockets/express I recommend this other library called hyper-express. In production it's like 1% slower than uWebsockets but the API calls are near identical to express. It's built on top of uws.js just like every other fast framework anymore (and Bun's entire ecosystem lmao). Don't fall for the benchmarks from bun-tards, they run their benchmarks locally instead of over a network like the hyper-express creator does. uws runs faster on Node. The creators of uwebsockets called out Bun on github for it a while back stating uwebsockets is 80% faster on node.
Anonymous No.105765579 [Report]
>>105765332
>using gemini for literally anything other than long context planning
Anonymous No.105765600 [Report] >>105765604
>>105765141
nodemon
Anonymous No.105765604 [Report]
>>105765600
Nvm thought you said you wanted it on express my bad
Anonymous No.105765630 [Report] >>105765920
>>105765555
Restarting the process is annoying when testing certain things like live sessions and downloads, I can alter the backend code and have the in-memory sessions be preserved while I dev which is way better. As for hyper-express it seems good, one of the things I didn't like with uwebsockets was that I had to add the github repo as dependency and it wasn't on npm
Anonymous No.105765730 [Report] >>105765932
>>105714010
this is elementary tier, if you can figure it out with the free and available materials online, you're ngmi
Anonymous No.105765762 [Report]
is the data prop a reserved prop name in sveltekit. why is it so loosely defined for ssr
Anonymous No.105765920 [Report]
>>105765630
Can't help with that unfortunately. I've always used nodemon.
Anonymous No.105765932 [Report]
>>105765730
See
>>105714068
>>105714102
>>105714042

The guy is a fucking retard who just wants to make excuses.
Anonymous No.105766373 [Report] >>105766467 >>105766522
>>105765141
>>105765555
>uwebsockets
Do you guys really need this level of performance? How many users do you think you'll have for whatever you're building?
Anonymous No.105766467 [Report] >>105766485
>>105766373
Life is too short to not shit on gotards every chance
Anonymous No.105766485 [Report] >>105766564
>>105766467
I dunno why you're mentioning Go, but Go is a great language. Simple to use. Fast. Cross-compiles extremely easily (unlike C/C++ which is a real hassle to cross-compile).
Anonymous No.105766522 [Report]
>>105766373
Why would I not want high performance if the code is similar and actually less effort? I'd rather write for high performance and not need it, than need it later and have to rewrite all my shit.
Anonymous No.105766564 [Report] >>105766575 >>105767283
>>105766485
Because its slower than js ahahaha
Anonymous No.105766575 [Report]
>>105766564
Kek. Javascript niggers have gotten uppity since uws.js started blowing everything else out of the water. Love to see it.
Anonymous No.105766625 [Report]
anyone here using flutter with neovim?
Anonymous No.105766644 [Report]
In Laravel, should I try to mostly have Gates or Policies for my authorization? They seem to do the same thing.
Anonymous No.105767283 [Report] >>105767290
>>105766564
Do you need that extra performance? I think there's a 99% chance you don't
Anonymous No.105767290 [Report] >>105767517
>>105767283
WHY NOT ALL JUST GO BACK TO PHP THEN YOU RETARD
Anonymous No.105767517 [Report] >>105767763
>>105767290
Because I don't like PHP you moron
Anonymous No.105767763 [Report]
>>105767517
sounds like a skill issue.
Anonymous No.105767997 [Report]
>>105759118
would, but what I don't like about it is that it doesn't seem to be high enough
Anonymous No.105768260 [Report] >>105768574 >>105773658
Question lads. Let's say you want to make a React SPA. Would you use some existing package for routing, like React Router, or would you implement routing yourself? I've done it myself and I think the code is okay.
Anonymous No.105768574 [Report] >>105768814
>>105768260
I wouldn't use react at all. But if I were going to I'd use their router.
Anonymous No.105768814 [Report] >>105768827
>>105768574
React is usually mentioned in job ads though so I thought I'd stick with it. Also React Router isn't made by the React team, it's a third-party thing. I think the lightweight routing I've made is okay though. I just wondered how others here might approach it.
Anonymous No.105768827 [Report] >>105769107
>>105768814
wut. When I used react it asked if I wanted to use the router in the CLI. Though that was with next.js which was nigger ass
Anonymous No.105769096 [Report]
do any of you have a referral code for orangewebsite? or another registrar
i wanna give someone a bit of money
Anonymous No.105769107 [Report]
>>105768827
I see. I've never used Next, but yeah maybe it asks you if you want client-side routing.
Anonymous No.105770841 [Report] >>105771236 >>105771365
Is Flutter used at all nowadays?
Anonymous No.105771236 [Report]
>>105770841
Yeah I think there are companies using it. I've never used it myself.
Anonymous No.105771341 [Report]
>Type 'string | null' is not assignable to type 'string | undefined'
Anonymous No.105771365 [Report]
>>105770841
Nah lmao. Microsoft used React Native over fucking Flutter for their retarded start menu >>105722846
>>105722871
Anonymous No.105771644 [Report]
Used ED25519 for registration so the only user data I have to store is a public key.
Anonymous No.105772001 [Report] >>105775516 >>105776429
>get mockup from designer
>ask copilot to implement it
>probably gets the design half correct
>makes its own decisions resulting in a better design
>designer is stingy about customizations

Guess we can address the elephant in the room in that this thing has replaced us both.
Anonymous No.105772023 [Report] >>105773555 >>105773658 >>105775367
stress testing a selection box on 1k divs
770 get selected => 200ms time delay before this snippet finishes. any way to improve this or am i hitting fundamenal JS limits here?
Anonymous No.105773555 [Report] >>105780631
>>105772023
for what purpose?
Anonymous No.105773658 [Report]
>>105768260
tanstack router

>>105772023
are all the divs in the viewport at once? if not then you could try virtualization or content-visibility: auto
Anonymous No.105774944 [Report]
Is the scrimba fullstack course worth paying for?
Anonymous No.105775367 [Report] >>105780631
>>105772023
use offsetTop/Left, offsetHeight/Width instead of getBoundClientRect() if you can
Anonymous No.105775499 [Report]
What's a free alternative to MailTrap?
They used to let you send emails there for free, but now I have to upgrade my free account to use that functionality.
Anonymous No.105775516 [Report]
>>105772001
Replaced, or gave you less work to do? Embrace it, the average retard won't know how to fix it or it's fuckups. Artists may be replaced but our jobs got easier.
Anonymous No.105776429 [Report]
>>105772001
>designer is stingy about customizations
realest shit ever
Anonymous No.105776587 [Report]
i havent touch my project site in two months and set the server to display a static landing page cause im sick of computers

shit is so over
Anonymous No.105776659 [Report] >>105776749 >>105777324
I'm kind of a beginner fronted dev, I got a question and I need a library recommendation.
First of all, when asking for a library, do you ask a library for the langage (JS) or the framework you use (Vue.JS).
And then, anyone knows a library that'll allow me to make a slider on top of a time code bar to select a time range/frame of the video playing? Much like what IOS has in most of their devices when you want to re-arrange your videos. Pic related.
Anonymous No.105776709 [Report]
I'm using the Fiber framework for Go and it's weird because it can end up sending random Go error messages to the client. A route handler could return an arbitrary error with the message "smelly poo" and that message would get sent to the client. So I added my own error handler so that arbitrary errors will instead result in a status 500 and the text "Internal Server Error" being sent to the client.
Anonymous No.105776749 [Report]
>>105776659
fe libs are generally gonna be in either ts, js, or something else and transpiled to wasm for the runtime (which opens up languages like c/cpp/rust/etc.). god forbid theyre built on something like pyscript.

you would generally want to look for libraries that have documented integrations with whatever component/state frameworks youre using, but most are probably usable from them without much fuss. you can manually integrate, say, threejs with react without using react three fiber, but using the latter would be a massive improvement in your experience and performance.

no, i havent fucked with video players/scrubbers in years. there is potential for a lot of network overhead with streams in that situation so itd be wise to look for a library thats already out there.
Anonymous No.105776801 [Report] >>105777212 >>105777253 >>105777266 >>105777930
How do I update a url with search parameters as they are being typed?

Working on this site using the Nasa image and video api. When clicking the link to the search page you have to set the params to undefined which shows in the url but how do I update the url when a search is being typed in the input?

https://space-and-wonders.netlify.app/space-images/search/undefined
Anonymous No.105777212 [Report] >>105777253 >>105777276 >>105777286 >>105777752
>>105776801
If you want to update your URL use history.pushState. Here's the docs for it.

https://developer.mozilla.org/en-US/docs/Web/API/History/hello-world.html
Anonymous No.105777253 [Report] >>105777276 >>105777286 >>105777752
>>105776801
>>105777212
To elaborate a little further, I used their code directly for your usecase. Using this code:

const state = {};
const url = "test";

history.pushState(state, "", url);


will set your URL to https://space-and-wonders.netlify.app/space-images/search/tdsfdsf


So what you'd want to do obviously would be on page load make it something other than undefined. Then when the search event you have runs, run the function to match whatever is in the input. Pretty straight forward. I tried making it use a blank space but that didn't work unfortunately.
Anonymous No.105777266 [Report] >>105777276 >>105777286 >>105777752
>>105776801
well you listen for keydown/keyup event and set the url accordingly
Anonymous No.105777276 [Report] >>105777314 >>105777752
>>105777266
He should already have the key up and down event as the search updates in real time. If he strictly wants the URL then >>105777212 >>105777253 is what he wants.
Anonymous No.105777286 [Report]
>>105777212
>>105777253
>>105777266
Thanks, will take a look. Not had to do anything with the url before but I don't like it being set to undefined all the time.
Anonymous No.105777314 [Report] >>105777350
>>105777276
>as they are being typed
Anonymous No.105777324 [Report]
>>105776659
Video.js has a plugin for that I believe. They have plugins for everything.
Anonymous No.105777350 [Report] >>105777369 >>105777379
>>105777314
Yeah. It seems he already has that. You wouldn't want it to be instant though, you'd want a timeout for it if you're making API calls to NASA. You don't want to do an API call for every single character, there should be a timeout for if they stop typing THEN search and update URL.

Let's say someone is typing "Moon landing", do you want to do api.call('M') api.call('Mo') api.call('Moo') api.call('Moon') etc and get the user rate limited?
Anonymous No.105777369 [Report] >>105777379
>>105777350
I agree, something like while keydown wait 1 second
Anonymous No.105777379 [Report]
>>105777350
>>105777369
in fact, I think most sites give you like 4 chars minimum and after that they start the auto-complete
Anonymous No.105777752 [Report] >>105777781
>>105777212
>>105777253
>>105777266
>>105777276
This worked, updates the url as search is being typed.

https://space-and-wonders.netlify.app/space-images/search/latest

const navigate = useNavigate()

const handleSearch = (e) => {
setPageParam(1)
setValue(e.target.value)
navigate({
to: '/space-images/search/$search',
params: { search: e.target.value },
})
}
Anonymous No.105777781 [Report] >>105777908
>>105777752
does it keep this in account, does it wait for text to stop being typed to push the update?
Anonymous No.105777837 [Report]
should i drop php, and waste a year of my life changing my qualifications towards something else?
Anonymous No.105777908 [Report] >>105777920 >>105779767
>>105777781
Try it out, it updates as you type. I'm using debounce on the search input.
Anonymous No.105777920 [Report] >>105779767
>>105777908
you might want to give it a small delay just to avoid multiple url sets
Anonymous No.105777930 [Report]
>>105776801
Based space enthusiast
Anonymous No.105778787 [Report]
Give it to me straight lads, is AI going to eliminate all the junior web dev jobs?
Anonymous No.105779767 [Report] >>105779837
>>105777908
Yeah what >>105777920 said. If you press the back key in browser to go back to your last result it goes one character at a time. So from rocket to rocke to rock, and so on. Delays are pretty easy, just make the keystrokes set a setTimeout then on new keystroke cancel the latest setTimeout with a new one to overwrite it. That way you can do like a 3 second timeout so if they stop typing for 3 seconds THEN it does the search and update URL.
Anonymous No.105779837 [Report] >>105779869
>>105779767
That's what I want it to do though, just want it to update with the search as it is being typed so it isn't set to undefined all the time.
Anonymous No.105779869 [Report] >>105780977
>>105779837
I understand that. But what I'm saying is every keystroke updating makes it so you have a big history (what the user sees in back button) so if they want to go back, they have to press the back key for every single character.
Anonymous No.105780631 [Report]
>>105775367
Thanks. Yup, replacing that worked out in the best way!

>>105773555
I'm writing a flow/node editor and currently doing premature optimization.
Anonymous No.105780857 [Report] >>105780887
I'm attempting to get into game dev. I had fun with Babylon.js and Three.js but it's time to stop being a web baby and apply what I've learned with multiplayer backend that I've learned from web to game dev. I'm torn between Godot and Unreal right now as C++ is my Low Level Language of choice.

Wish me luck frens.
Anonymous No.105780887 [Report] >>105780944
>>105780857
good luck, game dev looks hard as fuck but very rewarding
Anonymous No.105780944 [Report]
>>105780887
I've done some stuff with Babylon.js and three.js and it's not that hard, from what I understand it's easier outside of the web ecosystem because in actual advanced game engines that aren't web toys you do way less coding stuff and way more playing with GUIs. Supposedly you can make games in Unity without even knowing coding.
Anonymous No.105780977 [Report]
>>105779869
See what you mean, first time I've done anything with the url side of things. Will look more into it tomorrow.
Anonymous No.105781900 [Report]
Page 8
Anonymous No.105781976 [Report]
Don't forget everyone, always craft your website so that it works GREAT for screen readers. Be an ally :^)