[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 / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: flask-horizontal.png (14 KB, 618x200)
14 KB
14 KB PNG
*** 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 (go to the "See also" section for other Mozilla approved tutorials, like The Odin Project)
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://flexboxfroggy.com/ and https://cssgridgarden.com/ - Learn flex and grid in CSS

>Resources for backend languages
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

>Staying up to date
https://cooperpress.com/publications/ - Several weekly newsletters for different subjects you can subscribe to

>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: >>103130660
>>
>>103203186
Based. Love Flask, it was pretty fun to work with last time I made something in it.
>>
How is it in modern .NET land?
>inb4 microshit
Yeah, I'm aware, but how's the developer experience?
>>
Luv me flask. Simple as
>>
>>103203209
>fun
that much? tell us more
>>
>>
>>103203313
>dx
Probably very good. But I still chose JVM and I don't regret it. I hate M$ and almost every single one of their products. Plus I work in Kotlin now and it's like a gift from God.
>>
>>103204813
nta, explain fucking bean factory to me
>>
I'm still messing around with Go and WASM because I think it's interesting

Have any of you used WASM for anything? I guess it's only worth it if you're doing some heavy computation in the browser, like video processing or something like that. I think WASM is faster for that kind of thing. But for DOM manipulations I think native JS is faster.
>>
>>103204866
It's the interface you use to interact with the IoC container. 99% of the time you will not have to use it directly, because Spring will inject stuff for you automatically.
>>
>>103204946
;_;
>>
>>103205059
I would recommend you to learn Quarkus, since it's a bit more straightforward with better DX, but there's not much jobs for it last time I looked.
>>
b
>>
>>103207157
necrobump?
>>
>>103207338
>necrobump
This isn't a forum old man. Also, the thread is usually active
>>
>>103207389
>This isn't a forum old man.
have read "necrobump" in 4chan before, not too long ago actually
>>
Why ppls still use vite/webpack to build react if nextjs can also bundle vanilla/csr?
>>
>>103203186
>get first full-time position
>$45,000/yr. no 401k, shit holidays
>Have obese boss that is constantly in a miserable mood, being passive aggressive and sarcastic as fuck.
>Ask for a raise
>Didn't happen.

I have the worst possible job as a developer right now. I can't stand this shit. Should I quit?
>>
>>103203209
Flask is bad. If you're making a real webapp, use Django. If you want something quick, use bottle. If you want to make something quick and have high IQ, then use CGI scripts
>>
>>103203396
this is for you too >>103210482
>>
>>103210482
>CGI scripts
Retirement is that way old man
>>
>>103210143
How long have you been there? What is the job market like in your country? If it's shit or you're already >8 months then I'd just stick it out for a full year just to get the experience. If it's less than 4 months so far, I'd just cut and find a better job. If you're in the 4-8 month period, use your judgement about how hard it will be to find the next job in your local job market, it might be better to just stick it out a year, because a year's experience really is a differentiator. I never hire people who work a few months at a time some place, so if you do cut and run then I'd probably just leave it off your resume maybe
>>
>>103210518
CGI scripts are absolutely amazing, you can combine bash, python, and all the CLI tools on your system into a single CGI script.
>>
>>103210523
It's been over a year. Like a year and 8 months. I asked for the raise after a year, but nothing. This is USA btw lol.

The job market in my area is shit for developers. I'm thinking to just give it up and do something else.
>>
>>103203186
Why use Flask when you can use vanilla PHP?
>>
File: tits.png (2.48 MB, 1440x1440)
2.48 MB
2.48 MB PNG
Question to people who have a job.

I recently got a Full Stack position and honestly i feel out of my element. Anyone else has this feeling? We code in Nuxt.js and it's a high level of abstraction. I like my job but i feel like i miss a lot of basic fundamentals, especially with CSS and some JS stuff.

What is the best way to catch up/remind yourself of basics without doing entire entry-level guides, docs, MDN etc. again?
>>
>>103212784
>abstraction
Next.js
typescript
javascript
browser js interpreter
C++ layers of browser
calling system functions in C
C translates to asm
asm compiles to machine code

YOU WILL NEVER BE A COMPUTER SCIENTIST
>>
>>103212784
>how do I learn the basics without learning the basics
You can't. If you truly wanna be geed and feel confident at your job you gotta put in the work.
>>
>>103210692
nta, imo, just keep on wagieing and apply to better positions, pretty sure you're more attractive to the job market as an employed dev than an unemployed one, before you do though, make sure you look for good excuses for why you wanna leave that won't get you filtered by recruiters or interviewers
>>
>What is the best way to catch up/remind yourself of basics
Do not rely on any of that stuff, because web dev is fundamentally flawed.
Here is some valid typescript for ya.
const arr = [0,1,2]
let num = 0.5
let nice = 69
arr[num] = nice
arr.forEach(console.log)
console.log(arr[num])
>>
>>103213559
$100k starting
>>
>>103213559
>arr.forEach(console.log)
so the console.log somehow knows that it has to log the number in the array, I assume it's some kind of short hand, how come, where can I read about this specifically?
>>
>>103213929
>*** Please be civil, notice the "Friendly" in the thread subject ***
>>
>>103213559
Arrays are objects, you should know this by now

Also I think JS is a pretty good language, it's easy to use.
>>
File: windows.png (462 KB, 887x499)
462 KB
462 KB PNG
Is there a very lightweight webserver and SQL engine that I can bundle together with my game?

Instead of making a custom save system I was thinking it would be nice if I could just use a local database (the game is offline and single player) and have the GUI just be a web site. Both the game and the GUI would use SQL to get info from the local database.
>>
File: ror.jpg (41 KB, 800x614)
41 KB
41 KB JPG
Nothing beats Ruby's ease of use and Rails' scaffolding for beginners.
Nothing bets Ruby's and Rails' productivity for pros.
>>
>>103214295
>lightweight DB
SLQite
>lightweight server
idk really, maybe Go? maybe php + nginx?
>>
>>103214325
I assume you mean SQLite, so it allows bundling?
That's great, now it's just a matter of the web server. Some limited PHP support would be enough.
>>
>>103214361
>I assume you mean SQLite
yes, xD
>so it allows bundling?
idk, all I know it's the mini DB, contained in a file, not fully featured, but it's usually the choice for "you don't need more"
>That's great, now it's just a matter of the web server. Some limited PHP support would be enough.
consider node + express as a choice as well
>>
>>103214314
>Airbnb
>GitHub
>Shopify
These were founded in the 2000s when Rails was popular. Startups these days might use different tech.
>>
>>103214420
>node + express
i have no experience with that, is it possible to make a html+javascript webpage with some content fetched by SQL?

the reason i would like a webserver with something like PHP is just because i know how to make websites so it will save me time not needing to learn anything new. would also be convenient if i could have it supply GUI png images like backgrounds (is that possible with "node + express"?).
>>
>>103214519
>is it possible to make a html+javascript webpage with some content fetched by SQL?
that's every back end + front end combination ever
> GUI png images like backgrounds
there's different ways to do that
1) have the backgroudns already stored in the server
2) just provide the front end the filename of the new png, front end might load "knowing" all the filenames (just have the list already loaded in the front end, just filenames) or making a workaround (fetch the list from BE DB)
3) the front end switches from one background to another
>>
>>103214558
when the user starts the game i want the game to spin up its own webserver to serve webpages, then the game just connects to localhost to display the gui. (there's no remote back end.)

i was wondering if "node + express" is able to achieve that. i don't really know what was being suggested by "consider node + express as a choice as well".
>>
>>103214610
if you know php just roll with it, just know that pretty much every back end is able to deal with that task you're descriving, so you do have a choice of back end if you wanna use it
>>
>>103214722
i was asking for suggestions for how to achieve what i want.
i've noticed that php actually has a built-in webserver so i'll experiment with that. but i don't know if i can bundle the php binaries with my game without breaking their license or something like that.
>>
>>103214769
>i've noticed that php actually has a built-in webserver so i'll experiment with that
it's only meant for development, not for use
>why
idk, but I figure actual web servers like nginx or apache do the same but better
>license
idk about that pham, but doesn't seem like you'd have a problem with out, but again, idk
>>
>>103214797
>it's only meant for development
i don't see the harm in it as long as there's a setting to block all external connections.
>>
>>103214314
Speaking of, did anyone watch DHH's talk from Rails World last month? He basically goes off on the current state of web dev. Wonder if he posts here...
https://www.youtube.com/watch?v=-cEn_83zRFw
>>
>>103214826
might as well use nginx from the start so you don't encounter extra issues from porting from one to another
>>
>>103214943
>that hair
Nigga thinks he's Jesus
>>
>>103215025
>Nigga thinks he's Jesus
>Grails
>>
>>103203396
>>103210482
>>103211164
Have you people never used FastAPI? It's literally Flask but done right, with none of the global variable bullshit, none of the Django AbstractJavaBeanPythonProxyAdapter OOP bullshit, and still remaining pretty easy to use for simple applications. It's one of the least painful frameworks to use in Python, save for the Pydantic cope which is nothing but a half-assed attempt at imitating the type system Ada already had 800 years ago.
>>
>>103215059
Grails is a different thing though: https://en.wikipedia.org/wiki/Grails_(framework)
>>
>>103215098
Yeah i've looked at it. But so far i don't have any urge to switch. I'm not really a webdev and just use flask for my private stuff.
I hope there will be a nice multithreaded application server, now that python has real multi-threading.
>>
>>103215098
what does FastAPI offer that Flask does not? I recall Flask being simpler to use and thus comfier.
>>
>Want to get remote job 5 years ago
>Online tests to verify your expertise are somewhat common
>Do well in those tests, receive response from recruiter in a few days
>Want to get remote job now
>Online tests are gone because of AI cheating them
>No recruiter gives me response whatsoever
Fucking hell.
>>
>>103216968
wild time's we're entering and nobody saw it coming until 2022
>>
>>103214256
>>Arrays are objects, you should know this by now
>try to do the smartass reply
const arr = [0,1,2]
let num = 0.5
let nice = 69
arr[num] = nice
arr.forEach(console.log)
console.log(arr[num])
arr['fu']=420 // type error

typescript "knows" that arr is an array of numbers. Hence it accepts numbers as an index. But only integers are valid as an index. Non integer numbers will create properties on the "object" that is the array.

All nice and shit. TS is a "superset" of JS after all, so all valid JS code is valid TS code, right?
Right?! But then also TS
>Not so fast, you ain't gonna access that non number property on this array bro

So tell me, why is TS - an extension that is supposed to make things strict - still such a bitch?

The answer is, because the web is flawed.
>Also I think JS is a pretty good language, it's easy to use.
I never said it was not. I said it was flawed.
>>
Does anyone have experience with running libSQL in production? I'm considering switching over from PostgreSQL to libSQL for my little SaaS app, so that I can have one database for each user (for performance and security reasons).
>>
>>103217154
>so all valid JS code is valid TS code, right?
>Right?!
Right. The standard TS config have some restrictions by default, but you can disable them.
>>
>>103217348
nta, but
>tfw I didn't know this back then
>tfw dealt with some js restrictions I didn't even know the source of or the format expected
still made it work though
>>
>>103217154
Everything is flawed. If it really bothers you then why not submit a PR to TypeScript so that it allows you to use strings as indexes on arrays.
>>
JavaScript made me like functional programming. The language has its quirks but its actually not as bad as people make it out to be.
>>
>>103215619
>I hope there will be a nice multithreaded application server
You can use uvicorn for this, it assumes you're using async for everything which is easier in FastAPI.

>>103216254
It's better designed. No weird global variables, uses Pydantic which does catch more bugs than just mypy alone, automatic Swagger docs, injecting middleware is easier, a more explicit way of handling parameters for a route, integrates with async out of the box, and a few other things I might be missing.
No point in migrating personal Flask stuff, but also there is no point in starting new Flask projects when FastAPI is less painful to use.
>>
>>103215619
>>103216254
Everyone who uses Flask is someone who has never needed to put something in production with it.
>>
>>103215098
Django isn't some OOP mess, not sure why you think so.
>>
>>103216968
>>Want to get remote job 5 years ago
>>Online tests to verify your expertise are somewhat common
>>Do well in those tests, receive response from recruiter in a few days
>>Want to get remote job now
>>Online tests are gone because of AI cheating them
>>No recruiter gives me response whatsoever
>Fucking hell.
Oh shit I didn't realize this, fuck I haven't had to pass or give a test since chatGPT came out, it didn't occur to me that any test not completed in front of your eyes is completely moot now.
>>
>>103218870
javascript is bro-tier "scripting" language, it lives in your browser, it's always there to catch a one liner or two
>>
>>103214314
both ruby and rails are dead.
i'm busily looking for the next stack to jump to, because ruby and rails job numbers just aren't there.
>>
>>103219787
Everything now is either django or laravel
>>
>>103218947
I guess I'll have to look at these global variables alternatives. What are they called? They replace App Context and Request Context data?

>async
For that, there is Quart

>>103219152
Wrong. We use Flask in production at work, and I use it in production hobby projects.
>>
>>103219172
It is relative to other Python frameworks
https://docs.djangoproject.com/en/5.1/ref/class-based-views
>>
File: wrong. dot png.png (105 KB, 620x720)
105 KB
105 KB PNG
>>103219941
>Wrong.
this is how you redditards look every time you start a post like that
>>
>>103219941
Yeah, they are simply parameters in your routes, so you don't have the weird
with app.app_context()
cope while unit testing
>>
>>103219787
Rails is not dead, it's just a relatively small community. There are some companies that still depend on Rails like GitHub and Shopify.
>>
>>103220130
>seething over a word
>>
>>103220382
the word is nothing but a signal of the underlying problem. you don't have to start a post with "i'm right and you're not" right off the bat. simply state the fucking thing, and accept the other person might have missed some info
>>
>>103219927
That must be why I work for a company that did everything in .NET
>>
>>103220488
>I work for a company that did everything in .NET
nta, how's that for a job?
>>
File: 89443 - SoyBooru.png (38 KB, 183x125)
38 KB
38 KB PNG
>>103220130
"You are incorrect". Better? Seethe and leeve.

>>103220153
okay that might be comfy?
>>
>>103220608
read >>103220475 you condescending redditsoy cunt
>>
>>103220528
it's okay. nothing to call home about, pays a very average salary, workload is slightly average, .NET has useful things like entity framework and it's possible to code in a way that's not reminiscent of the java curry hell. most mid thing i've ever used, can't say i either hate it or love it
>>
>>103220850
workload is slightly above* average, that is, i've had easier jobs before but they also paid less
>>
>>103220250
it was always a "small community" but, in my country, ruby job numbers have definitely dropped hard. they are barely above perl.
that someone relies on it, doesn't mean they are hiring, and it doesn't mean that new development happens in it either. it can be legacy or deprecated, like anything else.
>>
>>103220475
>>103220829
You're an idiot

Stop seething over a single word
>>
>>103220850
thanks for the insight pham
>>
>>103220919
ok reddit
>>
>>103221028
based newfag trying to fit in
>>
>>103213739
I'm just visiting this thread, never written a line of JS in my life, but that seems pretty normal. forEach is accepting a reference to a function that it will call "for each" of the elements in the array. So for each element in arr, it will call console.log and pass the element as the first and only argument.
The only thing weird about that code is indexing with num=0.5, but I guess that gets truncated to 0 in an 'int' context.
>>
>>103220829
you were condescending first
>>
The Apache Airflow project took 5 years to move from version 1 to version 2 because they used Flask instead of django
>>
>>103222179
django would have taken 10
>>
I'm bored so I plan to build a blog from scratch, but to make it interesting I wanna handle the backend in a language I've never used like Go. Is there anything in particular I should keep in mind for architecting a proper blog or is it just the usual CRUD with authentication.
>>
>>103219787
> job numbers
do you guys live under a rock or just live in China or Latam?
the entire tech job market in the west is dead, especially US and Canada. Webshit is dead. It's saturated as FUCK and the job growth has slowed down to a halt.
Might as well use a tech stack you truly like.
>>
>>103221028
He thought a statement was technically wrong so he said "wrong". I don't see why you have a problem with that.
>>
>>103223382
nta, let me give you some insight
1) wrong, is a trump meme
2) the dude got triggered due to ptsd from antagonizing the trump fan hordes
3) wrongposter might or might not have done it with that intent
4chins somehow manages to become worse every day
>>
>>103222297
10 minutes you mean.
>>
>>103223654
>wrong, is a trump meme
Actually "wrong" is just a word in the English language
>>
>>103224035
no shit sherlock
>>
Learning about concurrency and generics in Go

