• Breaking News

    Sunday, April 1, 2018

    Cloudflare launches 1.1.1.1 DNS service that will speed up your internet web developers

    Cloudflare launches 1.1.1.1 DNS service that will speed up your internet web developers


    Cloudflare launches 1.1.1.1 DNS service that will speed up your internet

    Posted: 01 Apr 2018 11:44 AM PDT

    Rise in beginner questions/posts on this sub

    Posted: 01 Apr 2018 09:21 AM PDT

    I think the support on this sub is great and I think it's critical to encourage new devs. Lately I've been coming less to this sub less however because I feel like it's becoming less of a fun resource for me and more of a resource for beginner devs to ask questions, post their portfolios, or post medium articles about intros to development concepts.

    Are there any subs out there that have a more working professional frame to them? If not, would anyone be interested in one?

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

    How do domain names actually work? Who owns them how can sites “sell” them?

    Posted: 01 Apr 2018 03:13 PM PDT

    I'm just confused about who truly owns them, where they come from?

    Thanks,

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

    Adding email to an app?

    Posted: 01 Apr 2018 08:08 AM PDT

    Greetings!

    First of all, I'm new to web dev, so be gentle. :)

    I'm working on a project that allows users to pick a time and place to meet, then sends that out to a list of email addresses they supply. I've created the functionality that allows them to pick a time/place, and I've set it so they can enter user email addresses and it stores them to state (React/Redux).

    My question is this: what's the best way to (within the app) automatically generate an email template and body, then allow the user to send it off? For example, I pick to go to a certain place at 12:30 p.m. on August 30, 2018. I enter the email addresses of the people I want to invite. What do I need to do to create that email functionality? Do I need to do some kind of OAuth system where they log in to their email addresses first? Or is there some way to have it open their email account (on any domain) and fire off a pre-populated email?

    I actually wanted to do it via text message, but no-one knows anyone's phone number anymore, and there's (apparently) no way to access phone contacts from an app.

    Thanks in advance!

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

    apollo-link-firebase - use GraphQL with Firebase

    Posted: 01 Apr 2018 09:02 AM PDT

    Spotify API Tutorials

    Posted: 01 Apr 2018 12:58 PM PDT

    Hey guys, I'm currently doing an API project for my class. I want to use the spotify api but I can't find anything that teaches how to use client side only spotify api with just basic JS or jQuery. All of them use frameworks such as react or backend stuff like node(including the spotify site beginner tutorial). Does anyone know of any simple tuts that avoid frameworks/backend stuff? Is it even possible to use spotify api without a backend?

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

    [Showoff Saturday] my first Vue.js web portfolio

    Posted: 31 Mar 2018 10:58 PM PDT

    Today, your cat can learn to code too!

    Posted: 01 Apr 2018 08:20 AM PDT

    What JS templating engine do you use? Why?

    Posted: 01 Apr 2018 10:11 AM PDT

    Trying to redo my website with node and figured I might as well try to do something outside of traditional html. The problem is that there are so many different ones (Jade, Handlebars, EJS, etc...) that I don't know which one to dive into.

    Trying to figure out what folks here use and maybe that's the one I'll go with.

    submitted by /u/1z2x3c4v5b6n7m8
    [link] [comments]

    Lost theme

    Posted: 01 Apr 2018 03:46 PM PDT

    Back in December, a hacker who got in through one of my wordpress sites deleted the vast majority of files on my server. I've now rebuilt just about all of my sites on a private server with much better security. The last of the sites I need to restore is one I made for a museum project I worked on last year. It was not up long enough to be archived, and I don't have any screenshots, unfortunately. I have all of the files recovered, however, I cannot for the life of me remember the name of the theme I used. I really liked it, and want to use it again, but I cannot find it anywhere.

    The only file I could recover from my old server that mentioned that particular site is an awstats file from last year. The only theme listed is "untitled.php" for some reason, but it lists all of the plugins I had installed, and most were from the recommended plugins list for that theme.

    It's a long shot, but I was wondering if anyone recognizes the theme from any of the plugins listed:

    URL with 404 errors - Hits - Last URL referrer

    BEGIN_SIDER_404 55 /index.php/2017/02/a,c.defer=c.type= 1 - /index.php/2017/01/11/this-is-what-a-news-post-title-would-look-like/a,c.defer=c.type= 1 - /wp-content/plugins/wp-property/action_hooks.php 1 - /wp-content/plugins/auto-attachments/a-a.css 1 - /wp-content/plugins/font-uploader/font-uploader-free.php 1 - /index.php/2017/02/03/coming-soon/a,c.defer=c.type= 1 - /%20whois 1 - /wp-content/plugins/user-photo/admin.css 1 - /blog/wp-login.php 1 http://margaridadiogo.century21.pt/blog/wp-login.php /wp-content/plugins/zingiri-web-shop/admin.css 1 - /index.php/home/d4d86f7c46601f87c710b266412d8aec/a,c.defer=c.type= 1 - /index.php/about/roundhouse_mckeesport-pa/a,c.defer=c.type= 1 - /index.php/2017/01/11/a,c.defer=c.type= 1 - /index.php/galleries/coming_soon-2/a,c.defer=c.type= 1 - /index.php/galleries/exterior/a,c.defer=c.type= 1 - /wp-content/plugins/wp-homepage-slideshow/functions.php 1 - /index.php/author/MPach/a,c.defer=c.type= 1 - /wp-content/plugins/cimy-user-extra-fields/README_OFFICIAL.txt 1 - /wp-content/plugins/magic-fields/MF_Constant.php 1 - /wp-content/plugins/wp-filemanager/fm.php 1 - /wp-content/plugins/resume-submissions-job-postings/installer.php 1 - /wp-content/plugins/another-wordpress-classifieds-plugin/AWPCP.po 1 - /wp-content/plugins/fcchat/default.png 1 - /index.php/galleries/interior/a,c.defer=c.type= 1 - /wp-content/plugins/ninja-forms/ninja_forms.php 1 - /wp-content/plugins/jetpack/modules/related-posts/a,c.defer=c.type= 1 - /wp-content/plugins/jetpack/modules/sharedaddy/document.location.protocol 1 - /index.php/galleries/shop/a,c.defer=c.type= 1 - /wp-content/plugins/category-grid-view-gallery/cat_grid.php 1 - /a,c.defer=c.type= 8 - /wp-content/plugins/custom-content-type-manager/index.html 1 - /wp-content/plugins/jetpack/modules/related-posts/wp.customize.settings.url.self 1 - /wp-content/plugins/wpstorecart/lgpl.txt 1 - /index.php/galleries/historic_photo/a,c.defer=c.type= 1 - /wp-content/plugins/jetpack/modules/sharedaddy/a,c.defer=c.type= 1 - /index.php/galleries/historic_railroad/a,c.defer=c.type= 1 - /wp-content/plugins/front-end-upload/destination.php 1 - / 8 http://mckroundhouse.org// /wp-content/plugins/simple-dropbox-upload-form/ 1 - /th1s_1s_a_4o4.html 28 - /wp-content/plugins/wp-image-news-slider/functions.php 1 - /index.php/subscription-confirmation/a,c.defer=c.type= 1 - /wp/wp-login.php 1 - /wp-content/plugins/gallery-plugin/gallery-plugin.php 1 - /index.php/about/historic_roundhouse/a,c.defer=c.type= 1 - /index.php/news/a,c.defer=c.type= 2 - /wp-content/plugins/jetpack/modules/shortcodes/js/jquery.cycle.js 1 - /wp-content/plugins/mac-dock-gallery/bugslist.txt 1 - /index.php/wp-json/ 8 http://www.google.com/url /wp-content/plugins/jetpack/modules/carousel/args.large_file 1 - /index.php/wp-json/oembed/1.0/%5C%22http:%5C/%5C/mckroundhouse.org%5C/%5C%22 1 http://www.google.com/url /wp-content/plugins/ckeditor-for-wordpress/ckeditor.config.js 1 - /a 1 - /index.php/2017/01/a,c.defer=c.type= 1 - /index.php/2017/02/03/a,c.defer=c.type= 1 - END_SIDER_404

    Host - Pages - Hits - Bandwidth - Last visit date - [Start date of last visit] - [Last page of last visit]

    [Start date of last visit] and [Last page of last visit] are saved only if session is not finished

    The 25 first Hits must be first (order not required for others)

    BEGIN_VISITOR 160

    Session range - Number of visits

    BEGIN_SESSION 7 1h+ 17 15mn-30mn 13 2mn-5mn 10 0s-30s 237 5mn-15mn 9 30mn-1h 32 30s-2mn 9 END_SESSION

    URL - Pages - Bandwidth - Entry - Exit

    The 25 first Pages must be first (order not required for others)

    BEGIN_SIDER 66 /wp-cron.php 377 0 171 167 /wp-admin/admin-ajax.php 286 63250 1 12 / 153 1828823 78 44 /xmlrpc.php 62 112052 61 61 /wp-admin/load-scripts.php 54 10631534 0 0 /wp-admin/admin.php 41 188589 0 5 /wp-login.php 27 121066 6 4 /wp-admin/load-styles.php 27 6746911 0 1 /index.php/galleries/ 22 748305 4 6 /index.php/about/ 21 437859 2 1 /wp-admin/post.php 15 1571660 0 1 /index.php/news/ 15 390130 0 1 /index.php/wp-json/oembed/1.0/embed 14 32283 0 3 /index.php/contact/ 14 275056 0 2 /wp-includes/wlwmanifest.xml 12 12540 0 0 /index.php/2017/02/03/ 11 235318 0 5 /wp-admin/ 11 647621 2 0 /index.php/feed/ 8 53528 0 3 /index.php/2017/02/03/coming-soon/ 8 220885 0 0 /index.php/category/uncategorized/ 8 194801 0 4 /wp-content/plugins/jetpack/_inc/fonts/jetpack/jetpack.woff 7 5860 0 0 /index.php/comments/feed/ 7 5313 0 1 /wp-content/plugins/optinmonster/assets/fonts/archie.woff 6 14200 0 0 /index.php/2017/01/ 6 133147 0 0 /wp-admin/edit.php 6 467388 0 0 /index.php/galleries/exterior/ 1 23247 0 0 /index.php/about/watercolor/ 1 23691 0 0 /index.php/about/watercolor/feed/ 1 752 0 1 /index.php/about/historic_roundhouse/feed/ 1 770 0 0 /index.php/2017/01/11/ 2 44649 0 0 /index.php/galleries/coming_soon-2/ 1 23456 0 0 /index.php/galleries/engine/ 1 23214 0 0 /index.php/about/watercolor_nomark/ 1 23772 0 0 /wp-content/themes/untitled/font/genericons-regular-webfont.woff 4 36960 0 0 /wp-admin/user-edit.php 2 101158 0 0 /index.php/2017/02/03/coming-soon/feed/ 1 794 0 0 /wp-admin/customize.php 1 1027 0 0 /wp-admin/async-upload.php 1 1470 0 0 /index.php/about/roundhouse_mckeesport-pa/ 1 23972 0 0 /index.php/2017/01/11/this-is-what-a-news-post-title-would-look-like/feed/ 1 898 0 0 /index.php/galleries/historic_photo/ 1 23501 0 0 /index.php/search/1/feed/rss2/ 1 34203 0 0 /index.php/2017/02/ 2 42789 0 1 /index.php/galleries/historic_railroad/ 1 23450 0 0 /index.php/author/MPach/feed/ 1 6880 0 0 /wp-admin/profile.php 1 61074 0 0 /index.php/2017/01/11/this-is-what-a-news-post-title-would-look-like/ 5 155401 0 2 /index.php/galleries/coming_soon/ 1 23485 0 0 /index.php/home/d4d86f7c46601f87c710b266412d8aec/ 1 23447 0 0 /index.php/wpartm/ 4 72975 0 1 /index.php/galleries/interior/ 1 23360 0 0 /index.php/galleries/exterior/feed/ 1 752 0 0 /index.php/galleries/historic_photo/feed/ 1 764 0 0 /wp-admin/nav-menus.php 5 455644 0 0 /index.php/galleries/coming_soon/feed/ 1 758 0 0 /index.php/galleries/shop/ 1 23189 0 0 /index.php/galleries/coming_soon-2/feed/ 1 760 0 0 /index.php/galleries/shop/feed/ 1 744 0 0 /index.php/subscription-confirmation/ 1 18064 0 0 /index.php/about/historic_roundhouse/ 1 23730 0 0 /wp-admin/themes.php 1 291 0 0 /wp-content/plugins/jetpack/class.jetpack-ixr-client.php 1 25 0 1 /wp-admin/post-new.php 2 304376 0 0 /index.php/author/MPach/ 5 128058 2 0 /index.php/galleries/historic_railroad/feed/ 1 770 0 0 /wp-admin/users.php 1 52954 0 0 END_SIDER

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

    No client example projects to link to from GitHub Pages portfolio, so what to do about domains for mock projects?

    Posted: 01 Apr 2018 03:34 PM PDT

    So I set up GitHub Pages with a custom domain for a portfolio site. Since I haven't had any clients yet, I'll have to link to some mock examples (horse before cart...).

    But what about hosting the examples? A GitHub account only allows one site per user. Creating subdomains is possible, I read, but GitHub pages is limited to static sites (right?).

    So in order to showcase more complex projects is the best solution to just buy some hosting? Then, later on, after completing some client projects, link to these from the Github portfolio and cancel the paid hosting?

    The problem with this is it requires buying another domain for the projects (unless there is a way of sharing the domain over both the paid hosting and Pages?) so maybe it's more sensible to just have everything on a single domain on the paid hosting and forget about Pages?

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

    Ethical Hacking and Web Development

    Posted: 01 Apr 2018 01:33 AM PDT

    Being a web developer, is it a good practice to learn ethical hacking? One of my buddies asked me this question. And I was clueless, because both field are different in their scoops, area of expertise etc. In my opinion, it might be good for web developer to learn ethical hacking as well. What's your opinion on this?

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

    Should I take notes while watching a video course? or coding book?

    Posted: 01 Apr 2018 03:08 PM PDT

    Hi,

    I'm currently watching Wes Bos's "React for Beginners" and wanted to know whether I should takes "notes" or not. If so: of what and how (pen and paper or digital)?

    What is the "best" way to watch a course?

    Thanks!

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

    Can't install mongoosejs on Windows

    Posted: 01 Apr 2018 02:12 PM PDT

    I get this error

    2 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "mongoose" 343 verbose node v8.11.1 344 verbose npm v5.6.0 345 error path C:\Users\"user"\node_modules\bluebird 346 error code ENOENT 347 error errno -4058 348 error syscall rename 349 error enoent ENOENT: no such file or directory, rename 'C:\Users\"user"\node_modules\bluebird' -> 'C:\Users\"user"\node_modules.bluebird.DELETE' 350 error enoent This is related to npm not being able to find a file. 351 verbose exit [ -4058, true ]

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

    Hackterms is now Cluckterms: a fancy book of farm terms

    Posted: 01 Apr 2018 09:39 AM PDT

    Why aren't cookie notices a part of the browser rather than the website?

    Posted: 01 Apr 2018 01:22 PM PDT

    Cookies are a feature of the browser that the websites makes use of. By using the browser you agree that each website can store information about you (unless you've disabled the cookies of course). So why are these notices provided by the website? Why don't websites have notices about all the features of the browser that they will use in that case?

    Does each app on your phone tell you about all the things it'll have access to once you open it? It doesn't, it asks for permission from the operating system and the operating system is what lets you know that the app wants to use xyz.

    I'm complaining about this because I only save cookies from certain websites and constantly have to close these completely useless notices from other websites. I'm not expecting to change anything by writing this, just wanted to get some insight on the situation.

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

    Live Stream: Creating a website with Reddit API (crawling - PHP/JS/HTML/CSS)

    Posted: 01 Apr 2018 01:14 PM PDT

    DigitalOcean Block Storage down for 12 hours and counting at FRA1

    Posted: 01 Apr 2018 01:07 PM PDT

    Need Opinion: Setting up Bakery website

    Posted: 01 Apr 2018 01:05 PM PDT

    Hi Web Devs, I'm working with baker here in Canada who wants to setup a website for his café that includes the option to have pickup and delivery options, as well as E-payment systems to order online. Mobile experience will probably be our priority.

    Ideally, I'd like something that's easy to use since I don't have much web-design experience. Another one is the flexibility to offer plugins like having Wechat payments.

    So far, I've looked at WIX and Squarespace which offer an easy-to-use interface with some of those features included.

    Anybody have experience setting up a website for a restaurant and could give me some advice on what I should look out for? Thank you so much for your time!

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

    Pamphlet sites with VueJS?

    Posted: 01 Apr 2018 12:34 PM PDT

    I want to practice some UI, frontend, and SEO and learn how to deploy a pamphlet website with SPA frameworks/libraries.

    I wanted to build a dummy restaurant site with VueJS but I'm concerned about how google will index the site since it will be an SPA website. when i see some other sites built with Vue and see their source i see all their markup and content is there but when i build my vue website all i see are the script tags and the rest of my components and markup is not

    How would I go about making a website with Vue that's search engine friendly?

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

    Collab Sub for bored developers?

    Posted: 01 Apr 2018 12:24 PM PDT

    Can I get some help getting started with building a local business advertising site? (My first major project)

    Posted: 01 Apr 2018 11:58 AM PDT

    I've built lots of small websites before, mostly static sites or little micro web apps (think calculators and such).

    What I've not done is anything involving databases or handling user submitted content.

    My site is fairly straightforward from a user point of view. The front page is going to just be a search bar asking what kind of business they are looking for (with an option to view all).

    After searching or viewing all they will be taken to a list of categories, and then within the categories will be the local businesses (later on I may add an upvote/downvote kind of system).

    For people running a local business, I want to let them register and log in, and then add their business to whichever category is relevant (I will initially have this then go to a pending status where I will approve or reject it to avoid abuse).

    So, onto my actual questions:

    • Do I need to (or rather should I), be using a framework for what feels quite a straightforward site or can I do this manually? I'm familiar with Python so could use Flask or Django, although I'm trying to learn PHP as there seems to be more of a demand for that where I live. I assume a framework is likely the right answer, but I'm not sure if it's better to learn to reinvent the wheel before making use of it?

    • If I don't use a framework, how do I get started with building and managing a database? In particular how do I set one up locally, ahead of pushing to my live server. I would love any resources you could point me to regarding this.

    • Any other advice you'd give me relating to this project?

    To be clear, I'm not looking for quick solutions to this, just resources and advice to get me going in the right direction. I'm not looking to rush this out or anything, I just want to build something solid to add to my portfolio.

    I'm currently familiar with HTML, CSS, JS and Python, but I'm still quite early doors with JS.

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

    Can't get Express router to work

    Posted: 01 Apr 2018 11:05 AM PDT

    [SOLVED] Apparently I'm a complete idiot, I was calling

    app.use(bodyParser.json) 

    instead of

    app.use(bodyParser.json()) 

    Hi everyone, I'm currently getting into NodeJS in my free time and I tried to set up a simple project to play around with Node and GraphQL by splitting things into module as much as possible, which leads me to this folder structure.
    The issue I'm running into is that none of the routes defined via Express get triggered. The page just loads forever until it times out, and the log messages don't get printed to the server's console.
    Here's the code for the server's entry point:

    // index.js const appConfig = require('./config'); const express = require('express'); var app = express(); // Set up configuration variables according to the current execution environment const environment = appConfig.environment; const config = appConfig[environment]; const defaultPort = config.app.port; const logLevel = config.app.logLevel; // Set up modules const logger = require('./src/logger')('server', logLevel); const db = require('./src/db')(config); const handler = require('./src/handler')(db); const routes = require('./src/routes')(handler); // Set up routes app.use('/', routes); // Start listening const server = app.listen(process.env.PORT || defaultPort, function() { const port = server.address().port; logger.log('info', 'App now listening to port ' + port); }); 

    And the routing module:

    // src/routes/index.js const logger = require('../logger')('routes'); const bodyParser = require('body-parser'); const express = require('express'); const router = express.Router(); module.exports = function(handler) { logger.log('info', 'Setting up routes.') router.use(bodyParser.json); router.get('/', (req, res) => { logger.log('info', '/'); res.send('Home Page'); }); router.get('/quotes', (req, res) => { logger.log('info', '/quotes'); res.send('/quotes'); }); return router; } 

    The "handler" being passed to routes is meant to hold the functions that will be called by the routes.
    I'm obviously missing something but I can't figure out what it is, so if anyone has any idea it'll be greatly appreciated.

    Quick note: if I pass "app" to the routing module and call app.use('/', router) right before "return router", it works fine. But that completely defeats the purpose of splitting this into two modules.

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

    Setting up a functional and good looking frontend toolset

    Posted: 01 Apr 2018 10:17 AM PDT

    No comments:

    Post a Comment