• Breaking News

    Monday, November 29, 2021

    I Created A Website That Makes It Fun To Learn To Code By Easily Connecting To An LED Matrix And Sharing Your Animations With Others web developers

    I Created A Website That Makes It Fun To Learn To Code By Easily Connecting To An LED Matrix And Sharing Your Animations With Others web developers


    I Created A Website That Makes It Fun To Learn To Code By Easily Connecting To An LED Matrix And Sharing Your Animations With Others

    Posted: 28 Nov 2021 09:14 AM PST

    Please Help: Will "Use a Domain I Own" on Squarespace change where it lands on Google search results/or remove Google Site Links?

    Posted: 28 Nov 2021 08:57 PM PST

    I am working with a client who currently has the #1 spot out of 8,800,000 results for their business on Google with a domain that has been untouched and unmaintained for 10+ years.

    We will be updating the website to a new design through Squarespace by the "Use a Domain I Own" to map the same domain to the new design.

    However, my client is concerned they will loose their #1 search result spot and/or Google Site Link structure once we transfer. We also no longer have access to the Google Analytics account connected to this domain but, will it just continue to be in the #1 spot since the domain will remain the same? And are there other ways to maintain and carry over the Google Site Links?

    Any information would be greatly appreciated! Thank you so much!

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

    Do you use UI component libraries like TailwindUI?

    Posted: 29 Nov 2021 12:43 AM PST

    There are many libraries out there like TailwindUI where you get HTML/CSS components like headers, footers, cards, feature sections etc. Do you use them or do you prefer to code everything yourself?

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

    Section background images limit on ultrawide monitors

    Posted: 29 Nov 2021 03:37 AM PST

    Salutations,

    I have a wrapper class that limits the width of the content on my website (max 960px). However, I have one section that has a background image that takes up the whole viewport width.

    I realize that this might cause problems on ultrawide monitors. The image is 2500px wide so if somebody has a monitor wider than that, the image will be too narrow.

    Do you guys wrap whole sections when they have background images to limit their width?
    If so, what strategy do you use?

    The one I can think of is to make a separate "section-wrapper" class that I put around the whole section, and then I put a background-color on <body>.

    What do you think?

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

    Does google lighthouse does anything?

    Posted: 29 Nov 2021 02:04 AM PST

    I been asked by my boss to review our pages and make our lighthouse scores better...but ever since I started and I did "debug" what lighthouse asked for the numbers just ben fluctuating up and down...
    I ended up just re-running the analytics WITHOUT changing a thing and I got a performance score ranging from 33% to 90%
    Am I going crazy or is lighthouse broken?

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

    Storing user input html in a database for others users to see

    Posted: 28 Nov 2021 08:14 PM PST

    I'm trying to store text from a form that uses html for formatting it, but am concerned about XSS attacks and potentially non JS attacks.

    Anyone know of a good tool to check the user inputted html for JavaScript and other known attack vectors without JavaScript? I'm using a node server.

    I'm using the meantime RichTextEditor which uses quill.js under the hood to generate the html, but there's nothing stopping a user from sending any string via curl, etc.

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

    Tamagui — React Native + Web UI kit

    Posted: 29 Nov 2021 02:17 AM PST

    Looking for AI cloud-based technologies experts/consultants

    Posted: 29 Nov 2021 01:54 AM PST

    Hello everyone,

    My team is currently looking for experts/consultants in cloud-based AI technologies in these topics:

    • Computer Vision & Image Recognition
    • Speech-to-Text and Audio
    • Natural Language Processing (NLP) and Text Mining
    • Optical Character Recognition
    • Machine Translation

    We are developing a platform that aggregates the best AI engines on the market but some of our prospects want to be supported by specialists in their projects. We are therefore looking for experts for this step of personalized audit (paid) before using our platform.

    If you are interested, please send me a message or an email: [contact@edenai.co](mailto:contact@edenai.co)!

    Regards,

    Taha

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

    My first ReactJS project

    Posted: 28 Nov 2021 12:44 PM PST

    As a movie lover, I created this small app to help me keep track of latest movies so as to stay updated.

    You might like it or find it useful for yourself too: movies library

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

    Did you get a lot of hate when you were learning to code?

    Posted: 27 Nov 2021 09:59 PM PST

    The title is self explanatory. I've been teaching myself WebDev for about a year now, and I've faced a lot of criticism from friends, family, and complete strangers from the beginning.

    I recently shared a project that I felt pretty good about with a close selection of old friends, and I didn't get any encouragement at all.

    I can't tell if people are jealous that I'm doing well, if my apps suck, or if this is just the "heat in the kitchen".

    Edit: Wow, I am both shocked and relieved by so many people sharing their experiences. It seems like this really stuck a nerve.

    From all of your responses, it sounds common for self-taught developers not to receive any real encouragement until after they get a job. It's comforting to know that my progress has nothing to do with my friends feedback.

    Time to get off Reddit and continue the marathon… 🥲

    submitted by /u/evil-doraemon
    [link] [comments]

    AP Computer Science changed my life

    Posted: 28 Nov 2021 06:51 AM PST

    I took the course in my junior year in 2010. We started with 15 or so students and ended with 3. It felt like Survivor each week as more people would drop the course, likely due to the 2-3+ hour Java assignments every 2 days. It really made me grow an appreciation for programming and development. Having no prior knowledge made that course even tougher, but I felt the most pride from those projects than I did in any other class. My packets of homework, oh yes, paper packets that needed handwritten code answers, probably amounted to over 2 feet of paper stacked. It was torment, but I also loved it. Being part of the final 3 students was another challenge because I was generally a B student but stuck with 2 guys who 800'd the Math section of the SAT. I really had to work hard to not have the worst code or answers when we went over them. Anyways, that course changed my life because I decided to go to college for CS and Finance, and have loved working in web dev for the past few years. I dont use it anymore, but it's because of AP CS that I can't dump on Java like most people. It holds a special place in my heart.

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

    As a developer, what do you do to kill monotony in your day to day work?

    Posted: 28 Nov 2021 02:43 AM PST

    I'm developing a new web application for my company in a team. At first it was kind of exciting. We had so many topics yet to explore, and so many ideas to be put in practice. But today it's simply routine. I'm a bit bored of developing CRUD-like endpoints with little logic behind, and views which essentially display some data and consist of a remake of other views.

    I'm sure that routine it's somehow part of our job. Sometimes it's a good thing too, because it can also means some rest of mind from the anxiety linked with the uncertainty (new technologies, problems you have no clue how to address...), but after a while it can kill motivation.

    If you've experienced this, what did you do to make your days more interesting?

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

    React folder structure for enterprise level applications

    Posted: 28 Nov 2021 06:29 PM PST

    Rise of the Pydantic Stack

    Posted: 29 Nov 2021 03:59 AM PST

    Hi all,

    I wrote this article: https://python.plainenglish.io/an-introduction-to-the-pydantic-stack-9e490d606c8d

    It's not paywalled, so you can read it at will. I discuss what I term the "pydantic stack", and the demise of Django and Flask. I'd be happy to discuss this.

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

    #1 Library of the Week: Stitches

    Posted: 28 Nov 2021 11:49 PM PST

    I need a HA KV store for only one value (10kb) for building a fast monolithic unique string spitter

    Posted: 29 Nov 2021 03:33 AM PST

    Hi, yes you heard correctly, I basically need redis HA, but for just only one value. I am building a monolithic feature of my app for generating unique links. I know it's solvable via database transactions, if transaction fails taking another link and so on, but this approach will have an awful latency

    So I am building a monolithic solution which creates the links monolithic, so starting with app.com/A then app.com/B … app.com/Z app.com/a … app.com/Aa and so on

    so I only need to keep track of one single value, the last shortened link

    and for that I need a blazing fast high available KV store to decrease latency. But a redis HA setup is overkill + expensive

    I am not bothered having to deploy something on my own in an App Engine instance

    or my use case better explained: I need a monolithic "generator" that spits out on API request the next unique string (going from A-Z then from a-z then from Aa-Az and so on)

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

    Lighthouse score jumped 8 points just by moving from Google Analytics to Plausible.

    Posted: 27 Nov 2021 09:59 PM PST

    A friend brought up Plausible in a conversation a few days ago. I've been looking for an alternative to Google Analytics for quite some time (main concerns are performance, avoiding ad blockers & browsers that block client-side analytics, and UX of the admin). There's a self-hosted option, so I spun it up on a Digital Ocean server (found some great documentation; took maybe ~20 minutes), and wired up one of my sites with it -- typeitjs.com.

    I have been incredibly pleased by this thing in the short time I've used it. It's lightweight, extremely intuitive compared to GA (including the UI, and even things like the custom event API), and super easy to proxy through my own domain (they even have dedicated documentation for it).

    And to top it off, I ran some before/after Lighthouse reports and was kinda elated as a result. My performance score jumped by EIGHT POINTS with this single change. I was extra satisfied, since GA is one of those scripts that consistently pops up in Lighthouse a thing I should address.

    Like I said, I've only used the tool for a short time, but I've been so blown away that I can't shut up about it. If you're looking for a GA alternative like I was, give it a shot. If you're not into self-hosting, there's a paid version as well.

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

    How would a GraphQL API work in practice?

    Posted: 29 Nov 2021 02:18 AM PST

    I've been asked to integrate our systems with a partner, such that a) they can electronically place an order with us and b) we return data to them once the order/service is complete.

    They use a GraphQL API which I have not used before. Before I ask them any daft questions I am curious how this might work.

    a) they want to place an order. So am I going to have to poll them frequently and request this, or better can they send this via a webhook or equivalent GraphQL thing to an endpoint we setup?

    b) I want to return data. OK I think I can see you just post the data in the right format so this seems easy enough.

    c) A token s needed to use the API and is valid for 12 hours. How would you normally save it temporarily like this? Or just request a new one each time you connect and use it?

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

    JWT alternative for globally distributed server authentication.

    Posted: 28 Nov 2021 07:35 PM PST

    Hello, I am just wondering if there is a way to authenticate a user by API key for globally distributed servers with low latency. JWT is a great way to do this, but its token value is too lengthly to use as an API KEY. One way I can think of is to use Cloudflare's global, low-latency, key-value database KV to store hashed API key to authenticate. I just don't want to reinvent the wheel if a better solution already exists.

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

    Can anyone explain me how pointerpointer work?

    Posted: 28 Nov 2021 07:30 PM PST

    This site PointerPointer always loads a image of someone pointing at your cursor location. I get how they get the cursor location but how do they get image for every location.

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

    I made an entire website but didnt make it responsive is there a way i can do it without completely deleting all the code and restarting

    Posted: 28 Nov 2021 01:37 PM PST

    It's my first website and i forgot to make it responsive and i spent alot of time on it

    Source code hopefully it works

    Edit: thanks for the advice everyone

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

    Anyone got a good spot for learning flex box?

    Posted: 28 Nov 2021 05:38 AM PST

    I spent like the last two days trying to get it and I can't.

    submitted by /u/Puzzleheaded-Chef738
    [link] [comments]

    Need advice on personal portfolio site

    Posted: 28 Nov 2021 04:32 PM PST

    A while ago I set out and commissioned a personal portfolio website. I'm not a web dev myself at all. Work on the website finished after a few months, and together with the person I commissioned I set up most things. He left me in the dark on a couple hosting related things, but a few headaches later I managed to figure it out and the website is currently up.

    However shortly after it was done, the freelancer I commissioned tried to charge me double out of the blue. After a bit of a back and forth, we did settle on the amount we initially agreed on. Understandably, this caused a bit of a falling out.

    Now I'm sat here with a website that is actually done, and online, but... The longer I looked at it the more things I discovered were straight up bugs, badly optimized elements or bad design. I tried to do the best I could by going into the code myself, and while I fixed a few minor things, fixes for glaring issues or big design changes are too complicated for me to implement. And I can't really contact the original developer anymore.

    All in all, I have a domain, hosting package, a connected email, and a website up and running, but with design/UX/technical issues. What are my options?

    Can I hire another web dev to fix a complicated and possibly messy site? If that's even affordable for me currently, where could I find someone for this?

    I've also been looking at just web builder sites. Are there any recommendations for this, in relation to my situation?

    Appreciate it if you took the time to read all this!

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

    How to post Hikvision camera parameters using PHP curl

    Posted: 28 Nov 2021 11:16 PM PST

    I am trying to pull counting data from my Hikvision People Counting camera configuration using the Hikvision XML API. I am able to retrieve camera data using any of the documented services through postman:

    https://i.stack.imgur.com/1fDS6.png

    My issue is trying to get this data to print out on a php webpage. Here is my php code:

     <?php $url = "https://169.254.119.130/ISAPI/System/Video/inputs/channels/1/counting/search"; $xml = '<?xml version="1.0" encoding="utf-16"?> <countingStatisticsDescription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.com TrackingRequestKnown.xsd"> <reportType>daily</reportType> <timeSpanList> <timeSpan> <startTime>2021-11-28T00:00:00</startTime> <endTime>2021-11-28T23:59:59</endTime> </timeSpan> </timeSpanList> </countingStatisticsDescription>'; $creds='admin:camgene1!'; $headers = array( "Content-type: application/xml", "Content-length: " . strlen($xml), "Accept: */*", "Connection: keep-alive", ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); curl_setopt($ch,CURLOPT_USERPWD,$creds); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $data = curl_exec($ch); echo $data; if(curl_errno($ch)) print curl_error($ch); else curl_close($ch); ?> The web page I have displays this message: Failed connect to 169.254.119.130:443; Connection refused If you can suggest any glaring errors I might have in my code please let me know! My goal is to save all the enterCount and LeaveCounts to have a livecounter of how many people are found by the camera. 
    submitted by /u/ButchTheGuy
    [link] [comments]

    What is implementation in web development?

    Posted: 28 Nov 2021 10:51 PM PST

    Within the context of web development, what does implementation mean?

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

    No comments:

    Post a Comment