[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / 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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam folder!


[Advertise on 4chan]


File: web-developer-meme7.jpg (45 KB, 800x450)
45 KB JPG
Meme 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, PostgreSQL, etc.
link:: https://my.website.com
repo:: https://github.com/user/repo
progress:: Lorem ipsum dolor sit amet

Previous: >>109057081
>>
>>109138611
>Meme edition.
>>
>>109139342
Yes because I posted a lazy meme as the OP image.
>>
File: 1772151447009138.png (329 KB, 478x478)
329 KB PNG
>>109138611
what do we think about NestJS
>>
holy fuck I got an interview in php after years of not using it. what a fucked up language man. I don't know how anyone uses it without copy pasting every line from stack overflow.
>>
>>109138611
We are back.
>>
>>109139897
I've said for years that PHP is Perl for retards. I've used both and I don't see why Perl gets all the hatred.
>>
>>109140671
>PHP is Perl for retards
elaborate
>>
>>109138611
honestly shocked this general is still alive in the age of LLMs
>>
>>109140940
Shows how ignorant you are
>>
File: IMG_2255.jpg (52 KB, 736x736)
52 KB JPG
Snailcat trans thread
>>
File: 1568566201385.jpg (45 KB, 670x472)
45 KB JPG
>>109140984
>taking the b8
>>
>>109140997
I'm Luddite retard and I will impulsively harm you and break your magic wheel for no reason. You will cry out in pain, "Whyyyyyy? But this wheel can do your job!!" To which I won't respond because my grug brain can't comprehend your logic.
>Grug carry stone with back like grug always had
>>
>page 10
but I just found the thread
>>
>>109144054
Why this happens? AI killed web dev?
>>
>>109144639
pretty much
why even bother asking here when AI can spit that shite out in 2 seconds
>>
>>109145238
AI makes shit up non stop, not knowing how to dev is def not the safe route
>>
>>109145238
I have a philosophical question, it is OK to commit to company project vibecode? Will they notice? Whats your experience?
>>
>>109145416
there's supposed to be a senior or seniors that act as guards to the projects well being, they're supposed to not let anything harmful pass, maybe demand refactors when something is reaching a bad status, and so on. all in all the ensure overal code quality within the project

if that guard don't exist, better fucking pray
>>
>>109145392
not really, perplexity gives you the sources as well, so it's easy to double check
better than coming here, asking a question, and waiting for what feels like an eternity to maybe get an answer
>>
>>109145432
>better than coming here, asking a question, and waiting for what feels like an eternity to maybe get an answer
well obviously, what I mean is, if you can't see if the AI is bullshitting you with the code, you WILL be bullshitted by AI code, it doesn't always do what you asked it to do, so if you can't verify it you're fucked
>>
>>109145416
we have a pretty much open policy. you own your part of the code, and there are always two sets of eyes reviewing that shite before it gets merged
ngl, the web dev days are coming to an end
a 150k+ salary is going to look like a godsend for a senior with 7+ years of experience
>>
>>109145447
>AI is bullshitting you with the code
unless you're copying and pasting 100+ lines of code, you're absolutely within the limit of manually checking that shite
I mean, coding is not the hard part you've pretty much figured out how to do some shite; now you're telling AI to do that shite without making it overly complex or so verbose that you won't even understand it
most of what goes into the majority of web development has already been solved
>>
>>109145467
if I used everything AI throws at my code my code would be a circus, that's all I'm saying, so if you have no way to tell, good luck then
>>
Any of you ever used Symfony instead of Laravel?
>>
>>109146378
never, but what I've heard of it is top notch
>what
1) that it works
2) laravel is built with it
>>
>>109146378
the php "pros" are talking about hexagonal architecture with symfony or laravel as service providers though, aka the core of the application is outside of it and merely uses this and that
>>
File: 1555271213152.jpg (309 KB, 672x505)
309 KB JPG
what are the functionalities that js lacks that should have?
I'll start
>thorough types, screw TS
>proper non retarded maths
>SQL-like array/object search methods
>>
>>109147408
No fucking idea why escape() is deprecated, there doesn't seem to be a clear alternative
>>
>>109147408
Compilation to native code
>>
Let me guess... you need more?
>>
>>109148720
wait, what?
>>109147500
that thing is usually handled by be languages (I believe)
>>
>>109150059
>wait, what?
It would be cool if I could compile JS to a relatively small and fast binary like I can do with Go
>>
>>109150588
quickjs can do that.
>>
>>109150588
>>109150609
>>109150059
I don't get it, js is browser native
>>
>>109145416
no
you should be responsible for the code you produce, whether it’s code you wrote yourself or whether you had a clanker generate it or whether a subordinate wrote it
>>
>>109148995
Nothing related to web is modular, reusable or maintainable
>>
File: SiteProgress.png (3.97 MB, 2545x1283)
3.97 MB PNG
hi, its been a bit since ive posted. thanks for anyone who gave feedback in previous threads.
this site is for one of my music projects. still waiting on logo (which will go over the circle) and matching typeface to go along with it. for now the header is unfinished. trying to keep the website simple and readable. ideally, the site will host an EPK (electronic press kit) for the band and will act as a "portal" for streaming services/download links, a repistory for lead sheets, and a way to contact us. have not started work on the mobile site but i plan on having the links to all services be the first thing you see on mobile.
any suggestions are appreciated. thanks and sorry for the reddit formatting of this post. also thanks for keeping this general maintained, this is my first website and the resources here have been a lifesaver.
>>
>>109148720
Say no more https://github.com/CanadaHonk/porffor
>>
File: IMG_3207.png (366 KB, 400x900)
366 KB PNG
>>109141954
>gets shot by a vibeGOD sniper
We aiCHAD are very powerful, you lost, trans
>>
>>109150609
That looks cool. Created by the same guy who made ffmpeg and qemu

