• Breaking News

    Thursday, August 26, 2021

    Self taught of 9 months. Followed a tutorial on how to make a shopping cart in vanilla js. Surprisingly to myself, I found this tutorial easy to follow since ive gotten used to the vanilla js language. This is a good sign right? Think im ready for a js framework. web developers

    Self taught of 9 months. Followed a tutorial on how to make a shopping cart in vanilla js. Surprisingly to myself, I found this tutorial easy to follow since ive gotten used to the vanilla js language. This is a good sign right? Think im ready for a js framework. web developers


    Self taught of 9 months. Followed a tutorial on how to make a shopping cart in vanilla js. Surprisingly to myself, I found this tutorial easy to follow since ive gotten used to the vanilla js language. This is a good sign right? Think im ready for a js framework.

    Posted: 25 Aug 2021 07:30 PM PDT

    Relational Database Indexing Is SUPER IMPORTANT For Fast Lookup On Large Tables

    Posted: 26 Aug 2021 10:51 AM PDT

    Just wanted to share a recent experience. I built a huge management platform for a national healthcare provider a year ago. It was great at launch, but over time, they accumulated hundreds of thousands of rows, if not millions, of data per DB table. Some queries were taking many seconds to complete. All the tables had unique indexes on their IDs, but that was it. I went in and examined all the queries' WHERE clauses and turned most of the columns I found into indexes.

    The queries that were taking seconds are now down to .2 MS. Some of the queries experienced a 2,000% increase in speed. I've never in my life noticed such a speed improvement from a simple change. Insertion barely took a hit -- nothing noticeable at all.

    Hopefully this helps someone experiencing a similar problem!

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

    This is how it feels to visit a website nowadays. Where did we go wrong?

    Posted: 26 Aug 2021 12:18 AM PDT

    Haven't done webdev in 5 years, trying to set up a small scale business webpage, need some advice.

    Posted: 26 Aug 2021 07:11 AM PDT

    I have made several websites through github pages before for personal projects. I have also been able to redirect them to custom domain names that I bought from namecheap. The problem is, I can't have a shopping webpage with a public repo.

    Looking at the options github provides, if I want to use github pages on a private repo I need to pay for github, which is $4/mo on their "Team" tier. I will then be redirecting this page to a custom domain, probably from namecheap which is ~$10-40/year. This is a pretty manageable setup for me and simple enough to setup but is there a better/cheaper/simpler option than this? Are there any drawbacks from running a small business page from github pages?

    Im a pretty amateur programmer but I don't mind getting into the details.

    submitted by /u/17falcos
    [link] [comments]

    What is this effect that highlights the sentences while I scroll down? How can I make it?

    Posted: 26 Aug 2021 12:44 PM PDT

    Do I need to compress images before uploading or resize images on delivery?

    Posted: 26 Aug 2021 06:45 AM PDT

    Hi, Web devs!

    I using S3 to store my user's profile and it took a bit longer to upload the profile pictures and also take time to show I fixed the image download time by using the s3 image handler to resize the image based on the user device resolution.

    Should I resize the image before uploading to reduce upload time or upload the same quality?

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

    From Vanilla JS to adding state management with Redux and building the UI with React incrementally. All applied to the same tiny project, so there is less moving pieces and concepts are well explored.

    Posted: 26 Aug 2021 07:28 AM PDT

    The tiny little JS project was built 7 different ways so far, and will be rebuilt it in 4 additional ways. There is a write up for each build.

    This week the UI has been built with React while calling an asynchronous endpoint to request the data.

    Next week the project will be rebuilt with React Hooks.

    If you are interested, there is also a repo linked in the write up. https://morsewall.com/random-quote-part-7-react-and-json-using-various-front-end-stacks/

    And if you are interested in starting the 11-part series from the beginning: https://morsewall.com/random-quote-vanilla-javascript-using-various-front-end-stacks/

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

    Chrome 94 Beta: WebCodecs, WebGPU, Scheduling, and More

    Posted: 26 Aug 2021 03:00 PM PDT

    My site is now fully responsive and it feels amazing

    Posted: 26 Aug 2021 02:40 PM PDT

    After hearing the phrase "build for mobile first" many times, I decided to implement that approach and have found it extremely useful to make my site responsive on all screen sizes in a very efficient way. In past projects, I've tried starting from Desktop view downwards and it became ugly very quickly. I definitely recommend sticking to this rule!

    For those wondering, I used very simple media query break points in my components, as well as some additional high-level styling and that pretty much did the job!

    Here is a demo of the responsive site: www.korseas.com :)

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

    First time adding a blog to a website.

    Posted: 26 Aug 2021 01:52 PM PDT

    I've made my first website and it's up on Siteground. It's a simple web page (HTML, CSS, JS) and now I want to add a blog to it.

    Google has lots of recommendations, mainly adding Wordpress to the site and adding a blog that way. Problem is that I don't know what that means? does that just allow me to use WP plugins? Has anybody ever gone this route for adding a blog to an already finished page?

    Another thing I found was this cool site: dropinblog.com
    This method seems attractive to me because of how simple the setup looks.

    I guess what I'm looking for is:
    1.) How I could do it on Siteground.

    2.) Are there alternatives to not using Siteground (without having to build something myself).

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

    The beauty of canistilluse.com

    Posted: 25 Aug 2021 11:03 PM PDT

    Allowing mg Frame embedding on external sites (CORS and iframe header understanding) - how to accomplish this similar to how google and YouTube content can be embedded almost anywhere

    Posted: 26 Aug 2021 12:56 PM PDT

    Would appreciate any insight

    I am tasked with creating an iframe that will be allowed to be embedded on multiple article content sites and publications displaying our charts I made the widget and of course as expected the iframe can be inserted anywhere on our site But as I am testing using the deployed link and on external sites as a test the X-FRAME-OPTIONS kicked in in console and I got the sad face failed to load thing in the frame

    I've been down a days long rabbit hole researching solutions and YouTube videos then adding lines of code deploying then testing but for some reason the iframe never loads Google YouTube and all those other iframe load anywhere but ours doesn't I am using django backend and vue for the chart widget.

    I tried some decorators like "@xframe_options_exempt" Also tried the "django.middleware.click jacking.XframeOptionsMiddleware" middleware and configs to allow all I think I am not really understanding what would allow our widget to be rendered on other platforms like YT videos can Any help?

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

    Is codecademy's free React course good?

    Posted: 26 Aug 2021 04:35 AM PDT

    Hi guys! Yesterday I started the codecademy's React free course and I really enjoyed it. I wonder if you guys think that it would give me a good understanding of React or is it just scratching the surface? It is mix of reading material and exercises which I really enjoy doing, because the only way to really understand a piece of code information is by practicing. Please share your opinion on this course. Thank you!

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

    Span is an inline element, so why are my high and low temps appearing on new lines?

    Posted: 26 Aug 2021 12:02 PM PDT

    Pushing Back Against Privacy Infringement On The Web

    Posted: 26 Aug 2021 02:55 AM PDT

    Any free book on react + its ecosystem?

    Posted: 26 Aug 2021 05:59 AM PDT

    I never properly learned modern web dev. I have hacked together few websites for prototypes, personal use tools etc.. but that's it.

    I prefer books to videos / udemy etc.. when learning something.

    Is there any free book so that I can learn modern front end practices in react and popular libraries (like redux) with their concepts to reasonable proficiency?

    (I am not interested in becoming web dev but I want to be able to hack together modern-looking frontends using component libraries quickly).

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

    How do websites like Robinhood.com or Slack.com show a different UI based on if I'm logged in or not?

    Posted: 26 Aug 2021 08:16 AM PDT

    Are they using a reverse proxy of some sort with cookies?

    For example: Slack.

    If you log into Slack, and go back to their homepage (slack.com), I now have unique view of the workspaces I belong to on the homepage. If I wasn't logged in, I get a static view of the homepage without the workspaces I belong to. This has to be server side rendered... but it loads pretty fast - so I don't think it's using NextJS for example.

    I'd love to know more how this is set up.

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

    Laptop Specs

    Posted: 26 Aug 2021 07:59 AM PDT

    Preparing to enroll in a web development program, gonna be learning Java and possibly Python. My laptop has a 6th gen i7 processor with 16gb RAM should that be powerful enough to do what I need?

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

    Dealing with customers and sales goals

    Posted: 25 Aug 2021 07:57 PM PDT

    I work at a company that doesn't know what to do with me and I've somehow ended up in "Revenue." My bosses often want me to negotiate billed services directly with the clients (despite the clients having a dedicated sales rep at my company), and recently they added a sales quota to my annual goals (tied to bonus).

    This is the only job I've ever had in web dev. I guess my question is: this is bullshit, right?

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

    Any one used Fatcow Hosting?

    Posted: 26 Aug 2021 07:31 AM PDT

    Hi, anyone here used Fatcow as hosts?

    I've picked up a legacy WordPress site that's full of inconsistent php errors, timeouts etc - it's hosted by a company called Fat Cow and I was just wondering if anyone else had had any experience of them?

    thanks!

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

    Is there a good book on how to make proper app UIs?

    Posted: 25 Aug 2021 05:41 PM PDT

    I know how to google CSS properties, but I never know what to google to stop making shitty UIs. Is there a good reference out there on how to make good UIs?

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

    Marketplace Software

    Posted: 26 Aug 2021 06:09 AM PDT

    Hi,

    Can anyone advise on a multi-vendor marketplace software that is full featured and will be able to handle around 1 000 000+ products and a 1000+ vendors.

    Any recommendation will be helpful.

    Thank You

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

    No comments:

    Post a Comment