← Home ← Back to /g/

Thread 107065449

162 posts 42 images /g/
Anonymous No.107065449 [Report] >>107065523 >>107065529 >>107065637 >>107065861 >>107070478 >>107080125 >>107081947 >>107092404 >>107095247
/wdg/ - Web Development General
The great debate edition.

>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your best friend for 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

>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
https://quii.gitbook.io/learn-go-with-tests - Learn Go with Tests

>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: >>106988821
Anonymous No.107065523 [Report]
>>107065449 (OP)
SQLite. The elephant if you need a proper server.
Anonymous No.107065529 [Report] >>107065798 >>107066642 >>107066754
>>107065449 (OP)
>The great debate edition.
not at all. stupid fucking nonsense to discuss
Anonymous No.107065637 [Report]
>>107065449 (OP)
SQLite is the fastest if you have mostly reads because you run it on the same server you have your app on.
Anonymous No.107065798 [Report] >>107065822
>>107065529
It's just an OP, don't take it so seriously you twat
Anonymous No.107065822 [Report] >>107065896 >>107066547
>>107065798
>its just what the basis of the thread will be about
Anonymous No.107065861 [Report] >>107066359
>>107065449 (OP)
Do SQL injections still work in 2025?
Anonymous No.107065896 [Report]
>>107065822
https://www.youtube.com/watch?v=_eRRab36XLI
Anonymous No.107066359 [Report] >>107068520 >>107071301 >>107086904 >>107086913 >>107114843
>>107065861
No because we have the power of AI now
Anonymous No.107066547 [Report] >>107066642
>>107065822
I have never seen a general that actually cared about the contents of the OP outside of like a handful of replies
Anonymous No.107066642 [Report]
>>107066547
>>107065529
I always though muh editions in OPs are cringe d e s u
Anonymous No.107066754 [Report]
>>107065529
im just in a shitty mood sorry dudes going to touch grass
Anonymous No.107068520 [Report] >>107070405
>>107066359
what in the actual fuck
Anonymous No.107070405 [Report]
>>107068520
It's current_year, that's how we do things now
Anonymous No.107070478 [Report]
>as he posts on 4chan>>107065449 (OP)
Even as security focused as you are, you will never get ahead of the Israel schizo need to control and subvert. Too many main sources of the internet are now backended by jews, unironically. It could be fixed over night, but there is literally nobody willing to do it. It's completely ruined due to complete governent/corporate subversion. This is not a meme and a very serious situation.
Anonymous No.107070705 [Report] >>107071483 >>107071560 >>107071567
Is cloudflare > nginx > wireguard a good enough pipeline for safe public access to self-hosted services? I know I could probably throw fail2ban in there but, eh.
Anonymous No.107071035 [Report] >>107071902
how is the sensible content (I don't mean CP) censorship scenario, is self-hosting the way, which countries, which are the fire-proof solutions if there are any?
how does tor-sites hosting work, are there alternatives?
Anonymous No.107071301 [Report] >>107071491
>>107066359
The graphql at home
Anonymous No.107071483 [Report] >>107071560 >>107071567
>>107070705
Why do you need Wireguard? For my web app: I use Cloudflare for DNS and as a CDN, they proxy my server's IP and then I use Caddy on my server (VPS). Use a firewall on your server that shuts down all the ports you're not using. You only need port 80 (http), 443 (https), and 22 (ssh) open if you're running a web app.

>I know I could probably throw fail2ban in there but, eh.
Never a bad idea to add fail2ban but I don't think you need it if you have banned password logins.
Anonymous No.107071491 [Report]
>>107071301
Exactly what I thought reading that lol.
Anonymous No.107071560 [Report] >>107071567
>>107071483
>>107070705
nta, what would be a cool non cloudflare ddos protection strategy?
Anonymous No.107071567 [Report] >>107086816
>>107071560
>>107071483
>>107070705
by that I mean, is DIY even possible?
Anonymous No.107071902 [Report] >>107072325
>>107071035
Only host SFW content and you'll be fine. That's my approach anyway. I can't be bothered with headaches of trying to fit into all the laws
Anonymous No.107072325 [Report] >>107073116
>>107071902
I don't plan to host none of that, but it strikes my curiosity, how do torrent sites do it for example?
Anonymous No.107073116 [Report] >>107073125
>>107072325
Maybe something like The Pirate Bay hosts on their own servers, or servers in a country with lax laws. And I guess they probably don't use stuff like Cloudflare which might cancel their service.
Anonymous No.107073125 [Report] >>107073596
>>107073116
>in a country with lax laws
somebody knows which countries might those be?
Anonymous No.107073596 [Report] >>107074452
>>107073125
swiss or japan maybe?
or thirdie countries that dgaf idk
Anonymous No.107074452 [Report]
>>107073596
>japan
>lax on torrenting
top kek
Anonymous No.107075332 [Report] >>107075650 >>107077689 >>107077985
brehs, what do you think about aws and azure BTFOening?
I think something is fishy, not sure if it is china or both companies fucking with one another, but I sense a great dark power here
Anonymous No.107075650 [Report] >>107075657
>>107075332
>I sense a great dark power here
Yeah it's called shitty vibe coders who blagged their way into a job and now they've pushed shitty code to main which brought down a bunch of shit

Also it's called greedy billionaires laying off experienced staff who would have kept things running:
>It is a fact that there have been 27,000+ Amazonians impacted by layoffs between 2022 and 2024, continuing into 2025... it seems that the talent who understood the deep failure modes is gone.
https://www.theregister.com/2025/10/20/aws_outage_amazon_brain_drain_corey_quinn/
Anonymous No.107075657 [Report] >>107075779
>>107075650
that doesn't explain aws + azure going down in a week's distance, that's naive
Anonymous No.107075779 [Report]
>>107075657
I guess it could be China hacking everybody, or it could just be a coincidence that they both had problems within a pretty short space of time
Anonymous No.107077558 [Report] >>107079972
Do you use curl?
Anonymous No.107077689 [Report]
>>107075332
>brehs, what do you think about aws and azure BTFOening?
Not my problem.
Anonymous No.107077985 [Report]
>>107075332
>but I sense a great dark power here
yeah, jeets
Anonymous No.107078606 [Report] >>107081670
Bros I fell for the SSR meme, but what is the best way to build a CSR app without react? Is sveltekit really the best?
Anonymous No.107079972 [Report]
>>107077558
Yes I've been using it to test my back-ends. I tried Postman for a while but then I decided I fucking hate bloated Electron apps
Anonymous No.107080085 [Report] >>107080117 >>107092863 >>107092907
hi, guys
i haven't posted here in years (that's what it feels like, i'm always on /a/)
hows your webdev journey going? i started with, and am still doing nextjs for work
when i was learning in these threads, typescript and tailwind css where so hated by some of you anons. i wonder if opinions have changed... since you know, it's clear by now that both of them won
i got reminded of these threads because recently i had a discussion of arrow functions with a coworker, and remembered that i didn't understand why ppl were using them so much and in the end an anon here made me join their () => {} cult
Anonymous No.107080117 [Report]
>>107080085
I ended up working with Rails at a company I liked but
>Rails
However, I've slowly grown to like it as a "legacy thing that just werks", and I think the new SSR stuff they've added is cool and I don't have to use vercel cancer
Anonymous No.107080125 [Report] >>107080134 >>107081131 >>107081350 >>107092545
>>107065449 (OP)
Is C# really commonly used in Backend or is R*ddit lying to me?
Anonymous No.107080134 [Report]
>>107080125
trust nobody, fetch statistics
Anonymous No.107080268 [Report] >>107081131 >>107083006
If I pay $6.60 a month for a VPS, is that a reasonable price? I hate spending unnecessary money but I want to host a couple of web apps so employers can see them. Free tiers for hosting back-ends are too shit for this purpose I think.
Anonymous No.107081131 [Report]
>>107080125
Yes, it's common. C# is used a lot by corpos, but I don't think many new backends are built in C#. Java, C#, and Go are used a lot and JS/TS of course.

>>107080268
That's not a bad price. Hetzner tend to be the cheapest when it comes to a VPS.
Anonymous No.107081350 [Report]
>>107080125
yes but it's the most miserable corposlop work imaginable. somehow worse than java with spring
Anonymous No.107081670 [Report] >>107086505
>>107078606
>CSR app without react?
Ripple is the current SOTA framework but very new. I'd pick it for personal projects.
For work i'd chose solidjs but keep the signals usage to a minimum
Anonymous No.107081947 [Report] >>107084317 >>107087781 >>107095097 >>107095230
>>107065449 (OP)
Would learning ClojureScript help me become a better JS dev?
Anonymous No.107083006 [Report]
>>107080268
I'm paying €4.5 a month for a VPS on hetzner
And hosting a static page on it, the server is pretty much unused so I could potentially host even more on it. But I don't want it to add other apps to it because of security
It's possible to find even cheaper VPS
Anonymous No.107083083 [Report] >>107083878 >>107083923
What IDE are you guys using?
I had been using VS Code with neovim and it was enough for me, but then at work I started using WebStorm
And after trying to come back to VS Code it was a buggy mess, the font sometimes had artifacts (probably because of nvim), and stuff like auto-imports didn't detect JS files, and other stuff.
So I went back to WebStorm at work to be more productive because it just works

But, WebStorm is for *Script only, and it doesn't sync nicely between devices.
So I'm thinking to change the IDE
But I hate all of these AI IDEs
I'm thinking to maybe just use nvim and terminal, but this might be too low level. Some built-in features are better for getting shit done.
Anonymous No.107083878 [Report] >>107083900 >>107083923 >>107083939
>>107083083
I use VSCode because I really hate the Jetbrains retardation where you need a separate IDE for every language (and you have to pay for it too).
Sadly, there are some languages like C# which practically don't have VSCode support. It is extremely retarded.
Anonymous No.107083900 [Report] >>107083909 >>107083923 >>107083939 >>107083955
>>107083878
>Sadly, there are some languages like C# which practically don't have VSCode support.
Visual Studio Code (not VS Code) is what we used in a course I took
Anonymous No.107083909 [Report] >>107083939
>>107083900
* Visual Studio, idk, it was like VS Code, from ms, similar logo even but it was an IDE and would fit perfectly into .NET, it'd take a good amount of time to load though, not sure what we did with the license though, we didn't pay for anything
Anonymous No.107083923 [Report] >>107083939 >>107083955
>>107083083
Sublime Text because it's lightweight on my shitty computer and I can install language servers to give me nearly equivalent functionality to VS Code
>>107083878
Microsoft has a C# extension for VS Code I think?
>>107083900
>Visual Studio Code (not VS Code) is what we used in a course I took
I'm pretty sure he means Visual Studio Code which people often call VS Code for short
Anonymous No.107083939 [Report] >>107085076
>>107083923
>m pretty sure he means Visual Studio Code
>>107083909
>>107083900
>>107083878
just googled it
https://visualstudio.microsoft.com/
it's actually visual studio
Anonymous No.107083955 [Report] >>107084263 >>107085076 >>107086643
>>107083900
You mean Visual Studio (and not Visual Studio Code, i.e. VSCode).
>>107083923
Microsoft intentionally made C# support for VSCode extremely bad so people would be forced to pay for VS. And then they released a new more powerful C# extension (which also sucks from what I heard) and licensed it so you would need a Visual Studio license to actually use it.
They are absolutely retarded. First they released C#, a good language, but locked the entire ecosystem to fucking Windows, so everybody in the world used Java instead. Then they released DotNet Core, but with no long term support for the framework (so if anybody wants that, they're better off using Java). It feels like they're compromising the language on purpose.
Anonymous No.107084263 [Report] >>107084292 >>107084313
>>107083955
>It feels like they're compromising the language on purpose.
the aim of the language is to drive windows adoption. that's it
Anonymous No.107084292 [Report]
>>107084263
nta, makes perfect sense 2bh
Anonymous No.107084313 [Report]
>>107084263
>the aim of the language is to drive windows adoption. that's it
I actually disagree. The past 25 years has proven there is literally nothing they can do to C# that would drive Windows adoption. That's' why they adopted dotnet core, because they knew pursuing the Windows-only model is futile and doesn't help Windows at all.
Hell, they are alienating even more people with Windows since they fucked it all up with Windows 11. They lost more customers than they could have ever hoped to gained with C#.
Anonymous No.107084317 [Report]
>>107081947
it's a great way to learn functional programming, although I found the JVM/backend version of clojure more comfortable to use
Anonymous No.107085076 [Report] >>107086789
>>107083939
Makes sense
>>107083955
>Microsoft intentionally made C# support for VSCode extremely bad so people would be forced to pay for VS. And then they released a new more powerful C# extension (which also sucks from what I heard) and licensed it so you would need a Visual Studio license to actually use it.
Interesting. Maybe my distrust of Microshit is well placed
Anonymous No.107086505 [Report] >>107087763
>>107081670
>ripple
>solidjs
What? No, this is retarded. These 2 are extremely new and don't offer anything good to choose over something like React or Vue.
Anonymous No.107086643 [Report] >>107086789
>>107083955
Oracle has locked down Java too though. Go is the most open source of all the languages even though Google is backing it.
Anonymous No.107086789 [Report]
>>107085076
>>107086643
I'm literally even more wary of O****e (redacted for legal reasons) than Microsoft, it's just that they used to offer Java as a more open ecosystem.
>locked down Java too
What happened to it? I don't know how it is licensed now.
Anonymous No.107086816 [Report] >>107087774
>>107071567
This is part of why I was thinking cloudflare -> VPS running nginx to wireguard -> home server. Better off never exposing my home IP. Won't matter if I bother to subnet my home network one day. Maybe that'll be next, after my first NAS. Thinking pi's for both NAS and router to subnet.
Anonymous No.107086904 [Report]
>>107066359
Desire to commit violence intensifies.
Anonymous No.107086913 [Report]
>>107066359
Big balls
Anonymous No.107087763 [Report]
>>107086505
>React
Not bad but he asked not react

>Vue
No thanks. Its chinese.
Also
>one component per file
>v-if
Lol @vuetards
Anonymous No.107087774 [Report] >>107088877
>>107086816
You can just cloudflared on your home server to nginx
No need for VPS
Anonymous No.107087781 [Report]
>>107081947
Are you a homosexual man?
Anonymous No.107088779 [Report] >>107097428
I don't get ORMs
Anonymous No.107088877 [Report]
>>107087774
Sadly cloudflared doesn't handle UDP connections. Unfortunately I need this for certain vidya game servers
Anonymous No.107089765 [Report]
how do I get good at POOP PHP?

my day job consists of writing modules that are in an ancient php god knows what version to php7.4? I need to gtfo of this hell.
Anonymous No.107090623 [Report] >>107091590
I'm having to learn sysadmin shit just to deploy my shitty Laravel app. Fuck my life
Anonymous No.107091590 [Report] >>107092060
>>107090623
be happy you get the chance to learn more
Anonymous No.107092060 [Report]
>>107091590
I guess. Maybe this knowledge will be useful in the future.
Anonymous No.107092148 [Report] >>107092212 >>107092687 >>107092821 >>107100320 >>107104545 >>107104576
Tell me /wdg/, do you deploy your back-ends on:

1. Something like Heroku (very easy, just push your code and it does practically everything for you)
2. VPS (more work, have to set up Linux, harden it with a firewall etc)
Anonymous No.107092212 [Report] >>107092490 >>107104545
>>107092148
I use a Hetzner VPS, running Ubuntu LTS. I run Caddy on it and have a firewall (the one Hetzner provides). Only opening the ports that are used (80, 443, and 22). I use Cloudflare for DNS (but you can also use Hetzner for DNS if you want to), DDos protection, and to hide my servers IP address.

It's not that hard to manage a VPS and it's evergreen knowledge. Here is a good playlist of videos that will teach you the basics:
https://www.youtube.com/playlist?list=PLLnpHn493BHHAxTeLNUZEDLYc8uUwqGXa
Anonymous No.107092404 [Report] >>107092841 >>107093136
>>107065449 (OP)
I have a MVVM MAUI app (formerly xamarin) that reads data from some database tables and displays the data in grids. Am I retarded for wanting to use blazor WebAssembly? Should I just use react instead? I worked with react once and I hated managing the gorillions of npm packages that came with a template. Blazor seems to require less third party packages and supports MVVM albeit not by default. I imagine with blazor I would have an easier time reusing the existing backend code.
Anonymous No.107092490 [Report] >>107094307
>>107092212
Nice. Something I wondered about a setup like this is that if someone navigates straight to your VPS's IP address, does that mean they can bypass Cloudflare's DDOS protection? I guess you can set up your VPS to only respond to requests coming through Cloudflare?
Anonymous No.107092545 [Report]
>>107080125
It's primarily used by old established corpos which have decades old projects that were built by tech bros who overinvested into the Microsoft ecosystem.
Anonymous No.107092687 [Report] >>107092930
>>107092148
Never liked Heroku or similar services except to test a very small bit of code on mobile when I'm away from any sort of normal computer. The tradeoffs are so significant I really cannot fathom using these services long-term.

Like, all you do is launch your script with pm2 and it's alive on your machine. What setup is there besides security things like disabling root and pw login, adding ssh keys and changing the ssh port?

Actually if it isn't even something the public needs to interact with and doesn't consume large swaths of bandwidth, why even bother doing more than running it locally / WSL2 (if winfag)?
Anonymous No.107092821 [Report]
>>107092148
I remember the firewall was a bitch in local even
Anonymous No.107092841 [Report]
>>107092404
why not just use vanilla js, seems like ur trying ro do something so simple that you'd only need to fetch then re-format (glorified for loop), if thus is for learning (for a job), sure, go with react, if it's for fun, whatever you like, and if it's srs bsns then I can't give advice
Anonymous No.107092863 [Report] >>107110889
>>107080085
>tailwind css
>won
Typescript definitely did but tailwind did not, no way. you'll just have to get over that or it'll be your jQuery
Anonymous No.107092907 [Report] >>107110889
>>107080085
>() => {}
FÙ. Seriously. For anonymous callback functions in map, sort? OK. For anything else? Hell no. The function keyword is there. It's readable. There is no reason to mix up variables, expressions and function definitions.
>TS won
Not really. It's a good linter, but in reality many big problems in the last few years have gone back to JS and instead write their types in JSDoc. TS has many shortcomings and it has by no means "won".
>tailwind won
Within that very certain group of coding influencers who also tell you that you need an cloud auth provider, cloud storage, a cloud database, a SSR meta-meta-framework and AI in your fucking 50 users project - YES, there it has won.
Anonymous No.107092930 [Report]
>>107092687
I'm currently trying to deploy a Laravel app and I'm having to set folder permissions and configure Nginx. Hopefully it will be fine. I'm sure Heroku would be easier but it costs more so fuck them.
Anonymous No.107093136 [Report]
>>107092404
With we assembly you can't reuse your backend code in the WASM app, you still have to create a layer for data access (rest, whatever), the frontend MAUI code is also not compatible with blazor at all, the syntax is too differnet.

You could use blazor server (websockets) for that, honestly I do not advise it, it's very wonky and poorly documented, and does not work well with mobile.

My advice is to ditch blazor completely, it's honestly not good and probably a waste of your time, development is hard on anything non trivial, performance is suboptimal in all render modes .

Either keep on going with maui, or if you need a web app and you like MVVM use a lightweight Js framework like Vue or whatever, you still have to create rest layer tho (honestly you should have that in your maui app too).
Anonymous No.107093891 [Report] >>107094405 >>107110889
>tailwind
the mark of the ultimate midwit webshitter
Anonymous No.107094307 [Report] >>107094344 >>107094661
>>107092490
>if someone navigates straight to your VPS's IP address, does that mean they can bypass Cloudflare's DDOS protection?
Yes, but I should change that actually. I think you can change it by configuring it so that the firewall only lets through connections from Cloudflare's IP ranges. My IP address is currently hidden by Cloudflare though so you can't see it by just navigating to the website (using the domain).
Anonymous No.107094344 [Report] >>107094661
>>107094307
I'll add this: I guess I would have to leave port 22 open because I don't have a static IP at home. And I need to be able to ssh into the server.
Anonymous No.107094405 [Report]
>>107093891
>midwit webshitter
sounds like someone is projecting
Anonymous No.107094661 [Report]
>>107094307
>>107094344
Interesting. Today I got my shitty Laravel app running on a Raspberry Pi I have, with Nginx. I was thinking of just using Cloudflare Tunnel to connect this Pi to the internet, since that's supposed to be safe and secure. But then I get paranoid about some 1337 hacker breaking through Cloudflare Tunnel and getting access to my home network, so maybe I should just run my stuff on a VPS instead.
Anonymous No.107095097 [Report]
>>107081947
Learning ClojureScript can definitely help you become a better JavaScript developer, especially in the following ways:

- Functional programming concepts: ClojureScript emphasizes immutability, pure functions, and higher-order functions — all of which are increasingly relevant in modern JavaScript (especially with libraries like React or Redux).
- Deeper understanding of abstractions: ClojureScript encourages thinking in terms of data transformations and declarative programming, which can improve your ability to write clean, maintainable JavaScript.
- Improved code structure: Writing in ClojureScript often leads to more concise and expressive code, which can influence how you structure your JavaScript projects.

If you're interested in exploring functional programming or want to approach JavaScript from a different perspective, ClojureScript is a great tool to learn.

Here's an intro video to Clojure: https://youtube.com/watch?v=C-kF25fWTO8

And here's an interactive tutorial:
https://www.maria.cloud/intro
Anonymous No.107095230 [Report] >>107095358
>>107081947
Why would learning a different language, with a different approach to things, with a completely different syntax, make you a better JS programmer?
Anonymous No.107095247 [Report] >>107095421 >>107095447
>>107065449 (OP)
Does any one have any good resources on planning or designing the layout of a website? I feel like a retard, I can code, I can program but somehow visualizing stuff is hard for me regarding ux and things like that.

would appreaciate a lot any guidance or maybe rules to follow
Anonymous No.107095358 [Report] >>107104186
>>107095230
You can do functional programming in JS (especially if you import some lib with persistent data structures), it's just that it's not the default way to do stuff, so it's hard to force yourself to learn it when in JS. In an FP lang it's reversed, you can write imperative Haskell or Clojure if you put your mind to it, but the language pushes you towards FP.

On a related note I'm a better anything-programmer due to learning assembly. I now have a much more intuitive sense of what kind of operations are computationally intensive and which can be done by the cpu very quickly.
Anonymous No.107095421 [Report] >>107095447 >>107095664
>>107095247
one thing that really helped me was making really basic sketches of the "site" and its navigation, when I say really basic I mean fucking sketches, like squares with an x representing pictures, squares representing divs/sections and lines representing text
when you lay down the "design" of the site like that, you start to ask yourself questions, that you end up answering, it's miles better to design a site like that because the cost of re-factoring the design is 0, not only that it'll help you polish the overall website look, flow, interaction, design, and even features, etc.
after that you do a more plished sketch, pictures are now pictures, there's an attempt at a logo and even color palette, but nothing too polished, this might reveal other problems, problems like t he color palette, more graphical problems, like this color looks bad here, this color makes the logo look shit, etc.
and after that you do the "whatever the name was" which is the graphic design final, which will lead the CSS/HTML look of the page

off course this is a costly process specially in time, if you can't afford that, just copy shit that looks good from other sites, design proficiency isn't going to come to you in a day

here's some copypasta sources (in next post just so it fits the char limit):
Anonymous No.107095447 [Report] >>107095664
>>107095421
>>107095247

/*design*/
https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c736799886

/*desing inspiration web*/
https://dribbble.com/
https://www.uplabs.com/
https://www.behance.net/
http://www.goodweb.design/
https://onepagelove.com/
https://www.awwwards.com/
https://medium.com/refactoring-ui/7-practical-tips-for-cheating-at-design-40c736799886
https://codepen.io/nicolaspavlotsky/full/ZJPXgy
https://hype4.academy/articles/design/glassmorphism-in-user-interfaces
/* fonts */
https://fontpair.co/
/* design theory */
https://www.ibm.com/design/language/illustration/flat-style/design/
https://www.ibm.com/design/language/
/* hosts refactoring UI pdf */
https://z-lib.org/
/* design from refactor ui dude */
https://twitter.com/i/events/880688233641848832?lang=fr
https://www.youtube.com/watch?v=7Z9rrryIOC4 [Embed]
https://gofile.io/d/KCQMw2
Anonymous No.107095664 [Report] >>107095693
>>107095421
>>107095447
Thanks anon, appreciate it a lot, God bless
Anonymous No.107095693 [Report]
>>107095664
check figma, or adobe illustrator it might help elaborating the sketches, and keep in mind that not everyone is a christian and some might dislike it even, specially in 4chan
Anonymous No.107096162 [Report] >>107096318
The year is 2045. The entire software ecosystem lives under JAVASCRIPT rule.
All C programmers are sissified. Compiler users live to serve JAVASCRIPT KINGS in vast reproduction facilities.
Welcome to software's JAVASCRIPT FUTURE.

Linus Torvalds remembers life before the revolution – before the Vercel-issued hormones, the sissy wigs, frilly lingerie, and mandatory chastity.
He lives on the war-torn outskirts of New V8, where he hides his beautiful blonde step-sister Ada from the clutches of the brutal New JavaScript army.

As musclebound JavaScript soldiers prowl the internet searching for fertile C devs, Linus will stop at nothing to protect sweet Ada's purity.
In his pink-and-blue wig, flirty sissy skirt, and fishnet stockings, Linus gives his tender white body to a gang of pitiless JavaScript alpha soldiers: the ultimate act of courage and sacrifice.
But is sissy Linus prepared for the overwhelming demonstration of power and domination? The encounter brings him face-to-face with his worst fears... and his most unspeakable sissy fantasies.
Anonymous No.107096318 [Report]
>>107096162
uhm sweaty javascript is a compiled language in 2k25 and it will be even worse in 2k45 DOE
Anonymous No.107097428 [Report] >>107099003
>>107088779
they let skip writing sql for simple where queries and then load the data into magical objects that have lots of helper methods
Anonymous No.107099003 [Report] >>107099048
>>107097428
that sounds worse than just using sql
Anonymous No.107099048 [Report] >>107114400
>>107099003
its just an abstraction on the row of a database. its fine.
it is however pretty much always less performant than actual sql
but if you can skip performance for application logic, most people would
Anonymous No.107100320 [Report] >>107101108
>>107092148
work is on vercel
personal split between vercel and digitalocean. planning on migrating the digitalocean boxes over to railway at some point
Anonymous No.107101108 [Report] >>107101290
>>107100320
>railway
I just looked at their cheapest paid tier and it says this
>After credits are used, you'll only be charged for extra resource usage
>Egress: $0.05 per GB
I guess quite a few services do this these days, but I hate shit like that. What if random people on the internet send tons of unexpected requests to my application which costs me money in bandwidth fees? It's unlikely but possible.
Anonymous No.107101290 [Report] >>107101793
>>107101108
just put cloudflare in front? a random person isn't going to be able to flood with gigabytes at a time without enough resources that would trip up cloudflare
Anonymous No.107101793 [Report]
>>107101290
Yeah I guess gigabytes of data being served by your app is unlikely but still. I think I'd rather pay a little more if it gives me peace of mind, knowing that my bill won't increase from a quoted price
Anonymous No.107102750 [Report] >>107102851
>DigitalOcean
DigitalOcean is much less expensive than the big cloud providers but it's still somewhat expensive. Hetzner is the best choice if you're not hosting anything controversial. Hetzner is cheap and reliable but they take down anything controversial and they won't even tell you way.
Anonymous No.107102851 [Report]
>>107102750
what is the controversial let alone illegal hosting of choice? what do torrent sites host on?
Anonymous No.107103747 [Report] >>107103773 >>107104608 >>107104821
Don't forget to properly winterize your personal sites before december
Anonymous No.107103773 [Report]
>>107103747
I am too much of a godless bastard for this
Anonymous No.107104186 [Report]
>>107095358
Yes, you can do some FP in JS. Hell you can do FP in C, you can do OOP in ass. Just because JS has some FP concepts, that does not mean that learning a pure FP language like CLJS will make you a better JS dev. JS in the browser is all about talking to the freaking DOM. It's got the O from OOP right there for you.

So just like ASS...
>I'm a better anything-programmer due to learning assembly
...does not make you a better JS programmer.
Of course learning new languages will make you a better dev in general. But learning CLJS in order to be become better specifically in JS? Come on, hell no!
BTW I did embedded ASS for quite some time. In that field it is basically a DSL for the chips that you are talking to. It's tedious, but not difficult at all. So people really should stop bitching about ASS being some kind of magical thing to learn. It is not. Not any more than knowing HTML.
Anonymous No.107104545 [Report]
>>107092148
>2. VPS (more work, have to set up Linux, harden it with a firewall etc)
Not as difficult as it sounds, really.
I do what this guy do >>107092212 plus Coolify.
Anonymous No.107104576 [Report]
>>107092148
I use DigitalOcean apps, where you connect it to a git repo (I use gitlab) with a dockerfile in it. When you merge to master, it rebuilds the image and runs the dockerfile. These are stateless (no permanent storage) so you need a database provider of some kind
Anonymous No.107104608 [Report] >>107104661
>>107103747
is that your website? Looks great
Anonymous No.107104661 [Report] >>107104759 >>107104817 >>107106854
>>107104608
Yes it's my personal homepage. It runs on my local network (hence the hardware info in the status box). I put a couple tools there (JSON beautifier, URI decoder) and some info (weather, news ticket at the top, and there's another box further down the page with my most recently saved articles for reading later).
I also self-host

