[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: wdg.png (166 KB, 1362x1004)
166 KB
166 KB PNG
its over edition

>resources
go read mdn or some shit
>>
It's really over
>>
how to develop a website for killing myself.
>>
anyone got any decent cms they use with sqlite/node/express? i dont want to have to run django with everything else because i dont like big boy databases.
>>
Funny because doing webdev makes me want to kill everyone else.
>>
>>106279959
We're so back

>>106280123
Use jQuery, that will make you want to kill yourself

>>106280167
>i dont like big boy databases.
Why not?

>>106281079
Web dev is good
>>
>>106282470
>Web dev is good
It's good job security because everything about it is shit that only ever gets worse.
>>
>>106282479
I disagree with you.
>>
>>106282610
In the early days of the web, in the 90s, the web was ugly but it worked. Now it's even uglier and much of it doesn't even work.
>>
>>106283137
The 90s web was shit. No native video. No flexbox. No WebSockets. No media queries. No WebGL. No fetch API. Etc.

I like the fact that browsers now are way more capable and powerful.
>>
>>106283647
>No native video. No flexbox. No WebSockets. No media queries. No WebGL. No fetch API. Etc.
Perfection.
>>
Today I'm gonna work on a v2 of my spergy japanese news article typing test thing.
>>
File: 233546.png (326 KB, 1238x1256)
326 KB
326 KB PNG
struggling figuring out the data viz for this so if you happen to have any recs or it makes you think of something that could inspire me lmk
>>
>>106282470
>Use jQuery, that will make you want to kill yourself
jQuery was the peak of the golden years of webdev
>>
File: 1745210937591460.mp4 (1.14 MB, 1136x980)
1.14 MB
1.14 MB MP4
>>106283915
>muh 14kb
>>
>>106286345
website?
>>
zustand feels really nice compared to redux
>>
>>106286359
Just what I've thrown together this evening but here you go
https://yasashii.oldman.group/
>>
what does it take to actually run a website?
>>
>>106286821
A server
>>
File: 466816846.png (73 KB, 240x240)
73 KB
73 KB PNG
>>106286938
What about mods, admins, hackers, etc? Seems sketch
>>
Recently added accounts to my site, just trying to figure how to reset forgotten passwords. I would prefer not to handle email addresses (one less privacy issue to put up with, plus I've never had to set up email sending before). Any suggestions for good password reset options? I considered using TOTP for it, but I'll probably add 2FA to logins at some point and I don't want it used for both. Otherwise maybe recovery codes?
>>
>>106287323
I usually see that done with preset recovery codes yeah. Of course I guarantee you'll get people too dumb to write them down safely.

>>106286558
Luv zustand me
>>
>>106283684
>>106285023
Perhaps you have nostalgia for more primitive times, but I like the advanced features of today's web browsers

>>106286971
You write code to handle those things
>>
Haven't done any web dev the past few days because I've been busy with other shit. I'm getting web dev withdrawals.
>>
>>106286558
jotai is pretty good too
>>
>>106286558
Me? I use useState and useContext like the pleb that I am
>>
I know it's a Sunday but come on lads, we should keep the web dev thread alive.
>>
Web dev shall not die, it shall live
>>
hello friendos
new to code
been using chatGPT to teach me stuff and make some stuff for me
>reshade shaders
>doom mods
just basic stuff
now I'd like to try and make a browser extension for firefox to allow for chronological sorting of posts from oldest to newest
anything I need to know in advance before I attempt this?
>>
>>106293112
>in instagram
sorry
posted this mid-poo
>>
File: 1747872521092362.png (240 KB, 900x806)
240 KB
240 KB PNG
I can't see where to enter the next DigitalOcean promo code. It's just not on the page anymore, and my signup credits expire tomorrow.

Am I missing something, or is that all there is?

https://docs.digitalocean.com/platform/billing/promo-codes/


https://web.archive.org/web/20250517111241/https://gist.github.com/webdevgen/ebf29aadc772bf5888e1a715dc311e96

It seems like people were using codes after their initial offer, or is that all made up?
>>
>>106293112
>now I'd like to try and make a browser extension for firefox to allow for chronological sorting of posts from oldest to newest
>anything I need to know in advance before I attempt this?
Learn JS and it should be straightforward
>>
>>106286635
questionable font choice, but cool concept. I will use it with a tampermonkey script making it sans serif helvetica
>>
>>106280167
>cms
>sqlite
>node
Sorry this general is for heterosexuals
>>
I'm thinking about creating a SaaS app that helps companies turn their services into MCP servers. Looking around it seems like FastMCP is the best option currently although I'm not a fan of Python.

Anyone else looking into something similar?
>>
>>106283647
It was just meant to be hyperlinked documents back then, it was just fine for that usecase until people decided it should be the platform for much more than that. Maybe it was a mistake to turn it into that, maybe all the online shopping, video streaming, social media and forums should have just been done through native applications. Why couldn't we just have made native applications with their own protocols for these things? Just make standard protocols for the different usecases so we can use our own client implementation for many different services of that type
>>
>>106294831
Of course I know corpofags would never accept this in practice, letting us use our own clients by using a standard protocol instead of their propietary garbage? Nah they'd rather reinvent the wheel for their service so that it's harder for us to not use their propietary clients full of malware
>>
File: 1728180586393432.png (7 KB, 213x104)
7 KB
7 KB PNG
>>106294573
I think it's a nice way to do some drills on readings, it helps me remember since I have to actually type it.
I've published a couple updates I did today
>every kb counts
>>
>>106294896
>>106286345
Nice to see people being mindful of the 14kB rule. It's 14kB transferred btw, so 3.55kB is well below it.
>>
>>106294927
I was surprised how easy it is if you don't have a whole stack of vercel gigabloat under you
Anyway back to my bloatmaxx real job
>>
>>106294927
I'm surprised that people even need to consciously do this, how does someone mess up bad enough for the html and css for a page to be more than 14kb when gzipped? Even the people using bloated js frameworks can easily avoid this nowadays
>>
>>106295053
Yeah, it's not that hard. Just put all the critical CSS inside of <style> tags and load all the content above the fold in that first 14kB (compressed). If you can't load everything you need that's above the fold in that first 14kB then at least give fixed width and heights to the stuff you can't load (so that you don't get layout shift when you lazy-load it). Make sure that you don't have any blocking CSS or JS. Then lazy-load the rest: JS, more CSS, images...
>>
man you guys are retards
>>
>>106295767
Explain why.
>>
File: 1744968826376245.gif (10 KB, 156x156)
10 KB
10 KB GIF
bump
>>
Laravel is actually ok for making products as a solo dev
>>
JS is coming for gotard bussy
https://news.ycombinator.com/item?id=44922383
>>
>>106286821
open a text document in notepad and save it as a .html file
>>
>>106287323
bro i never save recovery codes. just using emails and not using passwords seems more secure.
Just use emails, frankly i'd prefer email links where i don't even have a password.
that or just some oauth login so i don't need an account on some random site
>>
>>106297786
Yeah, recovery codes would probably not get saved normally... probably worth adding as a backup if I do add 2FA (if someone puts 2FA on they're probably pretty pedantic, given the unimportantness of my site).
OAuth can fuck itself though. Google, Facebook, and the rest can suck a dick, I never use OAuth anywhere. Plus you don't need an account for any regular stuff on my site; any account-requiring action just gives the user an ID cookie so favourites/settings/etc. just work anyway. An account just lets you sync between devices, essentially
>>
>>106294716
Not him but Node is pretty good to be honest
>>
>>106280167
>Node cms
https://github.com/TryGhost/Ghost>>106282470
>>
File: diddysease.jpg (22 KB, 320x284)
22 KB
22 KB JPG
>>106279959
Can anyone make some code to add Fappe Tyme to SpookyX?
I need to temporarily hide posts without files attached when I lurk in old threads and nitpick my favorite stuff.
Also, Spooky X doesn't work for archiveofsins. I don't understand why. I see it's got the permission granted.
And the third thing, can anyone code a script to add to 4chan XT to make it add "?text=example_text" at the end of each file's URL?
Whenever I add that I can download non-compressed files directly from 4chan.
PLS help. c:
>>
>>106280081
it's over
over
>>
>>106279959
Opinions on Django? Slowly working my way through it. Can it scale well with redis?
>>
>>106299976
>Opinions on Django?
Python and Javascript are not good options if you need your app to scale well. They are ok for smaller production-level applications or side projects. But you shouldn't choose them to build production-level applications that need to scale well. You should go with Go if you need something that scales well. The good news is that Go is not only very performant but also very simple. Go also has a great standard library so you avoid the dependency hell of Python and Javascript.
>>
>>106279959
How many concurrent connection does your website support?
>>
>>106300101
4.5
>>
>>106300101
about tree fiddy
>>
>>106300045
Based Go enjoyer
>>
>>106301002
enjoyer meem is superior to chad imo, it's more funy
>>
>>106300101
Over 9000
>>
File: 1696183693174644.webm (2.95 MB, 960x540)
2.95 MB
2.95 MB WEBM
one of the best meems I've seen hands down
>>
>>106303868
Using varchar for everything is dumb. I bet that person still uses jQuery.
>>
>>106304730
it's a meme, a joke, humor
>>
Today I'm gonna make a silly drag and drop sticky notes thing for my new tab page
>>
>>106304752
You never know these days. HTMX seems like a joke but some people allegedly use it in a serious capacity.
>>
>>106299840
In the script, before any of the other requires, if you add the @require
// @require       https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

then it seems to work. I'm not sure why, I think it's because they only have the jquery script element further down the html in the body
>>
>>106305736
well I meant that it's because the jquery.selection script doesn't have the jquery element defined :P

>>106299840
Can I ask what the URL thing is for? I don't quite get it
>>
>>106305057
I always wanted to, but never even tried, drag and drop is hella cool and somewhat advanced functionality
>>
File: 1724765066597643.mp4 (50 KB, 792x708)
50 KB
50 KB MP4
>>106305778
wa la
>>
File: file.png (6 KB, 309x164)
6 KB
6 KB PNG
>>106299840
DesuX has the fappeTyme feature, but it seems to keep the hide post buttons for some reason. Here's my basic one:

Does this work for you? Enable it when pressing 'f'. I added that red marker at the top right of the screen too, though you could remove it if you want.

// ==UserScript==
// @name Foolfuuka Archive fappeTyme
// @namespace http://tampermonkey.net/
// @version 2025-08-18
// @description try to take over the world!
// @author You
// @match https://desuarchive.org/*
// @match https://archiveofsins.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=desuarchive.org
// @grant GM_addStyle
// ==/UserScript==

GM_addStyle(`
body.fappeTyme .post:not(.has_image) {
display: none;
}

#fappeTyme-informer {
--box-background-color: rgb(210 0 0 / 0.75);

display: flex;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
right: 0;
background: var(--box-background-color);

font-size: 3rem;
width: 1.5em;
height: 1.75em;
margin: 1em;
border-radius: 0.25em;

filter: drop-shadow(0px 0px 0.1em var(--box-background-color));
}
body:not(.fappeTyme) #fappeTyme-informer {
display: none;
}
`);

(function() {
'use strict';

document.body.insertAdjacentHTML("beforeend", `<div id="fappeTyme-informer">F</div>`);

document.addEventListener('keyup', (e) => {
if (e.ctrlKey) { return; }
if (e.altKey) { return; }
if (e.metaKey) { return; }
if (e.shiftKey) { return; }
if (e.code === "KeyF") {
document.body.classList.toggle('fappeTyme');
}
});
})();
>>
File: 1729722490228318.mp4 (643 KB, 1004x986)
643 KB
643 KB MP4
>>106305057
Probably buggy as shit but lemme know if you give it a go
https://oldman.group/noted
>>
>>106307469
nioce but you need keyboard shortcuts. always be a power user
arrow keys to focus note. border around focused not. up for new note, down for delete. shift arrow keys to move the note around the grid.
>>
>>106307469
Pretty fuckin cool, nice one.
Why did you decide not to make the noteTemplate element a <template>? Not that it really matters, just thinking of defaults
>>
File: 1744108694360543.mp4 (349 KB, 824x686)
349 KB
349 KB MP4
>>106307904
For you anon I code anything
>grid
but not that

>>106307954
Thanks. Honestly I had no idea <template> existed. Looked perfect at first, but seems to dump its contents into shadow DOM which I don't understand very well.
>>
File: 1749905864666663.png (445 B, 185x178)
445 B
445 B PNG
>>106308267
>those colors
nice i see what you did there
>>
I will answer your AWS and SQL questions until i go to sleep.
>what should i read to learn more?
Don’t. Build.
>sell me on using AWS instead of a VPS
I’m not a salesman and you didn’t give me a use case.
>>
>>106308267
You're supposed to use the template with cloneNode and so on like any other div being used as a template, the shadow dom stuff is a separate optional thing.
It's not that different from a <div> - it's just that it's completely inert compared to a non-displaying div just being out of flow. They're treated as being separate documentfragments so you can even add script elements in them and they won't run until you were to clone and insert them out of the template.
>>
>>106300045
But are there jobs for Go?
>>
>>106287856
Not the one you replied to, but he's mostly right. Due to these kind of features, most websites are very slow, and the browser is using a huge amount of resources
>>
>>106308451
Makes sense, interesting thing. I'll have to go make sense of the new shit they did while I was in reactland.
const $noteTemplate = document.getElementById('noteTemplate').content.querySelector('.note')
>>
>>106308336
buy hc 14c
>>
>>106308455
Not him but there are some jobs in Go. Not junior ones though I don't think.
>>
>>106308494
Some modern websites are slow and bloated because they're written by dumb devs, but you can still have modern features (e.g. WebSockets, or native video, or a service worker, etc) on a lightweight website.
>>
>>106279959
lmao everybody ngmi, can't even be bothered to copy pasta the thread comment kek
>>
File: monkey with cymbals.gif (125 KB, 200x153)
125 KB
125 KB GIF
>>106305736
>>106306312
Thank you, code monkeys. I will inspect this code and test it thoroughly.
>>106305761
>Can I ask what the URL thing is for? I don't quite get it
All of 4chan's files are compressed. If you want to access the non-compressed file you have to add "?text=any_text_here_niggy". As far as I know, it's Cloudflare's retardation what compresses files. This has been going for a few years, 2 or 3 maybe.
>>
>>106308267
Arigato, isha Piccolo-sensei.
>>
>>106305736
>>106306312
Ok. I tried both and now SpookyX works for archiveofsins and I have a working FappeTyme script for any archive. So far, I've tested Fappe with AoS and b4k.dev.

Though I have so many scripts and what bothers me is that ViolentMonkey still doesn't have the option to add tags or anything else to organize them better.
I think my only option is to find a custom CSS but Google just returns stupid custom CSS for YT tutorials. No luck on desu either but I found a neat script about some mascot-related thing for Werk Tyme.
>>91717825
I also found out loading 4 previous nested posts makes SpookyX return the thread in a blank state. lol
>>
>>106305898
nice and quick too
>>
>>106310746
>4 previous nested posts makes SpookyX return the thread in a blank state
Only on arch.b4k.dev as far as I know.
>>
>>106310216
Are there any junior jobs anymore? Trying to figure out what languages would be best for a junior.
>>
>>106311128
Have a look for jobs in your area
>>
>>106311128
intern/internship might help in the searches
>>
Deploying my shitty ASP.NET website with a new database. Hope it works.
>>
>>106311886
enterprise tier BE
>>
so i made an app with not that many users but i noticed there are several cases of multiple identical users
now i have no idea how they made those accounts since i lock the submit button on sign in after its clicked once, i also check on backend if the email already exists and that code works fine. i just can't even replicate that scenario of several identical users
i have no idea what those users are doing to make that happen, so does anyone have any idea?
>>
>>106312523
I keep seeing job ads asking for C# or Java so I thought I should try them out
>>
>>106310477
You could do it with the redirector extension. However, apparently they're using cloudflare's polish compression in lossless mode. If you convert both images to an uncompressed format like bmp, they're both the same size. For lossy formats, they're only stripping out and simplifying the metadata (hence the files not being much smaller). For lossless formats, you can of course compress pngs as many times as you want.
>>
>>106310746
Seems to be when trying to open the OP as an inline post
>>
>>106311886
How is it working with ASP.NET? I never really touched the microslop stack but it does seem pretty popular.
>>
>>106313468
C# and Java are enterprise, so they're supposed to pay well, not saying other stacks don't, but alas
>>
>>106315027
It's like a bizarro version of Java

>>106315133
I just want any dev job to be honest and I keep seeing junior positions asking for Java or C# experience
>>
>>106294800
I know a guy doing this (not necessarily with FastMCP) and he said there's a lot of money there. Keep doing that
>>
>>106316161
>I just want any dev job to be honest and I keep seeing junior positions asking for Java or C# experience
checks out logically
>>
b
>>
File: attention.png (317 KB, 580x572)
317 KB
317 KB PNG
hey, i am retardo
is there any framework that can compile to a simple html and js file and just be opened from file:///path/to/file.html
i have tried vite with both react and solidjs but i couldnt get it to work
i tried asking ai and it kept telling me it can work but even though i did just as it said it never worked, classic
i feel like there should be a way but this is not my area of expertise
i just want to use it for my browser startpage
in the past i have written everything in plain html, css and js but wanted to see what all the fuzz surrounding frameworks was about
>>
>>106318017
youre going to run into browser sandboxing very quickly just using the file:/// interface. try hosting the directory with something like flask and youll be able to do things like link to files or use browser apis.
>>
File: example.png (41 KB, 3840x1080)
41 KB
41 KB PNG
>>106318040
thanks for the suggestion :)
i have now tried flask but i run into the same problem as when i tested with just a react app in dev mode running on port 3000, namely that the url is visible in the bar which i dont want (right side of picrel). when i have firefox use a file:/// path it works like i want it to (left side of picrel). is there anyone here who knows how to make it work like i want it to?
>>
File: file.png (53 KB, 1406x951)
53 KB
53 KB PNG
>>106318258
i use this extension to use a self-hosted page as my new tab page in firefox

https://github.com/MethodGrab/firefox-custom-new-tab-page

i made my own new tab page that i now host on a subdomain of my website, but for years i was just locally hosting it with flask and set it as a startup service so it was always running. that extension lets me set the new tab and new window page for firefox, and clears out and selects the url bar so i can just instantly start typing and either search or go to a url.
>>
What would you recommend for the following situation?
>10+ year old legacy MVC app
>there are dozens of classes that all share the same Postgres table via STI
>this table has over 1 billion rows and is growing extremely fast
>this table is a pain in the ass for devops and infrastructure
Should the first obvious move be to partition the table somehow? Rewriting application logic to avoid STI is another option but would be insanely complex given the size and age of the app
>>
>>106318258
open up your developer tools console u get info like i assume its trying to find a css stylesheet but its not being pathed correctly in the code or not in the proper location
>>
File: 1750809020660324.gif (24 KB, 169x98)
24 KB
24 KB GIF
bump
>>
>mfw a new cert to unlock
>:D
>mfw 65 pages worth of theory
>:(
>mfw udemy course that covers it
>:|
>>
I'm getting some HTML from an official government API and I'm then displaying that HTML on my website. Problem is that that HTML contains <h1> elements and sometimes several <h1> elements in the same text. But it's from an official source, so I don't want to change the HTML. Is there some (SEO friendly) way of saying "this text here is taken from another source/website, it's being displayed here but it's not really a part of this webpage".

I know it's bad for SEO and screen readers etc. to have several <h1> elements on the same page, but I also don't want to change the text since it's from an official source. What would you do in a situation like this?
>>
>>106321859
Make sure it's server rendered.
Client rendered API calls are not seen by search engine crawlers.
>"this text here is taken from another source/website, it's being displayed here but it's not really a part of this webpage"
You could use iframes for that but you may expose your API key and it would be ignored by crawlers anyway.
>>
Not used to lose used to harm people
>>
Go beats Java.
https://www.youtube.com/watch?v=PL0c-SvjSVg
>>
>>106322957
Is go fun to write?
>>
node is easy and fun to write because less code does more things
>>
>>106325313
So, yes? No?
>>
>>106326053
less code => more things => fun
>>
>>106324295
I think so, it's very simple and straight forward and it's easy to read other people's code because it all looks the same. Go is a very practical language and it's performant. It's a good language if you want to "get things done".
>>
Hello everybody
>>
>>106326590
fuck you
>>
>>106326590
Hello, welcome.
>>
>>106321859
u display it in a ccode block with <pre> tags n shit dsso the html doersnt execute
>>
File: 17548527863330.png (1.3 MB, 1920x1080)
1.3 MB
1.3 MB PNG
I want to write a manga and epub reader for browser, desktop and adroid app, what should I use?
JS + react + electron?
>>
>>106321859
>Is there some (SEO friendly) way of saying "this text here is taken from another source/website, it's being displayed here but it's not really a part of this webpage".
also forgot to address this part
this is very tricky, i think just sourcing the url under the pre code block is good enough. it knows youre not trying to take "credit" for it at that point. but it's still a grey area literally copy/pasting details that are available on another site. pre wrapping should be a good indicator youre not aactually trying to use the content (for ranking) just display it (for analysis).
anyway for some research "canonical url" is a term that is semi relevant.
>>
>>106326821
have you started yet, procrastinator scum ?
>>
>>106327283
N-no, I am waiting for your opinions...
>>
>>106327516
personally i wouldnt bother with an "app" so cant give much advice. i'd make it just for the browser, and since you dont need a backend since thats copyright issues(uploading books), it'd be in vanillaJS to keep it simple
>>
>>106327659
>vanillaJS
actually nah, sveltekit. gotta start using it as my goto as its basically just vanillaJS syntax wise.
>>
>>106327659
What if I want to add ocr and translation for manga?
>>
>>106327773
sveltekit can do it. you just serve your model generators as a rest API and the website makes requests. or if youre using some other service to handle the computing it'd be the same principle.
data -> API compute -> data -> database storage -> frontend
>take current user page active
>sends image (convert to data64 maybe) to your rest API
>returns translation data in json or whatever
>store this in a database as a json object
>re-render the page with the new translation
>>
File: 1741498807679156.png (60 KB, 575x591)
60 KB
60 KB PNG
Just finished up this little podcast shuffler thing. Lemme know what you think
https://oldman.group/epod
>>
If I have some important search terms that will never change: should I put them in the url as query strings? For example:

.../codes?code1=this_is_code_1&code2=this_is_code2

That's good for SEO, correct? Also, I'm thinking about using "_" for spaces since Wikipedia is doing it:
https://en.wikipedia.org/wiki/Catherine_Zeta-Jones

What do you guys think?

>>106328783
I had to refresh the page after I added the RSS feed before it would start playing. It was otherwise stuck on "loading".
>>
>>106329936
>stuck on "loading"
Not able to reproduce it yet unfortunately, I'll see if I can figure it out though, thanks.
>>
bump
>>
>>106322957
>35ms vs 45ms latency (stop the fucking presses)
>for Java uses "a java library" to convert to JSON a class simple enough you could easily have made the toString() method return a JSON
>>
>>106299534
why bother shilling this shit? their readme is literally just "dont even try using this, just pay us money". if the readme doesnt convince me what it does and why i should care then never going to touch it again.
>>
>>106329936
>Also, I'm thinking about using "_" for spaces since Wikipedia is doing it:
why not just URL-encode so spaces become %20?
>>
>>106334311
I'm doing that now, but I think "_" looks better than "%20".
>>
>>106334722
>I think "_" looks better than "%20"
nta, I think so too, not sure of the implications and consequences, but alas
>>
>>106334839
underscores are deliberate, and spaces are deliberate, but spaces break many things. underscores dont, so differentiating between underscores and spaces via urlencode is fine.
>>
>>106334898
if you follow a strict naming convention, for example "title" (with spaces) is sanitized, merely with some regex replace f.e. and the spaces converted into underscores then there you have it
>>
btw, regex sanitization I learned recently
string.toLowerCase().replace(/[a-z ]/g,"")

this shit does work
>>
>>106334925
this can break things with leaning or trailing underscores (like stuff published by or attributed to _why). differentiating characters isnt bad, and you can easily urldecode in literally every language easily.
>>
>>106334940
*typo
string.toLowerCase().replace(/[^a-z ]/g,"")
>>
>>106334950
url encoding is 100% failproof, the other way, using things like:
>>106334951
you might have to tweak at some point but it'll do the thing, imo
>>
page 9
>>
>>106336591
board too filled with ai faggots, zoomers who cant read the index faggots, and bullshit spam for le maymay faggots.
>>
>>106336599
4chan spam is fucked up 2bh, hard to find unique threads
>>
>>106330785
I use a firefox fork. Maybe that's why.
>>
>>106336710
the jannypocalypse after the hack was a big part of it. very few of them stuck around, and very few of what very few are around now actually know or practice the board culture. reports for most boards get sinkholed because the people getting them either dont know whats what or dont care.
>>
>>106336776
Can I ask which one?
For your spaces thing by the way, I have used a filter for "stop words" in the past, then replace whitespace and optionally lowercase it.
I see a lot of sites doing that for article names etc so assume it's the right thing for seo.
export function slugify(s, toLower = true) {
if (!s) return null

const slug = s
.toString()
.normalize('NFD')
.replace(/[\u0300-\u036f]/g, '') //remove diacritics
.replace(/\s+/g, '-') //spaces to dashes
.replace(/&/g, '-and-') //ampersand to and
.replace(/[^\w\-]+/g, '') //remove non-words
.replace(/\-\-+/g, '-') //collapse multiple dashes
.replace(/^-+/, '') //trim starting dash
.replace(/-+$/, '') //trim ending dash

if (toLower) return slug.toLowerCase()
return slug
}
>>
>>106336943
>Can I ask which one?
Mullvad browser. Although I tested it again now and it's working now. Maybe it was an internet problem earlier since I'm using a VPN.

>For your spaces thing by the way, I have used a filter for "stop words" in the past, then replace whitespace and optionally lowercase it.
>I see a lot of sites doing that for article names etc so assume it's the right thing for seo.
Thanks. I will consider it.
>>
>>106329936
>SEO
literally doesn't matter as the first page is paid ads on google
>>
>>106337455
>>SEO
>literally doesn't matter
I fucking wish
>>
page 9
>>
>>106337455
meh its all in the longtail for SEO these days (always has been desu)
youre competing with 50 agencies trying to get top slot for "diet pills"
but for a keyword like this, that someone searches;
>im a fat hispanic goblin i need to lose weight
then u can sell the same shit as the 50 agencies but u just market it towards fat hispanic goblins and just them. theres one in your banner, etc. u do fine
>>
MOZILLA YOU FUCKING BLIND BATS
>>
Are there any extensions to make VS Code like Cursor so I don't have to pay for Cursor but can use my own GPT5 key?

GPT5 is pretty GOATed right now
>>
>>106340854
use opencode
>>
>>106341016
Is that a VS Code extension? I'm not on linux atm and can't test it out
>>
File: file.png (113 KB, 1271x731)
113 KB
113 KB PNG
So my project I'm trying to rewrite from mongo/mongoose to prisma and postgres; when a user creates an account they get a chatroom. Picrel is how I handle it, the register route creates the user with the user model but also creates the room. Everything is JSON including the emotes. How would I go about making the emotes which are JSON in the room save to something more SQL like with a prisma model?
>>
>>106341510
Emotes is an array of objects?
If I'm understanding it, you pretty much want a table of rooms, a table of emotes and a junction table linking them?
Maybe read about normal forms.
>>
>>106341560
I'm not sure what I want, I'm new-ish to SQL or at least I haven't used it in like a decade. I'll try normal forms, thanks m8
>>
File: 1754917605374301.png (25 KB, 727x466)
25 KB
25 KB PNG
>>106341593
Consider something like this then, to establish a many->many relationship, RoomEmotes being the "junction table"
>>
>>106341642
Alright. I'll study basic SQL stuff first then circle back to that chart, then ask an LLM how it'd be done in prisma if I were to swap it from my JSON model and give it a go.

Can you believe 10 years ago so many people in the javascript ecosystem thought JSON based data was going to be the data of the future and phase out SQL and we'd have mongo supremacy?
>>
>>106341659
>we'd have mongo supremacy
I know, I fell for it too. Back with SQL these days for the most part and the world is right again.
>>
https://www.indiekings.com/

haven't touched the template (blogspot) in a long time, any genuine things i should change/add?

i'm using blogspot and not wordpress because it's free and it works
>>
>>106342355
I think the navbar should fucking be 5 times bigger. In fact get rid of the site and make the whole thing a navbar. You retard.
>>
>>106342355
i shouldn't have to click a hamburger menu to see things on desktop, shitty mobile first layout. navbars exist for a reason
as
>>106343060
said
>>
>>106342355
There's no hover state on literally anything
>>
Still relevant after all these years:
https://www.youtube.com/watch?v=UgSFxtIPc4c
>>
File: deployer.png (238 KB, 1914x1078)
238 KB
238 KB PNG
>>106279959
:: pb-deployer ::
dev:: anon
tools:: golang,sveltekit
link:: https://magooney.org/
repo:: https://github.com/magooney-loon/pb-deployer
progress:: works on my machine
>>
>>106345138
cool that's a lot of words saying nothing because there's no mention of what pb is
>>
>>106345156
>Automates the lifecycle of deploying PocketBase apps to production
https://letmegooglethat.com/?q=pocketbase
>>
>OpenAI has announced plans to open its first office in India, just days after launching a ChatGPT plan tailored for Indian users, as it looks to tap into the country’s rapidly growing AI market.
next jeetpt release in shambles
>>
>>106343060
>>106343161
Thanks for the feedback, going to fix this.

>>106343197
Added, it was because mobile users never hover.

Anything else?
>>
>>106345680

not even india have double roofs like in that shanty town song
>>
File: IMG_3499.jpg (62 KB, 640x560)
62 KB
62 KB JPG
>>106342355
This is unreadable. Not sure if you can fix it but the problem is the text needs a border or background of some kind to ensure contrast.
>>
>>106342355
overall, it's pretty bad, I'd say get some inspiration, look at other sites

some design resources
/*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
>>
>>106346582
zlib doesn't work
>>
>>106346838
old copypasta
>>
>>106346845
Must be really old because a lot of links don't work.
>>
>>106346900
yes might be 2 years old at this point if not more
>>
>>106279959
I got a question here.
I mostly have done simpler apps and landing pages. But my new job wants me to make an entire payment gateway for them so hey can offer it to their clients e-commerces.

Assuming I can have a payment page that loads a purchase trough an id from the url how would the clients implement that. Would it be better to create a javascript file with all the required functions for it to redirect to my gateway or do I have to create an SDK of sorts?
>>
page 9
>>
Ever since I got pushed into .NET with clean architecture at my job I haven't really looked at anything else on the back-end side of things... Am I a dinosaur or is it really just good enough for 99% of use cases?
>>
>>106349552
anything is good enough for 99% of use cases because 99% of use cases are going to be CRUD
>>
Is this still relevant?
https://www.youtube.com/watch?v=2_lswM1S264
>>
I just vibe coded a big fat stinky log and let the cloudflare worker wrangle with it. hehe.
>>
File: 1755255849141613.png (233 KB, 640x631)
233 KB
233 KB PNG
Since there isn't a programming general I'll try asking here.

Is there a python library that creates the same functionality as a PLC?
What I'm looking for is something that can create a sequence of steps, and can create 'memory flags' and I-O endpoints basically the same way a PLC does.
I know Python isn't meant for allocating to specific bits, bytes, words, etc. I just need the functionality of allocating to memory variables essentially.

Does anyone know if something like this exists? Or do I have to create it all myself?

I'm familiar with PLCs and I'm surprised that I haven't been able to find any library that can do the same basic things as a PLC. specifically with regards to memory flags and sequencing steps and using control logic in a simple manner.
I'm not interested in something that can talk to a PLC specifically, I just want the same functionality as a PLC in my programming; specifically memory flags and sequencing control logic.
>>
>>106351086
>how do I sequential code and variables
What the fuck are you asking for
Ladder diagrams?
>>
>>106351260
Basically the same functionality yes.
>>
state = 0
while(state != < 0) {
switch(state){
case 0:
if(some condition) state = 1
break;
case 1:
if(other condition) state = 0
break;
...
}
sleep(1000)
}
>>
I need set/reset conditions and memory handling(memory flags), and actions, and I want it to be super easy to write without thinking too much, that's why I need a library.
Right now I'm thinking I'll have to write it myself.
>>
>>106351359
You just need to learn programming
>>
>>106351359
just write functions that do what you want.
if you mean low level bit manipulation. in web it never existed and any attempt to recover it is a fantasy
>>
>>106351815
>>106351986
I understand your concern; and yes, I'm a beginner. But I'll try it out anyways.
Even if I find out later that I don't need these functionalities (which I'm convinced I do need for what I want to make) then I'll still learn something from this.
>>
>>106351986
*And no. I don't need to use low level bit manipulation.
>>
I'm writing a web application but a lot of the ecosystem is new to me as I'm usually more of an embedded kind of guy.
I stupidly did not research existing libraries enough and ended up reinventing the wheel for several basic things: cropping a video, dragging elements (like a seekbar), etc.
I kind of like knowing exactly what the components I've written do and that I'm not relying on libraries that I'd probably need 1% of the functionality of, but realistically my implementations are far from optimal and I'm sure there's a lot of edge cases I haven't accounted for.
But then again this is just a little side project and what I have works for me, so I'm conflicted.
I'm working in svelte and I came across a lot of react libraries that did what I wanted during my search, but very few for svelte.
I should have realized sooner that I could use plain old javascript libraries, but still, it kind of makes me wish I was using the more popular thing instead.
>>
>>106353083
theres nothing wrong with reinventing the wheel; it lets you gain a deeper understanding of why other implementations work the way they do.
>>
>>106353083
There's everything wrong with reinventing the wheel; it wastes your time on something you could have learned just using another implementation.
>>
>no more new weekly epic framework
>AI
>now it's all green shit and you can just do nojs html
Is webdev over?
>>
page 9
>>
>Backend senior dev thinks he can apply the same patterns in a front project. Ends up writting shitty useless abstractions and does not bother to learn basic state management of the library/framework.

Bottom of the barrel backend devs end up moving to front thinking it would be easier failing to see how brainded they are when a bootcamp react tranny that was scammed 20k with zero expreince code is better than their krugger models.
>>
File: 2025-08-23_08-54.png (89 KB, 347x384)
89 KB
89 KB PNG
>>106346346
Fixed, along with many more fixes that don't break functionality https://www.indiekings.com/



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.