• Breaking News

    Monday, October 19, 2020

    A Super Tiny Javascript Library To Make DOM Elements Draggable And Movable. Has Touch Screen Support. Zero Dependencies And 500 Bytes Gzipped. web developers

    A Super Tiny Javascript Library To Make DOM Elements Draggable And Movable. Has Touch Screen Support. Zero Dependencies And 500 Bytes Gzipped. web developers


    A Super Tiny Javascript Library To Make DOM Elements Draggable And Movable. Has Touch Screen Support. Zero Dependencies And 500 Bytes Gzipped.

    Posted: 19 Oct 2020 06:40 AM PDT

    My first React JS project (Pokemon Card app using an API)

    Posted: 19 Oct 2020 08:24 AM PDT

    Microsoft adds option to disable JScript in Internet Explorer

    Posted: 19 Oct 2020 01:55 AM PDT

    This page is a truly naked, brutalist html quine.

    Posted: 19 Oct 2020 09:06 AM PDT

    If I change my blog's domain name will I lose anything?

    Posted: 19 Oct 2020 02:52 PM PDT

    If I change my blog's domain name from a .wordpress to a .com will I lose anything?

    I was wondering because I don't want to change the domain name if it would mess anything up.

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

    What is this interface? and how is it made?

    Posted: 19 Oct 2020 02:47 PM PDT

    https://www.stemaudio.com/roomdesign/

    Is this a wordpress plugin? Is there a name for this kind of interface? Came across this website and became curious about how they made this interface. I am new to web dev and would love to make a mock up version of this. Could be a cool learning project sense it is different than anything I've seen. Any tips on how to create something like this is appreciated.

    Edit: Just to note, I am a embedded systems developer who is trying to expand and become more comfortable with web dev. So I am not very savvy in this area.

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

    Why shouldn't my team separate the Web server from the REST API server?

    Posted: 19 Oct 2020 04:07 AM PDT

    I am participating in a project that involves a JavaScript SPA that provides a service and is intended to interact via REST APIs with one of our servers. Initially, I proposed to work on the two entities as two separate projects; specifically I put forth the following

    • The user accesses the Web app through a www.myservice.org address
    • The Web app contacts an api.myservice.org service for REST interactions

    but I was immediately faced with rejection by my team. I was told that the Web app, residing at www.myservice.org, should contact the REST server via something like www.myservice.org/api because doing otherwise would entail a security threat or that it would be too expensive (?). I didn't say this was a bad idea, but I insisted on splitting the API server from the SPA-serving one for the following reasons

    • Scaling
    • Separation of concerns
    • Easier code management

    I'm much more of a developer than a system admin and security expert, so I couldn't promptly reply their rejection.

    What technical reason is there for not splitting the one server into two? I was vaguely told about Cross-site scripting but even then the reasoning wasn't perfectly clear to me.

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

    Hiding Emails and Phone numbers from bots. Do you do this? How do you do this? Is this even a thing?

    Posted: 19 Oct 2020 02:21 PM PDT

    I've just made a website for a client, and it has a 'call us' number, they're a small business and I didn't want to risk them getting spam phone calls.

    So, just as a last minute thing I threw this in:

    ``` <a id="call-us" href="#">Call Us</a>

    <script> window.onload = () => { let el = document.getElementById("call-us"); el.href = tel:0123456789 } </script> ```

    Not very clever at all, but I assumed it would somewhat make it less likely it gets crawled, as the phone number isn't in the link.

    Are malicious bots trawling the internet for phone numbers? My guess is, yes. I used to get spammed with calls trying to sell me web design services. But I don't know.

    How would / do you do hide emails and phone numbers from bots?

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

    Is there value in hanging onto an old Digital Ocean Droplet?

    Posted: 19 Oct 2020 01:05 PM PDT

    I just moved a project off a droplet that has been on for 6 years. Is there any value in hanging onto the droplet (mainly for the IP address) or should I just destroy it and save the $$?

    Thanks

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

    Suggestion for well-written javascript libraries that junior developers can learn from it?

    Posted: 19 Oct 2020 12:10 PM PDT

    Hello,

    I'm a junior Web developer that wants to improve my code, before a couple of days I looked into some third javascript library we use in our project and I saw how it's organized and well written.

    so I had an idea why I don't search for a small javascript library and some tricks from it.

    can someone suggest a javascript library that well written and can learn from it?

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

    How to show real-time updates in a web app using spring boot, thymeleaf and java?

    Posted: 19 Oct 2020 03:38 PM PDT

    I created a web application using Java, spring boot and thymeleaf. It works, but need help to make it better. Tl;dr at bottom.

    It accepts an input, queries a few MySQL tables, and does some processing in different threads. The result is presented as a list in the form of a left nav, which can have one or several rows, based on the input. On clicking each item in the list, a table is displayed on the right side. It can take a few seconds upto a minute for initial list to be loaded based on input.

    First version:

    The application accepts the input from a text box, and the results are loaded in same page. A spinner is displayed until complete results are loaded in one go, blocking the user.

    Second version:

    I tried to make some improvements. I added mongodb and attempted to use webflux for real-time updates for presenting the list as and when each record is ready in the backend. On submitting the input, a new tab opens where the list should be loaded with items whenever they are ready. So user does not have to wait for the whole process to finish and can start reviewing the result whenever each record is done in backend. In the backend, I insert the results in a mongodb collection. The new page simply fetches the results from this collection based on a resultId. This version is better than the first one, but I still haven't made it work seamlessly. I'm having trouble with webflux and streaming is not working (perhaps I'm not registering the consumer properly). So user has to manually refresh the page for results to display.

    Ideal application / Tl:dr:

    • User is not blocked after submitting the input

    • User stays on same page and can submit additional input

    • Results are displayed on same page as real time updates without manually updating page

    • Avoid persisting result in mongodb, if possible

    • Nice to have: alert user when results are completely loaded

    Is continuing with surfing webflux the best way to achieve this? Or should I consider websockets? Any sample projects I can refer would be highly appreciated too

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

    Correct HTTP method for a searchable endpoint?

    Posted: 19 Oct 2020 03:26 PM PDT

    So say you've got a massive database that you want to be searchable. `/posts` is the endpoint. This is an endpoint that returns data, so `GET` is the correct method.

    However, we want the ability to pass a bunch of data in to this endpoint to filter things down. These can be anything from channels, to titles, to users, to comments...

    In bad cases, the request can be a few thousand characters long, at which point- we break the url max length limit!

    Should we switch to using a `POST`, then send the data in the body of the request? We could potentially send via `GET` with data attached to the body as well- but that feels even more hacky.

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

    What is your favorite course for managing website development?

    Posted: 19 Oct 2020 09:11 AM PDT

    Are there any courses or web pages that teach you how to manage multiple website development projects simultaneously and successfully?

    Thanks

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

    Image Upload Frontend to Backend

    Posted: 19 Oct 2020 06:58 AM PDT

    Hello!:) I need a little bit of a help.
    I am working on a project where you can post products with a categorie and a picture and other people can vote for it.
    It is a angular frontend and a node.js express backend and a nedb as "database".
    Everything works just fine.
    But i do something that feels wrong, so i search for the best practice on this point.
    When a User wants to send a product to the backend he writes all the stuff in a form and takes a picture with his mobile phone cam or uploads one.
    All this input goes via https to the node express server. So i encode the picture to base64. In the database i write a new entry for the stuff and the base64 goes in the database aswell.
    I think the best way would be a upload mechanism and just a link to the path on the database. But i can't find any tutorial for this.
    Can someone help me out?
    Thanks alot <3

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

    Meet Face ID and Touch ID for the Web

    Posted: 19 Oct 2020 02:23 PM PDT

    My favourite web tech

    Posted: 19 Oct 2020 02:04 PM PDT

    Fabulous adventures in coding

    Posted: 19 Oct 2020 02:01 PM PDT

    Asking for feedback on a indie game website design

    Posted: 19 Oct 2020 10:11 AM PDT

    Hello r/webdev. I would like to ask you about the website we are preparing for an indie game. https://www.beyondallreason.info/

    It is half-finished.

    Please share your thoughts on what could we improve, for maximum downloads and usability of the website. Any constructive feedback appreciated :) I hope this won't be considered self-promotion. It's a free, indie, open source game project.

    Thanks to everyone in advance!

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

    I'm having some trouble with my WordPress site and Spam email, I dont know where its coming from and was hoping someone could help..

    Posted: 19 Oct 2020 01:50 PM PDT

    I'm having some trouble with my WordPress site and Spam email, I dont know where its coming from and was hoping someone could help..

    On the site I use the WP Mail SMTP plugin. I have that configured to send Order Confirmation emails and what not from a Gmail address dev@gmail.

    Anytime an order comes in, dev@gmail will email a receipt etc.

    I notice now that this email is sending approx. 15 emails a day in spam.

    (Its only sending the email to one address, the address is actually the clients. So i setup a dev email for all my work and they have their own business one. All the spam is being sent to it and nothing else)

    spam mail in sent box

    A sent spam email

    Does anyone know what might be causing this and how I could go about fixing it?

    I notice one of the blog posts has an unusual amount of spam blocking in the comments, im not sure if that would have much to do with it.

    https://preview.redd.it/5o7a16hc64u51.png?width=229&format=png&auto=webp&s=dec62b0a033f9049cdbc04c0072264e0992b6fd6

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

    Passed my apprenticeship

    Posted: 19 Oct 2020 09:59 AM PDT

    So after 2 years and 17 days I passed my apprenticeship, I am now ready to start as a junior backend developer at my company.

    As part of that I need to argue the case for a payrise from my apprenticeship wage. I was wondering if anyone had any helpful tips with regards arguing for a good pay rise after a qualification?

    Many thanks.

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

    Update the value of the radio group when changing another radio group?

    Posted: 19 Oct 2020 07:08 AM PDT

    I have two radio groups.

    And the value of the second group, changes when the first group changes. The problem is that the varible value dont change, or i dont get the oportunity to update the value.

    First group:

    <ion-radio-group [(ngModel)]="cardOrderNumber" (ionChange)="updateCardOrdersNumber($event)">

    <ion-list-header>

    <ion-label>{{'component.loyaltyCard.numberOfOrdersNeeded' | translate}}</ion-label>

    </ion-list-header>

    <ion-item>

    <ion-label>6</ion-label>

    <ion-radio slot="start" color="success" [value]="6"></ion-radio>

    </ion-item>

    <ion-item>

    <ion-label>8</ion-label>

    <ion-radio slot="start" color="success" [value]="8"></ion-radio>

    </ion-item>

    </ion-radio-group>

    this group have two buttons that changes one number

    group 2:

    <ion-radio-group (ionChange)="updateCardTittle($event)" >

    <ion-list-header>

    <ion-label>{{'component.loyaltyCard.cardTitle' | translate}}</ion-label>

    </ion-list-header>

    <ion-item>

    <ion-label>Encomende {{cardOrderNumber +1}} pague {{cardOrderNumber}}</ion-label>

    <ion-radio slot="start" color="success" value="Encomende {{cardOrderNumber +1}} pague {{cardOrderNumber}}"></ion-radio>

    </ion-item>

    <ion-item>

    <ion-label>Pague {{cardOrderNumber}} receba 1 grátis</ion-label>

    <ion-radio slot="start" color="success" value="Encomende {{cardOrderNumber}} receba 1 grátis"></ion-radio>

    </ion-item>

    </ion-radio-group>

    this group have two buttons two, that the value of them changes when the number change of the first group.

    The problem is that when the value changes, the value of the radio group dont update. Even with the ionCHange method.

    Is there any method that updates the value? Or what can i do to update the value?

    The functions on ionCHange are just simple functions that places the value of the radio button into a variable

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

    Can dovecot imap-login method=PLAIN, TLS be improved?

    Posted: 19 Oct 2020 12:33 PM PDT

    Is this sufficient or should I research a more secure method for my mail to connect to Dovecot/IMAP to retrieve my mail? I just want to double-check that TLS is handling the job sufficiently here and that I don't need to research anything further to protect my emails with banking information, etc. in them.

    Oct 18 09:20:41 fqdn dovecot[625532]: imap-login: Login: user=[admin@mydomain.com](mailto:admin@mydomain.com), method=PLAIN, rip=[iphere], lip=[iphere], mpid=1205868, TLS, session=<eoThs/KxNsvUZi1z>

    Oct 19 14:53:06 fqdn postfix/smtpd[1530709]: 7BB4754341A3: client=unknown[iphere], sasl_method=PLAIN, [sasl_username=admin@mydomain.com](mailto:sasl_username=admin@mydomain.com)

    This is a Centos 8.2 droplet on Digital Ocean running Webmin/Virtualmin hosting less than 10 websites. Running Postfix as my MTA, thinking about Exim potentially.

    Thanks for any direction and research topics.

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

    The most useful accessibility testing tools and techniques

    Posted: 19 Oct 2020 01:53 AM PDT

    Need to know when having a site developed

    Posted: 19 Oct 2020 11:00 AM PDT

    Dev provides hosting. How can I be sure that I will be able to make all the changes I want and switch to different hosting, if I should want to switch once the dev has finished building the site?

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

    No comments:

    Post a Comment