• Breaking News

    Sunday, April 4, 2021

    Learn something new about JavaScript everyday in less than 1 Minute web developers

    Learn something new about JavaScript everyday in less than 1 Minute web developers


    Learn something new about JavaScript everyday in less than 1 Minute

    Posted: 04 Apr 2021 05:20 AM PDT

    I have a youtube channel called ProgrammingWithYash where I publish a short JavaScript tutorial every day. My goal is to teach a common pattern or technique in under 60 seconds.

    I try to be respectful of the viewers time and make the videos terse and clear with as little unnecessary fluff as possible. The content is mostly aimed at beginners, I hope it can help some of you to get into the habit of learning something new every day.

    As I'm just starting out with this youtube thing, I'd love to hear your feedback regarding the format, content, anything... (topic suggestions are highly appreciated as well).

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

    How do you design a website as a back-end developer?

    Posted: 04 Apr 2021 01:22 PM PDT

    I am a back-end developer and I sometimes help out on the front-end but none of that involves designing and building the templates. I am trying to build a couple of websites for myself and I am getting design inspirations from Dribble and Awwwards but I always get stuck in how I can translate those beautiful designs into a functional website. Is there any way, trick, or service that you guys are aware of out there that I can use to create the templates without knowing much of web design standards and trends?

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

    10 New CSS Features You Might Not Know About (2021 Edition)

    Posted: 04 Apr 2021 05:34 AM PDT

    Working remote in Europe

    Posted: 04 Apr 2021 10:13 AM PDT

    Hey everyone!

    I was wondering how does it work if for instance you live in a country from the EU and want to work remote in another country. Let's say you live in Portugal just for the sake of an example, and get an offer to work remote in Germany. How does the entire thing work? Where do you pay taxes? Where do you enjoy benefits? Is this even possible (I'm under the impression it is)? Please let me know if anyone is doing this and if it's a good idea.

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

    �� Sup. A micro page for content creators.

    Posted: 04 Apr 2021 07:13 AM PDT

    Sup!

    I've been working on a little micro page platform for anyone to seamlessly share unlimited links in one place over at supits.me

    Setting up a Sup page can be done within seconds and there are a couple of clean design options to customize your header, background and buttons.

    As of yesterday I've also added a component library to easily drag and drop components on your page like YouTube embeds, Twitch embeds, an Ask Me box and more to come.

    Sup is free for everyone and the first couple of names have already been claimed.

    We're currently still in beta and appreciate every kind of feedback we can get, especially in these early stages.

    In a couple of months we will change our release cycle to once a week, but during the beta we're rolling out features more rapidly.

    Some upcoming features are:

    • Scheduled links
    • Highlighted links
    • More buttons and backgrounds
    • A mobile app with near-field communication which allows you to tap on someone's phone to get to their page.
    • In-depth statistics
    • Deep links
    • And more

    I'm aware that these web apps exist, but they al have some sort of pricing. Sup is free for everyone. And I find it a fun little project during the times we're all in.

    Example pages:

    https://supits.me/sup
    https://supits.me/jesse

    If you're interested, check out https://supits.me and get started for free!

    And if you have any questions, suggestions or feedback, let me know! :)

    Happy Easter!

    🤙

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

    Tech behind 'Learn Coding' UI in websites

    Posted: 04 Apr 2021 10:56 AM PDT

    Hi everyone, I didn't see an /r/askwebdev subreddit on the sidebar so I hope it's ok to post a question here.

    How do websites create the code box for inputting code and returning the query, e.g. like on W3schools? I googled this a tad, mostly with reference to python because that's what I'm familiar with, with little luck.

    Would this sort of website be highly susceptible to SQL injection attacks? I imagine they're using multiple databases?

    Thanks!

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

    Is web development software development?

    Posted: 04 Apr 2021 03:47 PM PDT

    Is there a fundamental difference between web development and software development?

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

    Image/media hosting services?

    Posted: 04 Apr 2021 11:41 AM PDT

    Hey everyone, I'm currently developing a small business website for a client and was debating on either storing images on my own server or using a 3rd party API for that. I've never really worked with third party hosting services other than S3 so I just wanted to know which services you guys recommend? I really only want to use it to store and retrieve images (even after directly uploading it). Thanks in advance!

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

    clayoven - a beautiful website generator aimed at math-heavy sites

    Posted: 04 Apr 2021 11:45 AM PDT

    Quick question about how to organize data in DB

    Posted: 04 Apr 2021 09:36 AM PDT

    Hi,

    I'm doing a personal project to try and get back into DBs and data modeling, things I haven't touched for almost 10 years (and even back then I was very junior at it). I'm intending on taking online classes but I was hoping to get a quick answer to this particular case, just to get me started.

    My project is : I have a fictional city full of supernatural beings as an RPG setting. I'm populating the city with NPCs. These characters can be one of many "races" (vampire, werewolf, mage, fairy, demon etc). Each "race" has its own social structure : vampires are organized by clans and then by sects. Mages have traditions and then a looser "affiliation", and may or may not belong to a sub-tradition. Fairies have "families" but also belong to a court, and then may or may not also belong to a noble house. And then each within their hierarchy, characters may or may not have a title, and this title can mean different things for different races : for some it's a nickname, for others it's an official position. I'm just mentioning all this to illustrate how different each character can be, and I'm expecting my DB modeling will have to be very flexible in that sense.

    With all that in mind, I'm wondering how I should organize the different kinds of "affiliations" in a SQL DB. Here are the different approaches I can think of :

    - The "Wordpress" approach : I make one big table called glossary, containing all the possible terms, and each term has one column race_id and one column category_id, and then I make another table glossary_categories and then another table races and work with foreign keys. I would also expand this table to eventually store the different attributes they can have, their different powers, etc. That table could become quite massive indeed.

    - I make tables vampire_clans, vampire_sects, vampire_titles, mage_traditions, mage_titles, etc etc etc for all the kinds of categories I need. That would make a LOT of tables, but the information would be super organized and unambiguous (but maybe less scalable).

    - A mix of the above : I create different tables for each race, or different tables for each category. For instance I'd have vampire_social, vampire_powers, mage_social, mage_powers etc. So the data would be partly organized by "theme".

    As things are, I can't think of a reason not to go with the "Wordpress approach", other than it would result in one massive table and it somehow feels wrong to me. But to its defense, it would make it scalable if I were to, for instance, add a new race, or add a new attribute for an existing race.

    I'm curious how others would go about it.

    Thanks for your input !

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

    javascript+plotly.js question: how to fetch csv to javascript arrays? (for datetime ordering)

    Posted: 04 Apr 2021 08:24 AM PDT

    javascript+plotly.js question: how to fetch csv to javascript arrays? (for datetime ordering)

    This is actually a general javascript question. I use plotly.js to display my sensors in my dashboard. My purpose here is to start the graph in first datetime and ends in last datetime

    This is the csv I have

    https://preview.redd.it/jyca2ln2a6r61.png?width=387&format=png&auto=webp&s=8099cc9251cad8e64e5960b0d6e39642b32542c8

    I had the graph done with this reference. (i just changed the csv file)

    https://preview.redd.it/a2ld8s0za6r61.png?width=475&format=png&auto=webp&s=e333d6d14f23bf98ead3b5d41491efe8589e677d

    the problem is that in reference, the range is fixed, not reading from csv, for example:

    var layout = { showlegend:true, legend: {x: 0.4, y: 1.2}, title: 'Time Series with Rangeslider', xaxis: { autorange: true, range: ['2021-02-17', '2021-04-10'], // <--- i'm talking this one 

    is it possible to make range matching the csv first and last data?

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

    Business concerns

    Posted: 04 Apr 2021 03:01 PM PDT

    I was contemplating on learning web development or putting that time towards something else. Let's say I needed to create a website for my business would I just be better off paying a guy on Fiver $100 - $200 or learning web development myself and making the website.

    Time is really the leading factor here money is second. I just wanna know if web development will be a valuable skill later in the business or outside.

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

    Advice on how to defend my website project from hackers

    Posted: 04 Apr 2021 02:58 PM PDT

    Does anyone have detailed advice on how to protect my nearly complete website from hackers (once launched) and protect the personal information of my customers.

    Thanks.

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

    Create Beautiful PDFs from HTML (trending on Hacker News)

    Posted: 04 Apr 2021 02:10 PM PDT

    Web push notification test site

    Posted: 04 Apr 2021 01:11 PM PDT

    Hi ! Is there a site where i.e. have a button "send notification in 5 seconds" and i can see if they work, even if the browser is closed ?

    Thx !

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

    Trying to sort different columns using JavaScript. It goes faulty when sorting numbers

    Posted: 04 Apr 2021 12:49 PM PDT

    Code for sorting when clicking on a column:

    $('th').on('click', function(){
    var column = $(this).data('column')
    var order = $(this).data('order')
    console.log('Column was clicked!', column, order)
    if(order == 'desc'){
    $(this).data('order', "asc")
    skinArray = skinArray.sort((a,b) => a[column] > b[column] ? 1 : -1)
    }else{
    $(this).data('order', "desc")
    skinArray = skinArray.sort((a,b) => a[column] < b[column] ? 1 : -1)
    }
    buildTable(skinArray)
    })

    How can I make this sort numbers too?

    submitted by /u/im-faster
    [link] [comments]

    Quickest way to store some data with minimal effort?

    Posted: 04 Apr 2021 06:41 AM PDT

    Edit: Without a server. My websites are on Netlify.

    Hey guys, I'm looking for an extremely simple and fast way to dump some basic data coming from a website (literally just a couple numbers)

    I'm trying to find a good solution when I need a database for a quick thing like this, for now and in the future.

    I'm thinking something as simple as Google Sheets, Airtable, Replit's Database feature, etc. What other solutions are there that are this simple and require very little work?

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

    React youtube player keep track of user skipping in video.

    Posted: 04 Apr 2021 12:28 PM PDT

    I want to keep track of when the user plays and pauses and skips in the youtube video. Currently looking at two libraries react player and react youtube. Both of them have callbacks for play and pause but they don't have any props or callbacks or method to check if the user skipped. If you have any idea on how to implement something like this. Please help

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

    As a studying web developer aiming to become a full-stack developer - should I make my project with custom CSS or is it OK to use packages such as bootstrap, semantic, etc?

    Posted: 04 Apr 2021 02:44 AM PDT

    Is it worth putting into the time to make all CSS custom, or is it fine working with CSS packages?

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

    Amit sheen is awesome #css_only

    Posted: 04 Apr 2021 03:22 PM PDT

    Power of CSS #css_only @davidkpiano

    Posted: 04 Apr 2021 03:21 PM PDT

    No comments:

    Post a Comment