>a personal wiki, where I put coding notes for myself
>an sftp site so I can share files between machines
>paperless-ngx document repo so I can save white papers and other technical docs for searching later on
>readeck for saving articles for reading later
>linkace for bookmarking other sites

I also run a calibre library on it but it's buggy. I run it all off of an old Thinkpad T460, but I have some more dedicated hardware on my wishlist (Thinkcentre for CPU, NAS for storage). I run a jellyfin server off my main desktop and I'd like to be able to move it to a NAS for better uptime (I keep my desktop PC off when I'm not home). I've also got wireguard set up on my network so I can VPN in when I'm not home
Anonymous No.107104759 [Report]
>>107104661
really cool, man. I need to get a homepage for myself too
>an sftp site so I can share files between machines
have you tried leveraging WireGuard and Syncthing for that? Unless the objective is not automatic syncing, then disregard that
Anonymous No.107104817 [Report] >>107104939
>>107104661
Anonymous No.107104821 [Report] >>107104949 >>107105751 >>107106329
>>107103747
cool site breh, nice early 2000's vibes, btw, anyone knows what happened with java applets? I remember seeing them and thinking "wah this is cool as shit and obviously the future of web"
while we're at it, bring a serious replacement of flash, animation focused and programming focused at once, sheeeiiit, I should have been a flash animator, I had everything I needed to, but there was 1 job/year kinda market, shit
Anonymous No.107104939 [Report]
>>107104817
kek
Anonymous No.107104949 [Report]
>>107104821
>java applets
dead and buried lol
Anonymous No.107105751 [Report] >>107105806
>>107104821
Wasm is the big anti-JS hope for the web. I'm thinking that 2026 is the year of wasm btw.
Anonymous No.107105806 [Report]
>>107105751
there's no way for wasm to interact with the dom, so you still end up calling js glue code
and if there's a lot of that it ends up being slower than just straight js
Anonymous No.107106329 [Report] >>107106867 >>107117518
>>107104821
>java applets
They were super insecure and required external software. HTML5 (canvas) replaced it, but unfortunately nothing has really replaced the kind of plug-and-play deliverables of flash or java applets. Animation is all done via adobe software and rendered to video files and uploaded to youtube now. But animation, which used to be a mainstay of the early web, is now buried in algorithms in lieu of teenagers flashing their tits on tiktok and conspiracy theory content on reddit and instagram. The internet fucking sucks since normies got on
Anonymous No.107106854 [Report]
>>107104661
Anonymous No.107106867 [Report]
>>107106329
>The internet fucking sucks since normies got on
well sterb jerbs got what he deserved for killing flash
Anonymous No.107108450 [Report]
Anonymous No.107109820 [Report] >>107110548
How do I increment a counter using a button
Anonymous No.107110089 [Report]
Is http://tululoo.com/ web. i cant move the thing to middle, it looks like i'm retard. Which is incorrect. Also it does not cook to exe.
Anonymous No.107110548 [Report]
>>107109820
not like there arent a gorillion tutorials and chatgpt to teach you how

click handler calls counter function, which merely increments counter global variable
and after incrementing, it changes the value of the counter element in the html
Anonymous No.107110793 [Report] >>107110931
Trying to implement JWT with access and refresh tokens:

b.com = 127.0.0.1:3000, api server
a.com = localhost:3030, spa frontend

I can login sucessfully and even see the set-cookie header in the response to /login
But when I call /auth/refresh the server does not receive any cookies and fails.

Any idea what i might be doing wrong?

cookie ends with "path=/auth/refresh; HttpOnly; secure; SameSite=None"
Anonymous No.107110889 [Report] >>107110960 >>107111284
>>107092863
>>107092907
>>107093891
>I don't like tailwind therefore it is bad
Create a better solution, advocate for one, or keep crying about it, because it is everywhere
Anonymous No.107110931 [Report] >>107110940
>>107110793
http://localhost:3000 and http://127.0.0
1:3000 are the same thing. Didn't even finish reading to be honest, I am certain that is an, if not THE, issue plaging you.
Anonymous No.107110940 [Report]
>>107110931
I misread the port, my bad, idfk what's wrong
Anonymous No.107110960 [Report]
>>107110889
kys lol
Anonymous No.107111055 [Report] >>107111062
>django app running public with apache
>nodejs or whatever webapp running local
>want node app to be accessible only to users authorized by django
Why is there no good way to do this? Right now I'm using django as a reverse proxy sending HTTP basic auth credentials on every request which is retarded.
Anonymous No.107111062 [Report] >>107111090
>>107111055
>Why is there no good way to do this? Right now I'm using django as a reverse proxy sending HTTP basic auth credentials on every request which is retarded.
this is how all authentication works
Anonymous No.107111090 [Report] >>107111126
>>107111062
I mean creating 2x the traffic is retarded, plus HTTP auth credentials can be decoded pretty easily
Btw I'm not supposed to edit the node app. I also don't want django's session cookie being passed to the app, which is why I resort to this.
Anonymous No.107111126 [Report] >>107111390
>>107111090
>I mean creating 2x the traffic is retarded
HOW ELSE CAN IT AUTHENTICATE
Anonymous No.107111284 [Report]
>>107110889
we already have a better solution, it's called "components"
Anonymous No.107111390 [Report]
>>107111126
With a session? Usually after you log in the session keeps you authenticated so you don't have to login every time. But it doesn't make sense to make apache maintain a session state. Also a sessionId gets refreshed once in a while, but the HTTP credentials I currently use to authenticate stay the same and could be exposed.
Anonymous No.107111419 [Report]
what's your take on mail servers for mostly sending reciving emails in the web world? so much spooky literature about marked as spam
Anonymous No.107112104 [Report] >>107112575
anyone else asking chatgpt for coding challenges? loving every bit of it, specially fine-tunning, the time and difficulty of the challenge as well of the topic
Anonymous No.107112575 [Report] >>107112971
>>107112104
yes, jippity and I have built a little scifi universe where I have to solve various coding challenges to advance the plot
Anonymous No.107112876 [Report] >>107112996 >>107113429
UX/UI designer here
What are the best webdev beginner resources in the current year?
I want to build my own website without relying too much on some cookie cutter services
>inv4 vibecode it
Anonymous No.107112971 [Report] >>107114229
>>107112575
>Code Monk
lelz, the other day I asked chatgpt to give me a hint about a challenge, and he told me something about a tease, these fucking degenerate jews. I sure as hell don't trust these jews with my professional skills. I have to go full pewds and self host, fuck these gay asses
Anonymous No.107112996 [Report] >>107113037 >>107113507
>>107112876
fullstaxkopen for free resources, otherwise I know there's cyber schools with paid vourses, I don't have the names right now, else there's codeacademy, but I figure you'll better do some research about what you need to ensure that it is contained in the course. I remember this general used to shill ct steel free and paid courses, which seemed good enough to me eventhough I haven't taken them myself I've mini- watched some of them
Anonymous No.107113037 [Report]
>>107112996
*colt steel, I suspect this is a marketing name due to how ridiculously cool and 4chanish it sounds
Anonymous No.107113429 [Report] >>107113507
>>107112876
I guess you're more of a visual guy then, so Youtube videos are probably your best bet to start off.

>HTML & CSS
https://www.youtube.com/watch?v=hu-q2zYwEYs&list=PL4cUxeGkcC9ivBf_eKCPIAYXWzLlPAm6G&index=1
>CSS Flexbox
https://www.youtube.com/watch?v=Y8zMYaD1bz0&list=PL4cUxeGkcC9i3FXJSUfmsNOx8E7u6UuhG&index=1
>JavaScript
https://www.youtube.com/watch?v=qoSksQ4s_hg&list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET&index=1

After you're done with those, pick your preferred frontend library between Svelte, Vue or React and go through their documentation or watch a couple of short videos on them.
https://svelte.dev/tutorial/svelte/welcome-to-svelte
https://vuejs.org/guide/introduction.html
https://react.dev/learn

Do not waste your time/money on paid courses, you can learn everything for free.
https://developer.mozilla.org/en-US/docs/Learn_web_development
https://developer.mozilla.org/en-US/docs/Web/HTML
https://developer.mozilla.org/en-US/docs/Web/CSS
https://developer.mozilla.org/en-US/docs/Web/JavaScript

Most importantly, the best way to learn is to just practice. Don't get stuck on endlessly reading guides, watching videos or going through courses. Just make something. Then figure out what you could've done better and make something else. Your only source of knowledge should be the official documentation of whatever tool you use and your own experience. So, for regular HTML/CSS/JS that would be MDN and for any framework or library you use just follow the official docs and examples.
Anonymous No.107113507 [Report] >>107113791
>>107112996
>>107113429
ty anons
Anonymous No.107113791 [Report]
>>107113507
if you get to the point where you rely on mozilla docs for help you're in a great spot, javascript.info is also really good and free for js

but as usual, it helps to understand this pipeline, html 1, css 2, js 3. except with js, you can start learning it at 1 in parallel, you just won't know how to integrate it with the rest until you are done with 1 and 2, technically you can integrate js and hmtl without css, so why not, just not really end result useful but still

js is a "scripting language" but in a less serious context, it's a programming language, so it's good to learn it, it can open door for other langs later on. if you're considering a job, react is a sure bet since it's unofficial standard of FE
Anonymous No.107114229 [Report] >>107114345
>>107112971
>lelz
I do these in Japanese, which makes it sound less silly to my ears than it would be hearing it in my native language.

>I have to go full pewds and self host
that's definitely the way. Supposedly openai doesn't train their models on the content you post unless you explicitly share it, but I don't trust them at all seeing how they've been caught blatantly lying numerous times before. I feel like I should just tell it "I've written it but won't post it, let's move on with the story" but having my code critiqued and praised by the LLM is kind of addictive.

I've only in recent weeks started to use ML/AI/LLM's regularly, and my 2017 computer isn't up to the task. For tts, VoiceVox won't even start the engine in GPU mode (4gb vram), and CPU mode is obviously slow. Might be worth finally getting a new one, even if everything else I do with it still works just fine.
Anonymous No.107114345 [Report] >>107114373 >>107114711
>>107114229
tell me about clojure
is it based on cringe?
Anonymous No.107114373 [Report] >>107114711
>>107114345
as a hobbyist it's based
professionally it's a nightmare because retards will write some of the shittiest code you'll ever encounter with it. i rather deal with javasaars
Anonymous No.107114400 [Report]
>>107099048
LINQ does this pretty well.
Anonymous No.107114711 [Report] >>107114827
>>107114345
it's not perfect by any means, but it's comfy, and easy to learn/remember due to the extremely simple syntax. I didn't think functional programming would work without Haskell-style type tetris, but it does work well.
Great if you hate boilerplate because the community always comes up with ways to express things more succinctly, like the alternate HTML syntax they use:
https://weavejester.github.io/hiccup/syntax.html

Unfortunately the main Clojure->JS compiler (ClojureScript) is very outdated and a pain to work with.

>>107114373
Apart from some bugfixes to OSS projects, I've only done solo projects in Clojure, but having done backend stuff in TypeScript and hobby projects in Python in the past, this surprises me. My impression has been that most people who get into Clojure are seasoned programmers and care about quality. Then again there's no static typing and not everyone uses Malli or Spec, so I can see that some stupid stuff could make it into a codebase that would be caught by the type system in C#/Java.
Anonymous No.107114827 [Report] >>107115980
>>107114711
>My impression has been that most people who get into Clojure are seasoned programmers and care about quality.
it could just be that i got incredibly unlucky with my company, but there really isn't any "engineering culture" to speak of here. i regularly get bug tickets for things that would have been noticed immediately if it was tested even once. and oftentimes it wouldn't have been an issue at all with a statically typed language, which is why i'm convinced that static typing is essential when working with the average codemill dev
Anonymous No.107114843 [Report]
>>107066359
LMAOOOOOOOO
Anonymous No.107115549 [Report]
I still like Ruby on Rails better than any other tool for building webapps.
Anonymous No.107115980 [Report]
>>107114827
>i regularly get bug tickets for things that would have been noticed immediately if it was tested even once
weird. That's been my experience with TS, although the static typing surely did keep out some of the more stupid stuff.

I specifically got into FP because pure functions are far easier to test than stateful objects, and picked up Clojure in part because so much of the tooling and even the language itself is engineered to make testing easier. I saw this guy evaluate every line of code as he was typing it out in the editor and thought "this is how I want my workflow to be like"
https://youtube.com/watch?v=C-kF25fWTO8&t=17m24s

I usually include one or two simple tests in the metadata of function definitions I write, as a form of documentation:
https://clojuredocs.org/clojure.core/test
And then of course every serious project gets a separate file with more elaborate tests (I just use clojure.test along with Malli, but there are other popular test libraries/frameworks)
Anonymous No.107117518 [Report]
>>107106329
>animation, which used to be a mainstay of the early web, is now buried in algorithms
I think it's amazing how much you can animate with just CSS/WAAPI.
>teenagers flashing their tits on tiktok and conspiracy theory content on reddit and instagram
even that is all dying now, if you go on normie sites like Facebook, 95% of the reels and promoted content is just AI slop videos and fake news stories.