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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


jQuery is back! edition.

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

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

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

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

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

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

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

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

previous >>107948898
>>
>>108057968
>dead general award
>forgot title award
would cum in the klossy thoughbeit
>>
who is the best javascript programmer in the world?
>>
>>108058762
Evan You
>>
>>108058797

Evan you what?
>>
>>108057968
>KLOSS
>>
>>108058762
not me, man js is deeps as fuck, contrary to what most people might believe
>>
>>108057968
this
>>108058044
plus nuke the tread and make a new one without the edition and with the title
>>
>>108058853
>plus nuke the tread and make a new one without the edition and with the title
yeah OP too stupid to make a real thread
>>
do you think I should
>>
>>108057968
>no thread subject
>>
>>108058839
Nobody with a brain believes JS is shallow or piss-easy
You need ten thousand fucking frameworks and add-ons to make it's jank scripting work, how is that easy?
>>
>>108062888
It was easy 25 years ago, but gets harder every year for job security purposes.
If you own the business, you write 100 lines of PHP and move to the next project.
If you work for the business, you bloat it infinitely and hire 3 of your buddies from high school to help you for the next 10 years.
>>
>>108058762
Henry Bouffant
>>
>>108063855
You don't need effort to bloat software. Sheer laziness and incompetence would do that.
>>
File: 139.jpg (19 KB, 480x357)
19 KB
19 KB JPG
at least its got /wdg/ on the OP so I'll save it for this once
>>
How do you keep on top of vulnerabilities in your deployed websites, /wdg/? Do you have some sort of automation to handle this for you?

I just wrote a script for my Go/React website which checks for both Go vulnerabilities and NPM vulnerabilities. Maybe I should automate this so the script runs every day and emails me if there's a problem.
>>
>>108066677
yolo
I've got an old PHP 5 / Ubuntu 15 server running on the internet that still hasn't been compromised yet lmao
>>
>>108066677
I have no idea, but somehting of the sort, if effective would be worth a good amount of cash I'd figure
>>
I will always remember when my webdev teacher showed a picture of squirtle pokemon and called him squirt, fucking epic man, nobody seemed to notice though, life rocks some times
>>
So for my job I work in SaaS and make 140k. It's some BS marketing company and we do nothing fun. I asked to build AI products and they said no.

I live in BFE Texas and it's 2/3 of my income.

There's a guy local here that is hiring for AI at a large company everyone knows and he wants to talk. I build AI assistants and auto-video generators and lots of AI shit. Their entry-level is only 100k but they work with RAG and Generative AI. Obviously that would open some major doors?

Would you take the pay cut?

Current job is easy as balls though, they are all old and scared of AI so I run claude code twice a week and perform just 10% better than everyone else by working like 2 hours a week.
>>
>>108066677
Instead Claude Code on your server and write a cron to run it and check your logs for intrusions.
>>
>>108068949
I built a controversial site. It was in response to the Tea app. Basically you posted women you slept with and everyone says if they slept with them. lol.
I have never had so many hack attempts in my life. I thought I knew security until I did that. As I said in the above comment. Claude Code on the server and have it look for exploits. It actually worked great.
If you're curious the env was accessible not through the url like website.com/.env but if you went to the IP address it was accessible. Was my first time using dotenv instead of a config.php file.
>>
>>108066677
>How do you keep on top of vulnerabilities in your deployed websites, /wdg/?
Update the VPS regularly and mostly use the Go standard library and vanilla HTML/CSS/JS.
>>
>>108071939
>If you're curious the env was accessible not through the url like website.com/.env but if you went to the IP address it was accessible. Was my first time using dotenv instead of a config.php file.
How the hell could that happen?
Anyway, I wouldn't have the balls to have .env in the document root for prod for this exact reason. I'd just rather load sensitive config values as env vars via docker compose. Nothing other than index.php that and static assets should be in the document root.
>>
>>108066677
Dependabot? Renovate?
https://github.com/renovatebot/renovate
>>
>>108074550
>>108071939
nta, fun fact, my first ever attempt at security as self training I managed to place the .env outside the project root
>>
you can build native GTK4 apps with React now
https://github.com/gtkx-org/gtkx
>>
>>108074931
how does that even make sense? what would react provide as an advantage in that context?
>>
j fucking Query
>>
surprised this general is even here anymore. I haven’t been here in half a year now.
It’s just claude code now. There’s no reason to learn anything. Dev is the fastest dying career. This is like training to become a fletcher when guns were coming out.
I guess it’s time to say goodbye.
My PHP was roasted so hard here in 2015-2016 that I became better and landed my first job. It’s been a decade. I’ve helped countless others here. Literally spent years in here giving resume and interview advice. I used to run the tfwnofgf.com website, you can go back to waybackmachine.
I miss hand coding everything and being able to do a skill that only people like me could do. I spent so much of my youth learning to code it felt like I had a super power like a wizard or something locked away studying tomes. Now I sit here and tell an AI to make whatever I want and it does.
Thanks for everything /wdg/, see you tomorrow
>>
>>107989503
Yeah, after some digging seems like fastapi is better (Django is still a clusterfuck from what I read on the documentation, so no thanks).
I come from a Rails background and currently leading a team building small solutions for increasing team productivity, and since most teams common language is excel, we're using it as a common ground and what better way to do complex operations than pandas?