>>109150617
It would be cool if you could compile JS to a small and fast machine code binary. Deno has a `deno compile` command but I think it just bundles a copy of Deno with your script into a single file. I just tried it with a "hello world" script and the resulting file is 79 MB.

>>109151858
That looks cool
>>
>>109151557
its forte is that the design is very original, I can see that background being a pain in the ass to download some times, consider using a modern image format that compresses the size to the max leaving the resolution and detail mostly intact
I'd also consider adding a "media" link with videos and pictures of the band as well
maybe experiment with a more compact and small font on the red text, probably with abetter balance between height and with, I'd do the same for the other fonts in streaming download, etc
other than that it looks alright
take it with a grain of salt since design isn't my forte
>>
>>109153999
hi thanks, the font suggestion sounds like a good idea to give it some space. i originally had a media tab, you are correct though. maybe ill combine the lead sheets/chart tab into a media page.
>consider using a modern image format that compresses the size to the max leaving the resolution and detail mostly intact
the background is two images, the background "noise", a blue filter over it, and then an .svg file of the white sketch taken from the future album cover. i could play around with converting the noise background to .webp and the sketch to .avif. i have not given optimization much of a thought at this point.
>>
>>109154364
the bg is probably going to weight a ton (relatively), so you could experiment with different formats and compression ratios... google lighthouse can do that nativeli iirc, simulate different types of connection, don't mind anything less than 4G, but above that you should consider
>>
>>109154393
>>109154364
well now that I think about it, moble version will probably be fine by loading just a fraction of that whole bg, so you might as well adapt that with a mobile specific bg, because as you understand, they won't even see most of the bg that is huege, so no point in forcing them to load all of it to show only a small fraction of it, take advantage of it, try to approach the site in a mobile-first implementation, nowadays it isn't an option anymore, but a must. since most visitors come from mobile
>>
>>109154418
ill have some time to play around with that tomorrow. and yes, the mobile site will forgo a focus on the background and instead act a landing page for streaming/tour info. thanks again, very helpful information.
>>
>>109139771
I've worked with loads of frameworks and libraries, and what I've learned is: Just use pure JS unless you absolutely need code from someone else. Other people can't code for SHIT.
NO you don't need a serverside rendering API for your stupid little form-website, you can just deliver pure HTML, CSS and JS and you'll have a website that runs faster and more reliable than 90% of the web
>>
>>109154704
>unless you absolutely need code from someone else.
99.999% of the cases, a company isn't made of 1 lone dev, and not many people can afford to be self employed
>>
>>109155213
I meant, code for timezone calculations for example, I wouldn't want to write that shit. But for the vast majority of cases, self written code is better than 'official libraries' unless you're a retard
>>
Slopbros, we got too cocky

