• Breaking News

    Sunday, August 2, 2020

    Looking for some "coding like a game" plugin/extension/app/website for productivity, if something like this even exists web developers

    Looking for some "coding like a game" plugin/extension/app/website for productivity, if something like this even exists web developers


    Looking for some "coding like a game" plugin/extension/app/website for productivity, if something like this even exists

    Posted: 02 Aug 2020 09:40 AM PDT

    Hope this isn't off-topic here, but I seem to be only able to post links at r/programming and it's not really a beginner type question for r/learnprogramming.

    TL;DR:
    I'm looking for some plugin/extension to VSCode or standalone app/service (ideally free) that would make coding a bit like a game or challenge or something like that, to try and improve productivity. It doesn't have to work exactly like this, but what I imagine is some script that would count the number of lines you've written (maybe on a git commit?) and you'd earn XP or whatever based on your performance. Basically kinda like an RPG but instead of killing monsters you'd be writing code.

    Some context:
    I'm still recovering (10 months) from some bad personal choices and mental health issues and that combined with my ADD makes it a real challenge for me to stay on task and do my work. Lately it's been getting really bad, as I've been working on this one project for almost 6 months for a typography company that makes fonts (so there's a lot of nit-picky design tweaking) and for the past month or so I seem to have ran out of fuel. I'm glad if I make even 4 hours of work a day and I really have to force myself to it.

    So today as I was playing some idle game on my phone and telling myself "just few more minutes and then I'll start working" for the past hour, I started thinking that it would be really cool if this "dopamine-based progression" could be used for something actually productive like coding. So I thought that I can't be the first person to think about something like this for sure and went searching. I tried googling, but I can't really explain it in terms google would comprehend, so all the results are for game development or pre-made courses/tutorials/lessons with one end-result/product.

    Surely there must be something like this already, right? Do you know some such service/plugin/whatever? Or if not exactly like this (RPG-like character progression), do you know something with a similar concept?

    Thank you!

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

    Made an API for getting Quiz Questions.

    Posted: 02 Aug 2020 11:52 AM PDT

    So, a friend of mine asked me to find some API which GETS you questions to be put on a mini-project he wanted to make. I didn't find any. So, we decided to go ahead and make one!
    Presenting The QuizzR API, an opensource RESTful API to get questions at Random or Sorted by Difficulty.

    Home Page and Documentation: here

    Source: here

    Please do check out and give your feedback.
    QuizzR currently has around 300 questions and I urge you to contribute.

    Cheers!

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

    Need A Bit of Advice from Experienced Devs

    Posted: 02 Aug 2020 09:36 AM PDT

    Hey to all the experienced devs out there, I am actually a Bachelor's last year student and I wanted an honest opinion about Web Development as a career.

    I know people with expertise get paid a good amount and that is the case in almost any profession what I want to know is what exactly make you a professional.

    I mean, what are some of the technologies or languages or sort of projects I should be ready with in order to land a job at a good payscale.

    This might be a repetitive topic here however I was not able to find any specific information or rather directly from experienced/professionals.

    Thank you in advance, cheers.

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

    Non-unique ID good or bad practice?

    Posted: 02 Aug 2020 08:22 AM PDT

    I have noticed that many big websites (YT for example) use non-unique ids. Why don't they just use class for that? An example on YT in playlist detail page

    ```javascript

    document.querySelectorAll('#video-title')

    NodeList(50) ...

    ``` what are the recommendations? I haven't done websites for years, so I apologize for being out of the picture with current best practices.

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

    Just another person requesting a portfolio website review (junior front end dev)

    Posted: 02 Aug 2020 09:58 AM PDT

    Hello, I am wanting some input on my portfolio website.

    www.ryanjthacker.com

    I've been teaching myself web development for about 3 years now. I made it using HTML, CSS, SASS, and Javascript, I also used a bit of jquery for the navbar fade out effect, and Intersection Observer for the fade in effects. I've moved away from jquery due to liking ES6 more.

    I'm currently looking for a junior level web dev job but am having trouble even finding any in my area (ohio).

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

    React: 50 shades of state

    Posted: 02 Aug 2020 09:35 AM PDT

    [Showoff Saturday] We made an opensource food delivery app for Cambodia. Vue.js, tailwind css, .net.

    Posted: 01 Aug 2020 09:03 PM PDT

    If you were to build an internal tool that's 90% CRUD work what would you use and why?

    Posted: 02 Aug 2020 09:36 AM PDT

    The only two outside technologies it needs to play nicely with is a giant pile of mysql and one mongo database, and it needs to be usable by about a dozen people concurrently. 90% of the use case is pulling various records from million row tables, providing a frontend for getting various aggregate/summary statistics, and allowing for either hand editing of single entries or bulk uploading a bunch at once.

    If you could use anything you wanted and aesthetics didn't matter what would you feel is most suited? Ruby? PHP? Python? Javascript? Maybe even something out there like R or oldschool plain jane HTML with those 90s frames?

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

    [Showoff Saturday] I made a chrome extension that auto-fills software dev job applications

    Posted: 01 Aug 2020 05:06 PM PDT

    How can I get htaccess to redirect from /foo/ to /FOO.php without showing the extension?

    Posted: 02 Aug 2020 01:04 PM PDT

    Hi,

    I've spent all day trying to research how htaccess works, trying all kinds of permutations of rules and redirects, and I couldn't come up with a working solution.

    The premise is simple, just two files:

    index.php FOO.php

    Note: It's important to me that FOO is displayed in uppercase in the url bar.

    When somebody visits

    https://domain.com/

    ... they should keep seeing that URL but be served the index.php file

    And when somebody visits any of these sites:

    domain.com/foo domain.com/FOO domain.com/foo/ domain.com/FOO/

    ... their URL should turn into domain.com/FOO and they should be served the FOO.php file

    I never managed to come up with a way to solve all 5 requirements. For example this code won't serve the index.php file for the simple domain.com request:

    ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .*$ $1.php [NC,L]

    Redirect 301 /vip /VIP Redirect 301 /vip/ /VIP Redirect 301 /VIP/ /VIP ```

    I would appreciate any sort of help, keywords, links to resources!

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

    What alternatives are there to Next.js?

    Posted: 02 Aug 2020 11:15 AM PDT

    I'm not a huge fan of the router. I prefer React Router. I'm curious if alternatives have emerged. What I do like about Next is that it is both a SSR and static content generator now. I need both.

    While I'll likely stick with it, I'm curious what other offerings have emerged that I may not be familiar with.

    Thanks :)

    submitted by /u/chance--
    [link] [comments]

    What part of the http request usually contains the API key?

    Posted: 02 Aug 2020 08:56 AM PDT

    Also : What part of HTTP request should be used for sending sensitive information? Thanks:)

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

    Switching from wordpress to hand-coded website - SEO implications?

    Posted: 02 Aug 2020 10:55 AM PDT

    Hi there,

    I'm working with someone on their wordpress website and am having a nightmare picking up where the previous developer left off. The client has strong SEO from being around for so long in a unique field and I really don't want to affect that.

    If there aren't major negative SEO changes I'd really prefer to hard code a website for him, just wondering what the implications are for switching from wordpress to hand-code.

    Thanks!

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

    Struggling with responsive design and css positioning

    Posted: 02 Aug 2020 03:48 AM PDT

    So I'm quite familiar with html/css and started js a while ago. The thing I struggled to grasp is making websites responsive (with media queries), and also positioning of elements using css.

    I tend to use whatever I can to make something work and in the end I always get problems where it messes with the positioning of a another element in working on.

    What I wanted to know is how did you learn both of these (responsive design and positioning properly), also what is the be t step once I know Javascript well? Move onto Jquery? Node.js or other backend stuff? Thanks

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

    How to create button that open default share functionality in MS Edge?

    Posted: 02 Aug 2020 01:19 PM PDT

    Hi,

    So I just discovered that Unsplash share button actually open the share interface from MS Edge. Do you have any idea how to do that?

    Thank you

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

    Low experienced guy trying to learn web development

    Posted: 02 Aug 2020 04:17 PM PDT

    Hey, I'm new at web development, I'm currently developing 1 site and it is almost done, I just need to do one more thing which is my last post. But that is not the point of this subreddit... I'm new at web development and I know a little of html, CSS and almost nothing from javascript. If any of you are experienced, could you tell me, if you don't mind, ways that I can learn web dev and the concepts that I have to learn, other languages that I should be familiarised.

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

    Security Headers with Bluehost

    Posted: 02 Aug 2020 12:29 PM PDT

    Any ideaa how to apply security headers with Bluehost hosting? It's pretty straight forward with IIS and Apache, but they don't seem to give you web server access in their cPanel.

    Non-word press website

    Thanks!

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

    A Look at What's New in Chrome DevTools in 2020

    Posted: 02 Aug 2020 02:45 AM PDT

    Is using another companies name as part of your domain/project name fair use? For example, IsRedditDown.com. Can you build a business/website based around meta-services related to another website without worrying about a takedown notice? Is "Reddit enhancement suite" addon able to monetize?

    Posted: 02 Aug 2020 04:11 PM PDT

    I fit the whole question into the title :D

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

    API For Books?

    Posted: 02 Aug 2020 04:10 PM PDT

    Building a GoodReads-type app for an assignment, is there any API that would just give me, say, the thousand most popular books using some metric (it's not really important whether that metric is sales, reviews, etc.) for each year?

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

    What's a good approach to render a large family tree / hierarchical org structure?

    Posted: 02 Aug 2020 07:20 AM PDT

    Say i have a family tree with over 1000 members. The data is in a json structure returned by my server and can easily be rearranged into any needed format.

    I'm struggling with 2 things-

    1. Whats a good UX approach to display this? Obviously I don't want to load all 1000 nodes at once, so im thinking of a JS component where the user can click to expand certain parts of the tree. Or perhaps od need to handle a scenario where the family tree is very wide and can't fit within a window. I'd be very interested to see any websites that use a design like this as i don't really have an eye for UX and would love some inspiration on how to set this up.

    2. What's a good library (most likely in Javascript) that can work with nested / hierarchical data? A bit of Googling didn't turn up any libraries that focus on handling this type of problem.

    Thanks!

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

    Should I learn REST or GraphQL to get into backend from React?

    Posted: 02 Aug 2020 11:49 AM PDT

    I really like working with React. Now, I would like to learn some backend stuff. I've used Express + Node.js but haven't connected them with any database. Should I spend my time learning how to connect them to a database or directly get into GraphQL?

    Which one of the two would be easier to set up and work with?

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

    Is there free tool to validate email formatting across device/platform?

    Posted: 02 Aug 2020 03:30 PM PDT

    Hello, i tried a couple free css from zurb (https://zurb.com/playground/responsive-email-templates) but when viewing in gmail or browser, both formatted very different from what's in browser. Was wondering for those who are familiar with email template, is there a good way to preview email in different services or devices?

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

    No comments:

    Post a Comment