It's cool how easy it is to do work on all CPU threads if you want

c := make(chan any)
numCPU := runtime.NumCPU()
for i := 0; i < numCPU; i++ {
go doSomething(c)
}
fmt.Println("Running...")
for i := 0; i < numCPU; i++ {
result := <-c
fmt.Println("Result:", result)
}
>>
>>103224102
So maybe he didn't mean anything political by saying "wrong"

Instead he's just saying that it's wrong that nobody uses Flask in production
>>
File: modernBackend.png (141 KB, 474x364)
141 KB
141 KB PNG
y we dropped them CGIs?
>>
>>103224366
>>103223654
>3) wrongposter might or might not have done it with that intent
read nigga, read
>>
>>103224125
>:=
kinda like this, its a cute skull
>>
>>103224709
they didn't want us to get th $
>>
>>103224809
good one.
But seriously, what really is the difference if even "modern" backend frameworks still have no concept of typed search params? Or do they? At least express does not seem to have sane types.
>>
>>103223654
Wrong.
>>
>>103214943
>program rails, many years ago
>easy backend shit, really enjoy it
>*BOOM*
>new version, they introduced webpacker javscript shit
>gems everywhere, now yarn everywhere, turbo, lurbo, hotwire, cumbuckets all
>i dont know whats what anymore
>tell my coworker "bro im sticking to backend you can enjoy this spagetti all by yourself"
>some dev sends email out that now it's 5 different ways to install bootstrap in rails, asks for help how to get rails to understand that bootstrap now lives in yarn
>deployment is finding random scripts on github and write fat ansible scripts
>"man it feels like i'm deploying cancer every time i spool up a dev server"
>ansible was last edited 2 years ago, no one knows what will happen if main server dies and we have to deploy again, or god forbid the one that wrote the spagetti dies in a car crash.
>rails app is old and a few versions behind, which means no one wants to upgrade it because last time this was done everything went to shit with gems versions conflicts. its easier to extract the code from old rails and paste it in a new rails project.
>"rails is basically an operating system with a dev framework, im just waiting for gnu coreutils to be added to rails console so i can use vim and tmux there"

