• Breaking News

    Sunday, June 7, 2020

    Regular reminder: don't try to use .dev domains for your local testing purposes web developers

    Regular reminder: don't try to use .dev domains for your local testing purposes web developers


    Regular reminder: don't try to use .dev domains for your local testing purposes

    Posted: 07 Jun 2020 08:33 AM PDT

    I'm sure a lot of people will have come across this before, but I've just spent the last few hours pulling my hair out trying to find what I've done wrong setting up new virtualhosts on my newly installed local Apache webserver.

    I had test.dev and project.dev, and neither of them would work, giving forbidden errors in Chrome, while the default test page that came with the installation was served just fine to localhost.

    The domains were correctly resolving to 127.0.0.1, but I just couldn't get any content inside to serve.

    Long story short: Google bought the .dev TLD a few years back, and hard coded a forced https redirect into Chrome.

    The correct way to do it, is either with a subdomain (dev.project.com) or if you need to play with subdomains then use .test as approved by the RFC.

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

    Does anyone have an idea what the FT.com could possibly need 1.4GB of disk space for?

    Posted: 07 Jun 2020 02:25 AM PDT

    I'm publishing weekly updates around web dev for more than half a year and gathered 296 links by now. Today I've made all those links searchable and filterable - hope you'll find something useful :)

    Posted: 07 Jun 2020 06:12 AM PDT

    What's Internet Explorers deal?

    Posted: 07 Jun 2020 10:14 AM PDT

    I am learning webdev and for everything I am learning about at the end of the subject or topic they mention something like "This feature works great in all modern browsers, except Internet Explorer." Why is it seemingly so far behind everyone else, and when I start developing web apps do I need to go out of my way to add conditions that make things work specifically for IE?

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

    I'm making a web terminal to manage my server, just added a feature to report back system stats! (those graphs are 100% vanilla javascript)

    Posted: 06 Jun 2020 06:19 PM PDT

    I made a minimalist Jekyll theme for programmers

    Posted: 07 Jun 2020 02:28 PM PDT

    Whats the best modern solution for a simple website?

    Posted: 07 Jun 2020 01:51 PM PDT

    Coming from the world of mobile, web development really confuses me and seems like things are overcomplicated. There are a TON of frameworks to choose from and its hard to know what I should use for different websites. I have experience with vanilla html, JS, and css as well as some jQuery, so I am not a complete beginner. The website I am trying to make does the following:

    1. Simple navigation bar with 4-5 pages of content
    2. Each page gets some data from an api and displays it, and some pages offer forms to post data
    3. Some pages have tables that will paginate and the ability to search that table
    4. Login page that blocks people from accessing without a passcode. (Not something super secure just like a 4 digit code)

    When going the vanilla route, I hate having to figure out url stuff (getting rid of .html) and repeating html code on different pages. I also think a SPA would be too much for something like this. For some reason, it seems like I either have to go the vanilla route, or add some framework that does way too much and overcomplicates things/confuses me. Is there a modern solution to make a simple website like the one I described?

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

    Top 3 Things I Realised After Building a App

    Posted: 07 Jun 2020 01:27 PM PDT

    I actually haven't finished building the app yet. It's a desktop app that my clients can log in to and see analytics, lead data, billing data from the advertising we're doing on social media for them.

    It has just dawned on me that things are becoming progressively more complex, as I add more code, and I didn't expect it to lead to so much complexity. Here are 3 things I wish I knew before building the app:

    1. Pick a stack that you know how to put into production easily

    There are so many moving parts to the stack that I chose - Docker Container, Prisma database interface, microservices, etc. - now it's coming time to push the app into production, but I think that's going to be one of the most challenging things.

    2. Learn a CSS framework and use that as it takes longer to build and use your own

    Looking at my CSS has become a nightmare. I've got a sass build that I compile which is what I mainly use. I gave up using the Block Element Modifier system because it became too laborious. Now I have a mixture of styled components, sass and framework CSS Bootstrap & Tailwind.css. I wish I had just stuck to one framework like Tailwind.css from the beginning.

    3. Make sure you work with a designer, and get all the design work done beforehand

    Unfortunately I'm not a great designer, so I kind of just code and design at the same time. This is THE worst strategy. Get a designer before you make an app, or at design it yourself with your chosen CSS framework in mind.

    The stack that I am using is:

    Backend: Prisma, GraphQL, Docker, Node.js

    Frontend: Apollo Client, GraphQL-Yoga, React, Next.js

    Database: MongoDB

    What tech stacks did you use to build your app? And what's your preferred CSS framework?

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

    I made a showcase of great developer portfolios

    Posted: 07 Jun 2020 10:55 AM PDT

    Hi there,

    I posted here last week about a portfolio generator I made and after some of the great feedback here and elsewhere I decided to try and improve the templates I was using by taking some inspiration from around the web.

    I collated a bunch of portfolios from around the web (217 in total) which I thought might be useful for others to look at and get inspiration too, so here they are: https://www.profiled.app/showcase

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

    Do any domain name registrars purchase domains you search for if you don't buy them right away, or sell domain searches to third-parties?

    Posted: 07 Jun 2020 01:05 PM PDT

    Early March 2019 I started looking at buying a .dev domain for myself not long after Google rolled out the TLD. At the time I was using Namecheap as my registrar, and I used its search feature in order to search potential domains. One of the domains I searched was [myLastName].dev, and it was available. To be honest, enough time has passed that I can't say for sure whether or not I searched for the domain on another registrar's site.

    For whatever reason, I slept on the purchase, and the next day it was registered. While I know this could have been 100% a coincidence, my last name isn't common (some quick searches show less than 10,000 people in the U.S.), so this immediately made me feel like the timing of the registration of the domain was a direct result of my own searches. I have been using ICANN Lookup ever since that incident last year as a precaution.

    Occasionally over the past year I've looked to see if any site had been erected for the domain, and none ever was. It's been over a year now since that time, and today on a whim I searched [myLastName].dev again using ICANN Lookup. I was pleasantly surprised to find it hadn't been renewed, so I immediately snagged it.

    Do domain name registrars track searches on their sites in order to buy up domains and resell them, or in order to sell domain searches to third-parties so that third-parties can do so? If so, which domain name registrars are known to do this, and what concrete evidence supports this? What registrars are suspected to do this, but have not been confirmed?

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

    Namecheap or Google Domains in the UK, personal use, and VAT/taxes issue

    Posted: 07 Jun 2020 12:35 PM PDT

    I'm struggling to find information here. Both Namecheap and Google Domains don't charge VAT for UK customers. Google Domains automatically creates a Business Account, and it's the customer's responsibility to pay the VAT. it appears it's the same for Namecheap as well.

    I spent some time transferring and cancelling the transfers for each of these. I'm trying to go away from Godaddy, but it appears that they already charge the necessary VAT amounts from you.

    I really don't want to get in to trouble with the TAX man with this. I dont have any businesses. Just have a few domains for myself, family members and some friends. All for personal use.

    Is there anyone from the UK that have advice/answers regarding this? is Namecheap and Google Domains just for businesses and not for personal use?

    thanks in advance!

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

    Best CMS to display multiple graphs from different databases?

    Posted: 07 Jun 2020 12:04 PM PDT

    All,

    Currently I have 5 devices publishing data to my database, and I want to be able to display this on a website (the devices may scale to 100+). What would be the fastest CMS for something like this?

    I currently have a wordpress site working but it is really slow, and I do not like the custom-ability of it any suggestions?

    I have been doing some research and it seems PicoCMS is good but was looking for other opinions.

    hopefully I would be able to use a plugin to display this data, or some minimal coding.

    I have little experience with PHP, Javascript, and lots with python, c/c++, rust, if that helps.

    Thanks

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

    Tracking IP Changes - logged in users

    Posted: 07 Jun 2020 03:41 PM PDT

    Hey Web Dev's,

    I've been struggling to figure out how we can implement the following to our site. Basically, I want to track "logged-in" users who change their IP Address/Location.

    a. How can I track change of IP at a user level? Would this

    b. Have anyone on travel sites/ or the like worked on a similar issue? I'm happy to chat with tech companies that can help solve this issue.

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

    How does one go about buying a parked domain name from Xinnet.

    Posted: 07 Jun 2020 11:37 AM PDT

    Xinnet owns the dot com name of a very minor dead celebrity. To my knowledge, they have never posted it for sale. At one time they hosted a single page with gambling links on it, but why someone in China would go to a site named after a Jewish comedian that nobody's ever heard of to search for a place to gamble is beyond me. The domain expired a few days ago, but just this morning I noticed that they renewed it for one more year. I'd simply like to buy it and put up a historical site about the celebrity. I know someone who is fluent in Chinese, if that would help in contacting Xinnet.

    submitted by /u/rabbi-reefer
    [link] [comments]

    My learnings from building 2 "very" simple full-stack apps with MERN

    Posted: 07 Jun 2020 11:30 AM PDT

    I'm working as a web developer for some time, but always lagged on side projects. Recently I stumbled upon a Hacker Earth Hackathon - https://www.hackerearth.com/challenges/hackathon/stackhack-v1/ which surprisingly mentioned what I've to do rather than just giving a problem statement. Built 2 very simple apps - a todo list and event registration app over the course of 1 week (I have a full-time job, so mostly worked on the weekend). Few things I've noted,

    - It might not be my technical skills but the lack of clarity on what to do might've been pulling me back

    - The same language(JS) in both front end and back end makes things easier. I'm working with Rails and some python in Backend and React in frontend in my daily job. Chose Node and React for these side projects and switching back and forth was much easier.

    - Coding alone is difficult. I was lucky to find a friend who codes. Even though he didn't write that much, the discussions sped up the planning process a lot.

    - React (or any modern FE Framework) is Awesome! I started with core PHP a few years back. Things are a looooot better!!

    - Express is slow to develop, at least in comparison with Rails. But less magic helps me understand more about how things actually work. I'll definitely invest some time to learn node too, or deno maybe?

    - I Will do at least one side project in every quarter. Learnings from practical work are invaluable.

    GitHub: https://github.com/danivijay/StackHack-1.0, Demo: https://www.youtube.com/watch?v=m-aZwvUG7T0 . Yes, I know it is too basic. But it was a great learning opportunity for me!

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

    Newb with gridbox question I am struggling to solve.

    Posted: 07 Jun 2020 11:25 AM PDT

    I have created a screenshot of a portion of my website using gridbox and the associated CSS.

    https://imgur.com/a/wB2y607

    I have 2 boxes on top of each other, split into 4 fractional.

    I would like to get rid of the black grid lines I have circled all over in yellow.

    I would also like to get rid of the giant space in between the two boxes, circled in red.

    I am essentially trying to make this one big box. I have not been successful in my attempts to solve this myself or find a working solution online. Anyone willing to help out a newbie please share your wisdom, it will be much appreciated :)

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

    I created an interval ear training game

    Posted: 07 Jun 2020 02:42 PM PDT

    Hi,

    I've been learning a bit more about javascript during the lockdown, and I created this game to improve my coding and piano skills.

    I hope you enjoy it - please let me know if I could have done anything better.

    Link to the game

    I am very proud of it :o)

    All piano sounds from University of Iowa Electronic Music Studios

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

    Need advice about finding project to contribute on Github

    Posted: 07 Jun 2020 03:59 AM PDT

    I'm currently looking for some project I could contribute to as a matter of practice. So long I only build websites for my own and have no practice to work in the team. Soon I would like to open source one of my own projects, but I feel a bit insecure, because I never worked with anybody on github. I have two github accounts and I practiced a bit with myself - I was forking from one account, then cloning , branching and making changes from another accout and PR to the first one - but I'm afraid that I might miss some real world scenarios.

    Do you know how to look for new projects on github? Or maybe some dedicated websites where people look for contributors? All I found myself were mature projects with already many contributors where it was hard to find something to fix or implement.

    Thanks!

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

    What is the best way to store my websites' pages/posts ?(I don't know exactly what they are called)

    Posted: 07 Jun 2020 10:33 AM PDT

    My website is kind of blog type so there are many pages about tutorial etc stuff. Now they are occupying a lot of storage on webhosting pack. So

    What is the best way to store them?

    Is there some place like some drive kind of thing or something?

    [EDIT]

    See my website is like a tech blog

    Website --> home, android, windows, etc(total 6-7)

    These further have some main pages like tips, etc.

    Now the tips page display posts like tip 1, tip 2

    User clicks on tip 1

    Another page opens that has content for tip 1

    Now like these there are many. These pages are taking a lot of space.

    So now what is is the best way to store these pages like tip 1.

    But they still should be accessible from tips page and from search.

    PS- above website layout is just a example and a tip of iceberg :)

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

    What is the best way to store my website images?

    Posted: 07 Jun 2020 10:30 AM PDT

    What is the best way to store my website images? so that they don't take up space on my webhosting storage and I would just type their url in my code.

    Is IMGUR good? Or there is any other better alternative?

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

    What is the webdev scene like in Turkey?

    Posted: 07 Jun 2020 03:34 AM PDT

    I have family who are interested in moving to Turkey, and I wanted to know what the current landscape is for web development in this country.

    I'm predominantly front-end focussed. HTML, CSS, JS with over 10 years experience.

    Thanks

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

    No comments:

    Post a Comment