https://archive.is/woBwZ
>>
>>109155734
I figure a timezone calculator might be more complicated than +x time, in my country for example it changes time 2 times a year, I figure there might be even more bizarre things happening in other countries as well, not to mention that you have to a count for a good amount of countries, it's quiet the effort I'd say
>>
>>109156344
Yeah, that's what I mean, I would use a library for that. Or geocoordinate calculations like turfjs or proj4, sure. But stuff like react, angular, GraphQL etc are an absolute clusterfuck of pointless abstraction
>>
>>109156629
kind of agree 2bh
>>
>>109156629
How do I implement the UI = f(state) pattern without React and friends?
>>
File: file.png (1.79 MB, 1935x2000)
1.79 MB PNG
out curiosity what is the longest you guys spent working for a company?
Found out last Friday that I'll be laid off and this has happened with some frequency throughout my career, apparently I am good enough to be hired but not good enough to be kept around. Worst of all is that this was a good paying job for me and I am kind of tired to always be left out when a company needs to cut costs.
Not only that but getting a job seems to be getting harder and harder, last time I spent 7 months unemployed. Maybe I should become a full stack developer instead of just front end.
>>
>>109157209
Explicitly. X happens? Change ui to Y. It's much more deliberate, MUUUUUCH easier to debug, and it performs a million times better because only what needs to happen, happens
>>
>>109157581
How do you serialize and reproduce UI states with this way of doing things?
>>
File: Untitled.jpg (38 KB, 672x336)
38 KB JPG
Okay what do you think about Java backend vs PHP backend. I tried both. Do not advice Node.JS its ugly. Whats the trends?
>>
>>109157845
It's not that hard, honestly, you have a multitude of ways to do this. Depending on your needs, those could even mimic some of the ways react works, without fucking up performance, keeping separation of concerns and debuggability. Also, your shitty little website probably doesn't need all that much of serialised state.
>>
>>109158072
Is this AI? This post reads like an AI reply that was put through an ESL filter
>>
>>109158117
what's an ESL filter?
Also, AI would tell you the same shit uni told me - that you should never write your own code if a library exists. Fuck that, libraries have wasted so much of my time
>>
>>109157215
post more booba and *maybe* i'll respond with an answer
>>
itt we post glowware https://github.com/losfair/zeroserve
>>
File: pyton.jpg (82 KB, 1131x975)
82 KB JPG
Is this true?
>>
>>109157972
Please tell me you're not still using Windows 7
>Okay what do you think about Java backend vs PHP backend
Use whichever you prefer

