← Home ← Back to /g/

Thread 106988821

319 posts 86 images /g/
Anonymous No.106988821 [Report] >>106989535 >>106989776 >>106991924 >>106991967 >>106992086 >>106995769 >>106995890 >>107001202 >>107046421 >>107048062 >>107048102
/wdg/ - Web Development General
Egress fees 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: >>106910741
Anonymous No.106988943 [Report] >>107006661 >>107007757
I'd appreciate some input >>106988215

On my end I created a vue project in web/ and start it using npm dev but that that feels wrong to me. Ideally I want 1 binary I run that just werks.
Anonymous No.106989351 [Report] >>106989527 >>106989619 >>106989648 >>106993486 >>106993694 >>107007407 >>107061531
Hello everyone, I’ve recently had the sudden urge to create my own personal website. I’m not looking to make money from it, I just want my own little corner of the internet that isn’t hosted on some third-party platform. I have some developer friends, but I’d really like to do this completely on my own. I’m not aiming for a fancy or polished site, just something minimal, and I’m not interested in learning all the details of HTML, CSS, or web development. Every tutorial I’ve found so far either goes too deep into coding or doesn’t really fit what I’m trying to do. All I want is a simple written guide or video that explains how to purchase a domain, set up a very basic website with a few pages (a contact page, a page where I can post my thoughts, and maybe one more about the creative projects I've worked on), and include some kind of simple way to create new posts without having to manually edit code each time. If anyone knows of a good step-by-step guide or resource that covers something like this, I’d really appreciate it.
Anonymous No.106989527 [Report] >>106995822
>>106989351
ask Copilot or Claude to generate an html with css and js, then host it on github pages.
Anonymous No.106989535 [Report]
>>106988821 (OP)
Add Scrimba to the list pls.
>paid
There are half price coupons somewhere.
Anonymous No.106989619 [Report] >>106989726
>>106989351

unironically Luke's website https://landchad.net/
you can get a website up in a couple of hours
the tutorial there uses Vultr to cloud host
Anonymous No.106989648 [Report]
>>106989351
Use something like wix.com. It's literally made for your use case.
Youtube for the domain name tutorial. But start with the website first.
Anonymous No.106989689 [Report] >>106994348 >>107038036
I lied on my resume and I need to get proficient with React quickly. What's my best option to not get completely humiliated during my interview in a few weeks?
I'm mostly a DSP and graphics programming hobbyist but the only jobs I can find are webdev related. I do have a bit of experience with Laravel, Hugo and I used Angular for one project a few years ago.
Anonymous No.106989726 [Report] >>106989805
>>106989619
This is exactly what I was looking for. Thank you so much for your help. Regarding privacy, with a bare-bones website like that which doesn't host any passwords or things that you'd generally want to keep to yourself, are there any concerns that I should be aware of? If so, what steps can I take to protect myself?
Anonymous No.106989776 [Report] >>106992308
>>106988821 (OP)
I see that hono has client-side components, but I can't figure out how to integrate it with the router part. The docs only show a simple counter example, not how the router can use it. I don't want any ssr/hydration, but I still need hot-reload during dev and this is driving me mad.
Anonymous No.106989805 [Report]
>>106989726
Yeah your server and site will be bombarded with automated requests all the time, and bots will try to get into your server the moment you start it up. Running a server for a personal static website when you're not interested in the tech is more trouble than it's worth. You can host your own HTML/CSS/JS on GitHub pages for free. No server required.
Anonymous No.106991895 [Report] >>106992371 >>106993050
how do you go about commissioning the creation of a website both front end and back end with knowing that the programmer hasn't created a back door or something that would be a security risk?
Anonymous No.106991924 [Report] >>106992172
>>106988821 (OP)
Is there aws lambda except cheap, somewhere? Pref with pulumi/terraform available.
Like hetzner cloud or some shit
afaik oracle cloud is clown fiesta

>I lied on my resume
based
>react
just gpt5 will be fine
Anonymous No.106991967 [Report]
>>106988821 (OP)
>scaleway
>STARDUST1S 1vcpu 1GB RAM for 0.1 euro per month
Wtf thats insane
Anonymous No.106992086 [Report]
>>106988821 (OP)
>picrel
Based French frogs
Anonymous No.106992172 [Report]
>>106991924
cloudflare workers
Anonymous No.106992226 [Report]
>6 months waiting for nic.eu.org domain
Anonymous No.106992308 [Report] >>106998857
>>106989776
https://github.com/yusukebe/hono-jsx-dom-with-vite
Anonymous No.106992371 [Report]
>>106991895
Not possible without knowing how to do it yourself. You're asking how to tell if the mechanic put back the engine together correctly when you don't even know how to check the oil.
Anonymous No.106992661 [Report] >>106992708
Has anyone used AdonisJS in lieu of Laravel?

Yes I know >Nodejs, but I can't choose the language, only the libraries
Anonymous No.106992708 [Report]
>>106992661
Saw it some years back, doesn't seem to have taken off. npm weekly download stats seem piss poor, I've got a niche react native lib that I haven't even advertised anywhere with half the weekly downloads
Anonymous No.106992806 [Report] >>106992837 >>106994233 >>106995856 >>107026436
Rust
Postgres
HTMX
raw CSS with good old reset
Clorinde
Tokio Postgres
Refinery
Axum
Maud
Anonymous No.106992837 [Report]
>>106992806
Superbased stack
Anonymous No.106993050 [Report]
>>106991895
You do a security audit that costs money

They're probably have an AI tool these days thats good enough desu.
Anonymous No.106993051 [Report]
What's the equivalent in C# to keyof and typeof? Do I just have to change my way of thinking and manually define out enums?
Anonymous No.106993388 [Report]
Kek cloudflare still doesnt support swr
https://community.cloudflare.com/t/support-for-stale-while-revalidate/496788/45
Anonymous No.106993486 [Report]
>>106989351
Use cloudflare and cloudflare’s api to update your A record to point to your ip dynamically, you can update the cloudflare api using a systemd service that starts at boot and updates it every 15-20 minutes. If you disable cloudflare’s proxying service you can host things on atypical ports (including game servers) otherwise you have to host a reverse proxy (docker/traefik) which has labels with a route to any service you want public. You can also setup SSL/TLS this way. You can create a wildcard A record in cloudflare, then all requests for your domain will go to your reverse proxy. You basically don’t have to spend anything other than electricity and domain registration this way, and don’t need to use the cloud at all (thank GOD)
Anonymous No.106993694 [Report]
>>106989351
If you want 0 code, just get a Wordpress instance hosted by a 3rd party, or Wix/Squarespace or some shit like that

Wordpress gets shit thrown at it, but it's popular for a reason.
Anonymous No.106994233 [Report]
>>106992806
why does this image turn me on slightly?
Anonymous No.106994271 [Report] >>106995161
The fact of the matter is that I avoided getting a VPS with Hetzner because it sounds very jewish to me. I'm sure it's just very German...
Anonymous No.106994348 [Report]
>>106989689
reacts documentation and guides are pretty gud it seems, just build some stuff and learn the syntax/structure. Not a crazy lift if you have a few weeks
Anonymous No.106994966 [Report] >>106995332 >>106995585 >>107002373
QRD on CPanel hosting?
It looks like it is the cheapest way to host dynamic websites, what is the downside? Can I run arbitrary CGI/ fastcgi programs written in a compiled language or am I bound to PHP and other supported scripting languages?
Anonymous No.106995161 [Report] >>107011011 >>107011045
>>106994271
Hetzner is only viable if you never make anything controversial, a troon calling for you to get deplatformed is enough for them to pull a plug on everything you have. You don't need to go full shizo and pay 200% markup for "free speech" hosting but using something like Vultr or DO is safer since they give less fucks.
Anonymous No.106995332 [Report] >>106995527
>>106994966
it's shared hosting, so you're pretty limited to whatever the host's setup is, which is usually lamp.
jailed ssh, may or may not have git or npm or other funky stuff, and you can't build your app from it.
it's good enough if all you're trying to setup is wordpress or some cms.
Anonymous No.106995527 [Report] >>106995550 >>107002373
>>106995332
but that means if I figure out a way to compile my stuff, I can run it there?
Anonymous No.106995550 [Report] >>106996896
>>106995527
you can only upload pre-compiled js files.
there might be some host that allow compiling on the server, but it's unlikely since it's cheap hosting.
Anonymous No.106995585 [Report] >>106995671
>>106994966
If you want full control, pay for a minimal Linux VPS which comes with a public IPv4 on Linode, or Digital Ocean, or AWS Lightsail, or a thousand other providers. Then you have full control of installing a webserver and software stack.

Only $5/month or something typically. We use AWS Lightsail at work for a bunch of low-traffic sites.
Anonymous No.106995671 [Report] >>106995738
>>106995585
yeah that's what I'm currently doing. I manage a website that is 99% static and has a single form that gets 3 entries a month and wondered whether I could save some costs with cpanel hosting
Anonymous No.106995738 [Report] >>106995818
>>106995671
if the files don't change much, then you could try shared hosting.
compile js/css on your computer.
if the result works on a lamp setup, zip it, upload it to the host, then unzip it.
Anonymous No.106995769 [Report]
>>106988821 (OP)
>that graph
fucking how?
and how does this apply if you're being actively DDoS'd?
I never understood this shit. reminds me of the old long distance telephone or non local trunk call fees.
Anonymous No.106995818 [Report]
>>106995738
i forgot, in a shared hosting, the entry point is public_html folder or something.
you need to find a shared host with ssh access, delete public_html, then create a symbolic link named public_html that points to the public folder of your project.
Anonymous No.106995822 [Report]
>>106989527
this is what i did and pretty simple. Helps to be a little familiar with web design and coding principles but not necessary.
Anonymous No.106995856 [Report]
>>106992806
um... based?
I started using more Axum at work and it heems the shit out of all the major webshit I've done before. I don't understand it. it's so good.
Anonymous No.106995890 [Report] >>106996190 >>106996444 >>107006580
>>106988821 (OP)
OVH just told my coworker that our 2 Samsung NVE (soft raid 1) committed sudoku at the same time, and we lost everything on that server.

It's cheaper for a reason...
Anonymous No.106996190 [Report]
>>106995890
There's always issues. Look at the total shitshow that is AWS. You have to back things up on AWS as well. Google Cloud lost all the data of some Australian investment fund a few years ago.

Anyways, I've never had any issues using Hetzner for many years now.
Anonymous No.106996419 [Report]
https://www.youtube.com/shorts/q3i4jtp-byQ?feature=share
Anonymous No.106996444 [Report] >>106996557
>>106995890
How hard is it to create a cron job to periodically rsync your shit?
Anonymous No.106996557 [Report] >>106997101
>>106996444
>rsync
just nsync it
https://www.youtube.com/shorts/q3i4jtp-byQ?feature=share
Anonymous No.106996896 [Report] >>106999754
>>106995550
Kek at the webshitter conflating running a binary server-side and bundling/minifying a frontend js web app
Anonymous No.106997093 [Report] >>106997128 >>107000794
>>106975238
>You're a nigger. By "fullstack" I meant "batteries-included" such as ORM, authentication framework, testing framework, admin panel, etc. Svelteshit does not provide everything you need out of the box to build a web app.

Never. And I mean never ever have I heard a white/asian dude refer to a full-stack framework as requiring any of the shit you listed. All it requires is common back-end (API) + front-end (UI) components. So you are, infact, the nigger here.

Reminder for anons ITT to learn Sveltekit since it's the future of your profession.
Anonymous No.106997101 [Report]
>>106996557
>niggersync it
how about no
Anonymous No.106997128 [Report]
>>106997093
The graph says otherwise, eact is the future.
Anonymous No.106997626 [Report] >>106999424
Today I will remind them
Anonymous No.106998857 [Report]
>>106992308
Very nice. I was trying out redwood sdk, but hono seems much more mature. I just hope I can make this work with tailwind.
Anonymous No.106999424 [Report]
>>106997626
svelte is better
Anonymous No.106999754 [Report] >>107002373
>>106996896
>binary server-side
shared hosting is a lamp setup, so that shit wouldn't work there in the first place.
Anonymous No.107000794 [Report]
>>106997093
Still I rise
Anonymous No.107001202 [Report] >>107001214 >>107004066 >>107025843
>>106988821 (OP)
why is it so fucking expensive from aws google and azure?
Anonymous No.107001214 [Report] >>107001218
>>107001202
speed probably
Anonymous No.107001218 [Report] >>107001225
>>107001214
you mean they're much faster bandwidth than e.g. hetzner?
Anonymous No.107001225 [Report] >>107001316
>>107001218
well obviously they would be especially globally, all about edge caching and stuff. AWS will float your stuff around the world so someone in japan and greeland can both get it fast
Anonymous No.107001316 [Report]
>>107001225
It's not worth paying such prices for the rare chance someone in Greenland visits your site and has 100ms less latency. People are just ignorant of better solutions
Anonymous No.107002373 [Report] >>107003562
>>106999754
And this is what the initial question was about in >>106994966 and then >>106995527
retard
Anonymous No.107002649 [Report] >>107002680 >>107003136
>angular front-end
>flask backend

public sector project, GIS based thing for land management, used by thousands everyday and hundreds of public servants.

Angular is a bit of a company policy, backend is usually done in spring but our team is mostly pythonistas.
Anonymous No.107002680 [Report] >>107003046
>>107002649
if python and backend api, the general recommendation would be fastapi
Anonymous No.107003046 [Report] >>107003090 >>107003136 >>107015016
>>107002680
Company has large bias towards "stable" things. I'd have a hard time selling it for this specific project.
Anonymous No.107003090 [Report]
>>107003046
does that mean no flask-openapi3 either?
Anonymous No.107003136 [Report] >>107003226
>>107002649
>>107003046
Why not use Go? It's simple, performant, and more secure because of less dependencies (std lib is great).
Anonymous No.107003226 [Report]
>>107003136
her team is mostly pythonistas. go isn't python.

p.s. go standard library isn't that great. basic Errgroup.WithContext() is not part of the standard library.
Anonymous No.107003257 [Report] >>107003316
I want to make something like a timeline you can navigate, scroll to the end, scroll to the start, zoom in, zoom out, in a similar way that video editing software does to the video timeline.

Does anyone have any resources or examples to share on how to build something like this?

My initial thought is to work on it on html/css/js but any ui like that in whatever language would work for inspiration.
Anonymous No.107003316 [Report] >>107007147
>>107003257
github.com/omni-media/omniclip
Anonymous No.107003350 [Report]
snek :DDD
https://0x0.st/K2jv.url
Anonymous No.107003562 [Report]
>>107002373
sorry, nigger.
i thought "compile stuff" was js/css, and was answering qrd on cpanel hosting.
so the real answer to the initial question regarding compiled shit is no. shared hosting is limited. best buy a budget vps.
Anonymous No.107003855 [Report] >>107004060
a few days late, but was anybody impacted by the AWS outage last week? Would love to hear your stories
Anonymous No.107004060 [Report]
>>107003855
aws wasn't down. a single region, us-east-1, was.
Anonymous No.107004066 [Report] >>107004168
>>107001202
They are the default for many companies so they can change high prices because they won't leave. Most people don't even know what Hetzner is, they host about 3% of the web while AWS is at 30-something%.
Anonymous No.107004168 [Report] >>107004348
>>107004066
egress costs are a non-item on your aws bill. high egress costs just means you will choice internal aws services and not go elsewhere.
hetzner is more of a vps provider. hetzner has no equivalent to most aws services.
Anonymous No.107004182 [Report] >>107004197
Just spent ages trying different ways to merge two git repos (with their histories intact) into a single repo. Turns out that the first way I tried was successful, it's just that my git GUI (Sublime Merge) only shows the history of one of the parent repos unless you go to the merge commit, which shows two parent commits, then click on the parent commit from the repo whose history is not currently visible. Then you will see the full history of both repos.

Fuck's sake, why can't things just work
Anonymous No.107004197 [Report] >>107005925
>>107004182
so you wanted a rebase and are now confused that a merge isn't a rebase
Anonymous No.107004348 [Report] >>107004918
>>107004168
>egress costs are a non-item on your aws bill
That's not true. It's typically around 6%.

>hetzner is more of a vps provider. hetzner has no equivalent to most aws services.
Hetzner just sell access to Linux servers. You can rent or colocate really big Linux servers there or small ones. They also handle DNS and have their own load balancers that you can use if you don't want to diy load balancing. You don't need anything more than that. AWS, Google Cloud, Azure etc. just want to lock you down with a bunch of proprietary services so that they can lock you down and overcharge you. Guess what, they all run everything on servers and it's not difficult to do that. They just want you to believe that it's difficult so that they can overcharge you. AWS is the only part of Amazon that is profitable for that reason and it's very profitable. That's because they're using all you stupid smucks.
Anonymous No.107004918 [Report] >>107006602 >>107007322 >>107007844 >>107010323 >>107010732 >>107041086
>>107004348
is this some hobby project of yours?
hiring people instead of paying another company to do it is not a clear cut win.
managing a db is actually difficult despite what you say.
aws's profit margins are at ~30%. that' not very profitable. hetzner doesn't publish their earnings but will likely have a similar profit margin.
Anonymous No.107005925 [Report]
>>107004197
I've heard of a rebase but I dunno what it is. My git knowledge is the bare minimum to allow me to write code and make websites. If I encounter a git problem in the future and Stack Overflow or ChatGPT tells me I need to rebase then I guess I'll learn what a rebase is, but until then, I probably won't.
Anonymous No.107006580 [Report]
>>106995890
So you weren't making backups? Why not?
Anonymous No.107006602 [Report] >>107006700 >>107006714
>>107004918
hes right though amazon makes most (all) of its money from AWS autism.
the 'amazon web store' everyone knows them by is more of a money sink, an advertisement for AWS authority.
Anonymous No.107006661 [Report] >>107006743
>>106988943
Bro just npm create vite@latest, run Go on :8080, slap a proxy for /api, npm run build, shove web/dist into Go with embed, and boom, single binary, no drama. One repo, touch grass.

Your welcome — anon
Anonymous No.107006700 [Report]
>>107006602
fake news.

amazon is a public company and i can just look up their earning releases.
https://ir.aboutamazon.com/quarterly-results/default.aspx
>Operating income increased to $19.2 billion in the second quarter, compared with $14.7 billion in second quarter
2024.
>• North America segment operating income was $7.5 billion, compared with $5.1 billion in second quarter
2024.
>• International segment operating income was $1.5 billion, compared with $0.3 billion in second quarter 2024.
>• AWS segment operating income was $10.2 billion, compared with $9.3 billion in second quarter 2024
Anonymous No.107006714 [Report] >>107007038
>>107006602
fake news.

amazon is a public company and i can just look up their quarterly results.
https://ir.aboutamazon.com/quarterly-results/default.aspx
>Operating income increased to $19.2 billion in the second quarter, compared with $14.7 billion in second quarter 2024.
>North America segment operating income was $7.5 billion, compared with $5.1 billion in second quarter 2024.
>International segment operating income was $1.5 billion, compared with $0.3 billion in second quarter 2024.
>AWS segment operating income was $10.2 billion, compared with $9.3 billion in second quarter 2024
Anonymous No.107006743 [Report] >>107006764
>>107006661
Based fellow Go fan
Anonymous No.107006764 [Report]
>>107006743
that's not idiomatic go.
idiomatic go is microservices, not monoltihs.
Anonymous No.107007038 [Report] >>107007220
>>107006714
when i said "makes most" i meant profit, my bad.
its their most worthwhile investment and look it brought in 50% of income (not profit, remember)
Anonymous No.107007147 [Report]
>>107003316
Thanks
Anonymous No.107007220 [Report] >>107007300
>>107007038
so you are financially illiterate.
operating income is profit.
if we go by net sales, the shop brings in a lot more money.
>Net sales increased 13% to $167.7 billion in the second quarter, compared with $148.0 billion in second quarter 2024. Excluding the $1.5 billion favorable impact from year-over-year changes in foreign exchange rates throughout the quarter, net sales increased 12% compared with second quarter 2024.
>North America segment sales increased 11% year-over-year to $100.1 billion.
>International segment sales increased 16% year-over-year to $36.8 billion, or increased 11% excluding changes in foreign exchange rates.
>AWS segment sales increased 17.5% year-over-year to $30.9 billion
Anonymous No.107007300 [Report]
>>107007220
i was incorrect about the technicalities, but you can see my main point is correct, from your quotes
>AWS segment operating income was $10.2 billion, compared with $9.3 billion in second quarter 2024
>AWS segment sales increased 17.5% year-over-year to $30.9 billion

>Operating income increased to $19.2 billion in the second quarter, compared with $14.7 billion in second quarter 2024.
>Net sales increased 13% to $167.7


AWS made 10 billion profit from 30 billion income

the other shit made, 10 billion profit from ~130 billion income
Anonymous No.107007322 [Report] >>107007393
>>107004918
>hiring people instead of paying another company to do it is not a clear cut win.
The problem with that argument is that teams don't shrink because they move over to AWS or some other cloud provider. They just manage AWS instead and work on optimizing the cloud bill. AWS, Google Cloud, and Azure are very shady. They make it so hard to "optimize" your cloud bill that there's an ecosystem of "AWS consultants" working on this. And they all recommend AWS of course, it's one big grift.

So you go from running your own servers and having control of your own data without being locked into some proprietary software to.....having the same amount of people + maybe hiring some AWS consultants and being locked into long expensive contracts and high egress fees. And the internet is a lot less fault tolerant because of all of this. No one has benefited from it except from the rent seekers aka AWS and the lot.

>managing a db is actually difficult despite what you say.
It's a lot easier than optimizing your AWS bill and it's not that hard. I've done it for years. Problem is young people have no idea what they're doing because they have been brainwashed by cloud propaganda.

>aws's profit margins are at ~30%. that' not very profitable. hetzner doesn't publish their earnings but will likely have a similar profit margin.
They make a lot of money from selling a commodity product. They make a lot of money because they lock in their customers and so they can't switch easily, not because their product is actually good. I don't know what Hetzner makes but I'm sure their margins are much lower because they don't have the same lock in.
Anonymous No.107007393 [Report] >>107007446
>>107007322
Yet somehow when you tell IT they can't use AWS they crap themselves and start screaming for mommy Amazon.
Anonymous No.107007407 [Report]
>>106989351
Wait a while and that feeling will pass.
Anonymous No.107007446 [Report] >>107007478
>>107007393
There's a trend of companies switching to on prem. They save a lot of money doing that. There's a lot of people that have a financial interest in pushing AWS though, because it's what they know and they have spent a lot of time getting all the different certifications. They don't know how to manage servers. They only know how to navigate AWS and their different expensive proprietary services. Those sort of people will shit themselves about switching, but that doesn't mean that AWS is good. This is an old playbook that Microsoft has used as well. Both Microsoft and Amazon have slop products but they have good business because they can lock in customers and overcharge them.
Anonymous No.107007478 [Report]
>>107007446
>They don't know how to manage servers. They only know how to navigate AWS and their different expensive proprietary services. Those sort of people will shit themselves about switching, but that doesn't mean that AWS is good.
it's not quite fair to undervalue these people though, because what you describe can get very complex. i remember seeing some dude on a laptop in AWS like 10 years ago in a plane, he was definitely skilled.
im saying there is value in knowing how to 'fiddle' with everything and get it all working, it's how you'd get a job/what you'd do on the job anyway.
you cant blame these individuals really, its a business issue from up top, wanting to cut costs.
Anonymous No.107007669 [Report] >>107007766
thoughts on the fediverse and the ActivityPub protocol? thinking about getting my app federated
Anonymous No.107007757 [Report]
>>106988943
Why would you use go with SSR when Nuxt exist?
Nuxt is basically Vue supercharged with server stuff and easier development, I use it all the time.
Anonymous No.107007766 [Report]
>>107007669
>ActivityPub protocol
pretty interesting because of how open it is, you could use it for comments or a forum even if you wanted to.
personally the only appeal for me would be automated syndication, like i'd auto post things i made or wrote to twitter, but thats really hard to do now. and activitypub isnt.
Anonymous No.107007844 [Report]
>>107004918
NTA but I have a production app with over 50k paid users and around 30k DAU running on a single $25/mo Hetzner box, which means I have about 12x vertical scale before I need to worry about horizontal scale, and I'm not even close to capping out the current compute.
Anonymous No.107008214 [Report] >>107008547 >>107016827 >>107017107
Upgrading from tailwind v3 to v4 sucks
Anonymous No.107008290 [Report]
just dont use tailwind. problem solved
Anonymous No.107008547 [Report] >>107008568
>>107008214
It was 1 command and it updated all my classes automatically. If you are doing it by hand you are kind of retarded.
Anonymous No.107008568 [Report] >>107008595
>>107008547
shadcn has to be updated too
Anonymous No.107008595 [Report]
>>107008568
Bloat, just write you own components.
Anonymous No.107010323 [Report]
>>107004918
>aws's profit margins are at ~30%
Yeah cuz they keep launching useless services with anime names that no one asked for.
>Announcing AWS Fifth Horseman our managed HTMX solution is now generally available
Tards at AWS are probably paid 500k salary for this. Meanwhile they have an postgres "serverless" with 2 minute cold starts. So its not even real serverless theyre just charging you for the api call that starts an rds instance.
Anonymous No.107010732 [Report]
>>107004918
>aws's profit margins are at ~30%. that' not very profitable
Haha oh wow - that's super profitable.
Anonymous No.107011011 [Report] >>107011483
>>106995161
Any known cases who got booted from Hetzner for silly non-reasons?
Anonymous No.107011045 [Report] >>107011257 >>107011890
>>106995161
I use flokinet because they hosted a nazi imageboard for several years without ever giving them shit, and they have their own ddos protection (Cloudflare booted many websites for political reasons, starting with Daily Stormer)
Anonymous No.107011257 [Report]
>>107011045
>flokinet
They'll made up bullshit that is not present in their acceptable use policy and delete your servers.
https://crippled.media/article/free-speech-vps-providers-put-to-the-test#Flokinet
Anonymous No.107011483 [Report]
>>107011011
Nitter hosters https://github.com/zedeus/nitter/issues/482#issuecomment-1122167790
Anonymous No.107011890 [Report] >>107012085
>>107011045
What sort of stuff are you hosting which is causing you to actively seek out hosting services used by Nazis
Anonymous No.107012085 [Report] >>107012320
>>107011890
I don't host anything too controversial, but they're just the perfect benchmark.
Nazis are the group most hated and opposed by the establishment in the West, especially by Big Tech. Not even pedo groups like NAMBLA etc. get booted by Cloudflare or Google, meanwhile websites like https://counter-currents.com host perfectly legal content but still get banned from tech services (including web hosts, DNS providers, banks and even credit card companies) all the time.

So if a service leaves them alone, it's unlikely they'll give me trouble for anything I do or host (mind you, just browsing 4chan can be enough to get labeled a thought criminal).
Anonymous No.107012320 [Report]
>>107012085
Yeah, I wouldn't host anything controversial there but you can't host it on aws etc. either. And cloudflare will kick you out now as well.
Anonymous No.107013594 [Report] >>107013726
How do I block/limit my website in India without making it obvious that I'm blocking my website in India so that the jeets won't vengefully attack it?
Anonymous No.107013726 [Report] >>107017124
>>107013594
>look at the IP
>if IP matches [country]
>add a random 3 to 6 seconds of loading time to each request
Very few people will use a website if it makes more than 3 seconds to load.
Anonymous No.107013792 [Report] >>107014985
how do I go about commissioning a site without being an obnoxious client?
Anonymous No.107014266 [Report] >>107014361 >>107014381
>>107014013
We were discussing how to pick a hosting provider that won't delete your shit over nonsensical reasons. This is relevant to this thread and this board.
I merely clarified a misunderstanding introduced by the delusional babbling of a mentally ill subhuman who decided to sidetrack the discussion.
Anonymous No.107014361 [Report]
>>107014266
Hosting is relevant to /g/ but your political bitching is not relevant
Anonymous No.107014381 [Report]
>>107014266
which boards do you think these people post on?
Anonymous No.107014985 [Report]
>>107013792
don't worry about, just keep in mind that depending on what you want, your expectations might be unrealistic for technical reasons
Anonymous No.107015016 [Report] >>107017090
>>107003046
>Company has large bias towards "stable" things
I don't think FastAPI will ever quality for that lmao
Anonymous No.107016827 [Report]
>>107008214
Vanilla CSS bros stay winning
Anonymous No.107017090 [Report] >>107017158
>>107015016
>manager brain
>version 0.X.Y
>not even version 1.0? getattahere
Anonymous No.107017107 [Report]
>>107008214
Anything frontend framework that requires nodejs sucks.
Anonymous No.107017124 [Report] >>107017561
>>107013726
sorry our service is not available in your country yet, we are working hard to bring it to users like you
>link to a job application for people in that country who can help bring it to life
>add the email to spam lists
Anonymous No.107017158 [Report]
>>107017090
FastAPI has been out for 7 years, and it still hasn't reached 1.0. It also has zero plans about release cycles and support. It is good technology, and it's actually used in a lot of professional projects, but I understand why it doesn't give the corpobrain too much confidence.
Anonymous No.107017561 [Report]
>>107017124
>add the email to spam lists
keeeeeeek
Anonymous No.107017685 [Report] >>107018094 >>107019344
Anyone watch Wes Bos? Do you like him?
Anonymous No.107017897 [Report]
Is this the thread to talk about perchance.org?
Anonymous No.107017973 [Report]
>read library docs
>they make no sense
>cancel project altogether.
Anonymous No.107018094 [Report]
>>107017685
I watched him only when I was doing Odin Project. He doesn't seem like a bad guy.
Anonymous No.107018538 [Report]
I share my anime script with /g/
https://bpa.st/CSF3Q
Anonymous No.107019344 [Report]
>>107017685
The taliban took away his domain on .af tld
Anonymous No.107020694 [Report] >>107020765
I hate template based frameworks so much bros. JSX rules.
Anonymous No.107020765 [Report]
>>107020694
JSX is deprecated. Use TSX.
Anonymous No.107021281 [Report] >>107021286 >>107021986 >>107024892 >>107025445
Hey, you guys might know:
What the fuck is google thinking with youtube's new UI? Like, what problem did they think they were solving?
Anonymous No.107021286 [Report] >>107021298
>>107021281
New UI looks fine to me. Sounds like a skill issue. Stop being autistic
Anonymous No.107021298 [Report] >>107021405 >>107021412
>>107021286
What problem was solved?
Anonymous No.107021405 [Report]
>>107021298
Designer and UX unemployment.
Anonymous No.107021412 [Report]
>>107021298
That users stopped advertising YT, apparently
Anonymous No.107021986 [Report] >>107022483 >>107022693
>>107021281
If you haven't written your own YouTube front-end in order to watch videos without all of Google's jank, you're not a real web dev
Anonymous No.107022483 [Report] >>107022693
>>107021986
just use adblocker. WHy go to all the trouble for slop consumption.
Anonymous No.107022693 [Report]
>>107021986
>>107022483
nta, I "tried" with violentmonkey and after minimal effort I decided that that thing wasn't simple enough, just got to do 0 with it, FF custom styles were more straightforward and they were a complete mindfuck
and yes, yt is that one page that needs not only a "better UI", like fullscreen unfullscreened vids, but also a good player built on top of it, they've improved the unlogged player lately, but still
Anonymous No.107022948 [Report] >>107023034
What are you guys building rn?
Tech stack?
How's progress?
Share a screenshot of your app (or some code instead)
Anonymous No.107022964 [Report] >>107022981 >>107029221
Whenever I git pull and get that wall of text about
>muh merge
>muh rebase
>muh fast-forward only
I just delete the project folder and pull it again because I don't know the difference
Why don't they just have 2 options or something like overwrite local changes yes or no or something
Anonymous No.107022981 [Report] >>107022998
>>107022964
Just let your IDE rebase it for you
Anonymous No.107022998 [Report] >>107023010
>>107022981
That sounds even more dangerous. I only ever used it from the command line
Anonymous No.107023010 [Report]
>>107022998
Go learn how git works before you talk nonsense

https://git-scm.com/docs
Anonymous No.107023034 [Report] >>107023287
>>107022948
>What are you guys building rn?
Adding to an existing project I made a while ago, to make it more suitable for showing employers
>Tech stack?
PERN, pic related
>How's progress?
The website is made but I just want to add a couple things to it
>Share a screenshot of your app (or some code instead)
Okay here's a snippet of my code
const app = express();
Ground-breaking isn't it
Anonymous No.107023287 [Report] >>107024560
>>107023034
I want the PEEN stack, what's E that does FE?
Anonymous No.107024317 [Report]
bupn
Anonymous No.107024560 [Report] >>107024595
>>107023287
ECMAScript

Which makes me think, maybe Deno should stop trying to sue Oracle so they drop the trademark for JavaScript. Instead we could just all call it EcmaScript.
Anonymous No.107024595 [Report] >>107024783
>>107024560
>ECMAScript
smart, let's roll with the PEEN stack
Anonymous No.107024783 [Report]
>>107024595
Alternatively there's Ember.js, it seems to still exist
Anonymous No.107024892 [Report]
>>107021281
more expressive and intuitive experience
https://support.google.com/youtube/thread/380540176/new-visual-updates-for-youtube-a-more-expressive-and-intuitive-experience-%E2%9C%A8
Anonymous No.107025169 [Report]
now I have to "sell" 2 node scripts I built for api testing at my job, wish me luck lads
Anonymous No.107025445 [Report] >>107025659
>>107021281
>What the fuck is google thinking with youtube's new UI? Like, what problem did they think they were solving?
Apple just released Liquid Ass. The entire design industry has been going by "literally just copy whatever Apple does" for a really long time. Rounded corners, flat icons with gradients, the notch/punchhole, removing headphone jacks from phones, etc. It doesn't matter how retarded it is.
Also Google is not forced to solve any problems. It is a monopoly. It makes its software worse all the time.
The only thing I like about the new UI is that it doesn't have that obnoxious gradient overlay so you can take a partial screenshot when the video is paused.
Anonymous No.107025659 [Report]
>>107025445
apple's liquid ass looks amazing unironically, yeah, I know, non-echo-chamber opinions, outrageous, how dare I
Anonymous No.107025843 [Report]
>>107001202
Because they're the leaders and want to lock you in, simple as
Anonymous No.107026309 [Report] >>107026340
Oof, big yikes. That’s gonna be a hard pass from me, chief.
Anonymous No.107026324 [Report]
>learned enough JS to make a shitty CRUD notes app
>now to learn the basics of TypeScript so I can at least say I've used it
the struggle continues...
Anonymous No.107026340 [Report]
>>107026309
i hate this fucking faggot so much. God I hate frontend """"Devs"""" like him. Stupid retard fails the physiognomy check and his personality confirms it.
Anonymous No.107026380 [Report] >>107026426
Seems like AI is gonna wipe out front end devs in the coming years
Anonymous No.107026426 [Report]
>>107026380
Finally
Anonymous No.107026436 [Report]
>>106992806
This is an insult to us Asian girls
Anonymous No.107027339 [Report] >>107027411 >>107027520 >>107030920 >>107031608 >>107031757 >>107031800
Are backend template engines (think .net's blazor, java's thymeleaf, laravel's blade templates etc) dead and burried or is there still a chance?
I'm tired of maintaining 2 apps (frontend + backend) when the only consumer is my frontend anyways because of all the complexity it induces, but server-rendered seems so outdated at this point. I tried rendering basic views with thymeleaf at some point and it felt shitty and sad compared to any modern js UI library/framework.

What do you guys think? I'd be interested in trying a monolithic framework like Django at some point but I'm not so sure about backend templating technology for modern apps with rich interactivity.
Anonymous No.107027411 [Report]
>>107027339
nodejs is not a blessed language at google. we are going to write onions for another decade.
Anonymous No.107027520 [Report] >>107027714 >>107027725
>>107027339
Frontend is not hard, stop being a bitch.
Anonymous No.107027714 [Report] >>107027856
>>107027520
I'm not sure how you interpreted my post as me complaining about frontend being too difficult or whatnot.
I don't mind modern js frameworks or SPAs as a whole, however I do have an issue with my apps not being monolithic when they could be because it adds a large layer of complexity and boilerplate that could be avoided.
Anonymous No.107027725 [Report] >>107027913
>>107027520
it's hard. lots of react devs still do not understand react.
https://blog.cloudflare.com/deep-dive-into-cloudflares-sept-12-dashboard-and-api-outage/
>This bug caused repeated, unnecessary calls to the Tenant Service API. The API calls were managed by a React useEffect hook, but we mistakenly included a problematic object in its dependency array. Because this object was recreated on every state or prop change, React treated it as “always new,” causing the useEffect to re-run each time. As a result, the API call executed many times during a single dashboard render instead of just once. This behavior coincided with a service update to the Tenant Service API, compounding instability and ultimately overwhelming the service, which then failed to recover.
Anonymous No.107027856 [Report]
>>107027714
>I do have an issue with my apps not being monolithic when they could be
that's a lie. let's recall react's origin story:
"""
Fast-forward to 2012; Facebook is doing great. So well, in fact, that they've just acquired Instagram for one billion dollars.
Instagram has a mobile app for Android and iOS, but no web presence. The new team at Facebook is tasked with building out their solution to this problem, but with a constraint of their new parent company: Use one of our existing tech stacks to do so.
After some time evaluating both Bolt and React, the team makes a decision; they're going to be the first production codebase to use React.
The team quickly realizes they have something special on their hands; they're shipping quickly, performance seems to be handled well, and the developers love working in their newfound system. A group begins conversations around open-sourcing the project, even from early days.
"""
Anonymous No.107027913 [Report] >>107027984
>>107027725
>people still not understanding useEffect []
frontend 'devs' are not real devs.
Anonymous No.107027980 [Report] >>107027985
Missed the 200 exact, but still nice
Anonymous No.107027984 [Report] >>107027998 >>107027998 >>107040152
>>107027913
>useEffect is React's answer to the question, "How do we do side effects in functional components?" The answer, apparently, is "Confusingly, with lots of bugs, and in a way that makes developers question their sanity."...If React hooks were a family, useEffect would be the troubled teenager who means well but keeps setting the house on fire.
>ComponentDidMount's Evil Twin: In the before times, we had lifecycle methods that made sense...Clear, explicit, predictable. React looked at this and said, "What if we combined all of these into one confusing function called useEffect?"
>The Dependency Array of Doom: The second argument to useEffect is an array that determines when the effect runs. Sounds simple. It's not.
>Cleanup Functions: Forgetting Them Since 2019: useEffect can return a cleanup function. You'll forget to add it. Every. Single. Time.
>The Infinite Loop Trap: Want to crash a browser? useEffect makes it easy!
Anonymous No.107027985 [Report] >>107027999
>>107027980
how many subscribers right now?
Anonymous No.107027998 [Report]
>>107027984
>>Cleanup Functions: Forgetting Them Since 2019: useEffect can return a cleanup function. You'll forget to add it. Every. Single. Time.
this is true

>>107027984
>>The Infinite Loop Trap: Want to crash a browser? useEffect makes it easy!
happened more than once
Anonymous No.107027999 [Report] >>107028007
>>107027985
No subscriptions, just payments
Anonymous No.107028007 [Report] >>107028031
>>107027999
Oh, nice. over what period of time? Also, show "Succeeded", not "All" ;)
Anonymous No.107028031 [Report] >>107028044 >>107028891
>>107028007
A little over 2 months.
I was expecting to have to support it like a subscription such as netflix, but it seems to ahve made enough to upgrade the server i'm hosting it on, so that's quite nice
Anonymous No.107028044 [Report] >>107028058
>>107028031
Not bad at all. I have been more than a year, and I am at ~100 total succeeded. (20 subscribers only :P)

How did you do marketing?
Anonymous No.107028058 [Report] >>107028063 >>107028158
>>107028044
Not much at first, just word of mouth, liking people's tweets or doing a couple of comments on reddit. After it made a bit of money i spent about 5 USD on reddit ads, eventually i switched to 5 USD of twitter ads, and now i have it set as 15 USD of only twitter ads since it has the highest click ratio, i also think of advertising of facebook as i find it moderately amusing. But likely it was more so word of mouth of groups of people arriving instead of just coming one by one
Anonymous No.107028063 [Report]
>>107028058
(And some may say trend hopping. But again i wasn't expecting to actually hop on the trend, i was just training my dev skills)
Anonymous No.107028158 [Report] >>107028194
>>107028058
Really?? Did the ads do that much?!

Also, what is it that you offer? Goods? Service? What industry?
Anonymous No.107028194 [Report] >>107028234
>>107028158
I think it was more so a matter of awareness than anything else, once i got the attention of a group, i got the attention of a few others, and so such other groups are starting to arrive, and now i think we also have a steadily growing userbase now even without groups, so at first i think my likings and occasional comments and such actually did more than ads, they were the first actual sparks, and the ads are just there to continue faning things up

WPlace alternative, so a game essentially. I wanted to develop my webdev skills after having fumbled on some work project a bit too hard for my liking, and i prefer infrastructure and DB management and such a lot more than other stuff, so i thought it sounded like a good candidate to fill my needs
Anonymous No.107028234 [Report] >>107028286
>>107028194
Interesting. I have tried Reddit replies in threads. While it brought some traffic, very little paying customers. Besides, mods have banned me of almost every sub, because of advertising and whatnot.

I might try the X Ads, if it really costs that little (I thought a campaign would be much more expensive)

Any other advice?
Anonymous No.107028286 [Report] >>107028295
>>107028234
I don't think you should take my words as advice, but in general the main idea of any advertisement is the same, get the right people to know you, and why they should pick your service. In my case it was mostly some artists at first who liked doing stuff and didn't wanted it deleted, and afterwards people who felt too hostile in their original place. So while WPlace itself is more of an evolving canvas and more of a game, this site is leaning more towards art gallery and people expecting their art to actually last in here.

Here are my advertising stats in reddit and X so you can get an idea of things. Just note that X is in MXN instead, so just divide by 20 the spent amount.
Anonymous No.107028295 [Report]
>>107028286
Thanks. I might start a 10$ campaign, just to test it
Anonymous No.107028880 [Report]
I wanna send some funny message when the rate limit has been exceeded. Any suggestions?
Anonymous No.107028891 [Report] >>107029407
>>107028031
Is that stripe?
Anonymous No.107029221 [Report]
>>107022964
proper git workflow is to branch off development or master or whatever checkout a new branch for your feature, commit you work and then pull from origin to update the branch you forked off. then you put your changes on top of the other changes from the base branch by rebasing your changes onto theirs
Anonymous No.107029407 [Report] >>107031607
>>107028891
Correct
Anonymous No.107030920 [Report]
>>107027339
Use what you want. If you want SSR then do that. If you want CSR then do that. Each has its own advantages.
Anonymous No.107031607 [Report] >>107036238
>>107029407
nta, any insight on stripe? never used any payment solution
Anonymous No.107031608 [Report] >>107031757 >>107031784
>>107027339
SSR is a mistake. There should only be SSG and CSR.
Anonymous No.107031757 [Report] >>107031836
>>107027339
>>107031608
I've come across Datastar recently, seems interesting for building collaborative apps and maybe simple multiplayer games as one-man projects:
https://andersmurphy.com/2025/04/07/clojure-realtime-collaborative-web-apps-without-clojurescript.html
Anonymous No.107031784 [Report]
>>107031608
>t. frontender filtered by backen
Anonymous No.107031800 [Report] >>107031828 >>107036496
>>107027339
I use simple server rendering of HTML. And have all the JS in <script> tags and all the CSS in <style> tags on that page. You should put all the CSS in <style> tags if you care about performance because the CSS will be blocking otherwise. I use Go on the backend and use SQLite because I have 100% reads in prod. The key is to make sure that everything you send to the client is below or only just over 14kB after compression so that it fits into 10 TCP packets, which is the limit for a new TCP connection. That will make it feel instant because the browser won't have to go back to the server to request the rest. I have almost a million pages (not including internal search pages) and almost all of them comply with the 14kB rule. Use something like HTMX or fixi.js to do AJAX request. I use fixi.js with extensions because I don't need all the features of HTMX and HTMX feels too bloated.

I have around 60-120 ms response times on all my pages with zero caching and 30 ms response times if it has been cached by the CDN. So it feels instant, it's like using a native app on your computer.
Anonymous No.107031828 [Report]
>>107031800
>JS in <script> tags
*not including the tiny fixi.js file obviously

Also use ETags and service workers for caching.
Anonymous No.107031836 [Report] >>107032284
>>107031757
nta, aren't sockets the core of real time multiplayer?
Anonymous No.107032284 [Report]
>>107031836
by "simple multiplayer games" I meant stuff like board games and so on.
Anonymous No.107032719 [Report] >>107033806 >>107037811
hey web developers, I got a question because I don't understand which one to use if I want to start as minimal as I can get to learn build something in Vue from zero.
there is this from the vue docs
yarn dlx create-vue@latest
and there is this from vite
yarn create vite my-vue-app --template vue
which one would you guys chose? I have seen that React says to use Vite in their docs when you want to start from scratch so I am a bit confused here with Vue.
Anonymous No.107033806 [Report]
>>107032719
look at whichever one outputs the newest versions in the package.json kek
Anonymous No.107036238 [Report]
>>107031607
It was surprisingly easy to add with the help of an LLM, otherwise if eel like i was a bit lost with how their webhook and events system works. Otherwise for the actual use of it, it hasn't given me any issues, i made my account ,set everything up and for now i'm receiving payments every thursday without any delay or but's. It does have some issues i've seen of users reporting they can't use stripe as their cards aren't compatible or something of that kind, so i'm salsa looking for alternatives to stripe, paypal i've seen gets bitchy depending on if they feel like it so that's a no, but i'm looking for otehr payment processors
Anonymous No.107036496 [Report] >>107041441
>>107031800
This is retarded, I want to have a job
Anonymous No.107036589 [Report] >>107037373
Hey, does anyone know a free good hosting static website that has few restrictions on both storage and what can be stored? I want to host my board related shit on a static HTML website, which includes having a lot of images and potentially offensive material. I also want to be the one fully in charge of the HTML.
Neocities seemed like a good pick but the 2 gigabytes is restrictive for hosting a ton of images. Geocities.ws has unlimited storage, but they don't want obscene content and don't really specify what obscene is. Nekoweb is REALLY cool in concept and literally anywhere else I would've used it, but unfortunately it has the same storage problems as Neocities, but intensified as the free tier only gets 500 megabytes(and even the paid tier only gets half of what Neocities' paid tier gives you.)

If I must, I may start paying.
Anonymous No.107037373 [Report] >>107040283
>>107036589
cloudflare pages
Anonymous No.107037811 [Report] >>107041608
>>107032719
create-vue uses vite.
stop using react docs for vue.
Anonymous No.107038022 [Report] >>107038698 >>107040870
whats the framework of the week/month/year my fellow websissies? is Svelte still The Chosen One?
Anonymous No.107038036 [Report]
>>106989689
You have some experience and React docs are very easy to read. learn about hooks and how to make your own hooks, which is easy and they start with 'use'. the more common ones are useEffect, useState. if a state changes, the component re-renders basically.
Also, learn other extensions to sound fancy like Redux and React Router
Best of luck
Anonymous No.107038698 [Report]
>>107038022
Fur me it's Vue or Svelte, I'd use either without complaining too much
Anonymous No.107038856 [Report]
I feel like I won something
Anonymous No.107040152 [Report]
>>107027984
>let's treat the inherently-all-about-side-effects problem of showing a GUI a user can interact with to something that is purely functional
>what could go wrong?
react is much a good idea as is actually doing CRUD or REST for everything where it does not fit. That being said, I have not seen a single real word app that was CRUD or had a REST API which where by the book. Reason probably being that things that somehow model real life have rules that apply to them beyond those of CRUD or REST ... but SOMEHOW that is not the case for react. No, react is the end all be all paradigm. Sure.
Anonymous No.107040283 [Report]
>>107037373
Okay, that's interesting. I didn't even know that existed. Thanks anon.
Anonymous No.107040870 [Report]
>>107038022
no, svelte5 is completely different than svelte1-4. no more vanilla js feel and having a big runtime now due to runes.
Anonymous No.107041086 [Report] >>107047012
>>107004918
shared hosting solves this problem, if you have performance limitations it's because your code sucks
Anonymous No.107041359 [Report]
>entire stack is vanilla as fuck
>basically from the 90s
>can't use libraries since 99% of shit is for react
what do
Anonymous No.107041441 [Report] >>107041482
>>107036496
This mindset is why most websites suck these days.
Anonymous No.107041482 [Report] >>107041515 >>107041846
>>107041441
Don't hate the player, hate the game

If you think about React for example, I guess it's a bit bloated compared to alternatives, but everyone knows it. This means a company is more happy using React for their website because they know they can quickly hire devs with React experience. If they instead build their websites with Svelte and suddenly they need new devs (maybe their old devs left or something), there aren't many devs who know Svelte. You'd have to wait for them to learn Svelte, which costs time.
Anonymous No.107041515 [Report]
>>107041482
Depends on the company. Performance is very important when it comes to e-commerce, so their websites tend to be good.
Anonymous No.107041608 [Report]
>>107037811
>create-vue uses vite.
both use vite so why are there two?
>stop using react docs for vue.
I just wanted to see what they are using for a fresh start.
Anonymous No.107041792 [Report]
Good video
>How To Increase Your Website Speed
https://www.youtube.com/shorts/uypgHxMG1fI
Anonymous No.107041846 [Report] >>107042062 >>107042252
>>107041482
>React experience
That is all fine. The thing: Does React (or any other thing x doing the same thing) itself actually offer anything? The answer, in 99% of all cases, is no. However, the actually use React, you have to have understanding of the base technologies. Yes, you can create shit in it without knowledge of HTML, CSS or JS. But it is going to suck, because NO amount of adding frameworks on top off that is going to ensure that the result is good. People make inane shit with frameworks and they think that they have got a product. In reality it is almost always a piece of shit that has to be replaced in a few months.

So the justify all of that, you should have at least some proof that React will actually have a net positive on any of your business. It should at least be either faster to develop in (without compromising quality) or offer better UX (at the same or less time compared to not using React) or it should be more maintainable (at the same time). Any of that. But there is *zero* evidence for any of those being the case. I repeat: Zero. It's all anecdotes if even that. Mostly it's "but everybody does it" and when you ask people to show code for the systems they have built guess what...
Anonymous No.107042062 [Report] >>107042182
>>107041846
I like React. If I want to make a PWA then I'll want JavaScript so I can have my PWA feel as native as possible. Pure SSR for a PWA would not feel like a native app. So if I'm using JS I have a choice: write pure vanilla JS, or use a framework. Vanilla JS is okay but you'll probably find yourself writing your own mini-framework to solve common problems. With React you get a framework which is easy to use and it just works. It might not be perfect and it might not be the fastest, but it's a pretty good solution. For a simple PWA, React is a reasonable choice I think. If you're making a complex PWA and you want the absolute fastest JS you can have, then sure you might want a different framework or to just write all the JS yourself.
Anonymous No.107042182 [Report] >>107043617
>>107042062
>you'll probably find yourself writing your own mini-framework to solve common problem
In your opinion: How are components + customHooks (because React without customHooks is not acceptable in 2025) DIFFERENT from a so called mini-framework written in whatever?
Anonymous No.107042252 [Report]
>>107041846
react won
rust won
solid is winning
ripple will win
i'm sorry lil chuddie/wokie
Anonymous No.107042472 [Report]
I don't think the bottlenecks are on the FE, just saying
Anonymous No.107043617 [Report] >>107043927
>>107042182
Someone can write their own vanilla JS code for a PWA and they can structure their JS however they want, with their own versions of hooks, or not. That will take some effort though. On the other hand you have React which just works. It might be a bit bloated but it gets the job done.
Anonymous No.107043656 [Report] >>107044771
Laravel bros... we lost
Anonymous No.107043927 [Report] >>107044078 >>107047091
>>107043617
You did not answer the question though. How is writing components and hooks fundamentally different from "writing your own mini-framework"? You may answer informal. But I'd like to see an answer, because I am pretty sure that you will be solving "common problems" with React, or won't ya?
Anonymous No.107044078 [Report]
>>107043927
>How is writing components and hooks fundamentally different from "writing your own mini-framework"?
The former is easy because React has done a lot of work for you, and the latter is harder because you have to do more work yourself
Anonymous No.107044771 [Report]
>>107043656
Man, I saw people talking about PHP stuff the other day, it was NativePHP, which is a new framework for making mobile and desktop apps with PHP and Laravel, and I checked it out, and it turned out it was A FUCKING PAID PRODUCT. I was genuinely shocked, like LMAO imagine using closed-source paid software for development in 2k fucking 25. Don't get me wrong, there are no free tools like this other than React in 2k25, but still.
It's kinda sad that Laravel is literally the only thing keeping PHP relevant for new projects. Healthy competition is necessary.

I don't understand what his problem is with the Reverb websocket server, isn't that open source and self-hostable? Obviously managed services will cost money. I wouldn't be surprised if self-hosting was a huge pain in the ass with dev experience not being the focus of the open source version, but I don't know Laravel, so there's no reason for me to assume anything.
Anonymous No.107044963 [Report] >>107045523 >>107046107 >>107046590
There's currently a Microsoft Azure outage and normies are blaming AWS because they learned the other day what AWS is and now they think AWS is to blame for every internet problem. Normies are dumb
Anonymous No.107045523 [Report]
>>107044963
Bill Pedo Gates and Jeff Pedos were married in Jeff's island.
Anonymous No.107046107 [Report]
>>107044963
thats actually not dumb at all, its a reasonable conclusion
>WHY ARE ALL U RETARDS PUTTING ALL UR SHIT ON ONE BREAKABLE RACK
is the essence of the complaint
Anonymous No.107046421 [Report] >>107046480
>>106988821 (OP)
>had like 5 interviews last week
>no one hired me

It is looking grim my friends. I still have one more interview this week and waiting for the results of another one but it is not looking good. i thought I did well in the interview processes for most of them.
Anonymous No.107046480 [Report] >>107046508
>>107046421

how much was each one paying?
Anonymous No.107046508 [Report] >>107047169
>>107046480
from 10k to 15k BRL as a contractor monthly.

around 2k to 3k dollars in comparison.
Anonymous No.107046590 [Report]
>>107044963
same shit desu
Anonymous No.107047012 [Report]
>>107041086
shared hosting hasn't been relevant for over two decades.
shared hosting worked for php's share-nothing architecture to share a php language interpreter between all tenants. this never even worked for rails -- every tenant wants their own long-running ruby processes. so for rails we used heroku.
Anonymous No.107047091 [Report] >>107050578 >>107053662
>>107043927
react already provides reactivity. your mini-framework will likely re-implement this badly.
https://playfulprogramming.com/posts/what-is-reactivity
Anonymous No.107047169 [Report] >>107047186
>>107046508
I make 11k + 1k food voucher for the govt. It is stable but it will not go up a lot, and I work with legacy bullshit.
Anonymous No.107047186 [Report]
>>107047169
yeah but io cant work for the government right now.
my mom uses my PJ number for her business and you can't have one if you work for the government. she needs to clear her name first and that will take time.
Anonymous No.107048062 [Report] >>107048113 >>107048601
>>106988821 (OP)
>OVH
You jest. Worst provider in the EU. They lie about everything and I can't count the number of times they have had some sort of hazard that has killed a bunch of servers. You better put Cloudflare there, it's really underrated given how cheap it is.
t. french
Anonymous No.107048102 [Report]
>>106988821 (OP)
I’ve been so happy to be on digital ocean the past few days. Half my competitors have had massive outages and I’m just scooping them up.
FAGMEN stay losing.
Anonymous No.107048113 [Report] >>107049655
>>107048062
Cloudflare is the best possible CDN and basically required for DDOS protection, but everything else from them is wildly marked up.
Anonymous No.107048601 [Report] >>107050002
>>107048062
The consensus is that Hetzner is the GOAT unless you're hosting something controversial.
Anonymous No.107049655 [Report]
>>107048113
R2 is cheaper than s3
Anonymous No.107050002 [Report]
>>107048601
The follow German laws, so it's not by choice.
Anonymous No.107050328 [Report]
Thou shall not SSR
But when you absolutely must https://www.jeasx.dev/
Anonymous No.107050578 [Report] >>107053662
>>107047091
Reactivity is a _tool_ of the framework, not a common problem to solve and/or result of using it. The example you have shown is seriously flawed, because the person who wrote that does not seem to be into JS in the first place. They are making it more complicated than it should have been and example #3 even contains a bug (try clicking remove when it is zero a few times and then click add again).
Here is a vanilla implementation for this with less lines and no bug. Notice that there is a single render function. And please do not tell me not to use innerHTML, because WE control what is going there so innerHTML is fine in this case. <!doctype html>
<html>
<head>
<title>Example #3 but not being dumb on purpose</title>
</head>
<body>

<script>
'use strict'
let count = 0

function render() {
example
.querySelectorAll('.count')
.forEach(el =>
el.textContent = count
)
example
.querySelectorAll('ul')
.forEach(el =>
el.innerHTML = [...Array(count)].map((_, i) => `<li>List item: ${i}</li>`).join('')
)
}
</script>

<div id="example">
<button onclick="count++; render()">Add one to: <span class="count">0</span></button>
<button onclick="count--; render()">Remove one from: <span class="count">0</span></button>
<ul>
</ul>
</div>

</body>
</html>

You are basically saying that "react is good because it provides reactivity" and you are proving that this is a good thing by showing that react provides reactivity. But there is *no* actual proof that reactivity is indeed a good thing! It is an a priori. You make it into your goal and prove that it is there. Well, yes, of course. Do you need it though? Does it actually solve more problems than it creates? What about lists for example? In react you must provide a key for the item, iterate over it, do something with the data. Meanwhile the framework keeps a copy of everything in memory and does the DOM diffing. Without you also iterate over the data. And that's it.
Anonymous No.107051378 [Report] >>107051630 >>107051714 >>107052474
Thoughts? Maybe I should run my dev stuff in a VM or container

https://arstechnica.com/security/2025/10/npm-flooded-with-malicious-packages-downloaded-more-than-86000-times/
Anonymous No.107051630 [Report] >>107051684 >>107051714
>>107051378
At least they didn't use AI for a single sentence
Anonymous No.107051684 [Report] >>107051714 >>107051724
>>107051630
Yeah I noticed that. But anyway this NPM malware is pretty crazy, pic related. At the top is an NPM feature used by the malware - dependencies can be fetched from random URLs. Then you can see the malware is trying to collect info about you (your email address as specified in your git config, etc). Then it sends that data to the attackers - if GET and POST fail then it will try to use a WebSocket.
Anonymous No.107051714 [Report] >>107051827
>>107051684
>>107051630
>>107051378
I find JS ecosystem so crazy. How can ALL the package managers be just private companies?

Linux gets malware detected instantly because every repo has at least 10 crazy autistic software stalins that work for free.

>install package via npm
>ads
>money begging
Anonymous No.107051724 [Report] >>107052014
>>107051684
This is messed up. This is why I hate the javascript ecosystem. All these libraries building on 1000 other libraries, 75% abandoned forever, and no way to know the quality or trustworthiness
Anonymous No.107051827 [Report] >>107051898 >>107052058
>>107051714
The JS ecosystem makes more sense under capitalism the way you explained it, are you a Slav/thirdie? I’d just assume that anything that can’t pay bills won’t last, and companies have stepped in to contribute to Linux and so on
Anonymous No.107051898 [Report]
>>107051827
>The JS ecosystem makes more sense under capitalism
>be dev
>make JS package
>get ZERO dollars for it
>used by millions
>sniveling middle-men get to ask for money and profit WHILE allowing security vulnerabilities and the ecosystem to fester
what sense, for who
Anonymous No.107052014 [Report] >>107052030
>>107051724
Regardless of your back-end language, you will probably be using third-party packages, which depend on their own packages, etc
Anonymous No.107052030 [Report]
>>107052014
Yes, but nowhere is it as bad as the JS situation in my experience.
Anonymous No.107052058 [Report]
>>107051827
>seething about capitalism bad
>implying freetrannyism means nothing bad happens
>freetard calling other freetards thirdies/slavs
nta. kek'd, you're all spoilt meximutt children seething in favour of your pet hrt people.
Anonymous No.107052474 [Report] >>107052536 >>107056381
>>107051378
Don't use JS on the backend. It's not secure and it's not performant. Use something like Go where the std lib is great and large so you don't have to fall into dependency hell.
Anonymous No.107052536 [Report] >>107052693
>>107052474
Even with Go you'd probably be using third-party packages. When I used Go I used Fiber, a third-party framework. I also used pgx, a popular third-party package for connecting to Postgres databases. Each of those dependencies has their own dependencies, and so on. Am I supposed to check through every single dependency in the tree and what they depend on?

Maybe you'll say "only use the standard library" but okay, what if I want a WebSocket server? Go's official docs advise using a third-party package for WebSockets:
>This [WebSocket] package currently lacks some features found in an alternative and more actively maintained WebSocket packages:
> github.com/gorilla/websocket
> github.com/coder/websocket
https://pkg.go.dev/golang.org/x/net/websocket

Maybe I'll just containerise my dev servers. Then any malicious code hopefully won't have access to my whole disk.
Anonymous No.107052693 [Report]
>>107052536
use common lisp.
Anonymous No.107053636 [Report] >>107055147 >>107055766 >>107056868 >>107061041 >>107061047
A or B?

if limit > 100 || limit < 1 {
return utils.RespondWithError(c, 400, "Invalid limit", "Limit must be between 1 and 100 (Default: 5)")
}

if limit > 100 || limit < 1 {
return c.Status(400).JSON(fiber.Map{
"message": "Invalid limit",
"error": "Limit must be between 1 and 100 (Default: 5)",
})
}
Anonymous No.107053662 [Report]
>>107050578
>>107047091
I like reactivity and I'm not against React per se, but before taking on a major dependency I'd rather use something simple like Squint's atoms until I actually need the improved DOM-diffing for performance reasons
https://github.com/squint-cljs/squint/blob/main/src/squint/core.js#L1010-L1055
Anonymous No.107055144 [Report]
Just asked ChatGPT about something and it gave me a shitty answer. Then I looked at the docs and found the right answer quite quickly. Take that you robot cunt
Anonymous No.107055147 [Report] >>107055368 >>107055724
>>107053636
What meme language is this and why doesn't it have semicolons and brackets?
Anonymous No.107055368 [Report] >>107055724
>>107055147
>he can't tell what language it is
Not a real web dev
Anonymous No.107055665 [Report] >>107055687
I'm really tired of my current work, and I have to learn TypeScript because most job offers ask for it.
Should I blow some bucks on an Udemy course? Any recommended website, similar to javascript.info? I'm specially interested in learning how to integrate it with React.
Anonymous No.107055687 [Report] >>107055716
>>107055665
genuinely dont know why an experienced dev would bother with udemy courses. just read the docs and program something it's the exact same shit as every other programming language
Anonymous No.107055716 [Report]
>>107055687
Well first, little bit of lazyness. I have nothing against docs but I'd like to see actual uses cases and examples while learning something, that's why I quoted javascript.info, which was actually a better resource for me than any paid course.
Anonymous No.107055724 [Report]
>>107055147
>>107055368
Answer my question or else...
Anonymous No.107055766 [Report] >>107056784
>>107053636
B, bcause
1. readability
2. horizontal screen economy
3. A is plainly retarded

also seconding, what language is it? it looks like python and js had a son, is it golang?
Anonymous No.107056198 [Report] >>107056289 >>107061564
I fucking hate SQL.
I know the "theory" behind it.
I know how it works.
But I feel like you're playing a lot of games just to make queries that don't result in absolute shit query plans.
In a KV db in literally any language, I have a lot more control and guarantees of the performance of my lookups. I fucking hate this stupid fucking SQL bullshit so fucking much.
Anonymous No.107056289 [Report] >>107056428 >>107061564
>>107056198
Absolute bainlet take. SQL models the data much nicer, which guarantees data integrity.
If you are having performance issues with SQL, you are probably doing something wrong. And even if you aren't, the solution is usually still not to use a KV DB as your master DB.
Anonymous No.107056381 [Report] >>107056416
>>107052474
JS becomes mandatory for the backend when you need SSR
Anonymous No.107056416 [Report] >>107056444
>>107056381
>JS becomes mandatory for the backend when you need SSR
nta, can you elaborate, because that sounds like bullshit
Anonymous No.107056428 [Report]
>>107056289
>SQL models the data much nicer
until it doesn't and you have 7 triggers for each insert/update.
Anonymous No.107056444 [Report] >>107061404 >>107061476
>>107056416
He's saying you need js to prebake your frontend cancer for the client to hydrate or whatever. Personally, I think if you're playing games like half-baking your react UIs, maybe you need to consider other ways to improve the render performance of your frontend.
Anonymous No.107056784 [Report] >>107056825
>>107055766
It is golang. I also am kind of disgusted by A but it helps giving your api responses a standard form.
Anonymous No.107056825 [Report]
>>107056784
I think is way more standard (advanced)
Anonymous No.107056868 [Report]
>>107053636
I hate both of them. they don't even look the same.
Anonymous No.107056881 [Report] >>107056912 >>107056996
The Register has also reported on the NPM malware I mentioned earlier in this thread

https://www.theregister.com/2025/10/30/phantomraven_npm_malware
Anonymous No.107056912 [Report]
>>107056881
npm packages and malware, a match made in heaven
Anonymous No.107056996 [Report]
>>107056881
>the packages use innocuous names, and some appear to have been automatically suggested by AI coding tools
Anonymous No.107059033 [Report]
any alternatives to nx monorepo now that they keep crappifying it?
Anonymous No.107060447 [Report]
https://www.reddit.com/r/javascript/comments/1ojtjmv/earning_10k_with_161_lines_of_javascript/
200 MRR with a countdown website sold for 3k dollers.
itt gotards and railtards will argue about js but wont ever ship something like this
Anonymous No.107061041 [Report] >>107061047
>>107053636
you can use a similar formatting on A, treat the ( like a {
about the functionality I wouldn't know
Anonymous No.107061047 [Report] >>107061293
>>107061041
>>107053636
can't u use something like eslint in go?
Anonymous No.107061293 [Report]
>>107061047
why would a linter have an opinion about which library you should use?
Anonymous No.107061404 [Report] >>107061476
>>107056444
>Personally, I think if you're playing games like half-baking your react UIs, maybe you need to consider other ways to improve the render performance of your frontend.
we tried this first. didn't work.
Anonymous No.107061476 [Report] >>107061589
>>107056444
>>107061404
nta, what's there else to do other than bake and liad an html with some js in it, where's the alleged complexity I'm not seeing?
Anonymous No.107061531 [Report]
>>106989351
you can buy a template for the site and just change the info which appears. you can even find paid templates and then find them for free.
Anonymous No.107061564 [Report]
>>107056198
>>107056289
SQL (especially in school) can lead to useless planning and fapping over diagrams. Ignore it and just think logically and you'll come to the conclusion that SQL is good and useful.

>KV db
Can't do what a DB does, not really relevant. But when your usecase is that simple, make a table for it with a index on the key and baam, it's fast and foolproof.

But more likely it's not that simple, and you start doing things you should actually use a real db for, concatenating strings to store data, such as userID + "-stats"... Now you have made a mess but it's still super easy and foolproof to do with a SQL db.

You'll be happy for SQL when you need to do something a little more complex, let's say you need to get the users(and stats) with the top 10 most profile visits in australia. The only performant ways to do this is to do it in-database like with SQL or doing your own implementation of a proper DB in a low level language.

>If you are having performance issues with SQL, you are probably doing something wrong
To be fair, most are, and it does get tricky for more complex problems because of the declarative rather than procedural nature.
And databases naturally handle the hardest parts of computation so it's natural performance problems show up.
Anonymous No.107061589 [Report] >>107061599
>>107061476
you are missing the serialized state that needs to be send along the hydrated html
Anonymous No.107061591 [Report] >>107061906
GitHub has made contributions yellow/orange/brown for Halloween. I thought you would all want to know this exciting news
Anonymous No.107061599 [Report]
>>107061589
>the serialized state
what is that?
Anonymous No.107061676 [Report] >>107061712
heh

.quote {
color: #80DB90 !important;
text-shadow: 0 0 5px #80DB90, 0 0 15px #80DB90, 0 0 25px #A4E5B0;
}
Anonymous No.107061712 [Report] >>107061750
>>107061676
it's that implying text? nice effect fo shizzle
Anonymous No.107061750 [Report] >>107061836
>>107061712
Yeah. Felt it made more sense for the Halloween theme than the default.
Anonymous No.107061836 [Report] >>107061939
>>107061750
what do u use for styling, is it permanent or a console tweak?
Anonymous No.107061906 [Report]
>>107061591
Looks cool. I can't wait for some westoid lunatic to complain about how Halloween is ackshually the celebration of [insert fictitious entity here] and Microsoft removes it like they did with the santa hat in VSCode.
Anonymous No.107061939 [Report] >>107062086
>>107061836
I'm just using the Custom CSS function on 4chan. If you click Settings at the bottom of the page, it's under Miscellaneous.
Anonymous No.107061949 [Report] >>107062009
Can someone "extract" the CSS 4chan Halloween theme we have rn? Love it.
Anonymous No.107062009 [Report] >>107062078
>>107061949
https://s.4cdn.org/css/spooky.715.css
Anonymous No.107062078 [Report]
>>107062009
Yes!, thanks anon.
Anonymous No.107062086 [Report]
>>107061939
sick, thx pham, I tried to use violentmonkey once, but that shit was most unintuitive
Anonymous No.107062564 [Report] >>107063280 >>107063868
>when you ask gpt for a js challenge
>you complete it
>ask him.to correct you
>he gives you a slightly nicer looking version
>yours work as intended and his doesn't
feels good man
Anonymous No.107062592 [Report] >>107063415
btw, can't for the life of me program listening to dad-rock
Anonymous No.107063280 [Report] >>107063327
>>107062564
Having the LLM explain what you did well and what could be improved is fun. I always ask them to wrap the challenge in a fantasy, scifi or mythological theme.
Anonymous No.107063327 [Report] >>107063967
>>107063280
>I always ask them to wrap the challenge in a fantasy, scifi or mythological theme.
people dont really talk about this shit much but it does make it really fun, guess people are embarrassed 'roleplaying' in a "serious usecase"
Anonymous No.107063415 [Report] >>107063859 >>107063967 >>107064178
>>107062592
Dad rock is based

https://www.youtube.com/watch?v=Vk97t1qjD60
Anonymous No.107063859 [Report]
>>107063415
yes, but I can't program with it
Anonymous No.107063868 [Report]
>>107062564
I did it exactly twice today
Anonymous No.107063967 [Report] >>107064178
>>107063327
I love advent of code, so this seemed kind of a natural thing to do

>>107063415
If I listen to music while programming at all it's just to drown out environment noise, usually some kind of mellow instrumental music like https://youtube.com/watch?v=RC7m0FEAfQM&list=RDRC7m0FEAfQM
Anonymous No.107064178 [Report]
>>107063967
>>107063415
I have a theory there's upbeat people and lowbeat people, some operate a different frequencies, I can't program with anything that isn't low volume low tempo music