I used typescript/jquery a ton at work and haven't looked at much else in the js world. Looking to make something SPA and interactive for my portfolio because I hate the kind of software I'm building. What libraries do you guys recommend for that? I'm used to using C# for backend logic but I'd like to use typescript for everything.
Easton Nguyen
Complete newbie here, I'm trying to build a website that allows users to upload photos and make comments etc. that kind of basic social media stuff. What database language should I use? I found a few resources for MEAN/MERN stack, but I also heard MongoDB is a steaming pile of turd.
Christopher Clark
> but I also heard MongoDB is a steaming pile of turd.
Lies, all lies.
Liam Reed
>MongoDB is a steaming pile of turd NoSQL is a steaming pile of turd to work with in general. It's essentially hacks upon hacks to squeeze out every bit of performance you can.
People imitate relational databases in NoSQL by denormalizing the shit out of it--instead of doing your JOINs at read, you do your joins at write.
This increases your read speeds by an order of magnitude but makes maintenance a nightmare.
You probably don't actually care about performance that much (at your scale either works). What you're doing is relatively relational, you should think more about whether or not your data makes sense in a relational context, and choose your DB based on that.
Anthony Flores
Thanks for the help, although I'm not exactly sure what you mean by relational context. Do you recommend any documentation I can read to understand that? Sorry about that.
Save photos in filesystem and record URL in database.
Jack Jones
Oh. Uh. If you're that new I'm not really sure what the best answer is, but this book will give you some things to think about at a high level. Read up to maybe chapter 2.
Gavin King
I forgot the book. dataintensive.net/ The book is available on libgen, so you don't have to buy it.
Juan Smith
Thanks again, I'll dig into these for the next week or so.
Apparently good but no one will explain why it's so much better than MySQL or any other relational DB out there
James Gonzalez
Just use LAMP stack user, it's almost everywhere you look, PHP and MySQL/MariaDB is thrown in with most cheap web hosting and is more than adequate for your needs.
Logan Hernandez
Being a brainlet is suffering.
On another note, how many of you webdevs use php, either for frontend, backend, or both?
And if you use it what frameworks do you use?
Sebastian Harris
What would you say is the best in terms of attaining a job though? Are LAMP stacks used extensively in industry? My goal is to work as a full stack developer, however I fully understand it may take years to get there and I am willing to work as whatever else in the industry first while learning.
Michael Kelly
I find it's flavour of SQL way easier and less wordy than the others.
Wyatt Wright
Anyone have any experience with PL/pgSQL?
Easton Scott
Ok, thanks.
Nathaniel Lewis
What do you think a good web developer should know? I'm thinking
>git >one backend language and one framework or CMS >SQL >unit testing >JavaScript/JQuery/probably a framework as well >CSS3/HTML5 >probaply a css preprocessors >A11y >SEO
Christopher Rodriguez
How do I load another page's DOM into my Jasmine test page? I'm running unit tests through Jasmine on a separate .html page since I want to keep the project as vanilla as possible and not use Node etc. But the issue I have is that the .js file it is testing has references to elements in index.html and only that page, so my testing page is always displaying failures with TypeErrors because an element of id 'main-sect' does not exist on the testing page but it does on index.html.
Any possible solution to this /wdg/? I'm thinking of wrapping every element reference in the main .js file in a function that checks if the page it is being run on is index.html, but that seems a bit cumbersome and unprofessional.
I thought about doing this for the last several threads. Glad you took the initiative.
Asher Ward
It's like SQL for people who hate datatypes. Also it makes subqueries super easy.
Isaiah Wood
Yes. I wrote pagelong queries in it at my first job dealing with 10s of millions of rows.
Ian Watson
Freelance?
What languages? I have a problem with the architecture and general OOP of my plugins/code. Any resources I should use? I use PHP
Logan Reed
>It's like SQL for people who hate datatypes I don't understand, Postgresql has datatypes, what do you mean?
Josiah King
For fuck's sake I just want to match non-word characters, except for some punctuation and I can't figure it the fuck out. using PCRE engine in PHP. Isn't there a way to say "match all non-word characters, except for ,.:;!? here's my starting point: /[\W]+/u
Mason Cooper
FWIW: Postgresql has very good language support, active maintenance and is open source. Those are most of the boxes I want to tick when choosing a database.
I only really became a fan about three years ago when we decided that our current DB was shit and wanted to choose a different one for the next project. I did a survey of all the popular DBs at the time and came up with Postgresql. It's a bit more robust and full featured compated to MySQL, it's free obviously and handles volume better than either MySQL or SQLite. There isn't a reason not to use I don't think, I managed to find a reason not to use everything else in my list, even if it was just needing to pay money or it not coping with load if we ever got big enough.
Some DBs have quirks with the drivers in some languages, others need work arounds for various shit. PostgreSQL has zero issues that I found. The closest thing to an issue is that sometimes you need to do some DB config at the start of a project/deployment for things like date formats to work correctly. That's sort of a non-issue since you're deploying a schema anyway and schema dumps either include that sort of config or you can just copy/paste it into the dump and it will run.
Already using regex101 for an hour now, trying all kinds of various patterns, with no success. but thanks.
Joseph Powell
Yeah but you just use text and number for everything.
Landon Morales
Well, I suppose you can but I don't. I'm using binary, boolean, timestamp/timestamptz, what do you want?
Brayden Hill
maybe you're thinking too much and doing too little.
Camden Diaz
json. duh
Nicholas Lewis
Why the fuck would you store structured data in a field in a db?
You can certainly write a driver function to translate the json into sql but I don't know what the fuck you're talking about.
Dylan Martinez
YES NEW COLUMN FOR EVERY STUPID ITEM!!!!! have fun creating columns for stupid shit like user preferences which needs to be translated back to json for the front-end anyway. so yes its clear you dont know what the FUCK im talking.
Brayden Miller
Anyone else using Visual Studio Code and having problem with Plugins on every VSC update? Whenever an update of VSC hits, I have to delete and reinstall like 3 of my Plugins or they won't work anymore (UNLESS I start VSC as admin, then they work normally). In the Plugin overview they always have that 'restart' button, but the restart doesn't change anything. Just a delete and reinstall helps.
It's Vetur, Go language support and some shit for CSS intellisense.
I got a bunch of other addons that all work fine no matter if I start as admin or run updates.
Pretty fucking annyoing given that there's on average 2 VSC updates / day.
Asher Hall
I can tell you don't query your data much
Look into data normalization
Ian Long
I also use the Go extension, no problems here, well actually ever with extensions. VSC only gets like one update a month (+maybe another one for bug fixes), make sure you aren't using the insider version.
Carter Myers
Is there some list or /lit/ style screencap of good reads for all things webdev? From technical to business to whatever, anything.
Eli Baker
fun fact: absolutely zero people have put any of those lists to good use
Noah Nelson
At least give me a chance, got any links?
Robert Gonzalez
no
Jose Peterson
so im supposed to ppc or something like that and im just an inexperienced front end dev idek what was asked of me to do but can anyone guide me in the right direction. I am also supposed to send emails on enquiry form and i tried but it didnt work halp
Luke Roberts
That's probably Adwords. There is a good course on udemy for a complete beginner or otherwise just go through the AdWords Academy.
The other question would completely be dependent of your setup.
Jacob Hill
im using cpanel they changed their layout which makes things easier but idk how to send mails, i tried a few things but didnt get a single mail
Aiden Perez
For GDPR, companies have to appoint a "Data Protection Officer". There's a >0% chance that I'll end up being the one appointed. Are there any legal chains that I'd end up bound in in that case? As in, would I be the one fucked for fuck ups of the company?
Jaxon Gray
lol...you're saying you want to put little json scripts into fields and then try to call it? that might be the most mickey mouse approach at rdm i have ever heard
Alexander Rivera
im gonnna pass out, hope someone replies ;-;
Jason Powell
If you want technical just go to /dpt/. Javascript is object oriented with functional capabilities. Read up on those two paradigms as well as the MVC architecture and knowledge will transfer over. Other than that just read the documentation of whatever framework/library you're using. Business wise I have no books but there's a youtube channel that has very useful tips about the industry as a whole, for example: youtube.com/user/TheSkoolRocks/search?query=clients
Alexander Ramirez
Is it worth learning? I have the manual and it says you can also use Python to write functions instead of Postgres procedural language. Would it be less bullshit to just write objects in Python to handle the logic and use postgres as a RDBMs instead of trying to get shit done with functions?
I know the advantage is that your functions are located server side but I am not dealing with a gigantic database. Is that the only thing its good for?
Carson Robinson
Anyone here has experience with haproxy? I can't get my fucking ACLs to run properly...
Ian Powell
Kid, can't really help you without being there. We don't really know where the problem is.
Are you using WordPress?
Mason Campbell
>Discord has an API
Explain yourself. Why you don't offer your users to be notified via Discord instead of using annoying and unreliable push notifications?
Parker Davis
json isnt scripting you clown.
Thomas Young
no its my schools website i just need to be able to send emails somehow, i can access the db and insert details through cpanels phpmyadmin i think
Luis Morales
go research urself we dont owe you shit.
Parker Reyes
>Discord >Data mining program bigger than your mom's vagina
fuck outta here
Jeremiah Flores
because they're coming to use my service not Discord's
Wyatt King
i didnt say you did, also thsi is part of research is okay, i dont expect much from (you)
Ethan Rivera
I just hunt them down personally and notify them that I see their disgusting nudes being uploaded and they need to FUCKING STOP.
Henry Mitchell
Hey webshitters. I'm trying to make an extension that automatically flags dark UI practices based on heuristics. What would be the best way to go about automatically detecting say;a button being lighter than another button under the same element?
I already got an extension that is adding flags to certain html elements based on id/whatever. Should I develop a function that looks for buttons, and then looks for any other clickable element under the same element? What should I be flagging? Two clickable elements with differing styles?
Bentley Jenkins
keep us updated in your endeavors
Nathan Edwards
That drawback is no reason to not offer it to your user. I for one would love to be able to get a message via Discord whenever someone logs into my account, and Discord can have that info for all I care.
>use a performant and pretty messaging app that you probably already have installed or install some hacky app just for a single website huh tough choice
Xavier Hughes
Do you know what it is built with? builtwith.com/ try that and we might be able to help you better. There are many ways an email could fail so that's quite hard to debug.
Did you try sending to shit email addresses with no spam filter? Probably some minute mails.
Jace Butler
>privacy vs convenience argument >judging a service based on UI alone (it's so pretty guise!)
you aren't very bright, are you?
Nathaniel Gomez
>privacy vs convenience argument If you inform the user about the drawbacks, there's no reason not to offer that service. Let your user decide instead of making that decision for them.
>use a performant and pretty messaging app >performant >on UI alone So you're not only blind to the possibilities offered to you by Discord, I get it.
Mason Myers
Can my github repo be just a bunch of tutorials I've gone through or does that look bad?
Lincoln Morgan
To be honest user, make your own projects. Follow the tutorials, then turn it into something that you would use. I tend to not be impressed if someone just follows a tutorial then lets that repo get stale.
Your portfolio should consist of only things you have made, saying you "made" something where all you did is copy someone's code is just stupid.
You can also mention your projects you've completed from courses but put it as a minor thing or on a separate page specifically dedicated to that, don't try to pass it off as your own work and especially don't display it as something important.
If your portfolio is currently only copy-pasted code from udemy, just make something of your own, you'll learn a lot more from doing that.
Grayson Diaz
I'm looking for a job now though and it takes months to do an actual project
Zachary Thomas
No it does not and that's a terrible excuse even if it would take a month for a big project.
If you have a shitty portfolio with 100% copy pasted code you have absolutely no proof you even know how to write your own code, come on man.
Carter Young
I'm a senior developer.
Colton Carter
LOOL
Austin Morris
stop being a pussy
David Wilson
Maybe your design needs reworking
Sebastian Taylor
Should your portfolio site be yourname.com or should you do it under the guise of owning a web development company?
Matthew Flores
the latter costs money to enforce and you aren't impressive for doing so
Nathan Thompson
They both cost the same as far as registering the domain
Gabriel Collins
Are you a freelancer / actual company or business? Use the name you go by.
Are you just a dude? Use your name or initials or online alias whatever.
There's no benefit to pretending to be a company if you are not one, the main reason to "pretend" would be if you are a 1 man show trying to give the impression of a more premium thing going on, so you use plurals and shit and say "We" everywhere but it's just actually you.
Levi Perez
>as far as registering domain surprise, that's not all you have to do if you're intending on running a business not under your birth name
Nathaniel Walker
What is that website style where at first it looks like crap but its actually pretty well designed?
brutalist is so fucking ugly dont see how that would ever fit into the "actually pretty well designed" requirement
Jaxon Peterson
Guys, I have some minutes to rice my cv for a webdev job application but I can't remember the names of every backend technology I came to use or play with in the past 15+ years in a hurry. Does anybody have that blue roadmap with python, ruby, node, go, databases, containers etc? I reviewed all archived threads in Jow Forums to no avail :~
I've been working on this project for at least 2 years now. I'm still using placeholders when signing up for APIs or naming bots related to the whole thing. I'm sick of it.