[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

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 applications are now being accepted. Click here to apply.


[Advertise on 4chan]


File: AROS_2.png (972 KB, 1024x1024)
972 KB
972 KB PNG
GO won.

>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

>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: >>106440500
>>
what do anons think of fonts? i was trying to find a good font for english and japanese but it's quite hard and fonts are kind of retarded and hard to understand
>>
>>106529541
Fonts are unironically bloat
>>
>>106529725
it doesnt help that default fonts are shit and utf8 exists
>>
There's been a supply chain attack on NPM but it looks a bit dumb:

https://www.theregister.com/2025/09/08/dev_falls_for_phishing_email/

Apparently you can run this in an NPM project directory to check if you're affected (you must install ripgrep first - all this is doing is searching files for a hex value found in the malware):

rg -uu --max-columns=80 --glob '*.js' _0x112fa8 


Source: https://github.com/chalk/chalk/issues/656#issuecomment-3266880534

The malware looks a bit dumb. I think it only works in a browser. If I understand it right, a dev would need to install one of the infected packages, then bundle that into their front-end or browser extension, which would then have to be published and downloaded by users. Then a user would access that front-end or use that browser extension on their own machine. Then if that user tries to initiate a crypto transaction, in a browser tab where the compromised JS is running, the compromised JS will try to intercept that transaction and redirect it towards an address owned by the attackers.
>>
somebody make a new thread and report this one for literal furfaggotry
it is often that OP is a fag, but in this time it is off the charts
>>
>>106530578
You can make a new thread if you want. Or I can but not right now because I'm doing shit
>>
Can free Cloudflare tier cache my shit from S3?
>>
File: 1321692356955.png (519 KB, 969x541)
519 KB
519 KB PNG
Why are these threads so dead?
>>
>>106532043
Because we're all busy making the next Facebook
>>
File: Spot-UV-Packaging.jpg (303 KB, 2048x1463)
303 KB
303 KB JPG
Is there a way to "varnish" things with CSS?
Like I want things to glow but the glow has to be relative to -- for example to the position of the mouse or or the object on the screen.
I assume vanilla CSS can not do this and some javascript will be needed but I'm not sure how to start with this.
>>
Why is there so little info/videos on cloudflare R2?
>>
>SEX WITH AROS KITTY
>SEX WITH AROS KITTY
>>
>>106533585
tsmt
>>
How do you approach validation in Go? I have a HTML form and I show the user errors. Before I pass input to my service later I do simple validation making sure fields aren't empty or retarded values. But in my DB I have FKs, UNIQUE, NOT NULL, and other constraints. What's the most idiomatic way of showing those errors to the user in Go?

Currently in each INSERT or upsert I check the returned code and classify what constraint it is. Problem is usually I don't know what constraint is violated.

What I have done so far is create in my repo generic errors: ErrConstraint, ErrNorNull, ErrFK, etc. And in my service layers depending on the repo error I return something like ErrBadTitle which my handler then goes and sets a map of errors "title" to something like "Title already in use". Any advice because this seems stupidly over complicated. I'm considering just wrapping errors and show that to the user, but they can look ugly (unless I create a helper to format the wrapped errors into something presentable, any advice?)
>>
don't bump this thread, report it and make a new one



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