• Breaking News

    Monday, November 25, 2019

    Free For Developers web developers

    Free For Developers web developers


    Free For Developers

    Posted: 25 Nov 2019 11:47 AM PST

    A twitter follower tweeted this, it might be useful.

    https://free-for.dev/#/

    enjoy it!

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

    How to Learn Software Design and Architecture - a Roadmap

    Posted: 25 Nov 2019 09:09 AM PST

    The care and feeding of software engineers (or, why engineers are grumpy)

    Posted: 25 Nov 2019 12:35 AM PST

    People with 5+ years of carreer, how do you keel yourself motivated?

    Posted: 25 Nov 2019 06:24 AM PST

    I work as a full-stack web dev. Work is great, salary is good and fair, i lead the web development process in the company.

    But sometimes i lack motivation. Don't know if is because i'm kind of stressed out right now, or that i'm not currently studying anything new and exciting.

    People with years of experience, do you face any lack of motivation? if so, how did you deal with this?

    EDIT:

    Thank you so much for your answer folks.

    Since relaxing doesn't seem to work for me right now, i still get back to some hobby projects, starting today (reactjs, here i go).

    Really thank you for spending some minutes to help a fellow web dev.

    submitted by /u/Zanotta-Dev
    [link] [comments]

    Agency I work at is an obvious dumpster fire, and I'm trying to get out, but what are some things I can do/learn in the meantime?

    Posted: 25 Nov 2019 09:54 AM PST

    So basically, the agency I work at is a compilation of every bad question on this sub (no version control, no local build tools, boss cowboy codes updates, terrible upper management, full-on sewage problems, etc), and it just feels like the whole place could fold any day without warning. So I gotta get out, and I've known this for a long time. My question, though, is what should I be learning/archiving/stealing from the supply closet before this place just metaphorically and/or literally collapses?

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

    How do you find out how much stress a method causes on a server?

    Posted: 25 Nov 2019 08:23 AM PST

    I guess I'm trying to ask multiple questions here.

    1. How is server stress(load?) caused by code measured?
    2. How do I look up how exactly higher-order functions operate. I want to see the code behind something like array.replace() and see what exactly it's doing.
    submitted by /u/barricuda
    [link] [comments]

    Live game, Updating Animation of the Football game. How would you go about creating a visual like this? (ESPN.com)

    Posted: 24 Nov 2019 06:52 PM PST

    Noob here. How do I add the product description to be right below the price, rather than at the bottom of the page?

    Posted: 25 Nov 2019 03:28 PM PST

    For those who run a company that develops websites, how do you decide what software/framework to use?

    Posted: 25 Nov 2019 11:39 AM PST

    I currently run a freelance company and I am proficient with the Django framework and with using Wordpress (not so much in developing themes).

    My issue comes when deciding what to use for the customer. With Django, I feel I am more comfortable, I can do better development of features needed and I can properly maintain what I've built.

    If I use Wordpress, basically I am purchasing a theme that is already made and I am setting it up and getting the customer going. I feel like a quasi-fraud because I didn't develop the front end.

    I don't mind saving time, it's nice for sure. But what makes someone decide what to use? Mostly, when I am deciding which to use (Django or Wordpress) it depends on what the client needs.

    Do they need to continually update their site information? Do they want to make their own text updates? - this is when I'll usually go to Wordpress

    More static and letting consumers of the site create a profile, so things with their profile? - this is when I'll usually go to Django.

    But what do you other guys do? What do you normally use? How can I better decide what is best for my customer?

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

    MongoDB and Mongoose, multiple collections with transactions?

    Posted: 25 Nov 2019 03:13 PM PST

    Hello r/webdev, I am currently extending a front-end-only site that I built some time ago with back-end to practice MongoDB and database relations. It's basically a map-app with some locations that can discovered and rated by the user. The locations are now loaded from a MongoDB collection and new ones can easily be added and edited from an integrated admin dashboard. For the ratings, the (Node) post route handler needs to interact with three collections - ratings, where a new document is going to be inserted, and the locations respective user collections, where the rating objectid is going to be inserted in an array of objectid references. So far so good. However, considering that something might fail during the writing process, a transaction design might be optimal. I am using Mongoose due to the integration of document schemas, so I checked the Mongoose documentation on transactions. It does seem limited to one collection though. How do I make it work with three different collections?

    The code with comments with comments where the transaction should start and end can be found here (and the route handler does indeed work as intended so far).

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

    Making a disappearing login page with JS check - website feature

    Posted: 25 Nov 2019 02:58 PM PST

    Dear WebDevs,

    I'm working on a personal portfolio website and would like to cover it with a simple login page that requires a correct combination of Username and Password before the login page disappears and the user can continue to the actual website. My background is in engineering but need help coding with HTML/CSS/JS.

    What I am trying to create is a html that allows user input for a username and password which is fine so far...

    <link rel="stylesheet" type="text/css" href="css/testcss.css"> <script src="js/testjs.js"></script> <div id="error"></div> <form id="form" action="/" method="GET"> <div> <label for="name">username</label> <input id="name" name="name" type="text" required> </div> <div> <label for="password">password</label> <input id="password" name="password" type="password" required> </div> <button type="submit">Submit</button> </form> 

    complementary css...

    @import url('https://fonts.googleapis.com/css?family=Raleway'); * { font-family: Raleway; } html { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background-color: #DFDFDF; } 

    The challenge lies her in JS where I want to achieve a check with userChecker and passChecker between the entered username and password versus the Key username and password to delete the login page. I cannot figure out how to link the True return to make the login page div (html) disappear, and the false return to try enter information again.

    const name = document.getElementById('name') /* the entered username */ const password = document.getElementById('password') /* the entered password */ const form = document.getElementById('form') const errorElement = document.getElementById('error') form.addEventListener('submit', (e) => { let messages = [] let pass = '1234' /* the key password */ let user = 'admin' /* the key username */ let userChecker = function('myString'){ /* give true if entered = key username, otherwise false */ if(name = user)){ return true } return false } let passChecker = function(pass){ /* give true if entered = key password, otherwise false */ if(password = pass)){ return true } return false } if (name.value === '' || name.value == null) { messages.push('Name is required') } if (password.value.length <= 6) { messages.push('Password must be longer than 6 characters') } if (password.value === 'Spectator') { messages.push('Password must be longer than 6 characters') } if (password.value.length >= 25) { messages.push('Password must be less than 20 characters') } if (password.value === 'password') { messages.push('Password cannot be password') } if (messages.length > 0) { e.preventDefault() errorElement.innerText = messages.join(', ') } }) 

    Besides the problem statement, any improvements on the current code are welcome.

    Anybody willing to help me get there?

    Best regards!

    TL;DR
    - How to achieve username and password check in JS

    - How to toggle on and off a div in HTML based on true/false return from JS

    last remarks

    I do realize with something like an inspect tool this 'login/password' page is not protecting anything. I wish to chase lurkers away

    No other posts tagged with 'login page' in this subreddit helped me solve it on my own, nor tutorials online ...

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

    Ink: A fast and flexible Markdown parser written in Swift

    Posted: 25 Nov 2019 02:43 PM PST

    Is using a CDN for bootstrap best practice for a customers website?

    Posted: 25 Nov 2019 02:28 PM PST

    I only can seem to find answers on pros and cons of using a CDN for a personal website, what about a customers? Would you use a CDN or put the file with their host?

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

    Are there any web designs where scrolljacking was used and it was actually done really well?

    Posted: 25 Nov 2019 02:26 PM PST

    Angular Discord Server (looking for mods)

    Posted: 25 Nov 2019 02:02 PM PST

    Hello,

    Since there are almost no Angular discord servers I've created one. (we're almost 100 members) Join here:

    https://discord.gg/XQQQZEX

    I'll eventually organize events for small coding projects where I give away discord nitro or steam cards. You're welcome :D

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

    Building animated draggable interfaces with Vue.js and Tailwind

    Posted: 25 Nov 2019 04:05 AM PST

    Python Library Release Automation - Beta Testing

    Posted: 25 Nov 2019 10:02 AM PST

    Hey r/webdev

    I'm working on a tool that helps automate the packaging & releasing of python libraries, and I need beta testers. Basically it replaces your manual release checklists with automation so you can ensure that every step is followed consistently, every time. Think of it like TravisCI/CircleCI/Jenkins for Python/pip releases.

    Here's some of the things it can do (following python library best practices):

    • automatically bumping the semvar version number
    • regenerating your requirements.txt file (lockfile/shrinkwrap file) with new versions
    • creating any recommended files (eg. .gitignore)
    • validates all dependencies exist (by vendoring into a virtual env)
    • vulnerability scanning in dependencies (using https://pyup.io/safety/)
    • running unit tests (via Tox integration)
    • linting library syntax (via pylint)
    • source formatting (via pycodestyle/pep8 -- coming soon)
    • generating code coverage reports
    • updating changelog
    • uploading versioned artifact to pypi/testpypi (or any custom pip repository)
    • creating a new git tag
    • pushing changes back to source control (github/ghe supported -- bitbucket coming soon)
    • creating a new release in source control (github/ghe) and attaching any common artifacts

    It's incredibly flexible, and works best when implemented side-by-side with a CI pipeline (something you do already, right?)

    Here's a couple of screenshots of what the beta currently looks like: https://imgur.com/a/PJDqffT


    If this seems useful to you, and you're interested in signing up, you can provide your name and email in the Google form below.

    https://forms.gle/18tpRh5E92nZDFNR7

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

    What developer blogs/youtube/twitter do you follow?

    Posted: 25 Nov 2019 01:36 PM PST

    What developers in the community to do follow?

    I love Wes Bos, I think his courses are fantastic. They have really helped.mt career. His Twitter, YouTube and blog are also full of great content.

    Scott tolinski, Cassidy Williams, and Adam Whatan also product great content.

    Anyone else like these who you follow?

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

    Is Ruby on Rails a good solution for a custom made ecommerce store?

    Posted: 25 Nov 2019 01:25 PM PST

    I'm meeting with a web dev team who specialise in Ruby on Rails.

    To be totally honest, even after googling it I still don't know what it means or if it's the optimal solution for a custom made e-commerce site with some functionality like product suggestion calculator / quiz.

    Anyone's opinion on this would be great

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

    Houdini CSS Experiments - JS-in-CSS

    Posted: 25 Nov 2019 01:16 PM PST

    Could anyone point me in a direction of making a site like this in Wordpress?

    Posted: 25 Nov 2019 12:49 PM PST

    Examples: First site, Second site

    I've made some basic Wordpress sites before but I'm not sure how to go about this. Would I need to hire someone to code this functionality for me or is it doable with some ready-made Amazon plugins or themes?

    Thank you in advance!

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

    Best Way To Inject HTML with JS

    Posted: 25 Nov 2019 12:14 PM PST

    So I have a client that I am building a tool for that they want to place on any page they have by just calling a js file. That is fine and dandy. They will have a specific id that is used to target the element and I wrote the js to set the innerHTML of the element to the large block of HTML code I built. But to me this feels dirty.

    While it works if the client ever wants to edit the text of paragraphs or anything they will have to sift through the ~100 lines of html in a string. Is there a better way to do this or is innerHTML still the best way? Using an iframe is out of the question.

    It may not be an issue to the client as they may not even want to change body copy or field labels ever, but I was just curious if in 2019 there is a better way of injecting large blocks of HTML code than using innerHTML.

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

    Preferred/Fun/Top API's?

    Posted: 25 Nov 2019 11:56 AM PST

    Long story short i'm doing a project and taking the opportunity to mess around with a bunch of stuff, I do fullstack (MongoDB/Postgres, Express/Django, React, AJAX) and was wondering what API's people love to use whether professionally or the hell of it, also your favorite CSS libraries (i've used material.io and tachyon and both of them are super nice, but I wanna learn more flashy animated libraries like animate.js or similar too)

    also some Golang projects would be really good too since i'm learning it and trying to work more with it considering how fast and nice it is.

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

    How are beginners supposed to get exposed to certain topics by learning through projects?

    Posted: 25 Nov 2019 10:23 AM PST

    I'm working on my own for a specific thing I learned like local storage but it made me wonder about how am I supposed to know things like this exist if I'm just learning by diving into a project? The only reason I know about API and Local storage was because I've checked a tutorial.

    Say I wanted to dive in and make something random, and miss a big chunk of something I probably should know but had no idea about it?

    Basically how are you supposed to know if you're never exposed to it because you're only googling for basic things to make whatever project work. But miss important details because they don't know any better

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

    No comments:

    Post a Comment