• Breaking News

    Thursday, September 9, 2021

    Is there any decent alternatives to photoshop? Please help (commented) web developers

    Is there any decent alternatives to photoshop? Please help (commented) web developers


    Is there any decent alternatives to photoshop? Please help (commented)

    Posted: 09 Sep 2021 02:07 PM PDT

    Why is it not advised to "hotlink"?

    Posted: 09 Sep 2021 05:06 AM PDT

    I am working through a CSS course on LinkedIn Learning and the instructor said that we should never hotlink, but they never explained why or what is bad about it?

    See the example below from the slide:

    <a href="https://somesite.com"> Link to external site</a> This is OKAY.

    <img src="https://somesite/images/photo.jpg"> NOT OKAY.

    My guess is that in the img example, you would have to provide certain access, and thus potentially giving access to a directory/root of some folder, creating a security flaw. But that's just a guess.

    The lesson revolved around absolute paths.

    Any thoughts/comments on this?

    Edit: Hey guys, thank you all for your valuable input! I fully understand it now!

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

    What's the best way to create this design?

    Posted: 09 Sep 2021 11:34 AM PDT

    When should I actually use MongoDB?

    Posted: 09 Sep 2021 06:13 AM PDT

    Hi,

    This question bothers me in the last days.

    As in every example I find, when it grows in complexity, I find that I am going to need left joins.

    In MongoDB "commercial" they give an example of health system, and patient, and it makes sense, since it saves all the left joins for mandatory things.

    But then as it grows more complex, and there are appointments and doctors and clinics, I realize I am going to need left joins to share appointment between doctor and patient and clinic and so on.

    It feels like in any complex application there going to be relations, and then SQL is preferred, so what are the actual use cases for MongoDB?

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

    How can I achieve the background effect with CSS and SVGs

    Posted: 09 Sep 2021 07:25 AM PDT

    Any Frontend centered project ideas ?

    Posted: 09 Sep 2021 06:01 AM PDT

    Hi guys, I'm trying to improve my frontend resume, all of my project to that point have been heavily centered towards the backend, I used React/Vue in all of them and tried to respect these frameworks principles like reusable components, intelligent usage of states etc but it wasn't that challenging.

    Do you have any frontend centered project idea ? I Feel it'd also be a good occasion to test lightweight backend solutions like fastApi or NextJs api routes with something like Prisma ! Thanks in advance.

    submitted by /u/Heroe-D
    [link] [comments]

    15+ Free Alternative to Tailwind UI [Tailwind Components]

    Posted: 09 Sep 2021 05:56 AM PDT

    Native Rust support on Cloudflare Workers

    Posted: 09 Sep 2021 06:24 AM PDT

    how to get experience in web development if no one wants to hire me ?

    Posted: 09 Sep 2021 08:35 AM PDT

    because I never worked in a company before and have no experience all the companies turned me down :(

    any idea how can test my skills ? and improve them ?

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

    Should I use GET or POST when I do not need to pass any data, but it adds new data DB nonetheless? (Backend)

    Posted: 09 Sep 2021 09:23 AM PDT

    Basically I have made a GET function that scrapes data from a website, and a POST function that saves into a DB.

    Now I want to call both in the same function. Should this function be a GET or a POST? I do not see a point on using a POST because I am not passing any data. However, the function changes the DB, so it sounds like a POST...

    OR

    Should I call both in the frontend in sequence? So call the GET to scrape the data, and then call the POST to save the data?

    OR

    Just have a GET/POST that will scrape and save in the DB in the same function?

    What is the best practice?

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

    Same tiny project refactored 9 times, still to be refactored 3 more times. Simple app in a simple environment with not many moving parts = good way to practice new ways to solve problems.

    Posted: 09 Sep 2021 10:00 AM PDT

    The tiny little JS project has now been rebuilt 9 different ways, and will be rebuild in 3 additional ways. There is a write up about each build (in an 11-part series of writings).

    The little project is a random quote machine. Simple project. Perfect to play around with concepts.

    Different data structures and state management with Redux have been used in previous builds. This week the UI has been built with React using function components (Hooks) and calling an asynchronous endpoint. The same had been previously done in the series using class components.

    Next week the project will be using global state management (with Redux) to help update the different components with the current application state (like in flavor #4), but this time React will be used to build the UI (not manually building the UI with HTML like previously).

    If you are interested, there is also a repo linked in the write up: https://morsewall.com/random-quote-part-9-react-hooks-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]

    Hacktoberfest 2021

    Posted: 09 Sep 2021 11:06 AM PDT

    What's the quickest way to set up a website that sell subscription-based products?

    Posted: 09 Sep 2021 03:29 AM PDT

    As per title, I'd like to jump on the subscription-boxes bandwagon, but apparently there aren't any free open source solutions I could start from

    Now coding it from scratch would take me longer than my attention span for the project, and I'd probably dump it among its unfinished brothers, so I could really use a jumpstart, is there any CMS/framework that might kickstart the whole thing, so I'd just have to adapt it to whatever I need?

    The frontend part is what I hate the most, so having something ready that I'd just develop some API for would be the best

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

    Can a website send information to the server without me seeing it in the developer tools?

    Posted: 09 Sep 2021 01:01 AM PDT

    Basically, can a website send http requests (either via php form submit or javascript ajax/ whatever) without me seeing it in the network tab of the developer tools?

    Wouldn't this be a major flaw if the page could send requests without it being shown in the developer tools network section?

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

    Declare text decorative

    Posted: 09 Sep 2021 01:00 PM PDT

    Is there an easy way to declare text as decorative so the various ADA conplaince software won't check the contrast? I assumed there was an aria tag or something for this, but I'm not seeing one

    In my current use there is a section title that is being duplicated as a redundant background element. (Because we obviously need to put NEWS in giant letters behind the news section)

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

    Building a split-button component

    Posted: 09 Sep 2021 07:11 AM PDT

    Full control with the VirtualKeyboard API

    Posted: 09 Sep 2021 11:31 AM PDT

    Feature Request -- "don't show this again" for any site that has a searchable database

    Posted: 09 Sep 2021 11:12 AM PDT

    So, we do a fair bit of online shopping / travel-booking / etc. and would love a way to do like an anti-favorites button. Literally the opposite, a "don't show me this result again" button. Maybe let it timeout after a week if your clients are worried it'll hurt long-term sales of that item. But man it sure would be nice to be able to browse in/out of searches and not see the same things that we've already ruled out repeated and taking top slots. Heck, put a KPI against it with a "remove from results because: too cheap/expensive/small/ugly".

    I'm just a hobby developer, so it's not like I can implement this at my company. But curious if others have had this idea and why it did or didn't get implemented through to production?

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

    "Floating" WYSIWYG editor?

    Posted: 09 Sep 2021 08:04 AM PDT

    Im looking for an editor where user can select a textarea (div/span with text), and editor pops up... and the user can use the change the text. The editor would return back selector ID or xpath, and text that was changed to. Should ideally be the same for media (images and video as well). I've seen weebly /wix do this, but i wasn't sure exactly what they were using.

    ANy ideas?

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

    Do I need a portfolio to get a job?

    Posted: 09 Sep 2021 10:23 AM PDT

    Hello!

    I am looking to start a new career as a web developer and I have some questions that I think you can answer.

    I think I will always have that fear of starting a new career with my 30 years old (I can't stop thinking I'm too old!).

    In any case, I would like to know if it is necessary for me to have a portfolio of web pages before starting my job search (since this will take a lot of work and time).

    Besides this, I would like you to give me some advice on how to find that first job.

    One last question: I live outside the US, but I know that there are many more opportunities in the US to find a job as a web developer and I would like to know what I should do to find a job as a junior developer and work remotely from where I actually live.

    To me being a web developer is a dream, I really love the stuff!

    Thank you very much!

    submitted by /u/Free-_-Yourself
    [link] [comments]

    Error 429 when using youtube_dl

    Posted: 09 Sep 2021 12:27 PM PDT

    Hi Reddit,

    I have a Vue, Django integrated project. I hosted the Vue project on Netlify and the Django project on Heroku. A python script (integrated into Heroku) is called on certain buttons which extract data from a youtube livestream and posts this to the Django API and PostgreSQL database to be viewed on the frontend.

    Now I am using youtube_dl in Python to get the frames of the youtube live stream, to be analysed. I get error 429 when going through the following piece of code:

    ydl_opts = {} ydl = youtube_dl.YoutubeDL(ydl_opts) info_dict = ydl.extract_info(url_matches, download=False) formats = info_dict.get('formats', None) for f in formats: # I want the lowest resolution, so I set resolution as 144p if f.get('format_note', None) == '360p': # get the video url url = f.get('url', None) # open url with opencv cap = cv2.VideoCapture(url) 

    Where url_matches is the link to the youtube live stream. I use the cap, to read out the frames. The error appears before formats (so the problem is not in that part of the code).

    I saw online that error 429 (Too many requests), is because of that it is hosted on Heroku, and there is a limit on the requests you can make to 'download' youtube videos.

    I also saw, that people used --force-ipv4 to get around this problem, but I am not sure how I would use this solution in my specific code (as I do not have a regular command (?)). Is this the way I can solve it, and if so how? If not, is there another solution I am missing?

    Thanks!

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

    Facebook instant articles rss feed

    Posted: 09 Sep 2021 02:30 PM PDT

    Hello,

    Is there anyone who has worked with facebook instant articles?

    I got contacted by someone who wanta to monetise their facebook page and they are being asked to provide an RSS feed, or an API endpoint from their website.

    Does anyone have an idea what they need provided in there, and how should I go about it?

    Their website is a classic HTML one-page. (No builders such as Wix or CMS such as WP)

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

    When to use GET with query string and when to use POST with body ?

    Posted: 09 Sep 2021 04:32 AM PDT

    I'm starting a bootcamp, and I have a laptop with 8gb ram and i3 core of 2.5 GHz, will the processor be a problem?

    Posted: 09 Sep 2021 04:22 AM PDT

    Any solution would be greatly appreciated

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

    No comments:

    Post a Comment