>>109159201
I've barely used Python. I just had a go with it and it seems that too much whitespace didn't cause an error, but too little whitespace did cause an error.
>>
>>109159201
Idk pham, no brackets alone triggers my ptsd
>>
Im making my CS degree work. My topic is an appointment web based system. My question is should I make it in next.js or use php symphony ???
>>
>>109158642
the source is yuta_agc
>>
>>109159946
next is more bleeding edge for sure
>>
>>109159946
>My question is should I make it out of diarrhea or vomit?
>>
>>109159752
>Please tell me you're not still using Windows 7
what's wrong with it? It just works.
>>
>>109160133
better alternative?
>>
>>109159946
consider using next + Golang. top tier for meta imo
>>
>>109160133
top lel, ur the crazy making BEs with C++ right? tell us about it, no diss
>>
>>109160135
>Extended support ended on January 14, 2020
>some embedded editions had exceptionally long support or until October 8, 2024
It doesn't get security updates now. Anybody using Windows 7 should move to Windows 10 or 11, or install a reputable Linux distro. Windows 10 gets security updates until October 2027 (over a year away) but you need to jump through some hoops to enable them:
>You can enroll in ESU in one of the following three ways:
>At no additional cost if you are syncing your PC Settings.
https://www.microsoft.com/en-gb/windows/extended-security-updates
>>
>>109160170
For a CS degree? Django
>>
>>109160135
It does just work until one day you boot it up and its extremely slow, open task manager and you see CPU pegged at 100% for no apparent reason, and it never goes back down. Could be because I was pirating stuff from rutracker, but still.
That's what happened to a Windows 8 installation I had recently.
>>
>thinking...
>the project has zero tests the only test file found is the project template default
>>
>>109159752
>Please tell me you're not still using Windows 7
No thats 8 yo screens.
>>
>>109160529
Testing is faggotry...
It just works i say.
>>
>>109159946
ASP.Net + Razor Pages
Easy templates and a strongly typed language, you can't go wrong. Plus .NET excels at this sort of business application.
>>
File: 1772120940854779.png (350 KB, 667x460)
350 KB PNG
WHERE JOB??????!!!!??!?!?!?!?!!
I AM 104 APPLICATIONS IN AND GOT ONLY GHOSTED AND REJECTTEDDDDD
FFUUUCCKKKKKK AAAAAAAAARRGGGHHH
>>
>>109161298
>it won't be easy
>it isn't guaranteed
job market's very bad
>>
>>109161298
Basically the world is completely fucked
>>
>>109140671
PHP is awesome I love stuffing 5 different languages in the same source code file
>>
File: 1762131747661665.png (254 KB, 1080x567)
254 KB PNG
>PrimeVue drops MIT license, paywalls Chart & Editor, and requires a license to upgrade to v5 ($599/dev for first year, free only for small teams)
I don't feel so good
https://primeui.dev/nextchapter
>>
>>109161839
>https://primeui.dev/nextchapter
Lol does anyone else's CPU get pegged at 100% when that page is open?
>>
File: 1758167631398426.png (37 KB, 601x213)
37 KB PNG
>>109161868
uhh nope
>>
>>109161298
I'm this guy>>109157215
shit fucking sucks. Might even consider just leaving tech in the future.
>>
bunupu
>>
>>109163506
We are sinking again!
>>109161298
>wordpress developer
>116 candidates
>>
>>109164148
>>116 candidates
that's actually a pretty low number.
today I went on linkedin and a few job postings had more than 100 applicants after maybe an hour or two.
>>
>>109161839
More of a vanilla CSS guy myself
>>
File: Zminok18.png (6 KB, 400x51)
6 KB PNG
>>109161891
It literally burns all four cores, what the hell? Does it pick random clients to start crypto mining from?
>>
File: net.png (158 KB, 1260x1012)
158 KB PNG
ASP.NET niggas BTFO
>>
WebGPU looks interesting, I might see if I can get it working on Linux, apparently I'll need to start Chromium with a flag or use Firefox Nightly because Linux support is not as far along as Windows and MacOS support
>>
>>109169732
Okay it didn't work in Chromium for me but it does work in Firefox Nightly, because I was able to run the samples here: https://webgpu.github.io/webgpu-samples
>>
>>109168400
The alternative being?
Shit like PHP has equally short support cycles and updating that is a much greater hassle.
>>
>>109169879
>The alternative being?
Dunno. ASP.NET seems alright I guess. I just wanted to post a bit of news I found.
>>
File: the WEBSITE.png (1.48 MB, 1672x941)
1.48 MB PNG
>>
File: image5.png (285 KB, 1896x1068)
285 KB PNG
damn sonnet 5 is bad
>>
>>109173408
I dislike this look, but I want someone to make this for nostalgia reasons. It would be quite challenging to make this compared to modern designs with flat colours and gradients.
>>
Do companies actually use (((Bython))) or is it just facebook cope? every job is php, .net, or java backend. This also applies to typescript, react, and db platforms like supabase i.e. all the jobs want you to code in bootstrap, VanillaJS, and then setup your own PostgreSQL server. Is everything a lie?
>>
>>109174764
>facebook cope
I meant Meta*
>>
>>109174764
Some companies use Python and Django. But yeah in my area the most common tech for junior web dev jobs seems to be PHP or .NET.
>>
>>109165430
>today I went on linkedin and a few job postings had more than 100 applicants after maybe an hour or two.
Yeah I see this all the time, I am guessing that at least 80% of those applicants are in India. Not that I have anything against India, but they just have so many aspiring devs who are willing to work for low wages.
>>
>>109173408
damn I wish that was real
https://github.com/aurora/ links to a german chap who likes unix, but there's no frutiger aero :(



[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.