• Breaking News

    Monday, April 5, 2021

    I'm launching a side project to award folks for building rad "non-corporate-y" stuff for the web. If you're working on something for a local community, I'd love to throw you some coffee money! web developers

    I'm launching a side project to award folks for building rad "non-corporate-y" stuff for the web. If you're working on something for a local community, I'd love to throw you some coffee money! web developers


    I'm launching a side project to award folks for building rad "non-corporate-y" stuff for the web. If you're working on something for a local community, I'd love to throw you some coffee money!

    Posted: 05 Apr 2021 09:37 AM PDT

    The whole thesis of this experiment is: "The internet is infinitely more cool when folks build rad shit."

    We've seen a whole swing from the early web being full of peoples' individually built websites showing off what they're interested in to a handful of corporations being the main points of content distribution to a more recent wave of burgeoning personal web spaces.

    I want to do my part in rewarding folks who are making interesting contributions to a newer more open (and non-corporate-y) internet.

    So I built https://henrygives.coffee act as a collection point of interesting projects different web developers are working on. The idea is to pick a few winners (based on a theme) every month, write up an article showcasing their work, and throw them $10 for beer, coffee, or snacks.

    My hope is that a monetary contribution, small as it currently is, will help developers know that their contribution(s) to the web are worthwhile and encourage them to keep building.

    I can't tell you the amount of times I've thought "it would be cool if this side project earned me some beer money." So now that I'm in a position to do it, I'm making it my thing to hand out some coffee/beer money to help keep the innovation flowing!

    This month's theme is "Web Projects for Local Communities." So if you (or anyone you know) is working on anything even vaguely under that umbrella, head on over to the website to tell me about it! Might just be a free coffee in it for you!


    I'd also like to grow this out to help signal boost as many developers as I can and do my part to keep the momentum going towards folks having their own personal corners of the web again.

    So, if this sounds like an interesting idea to you, I'd really appreciate if you could retweet this announcement to help get the word out a bit!


    Also, mods, I'm like 95% sure this follows the sub's self-promotion rules. Just looking to get this in front of more eyeballs so I can reward some web innovation. If I need to change anything here, please reach out. I'd be happy to work with y'all to avoid a strike or temp-ban. <3

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

    This motherfucking website.. no seriously, a must visit to learn about genuine concerns with today's webdev

    Posted: 05 Apr 2021 12:15 AM PDT

    I made a website that allows you to check if your phone number has been leaked in the Facebook data breach! Have I Been Facebooked?

    Posted: 05 Apr 2021 11:32 AM PDT

    I'm in a salaried position but only work 4 hours a day, is that bad?

    Posted: 05 Apr 2021 08:31 AM PDT

    So I have been developing Web Apps for 8 years now and most of it spent working remotely. Like everybody else when the pandemic hit I started quarantining myself in and stopped going out unless to get the bare necessities.

    This affected my productivity a lot in work, nobody at my job complained about me but I knew my productivity was nowhere near what I used to do before.

    And not being productive increase my sense of guilt and my anxiety, one day I realized I can't keep this up and I might lose my job because of being stressed out I went to the doctor who prescribed some anxiety medication for me.

    The meds worked for me as I started reading more and do stuff that I used to enjoy, I read books about focus/procrastination and productivity.

    And changed my habit and routine and became the following:

    1. Wake up at 7:00 AM.
    2. start working at 7:45 AM by seeing what tasks I have, choose which one I need to do, and create more tasks if there isn't enough task or there is a large feature that I need to break into smaller tasks.
    3. Use Pomodoro technique by sitting up a timer for 60 mins and 10 mins break.
    4. Work for 4 Pomodoro and that it (I usually stop working before 1 PM).
    5. move my tasks into completed in Trello.

    And I really was happy, I don't think I ever focused on my life before like the 4 hours I focus on during working these days, nobody complained about my work, in fact, I got complimented on it recently as I been doing great progress on a particular project.

    I was happy until I fucked up and mentioned it to a friend, he told me that what I'm doing is wrong as I was contracted to work for 8 hours and not in progress.

    I got defensive and mentioned that nobody really works for 8 hours straight and isn't like when I used to work overtime I was been paid for it, I work for a fixed salary and as long as I'm doing my job it shouldn't be a problem how long it took me to accomplish something.

    And isn't like 4 hours is a strict rule, I work more if I was in the flow and I want to finish the current task on hand also I don't count meeting we do into the 4 hours or when coworker wants to have meet to discuss something.

    But now I have second thoughts, I know that I focus well in these 4 hours and be super productive in them because I know I can finish early and spend time on things I like to do but at the same time I don't want to be unfair to my employer.

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

    I think I'm moving to Montreal

    Posted: 05 Apr 2021 04:10 PM PDT

    Rebuilding a Jekyll Website with Next.js and Theme UI

    Posted: 05 Apr 2021 11:50 AM PDT

    Postgres/Rails/React - Do I need websockets to update my react components

    Posted: 05 Apr 2021 02:37 PM PDT

    what my single page web app looks like rn: https://i.imgur.com/rIxAde2.png
    Context: I have some sibling components in React that pulls data from Rails/Postgres and I have want the data to update when changes to the DB are made. Right now, I'm using a hacky method that updates the parent component that then forces the child components to update.

    Research Ive done: Websockets seems to be a way to push data from the DB to the front when the front sends data to the back to update the DB. The trouble is that I've seen most of the tutorials/literature on this subject to be about messaging apps.

    Here is how my app is constructed:

    • Component A tracks data, think %ge of leads called.

    • Component B is a list of all leads.

    • Component C is a show component that displays individual

    I click on a lead, change its disposition (contacted, under contract, closed, whatever). On successful change, the component then updates the state of the parent component that then forces the child components to rerender, and thanks to the useEffect hook, pulls brand new, up to date data.

    Is this a hacky method or this is a legit way of doing things that my parents would be proud of? Can I use websockets to do all that?

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

    Headless CMS vs Fastify + Postgresql/mongoDB

    Posted: 05 Apr 2021 02:20 PM PDT

    I am planning to create a Blog site, and I have been looking for backend frameworks. There are many, like Strapi, Ghost, StoryBlok. But what I can't seem to understand is their use case.

    As far as I can tell, the idea is that they save the title, content and tags, and some generic metadata. How difficult is it to recreate their functionality using Fastify and PostgresQL or MongoDB, or even a simple GraphQL?

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

    Should I even offer Username and Password sign in as an option?

    Posted: 05 Apr 2021 08:15 AM PDT

    Hi

    I've just started building a user registration and sign in form and I thought to myself, maybe I don't offer Username and Password as an option, but only have 3rd Party Auth options (Google, Facebook, Twitter, Github, Microsoft, etc)

    Having 2 totally different ways of logging in seems like a burden, on me and the user.

    Is this viable? Have any of you gone this route? Or should I really still offer it. Feels old fashioned.

    What do you think?

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

    Golang vs Django? Which to learn?

    Posted: 05 Apr 2021 01:43 PM PDT

    In truth, I actually did do a 2 month internship doing full stack web dev in golang and really enjoyed it, but that was back in 2016 and I haven't used it since. I have also used python throughout the 7-8 years I've been coding.

    Basically what I want to know is how do they compare and contrast, what are the pros and cons of both and which is more in demand/will be more in demand?

    And before you ask "what are you looking to do?" I don't know. I just want to practice gaining skills doing full stack web dev again.

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

    Netlify speeds

    Posted: 05 Apr 2021 04:48 PM PDT

    I uploaded my website to netlify but it's quite slow. Perhaps it's because my website isn't very well optimised. I'm fairly new to web dev, do you peeps have any recommendations to speed up my website fast and easy?

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

    React + Bootstrap, center a container within a container

    Posted: 05 Apr 2021 04:47 PM PDT

    Hey everyone,

    I've been trying to figure out something that should be simple for like an hour now and I just can't get it to work. Here's the basic idea: I want to center a container that contains a form on the screen.

    Here's the basic code for the container:

     <Container className="border border-primary rounded align-items-center d-flex text-center justify-content-center align-self-center" style={{ height: "50%", width: "50%" }} > <Form onSubmit={handleSubmit} className="w-50"> <Form.Group> <Form.Label>Enter your ID</Form.Label> <Form.Control type="text" ref={idRef} required /> </Form.Group> <Button type="submit" className="mr-2"> Login </Button> <Button onClick={createNewId} variant="secondary"> Register </Button> </Form> </Container> 

    I figured the reason it wasn't aligned to center was the fact that, by default, my root wasn't a flex object. To test this theory I simply wrapped it in another container so the code now looks as follows:

     return ( <Container className="border border-secondary dflex" style={{ height: "100vh", width: "100vw" }} > <Container className="border border-primary rounded align-items-center d-flex text-center justify-content-center align-self-center" style={{ height: "50%", width: "50%" }} > <Form onSubmit={handleSubmit} className="w-50"> <Form.Group> <Form.Label>Enter your ID</Form.Label> <Form.Control type="text" ref={idRef} required /> </Form.Group> <Button type="submit" className="mr-2"> Login </Button> <Button onClick={createNewId} variant="secondary"> Register </Button> </Form> </Container> </Container> ); 

    What I get is my secondary container is horizontally centered and stuck to the top of my first container. No matter what I change this seems to be stuck there. It's the only thing being rendered on the page and the borders of the two containers are what I would expect them to be. The Small one just isn't centered in the big one.

    Am I missing something obvious here?

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

    How to manually submit to mySQL through PHP following successful JS validation

    Posted: 05 Apr 2021 04:19 PM PDT

    I'm hoping that you can help me, as I've spent countless hours trying different attempts to no avail.

    I'm new to development and the specific problem that I need help with is manually submitting a form to mySQL local server database, following a successful javascript validation.

    In short, the user has to fill in 4 fields, which are all validated in JS using the function checkInputs ();, however preceeding this the preventDefault event is run, this disabling the forms default property while the checks are being completed.

    I know that I dont have to use the preventdefault event, but my code is all written up and I dont really want to change it. I just want to know how to continue to submit the form after validation.

    My code is here

    https://stackoverflow.com/questions/66881747/javascript-validation-clashing-with-php-validation/

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

    Should I buy a M1 MacBook or will it cause me issues ?

    Posted: 05 Apr 2021 04:05 PM PDT

    Hey everyone,

    Im a aspiring full stack developer, currently working my first web development internship.

    My laptop has seen better days, and I world love to treat myself to an upgrade with the money I have been saving up for quite a while now.

    I have heard a lot about issues with stuff not working with the M1 chip, and compatibility issues working with people who don't have the M1 version. I'm bit confused by it all, is this something that I need to worry about?

    For context, I work with the MERN stack. I would also like to learn and work on React native projects this summer.

    Forgive me is this is a silly question, it's a big purchase for me, and I don't want to make the wrong choice.

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

    What is a wordpress developer

    Posted: 05 Apr 2021 03:38 PM PDT

    I saw some offers for a wordpress webdev, wtf is that, isnt wordpress like wix ? Pls explain. I dont understand

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

    Should you use em over px for media queries?

    Posted: 05 Apr 2021 11:52 AM PDT

    I've always used px, but it's come to my attention that approximately 3% of users on the web change their default font size in the browser. A px based media query doesn't account for this change in "width" across the website when a user changes the default browser font size, therefore potentially breaking the design of the website.

    Here's an example: https://codepen.io/bdlowery/pen/yLgXgJZ.

    Is it better to use em units for media queries, or is it a non-issue?

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

    For my first job, should I apply/work as a PHP/Laravel/Wordpress developer if I don't really want to have anything to do with these languages/frameworks? Job listings with my technology stack - JavaScript/Vue.js/Node.js/React.js always require 2-3-4 years of experience. I'm super demoralized.

    Posted: 05 Apr 2021 11:50 AM PDT

    Long story short, as every new web developer out there, I started using HTML, CSS and JavaScript first. After some time I picked up PHP without any frameworks, but quickly realized how messy my code was without a framework, hence why I picked up Laravel. I loved how clean my code was when using the MVC design pattern, so I stuck to Laravel for my APIs, while using Vue.js for my front-end. I really liked working with JavaScript on the front-end, so I decided to use Node.js on the back-end for a couple of projects to see how it is, and I enjoyed it so much that since then, I just can't bring myself to work with PHP/Laravel. I love how I can use 1 modern and extremely popular language with syntax I really enjoy both on the front-end and the back-end, so I was hoping I could land a front-end/back-end/full stack JavaScript developer job.

    My problem is that most of the job listings with JavaScript/Vue.js/Node.js/React.js require at least 1-2 years of experience. After opening 500+ job listings for JavaScript positions, I was left with 4-5 that didn't require more than 1 year of experience. I obviously applied for those, but I reckon my chances to land a job by applying to 5 places is low. I can't even find an unpaid internship for that stack.

    On the opposite hand, I have seen quite a lot of paid internships for PHP/Laravel/Wordpress ( with laughable pay ) which shouldn't be too hard to score, but I don't even know if it would be worth it. Do you think it is worth working with PHP, just so I could get some experience, when I'd want to work with JavaScript long term. A JavaScript job listing would require "1 year of JavaScript/Vue.js/Node/js experience" and not "1 year of web developer experience", which leads me to believe that spending time getting PHP experience, when I want to be a JavaScript developer, would be a huge waste of time. That being said, I'm young and green so I might be completely wrong. I don't want to come off as a "beggars can be choosers" brat, but I'm super frustrated that everyone wants developers with years of experience, but no one wants to invest in training the newcomers.

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

    How would you edit website without the code every time?

    Posted: 04 Apr 2021 06:15 PM PDT

    Hey guys so basically I'm a 15 year old who's about to learn web development. I have a question though. After you make your website how would you edit it without having to go back to the front end and editing the html. Thank you! Edit: I think I wasn't broad enough. I meant for example let's say I made a website for a store and they wanted to add an item. How would they edit the website and add that item without having to go into the html code

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

    SVG or PNG images for website?

    Posted: 05 Apr 2021 03:01 PM PDT

    I tried googling it and most answers pointed at PNG saying it is more compatible. And few said SVGs are better because they are scalable. I'm confused as to which one I have to prefer

    submitted by /u/SS-317
    [link] [comments]

    My first attempt to create my own WebRTC SFU.

    Posted: 05 Apr 2021 02:47 PM PDT

    Here is the GitHub link to my simple SFU repo.

    https://github.com/tiger2380/simple_sfu

    It is not documented at all. So, please forgive me for that. I will be adding comments later.

    I know that are tons of open-source SFU APIs that already existed, I'm just trying to test my knowledge and hope to give others insight on how SFU works and how to use it.

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

    How to setup valid SSL on WSL

    Posted: 05 Apr 2021 10:43 AM PDT

    Swipey image grids.

    Posted: 05 Apr 2021 06:48 AM PDT

    Thinking of building my own email marketing program...

    Posted: 05 Apr 2021 02:15 PM PDT

    I've been trying to get started with the usual suspects - Mailchimp, Mailerlite, Connectkit - and they aren't really what I've been dreaming of.

    They either don't work at all, accuse me of spamming before I've even sent a single email (lol), or have an unusable user interface clogged up with stuff I don't want while hiding the stuff I actually do.

    I'm thinking of getting someone on Upwork to build one for me with minimal-but-customized features and park it on my company dashboard page.

    I have minimal needs, just gather a bunch of sign-in contacts and auto-send them the odd greetings and updates. Also a sales sequence for prospects, and maybe some internal company info for my team.

    Anyone have thoughts about going this route? Is it doable? Are there pitfalls I'm unaware of?

    What would I need to ask for to get it properly built?

    (I'm on the business side btw, not the programming side.)

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

    Linkedin connections

    Posted: 05 Apr 2021 08:10 AM PDT

    Heya! This might sound desperate, but I really don't have a lot of friends who use linkedin. I just recently started my carreer as a full stack dev at a startup, working on a mobile application build with cross platform tech (ionic-vue/capacitor, gcp/firebase/gae).

    I have only a few dozen connections from school and I don't really know who else to connect with. I'm generally looking to connect with some devs to chat about stuff and maybe make some friends at the same time.

    Also, the startup I work at is looking for an addition dev to join our little dev team (currently only me and one senior supervisor).

    I'm M23 from Finland. Hit me up with a pm for linkedin/github links :)

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

    No comments:

    Post a Comment