• Breaking News

    Wednesday, August 25, 2021

    DiceBear is an avatar library for designers and developers. You can choose between simple identicons and lovely designed characters. And best of all: We provide a simple and free HTTP API that you can use right away! web developers

    DiceBear is an avatar library for designers and developers. You can choose between simple identicons and lovely designed characters. And best of all: We provide a simple and free HTTP API that you can use right away! web developers


    DiceBear is an avatar library for designers and developers. You can choose between simple identicons and lovely designed characters. And best of all: We provide a simple and free HTTP API that you can use right away!

    Posted: 25 Aug 2021 07:13 AM PDT

    Do people within dev teams ever use different frameworks than the other employees?

    Posted: 24 Aug 2021 10:21 PM PDT

    I'm asking because currently I'm learning React and I'm not sure if I like it very much. I've heard Vue might be a better fit for some people. However, most job postings in my area seem to be looking for react developers but I've seen some mention "react or equivalent framework". Does this mean some teams use multiple frameworks?

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

    Dealing with frustration when you can’t figure something out/don’t like being a developer and not good at it but have no choice right now? Am I burning out?

    Posted: 25 Aug 2021 01:48 PM PDT

    How do you deal with the overbearing frustration you feel when you're stuck on a problem and nothing works and you can't find anything on google? Like the "I'm about to smash my keyboard" feeling when you can't load jQuery?

    Another example I did a git push to a wp engine site and it totally crashed, because the core files changed, even though I didn't change them, and even WP engine couldn't figure it out.

    I've been doing this now for 6 years and This has been happening to me a lot lately and it's really eating away at me. I have to ask questions on stack overflow now just about every day, and I feel like my skills are deteriorating each day.

    My hunch is that I'm getting closer to closer to just hitting a proverbial wall, am I burning out?

    How can I mediate this and not get so frustrated all the time?

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

    What services/tech do you use to deploy your apis?

    Posted: 25 Aug 2021 10:28 AM PDT

    I have a raspberry pi and was thinking of hosting an api on it. Not sure how to go about it or what my best options are for cheap hosting. Thanks :)

    Edit: thanks for the helpful responses! For clarification i am looking to deploy the api so i can access it from other devices

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

    How would I go about making a text-command based text adventure game within a website?

    Posted: 25 Aug 2021 07:32 AM PDT

    I am still learning a decent amount, and am by no means good.

    However, for the longest time I've wanted to make a website that houses a text-command based text adventure for a story I am telling!

    *Example:* *Text shows up on screen-* "You are in a room, what do you do?" Player types: go left - You go left Player types: go right - You go right 

    I've seen tutorials for web-based Choose Your Own Adventure style games where you click buttons to move forward- However, I hate that feeling of how it plays out. I already tried it, and I don't quite like it. It seems like you are forced to take a certain route, unlike command based which gives the illusion of freedom.

    I really love the terminal style text adventure that exists in the show Mr Robot, and am using that for inspiration! :D

    Any ideas or tutorials on how to make something like this?

    Thanks!

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

    Deciding between these two DSA Udemy courses

    Posted: 25 Aug 2021 01:00 PM PDT

    I have been wanting to learn about data structures and algorithms for the past few days as I feel comfortable enough with the fundamentals of JavaScript. I came across these two courses on Udemy.

    https://www.udemy.com/course/master-the-coding-interview-data-structures-algorithms/

    https://www.udemy.com/course/js-algorithms-and-data-structures-masterclass/

    Does anyone have any experience with either of the courses? Or could someone with DSA knowledge perhaps recommend one of the two based on what's shown on the course's page?

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

    Would you work a front-end support job?

    Posted: 25 Aug 2021 12:39 PM PDT

    I'm sorta in a hard place right now. I've gotten a couple of interviews and haven't made any real progress towards getting an offer. It's a little defeating but at the same time I want to make sure my next company I work for is the right one. I don't want to stay at a job for 3 or 4 months and leave because I fear how it would stain my resume. So I've been super picky but again, I'm sorta in a hard place because I'm not bringing in any income and Only Fans is shutting down in October.

    I have an interview for a front-end support role at a very large company, a company that will probably pay me $80-85k+ which is what I will ask for to take this position. This is a considerable amount more than what I'm used to. But it's a front-end support role and I'm not sure what I could expect. It could be chill with me just editing client sites and fixing small CSS bugs or it could be me putting out fires all day and stressed out, but I won't let myself get stressed out because I've done that before and it really messed me up for a long time. I don't take work home with me anymore and I'm much more happier now and I would implore all jr devs to also not do that either. You will crumble eventually and it'll be bad.

    But besides all my rambling would you work a front-end support job?

    submitted by /u/Diamond-Husky-Poop
    [link] [comments]

    Can you please help me choose the right web platform for an "art gallery"?

    Posted: 25 Aug 2021 12:39 PM PDT

    Web service hosting for practice?

    Posted: 25 Aug 2021 12:43 AM PDT

    I want to set up a wordpress site, that will be used for my exams project in web development, so I need FTP and backend access. (I will upload the wordpress files myself via ftp, so don't need a wordpress solution) I was using one.com, but it is rediculously expensive for what I am using it for.

    Anyone have an alternative I should use?

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

    I need to run some python in the background

    Posted: 25 Aug 2021 07:29 AM PDT

    So I'm making a website using Django, and there is some code that I have set up to run every hour, however when I call this as a function in views.py it doesn't load the web page until the function has finished which isn't ideal for my website, I want it to be a background process which occurs outside my views file. If it helps I plan to deploy my website using AWS.

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

    Roy Fielding's Misappropriated REST Dissertation

    Posted: 24 Aug 2021 11:09 PM PDT

    Permanently editing an element and making it so its global

    Posted: 25 Aug 2021 03:20 PM PDT

    Alright, so I've been trying to make a website that works similar to Wikipedia where you are able to edit a page and have it be global. I have tried localStorage in javascript but it only works for the device that used it. Now, I have never used a database system or a server programming language, would I need it for what I am trying to make? And if I do, how would I do it, would anyone like to share the code with me?

    Btw, I am using repl.it as my ide and web thing.

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

    Good design deserves good code

    Posted: 25 Aug 2021 02:56 PM PDT

    RESTful API design and business logic

    Posted: 25 Aug 2021 02:13 PM PDT

    On a recent product, I found myself at a crossroads on whether or not I wanted to design an API to be service-based or straight up RESTful.

    A pure REST approach means I would expose CRUD operations to the end-points. This approach naturally will involve making at least 5 URLs per resource which means more URLs overall. Additionally, this design bypasses any sort of business logic that Service-Repository pattern implementations offer.

    If I went with a service based design, that would allow me to define business rules in the API and thus ensure proper data CRUS operations. This also means fewer end-points but with more complex route schemes.

    I see the merit in REST but I fail to see how anyone can establish business rules with that approach. I'm interested to hear other opinions on this.

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

    Creating A Public/Private Multi-Monorepo For PHP Projects

    Posted: 25 Aug 2021 06:04 AM PDT

    Some help/advice needed on how to approach an API issue with a web app I am building....

    Posted: 24 Aug 2021 06:44 PM PDT

    I am hoping somebody on this sub can help with some advice on the best way to approach a site I am building for someone that needs to make (potentially) consecutive API calls.

    A sort of work-in-progress of the final site can be seen here:

    https://investors-vc.netlify.app/

    It will be embedded as part of another site. Eventually it will have data for 600+ companies and this is what i need help with on the API front. The companies are being entered and stored on a Wordpress site via a Gravity Forms page (that side of things is being done by someone completely different). Api restrictions means it will only return a max of 100 per request. The url looks something like this:

    someapiurl/users?roles=fintech&per_page=100

    Now this will work fine whilst the results are under 100 but as I said eventually it will be 600+ and then the URL(s) start to look like this

    someapiurl/users?roles=fintech&per_page=100&page=2 (or page=3, or page=4 e.t.c.)

    The frontend is being built in React (by myself) and at the moment I am just using a redux thunk to make the call and save it in my store. I don't really want to build a custom API request handler to request for each page until it gets an empty result and then join all those results together. Especially as it will do that for every user who visits.

    The site is currently being hosted on Netlify and what I think would be a nice solution would be to have some external script that runs once a day, makes all the calls to the API and then updates my GitHub with a file called companies.JSON which would contain the latest API data. Then I just reference that in my site when a user visits rather than have EVERY visitor make an api request

    I am sure something like this is possible but I am still a bit of a novice at these things so I thought I would ask here for some advice before disappearing down a google rabbit hole….

    BTW if someone on here knows exactly how to do this and is prepared to build it for me a fair price then I would be happy to pay…..

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

    How to get youtube statistics in Heroku application?

    Posted: 25 Aug 2021 05:43 AM PDT

    Hi reddit,

    I am building an application in which I want to receive the publish date from a youtube video. I have the python script integrated and hosted on Heroku with Django. When I run the script from Heroku, I have to authorize in order to get the publish date results. When I run it locally, I do not have to. How will I be able to make sure I do not have to authorize when I run it from Heroku?

    This is part of the code which I run to get the publish date (thus working locally).

    CLIENT_SECRET_FILE = 'client_secret2.json' API_NAME = 'youtube' API_VERSION = 'v3' SCOPES = ['https://www.googleapis.com/auth/youtube'] service = Create_Service(CLIENT_SECRET_FILE, API_NAME, API_VERSION, SCOPES) part_string = 'contentDetails,statistics,snippet' video_ids = url_matches.find("v=") video_ids = url_matches[video_ids+2:] # video_ids = 'Iwks8oPH9cs' response = service.videos().list( part=part_string, id=video_ids ).execute() publish_date = response['items'][0]['snippet']['publishedAt'] 

    But I get this message when running on Heroku:

    /app/proj_capita/client_secret2.json-youtube-v3-(['https://www.googleapis.com/auth/youtube'],) ['https://www.googleapis.com/auth/youtube'] Please visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=numbers-mhs49q0toade91itdfsawtd974pu5jqus.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8081%2F&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fyoutube&state=CJq7LIHKDoM8lAGW3W1DeIejZx2AP&access_type=offline 

    Does anyone know how to deal with this message, when I want it to run without having to manually authorize every time?

    Also, if someone knows how to get an additional .traineddata file in Pytesseract on Heroku, please let me know :)

    Thanks!

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

    Has anyone had any experiences with FATbit Technologies?

    Posted: 24 Aug 2021 10:39 PM PDT

    I can't really tell if their legit or not, largely due to the fact that they are based in India and I'm from the states but they seem to have a decent line up of ecommerce solutions.

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

    Define a web 4.0 app to be multi threaded

    Posted: 25 Aug 2021 12:42 AM PDT

    Is docker-machine deprecated?

    Posted: 24 Aug 2021 10:23 PM PDT

    Our professor wants us to use docker-machine for an assignment. As far as I know docker-machine was deprecated away with docker-toolbox. Is it deprecated or am I mistaken?

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

    link redirecting help

    Posted: 25 Aug 2021 03:48 AM PDT

    hello guys I need help, I have no prior web development experience.

    I made two websites using wp, the first is https://avionav.net and the second is https://avionav.com
    the problem is that the home page of .com doamin always redirects me to the .net domain, but i want each one to be different.
    I made both of them using Wordpress, and I checked all the settings and found nothing.
    What caused this problem?

    ps: you can check that each website is hosted differently.

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

    No comments:

    Post a Comment