• Breaking News

    Friday, April 23, 2021

    I'm making a new series about vanilla JavaScript game development for beginners web developers

    I'm making a new series about vanilla JavaScript game development for beginners web developers


    I'm making a new series about vanilla JavaScript game development for beginners

    Posted: 23 Apr 2021 11:03 AM PDT

    Why do people lowball you because you do the job faster?

    Posted: 23 Apr 2021 06:06 AM PDT

    Is this a delirium of mine or people tend to think because you do a job faster it's worth less?

    I see this type of comment everywhere: "This task should not take more than 2 hours for an experienced developed", which translates to "I'm not paying $x because if you have 78 years of experience and a an Excellence in Programming Award you'll only take 2 hours to do it".

    Yeah and what about all the years of studying effort I had to put on this to learn it? Honestly F these people.

    submitted by /u/RoyBatty_
    [link] [comments]

    Is it me or does W3 school logo reminds you of Gavin Belson's signature?

    Posted: 23 Apr 2021 01:32 AM PDT

    Was actually working on my own high school portfolio website with a macOS theme before the ‘OS’ craze. Mostly an iOS developer so I tried making a fairly interactive iPhone simulator as well. Link and GitHub repo in comments!

    Posted: 23 Apr 2021 09:59 AM PDT

    Made a carousel using ThreeJS

    Posted: 23 Apr 2021 10:43 AM PDT

    Is Namecheap a snakey company? They refunded me a domain I bought yesterday for $4 and relisted it for $700+ without any explanation

    Posted: 23 Apr 2021 10:32 AM PDT

    I successfully purchased the domain and had the receipt. I received a notice that I was refunded the $4 without any explanation and that I can expect it in my account in 2-3 days. No thanks, I'd rather have that domain I bought for $4 which Namecheap has decided to value at $700+ after they noticed how good it is.

    UPDATE: as I mentioned in several comments below, I did a whois search while I was waiting to talk to customer support and it showed the domain was purchased years ago and updated last month by dynadot.com, so when customer service looked into it and came back telling me the same thing and explained I was only abke to purchase it due to a bug in their system, I believed them.

    submitted by /u/NoMuddyFeet
    [link] [comments]

    Superplate is a revolutionary CLI tool for frontend developers. It creates boilerplate projects in seconds, with no need for build configurations.

    Posted: 23 Apr 2021 02:00 PM PDT

    My first website

    Posted: 23 Apr 2021 02:38 PM PDT

    I recently learned HTML,CSS and some SCSS and I tried to apply my knowledge by building my first website. I just wanted to display it and perhaps get some much appreciated feedback!

    https://calvynsiong.github.io/

    submitted by /u/calvyn233
    [link] [comments]

    About to sell my first website for 400$, What's the best way to use this money to find more clients?

    Posted: 23 Apr 2021 12:14 PM PDT

    After 2-3 years of self learning I am halfway done with my first commercial website (full stack website for a local travel agency) and I want to use the entirety of my earnings from this to get more clients. I was lucky enough to have some connections that got me this work but I don't have any prospects and I want to market so that I can get at least 1 project a month consistently. You guys must have experience with this so I just wanted to know what would be some good ways to use around 400$ to start marketing myself. Website freelancing specific advice would be amazing!

    submitted by /u/MajorInflator
    [link] [comments]

    Couldn’t find a clear answer online, but I’m guessing learning Git is the way to update a website that’s already hosted online? (I.e. new photos to an existing gallery or adding/removing text)

    Posted: 23 Apr 2021 03:57 PM PDT

    Backend learning, project crisis

    Posted: 23 Apr 2021 06:25 AM PDT

    Whenever I try to find an idea for pure backend project, I exit my browser mostly empty-handed. Wherever I look, people suggest creating a web app. But that boils down to these simple things: few tables in DB, some controllers, models with attributes, getters and setters, inject model into view from controller/call api from frontend framework. There you go. Almost every basic MVC/SPA project explained in one sentence. Want auth, caching...? Just include library and call some premade methods. Do we want to do this for the next 20 30 years? Is this fun?

    (All statements above are only valid for those simple SPAs and MVC websites we beginners make, which only us or some friends visit. Plase correct me if my statements in upper paragraph are incorrect. I may sound ranty but I'm honestly frustrated from what I've seen.)

    Problem with those simple recreate existing website projects is that, after doing it once, it becomes repetitive and boring. True backend issues start when thousands of users start hitting your websites simultaneously. But let's be honest, chance that our simple projects will be visited by thousands at any second is slimmer than us finding gfs.

    Let not be confused by my small rant. I'm more than ready to use frontend technologies if they will display results from implementing heavy backend topics.

    Ok, now for my question.

    • Since creating a MVC/SPA project that will be visited by thousands every day is something that beginner backend dev cannot expect, is it enough to just mess around with backend topics found here without creating any big MVC/SPA project from job opportunities perspective?

    Example: hmm let's spin up redis server, see what how it works. Ohh, database sharding, that seems fun, let's try it out. Everybody talks about gRPC, let's see what all the fuss is about.

    My closing tips

    This channel is GOLD for backend dev.
    Roadmap alredy linked above.
    This comment helped me realize that those simple apps maaybe aren't good enough.
    This reddit post is also helpful.
    Talks

    submitted by /u/__rusmir__
    [link] [comments]

    How do I run two API calls in serial?

    Posted: 23 Apr 2021 02:59 PM PDT

    I have a form on my front-end that looks like this:

    Name Jane
    Gender Female
    Hobbies (multiselect dropdown) Cooking, Biking, Swimming

    In my backend, my DB has 3 tables:

    1. person
    2. hobby
    3. person-hobbies

    When the user submits the form, I want to do two things.

    1. Create a person in my person table...

      INSERT INTO person (name, gender) VALUES ("Jane", "Female")

    2. Create a person-hobby record for each hobby... (Jane is a FK)

      INSERT INTO person-hobbies (person, hobby) VALUES ("Jane", "Cooking"), ("Jane", "Biking"), ("Jane", "Swimming")

    In my Node Express app, my thought is to do something like this. Both person and person-hobby would be classes I have modelled, both of which have save() methods like the SQL statements above.

    person .save() .then(() => { res.status(201).json({message: "Person created successfully"}) }). catch((err) => console.log(err)); person-hobby .save() .then(() => { res.status(201).json({message: "Person's hobbies created successfully"}) }). catch((err) => console.log(err)); 

    Because Javascript runs asynchronously, I assume I'm going to run into an issue where person-hobby.save() is called before the person.save() block completes. This will create an error because I need to have the person saved before the person-hobby is saved due to FK constraints.

    My thought is to have person-hobby.save() wrapped in a .then() nested within person.save() but then I would have two 201 status codes which I don't even think is possible?

    Can someone please point me in the right direction?

    submitted by /u/scienceyeaux
    [link] [comments]

    Currently building a twitter like website.

    Posted: 23 Apr 2021 02:46 PM PDT

    Hey guys! I'm a 17 year old amateur web developer. I'm currently working on a a twitter like website. It's built using Django, Django Rest Framework, PostgreSQL, HTML and vanilla javascript.

    Here's the features I have so far:

    Posts:

    Text: up to 1024 characters Images: up to 64 images Video: one video Poll: up to 32 options Public: control who sees the posts. Can't repost private posts though. Control who can comment: either everyone, people who follow you, or people you mention. 

    Comments:

    Same as posts, but only allows one image or video. 

    Likes

    Standard like feature same as most implementations. 

    Save

    Like saving posts on Reddit 

    Repost

    Allows reposting a post/comment or mentioning the post/comment with some text. 

    Hashtags:

    Standard hashtag feature. 

    Mentions:

    Allows mentioning users. Mentioned users can view any post they're mentioned in and comment, regardless of whatever OP has done. 

    Notifications:

    Send notifications if someone replies ro you, reposts something you posted, or shows you if someone who you turned notifications on for posted something. 

    Planned features:

    Groups 

    I've been working on this for about 3-4 months now. Expect another month until it's deployment ready.

    submitted by /u/TheCuntHunter6969
    [link] [comments]

    The Nullish Coalescing Operator Works in ES11 JavaScript - Everything you should know

    Posted: 23 Apr 2021 06:54 AM PDT

    Noise in Creative Coding

    Posted: 23 Apr 2021 03:00 AM PDT

    Somebody "stole" my domain because Netlify didn't auto renew

    Posted: 23 Apr 2021 01:28 PM PDT

    Hey people, I don't have much knowledge about hosting, so, this might be a dumb question. My domain was supposed to auto renew a few days ago, but it seems like it didn't because it's not my domain anymore(I think)... My "auto renewal" status says "renews today" it expired 3 days ago, and on Netlify's "domain management" page says "Waiting on DNS propagation".

    Am I doing something wrong or do I need to get a new domain? What can I do to avoid this in the future?

    Thanks in advance! And sorry for any grammar errors or bad redaction.

    submitted by /u/bernardolanda
    [link] [comments]

    Instagram API Usage Question

    Posted: 23 Apr 2021 01:06 PM PDT

    Hi All,

    I have a simple site that client wants to pull in instagram photos for, easy enough, api is clean, but do i have to go into their facebook developer account and create an app and setup the entire oauth process? Wondering if there is just a simple way i can generate some API keys and target only my account, but it looks like this is not possible.

    Thanks

    submitted by /u/TuffRivers
    [link] [comments]

    It's 2021, can I smartly position <img> elements or do I still need to use background-image?

    Posted: 23 Apr 2021 02:20 AM PDT

    I'm relearning frontend development after having quit for a few years, I'm wondering if it's already possible to position <img> elements inside their frame, as to not have to create background images and have fixed height and width elements.

    In short: Is it possible to use 'cover', 'contain', on <img> elements nowadays?

    submitted by /u/pilfton
    [link] [comments]

    The webworkers driven UI framework neo.mjs version 2 release announcement

    Posted: 23 Apr 2021 06:53 AM PDT

    Portfolio/Blog

    Posted: 23 Apr 2021 04:29 PM PDT

    Hello! I am in the process of setting up my portfolio and bought my domain name. I am also wanting to start a blog as well. Would it be okay to have my portfolio and then blog as a sub domain? Or would it be better to have it as a subdirectory? Or should use an entirely different domain for my blog?

    submitted by /u/Mental_Act4662
    [link] [comments]

    How to size a canvas perfectly within a background?

    Posted: 23 Apr 2021 04:23 PM PDT

    So I'm working on a "MS Paint" style app; it shows a background that looks like a notebook (similar to this) and the user 'draws' in the notebook.

    I want the drawable area to go to the exact each of the "page" in the notebook. I could think of 2 ways to do this - one is figure out the exact width of the border pixels that are in the image but not part of the "page", and use padding/margins to position the <canvas /> I use for drawing, OR cut the background image up into top/bottom/left/right images, thereby guaranteeing my canvas is on the "page", but it could result in weird artifacts if I don't line things up carefully.

    I think the former is the way to go, but wanted to elicit some other opinions!

    submitted by /u/rollie82
    [link] [comments]

    Use shopify-theme for a webshop or not?

    Posted: 23 Apr 2021 08:40 AM PDT

    Hi!

    I am considering selling products online, but I am not sure if I should build a website from scratch and incorperate shopfiy into this (can you even do this?) or is it better to just use one of their prebuilt websites?

    Time/money is not an issue, just what you would consider better or worse. I have alot of webdev experience, but I guess it would go alot faster to use a prebuilt one, what are your opinions?

    submitted by /u/Kablaow
    [link] [comments]

    Flexbox-Guide

    Posted: 23 Apr 2021 06:14 AM PDT

    No comments:

    Post a Comment