• Breaking News

    Friday, January 5, 2018

    Share Your Projects - January 05, 2018 web developers

    Share Your Projects - January 05, 2018 web developers


    Share Your Projects - January 05, 2018

    Posted: 05 Jan 2018 05:08 AM PST

    Create something? Let's see it!

    Feedback Requestors

    Please use the following format

    URL:

    Purpose:

    Technologies Used:

    Feedback Requested: (e.g. general, usability, code review, or specific element)

    Comments:

    Post your site along with your stack and technologies used and receive feedback from the community. Please refrain from just posting a link and instead give us a bit of a background about your creation.

    Feel free to request general feedback or specify feedback in a certain area like user experience, usability, design, or code review.

    Feedback Providers

    • Please post constructive feedback. Simply saying, "That's good" or "That's bad" is useless feedback. Explain why.
    • Consider providing concrete feedback about the problem rather than the solution. Saying, "get rid of red buttons" doesn't explain the problem. Saying "your site's success message being red makes me think it's an error" provides the problem. From there, suggest solutions.
    • Be specific. Vague feedback rarely helps.
    • Again, focus on why.
    • Always be respectful

    Template Markup

    **URL**:

    **Purpose**:

    **Technologies Used**:

    **Feedback Requested**:

    **Comments**:

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

    Updated developer roadmap for 2018

    Posted: 05 Jan 2018 04:27 AM PST

    TIP: If your Mac keeps runnings it's fans and you don't know why, disabled indexing in Sublime Text

    Posted: 05 Jan 2018 07:04 AM PST

    This has been driving me insane for months. I have 2017 MBP with top specs and it was blowing its fans constantly. I tried loads of fixes and nothing ever worked. Today I researched Sublime Text's high cpu usage and discovered that there is a bug in the indexer that causes it to index the same files over and over again forever.

    After disabling indexing it's cpu usage went fron 10+% to <0.1% (it actually shows as 0.0% in activity manager. Fan has stayed silent since. SO HAPPY!

    You can disable indexing by putting

    "index_files": false

    in your user config file

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

    The Top 66 Developer Resources From 2017 – Hackernoon

    Posted: 05 Jan 2018 08:54 AM PST

    Anybody have experience with publishing Google Sheets add-ons? Pulling my hair out right now.

    Posted: 05 Jan 2018 09:38 AM PST

    Hi,

    So, first off, full disclosure: I'm not really a programmer. I hired someone through Upwork to write a Google Sheets extension for me.

    I have code that works beautifully when I test it as an add-on. I sent it to a friend, it wouldn't work for him. I realized I had to verify it. So I did. Google told me it was verified.

    Then I sent it to him again. He still can't make it work. So I tried to publish it privately (it's not quite ready for prime time). Now I'm stuck in a maze of confusing tutorials which are clearly only meant for Chrome web store extensions. Most recently, after creating icons, screenshots, promotional images, and a manifest, I tried to upload my zip file, only to be told: "No manifest found in package. Please make sure to put manifest.json at the root directory of the zip package."

    This is apparently a known issue, but I can't understand how other people solved it. And I'm not sure if I'm even on the right path right now. I really just want to show the current state of the add-on to my friends. That's it.

    EDIT: Nevermind, figured it out. Apparently, if you are trying to publish Google Sheets add-ons, you're supposed to fill out the "Publish as Sheets Add-On" form twice. The first time you fill it out doesn't count. Once you fill it out twice, then Google doesn't even need the manifest file.

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

    My first website

    Posted: 05 Jan 2018 01:06 PM PST

    Throughout the spare time I had while not in school I have been working at creating a basic website that could provide content regardless whether you were on a mobile or not. This website was made only as a way to demonstrate my skills and what I could accomplish with a front end framework. It was all done through bootstrap v4. This being my first attempt at creating something I would like some general critique not just about the pages themselves but what could be optimized in a technical sense.

    https://trakyari.github.io/spotter/index.html

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

    User Authentication with Passport and Koa

    Posted: 05 Jan 2018 03:50 PM PST

    Making website as a volunteer for non profit

    Posted: 05 Jan 2018 03:18 PM PST

    I'm creating a sort of organization that creates websites for free for non-profits. How it works? It doesn't right now. It's sort of an MVP for a business model we're trying to figure out.

    But we're concerned about liability. Even though we're building websites for free, the clients can still hold us accountable. But since we aren't charging money, I am trying to figure the cheapest way we could legally avoid liability. I have no clue about law, and I'm a student in a university.

    We have thought about creating contracts, but they cost monet we don't have. We also stumbled upon licenses that people use in GitHub repos. Would those work, or be used in a way to solve our problem?

    Help would be greatly appreciated. All of us are completely new to this.

    submitted by /u/pun-doctor
    [link] [comments]

    Types of bad freelancer clients and how to spot them

    Posted: 05 Jan 2018 03:12 PM PST

    I'd like to punch the person who thought this was a great idea.

    Posted: 04 Jan 2018 06:06 PM PST

    Ok, so why does so many sites now want to send me notifications. Now I have to click "NO" as soon as I visit your stupid site, and guess what, now I won't be back if I can help it.

    I know it's the latest trend for many sites, but it seems like it's getting out of hand. Also, the "don't go pop up modals" as you move your mouse towards the top of the page.

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

    backboneJS : A particular function needs to be rendered on multiple pages

    Posted: 05 Jan 2018 11:13 AM PST

    Problem : A particular function needs to be rendered on multiple pages

    Currently I am using backboneJS for my webapp. Apart from the dynamic content in the div container section, I am fetching live match scores from my api in JSON and would like to display it on the nav bar ( I am using bootstrap 3.3.7 ).

    Only thing is since there are one function per route so, I can't display my match score ticker using this.

    The options I am thinking of :

    1. Make a custom code using jquery to update the element
    2. Add ticker.render() in every route's code, but wouldn't that be redundancy and against DRY

    Note : Since it was only one function, so it doesn't matter much but what if there are many such things that need to be repeated on multiple pages ?

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

    A very lightweight JS library to style HTML elements as easy as never before

    Posted: 05 Jan 2018 02:52 PM PST

    Beginner needs resources for PHP.

    Posted: 05 Jan 2018 02:43 PM PST

    Hello, fellow redditors. I recently(yesterday) started to learn how to create a website on 000Webhost using W3Schools as resource. I intend on creating a text based game. I just finished the basics of the login and sign up pages today but I don't know how to proceed with storing user information such as username and passwords into a database. Also, I want the game to be mostly built on html(Not HTML5). To do so, I think most of the player's statistics will also have to be stored in a database. I tried searching on Google how to store usernames and passwords and I'm a bit overwhelmed to say the least. I learned about phpMyAdmin but I don't know anything after. Are there any good resources online where I can learn about PHP or whatever is necessary for me to complete my goal? Please and thank you.

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

    Renaissance - The freshest CSS framework

    Posted: 05 Jan 2018 02:40 PM PST

    How can you make a cross-origin request without sending cookies? (XHR's `withCredentials` vs. Fetch's request `credentials`)

    Posted: 05 Jan 2018 01:45 PM PST

    I'm working on a chrome extension that needs to access a public API using basic auth (ie. using the Authorization header and 'Basic ' + btoa('username:password')). The problem is that if the user is logged into the website of the API then they have cookies set in their browser and these seem to take precedence over using basic auth. And if the user provides wrong credentials for the basic auth then the request still succeeds because of the cookies.

    I can make the request go through without cookies using Fetch if I set the request credentials option to 'omit'. But if I use axios or jquery which use XHR and set withCredentials to false the cookie still goes through. Why is this? How can I make axios/XHR do what Fetch does? Writing up some models/resources/services with axios or jquery would be MUCH simpler than using Fetch and it would be easier on the team.

    I've done a bunch of research but it's hard to find an answer with google since it brings up results where people want to do the opposite of what I need (ie. they want to send cookies cross-origin).

    EDIT: The request is being made in the extension content script, not the background page.

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

    Where to start with web development?

    Posted: 04 Jan 2018 11:40 PM PST

    Hello guys...

    I am simply a programmer, who has some knowledge with programming in c++/c and python, and would like to delve into web development, but are bit unsure on where I should start and how.

    It seem to me web development isn't just development as programmer, with all the different types of languages for different parts of the web development process... (html, css, django, javascript, PHP and so on..)... I mean god damn why is it so complicated.

    I thought learning programming in c/c++ had a steep learning curve, but this is just a mess..

    If you guys had to recommend a guy like me, into web developement, where should I then start.. What should I learn first and how should I build upon that?.. It seems like html/css is frontend stuff and django/php is more backend stuff if I am wrong?

    submitted by /u/215_215
    [link] [comments]

    What is the best way to test for security issues/bugs before releasing web app to the public?

    Posted: 05 Jan 2018 07:15 AM PST

    I'm almost done with a project, and it probably has some bugs and security issues that I'm unaware of. What is the best way to test these issues? I don't want to pay people to test it but I do want it tested before releasing it to the public.

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

    Search and Replace on mysql DB for rebranding... best way to do this?

    Posted: 05 Jan 2018 01:03 PM PST

    tl;dr: My query won't work with mysqldump like I normally use. So I'm trying to figure out how to modify the phpmyadmin export of my query so that it replaces everything instead of tries to insert. I've replaced INSERT INTO with REPLACE INTO but no go.


    The nonprofit I work for is rebranding and I need to search our DB for any references to our brand name and replace it with our new name. I'm working with a WordPress database and already put together a query to get the posts that I want (all posts except for a couple of categories) but am not proficient enough with mysql to know the best way to do this.

    My query is below, which I am using in phpmyadmin and then exporting. I'll be searching and replacing with sed but I dont' know how to get that export to simply update the fields instead of try to create the table and then insert the fields. I've tried replacing INSERT INTO with REPLACE INTO in the modified sql file but I get syntax errors each time. Any suggestions on the best way to do this would be great.

    SELECT * FROM wp_posts LEFT JOIN wp_term_relationships ON(wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_term_taxonomy ON(wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) WHERE ( wp_term_taxonomy.term_id <> '1' AND wp_term_taxonomy.parent <> '1' # parent News cat AND wp_term_taxonomy.parent <> '6452' # parent Featured Segments cat AND wp_term_taxonomy.taxonomy = 'category' AND wp_posts.post_type = 'post' AND wp_posts.post_status = 'publish' ) 

    Unfortunately I couldn't get my query to work with mysqldump since it appears it can't accept a slightly complicated query like this... at least I couldn't figure it out.

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

    How would one deploy a Go microservice on Google Cloud in practice?

    Posted: 05 Jan 2018 12:18 PM PST

    Trying to get this to work. I have written a microservice in Golang, it's a basic http server with one single REST endpoint, and it gets data from a public API that it processes and then exposes. It works well on localhost :o)

    However, I'd like for my react-native app to be able to hit this endpoint from anywhere(obviously), but how does one practically deploy this to Google Cloud?

    I will create an instance with Ubuntu. On this instance, I'll run a Docker container which has the Go app. But how do you point a public IP towards it?

    I'm fine with hitting the static IP for now rather than a domain.

    Do you need nginx/apache in front of it, or is there a more simple approach?

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

    Roadmap to becoming a web developer in 2018!

    Posted: 05 Jan 2018 11:44 AM PST

    Changing careers - being realistic

    Posted: 05 Jan 2018 03:59 AM PST

    Hey folks,

    Sorry if these kind of posts are common but here we are!

    So I'm 31 and I've been a Software Tester for the last 8 years after coming out of University (I studied Computer Science). I was never confident at the time with coding so fell into testing and have remained in that field since. Its a steady job, it pays well and the benefits are good but to be honest I've never really had my heart in it and do not really enjoy it all that much - it sometimes has its interesting moments but I don't get any satisfaction from it. I guess I've stayed in it for so long because it was the easy thing to do.

    Now of course I know I can't complain, it's a job, and of course I'm not going to just quit but I have been thinking lately about a career change with Web Development being something I've been looking into. I love the idea of building a site for someone that has some purpose.

    I'm in the very early stages of learning HTML5, CSS and Javascript and I'm loving it. I'm just following videos at the moment and have bought a couple of books so I'm very much a beginner but I do feel like i'm "getting it" and feel more confident about it than I thought I would be.

    So really the question is, is it realistic to think I could say, within a year, have completely changed careers and am earning ok money (not expecting to earn what I do now)? I do like the idea of freelancing and I am aware that it is not always easy and with a mortgage to pay that will be quite scary.

    It's exciting to think about anyway!

    Cheers,

    Jub Jub

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

    Come help out on my open source project

    Posted: 05 Jan 2018 09:33 AM PST

    Hey folks,

    I came across the idea for creating an electron app for running npm cli commands on Twitter (all credit to Sunil Pai) and over the last couple of days i've been working on quickly throwing together a rough prototype. (Please see this gif for how the prototype looks and to give you an idea of what i'm attempting to achieve). This prototype is now at a stage where i've put it on Github ready for people to get involved with. Issues and feature requests have been filed, ready for anyone to take on and theres a range of things to be worked on, from UI to build proceesses etc. I could use all the help I can get!

    If anyone is looking for an open source project to get involved with then please come and see if there's anything you'd like to help out with! Feel free to comment or DM me if there's anything else you'd like to know or need help with.

    Project: https://github.com/alex-saunders/npm-ui

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

    Front-End Performance Checklist 2018 [PDF, Apple Pages]

    Posted: 05 Jan 2018 05:22 AM PST

    Found a really nice minimal developer portfolio and decided to build my own version. Sharing the repo and would appreciate feedback, no doubt i've missed some basic things

    Posted: 05 Jan 2018 05:00 AM PST

    My new minimal portfolio.

    And the repo, feel free to fork/clone etc


    I've gotten a little obsessed with portfolios lately. I really enjoy designing and building them, and since I've gotten a non-coding job I'm finding it's a nice hobby to keep my dev skills fresh.

    I stumbled across Jeremy Thomas's portfolio website a few weeks ago. He's since updated it but at the time, it was very similar to my new site in how the elements were fixed and were swapped out as the user scrolled. I really liked it, the minimalism seemed to inspire curiousity about the projects, encouraging the viewer to click through and explore them.

    I investigated his page source in an effort to understand how he achieved the effect, but in the end I couldn't figure it out, so I just decided to build it my own way.

    In keeping with the whole minimal theme, I kept dependencies to a minimum. I'm using one google font and the Konpa devicon library for the technology icons. I opted to forego bootstrap in favour of some simple flexbox, and vanilla JS instead of jQuery. This means that the CSS is less than 200 lines and JS is less than 100.

    I'm really happy with how it turned out, but would appreciate any feedback. I've gone into more detail about achieving the scroll effect with JS in a blog post, for anyone interested in how I tackled it.

    Looking forward to the replies. Cheers

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

    Is there a design theme around something like Stripe.com?

    Posted: 05 Jan 2018 08:45 AM PST

    I have seen this style of design float around on some of the more modern web app sites. I really like the theme from a marketing perspective, but I was wondering if there is a name for it. Like we have Material Design, Fluent Design, etc.

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

    No comments:

    Post a Comment