rails 4 was peak comfy, is rails 8 the same?
>>
>>103223382
>He was not sure about your real intentions so he started his post with "Maybe, just maybe". I don't see why you have a problem with that
>He thought the other person was being rude so he said "try being a decent human being". I don't see why you have a problem with that
>He thought your post was nice so he said "wholesome". I don't see why you have a problem with that
lmao
>>
>>103224709
Every HTTP request spawned a new Unix process with CGI which was computationally expensive. That's why mod_perl which reused the same process per request was such a huge revelation at the time (which was 20+ years ago).
https://perl.apache.org/
>>
>>103224125
This thread must have the programming thread with the lowest IQ in the entire board. It feels like I am reading a 14yo discover loops in Javascript.
>>
Got two questions about Vue.js. I learned the majors concepts of it but now I'm wondering two things:
- Is the use of a build tool like Vite mandatory (in the way that you'd want to use it if you're doing real pojects). Also wtf is Vite compared to Vue-cli?
- Can I get a recommendaitons of libraries and cool tools for Vue.js and fronted deving in general. I'm a backend fag and I need to learn frontend for my current post.
>>
>>103225331
Web devs have the lowest IQs, but we get shit done and break things sometimes but create tons of customer value.
>>
>>103224799
The triggered guy may not have been triggered due to Trump