AI is awesome for learning and brainstorming, so after some bouncing the final stack will be:
FastAPI+SQLModel+Jinja2+HTMX

I already did a couple projects (skipping htmx for now) and it's peak comfy, specially with strong typing and intellisense
>inb4 just use React
frontend and backend separation is a joke that increases complexity of an application just to avoid a blank screen for a few milliseconds, specially if working as a solo dev or with a small team - monolith with a solid structure and TDD is the way to go.
>>
Has anyone here worked on workflow automation apps like n8n?
>>
File: 1496195667870.gif (1.97 MB, 500x379)
1.97 MB
1.97 MB GIF
Bump.
>>
>>108081735
thanks anon
it's getting tiresome to bump / post on this board with the fucking captcha so aids
>>
>>108081735
wow he's literally me
>>
>page 10
>I bumped it last night and the only two posts were replays to my last bump
really ded fread
>>
File: 1719078316774899.jpg (92 KB, 880x480)
92 KB
92 KB JPG
So I'm interested in making a game with js/html5 but I want it to be playable offline.
I'm aware of electron and that all the major javascript runtimes have a "compile" command but the more I research the more questions I have:
What is the difference between Electron, NWJS, Tauri and compiling an app with the compile command in node/deno/bun?
My biggest concern is that i want to protect my game's assets but the docs never explain what do they do with the assets, what should I use if this is what I care abut the most?
>>
>>108084797
Why not use PWA/service workers?
The only thing you need to do is to cache the resources onto the user's browser, there's no need to make it an electron/tauri app
>>
>>108082133
I agree, this captcha is so far the only one giving me ptsd, not even the select 8 trillion walkways was a much of a "nah bro I don't want to do your minigame"
>>108084797
interesting take, I figure imgur might have some kind of strategy for this aka I show you the image but don't let you easily link it from off site, there must be strategies for this or somehow store them "encrypted" and decrypt at game start or some shit
t. not knower
>i want to protect my game's assets
>>
>>108057968
>she should join our startup
>>
File: 1608721324168.jpg (98 KB, 960x679)
98 KB
98 KB JPG
>>108085497
>t. Chuck's CEO
>>
>>108084973
This sounds like a hack and not a stable solution. I could g with this if I were really desperate.
>>108084979
The whole point is making it playable offline, I want people to play from desktop like games made with big name engines.
>>108085443
encrypting the assets it's something I want but seems it'll require a separated framework to do so.
>>
>>108086318
>but seems it'll require a separated framework to do so.
BE lang
>>
File: 1759241412315s.jpg (24 KB, 434x436)
24 KB
24 KB JPG
jQuery's pretty readable.
>>
>>108086362
??
>>
>>108087306
back end language, a server side language
>>
>>108086318
>feels like a hack
Check devdocs.io - open once and access it anytime, even offline. Why bother asking users to download a 300MB binary when you could just ask them to open a link and play right away? (A small banner mentioning it works offline should do the trick)
>>
cd code
cd..
cd ..



[Advertise on 4chan]

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

[Enable Mobile View / Use Mobile Site]

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