/wdg/ - Friendly Web Development General
Anonymous 01/16/25(Thu)12:51:40 | 312 comments | 38 images
Hono edition.
*** Please be civil, notice the "Friendly" in the thread subject ***
>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US/docs/Learn - MDN is your friend for web dev fundamentals
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloquent_JavaScript.pdf - A modern introduction to JavaScript
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS
https://roadmap.sh/roadmaps?g=Web+Development - Guided beginner roadmaps
>Resources for backend languages
https://nodejs.org/en/learn/getting-started/introduction-to-nodejs - An intro to Node.js
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
>Resources for miscellaneous areas
https://github.com/bradtraversy/design-resources-for-developers - List of design resources
https://www.digitalocean.com/community/tutorials - Usually the best guides for everything server related
>Need help? Create an example and post the link
https://jsfiddle.net - if you need help with HTML/CSS/JS
https://3v4l.org - if you need help with PHP/HackLang
https://codesandbox.io - if you need help with React/Angular/Vue
/wdg/ may or may not welcome app development discussion in this thread. 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: >>103849376
*** Please be civil, notice the "Friendly" in the thread subject ***
>Free beginner resources to get started with HTML, CSS and JS
https://developer.mozilla.org/en-US
https://web.dev/learn/ - Guides by Google, you can also learn concepts like Accessibility, Responsive Design etc
https://eloquentjavascript.net/Eloq
https://javascript.info/ - Quite a good JS tutorial
https://flukeout.github.io/ - Learn CSS selectors in no time
https://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS
https://roadmap.sh/roadmaps?g=Web+D
>Resources for backend languages
https://nodejs.org/en/learn/getting
https://www.phptutorial.net - A PHP tutorial
https://dev.java/learn/ - A Java tutorial
https://rentry.org/htbby - Links for Python and Go
>Resources for miscellaneous areas
https://github.com/bradtraversy/des
https://www.digitalocean.com/commun
>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 in this thread. 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: >>103849376
Anonymous 01/16/25(Thu)12:53:32 No.103919755
why does /g/ and the dev community in general look down upon full stack devs/web devs?
Anonymous 01/16/25(Thu)13:02:16 No.103919884
>>103919755
It's their coping mechanism for not knowing how to build performant and scalable web applications
It's their coping mechanism for not knowing how to build performant and scalable web applications
Anonymous 01/16/25(Thu)13:04:29 No.103919913
>>103919884
i got something performant and scalable for you
i got something performant and scalable for you
Anonymous 01/16/25(Thu)13:06:30 No.103919948
For me it's Vue.js
Anonymous 01/16/25(Thu)13:11:38 No.103920033
>>103919755
who cares?
I do literally all of the programming.
useless microcontroller shit
out of tree linux kernel modules
and random worthless apps and webapps.
don't worry what non-webfucks think about your programming or your skills. it's all the samu shittu at the end of the day and anyone claiming otherwise is just coping.
who cares?
I do literally all of the programming.
useless microcontroller shit
out of tree linux kernel modules
and random worthless apps and webapps.
don't worry what non-webfucks think about your programming or your skills. it's all the samu shittu at the end of the day and anyone claiming otherwise is just coping.
Anonymous 01/16/25(Thu)13:13:11 No.103920052
how slow is localstorage really? is it fast enough to be repeatedly called in an interactive use scenario?
mdn makes it sound like it's bad news, but indexeddb is really painful (and pretty slow)
mdn makes it sound like it's bad news, but indexeddb is really painful (and pretty slow)
Anonymous 01/16/25(Thu)13:16:37 No.103920112
>>103920052
hm, just do things in memory then and only save to localstorage periodically when it doesn't impact the user experience.
hm, just do things in memory then and only save to localstorage periodically when it doesn't impact the user experience.
Anonymous 01/16/25(Thu)13:21:30 No.103920176
>30 minutes and 7 replies later
>not a single tailwind basado
>not a single tailwind basado
Anonymous 01/16/25(Thu)13:22:18 No.103920187
>>103920112
I'm more just worried of shit like users closing the tab out of nowhere or their tab crashing or whatever. I guess I could do it in a setTimeout task....
I'm more just worried of shit like users closing the tab out of nowhere or their tab crashing or whatever. I guess I could do it in a setTimeout task....
Anonymous 01/16/25(Thu)13:23:18 No.103920201
Anonymous 01/16/25(Thu)13:28:44 No.103920286
>>103920187
is the beforeunload event not usable here?
is the beforeunload event not usable here?
Anonymous 01/16/25(Thu)14:12:14 No.103920916
>Homo
>Vuegina.js
>indexBBC
>fullstack dev
what is all this porn talk in here?
>Vuegina.js
>indexBBC
>fullstack dev
what is all this porn talk in here?
Anonymous 01/16/25(Thu)14:29:07 No.103921066
>>103919755
Because they think we're only building CRUDs so simple that jeets can do it.
Because they think we're only building CRUDs so simple that jeets can do it.
Anonymous 01/16/25(Thu)14:40:43 No.103921206
>>103919710
>yeah because what could go wrong with anons having unrestricted access to h1-h3 headings in their posts
noneed to use Hs for that, just syling, I'm guessing you're trying to highlight SEO implications, on fucking 4chins, care to elaborate?
>yeah because what could go wrong with anons having unrestricted access to h1-h3 headings in their posts
noneed to use Hs for that, just syling, I'm guessing you're trying to highlight SEO implications, on fucking 4chins, care to elaborate?
Anonymous 01/16/25(Thu)16:00:14 No.103922073
Responsive design is a pain in the arse
I have to make my layout work on every conceivable aspect ratio, because smartphone screens are various aspect ratios, and someone can resize their browser window to any size
FUCK
I have to make my layout work on every conceivable aspect ratio, because smartphone screens are various aspect ratios, and someone can resize their browser window to any size
FUCK
Anonymous 01/16/25(Thu)16:06:52 No.103922140
>>103922073
c'mon son, it's not that hard
c'mon son, it's not that hard
Anonymous 01/16/25(Thu)16:09:53 No.103922169
>>103922073
ust pop "this site best viewed at 800x600" in thhe footer and tell people to suck it
ust pop "this site best viewed at 800x600" in thhe footer and tell people to suck it
Anonymous 01/16/25(Thu)16:13:32 No.103922208
I'm not going to lie i'm having chat gpt generate me my html with tailwindcss for styling
Anonymous 01/16/25(Thu)16:21:47 No.103922284
>>103922140
>>103922169
I guess it's more difficult because I'm trying to make a web app where the content isn't vertically scrollable. Normally on a web page the content is vertically scrollable, which means the aspect ratio doesn't matter so much. The content just goes off the screen and you scroll in order to see it. Oh well.
>>103922169
I guess it's more difficult because I'm trying to make a web app where the content isn't vertically scrollable. Normally on a web page the content is vertically scrollable, which means the aspect ratio doesn't matter so much. The content just goes off the screen and you scroll in order to see it. Oh well.
Anonymous 01/16/25(Thu)16:22:57 No.103922296
>>103922284
yes that is definitely a challenge
yes that is definitely a challenge
Anonymous 01/16/25(Thu)17:15:43 No.103922776
I want to learn web dev so badly but I feel so fucking lazy and energetically/emotionally broken to do anything sometimes. Is developing a habit better than just being motivated? How did you all just drag your ass to do this?
Rare case of not being dumb. Smart but just a fucking lazy drama queen. I did start learning a bit during the beginning of September (basic html and css) but things happened and I got distracted with life. Totally forgot what I learned
Rare case of not being dumb. Smart but just a fucking lazy drama queen. I did start learning a bit during the beginning of September (basic html and css) but things happened and I got distracted with life. Totally forgot what I learned
Anonymous 01/16/25(Thu)18:20:32 No.103923440
How do I code a pixel tag onto my website? Also do I need to ask user permission in order to load the pixel tag?
Anonymous 01/16/25(Thu)18:30:09 No.103923525
>>103919726
Scrolling through the 'log and I see this logo for yet another webshit basedtech that will be dead before the end of the quarter, and it's named after a Japanese word so some 40+ BMI weeb is behind it all.
Would you all just kill yourselves already? Captcha: D00
Scrolling through the 'log and I see this logo for yet another webshit basedtech that will be dead before the end of the quarter, and it's named after a Japanese word so some 40+ BMI weeb is behind it all.
Would you all just kill yourselves already? Captcha: D00
Anonymous 01/16/25(Thu)18:43:54 No.103923632
>>103922776
You need a cool project that motivates you. With that any learning you do in the process becomes an absolute breeze.
As long as you get over that initial step where you have no fucking clue how to do anything, then it's much smoother sailing afterwards.
Really, as soon as you know enough JS to listen to a button press, fetch some data and render some result in HTML to the user, then things start to get interesting.
You need a cool project that motivates you. With that any learning you do in the process becomes an absolute breeze.
As long as you get over that initial step where you have no fucking clue how to do anything, then it's much smoother sailing afterwards.
Really, as soon as you know enough JS to listen to a button press, fetch some data and render some result in HTML to the user, then things start to get interesting.
Anonymous 01/16/25(Thu)20:17:55 No.103924450
made script to detect troon flag in username on twitter and allows you to auto mute, will release free soon for any js wizards who want ti improve it.
Anonymous 01/16/25(Thu)20:31:20 No.103924561
>>103924450
love it
love it
Anonymous 01/16/25(Thu)20:34:48 No.103924580
>>103919948
This desu
This desu
Anonymous 01/16/25(Thu)20:46:20 No.103924674
>>103919948
i also like it and have used it when i was a full-stack dev years ago, but can't get past the fact that it's lacking some extra features react ecosystem has, like an advanced server-side framework like nextjs
i also like it and have used it when i was a full-stack dev years ago, but can't get past the fact that it's lacking some extra features react ecosystem has, like an advanced server-side framework like nextjs
Anonymous 01/16/25(Thu)20:48:50 No.103924698
>>103924674
same anon, forgot to mention that it also is lacking a stable mobile framework, unlike react native which is heavily supported like everything react-related, which is pretty unfortunate and feels like there's no place for frameworks like vue and svelte, as they're constantly in the shadows of happenings on the frontend scene
same anon, forgot to mention that it also is lacking a stable mobile framework, unlike react native which is heavily supported like everything react-related, which is pretty unfortunate and feels like there's no place for frameworks like vue and svelte, as they're constantly in the shadows of happenings on the frontend scene
Anonymous 01/16/25(Thu)20:49:57 No.103924708
>>103924674
But Vue has Nuxt?
https://nuxt.com/
>>103924698
>forgot to mention that it also is lacking a stable mobile framework
this is true, but it seems that React Native isn't really like among developers, so I guess ultimately there is something else that is needed to fill that space
But Vue has Nuxt?
https://nuxt.com/
>>103924698
>forgot to mention that it also is lacking a stable mobile framework
this is true, but it seems that React Native isn't really like among developers, so I guess ultimately there is something else that is needed to fill that space
Anonymous 01/16/25(Thu)20:54:25 No.103924753
>>103924708
>But Vue has Nuxt?
>https://nuxt.com/
you're right and yeah i am aware, but nuxt just feels like it doesn't have as much support as nextjs has, and nextjs always is always leading with the newest technology with which nuxtjs is just lagging behind. it feels also more complicated than nextjs, but this may be just subjective thing
>But Vue has Nuxt?
>https://nuxt.com/
you're right and yeah i am aware, but nuxt just feels like it doesn't have as much support as nextjs has, and nextjs always is always leading with the newest technology with which nuxtjs is just lagging behind. it feels also more complicated than nextjs, but this may be just subjective thing
Anonymous 01/16/25(Thu)21:01:25 No.103924828
>>103924753
well, regarding support and ecosystem size that's probably true with anything when comparing React and Vue.
Still I have never felt like I was missing anything with Vue, but no doubt React remains the more popular choice with its dominant position.
well, regarding support and ecosystem size that's probably true with anything when comparing React and Vue.
Still I have never felt like I was missing anything with Vue, but no doubt React remains the more popular choice with its dominant position.
Anonymous 01/16/25(Thu)21:04:25 No.103924861
>>103924828
yeah i retract my statement about vue lacking advanced server-side framework, i haven't given enough thought about nuxt as i remember it from the age when it was an infant project
yeah i retract my statement about vue lacking advanced server-side framework, i haven't given enough thought about nuxt as i remember it from the age when it was an infant project
Anonymous 01/16/25(Thu)21:26:03 No.103925065
>>103924698
>>103924708
I absolutely think vue should have a good mobile framework. I'm not going to be subjected to the humiliation ritual of writing mobile apps naively. This should be a solved problem in 2k25, and it's insane to see there's no solution and no interest either.
React native may not be liked but at least it's maintained and it works (as far I know anyway because I'm not going to use R*act either).
>>103924708
I absolutely think vue should have a good mobile framework. I'm not going to be subjected to the humiliation ritual of writing mobile apps naively. This should be a solved problem in 2k25, and it's insane to see there's no solution and no interest either.
React native may not be liked but at least it's maintained and it works (as far I know anyway because I'm not going to use R*act either).
Anonymous 01/16/25(Thu)22:20:17 No.103925436
>>103924450
should expand it so it's not just trans flags but anything: trans flag, palestine flag, hammer and sickle symbol
should expand it so it's not just trans flags but anything: trans flag, palestine flag, hammer and sickle symbol
Anonymous 01/16/25(Thu)23:43:23 No.103925933
>>103925436
alright, pretend I'm a moron trying to write a typescript web app hosted on an html page on my VPS that my payment system will redirect people to.
My local dev env. for this is calling npx tsx src/scriptfile.ts but then I don't have a server hosting the html page for it to interact with.
How do I fix that? Any old web server work? Is there a way to use express via console to test this with?
alright, pretend I'm a moron trying to write a typescript web app hosted on an html page on my VPS that my payment system will redirect people to.
My local dev env. for this is calling npx tsx src/scriptfile.ts but then I don't have a server hosting the html page for it to interact with.
How do I fix that? Any old web server work? Is there a way to use express via console to test this with?
Anonymous 01/17/25(Fri)03:27:55 No.103927357
>>103919726
Is Django a good choose? It seems to be more robust and functional than other spartan frameworks like flask, express, hono, koa, or golang libraries.
Is Django a good choose? It seems to be more robust and functional than other spartan frameworks like flask, express, hono, koa, or golang libraries.
Anonymous 01/17/25(Fri)03:39:37 No.103927400
Can one of you please give me a job
Thanks
Thanks
Anonymous 01/17/25(Fri)03:52:04 No.103927463
>>103919606
I don't see it, if you want ur client to set up links of unspecified width find a beter solution than in the navbar. Like some kind of link list. just my opinion though
I don't see it, if you want ur client to set up links of unspecified width find a beter solution than in the navbar. Like some kind of link list. just my opinion though
Anonymous 01/17/25(Fri)06:09:59 No.103928304
>send emails with phpmailer
>everything works when i test it with various email servers, even gmail
>for some reason, any outlooks server just strips the email content, leaving multipart headers inside
has ANYONE had something like this happen to them before? any other email address/server works normally, the email arrives normally, but any outlooks-based email address just mangles the fucking email and every attachment
>everything works when i test it with various email servers, even gmail
>for some reason, any outlooks server just strips the email content, leaving multipart headers inside
has ANYONE had something like this happen to them before? any other email address/server works normally, the email arrives normally, but any outlooks-based email address just mangles the fucking email and every attachment
Anonymous 01/17/25(Fri)06:57:31 No.103928584
>>103928304
nope, and I recently did the same exact thing two months ago for a mailer
fwiw here is my setup config
nope, and I recently did the same exact thing two months ago for a mailer
fwiw here is my setup config
Anonymous 01/17/25(Fri)07:06:06 No.103928640
>>103927400
Tech stack, experience & timezone?
Tech stack, experience & timezone?
Anonymous 01/17/25(Fri)07:07:12 No.103928645
Anonymous 01/17/25(Fri)07:11:20 No.103928673
>>103928640
>Tech stack
Mainly JS/TS + React recently but willing to improve in other languages too
>experience
Over a year employed as web dev, more experience in my own time
>timezone?
UK
Maybe I just need to apply for more stuff near me and hope I get something
>Tech stack
Mainly JS/TS + React recently but willing to improve in other languages too
>experience
Over a year employed as web dev, more experience in my own time
>timezone?
UK
Maybe I just need to apply for more stuff near me and hope I get something
Anonymous 01/17/25(Fri)07:19:57 No.103928717
>>103928645
long story, but a few reasons:
- the job queue receives raw HTML from another service so using laravel email templating is useless
- there's custom headers that need to be set which were actually almost impossible without hacks -- specifically Symphony validates Return-Path as a PathHeader class object but it gets serialized down to a string
- I needed to configure SMTP keepalive because I'm sending out bulk mail but there's no real way to do that
long story, but a few reasons:
- the job queue receives raw HTML from another service so using laravel email templating is useless
- there's custom headers that need to be set which were actually almost impossible without hacks -- specifically Symphony validates Return-Path as a PathHeader class object but it gets serialized down to a string
- I needed to configure SMTP keepalive because I'm sending out bulk mail but there's no real way to do that
Anonymous 01/17/25(Fri)08:35:08 No.103929156
>>103928717
nta, what service/solution did u use for the email server?
nta, what service/solution did u use for the email server?
Anonymous 01/17/25(Fri)09:11:24 No.103929459
>>103928717
Ah cool, makes sense. Thanks.
Ah cool, makes sense. Thanks.
Anonymous 01/17/25(Fri)11:29:40 No.103930793
>page 9
Anonymous 01/17/25(Fri)12:01:46 No.103931083
Is encrypting data at rest pointless? If someone hacks my VPS and gains access to the database, it's very probable that he can also see the encryption key in my settings/env file, right? Besides the obvious things like denying public mysql connections and sanitizing all input to prevent XSS, what extra steps must I take to ensure security of important personal data like banking info?
Anonymous 01/17/25(Fri)12:12:15 No.103931189
>>103925933
you all pretended too hard
you all pretended too hard
Anonymous 01/17/25(Fri)12:55:36 No.103931602
>>103931083
Yeah I wondered that in the past. Hashing is obviously standard for passwords. For other stuff, I dunno.
Yeah I wondered that in the past. Hashing is obviously standard for passwords. For other stuff, I dunno.
Anonymous 01/17/25(Fri)13:17:33 No.103931838
For me, it's the non rune svelte
Anonymous 01/17/25(Fri)14:38:10 No.103932805
>>103931838
for me it's full nazi'd sveltekit
for me it's full nazi'd sveltekit
Anonymous 01/17/25(Fri)15:26:28 No.103933252
>>103931083
I'm no expert, but it could happen that your database server is compromised and the attackers can query it, but they don't actually have access to your VPS. So even if they dump your tables, they can't access the most sensitive pieces of information like baking details, medical records, etc.
I'm no expert, but it could happen that your database server is compromised and the attackers can query it, but they don't actually have access to your VPS. So even if they dump your tables, they can't access the most sensitive pieces of information like baking details, medical records, etc.
Anonymous 01/17/25(Fri)15:59:24 No.103933639
>>103933252
>the most sensitive pieces of information like baking details
Ain't nobody getting the recipe to my grandmother's sponge cake
>the most sensitive pieces of information like baking details
Ain't nobody getting the recipe to my grandmother's sponge cake
Anonymous 01/17/25(Fri)16:48:24 No.103934115
Anonymous 01/17/25(Fri)17:47:35 No.103934751
>>103919726
>have 2 years of work experience
>still feel like a cuck
>try to learn Vue but docs are boring as fuck
>have many project ideas but I'm a pussy-ass bitch
>have the itch to watch yet another Udemy course
How the fuck do I get out of tutorial hell?
>have 2 years of work experience
>still feel like a cuck
>try to learn Vue but docs are boring as fuck
>have many project ideas but I'm a pussy-ass bitch
>have the itch to watch yet another Udemy course
How the fuck do I get out of tutorial hell?
Anonymous 01/17/25(Fri)17:52:22 No.103934805
>>103934115
I was just joking about the misspelling of "banking" as "baking"
I was just joking about the misspelling of "banking" as "baking"
Anonymous 01/17/25(Fri)17:56:35 No.103934858
>>103934751
well what I do is personal projects I put on github, but most recently I've been learning webdev and have a couple VPS rentals, like 3 domains and a few shared hosting websites while I learn to use JS/TS to build something I'm going to try to sell as a service.
well what I do is personal projects I put on github, but most recently I've been learning webdev and have a couple VPS rentals, like 3 domains and a few shared hosting websites while I learn to use JS/TS to build something I'm going to try to sell as a service.
Anonymous 01/17/25(Fri)19:42:30 No.103936112
Apache2httpd has every feature and is fastest at everything.
/thread
/general
/webdev
/technology
/thread
/general
/webdev
/technology
Anonymous 01/17/25(Fri)21:03:22 No.103937000
>>103936112
is this a bot or AI?
is this a bot or AI?
Anonymous 01/17/25(Fri)21:15:21 No.103937134
>>103937000
No, I'm just the only dev here with more than 10 years experience
No, I'm just the only dev here with more than 10 years experience
Anonymous 01/17/25(Fri)21:35:40 No.103937372
why is react router such hot garbage now?
if I wanted ssr I'd use next.js. Why do I have to use "loaders" to navigate pages when I could have made the exact same code with
If I wanted to do some javascript splitting, we had a tool for that. it's called "React.lazy"
why must everything be enshittified?
if I wanted ssr I'd use next.js. Why do I have to use "loaders" to navigate pages when I could have made the exact same code with
const history = useHistory();
history.push("/something");
If I wanted to do some javascript splitting, we had a tool for that. it's called "React.lazy"
why must everything be enshittified?
Anonymous 01/17/25(Fri)23:41:21 No.103938771
>>103936112
I thought nginx was faster for serving static content. For php fpm I suppose it doesn't matter.
I thought nginx was faster for serving static content. For php fpm I suppose it doesn't matter.
Anonymous 01/17/25(Fri)23:50:15 No.103938861
>>103937372
don't think the hook APIs for navigation changed. Loaders have nothing to do with this. Loaders are for loading async resources (think APIs, not components) prior to the component being rendered. You don't have to use it.
don't think the hook APIs for navigation changed. Loaders have nothing to do with this. Loaders are for loading async resources (think APIs, not components) prior to the component being rendered. You don't have to use it.
Anonymous 01/17/25(Fri)23:59:15 No.103938964
>>103938861
no they removed a lot of features found in v5
you don't get useHistory anymore, just useNavigate. And they shame you for using it in the docs
I swear, <Route /> had a lot more options in 5 as well and they removed that too
no they removed a lot of features found in v5
you don't get useHistory anymore, just useNavigate. And they shame you for using it in the docs
I swear, <Route /> had a lot more options in 5 as well and they removed that too
Anonymous 01/18/25(Sat)00:25:34 No.103939196
>>103938964
This is what I used in a v6 project, dunno if it'd work on v7. But it really isn't needed unless you're wanting to programatically navigate somewhere from outside your react component tree.
import { Router } from "react-router-dom";
import { createBrowserHistory, createMemoryHistory } from "history";
export const history =
typeof window === "undefined" || typeof document === "undefined" ? createMemoryHistory() : createBrowserHistory();
export function GlobalHistoryRouter({ children }: { children: ReactNode }) {
const [state, dispatch] = useReducer((_: any, action: any) => action, history);
useLayoutEffect(() => history.listen(dispatch), []);
return (
<Router
// @ts-ignore
action={state.action}
location={state.location}
navigator={history}
>
{children}
</Router>
);
}
This is what I used in a v6 project, dunno if it'd work on v7. But it really isn't needed unless you're wanting to programatically navigate somewhere from outside your react component tree.
Anonymous 01/18/25(Sat)03:28:38 No.103940462
>>103937134
nta, I was there in jQuery era, self learned jQuery and PHP at an internship and had a blast, one of my sites got featured in one of the big national newspapers websites, they literally took my CSS and used it on their site for one of my "clients" that published in there at least once that I noticed
nta, I was there in jQuery era, self learned jQuery and PHP at an internship and had a blast, one of my sites got featured in one of the big national newspapers websites, they literally took my CSS and used it on their site for one of my "clients" that published in there at least once that I noticed
Anonymous 01/18/25(Sat)03:28:59 No.103940463
>rider becomes free
>install it for giving a try
>update packages after upgrading dotnet version
>implicit dependancies aren't even updated
>only way is to install them explicitely
It's trash. I tried webstorm, rider and it's playskool shit for retards.
>install it for giving a try
>update packages after upgrading dotnet version
>implicit dependancies aren't even updated
>only way is to install them explicitely
It's trash. I tried webstorm, rider and it's playskool shit for retards.
Anonymous 01/18/25(Sat)03:35:54 No.103940512
>>103940463
what's better?
what's better?
Anonymous 01/18/25(Sat)03:38:11 No.103940522
>>103940512
Visual studio, or even visual studio code with the cuck# extension.
Visual studio, or even visual studio code with the cuck# extension.
Anonymous 01/18/25(Sat)05:04:20 No.103941011
Anyone have experience with the FullStackOpen tutorial? Only know the very basics of html/css/js/php/sql, java, and python. Is this guide good? I heard I basically need experience in programming since it doesn't hold your hand at all.
Anonymous 01/18/25(Sat)05:16:59 No.103941064
>>103941011
>Is this guide good?
never done it but heard good things about it. It is known for assuming you know the basics. Other than that it is known as something worthy out of the free courses range. Above Odin and freecodecamp, in quality and in demanding certain knowledge from the student.
>Is this guide good?
never done it but heard good things about it. It is known for assuming you know the basics. Other than that it is known as something worthy out of the free courses range. Above Odin and freecodecamp, in quality and in demanding certain knowledge from the student.
Anonymous 01/18/25(Sat)05:23:08 No.103941094
>>103941064
Thanks, just did the first one where i had to do npm install and github repo initialization where they don't expound on any of it. Good thing I already have experience with those 2. I do hope they go more in depth with the actual React, DB, and other stuff.
Thanks, just did the first one where i had to do npm install and github repo initialization where they don't expound on any of it. Good thing I already have experience with those 2. I do hope they go more in depth with the actual React, DB, and other stuff.
Anonymous 01/18/25(Sat)05:26:40 No.103941112
>>103941094
>I do hope they go more in depth with the actual React, DB, and other stuff.
yes, they're supposed to
>I do hope they go more in depth with the actual React, DB, and other stuff.
yes, they're supposed to
Anonymous 01/18/25(Sat)05:56:58 No.103941335
Sometimes my iPhone decides it doesn't want to find my dev machine using its IP address. Normally I can access the dev server using the local IP address of the dev machine just fine. But sometimes it just doesn't work. And pinging the dev machine from the iPhone doesn't work.
Fuck Apple, I don't know if this is their fault, but I will blame them anyway
Fuck Apple, I don't know if this is their fault, but I will blame them anyway
Anonymous 01/18/25(Sat)06:10:06 No.103941411
>>103931083
>If someone hacks my VPS and gains access to the database, it's very probable that he can also see the encryption key in my settings/env file, right?
Correct. Though passwords are usually hashed instead of encrypted, meaning it's one-way encryption and without the plaintext password to begin with the hash is useless to hackers. Especially if the salt (usually encryption key) is strong enough.
>what extra steps must I take to ensure security of important personal data
Read up on security best practices. Also don't forget often leaks and hacks happen because the person is the weak link, not the application. E.g. their email/password gets compromised, not due to a bug in your app.
>like banking info
There are strict laws in place when handling PII and bank sensitive info, at least in the EU (idk about muttland). Honestly you're better off consulting someone local who's specialized in these things.
>If someone hacks my VPS and gains access to the database, it's very probable that he can also see the encryption key in my settings/env file, right?
Correct. Though passwords are usually hashed instead of encrypted, meaning it's one-way encryption and without the plaintext password to begin with the hash is useless to hackers. Especially if the salt (usually encryption key) is strong enough.
>what extra steps must I take to ensure security of important personal data
Read up on security best practices. Also don't forget often leaks and hacks happen because the person is the weak link, not the application. E.g. their email/password gets compromised, not due to a bug in your app.
>like banking info
There are strict laws in place when handling PII and bank sensitive info, at least in the EU (idk about muttland). Honestly you're better off consulting someone local who's specialized in these things.
Anonymous 01/18/25(Sat)06:13:11 No.103941434
>>103940463
skill issue. rider works perfectly on all of my machines, and has been for years
skill issue. rider works perfectly on all of my machines, and has been for years
Anonymous 01/18/25(Sat)06:19:55 No.103941502
>>103941434
Yeah, a skill issue.
Yeah, a skill issue.
Anonymous 01/18/25(Sat)07:06:20 No.103941861
Antidepressants made me more productive with programming
Recently I added an antipsychotic based on my doctor's recommendation and now I think it's harder to be productive
For fuck's sake. Maybe I should just take the antidepressant.
Recently I added an antipsychotic based on my doctor's recommendation and now I think it's harder to be productive
For fuck's sake. Maybe I should just take the antidepressant.
Anonymous 01/18/25(Sat)07:10:13 No.103941892
>>103941861
if yo can, drop them, simple as, anti depressants are also retarded, just stop being depressed
if yo can, drop them, simple as, anti depressants are also retarded, just stop being depressed
Anonymous 01/18/25(Sat)07:20:13 No.103941967
>>103941892
>anti depressants are also retarded, just stop being depressed
I think the antidepressants make me more productive at programming. Ideally I wouldn't take them, believe me. But I'm pretty sure they boost my productivity. I can see it in my GitHub contributions. Far more green squares when I'm on the drug.
>anti depressants are also retarded, just stop being depressed
I think the antidepressants make me more productive at programming. Ideally I wouldn't take them, believe me. But I'm pretty sure they boost my productivity. I can see it in my GitHub contributions. Far more green squares when I'm on the drug.
Anonymous 01/18/25(Sat)08:14:48 No.103942384
css freaks i need help
how does one achieve perfectly responsive gap spacing?
i have a flex container with 3 child elements. Currently they have a fixed gap of 1em. I want the child elements to get closer together (decrease their gap) as the containers width decreases (trying to squeeze the elements together to avoid wrapping / overflowing for as long as possible).
I know i can use clamp and vw to kind of achieve this: clamp(0.1em 2vw, 1em).
This will set the gap based on 2% of the viewports width (with an upper & lower bound), the problem with that however is that it only goes to 0 once the windows viewports width starts to approach 0, which isn't actually what i want. I want it to go to 0 as the viewporets width approaches the width of the parent container.
Can i achieve this without javascript?
how does one achieve perfectly responsive gap spacing?
i have a flex container with 3 child elements. Currently they have a fixed gap of 1em. I want the child elements to get closer together (decrease their gap) as the containers width decreases (trying to squeeze the elements together to avoid wrapping / overflowing for as long as possible).
I know i can use clamp and vw to kind of achieve this: clamp(0.1em 2vw, 1em).
This will set the gap based on 2% of the viewports width (with an upper & lower bound), the problem with that however is that it only goes to 0 once the windows viewports width starts to approach 0, which isn't actually what i want. I want it to go to 0 as the viewporets width approaches the width of the parent container.
Can i achieve this without javascript?
Anonymous 01/18/25(Sat)08:15:20 No.103942389
>>103920052
if you have to ask this question, it doesnt matter.
if you have to ask this question, it doesnt matter.
Anonymous 01/18/25(Sat)08:16:26 No.103942395
Anonymous 01/18/25(Sat)08:16:48 No.103942396
>>103941967
well, seems like a pretty retarded thing to do to me, but whatever floats ur boat. drugs are not for free, they usually come with a toll to pay for your health
well, seems like a pretty retarded thing to do to me, but whatever floats ur boat. drugs are not for free, they usually come with a toll to pay for your health
Anonymous 01/18/25(Sat)08:27:25 No.103942461
>>103942396
Being unproductive and not moving forward in life is also a toll. Ideally I wouldn't take any meds but I need to be productive.
Being unproductive and not moving forward in life is also a toll. Ideally I wouldn't take any meds but I need to be productive.
Anonymous 01/18/25(Sat)08:31:18 No.103942491
>>103942461
>Ideally I wouldn't take any meds but I need to be productive.
at least we can agree on this, seek a way to not need them
>Ideally I wouldn't take any meds but I need to be productive.
at least we can agree on this, seek a way to not need them
Anonymous 01/18/25(Sat)08:35:48 No.103942515
>>103922776
exercise before sitting down to work on a project / study. when you get bored, instead of playing vidya or watching tv, go for a walk and come back.
exercise before sitting down to work on a project / study. when you get bored, instead of playing vidya or watching tv, go for a walk and come back.
Anonymous 01/18/25(Sat)08:50:04 No.103942594
>>103942491
I've tried other things, believe me. If these shitty drugs help then I'll take them. I know they're not ideal for health. But I very much need to be productive at this point in my life.
I've tried other things, believe me. If these shitty drugs help then I'll take them. I know they're not ideal for health. But I very much need to be productive at this point in my life.
Anonymous 01/18/25(Sat)08:58:40 No.103942627
>>103942594
good luck
good luck
Anonymous 01/18/25(Sat)09:00:56 No.103942650
What's the easiest way i, an embedded systems dev can make good looking webpages
Is it as simple as copying wordpress examples or searching around on the internet and copying random strangers projects?
I do know basic bootstrap but that's about it
Is it as simple as copying wordpress examples or searching around on the internet and copying random strangers projects?
I do know basic bootstrap but that's about it
Anonymous 01/18/25(Sat)09:03:39 No.103942671
>>103942650
search for
free css templates/themes
free tailwind templates/themes
free material design templates...
free bulma ...
search for
free css templates/themes
free tailwind templates/themes
free material design templates...
free bulma ...
Anonymous 01/18/25(Sat)09:07:34 No.103942702
>>103942671
Thanks a ton anon, this is the industry specific knowledge that outsiders like me wouldn't know
But now thanks to your post, i can whip together basic pages for myself
Thanks a ton anon, this is the industry specific knowledge that outsiders like me wouldn't know
But now thanks to your post, i can whip together basic pages for myself
Anonymous 01/18/25(Sat)09:28:48 No.103942883
>>103941411
>Read up on security best practices
The biggest takeaways seem to be
>don't let the retarded website admins/managers fall for phishing scams
>make the user input his card number/routing number over and over instead of saving it (annoying for the user and defeats the purpose of my app)
>if you have to save it, store encryption keys and certificates on a second server/cloud, but I don't get how that makes any difference when you have the credentials to the AWS or whatever loaded into the application environment in the same way
And yeah I'm from europe so I'm expecting to get my ass thoroughly sued if IBANs/home addresses/bank account numbers get breached.
>Read up on security best practices
The biggest takeaways seem to be
>don't let the retarded website admins/managers fall for phishing scams
>make the user input his card number/routing number over and over instead of saving it (annoying for the user and defeats the purpose of my app)
>if you have to save it, store encryption keys and certificates on a second server/cloud, but I don't get how that makes any difference when you have the credentials to the AWS or whatever loaded into the application environment in the same way
And yeah I'm from europe so I'm expecting to get my ass thoroughly sued if IBANs/home addresses/bank account numbers get breached.
Anonymous 01/18/25(Sat)09:54:01 No.103943085
Anonymous 01/18/25(Sat)10:30:27 No.103943414
Maybe Go is too verbose for my back-end and I should use Node instead
Node is so damn easy to get things up and running, especially since there are mature packages like Prisma (ORM) and Zod (checking user input) and Passport (user auth)
I like Go but it just takes a lot of time to implement a feature
Node is so damn easy to get things up and running, especially since there are mature packages like Prisma (ORM) and Zod (checking user input) and Passport (user auth)
I like Go but it just takes a lot of time to implement a feature
Anonymous 01/18/25(Sat)11:55:26 No.103944286
I was full stack developer and now mainly doing back end, but on last PR my manager said he wants me to become software architect, but I'm not sure they even have road map for it and what I have to learn in order to become one. I do web apps and have some android experience, is there any good roadmap on what I need to know to become this role or what I'm getting into? I know it's high level design and consulting with clients and presenting them options and solutions for their needs, but I have no idea what I'm in for.
Anonymous 01/18/25(Sat)12:02:16 No.103944352
>>103943414
>I like Go but it just takes a lot of time to implement a feature
in what way specifically?
>I like Go but it just takes a lot of time to implement a feature
in what way specifically?
Anonymous 01/18/25(Sat)12:22:51 No.103944610
>>103942650
chatgpt "create <thing> html using bootstrap5" example: create modern material design login form, centered vertically, green on dark color
chatgpt "create <thing> html using bootstrap5" example: create modern material design login form, centered vertically, green on dark color
Anonymous 01/18/25(Sat)12:26:31 No.103944651
>>103942384
hm not sure if I understand it fully, but maybe you could replace the gap with another div with an appropriate flex/grow/shrink style? So it only uses the extra space when available.
Or even a justify rule with "space-evenly" ?
hm not sure if I understand it fully, but maybe you could replace the gap with another div with an appropriate flex/grow/shrink style? So it only uses the extra space when available.
Or even a justify rule with "space-evenly" ?
Anonymous 01/18/25(Sat)12:27:32 No.103944664
Anonymous 01/18/25(Sat)12:33:56 No.103944738
>>103944352
Everything is quicker and easier with Node. With Go I'm doing things manually.
Maybe I should try Gin and GORM but they both have Chinese packages as dependencies (e.g. from ByteDance) and I dunno if I trust China to not hack me, to be honest
Am I too paranoid? Probably.
Everything is quicker and easier with Node. With Go I'm doing things manually.
Maybe I should try Gin and GORM but they both have Chinese packages as dependencies (e.g. from ByteDance) and I dunno if I trust China to not hack me, to be honest
Am I too paranoid? Probably.
Anonymous 01/18/25(Sat)12:41:01 No.103944813
>>103944352
>>103944738
Also if you want a specific example, error handling is notorious in Go
In JS/TS you can wrap a bunch of code in try/catch. But in Go you need an if err != nil {} block for every possible error.
But there's also what I mentioned, the fact that Node has a seemingly more mature ecosystem, with reliable packages for common tasks, so you don't have to build everything yourself.
>>103944738
Also if you want a specific example, error handling is notorious in Go
In JS/TS you can wrap a bunch of code in try/catch. But in Go you need an if err != nil {} block for every possible error.
But there's also what I mentioned, the fact that Node has a seemingly more mature ecosystem, with reliable packages for common tasks, so you don't have to build everything yourself.
Anonymous 01/18/25(Sat)14:12:50 No.103945859
>>103942883
>don't let the retarded website admins/managers fall for phishing scams
This is the #1 cause, by the way. Also social engineering, retards still use their pet's name as (part of) their password.
>don't let the retarded website admins/managers fall for phishing scams
This is the #1 cause, by the way. Also social engineering, retards still use their pet's name as (part of) their password.
Anonymous 01/18/25(Sat)15:18:36 No.103946558
Where can i find some free cloud database options, with atleast 10gb of allocated space? Has to be SQL, so MySQL or Postges etc
Anonymous 01/18/25(Sat)15:29:27 No.103946638
>>103945859
unsanitised input sent to DB must be high up there as well
unsanitised input sent to DB must be high up there as well
Anonymous 01/18/25(Sat)16:05:42 No.103947002
>>103946558
Azure offers a 32GB free SQL DB
Azure offers a 32GB free SQL DB
Anonymous 01/18/25(Sat)16:24:10 No.103947182
Anonymous 01/18/25(Sat)21:49:59 No.103950340
>>103947182
You need to let me rape you
You need to let me rape you
Anonymous 01/18/25(Sat)22:59:25 No.103950931
gn
Anonymous 01/19/25(Sun)02:04:11 No.103952403
Good morning lads, I think I will do some web devving today
Anonymous 01/19/25(Sun)02:14:33 No.103952467
Why the fuck is my latency to my server 70ms when I live right next door to it (nyc droplet and I live in nyc)
the actual endpoint only takes 3ms to finish the request. I am ashamed, it should render basically next frame
express.js with nginx proxy on a 1core 1gb ram machine. Do I really need to pay for 2 cores?
the actual endpoint only takes 3ms to finish the request. I am ashamed, it should render basically next frame
express.js with nginx proxy on a 1core 1gb ram machine. Do I really need to pay for 2 cores?
Anonymous 01/19/25(Sun)03:13:55 No.103952779
>>103952467
there is probably a massive amount of infrastructure between the internet and the droplet
there is probably a massive amount of infrastructure between the internet and the droplet
Anonymous 01/19/25(Sun)05:18:41 No.103953511
hello all i am retarded please help
i want to import a module like this:
but i can't figure out how to do it from a non-module
i want to be able to access all of the functions in that module from my index.js file like Y.example(), but can't figure out how to get Y in the scope of it
i'm not using node or anything
thanks friends
i want to import a module like this:
import * as Y from 'https://unpkg.com/yjs?module';
but i can't figure out how to do it from a non-module
i want to be able to access all of the functions in that module from my index.js file like Y.example(), but can't figure out how to get Y in the scope of it
i'm not using node or anything
thanks friends
Anonymous 01/19/25(Sun)05:58:27 No.103953732
>>103953511
You have two options:
1 Find the umd or iife script if the package you're using has it as a build target. The umd script would be its own script tag with the source pointing to the cdn. You'd add an adjacent script tag to use it in your application. Usually it populates a global variable for you to use.
2. Continue using ESM, but you'll need to write up a separate script tag with type of "importmap" pointing to all the files you need
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap
You have two options:
1 Find the umd or iife script if the package you're using has it as a build target. The umd script would be its own script tag with the source pointing to the cdn. You'd add an adjacent script tag to use it in your application. Usually it populates a global variable for you to use.
2. Continue using ESM, but you'll need to write up a separate script tag with type of "importmap" pointing to all the files you need
https://developer.mozilla.org/en-US
Anonymous 01/19/25(Sun)06:06:13 No.103953779
I've started a project which is definitely too ambitious and it's unlikely I'll be able to make an MVP by myself unless I pour in hours and hours
Fuck's sake
Fuck's sake
Anonymous 01/19/25(Sun)07:17:47 No.103954267
captcha break
Anonymous 01/19/25(Sun)09:13:50 No.103954998
>page 8
Anonymous 01/19/25(Sun)09:19:18 No.103955040
Anonymous 01/19/25(Sun)09:47:35 No.103955262
Anonymous 01/19/25(Sun)09:52:48 No.103955302
>>103955262
good day to you too
good day to you too
Anonymous 01/19/25(Sun)10:01:25 No.103955382
>>103919726
Needs tips on server-side events.
Are SSEs the alternative to client-side polling?
Is it really okay to keep a list of active requests + cancellation tokens so I send data to them when an event happens? This feels extremely off.
Do SSEs require CORs or is it some funkywonky localhost error?
ASP Core btw
>>103955262
What do you use for highlighting a search term i.e. adding a 'highlight' class for a substring?
Needs tips on server-side events.
Are SSEs the alternative to client-side polling?
Is it really okay to keep a list of active requests + cancellation tokens so I send data to them when an event happens? This feels extremely off.
Do SSEs require CORs or is it some funkywonky localhost error?
ASP Core btw
>>103955262
What do you use for highlighting a search term i.e. adding a 'highlight' class for a substring?
Anonymous 01/19/25(Sun)10:16:53 No.103955522
>>103955382
>What do you use for highlighting a search term i.e. adding a 'highlight' class for a substring?
nta, but you're aware that's super easy in vanilla js as well as any framework?
you have the term, located by css selector/id, you add a class to it, or straight up add a class to the span/div whatever and have it highlighted via css
>What do you use for highlighting a search term i.e. adding a 'highlight' class for a substring?
nta, but you're aware that's super easy in vanilla js as well as any framework?
you have the term, located by css selector/id, you add a class to it, or straight up add a class to the span/div whatever and have it highlighted via css
Anonymous 01/19/25(Sun)10:33:56 No.103955726
>>103955522
>user searches for `strong`/`div`/`span`/etc.
>user searches for `some text`, which doesn't match `some <span [..]>text</span>`
>user search matches text, but that block of text is hidden.
>user searches for an emoji or some shitty unicode symbol
It didn't take me long to think of these. Now imagine what the edge cases or bigger issues look like.
I am not going to re-implement the wheel. Not for a task like this bro.
>located by css selector/id
>you add a class to it
Problem solved, I guess?
>user searches for `strong`/`div`/`span`/etc.
>user searches for `some text`, which doesn't match `some <span [..]>text</span>`
>user search matches text, but that block of text is hidden.
>user searches for an emoji or some shitty unicode symbol
It didn't take me long to think of these. Now imagine what the edge cases or bigger issues look like.
I am not going to re-implement the wheel. Not for a task like this bro.
>located by css selector/id
>you add a class to it
Problem solved, I guess?
Anonymous 01/19/25(Sun)11:01:22 No.103955942
how do i move the firefox devtools console into a module's scope?
Anonymous 01/19/25(Sun)11:35:38 No.103956254
css fags, is it normal to have flexboxes upon flexboxes even in a simple website?
i feel like its the only soluiton for centering shit.
i feel like its the only soluiton for centering shit.
Anonymous 01/19/25(Sun)11:41:33 No.103956309
>>103956254
if you don't want to make everything a grid, yeah
if you don't want to make everything a grid, yeah
Anonymous 01/19/25(Sun)11:41:51 No.103956314
>https://github.com/microsoft/vscode/issues/143919
Thanks, microsoft. You guys don't actually switch back and forth between the editor and another web browser, right?
Please tell me there is a fix.
Thanks, microsoft. You guys don't actually switch back and forth between the editor and another web browser, right?
Please tell me there is a fix.
Anonymous 01/19/25(Sun)13:01:43 No.103957168
does anyone else get that bad feeling in the pit of their stomach when you realize that the absolute minimum viable solution to a problem will still require a ton of tedious awful work? makes me want to kms
Anonymous 01/19/25(Sun)13:07:17 No.103957244
>>103956314
VSCode has a browser?
VSCode has a browser?
Anonymous 01/19/25(Sun)13:09:21 No.103957261
Anonymous 01/19/25(Sun)14:48:04 No.103958476
Setting up proper logging in a relatively complicated project is such a pain in the ass. Why does literally everything have to be hard as soon as even moderate complexity is introduced
Anonymous 01/19/25(Sun)16:07:06 No.103959365
>>103958476
???
let me guess you need more?
???
console.log("hello")
$ bun run src/app.ts | tee log
# /etc/logrotate.d/myapp
/path/to/my/log {
daily
rotate 14
compress
missingok
}
let me guess you need more?
Anonymous 01/19/25(Sun)16:17:09 No.103959490
>>103925065
i used ionic along time ago and its so simple no need for anything else.
i used ionic along time ago and its so simple no need for anything else.
Anonymous 01/19/25(Sun)16:18:23 No.103959508
>>103922073
just use bootstrap columns and dont worry about it.
just use bootstrap columns and dont worry about it.
Anonymous 01/19/25(Sun)16:22:37 No.103959554
>>103957168
yes, but i also get that feeling about having to go the grocery store, and am also retarded.
yes, but i also get that feeling about having to go the grocery store, and am also retarded.
Anonymous 01/19/25(Sun)16:23:17 No.103959564
>how it feels to just hire a freelancer to solve the stupid frameworks / dev env. issue you've been banging your head against for a few days because you know fuck all about web-dev despite being a software engineer that uses C++ and C# daily to make/fix/improve games.
Anonymous 01/19/25(Sun)16:24:21 No.103959578
>>103959564
could have asked claude
could have asked claude
Anonymous 01/19/25(Sun)16:24:34 No.103959586
>>103919726
luv my ports and adapters backend in golang
luv my ports and adapters backend in golang
Anonymous 01/19/25(Sun)17:30:16 No.103960266
>>103959578
I did ask the brave AI, it's only so useful if you already know what you're doing somewhat in this case.
I did ask the brave AI, it's only so useful if you already know what you're doing somewhat in this case.
Anonymous 01/19/25(Sun)17:42:29 No.103960409
>>103959578
>>103960266
several times in different ways with different strategies actually
if you think a good dev's skills compare to a shitty AI then I think you're mistaken.
>>103960266
several times in different ways with different strategies actually
if you think a good dev's skills compare to a shitty AI then I think you're mistaken.
Anonymous 01/19/25(Sun)17:44:13 No.103960425
damn...css really isn't so bad once you actually sit down and learn the display modes lmao
Anonymous 01/19/25(Sun)17:54:43 No.103960526
>>103959564
Hire me please. I need a job. I have experience with JS frameworks.
Hire me please. I need a job. I have experience with JS frameworks.
Anonymous 01/19/25(Sun)17:58:38 No.103960566
>>103960526
get on upwork and then scroll for simple jobs that pay $40+ for like an hour of work (zoom call) to answer a simple question.
Personally I've been overpaying quite a bit, but they work really hard. The fucking American ones my god, they know what they're doing and will fill your ear for a solid hour with shit to remember.
So... consultations I guess. I did upwork back in the day for a bit, making small C# apps for people to do mundane things like search through a billion emails with some custom criteria, etc.
get on upwork and then scroll for simple jobs that pay $40+ for like an hour of work (zoom call) to answer a simple question.
Personally I've been overpaying quite a bit, but they work really hard. The fucking American ones my god, they know what they're doing and will fill your ear for a solid hour with shit to remember.
So... consultations I guess. I did upwork back in the day for a bit, making small C# apps for people to do mundane things like search through a billion emails with some custom criteria, etc.
Anonymous 01/19/25(Sun)18:00:39 No.103960581
>get on upwork
this stupid nigga lol good look breaking through that saar saturated shithole
this stupid nigga lol good look breaking through that saar saturated shithole
Anonymous 01/19/25(Sun)18:02:40 No.103960607
>>103960566
>simple jobs that pay $40+ for like an hour of work (zoom call) to answer a simple question
do you have an example?
I really can't imagine someone paying me $40 to talk with him about webdev for an hour.
Sounds almost too good to be true
>simple jobs that pay $40+ for like an hour of work (zoom call) to answer a simple question
do you have an example?
I really can't imagine someone paying me $40 to talk with him about webdev for an hour.
Sounds almost too good to be true
Anonymous 01/19/25(Sun)18:12:15 No.103960714
>>103960607
I literally do that. Literally anyone that wants to hire someone knowledgeable and advance the project they're working on.
When you were learning web-dev or some other skill to actually get a project done, how many times were you stuck on something took you a few days (after work days + maybe weekend days which still aren't 8 hours)?
I literally do that. Literally anyone that wants to hire someone knowledgeable and advance the project they're working on.
When you were learning web-dev or some other skill to actually get a project done, how many times were you stuck on something took you a few days (after work days + maybe weekend days which still aren't 8 hours)?
Anonymous 01/19/25(Sun)18:34:24 No.103960936
>>103952779
Just found out that cloudflare adds like 50ms latency. Still 20ms latency is pretty big. If I was hosting a tf2 server it'll be <5ms latency. I'll chop that up to nginx+express competing for resources though
Just found out that cloudflare adds like 50ms latency. Still 20ms latency is pretty big. If I was hosting a tf2 server it'll be <5ms latency. I'll chop that up to nginx+express competing for resources though
Anonymous 01/19/25(Sun)18:42:13 No.103961014
>>103919726
Hehe homo that's gay
Hehe homo that's gay
Anonymous 01/19/25(Sun)18:48:08 No.103961067
>>103960714
guess I'll have to try this.
Would you suggest just going for some really low hanging fruits to get your foot in the door on sites like that?
Right now I could theoretically even get by without any significant payments, if it would mean that I can set up myself for the long run.
guess I'll have to try this.
Would you suggest just going for some really low hanging fruits to get your foot in the door on sites like that?
Right now I could theoretically even get by without any significant payments, if it would mean that I can set up myself for the long run.
Anonymous 01/19/25(Sun)19:42:48 No.103961531
>>103961067
Why not? Give it a go. You don't have much to lose.
Why not? Give it a go. You don't have much to lose.
Anonymous 01/19/25(Sun)19:48:11 No.103961579
>>103959490
I was reading about Ionic/Capacitor, and I came to the conclusion it is literally unusable for fully offline applications that require persistent and reliable storage that isn't going to get randomly cleared. I also know there's a free plugin for SQLite which doesn't work properly and hasn't been maintained in months to years (which is generally a running theme in this ecosystem), and there's another SQLite plugin which is proprietary and paid.
Please do tell me more about it if I misunderstood something.
I was reading about Ionic/Capacitor, and I came to the conclusion it is literally unusable for fully offline applications that require persistent and reliable storage that isn't going to get randomly cleared. I also know there's a free plugin for SQLite which doesn't work properly and hasn't been maintained in months to years (which is generally a running theme in this ecosystem), and there's another SQLite plugin which is proprietary and paid.
Please do tell me more about it if I misunderstood something.
Anonymous 01/19/25(Sun)21:13:57 No.103962408
>>103960581
As a person hiring people, I almost always use the "US only" option, but it still has some foreigners in the results for some reason. You can also filter by time zone.
As a person hiring people, I almost always use the "US only" option, but it still has some foreigners in the results for some reason. You can also filter by time zone.
Anonymous 01/19/25(Sun)22:42:00 No.103963149
Which oauth2 client lib with auto token refresh do you guys use in react?
Anonymous 01/20/25(Mon)01:24:01 No.103964324
Are books for web development worth it? Found one for Django that's from a well respected guy in Django.
Anonymous 01/20/25(Mon)01:41:53 No.103964466
>>103964324
books for frameworks are good if its recent, just look over the glossary.
books for frameworks are good if its recent, just look over the glossary.
Anonymous 01/20/25(Mon)03:44:09 No.103965283
so are we all getting replaced by ai?
Anonymous 01/20/25(Mon)04:00:32 No.103965388
what about freecodecamp.com
Anonymous 01/20/25(Mon)06:06:09 No.103966179
>page 8
Anonymous 01/20/25(Mon)06:15:13 No.103966232
Anonymous 01/20/25(Mon)06:15:53 No.103966235
>using trpc
>22 routers
>tsserver performance absolutely in the shitter
pain
>22 routers
>tsserver performance absolutely in the shitter
pain
Anonymous 01/20/25(Mon)07:36:46 No.103966816
>we've got you surrounded, come get your media queries
>I HATE RESPONSIVE DESIGN
>I HATE RESPONSIVE DESIGN
Anonymous 01/20/25(Mon)09:10:42 No.103967650
In what scenarios would it make more sense to use Supabase/Firebase to handle user logins/authentication over doing the authentication using OIDC (probably with some module) in my Go web service?
All I want is for them to use the service and pay me a little subscription to cover running costs. The less data I can store about them the better. Just an email to authenticate who they are and if they have paid and when they paid would be enough.
All I want is for them to use the service and pay me a little subscription to cover running costs. The less data I can store about them the better. Just an email to authenticate who they are and if they have paid and when they paid would be enough.
Anonymous 01/20/25(Mon)10:15:09 No.103968248
>take half of my antipsychotic today
>suddenly i'm less tired and can do more programming
I hate psychiatry so much it's unreal
>suddenly i'm less tired and can do more programming
I hate psychiatry so much it's unreal
Anonymous 01/20/25(Mon)10:56:06 No.103968664
What do I think of datastar? eemir
Anonymous 01/20/25(Mon)10:57:57 No.103968680
>>103968664
Never heard of it, way too many js libraries to keep track of
Never heard of it, way too many js libraries to keep track of
Anonymous 01/20/25(Mon)11:56:13 No.103969220
>>103968248
be aware that the bounceback effect does exist with antipsychotics. you might feel anxious, paranoid and disconnected from reality, it'll wear off with time, be safe pham
be aware that the bounceback effect does exist with antipsychotics. you might feel anxious, paranoid and disconnected from reality, it'll wear off with time, be safe pham
Anonymous 01/20/25(Mon)12:04:23 No.103969303
>>103969220
Thanks lad, the main effect I notice when coming off antipsychotics is a bit of anxiety along with oculogyric crises (involuntary eye movements). It's annoying but it usually passes.
Thanks lad, the main effect I notice when coming off antipsychotics is a bit of anxiety along with oculogyric crises (involuntary eye movements). It's annoying but it usually passes.
Anonymous 01/20/25(Mon)12:08:51 No.103969347
>>103968664
I read the docs. I use Alpine JS, so I'll compare with it.
One MAJOR problem I have with it is global data. With scoped data in Alpine, you look at a <div x-data> and can be sure it doesn't affect outside elements (unless you use query selectors which you aren't supposed to). For a basic example, imagine a to-do list, where each item must also be a sub-component (maybe you want to pin it somewhere else). With global data it's gonna be a shitshow.
Mostly the same problem with Server-Sent Events rendering, you can only replace global #id elements and they must already exist, so components again get shafted.
On the home page it has this written in bold
>This mini application is driven by a SINGLE GET REQUEST!
which is a lie. SSE is a one-way bus, so it would only be true if you load a page and send events without feedback (through further requests).
A similar thing to this is Laravel Livewire, which uses Alpine internally and has support for components and so much more stuff. The problem with it is of course PHP lmao.
IMO even a basic response handler is better because you can customize to your liking. Here you're stuck with global data.
IDK about htmx+alpine, could also work.
tl;dr alpine better because scoped data
I read the docs. I use Alpine JS, so I'll compare with it.
One MAJOR problem I have with it is global data. With scoped data in Alpine, you look at a <div x-data> and can be sure it doesn't affect outside elements (unless you use query selectors which you aren't supposed to). For a basic example, imagine a to-do list, where each item must also be a sub-component (maybe you want to pin it somewhere else). With global data it's gonna be a shitshow.
Mostly the same problem with Server-Sent Events rendering, you can only replace global #id elements and they must already exist, so components again get shafted.
On the home page it has this written in bold
>This mini application is driven by a SINGLE GET REQUEST!
which is a lie. SSE is a one-way bus, so it would only be true if you load a page and send events without feedback (through further requests).
A similar thing to this is Laravel Livewire, which uses Alpine internally and has support for components and so much more stuff. The problem with it is of course PHP lmao.
IMO even a basic response handler is better because you can customize to your liking. Here you're stuck with global data.
IDK about htmx+alpine, could also work.
tl;dr alpine better because scoped data
Anonymous 01/20/25(Mon)12:32:42 No.103969599
Please don't select admin options guys
Anonymous 01/20/25(Mon)13:25:41 No.103970166
>>103969599
it would be a shame
it would be a shame
Anonymous 01/20/25(Mon)13:26:42 No.103970173
going to the gym to not die out of 0 movement due to wfh (4 out of 5 days a week)
Anonymous 01/20/25(Mon)13:27:43 No.103970193
Anonymous 01/20/25(Mon)13:28:57 No.103970208
Anonymous 01/20/25(Mon)14:53:19 No.103970986
When does react 19 drop?
Anonymous 01/20/25(Mon)16:36:10 No.103971968
>grafana
>prometheus
>loki
i want to go back to making todo list apps
>prometheus
>loki
i want to go back to making todo list apps
Anonymous 01/20/25(Mon)19:22:17 No.103973507
I have never coded anything before in my life so If someone could spoonfeed me a bit I'd be grateful. Can anybody point me in the right direction to achieve the following goal?
I am trying to make a desktop calendar application that I can freely edit the contents of. Month/Day/Time, but that I can write stuff in freely, and changes day by day to the next one, displaying my daily tasks and shit under each day like you would do for a normal calendar on your wall. Something as a small pop up window kind of thing that I can move around my desktop and shit. I can't imagine it's all that difficult for a beginner but when I say I'm a beginner I mean that in the most literal way possible.
Anybody got some input? I see that app development is generally frowned upon in the OP but I'm just trying to save myself some money on post-it notes and paper calendars I never use in time. Or does anybody know of an app like it that already exists?
I am trying to make a desktop calendar application that I can freely edit the contents of. Month/Day/Time, but that I can write stuff in freely, and changes day by day to the next one, displaying my daily tasks and shit under each day like you would do for a normal calendar on your wall. Something as a small pop up window kind of thing that I can move around my desktop and shit. I can't imagine it's all that difficult for a beginner but when I say I'm a beginner I mean that in the most literal way possible.
Anybody got some input? I see that app development is generally frowned upon in the OP but I'm just trying to save myself some money on post-it notes and paper calendars I never use in time. Or does anybody know of an app like it that already exists?
Anonymous 01/20/25(Mon)19:24:57 No.103973521
>>103973507
Best bet is to use claude or gpt4 to do it tbqh
Best bet is to use claude or gpt4 to do it tbqh
Anonymous 01/20/25(Mon)19:30:54 No.103973553
>>103973521
maybe so but then I myself don't learn how to do it
maybe so but then I myself don't learn how to do it
Anonymous 01/20/25(Mon)19:44:49 No.103973632
>>103919726
I hate webdev so much
I hate webdev so much
Anonymous 01/20/25(Mon)21:39:26 No.103974648
>>103973507
I didn't even know there was such a thing in the op.
Anyway, if you just need an app like that, it's easier to keep looking for one that works well enough for you. Writing one isn't exactly hard if you have some basic programming experience, but it is far beyond something you could just whip up as a beginner.
I found this by 5 seconds of googling https://www.desktopcal.com/
I didn't even know there was such a thing in the op.
Anyway, if you just need an app like that, it's easier to keep looking for one that works well enough for you. Writing one isn't exactly hard if you have some basic programming experience, but it is far beyond something you could just whip up as a beginner.
I found this by 5 seconds of googling https://www.desktopcal.com/
Anonymous 01/20/25(Mon)21:49:47 No.103974747
>>103973507
>but I'm just trying to save myself some money on post-it notes and paper calendars I never use in time. Or does anybody know of an app like it that already exists?
so do you want to do it to learn or to save money?
Learning how to make this will cost you a lot of time (and thereby theoretically money) and any existing (web)app like Google Calendar or such would immediately give you that for free.
To learn it with webdev tech you pretty much have to start like any webdev beginner and learn the basics of HTML+CSS+JS.
OP has all the infos for that, but it's going to take you some time.
>but I'm just trying to save myself some money on post-it notes and paper calendars I never use in time. Or does anybody know of an app like it that already exists?
so do you want to do it to learn or to save money?
Learning how to make this will cost you a lot of time (and thereby theoretically money) and any existing (web)app like Google Calendar or such would immediately give you that for free.
To learn it with webdev tech you pretty much have to start like any webdev beginner and learn the basics of HTML+CSS+JS.
OP has all the infos for that, but it's going to take you some time.
Anonymous 01/20/25(Mon)22:29:55 No.103975139
>>103965283
maybe the indians
maybe the indians
Anonymous 01/20/25(Mon)22:36:27 No.103975208
I know vanilla HTML/CSS and js so far for frontend. Do I move on from vanilla to frameworks such as react or vue or keep it pure?
PS: I use php and mysql for the backend
PS: I use php and mysql for the backend
Anonymous 01/20/25(Mon)22:44:03 No.103975281
>>103975208
If you know them really well then sure use a framework and find out how they are used to build things with components.
I definitely prefer Vue, but almost all the jobs are going to be for React, in case that is important to you.
If you know them really well then sure use a framework and find out how they are used to build things with components.
I definitely prefer Vue, but almost all the jobs are going to be for React, in case that is important to you.
Anonymous 01/20/25(Mon)22:58:29 No.103975402
>>103975281
Been looking into react a little bit, I think I’ll use that. Just to make sure, css is still vanilla and imported separately or is there an easy framework for css as well?
Been looking into react a little bit, I think I’ll use that. Just to make sure, css is still vanilla and imported separately or is there an easy framework for css as well?
Anonymous 01/21/25(Tue)00:18:14 No.103976185
>>103975402
Do you mean in React? Without addons it's vanilla global CSS.
As for "easy css framework", do you mean ready-made css classes and components or a way to use your own CSS differently (like scoping and nesting)?
Do you mean in React? Without addons it's vanilla global CSS.
As for "easy css framework", do you mean ready-made css classes and components or a way to use your own CSS differently (like scoping and nesting)?
Anonymous 01/21/25(Tue)02:37:40 No.103977325
:: WeatherNews.jl ::
dev:: gg
tools:: Julia, Perl, SQLite
link:: http://ggxx.sdf1.org/
repo:: https://git.vern.cc/gg/WeatherNews.jl
progress:: I'm updating the link, because the other one was unreliable.
The original deployment is on:
https://gg.vern.cc/wn/
It is still being updated, but I want to list:
http://ggxx.sdf1.org/
as the main deployment, because it is far more reliable.
https://rentry.org/faaag
dev:: gg
tools:: Julia, Perl, SQLite
link:: http://ggxx.sdf1.org/
repo:: https://git.vern.cc/gg/WeatherNews.
progress:: I'm updating the link, because the other one was unreliable.
The original deployment is on:
https://gg.vern.cc/wn/
It is still being updated, but I want to list:
http://ggxx.sdf1.org/
as the main deployment, because it is far more reliable.
https://rentry.org/faaag
Anonymous 01/21/25(Tue)03:00:07 No.103977497
Anonymous 01/21/25(Tue)03:08:36 No.103977579
We all knew webdev was gay.
Anonymous 01/21/25(Tue)03:23:51 No.103977694
>>103975208
What exactly is it that you are building that makes you feel like "somehow this does not work, so I should probably start using some framework"?
What exactly is it that you are building that makes you feel like "somehow this does not work, so I should probably start using some framework"?
Anonymous 01/21/25(Tue)03:28:51 No.103977746
>>103975208
yes use fw now
>but why
job posting requiremwnts, plus those fw, will enforce project structures on u that are interesting to learn and use
yes use fw now
>but why
job posting requiremwnts, plus those fw, will enforce project structures on u that are interesting to learn and use
Anonymous 01/21/25(Tue)05:04:53 No.103978366
>>103970986
react 19 stable dropped 6 weeks ago
react 19 stable dropped 6 weeks ago
Anonymous 01/21/25(Tue)05:24:56 No.103978505
>>103922073
Huh? Just worry about screen width and use breakpoints, why are you worrying about aspect ratio?
Huh? Just worry about screen width and use breakpoints, why are you worrying about aspect ratio?
Anonymous 01/21/25(Tue)05:26:14 No.103978523
>>103942395
I could never into tailwind
I could never into tailwind
Anonymous 01/21/25(Tue)05:57:21 No.103978712
When I get some code working I think of this scene
https://www.youtube.com/watch?v=_ElWlUr_tw8
https://www.youtube.com/watch?v=_El
Anonymous 01/21/25(Tue)05:59:47 No.103978726
>>103978505
Yeah normally you'd do it how you describe. Because normally the content is vertically scrollable.
I'm making a web app (well it's React Native and web is one of the platforms) and I have a page where I don't want the content to be vertically scrollable. Instead I'm changing the layout based on the aspect ratio. So I can have an image showing on the top in portrait, or to the side in landscape.
Yeah normally you'd do it how you describe. Because normally the content is vertically scrollable.
I'm making a web app (well it's React Native and web is one of the platforms) and I have a page where I don't want the content to be vertically scrollable. Instead I'm changing the layout based on the aspect ratio. So I can have an image showing on the top in portrait, or to the side in landscape.
Anonymous 01/21/25(Tue)07:10:38 No.103979106
Anonymous 01/21/25(Tue)07:11:42 No.103979109
>>103977694
A modern stylish webapp
A modern stylish webapp
Anonymous 01/21/25(Tue)08:17:28 No.103979560
>>103979106
Bootstrap is the most popular component CSS library. Includes components like cards, lists, navbars, but it also includes JS for stuff like spoilers and alerts.
On other hand you have Tailwind - an atomic framework where 1 class = 1 rule. A big meme these days.
There's plenty more but mechanically most of them are similar to these two.
Bootstrap is the most popular component CSS library. Includes components like cards, lists, navbars, but it also includes JS for stuff like spoilers and alerts.
On other hand you have Tailwind - an atomic framework where 1 class = 1 rule. A big meme these days.
There's plenty more but mechanically most of them are similar to these two.
Anonymous 01/21/25(Tue)08:48:35 No.103979836
>>103979560
>Bootstrap is the most popular component CSS library
nta, but still is? many will not use it due to the dated looks of it, other than that, it is pretty decent at what it does, with honorable mention when it comes tonresponsive
>Bootstrap is the most popular component CSS library
nta, but still is? many will not use it due to the dated looks of it, other than that, it is pretty decent at what it does, with honorable mention when it comes tonresponsive
Anonymous 01/21/25(Tue)09:10:47 No.103980026
>>103979836
Actually no idea if it's still popular. I just read a "CSS frameworks 2025" repo recently and it's at the top with most stars. I think it's still popular among low-budget frontend.
But on reactive frameworks, component libraries like Material UI are probably more common.
Actually no idea if it's still popular. I just read a "CSS frameworks 2025" repo recently and it's at the top with most stars. I think it's still popular among low-budget frontend.
But on reactive frameworks, component libraries like Material UI are probably more common.
Anonymous 01/21/25(Tue)09:48:09 No.103980306
Anonymous 01/21/25(Tue)09:54:25 No.103980366
>>103980026
imo using bs only makes sense if you only use responsive side, because the looks are terrible
imo using bs only makes sense if you only use responsive side, because the looks are terrible
Anonymous 01/21/25(Tue)09:56:21 No.103980384
>>103978726
Are you using grids? Those things are bitching
Are you using grids? Those things are bitching
Anonymous 01/21/25(Tue)10:01:30 No.103980429
>>103980384
React Native's styling uses flexbox, I don't think it's possible to use CSS grids.
React Native's styling uses flexbox, I don't think it's possible to use CSS grids.
Anonymous 01/21/25(Tue)11:04:22 No.103981079
I owned this
Anonymous 01/21/25(Tue)11:05:55 No.103981096
>>103978726
>>103978726
>I have a page where I don't want the content to be vertically scrollable
Why would anyone want this? Your app wont scale with content.
>>103978726
>I have a page where I don't want the content to be vertically scrollable
Why would anyone want this? Your app wont scale with content.
Anonymous 01/21/25(Tue)11:26:52 No.103981288
>>103964324
Bro, I'm like in the 4th chapter of the book, Django is not a good framework it's too opinionated for my taste, I will go with Flask or FastAPI for prototyping.
Bro, I'm like in the 4th chapter of the book, Django is not a good framework it's too opinionated for my taste, I will go with Flask or FastAPI for prototyping.
Anonymous 01/21/25(Tue)11:54:32 No.103981532
TL;DR: How do you find clients?
Not sure if this is the right general to post about this and I don't know if this merits a new thread.
It's been slightly over a year since I started a software development (not limited to web dev, but desktop and mobile app dev too, one time we worked on a video game) agency with 3 employees, and we started off great with 3 big paying clients and a few small other ones. The problem is that once we finished all those projects, no other clients have shown up in over half a year, and even with the perpetual "maintenance fees" we're charging, the agency is basically bleeding money right now.
I've tried ad campaigns (which has attracted thousands of visitors but 100% of them have been bots), cold calling small businesses via LinkedIn but no one seems interested. I even tried venturing into Fiverr but we can't compete against Indians charging $5-$50 per work, and UpWork but it's flooded with postings like "1 month work, fixed price: $5".
I am tired of having multi-week-long negotiations, understanding client requirements, defining timelines, etc. only for the clients to be scared off when the invoice is over $2,500.
What the fuck do I do, bros? Where the fuck do I find people who are interested in real projects and not $5 Wix landing pages?
Not sure if this is the right general to post about this and I don't know if this merits a new thread.
It's been slightly over a year since I started a software development (not limited to web dev, but desktop and mobile app dev too, one time we worked on a video game) agency with 3 employees, and we started off great with 3 big paying clients and a few small other ones. The problem is that once we finished all those projects, no other clients have shown up in over half a year, and even with the perpetual "maintenance fees" we're charging, the agency is basically bleeding money right now.
I've tried ad campaigns (which has attracted thousands of visitors but 100% of them have been bots), cold calling small businesses via LinkedIn but no one seems interested. I even tried venturing into Fiverr but we can't compete against Indians charging $5-$50 per work, and UpWork but it's flooded with postings like "1 month work, fixed price: $5".
I am tired of having multi-week-long negotiations, understanding client requirements, defining timelines, etc. only for the clients to be scared off when the invoice is over $2,500.
What the fuck do I do, bros? Where the fuck do I find people who are interested in real projects and not $5 Wix landing pages?
Anonymous 01/21/25(Tue)12:07:03 No.103981680
>>103981532
The country club
The country club
Anonymous 01/21/25(Tue)12:26:16 No.103981881
>>103981680
I've negotiated with plenty of rich businessmen from my social circle, and most of them are boomers and they have run their businesses for 30+ years with nothing but emails and spreadsheets. They don't understand the benefits and immediacy of something like a fully-tailored ERP and/or hey don't think modernizing their 20+ year old HTML website is necessary (if they have a website at all). If you get work with them, it's most likely going to be hell because they don't understand the progress you're showing yet they'll pretend they do and request ridiculous changes.
On the other hand, younger rich people tend to be a bit more tech savvy, so they don't understand why they could use customized work flows or automation when they can easily run their businesses along with third-party software (Teams, Slack, Shopify, Google One, etc.). Often they don't even have websites because their Instagram is enough, and if they want one, they're savvy enough to just use a template on Wix/WordPress and do it themselves.
It feels like the only way to find clients interested in this line of work is when you happen to meet someone with a "fuck you" rich company, but those most likely have their software/IT departments.
I've negotiated with plenty of rich businessmen from my social circle, and most of them are boomers and they have run their businesses for 30+ years with nothing but emails and spreadsheets. They don't understand the benefits and immediacy of something like a fully-tailored ERP and/or hey don't think modernizing their 20+ year old HTML website is necessary (if they have a website at all). If you get work with them, it's most likely going to be hell because they don't understand the progress you're showing yet they'll pretend they do and request ridiculous changes.
On the other hand, younger rich people tend to be a bit more tech savvy, so they don't understand why they could use customized work flows or automation when they can easily run their businesses along with third-party software (Teams, Slack, Shopify, Google One, etc.). Often they don't even have websites because their Instagram is enough, and if they want one, they're savvy enough to just use a template on Wix/WordPress and do it themselves.
It feels like the only way to find clients interested in this line of work is when you happen to meet someone with a "fuck you" rich company, but those most likely have their software/IT departments.
Anonymous 01/21/25(Tue)13:06:04 No.103982289
>>103981881
That's the game you picked man. The grind never ends.
That's the game you picked man. The grind never ends.
Anonymous 01/21/25(Tue)13:28:00 No.103982513
>>103981881
most people that have posted here, go to businesses
most people that have posted here, go to businesses
Anonymous 01/21/25(Tue)13:38:12 No.103982648
>>103981881
my neice runs her own business and her handle is actually resolvable to a domain name, so i bought the domain and redirect it to her instagram. in hindsight this is probably really bad for seo, but ive asked her about if she would benefit from having a website and in her line of business and she said no because nobody would use it. everything is done purely through social media sites. people born in the last 30 years dont use email for anything other than "that annoying thing that websites ask for once when you sign up", instead opting to use social media for all their messaging and customer support, etc..
my neice runs her own business and her handle is actually resolvable to a domain name, so i bought the domain and redirect it to her instagram. in hindsight this is probably really bad for seo, but ive asked her about if she would benefit from having a website and in her line of business and she said no because nobody would use it. everything is done purely through social media sites. people born in the last 30 years dont use email for anything other than "that annoying thing that websites ask for once when you sign up", instead opting to use social media for all their messaging and customer support, etc..
Anonymous 01/21/25(Tue)13:50:00 No.103982776
>>103982648
grim 2bh
grim 2bh
Anonymous 01/21/25(Tue)13:53:27 No.103982817
>>103967650
Bump
Bump
Anonymous 01/21/25(Tue)14:10:53 No.103982987
html {
filter: invert(100%) hue-rotate(180deg);
}
img {
filter: invert(100%) hue-rotate(180deg);
}
I use this as a quick and dirty dark mode that ignores images I can apply to sites that don't have one. I'd like to make it a bit less saturated too though but when I change both 100% to 80% the image colors are different, what's the math for keeping images the same for values other than 100%?
Anonymous 01/21/25(Tue)14:13:04 No.103983019
>>103980306
You are the definition of a time waster
You are the definition of a time waster
Anonymous 01/21/25(Tue)14:14:27 No.103983033
how do you encrypt photos on front end like pic rel?
Anonymous 01/21/25(Tue)14:56:19 No.103983452
>>103983033
probably some image manipulation library?
What's the purpose though? Is that how the browser receives it from the server and then restores it on a canvas in the browser in the correct way, so that the user can't just easily download it?
probably some image manipulation library?
What's the purpose though? Is that how the browser receives it from the server and then restores it on a canvas in the browser in the correct way, so that the user can't just easily download it?
Anonymous 01/21/25(Tue)15:00:22 No.103983497
Anonymous 01/21/25(Tue)15:02:31 No.103983516
>>103983033
Just make 12 image elements with different offsets in a no overflow container
Just make 12 image elements with different offsets in a no overflow container
Anonymous 01/21/25(Tue)15:07:12 No.103983585
>>103983497
that stacks up the filter on every element each time rather than just once on parent and inherited down
that stacks up the filter on every element each time rather than just once on parent and inherited down
Anonymous 01/21/25(Tue)15:31:08 No.103983846
are we ever going to get native htmx support on the browser?
Anonymous 01/21/25(Tue)15:35:00 No.103983891
>>103983846
I fucking hope not
I fucking hope not
Anonymous 01/21/25(Tue)15:35:40 No.103983895
>>103983891
why not, it's better than javascript
why not, it's better than javascript
Anonymous 01/21/25(Tue)15:39:38 No.103983936
too dumb to make a paywall website for my art where crowdfund will unlock lewd version of illustrations after a certain amount reached. e.g:
level 1: $300 - unlocks photo 1 and 2
level 2: $600 - unlocks photo 1,2,3, 4
level 3: $900 - unlocks photo 1,2,3,4,5,6
level 4: $3000 - unlocks all 10.
level 1: $300 - unlocks photo 1 and 2
level 2: $600 - unlocks photo 1,2,3, 4
level 3: $900 - unlocks photo 1,2,3,4,5,6
level 4: $3000 - unlocks all 10.
Anonymous 01/21/25(Tue)15:49:50 No.103984051
>>103983895
I disagree
I disagree
Anonymous 01/21/25(Tue)17:08:26 No.103984997
>>103974648
>I didn't even know there was such a thing in the op.
OP:
>/wdg/ may or may not welcome app development discussion in this thread. 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.
I was just going off this, I expected either no bites or to be told to fuck off.
>link
I like this but it seems very big, I'm trying to get one that is just a small thing, like a sticky note (the application thing, not a real life tangible piece of paper) that shows only 1 day at a time.
>>103974747
I would like to learn how to code but I understand it's not a simple task. I'm not necessarily opposed to an already existing application but so far most of what I've looked at is too grandiose for what I want. It seems to be extremely barebones or it's a full blown calendar which I do not want, I want it to display 1 day at a time and to be able to add tasks and reminders under each day, and have it automatically roll over at midnight. My desire to learn vs my willingness to pay for something that fits my desires well enough is probably like 75 learning / 25 paying. Learning it will be a big pain in the ass, but I love the freedom to build my own shit and be able to add or tinker with it if/when necessary. Right now I want a simple calendar, and if I buy one then that's that, but if I learn to make one, it opens a whole new door for what I can do in many aspects of life. So I would prefer to learn. I will read the OP links and try my hand.
>I didn't even know there was such a thing in the op.
OP:
>/wdg/ may or may not welcome app development discussion in this thread. 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.
I was just going off this, I expected either no bites or to be told to fuck off.
>link
I like this but it seems very big, I'm trying to get one that is just a small thing, like a sticky note (the application thing, not a real life tangible piece of paper) that shows only 1 day at a time.
>>103974747
I would like to learn how to code but I understand it's not a simple task. I'm not necessarily opposed to an already existing application but so far most of what I've looked at is too grandiose for what I want. It seems to be extremely barebones or it's a full blown calendar which I do not want, I want it to display 1 day at a time and to be able to add tasks and reminders under each day, and have it automatically roll over at midnight. My desire to learn vs my willingness to pay for something that fits my desires well enough is probably like 75 learning / 25 paying. Learning it will be a big pain in the ass, but I love the freedom to build my own shit and be able to add or tinker with it if/when necessary. Right now I want a simple calendar, and if I buy one then that's that, but if I learn to make one, it opens a whole new door for what I can do in many aspects of life. So I would prefer to learn. I will read the OP links and try my hand.
Anonymous 01/21/25(Tue)17:33:42 No.103985389
>>103983033
how is that an encryption? what are you trying to prevent?
how is that an encryption? what are you trying to prevent?
Anonymous 01/21/25(Tue)17:35:44 No.103985420
>>103973507
>calendar
massive undertaking to start with. time is hard and there is no single "this just works" solution for it yet.
to get something super simple on a desktop using web technologies, the best bets are either react native or electron, which are more substantial and complex than just writing html/css/js. youre going to have to lern2code a bit before you can make anything that runs in a desktop window.
>calendar
massive undertaking to start with. time is hard and there is no single "this just works" solution for it yet.
to get something super simple on a desktop using web technologies, the best bets are either react native or electron, which are more substantial and complex than just writing html/css/js. youre going to have to lern2code a bit before you can make anything that runs in a desktop window.
Anonymous 01/21/25(Tue)17:47:54 No.103985582
>>103975208
>>103979109
JS frameworks on their own don't come with styling.
What you're probably thinking of is a component library.
A component library has predefined ui components.
There are different component libraries dedicated to each JS framework, for example Vuetify for Vue.
However if styling is your main goal, you could also just use a CSS framework.
A CSS framework is basically a set of predefined CSS classes.
Personally I like Bulma but many people use Tailwind.
You can link CSS frameworks the same way you link your own stylesheets.
>>103979109
JS frameworks on their own don't come with styling.
What you're probably thinking of is a component library.
A component library has predefined ui components.
There are different component libraries dedicated to each JS framework, for example Vuetify for Vue.
However if styling is your main goal, you could also just use a CSS framework.
A CSS framework is basically a set of predefined CSS classes.
Personally I like Bulma but many people use Tailwind.
You can link CSS frameworks the same way you link your own stylesheets.
Anonymous 01/21/25(Tue)18:34:16 No.103986139
I know nothing about programming and I just managed to build a simple browser game with the help of Deepseek R1. So far my workflow has consisted of talking to it via the Deepseek website and copypasting between the site and Visual Studio Code. Is there a smarter way of using AI models to program?
Anonymous 01/21/25(Tue)18:40:38 No.103986198
>>103986139
ask them to teach you programming
ask them to teach you programming
Anonymous 01/21/25(Tue)18:59:58 No.103986398
Anyone here use Laravel with php? Did you learn the syntax off just the laravel docs?
> If you are using Laravel as a full stack framework, we also strongly encourage you to learn how to compile your application's CSS and JavaScript using Vite
Do you use this too?
> If you are using Laravel as a full stack framework, we also strongly encourage you to learn how to compile your application's CSS and JavaScript using Vite
Do you use this too?
Anonymous 01/21/25(Tue)19:10:00 No.103986519
>>103986198
Won't teach me anything about the meta on AI tool use, neckbeard-kun
Won't teach me anything about the meta on AI tool use, neckbeard-kun
Anonymous 01/21/25(Tue)19:11:03 No.103986535
>>103986519
Did you even try?
Did you even try?
Anonymous 01/21/25(Tue)20:01:25 No.103987084
I'm at my wits fucking end fucking with this stupid shit.
Is this library fucking broken or is some environmental build issue appearing here?
Is this library fucking broken or is some environmental build issue appearing here?
Anonymous 01/21/25(Tue)20:02:26 No.103987099
Anonymous 01/21/25(Tue)20:04:22 No.103987123
>>103987084
more info here
also, I thought my work job was tedious (C++ and C#), you fucking web devs must be pulling your hair out constantly over this dumb shit
more info here
also, I thought my work job was tedious (C++ and C#), you fucking web devs must be pulling your hair out constantly over this dumb shit
Anonymous 01/21/25(Tue)20:05:22 No.103987131
Anonymous 01/21/25(Tue)20:19:14 No.103987271
>>103987123
is that your code or library code?
why does it say exports.SIP in one case and e.SIP in the other?
is that your code or library code?
why does it say exports.SIP in one case and e.SIP in the other?
Anonymous 01/21/25(Tue)20:35:42 No.103987452
>>103987271
says the error is in the library code, sip.js lib specifically one of their releases the sip.min.js, also appears in the non-min release, however.
says the error is in the library code, sip.js lib specifically one of their releases the sip.min.js, also appears in the non-min release, however.
Anonymous 01/21/25(Tue)20:36:43 No.103987469
>>103987271
and I'm only doing that because for some stupid fucking reason I can't just import 'sip.js' like I should be able to--it doesn't work and I also don't know why.
hmm, env variables maybe?
and I'm only doing that because for some stupid fucking reason I can't just import 'sip.js' like I should be able to--it doesn't work and I also don't know why.
hmm, env variables maybe?
Anonymous 01/21/25(Tue)20:37:44 No.103987485
>>103987469
and yes I have it installed via node and it appears in the package.json
and yes I have it installed via node and it appears in the package.json
Anonymous 01/21/25(Tue)21:24:30 No.103987954
>>103986398
>Anyone here use Laravel with php? Did you learn the syntax off just the laravel docs?
I always use the docs, and for something easy, you'll learn as you go, for me I've been using it for my freelance projects and my college project.
>Do you use this too?
yes, since I used tailwind and react with inertia in the last project. it's not that hard, you can just read the documentation for what you need.
>Anyone here use Laravel with php? Did you learn the syntax off just the laravel docs?
I always use the docs, and for something easy, you'll learn as you go, for me I've been using it for my freelance projects and my college project.
>Do you use this too?
yes, since I used tailwind and react with inertia in the last project. it's not that hard, you can just read the documentation for what you need.
Anonymous 01/21/25(Tue)21:28:55 No.103988007
>>103975208
if you need something specific then probably. otherwise, you can try something like using laravel + livewire for most use cases.
if you need something specific then probably. otherwise, you can try something like using laravel + livewire for most use cases.
Anonymous 01/21/25(Tue)21:54:32 No.103988253
>>103987485
>>103987131
>>103987123
nevermind, I don't need to run it via nodejs at all just a browser instance. Nodejs will run a backend part and these two scripts will communicate.
>>103987131
>>103987123
nevermind, I don't need to run it via nodejs at all just a browser instance. Nodejs will run a backend part and these two scripts will communicate.
Anonymous 01/21/25(Tue)22:06:30 No.103988371
>>103987954
Thanks sir
Thanks sir
Anonymous 01/22/25(Wed)00:18:14 No.103989549
>>103985389
illegal downloading by save-as, right-clicking, inspect element and screenshot. of course I'll add even more grids from that example
illegal downloading by save-as, right-clicking, inspect element and screenshot. of course I'll add even more grids from that example
Anonymous 01/22/25(Wed)03:38:00 No.103990933
Learning syntax is one thing, and learning idiomatic patterns is another thing entirely
Fuck's sake
Fuck's sake
Anonymous 01/22/25(Wed)05:16:25 No.103991631
>>103989549
it should be possible to just encrypt the images as binary files.
or you could turn them into base64 strings and encrypt those.
how are you going to prevent screenshots?
it should be possible to just encrypt the images as binary files.
or you could turn them into base64 strings and encrypt those.
how are you going to prevent screenshots?
Anonymous 01/22/25(Wed)05:18:20 No.103991644
>>103991631
also how are you going to prevent inspect element?
also how are you going to prevent inspect element?
Anonymous 01/22/25(Wed)07:09:50 No.103992446
I have a complete chess game working thanks to python-chess library. I have ten different servers.
Problem is it only runs locally because of some FUCKING webhooks
Anyone know about webhooks? I want it to point to a DigitalOcean server. Anyways I took all day building this thing. Pretty tired. Almost fucked up everything playing with requirements.txt and jacking up my python versions. had to go back in time and fix three hours of work because of the dependencies of freaking flask.
Problem is it only runs locally because of some FUCKING webhooks
socketio = SocketIO(app, cors_allowed_origins="*")
Anyone know about webhooks? I want it to point to a DigitalOcean server. Anyways I took all day building this thing. Pretty tired. Almost fucked up everything playing with requirements.txt and jacking up my python versions. had to go back in time and fix three hours of work because of the dependencies of freaking flask.
Anonymous 01/22/25(Wed)07:11:15 No.103992460
>>103919755
because building a calculator in C is somehow more advanced.
because building a calculator in C is somehow more advanced.
Anonymous 01/22/25(Wed)07:13:35 No.103992476
name of the song?
Anonymous 01/22/25(Wed)07:15:36 No.103992487
>>103992460
I remember building a calculator in java with an UI library (not web), it was like a week time work, well, more like 8 hours work max, the result was lmao tier, throwing deprecated warnings and around 1-3 seconds input lag
I remember building a calculator in java with an UI library (not web), it was like a week time work, well, more like 8 hours work max, the result was lmao tier, throwing deprecated warnings and around 1-3 seconds input lag
Anonymous 01/22/25(Wed)07:19:11 No.103992514
>>103983585
Set all elemnts background to turn the lightness all the way down, and all the fonts color to turn the lightness all the way up
Set all elemnts background to turn the lightness all the way down, and all the fonts color to turn the lightness all the way up
Anonymous 01/22/25(Wed)07:29:56 No.103992616
Anonymous 01/22/25(Wed)08:18:22 No.103993080
Let's say you have to build a back-end. Do you choose:
1) Node, because ease of development is most important, and the speed is good enough
2) Go, because blazing server speed is paramount, even if development time is longer
1) Node, because ease of development is most important, and the speed is good enough
2) Go, because blazing server speed is paramount, even if development time is longer
Anonymous 01/22/25(Wed)08:20:21 No.103993108
Anonymous 01/22/25(Wed)08:21:45 No.103993120
>>103991631
Do slap on encryption AFTER base64 encoding?
Do slap on encryption AFTER base64 encoding?
Anonymous 01/22/25(Wed)08:29:00 No.103993196
>>103987123
>single liner with boolean operator checking falsyness and nested ternary whose purpose is doing side effects
Dogshit code. Who wrote this?
>single liner with boolean operator checking falsyness and nested ternary whose purpose is doing side effects
Dogshit code. Who wrote this?
Anonymous 01/22/25(Wed)08:31:58 No.103993238
Anonymous 01/22/25(Wed)08:33:30 No.103993263
Anonymous 01/22/25(Wed)08:35:59 No.103993292
This is a long shot, but do any of you know if Chrome has a keyboard shortcut for editing the text content of an element?
If the text content is super long, I can just press right arrow to open it and then arrow down to highlight it, then with Enter I can edit. But when the text isn't long, I have to double click it.
I have fucked hands so using the keyboard is way less painful than using a mouse.
If the text content is super long, I can just press right arrow to open it and then arrow down to highlight it, then with Enter I can edit. But when the text isn't long, I have to double click it.
I have fucked hands so using the keyboard is way less painful than using a mouse.
Anonymous 01/22/25(Wed)08:37:27 No.103993310
>>103993080
is performance a concern? if yes, go.
if it's more important to have a MVP / ship something, node. e.g. startups. you're not google when youre starting out
is performance a concern? if yes, go.
if it's more important to have a MVP / ship something, node. e.g. startups. you're not google when youre starting out
Anonymous 01/22/25(Wed)08:39:39 No.103993338
>>103983033
are you retarded?
>server side
use any normalass image manipulation library to divide the image in x different chunks (unless youre a codelet this is code challenge tier easy).
send scrambled image to client, along with the "seed" it should use to decode
>client side
using the seed from the server side, throw that image into a canvas, then unscramble
this should be actually relatively easy (and fun) to do, anon
are you retarded?
>server side
use any normalass image manipulation library to divide the image in x different chunks (unless youre a codelet this is code challenge tier easy).
send scrambled image to client, along with the "seed" it should use to decode
>client side
using the seed from the server side, throw that image into a canvas, then unscramble
this should be actually relatively easy (and fun) to do, anon
Anonymous 01/22/25(Wed)08:52:18 No.103993492
>>103991631
the photo pixels/grid will be randomized every time user tried to save as, but it'll display the original photo when viewed on the browser as it is. the trigger to jumble up the pixels/grid would be the print screen button and right clicking.
the photo pixels/grid will be randomized every time user tried to save as, but it'll display the original photo when viewed on the browser as it is. the trigger to jumble up the pixels/grid would be the print screen button and right clicking.
Anonymous 01/22/25(Wed)08:56:27 No.103993539
added a console with the proper notation
Anonymous 01/22/25(Wed)09:22:24 No.103993773
>>103993080
How much faster is Go in performance, and how much slower is it to develop in?
How much faster is Go in performance, and how much slower is it to develop in?
Anonymous 01/22/25(Wed)09:23:29 No.103993784
Anonymous 01/22/25(Wed)09:23:42 No.103993788
>>103993080
Node. If there's enough traffic that a Go backend makes sense, you should have gotten enough money to hire someone to do it for you.
Node. If there's enough traffic that a Go backend makes sense, you should have gotten enough money to hire someone to do it for you.
Anonymous 01/22/25(Wed)09:26:27 No.103993818
>>103993080
I choose Java/Spring Boot because that's what I know and it just werks.
But there is no way I'd use a dynamically, weakly typed language on the backend.
I choose Java/Spring Boot because that's what I know and it just werks.
But there is no way I'd use a dynamically, weakly typed language on the backend.
Anonymous 01/22/25(Wed)09:34:12 No.103993891
>>103993080
bun
bun
Anonymous 01/22/25(Wed)09:34:12 No.103993892
>>103993492
There are more ways to make a screenshot, though, like Windows key + shift + S and whatever smartphones use.
I think it's a waste of time. A dedicated person will find some way. I'd maybe prevent web scrapers.
There are more ways to make a screenshot, though, like Windows key + shift + S and whatever smartphones use.
I think it's a waste of time. A dedicated person will find some way. I'd maybe prevent web scrapers.
Anonymous 01/22/25(Wed)09:39:29 No.103993961
>>103993773
>How much faster is Go in performance
Quite a bit I think, but for low traffic sites you won't notice
>and how much slower is it to develop in?
A fair bit
>>103993788
Interesting view
>>103993818
I think Instagram has a Django/Python back-end, and many other sites for years have used dynamically typed languages. GitHub uses Ruby on Rails.
>>103993891
I dunno if that's production ready though
>How much faster is Go in performance
Quite a bit I think, but for low traffic sites you won't notice
>and how much slower is it to develop in?
A fair bit
>>103993788
Interesting view
>>103993818
I think Instagram has a Django/Python back-end, and many other sites for years have used dynamically typed languages. GitHub uses Ruby on Rails.
>>103993891
I dunno if that's production ready though
Anonymous 01/22/25(Wed)10:03:37 No.103994187
>>103993892
that's already been deployed. I just want to add another layer of security for the lulz. Yeah, dedicated one would be bad, but at least it filters the brainlet.
that's already been deployed. I just want to add another layer of security for the lulz. Yeah, dedicated one would be bad, but at least it filters the brainlet.
Anonymous 01/22/25(Wed)10:27:40 No.103994502
I just wrote what I think is my first generic function in TypeScript
Generics are something that I always think I won't need but in this case it solved my problem pretty well
Generics are something that I always think I won't need but in this case it solved my problem pretty well
Anonymous 01/22/25(Wed)10:29:06 No.103994522
Customer wants their webflow project translated to Korean, but with the ability to change aspects of the korean site like exchanging ctas for forms, or having additional pages, etc.
I think weglot only takes your site and machine translates everything and you can only change the text content, so what would be the best way to go about giving them their website in another language that can be fully customized?
Or do I just clone their marketing site and have them translate/do everything manually?
I think weglot only takes your site and machine translates everything and you can only change the text content, so what would be the best way to go about giving them their website in another language that can be fully customized?
Or do I just clone their marketing site and have them translate/do everything manually?
Anonymous 01/22/25(Wed)10:36:02 No.103994608
>>103993818
>Laravel
>Ruby on Rails
>Node Express
>Django
>Next
There's lots of good weakly typed backends out there.
>Laravel
>Ruby on Rails
>Node Express
>Django
>Next
There's lots of good weakly typed backends out there.
Anonymous 01/22/25(Wed)10:39:29 No.103994641
I hate when it feels like I wore out my welcome at a company.
I've built out so much of the project, their development process. I've done so much, more than anyone else, and I get zero recognition anymore. It's just expected.
The guy that builds blog articles off figma files gets a pat on the back and told good job just this morning. I join zoom and don't even get a hello.
I've built out so much of the project, their development process. I've done so much, more than anyone else, and I get zero recognition anymore. It's just expected.
The guy that builds blog articles off figma files gets a pat on the back and told good job just this morning. I join zoom and don't even get a hello.
Anonymous 01/22/25(Wed)10:52:48 No.103994786
Anonymous 01/22/25(Wed)12:53:53 No.103996089
how are my code typers today? feeling good, have the whole evening to do nothing at all
Anonymous 01/22/25(Wed)12:55:04 No.103996104
>>103919726
how do I know if I’m ready to apply for a job. No degree but a couple of projects. Should I mention I solved 100 Leetcode questions
how do I know if I’m ready to apply for a job. No degree but a couple of projects. Should I mention I solved 100 Leetcode questions
Anonymous 01/22/25(Wed)13:29:09 No.103996532
>>103993292
F2 to edit as HTML or Tab to select next attribute
https://developer.chrome.com/docs/devtools/shortcuts#elements
F2 to edit as HTML or Tab to select next attribute
https://developer.chrome.com/docs/d
Anonymous 01/22/25(Wed)14:05:04 No.103997033
>>103996532
yeah i looked through that page, apparently no shortcut to directly select text :(
thanks though anon
yeah i looked through that page, apparently no shortcut to directly select text :(
thanks though anon
Anonymous 01/22/25(Wed)16:46:10 No.103999118
Is Svelte still the fastest framework?
Anonymous 01/22/25(Wed)17:04:38 No.103999353
Anonymous 01/22/25(Wed)17:06:21 No.103999379
>>103919726
https://www.youtube.com/watch?v=emXbPe86UVs
https://www.youtube.com/watch?v=emXbPe86UVs
https://www.youtube.com/watch?v=emXbPe86UVs
https://www.youtube.com/watch?v=emX
https://www.youtube.com/watch?v=emX
https://www.youtube.com/watch?v=emX
Anonymous 01/22/25(Wed)17:13:52 No.103999451
Really dumb question, once I've built/compiled the code in Svelte, if I want to host it locally am I supposed to run it with Bun or is that just for development and I use something like Traefik to host it? Bit confused, I don't do this much as you can tell.
Anonymous 01/22/25(Wed)17:16:24 No.103999480
>>103999451
typically you would run it with `node build/` or whatever equivalent and then proxy your webserver to the process running on localhost.
typically you would run it with `node build/` or whatever equivalent and then proxy your webserver to the process running on localhost.
Anonymous 01/22/25(Wed)17:18:07 No.103999503
>>103999480
okay so in other words, svelte code always run with a js runtime.
okay so in other words, svelte code always run with a js runtime.
Anonymous 01/22/25(Wed)17:21:05 No.103999549
>>103999503
oh wait im retarded i was thinking sveltekit. i guess once a svelte project is built youd just host it with whatever webserver you want.
oh wait im retarded i was thinking sveltekit. i guess once a svelte project is built youd just host it with whatever webserver you want.
Anonymous 01/22/25(Wed)17:29:28 No.103999685
>>103999549
yeah that's what I was hoping to do, I'm getting confused results back from chatgpt. it's still fucking telling me i need a js runtime.
yeah that's what I was hoping to do, I'm getting confused results back from chatgpt. it's still fucking telling me i need a js runtime.
Anonymous 01/22/25(Wed)17:33:08 No.103999717
>>103999685
assuming you just get a static bundle from the build step then you can host it with nginx, apache, whatever language http server you write yourself, etc. all the static stuff i build for myself is just hosted from nginx without issue.
assuming you just get a static bundle from the build step then you can host it with nginx, apache, whatever language http server you write yourself, etc. all the static stuff i build for myself is just hosted from nginx without issue.
Anonymous 01/22/25(Wed)17:34:50 No.103999739
>>103999717
yeah I was gonna ask what the in-vogue web server is now. I haven't kept up with web server tech at all. if you're saying nginx then I guess things haven't changed in a while kek.
yeah I was gonna ask what the in-vogue web server is now. I haven't kept up with web server tech at all. if you're saying nginx then I guess things haven't changed in a while kek.
Anonymous 01/22/25(Wed)17:39:17 No.103999793
>>103999739
ideally it should be boring because mature tech tends to be secure tech. i havent run into anything id complain about with nginx so far, but id chalk that up to not having used it enough.
ideally it should be boring because mature tech tends to be secure tech. i havent run into anything id complain about with nginx so far, but id chalk that up to not having used it enough.
Anonymous 01/22/25(Wed)20:47:39 No.104001986
This might be a dumb question. I have programming experience but I have never worked at a web dev company.
If you have REST endpoints in your backend, how are you supposed to track changes to the endpoints?
With something like gRPC, the server and client share the service definitions, so if you change the service definition, those changes will apply to the client too. But with REST, if you make rename or remove an endpoint in your backend, you have to go in and manually make changes to the frontend too, right? Or is there some kind of other tool that's supposed to help with this?
If you have REST endpoints in your backend, how are you supposed to track changes to the endpoints?
With something like gRPC, the server and client share the service definitions, so if you change the service definition, those changes will apply to the client too. But with REST, if you make rename or remove an endpoint in your backend, you have to go in and manually make changes to the frontend too, right? Or is there some kind of other tool that's supposed to help with this?
Anonymous 01/22/25(Wed)23:10:48 No.104003534
>>103956314
Use 2 monitors
Use 2 monitors
Anonymous 01/22/25(Wed)23:13:36 No.104003555
>>104001986
Rest is adhoc. It's meant to be able to add fields without disrupting existing clients.
If they remove or change the type of a field though all hell breaks loose (except for the idiots that cast everything to strings before casting back to the actual type, maybe they are not that idiotic).
Rest is adhoc. It's meant to be able to add fields without disrupting existing clients.
If they remove or change the type of a field though all hell breaks loose (except for the idiots that cast everything to strings before casting back to the actual type, maybe they are not that idiotic).
Anonymous 01/22/25(Wed)23:14:54 No.104003572
rape all bootstrap and tailwind css "developers".
Anonymous 01/22/25(Wed)23:19:04 No.104003618
>>104001986
Also there's swagger to generate documentation but I don't think it deals with API changes.
And there was some kind of json spec written in json thing, kinda like xml schema but I remember it being a pain and probably nobody bothers to write it.
But now that I think about it, I guess the thing to do is keep your endpoints immutable and add a v2, v3, v4, etc endpoints when you need to change them.
Also there's swagger to generate documentation but I don't think it deals with API changes.
And there was some kind of json spec written in json thing, kinda like xml schema but I remember it being a pain and probably nobody bothers to write it.
But now that I think about it, I guess the thing to do is keep your endpoints immutable and add a v2, v3, v4, etc endpoints when you need to change them.
Anonymous 01/22/25(Wed)23:20:44 No.104003631
>>104003572
I use picocss
I use picocss
Anonymous 01/22/25(Wed)23:21:55 No.104003638
>>103999118
Fastest running or fastest building or what?
Fastest running or fastest building or what?
Anonymous 01/22/25(Wed)23:37:42 No.104003769
>>104001986
version breaking changes or use a monorepo with shared types so the frontend breaks when the types don't work
version breaking changes or use a monorepo with shared types so the frontend breaks when the types don't work
Anonymous 01/23/25(Thu)00:36:57 No.104004223
Update: Baord is flipped for black. Pawn now promotes to queen but I need a dropdown for the other options. Moves printed to console.
Still having issues deploying because of fucking webhooks.
Still having issues deploying because of fucking webhooks.
Anonymous 01/23/25(Thu)02:10:23 No.104004816
>>103993292
Make an ahk script that does it for you.
If you can't do it, I might make you one because I feel for people with fucked hands, but then you need to do a screen recording of what exactly you're trying to achieve (it wasn't enough information for me)
Make an ahk script that does it for you.
If you can't do it, I might make you one because I feel for people with fucked hands, but then you need to do a screen recording of what exactly you're trying to achieve (it wasn't enough information for me)
Anonymous 01/23/25(Thu)02:50:46 No.104005137
>>104001986
You are supposed to generate some doc, there are tools like swagger as >>104003618 to do that.
There are cases :
- you add a new endpoint : you can just add it and let clients free to consume it, it doesn't disturb their current usage
- you update endpoints interface (change type of inputs, or whatever) : you can version your api so client aren't disturbed during changes and have time to migrate without breaking.
You are supposed to generate some doc, there are tools like swagger as >>104003618 to do that.
There are cases :
- you add a new endpoint : you can just add it and let clients free to consume it, it doesn't disturb their current usage
- you update endpoints interface (change type of inputs, or whatever) : you can version your api so client aren't disturbed during changes and have time to migrate without breaking.
Anonymous 01/23/25(Thu)02:59:52 No.104005212