>>103225073
Keep seething
>>
>>103225201
So shit got fixed? And after shit got fixed people thought:
>now that performance is not an issue anymore - let's use JS on the backend
Really?
>>
>>103225331
IQ and knowledge are two different things, but you're too stupid to understand that
>>
>>103225777
So do prostitutes.
>>
>>103224915
>typed search params
wus dat? I might know them by other name or not know them at all
>>
>>103226078
so does ur mom
>>
>>103226156
>>103224915
I see now, I doubt express doesn't have a library for just that f.e.
you just made me realize I've never implemented an autocomplete search
>>
File: images (4).jpg (19 KB, 739x415)
19 KB
19 KB JPG
Flask is for fags. Express is for chads.
>>
>>103225823
Wrong.
>>
>>103226256
IMO it's yet again an important flaw that does not get addressed properly anywhere. You basically have to account for insane shit when parsing that stuff. '?skip=0x69' will return the _string_ 0x69, which will happily be parsed by parseInt(s, 10). So will skip=NaN which parseInt will parse as NaN and 'skip=1000000000000000000000' which will be parsed as 1, because MAX_INT...
You are basically forced to use a regex to parse search params and IMO that should not be the case in 2024.

Somebody correct me if I am wrong.
>>
>>103225777
>customer value.
how hard were you brainwashed by your kike boss to say this on an anonymous board?
it's fine, anon, you don't have to pretend you care about the uber of CRUDs here.
>>
>>103223745
1e10 minutes
>>
>>103226777
try getting a job or a business and not producing any money with it
>>
>>103226512
Don't think so
>>
File: deno.png (20 KB, 884x294)
20 KB
20 KB PNG
>>103226283
Thoughts on Deno 2?
>>
Any of you used Bun? Is it worth checking out?
>>
>>103227254
Wrong.
>>
>>103229481
I don't think I am
>>
>>103227301
pretty gud but just using it for scripting tasks

>>103229167
feels too beta for me, partly because it uses Zig, but just purely from a marketing branding perspective having the identity as "X, but faster" isn't going to last. You need reasons for people to use your runtime (like their first-class SQLite driver and postgresql driver they're building). Same goes for Deno, which I think they communicate well with the emphasis on security features, but at the same time because of those features Deno would probably skew towards enterprise.
>>
So I have a need to build a rest API, which must return XML instead of JSON for a substantial number of endpoints.

In the modern day, whats the best language/framework for doing this? I know python and rust but I am open to learning any language for this purpose, and appreciate that the tooling might not be great with whatever solution I go with.
>>
>>103230187
honestly doesn't really matter IMO, just use what you're most comfortable with.

At the very minimum you should use a framework that does routing, and maybe a MVC framework if it involves a bunch of routes/models like what you describe just so that you can leverage features like access control & middleware easier. Most MVC frameworks don't have built in xml support, but you can always install a third party lib:

Rails (has built in XML support): https://guides.rubyonrails.org/layouts_and_rendering.html#rendering-xml
.NET (has builtin support): https://learn.microsoft.com/en-us/aspnet/core/web-api/advanced/formatting?view=aspnetcore-9.0#add-xml-format-support-2
Laravel: https://github.com/mtownsend5512/response-xml
FastAPI: https://github.com/cercide/fastapi-xml
>>
>>103230345

I'll take a look at FastAPI. Thanks for your help!
>>
>>103225020
rails 8 is dhh pushing what he needs for 37signals' push to deploy on their own physical hardware, and a bunch of not-invented-here replacements for stuff that was previously there or previously provided by someone else, and a strange push for sqlite.
webpacker has been thrown out. looks like, by default, nothing is pre-processed.
>>
bump sirs
>>
File: logo.png (34 KB, 642x360)
34 KB
34 KB PNG
>>103227301
that logo sucks.
it's quite literally a braindead, monogoloid dino that cannot spell it's name correctly. what else do you need to tell everyone that your product sucks?
>>
File: 1716524316042980.jpg (28 KB, 604x453)
28 KB
28 KB JPG
I want to do some freelance work (yes I know the job market is dead and oversaturated, whatever) and I'm wondering if I should even bother with learning full stack development when "nocode" platforms are a thing now
I already know basic front-end dev, but is there a reason why I shouldn't learn something like wordpress, bubble, weweb, xano instead of being a full stack developer?
>>
>>103233738
Yeah it depends I guess what kind of work you're wanting to do. If you're doing freelance work for the everyday business that wants a quick site up and running you probably should set them up on some shitty nocode platform or wordpress.

But if you intend to actually work in a dayjob you're probably going to be doing web dev shit that involves working with programming languages and frameworks. The wordpress/nocode shit doesn't really transfer to these kinds of jobs.
>>
>>103229541
Wrong.
>>
>>103227040
>try getting a job
i already have one and i don't parrot this customer value nonsense because i don't get paid more if there are more le satisfied customers. i get paid to do my job.
>>
>>103234030
Yeah I want to focus on freelance. The nocode thing seems to be booming since 5-6 years, even for more complex SaaS, so it doesn't seem like a particularly wise choice to spend a year getting very good at JS, frameworks, Laravel and whatnot.
Although I'll probably learn JS anyway for plugins and more complex UX/UI stuff
>>
What's the best way to come up with tiny project ideas for the sole purpose of training my layout skills and maybe MAYBE some JS. My problem is that I'm a backend fag and whenever I need to make some interface, it's like I'm learning from scratch. Can't even comprehend how this inline/block thing works.
>>
>>103233738
The primary selling points of a fullstack website service over self-service websites is SEO, lower monthly costs, and quick maintenance/updates without much consumer interaction. Also, you have to be aggressive in self-advertising. I mean cold calling random local companies and offering them websites. One thing I did when downbad for cash was create a program that uses the google maps API to list local companies without a website, and I harassed them on and off for cheap contracts.
>>
>>103234202
>SEO
I mean can't you optimize SEO even with wordpress?
>quick maintenance/updates
Again I'm not sure why doing everything in code would make this easier, on the contrary no?
>self-advertising
Yeah I dread advertising on linkedin especially
>>
>>103234225
I'm just saying these are the marketable things. Sure, ma_and_pa_shop_958 can optimize for SEO but that's completely out of their FOV, same with populating/writing a website- they are not specialists.
>>
>>103234275
Fair enough
>>
>>103234040
you produce money for them, if you don't you're cooked
>>
>>103234198
1. Build a basic layout
2. Build a more advanced one
Now you know CSS
>>
>>103234198
>>103234369
also use flex or grid, disregard old approach unless you absolutely need it (you don't)
>>
>>103234660
>>103234369
>>103234198
mdn and csstricks will guide you
>>
>>103234035
Which part of my post was wrong then?
>>
>>103234369
Wrong.

>>103234660
Wrong.
>>
>>103234951
Thanks
>>103234660
Well about flex and grid, should I use a combination of the two methods or pick one depending on the use cases?
>>
>>103229167
yeah i run a drizzle http proxy on it in a container, works great
i used to have one-off ts scripts using it, but i ended up swapping those over to tsx so all deps are contained in node_modules rather than requiring another pm
>>
>>103235347
if flex gets it done then flex, if flex can't cover it then grid, perhaps you're better off picking up grid right away since it is more capable, but more complex. don't forget media queries as well, for mobile to desktop responssive. if you're aiming for hirability, consider mobile first approach since it's something manager types love to hear. the whole web has more mobile users than desktop nowadays, things have changed
>>
>>103226519
I'd be surprised if that's not handled by a method that returns an array or object with all the query params 2bh
>>
File: bun_executable.jpg (253 KB, 1080x1052)
253 KB
253 KB JPG
>>103229167
i like the fact that it's so easy to make standalone exectutables with it. Too bad they're like 100MiB though.
>>
>>103226519
just use zod or valibot
>>
Is tailwind really the popular css framework? Too lazy to write basic widgets and doodad shit in css.
>>
>>103235801
tailwind in essence is just pre-made shorter names for normal CSS properties. you will have to know CSS if you want to use it, it's just a bit faster to work with
>>
>>103235801
I'm using ant design because I like being different
>>
What's the fastest stack possible that isn't some autistic nonsense like rust backends?
Vanilla JS (no frameworks) + PHP?
>>
>>103236282
>ant design
they can't even design their web for mobile, major red flag
>>
>>103235869
Oh fuck that then. I already know css. I just hate how fiddly it always becomes.
>>
>>103236357
wdym? mobile.ant.design is poorly designed? I haven't looked into it yet
>>
Windsurf is really fuckin good, especially for unit tests. It's now generate a suite of unit tests for 5 services for me in a row and all of the tests passed first go. When the tests fail, it can run them in its own context and debug the results, then rerun and repeat until its fixed. Has all the cursor features too and it's 50% cheaper with unlimited sonnet calls though I suspect this will change pretty soon since it seems unsustainable. Will probably get a 1 year subscription to shield myself from that.

Writing these many tests would have taken me multiple hours with cursor copy pasting back and forth.
>>
>>103235714
change root name to カチンガ
>>
How do you people who have real jobs actually manage to work? I can't fucking be bothered to code, I already know what to write etc, it's so trivial. And don't even get me started on having to remember how to use some library or framework that I used 5 months ago and promptly forgot everything except for the most important concepts.

Wasted an entire day fucking around trying to get chatpgt to write passable code for some very basic side job I was asked to do; if I just reread the docs I would've been done in two hours, but it's all so trivial and shitty.
>>
>>103236445
I just checked it out now on desktop + mobile inspect element and it looks ok, but that's not how it was looking on my phone at all
>>
>>103237353
re-checked, it still looks fookd up in my brave on mobile
>>
>>103237341
I like when I'm using technology I like. And I dislike when I'm using old or janky technology.
>>
>>103237341
when I'm programming, I'm happy, when I'm doing any other part of my job, I'm miserable
>>
>>103235789
OK, this kinda is what I am talking about. Still, I feel like all of that should be part of the server and/or backend framework.
After having looked over both libs, they seem to be so vast in what they do, when in fact what needs to be done should be trivial.
>>
>>103237353
>>103237383
duly noted
>>
>>103238495
imo express is nothing but using external libraries all the time
>>
i've been using nest cause i forked a library and didn't feel like rewriting the all the logic and it's pretty good, haven't had any major issues
>>
>>103238554
I guess so. The thing is, I have not done backend since like 2009 or so. I used to be really invested in perl back then (and some Java). And I cannot believe that I still have to do all of this crap manually ALL WHILE the default of working with inputs still is that there is no type safety at all.

Like, how are you web people dealing with this crap when something as trivial as an id in a path to a RESTful resource still needs manual parsing?
>>
>>
>NOOOOO THE 20$ AWS BILL IS TOO EXPENSIVE
>Let's spend 10k on a custom server for our static website and pay 100$ in electricity per month.
>>
>>103239585
>our static website and pay 100$ in electricity per month
as far as I know you can do that in a literal raspberry pi
>>
>>103239619
The average web developer doesn't know or care. They see their favorite techtuber advocate for le self hosting and splurge their savings.
>>
>>103239585
t. Jeff Bozo
>>
>>103239619
I've been thinking of hosting a site on a Raspberry Pi, using a tunnel so I don't give away my IP address

But then I think "what if some arsehole on the internet doesn't like my site and tries to find vulnerabilities in the server, which could give them access to my home network"

Maybe it's just peace of mind if I pay a small amount of money to Hetzner instead
>>
>>103239203
LMAO TRUE
>>
>>103239935
surely there's a way to create a sandboxed environment for your server I would think
>>
File: IMG_5643.jpg (502 KB, 1170x1171)
502 KB
502 KB JPG
How is .shtml SO amazing?

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dynamic Content with SSI and CLI Tools</title>
</head>
<body>
<h1>Welcome to the Dynamic Web Page</h1>
<p>This page demonstrates the power of combining CLI tools with HTML templates.</p>

<h2>Current Date and Time</h2>
<!-- Include the output of a CLI tool that provides the current date and time -->
<pre>
<!--#exec cmd="date" -->
</pre>

<h2>System Uptime</h2>
<!-- Include the output of a CLI tool that provides system uptime -->
<pre>
<!--#exec cmd="uptime" -->
</pre>

<h2>Disk Usage Report</h2>
<!-- Include the output of a CLI tool that provides disk usage -->
<pre>
<!--#exec cmd="df -h" -->
</pre>

<h2>Custom Data</h2>
<p>Generate dynamic custom data using a script:</p>
<pre>
<!--#exec cmd="/usr/bin/python3 /path/to/generate_data.py" -->
</pre>

<footer>
<p>Powered by SSI and CLI tools. Try modifying this page to include your own scripts and commands!</p>
</footer>
</body>
</html>
>>
>>103240037
Server-side includes (SSI)? Based
>>
>>103240037
>>103240141
php can do this, express can also do this if you include some rocket surgery, .NET should be able to do this with blazor I guess, java as well if you summon 666 devils by their different names
>>
why is aws so shitty and horrible and slow
>>
>>103213739
>arr.forEach(console.log)
>so the console.log somehow knows that it has to log the number in the array
Yes. The forEach function takes a function as a parameter. It the console log function is called each time with the given param.

>how come, where can I read about this specifically?
Look up currying, and functional programming in general.
>>
Redpill me on php. Is it worth it?
>>
>>103239935
Just get a cheap $15/year VPS
>>
>>103244942
>$15/year VPS
any suggestions anon-sama?
>>
>>103244952
check out the current recommendations on lowendbox.com
>>
Wanting to pay somebody $150-$300 to help me scrape and back up content from a few hundred twitter accounts, I asked on the scraping general but figured i'd post about it here as well

>>103244987
>>103244987
>>103244995
>>103244995
>>
>>103244998
thanks king
>>
>>103203186
any idea why my openapi document from a containerized .net web api app is generated with the server address set to "[::]" instead of localhost? how do I change this?
>>
>>103244196
appreciated anon, thanks
>>
>>103244917
>worth it?
depends on the use case
>>
>tfw u shit and it smells like putrid egga
feels good nigga, btw it'd be cool if jQuery did something about the absolute state of webdev fe
>>
>>103245185
Name five (5) advantages of jQuery over vanilla JS
>>
>>103245013
they got some top tier anti scrape tech. just pay for their API and use that instead
>>
>>103245624
jQuery was (yes, was) so ahead of it time that it effectively defined the features js would have in the upcoming years
also
>vanilla
I can't hear your voice clearly under all those npm bullshitteries you're using
>>
>haven't done frontend shit in months
>always relied on joyUI because it's comfy
>opened up their page today since I need to do some frontend work
>"Work on JoyUI is currently on hold"

Breh, why? What happened?
I guess I will go back to material, but joy was so fucking easy and comfy to use. Material is full of annoying little things.
>>
>>103245922
>jQuery was (yes, was) so ahead of it time that it effectively defined the features js would have in the upcoming years
Okay well then I don't see a reason to use jQuery now

>I can't hear your voice clearly under all those npm bullshitteries
Nobody is forcing you to use NPM
>>
>>103246010
>Okay well then I don't see a reason to use jQuery now
my point is more about contributing to it, just to break free from the npm prison
>Nobody is forcing you to use NPM
my job is
>>
>>103244952
>>103239935
when you sign up to aws you get 1 year of free web hosting
>>
>>103246025
>just to break free from the npm prison
You could use vanilla JS, or JSR (Deno's alternative to NPM)

>>103246150
I signed up to AWS more than a year ago and never used their services because I'm stupid
>>
Got 125 passing unit tests written in a day using windsurf. I didn't have to manually debug or fix a single one of them cause of it's built in ability to run them itself. Just checked if they made sense and were testing what I needed testing and that's it. This is the absolute best tool for writing tests on the market atm + it has all the features of cursor and then some. Making the switch I think.
>>
>>103245803
How would I do that?

If it'd only be a few hundred dollars anyways and it woulg garuntee my ability to do this, I'd be willing to do that, but I'm not a super technical person (I can barely into command line stuff) and I'm not sure if wfdownloader or gallery-dl or other tools have support for interfacing with the official API or how I would do so
>>
>>103247642
>>103245803
I'm looking at https://developer.x.com/en/products/x-api right now.

- When it says "posting limit" and "read limit", what does that mean? If either is the maximum amount of tweets I could scrape then I fear even the basic tier (which is 200$ a month) wouldn't cut it, since there's ~150 accounts at least I want to scrape and there would be a few hundred to a few thousand tweets from each i'd want

- For the basic tier, it says there are "2 top ups". What does that mean, is that like requesting a reset for the amount of crawls I could do?

As I mentioned I'm also not even sure if the tools I have can make use of the official API for crawling content.

Is there any chance I could find somebody who already has Pro API access I could pay to help me with this? Where would/should I ask around?
>>
>>103247763
you can probably still do it with selenium or puppeteer if you obfuscate your tracks enough. the problem is that it takes a good deal of experimenting to get it right. your best bet if you dont want to pay for the api is to look here:
https://github.com/search?q=twitter+scraper&type=repositories&s=updated&o=desc

or use other search terms and filter by most recently updated and then try out solutions until it works. unfortunately it'll probably be a big pain in the ass if you're not a dev
>>
>>103247763
>>103247891
btw you can add me on telegram @zaspacu and i'll take a look and see how long it would take me to get a solution for the accounts you need
>>
>>103247891
>>103247928
> unfortunately it'll probably be a big pain in the ass if you're not a dev

Yes, that's what I'm finding. I'm absolutely not a dev and can really only barely use basic command line tools, if even that.

>telegram

I don't have a telegram account, but my throwaway email is saintseiyasource@gmail.com

Go ahead and shoot me an email, or if you're not comfortable with that, let me know and I'll make one
>>
>>103247973
>let me know and I'll make one
as in, make a telegram account
>>
>>103247973
>>103247983
yeah it would be easier if you made the telegram since it'll be annoying communicating via email
>>
>>103247221
Im actually in awe of how they're using claude too. I just had a pretty complicated issue to fix and it went through no only my own codebase but through the libraries in the node modules folder, understood how they work on the method level and then found the issue in my codebase. This is way beyond what cursor can do.
>>
File: butthole goblin.png (95 KB, 331x390)
95 KB
95 KB PNG
>>103203186
I don't know anything about web development besides experience using Neocities and a little bit of Wordpress, but I do want to say that using anything relating to web development feels like trying to play with a cheap plastic dollar store toy that could break/explode upon the incorrect pressure being applied to the incorrect area, resulting in a few cuts from the resulting shrapnel from a fucking child-powered plastic hand grenade. I feel like when I try to work with web development tools, I'm walking through at least two feet of mud; sure I can make progress, but it's sluggish and feels uncomfortable and unnatural.
>>
File: 1712564054567017.jpg (19 KB, 380x317)
19 KB
19 KB JPG
6hrs ago I sent my client a demo of what she wanted, and she still hasnt responded I AM SO FUCKING BORED
>>
>>103247221
go advertise somewhere else
>>
>>103203186
>>
today I used playwright it's the best tool because yadayadayada, but no, rly, I had fun, used some kind of big ass project structure created by a big brain dud, felt like matrix, thank god for vs code in-project search feature
>>
>>103248977
I'm not advertising anything, this is a thread about web dev and I'm talking about a tool I used. You should kill yourself on the off chance you'll pollute the gene pool with your 80iq nigger genes.
>>
>>103249084
>80iq nigger genes
I'm not the one advertising fucking AI of all things (the problems you work with are literaly newbie tier if AI can produce useful code for you)
>>
>>103210143
mine is worse, mostly the same as yours but for 5k less
>>
>>103249137
You're an absolute idiot and a dogmatic one at that.
>>
I wrote a nodejs backend that does a lot of calculations. Pathfinding and that shit there. Would it make more sense to convert it to Go?
>>
>>103249521
Yes, node is ass but why didnt you do it in go from the start?
>>
>>103249424
Nobody is particularly impressed that AI can shit out 125 "x = 25 assertEquals(x, 25)" test cases in a day, except really really gullible people.
>>
>>103249837
Reductio ad absurdum, par for the course with low iq cretins like you. Stay retarded.
>>
>>103249521
>Would it make more sense to convert it to Go?
just to compare alone, imo, sounds like an exciting project plus "I made it in Go" hiremans will cream their panties
t. never ever even touched go
>>
>>103249837
>>103249853
hey, you two, yeah you disagree, give it a rest no need to autism fight "for your honor", no 4chins isn't supposed to be for this, that's a newfag meme
>>
File: pepe-angry-pepe-mad.gif (9 KB, 220x221)
9 KB
9 KB GIF
AH FUCK I NEED HELP

>>Building a full fledged enterprise app in Flask yes very based
>>sqlite3 backend
>>project is basically done. Adding some final touches

OK time for review

>>But anon can you make it look this way
>>But anon what about an Iphone app?
>>But anon what about x, y, and z

All this stuff is not in my original contract. The people that hired me are smooth brains and know literally nothing about github, python, or digitalocean.

So how do I press these people to fucking pay me already? I'll give them one more week for tweaks but I want my $20k I was promised.
>>
>>103250051
>calling 4cuck 4chins
found the newfag
>>
>>103249424
Hey, this is 'Friendly Web Development General'. Let's keep it friendly.
>>
>>103247983
>>103248009
Is there a way to make one without a phone number? I installed the Windows desktop program and it wants me to use the mobile app to sign in (what's the fucking point of the desktop program then) or "sign in with a phone number".

I also have a keybase if that works for you
>>
If you give a mouse a cookie he might want a glass of milk to go with it!
>>
>>103250344
This, put your balls on the table
>>103250687
>>
>>103250344
you went at it wrong, but its your chance to learn from your mistakes
t. only had (1) freelance gig and it went well but not like I could eat from it.
From having paid attention to such discussions in the board I can highlight a few points.
1. features are agreed, to detail, non re-negotiable
2. you might or might not add free revisions, tweaks, always contained in time and chance, like, I show you the product, change this, ok, (later) also change this, no. The chance for changing is well defined and agreed upon from the start
3. from that point on there IS chance for changing and suggestions, but the price must be paid, your rate is higher from then on and you'll charge for your work, so if they want to play dumb, it'll cost them
4. you offer them an up-front payment 20% discount, just as an attempt to get rid of you know what
>>
>>103251063
Well they have no code, I actually just messaged them and they said this weekend once their new features are done. Guess it's an all nighter for me.

Also, any good mobile friendly CSS classes? I use bulma for my project but is there something better? Fuck bootstrap.
>>
>>103250687
That's why you should encrypt your cookies
>>
File: 1729120378077251.png (116 KB, 500x519)
116 KB
116 KB PNG
Retard here, sorry in advance but I tried "just google it™" and it didn't help. I've got the most basic express server imaginable serving an HTML page and that's working just fine. However, the HTML page is trying to load a js script from a file right beside it (in the same directory as the HTML file) and it's throwing a MIME type mismatch error.

If I have a basic server that serves an HTML file, how should I go about attaching JS files to that HTML file?
>>
>>103252342
>mime error for *.js
Improbable.
Post code & error.
>>
File: probably a path error.png (354 KB, 1920x3234)
354 KB
354 KB PNG
>>103252479
From what I googled, it said it was likely the result of a fucked up path. Here's the code for the server, HTML, and error at the bottom. The error in Chrome clearly says 404 error, which means my paths are somehow incorrect. This confuses me, because they're in the exact same directory as the HTML file. Also the "example.js" file is literally a single console.log line. I was going through the socketIO tutorial on their website and I thought "Hey, instead of writing the script inside of the HTML, I should write it in a JS file, then load that file! I'm gonna need to do that for the tic-tac-toe game I made anyways." Then this happened. I'm kinda shocked that the image won't even load. There's no indication it's corrupt, I've posted it on 4chan before.
>>
File: confusion.png (25 KB, 189x206)
25 KB
25 KB PNG
>>103252694
Also, I should add that I changed the image tag from
src="public\confusion.png"

to
src="confusion.png"


Neither of them worked. pic related is what I tried to display.
>>
https://chromewebstore.google.com/detail/danbooru-tag-grabber-beta/gfpkkkoakcilopgemocjoamibkfcehgf
Hello, I did this simple web extension to copy tags from Danbooru, please if you want to try you are welcome to give some feedback, thanks.
>>
>>103252694
try making sure example.js is in the root of your website and then add / to the start of the script path
<script src="/example.js"></script>
>>
>>103252694
Your server has no routes for files other than public/index.html
See https://expressjs.com/en/guide/routing.html on adding more.
>>
>>103252741
also btw if your host ONLY allows html files, not even images, then you can put the javascript inside your <script></script> tags and use a blob encoded image (makes it part of the html file). the blob can be hard-coded and part of the <img> tag's src
>>
File: static.jpg (122 KB, 880x733)
122 KB
122 KB JPG
>>103252694
addendum to >>103252761
https://expressjs.com/en/starter/static-files.html
May is the shorter version.
>>
File: thanos.png (91 KB, 1061x740)
91 KB
91 KB PNG
https://gist.github.com/StaticallyTypedRice/b4503d567e05721c1c5122b70d5ce41b
>>
File: 1 brain cell added.png (110 KB, 1921x475)
110 KB
110 KB PNG
>>103252821
>use static
I had no idea I had to do that. Thanks for helping me out, Anon.
>>
>>103249557
Because I've been using node for years for everything and did it out of habit
>>
>>103250656
>>103250656
>>103248009
>>103248009
bumping
>>
My navbar adds a little bit of space that triggers the scrollbar to appear
How do I prevent this? it's such a minute thing but it's driving me insane
>>
hello bros
what's the comfiest backend lang? I just wanna have a chill time writing code
>>
has anyone fucked around with the react compiler yet?
my site feels a little snappier but i'm not sure if thats just placebo or not
>>
>>103254909
>react compiler
>svelte is muh compiled
what they refer to by "compiling" has got nothing to do with compiliation. they're merely refaktoring their "transpiled" JS which hosts another runtime which is the framework into another "transpiled" JS which also hosts their framework.
>>
I use AOL for email (yes, really) and a while back it redid it's formatting for sending emails and for whatever asinine reason limited the amount of text color and highlight colors you can pick to a bunch of dull hues and shades

However, you can still copy-paste older colored or highlighted text from older emails into new ones and it works fine, and then type out new text next to it in those older brighter colors

Is there an extension that would let me just apply those colors without going through older emails to find the exact colors I want?

if there's anything I can do in inspect elements or can find in the page source or whatever that would help you anons tell what kind of color formatting it uses to find me the right extension, let me know and I'll do it.
>>
>>103254245
Your content is 100% height?
100% + 2em navbar is bigger than 100%, overflowing.
Hide your shame or distribute the height.
overflow-y: hidden;
>>
How do I get a job or find freelance work with my specific stack? I use mongo, express, alpine, and node.
>>
File: 1729748057973980.jpg (25 KB, 988x558)
25 KB
25 KB JPG
I promise this is the last place I'm asking this. A friend of mine might be able to help me get a job at a company that relies heavily on lowcode and nocode apps. From what I can tell most of their stuff is web related in this way even if it isn't strictly webdev in the classical sense. I was thinking of studying something while I wait for more info. What should I go for? My first thought was Javascript, but maybe there's some other stuff about APIs (REST and whatever the other ones are) that could be useful. Also, are any of you familiar with companies like that?
>>
>>103255840
Dear regarded sirs,
Question the friend of yours in the matters of the tools his employer utilizes. Peruse them.
>>
>>103253150
>nested def
ew
>>
>>103254482
I would use the word "comfy" to describe Go for this purpose, but I don't have much other experience other than few different node backends.
>>
>>103249853
>Reductio ad absurdum
You might be right, but using muh fallacy latinerino is reddit as fuck. The Internet is not a middle school debate club you nerd cuck
>>
>>103255840
this
>>103256022
but yes, some html5, css3 , js andREST knowledge won't hurt
>>
char[] array = {'B', 'U', 'M', 'P'};
Stream.of(array).forEach(System.out::println);
>>
>>103260129
wut lang?
>>
>>103257028
reductio ad absurdum isn't even a fallacy
it's literally a common method for mathematical proofs
>>
>>103260151
Java
>>
>>103260202
funny that I didn't recognize it, I've progroom'd like 4 years in it
>>
>>103260231
you're a complete retard then, congratz sir.
>>
>>103260278
>>103203186
>*** Please be civil, notice the "Friendly" in the thread subject ***
>>
>>103260291
He was pretty friendly.
>>
it should literally be illegal for frontends to call "APIs" with "authorization: token." If your APIs need to be usable by a frontend and can't handle cookies, they need to be nuked.
I'm sick of jeets and this insecure, 2s+ page load, insane garbage.
>>
>>103260391
super duper
>>
File: 1731692494981786.jpg (86 KB, 561x606)
86 KB
86 KB JPG
are you guys excited about php8.4
for me, it doesn't really matter because we're still using php 7.4
thanks for reading my blog!
>>
>>103260825
no. I'll continue using Rust.
>>
>>103260825
give me a heads up if it finally becomes java the way many other langs are trying to, php is my old fren, but js... js live in my browser, and so do I, Xd
>>
File: one-standard.png (58 KB, 435x1116)
58 KB
58 KB PNG
>there is too confusion
>let's create a common standard
>>
>>103261138
>hex
old sytem - I believe this is very limited in available values
>rgb
new system, based on how monitors operate
>hsl
system based on how humans percieve color
>lab
based on some fucking autism, probably most "color accurate"
>hwb
the fuck?
>lch
the fuck
>oklab
the fuck

all in all, pic fukken saved
>>
>>103261138
hsl when dont wanna calc() color changes
otherwise named
fallback to rgb
>>
>>103261231
>>hex
>old sytem - I believe this is very limited in available values
I think I was wrong, I think it can handle as many values as classic rgb
>>
File: IT'S RR GG BB.jpg (37 KB, 655x612)
37 KB
37 KB JPG
>>103261231
>I believe this is very limited
You can't into hexadecimal?
0x00 = 0
0xFF = 255
>>
>>103261294
>>103261284
I forgot it had 2digits per channel
>>
>>103261138
#rrggbbaa also exists btw
>>
>>103261324
yup, that's big btw, opacity is OP
>>
>>103261311
>>103261294
it's also that old internet used to work with hex, and somehow it appeared to be limited in amount of colors, not sure where that was coming from
>>
>>103261347
The "web safe" color palette three digit codes
>>
>>103261366
I see, it might have been a browser limitation maybe?
>>
>>103254482
Ruby with Sinatra is actually funnest way to make a webapp IMO
>>
>>103203186
I want to make a pornsite.
What software can I use? I don't want to build it from scratch, just want to fork some repo and git started. How the fuck are there no porn SaaS startups. This could be a goldmine.

>Launch your own porn site for $150/month.
Come on, now.
>>
>>103262617
sweet summer child
>>
>>103262688
I've been here for like 15 years, retard.
And these fucking ridiculous captchas reminding me of why I stopped.
>>
i really need a job
>>
>>103261138
I wish js had functions to parse or get css colors. I should make a library, but the css syntax is so bad.
>>
is there a wdg discord
>>
File: 4.gif (1.58 MB, 400x226)
1.58 MB
1.58 MB GIF
>>103234660
>>103234951
god i hate modern webdesign so much.
want to take a screenshot with firefox of the whole page? sorry, can't let you do that. wanna archive that shit? looks broken as fuck. download content from your cache? good luck. disable javascript? you gotta be kidding me.

eh is that a wget?? you're probably a hacker, gonna flag your ip to do captcha on every page view now
>>
>>103264599
Whats the use case
>>
>get some php files into your hands
>it has mssql_connect functions, the functions which are not supported by any php version above 7
>install old version of php
>install old extension dlls
>enable the extensions from php.ini
>still get that " Fatal Error : Call to undefined function mssql_connect()"
been working on this shit for couple of days and no progress yet.
>>
Would I have a better shot at getting a job with laravel and postgres, or mongo express node?

I saw a course for tailwind laravel alpine.js and postgres for 9 dollars and want to know if I should get it.
>>
File: attr.png (3 KB, 437x399)
3 KB
3 KB PNG
Show me some neat use cases for css' attr()
>>
>>103264684
CSS doesn't do any of the things you mentioned
>>
>>103265797
ask the job offers in ur area oracle
>>
I'm thinking of buying a course on free lancing and setting up my own company. Any freelancers here?
>>
tailwind 4.0 beta 1 is out bros
breddy easy migrations
>>
>>103266471
>>103203186
>*** Please be civil, notice the "Friendly" in the thread subject ***
also bash script are the ascended alternative to npm+docker slop
>>
>>103266550
>run an Os
>to run a back end
>to run a poorly disguised bash script
also stop behaving like a n*g*er, please and thank you
>>
>>103264779
just chill maybe erp a bit if we get bored
>>
For the anons that use a VPS for prod. Do you run your automated acceptance tests on the same VPS?
>>
New thread
>>103266938
>>103266938
>>103266938
>>103266938



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