• Breaking News

    Sunday, July 1, 2018

    git bundle web developers

    git bundle web developers


    git bundle

    Posted: 01 Jul 2018 12:17 AM PDT

    Learn these JavaScript fundamentals and become a better developer

    Posted: 01 Jul 2018 08:00 AM PDT

    Your own serverless REST endpoint to sanely score password strength while checking against 5.1 billion pwned accounts: 5 min. deployment on Lambda with automatic https and AWS gateway configuration

    Posted: 30 Jun 2018 05:34 PM PDT

    First things first - the goods: https://github.com/detroitenglish/haveibeenpwned-zxcvbn-lambda-api


    We know tr0ub4dor password policies are bullshit... nonetheless, we need some kind of requirements in place for those 90% of users who happen to suck at passwords.

    Luckily, the smart folks at Dropbox maintain the awesome (albeit massive) zxcvbn library for estimating password strength practically. And not long ago, Troy Hunt released v2 of his pwnedpasswords API. The latter is especially cool as it allows querying haveibeenpwned without ever sending a full password over the wire.

    So I built a funny little component for my app which leveraged both and, like any responsible developer today, promptly tweeted it. Mr. Hunt himself took note, declared it as "... awesome 😎" and unleashed a 3-day tsunami of 'security researcher' circlejerking. But it led me to me realize I made something potentially useful worth sharing as FOSS (...finally)

    The link up top is that hopefully-potentially-finally-useful thing.

    Here how I use it in my own app; if you use it to make your own useful thing, please share! (...unless it's yet another outraged lecture on hash inference, in which case please spare me because I just had the carpets cleaned)

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

    Graphql Questions

    Posted: 01 Jul 2018 01:50 PM PDT

    Newbie here trying to figure out some basic things...

    1. If you're trying to fetch data from a public API endpoint via Graphql client, would that endpoint need to specifically be part of a Graphql server? In other words, if a public API is not mentioned here (https://github.com/APIs-guru/graphql-apis) or makes no mention of being accessible via Graphql, is it only then accessible through REST? Can anything that's being fetched from REST also be fetched using Graphql?

    2. How do people design their Graphql client to handle for multiple API endpoints?

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

    Ask r/webdev : How do custom tracking codes work?

    Posted: 01 Jul 2018 11:41 AM PDT

    Hi there, I wanted to understand how I can implement a custom code snippet for any user who signs up for my app. The user places this (unique-to-him) tracking snippet in the header of his webpage and this snippet should be able to send information back to his account on the backend. (I have solved the "sending the information" part.)

    So, in essence, how do we create js snippets ( like intercom, mixpanel, etc ) for each user that are unique to that user by some sort of an ID? And how do I enable the user's backend (Rails) to accept information only from this snippet?

    submitted by /u/shoaib-gs
    [link] [comments]

    Windows VS Code users: my little side project for creating/updating dev environments now supports automating installing extensions and customizing user settings

    Posted: 01 Jul 2018 02:19 PM PDT

    No degree or experience, how to approach first Jr Web Developer salary?

    Posted: 01 Jul 2018 11:51 AM PDT

    Hello! I live in NYC and currently building up my portfolio, but I've been wondering about how I should go about the salary with my first Jr. Web Developer job?

    I'm pretty much willing to jump at anything right now, but let's be real I would still like to get the most I can get, lol. Should I just use the average NYC Jr Web Developer salary on google and try and get something close to that range if a company wants to hire me or just shut up and take what I can get because at least I get my foot in the door?

    Thank you!

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

    How I Made The NIKE Logo Using A Single HTML Element — Or How I Thought Inside The Box And Found Two More

    Posted: 01 Jul 2018 04:14 AM PDT

    How can I protect my mongodb credentials on my Github project

    Posted: 01 Jul 2018 11:18 AM PDT

    I'm doing a Node tutorial - a basic CRUD app - and we're using mlab to connect to mongodb. The problem is is my username and password is in the connection string. Obviously I don't want that on Github but the rest of the file that holds the connection string is important and should be open source.

    Where should I be placing these credentials within my Node project so I can safely gitignore them?

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

    I have one entire year to learn skills and become a webdev, what do u recommend?

    Posted: 01 Jul 2018 06:05 AM PDT

    Hi guys, i will dedicate myself 3h per day to learn webdev skills. I am working part-time as online marketing (basic html and css used) and will have 3 h per day to learn some programming and move further career and also start a small business. I want to build a mobile app, that will track some street sellers locations and you can order directly from the app for them to deliver to your location. Not too complex but some uber-like features.

    What language(s) would you recommend to build it from zero to 100% by myself (while i am learning) - i just have html and basic css skills, and basic javascript knowledge. My goal is to build this mobile app but also be able in the future to build it in a webpage too.

    Suggestions?

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

    Recommended Rails 5.1 API only tutorials/courses? • r/rails

    Posted: 01 Jul 2018 02:44 PM PDT

    Modern webdev / backend JS ugly elephant? Will JS take over for wrong reasons?

    Posted: 01 Jul 2018 10:26 AM PDT

    Experienced (even old) dev here. Been more DevOpsy in the last few years, now working on a couple of POC web projects. Lots has changed since I last coded a webapp in anger (not long after HTML 5 and CSS 3 became things).

    Since then, the main paradigm shift is the tendency to use a REST API backend that returns JSON to a frontend that knows how to consume it. All good so far. I'm learning Vue, having come across Angular at work and not fallen in love (steep learning curve, opinionated, take it or leave it). Like it so far, also using Buefy.

    But, the backend. Once I outgrew json-server ;), I was somewhat "spoilt" for choice. I know that I generally like Python, so Flask API seemed like a natural option. But JavaScript is everywhere! Is it everywhere because it's great, or is it everywhere because of inertia (like PHP in its heyday, MongoDB, or to a lesser extent MySQL).

    Aside: Generally, I've always seen competition and the open-source ecosystem as an amazing thing, but for some reason web dev has kind of disappeared up its own backside, with people knocking out frameworks because some other framework didn't quite do it their way. I love the freedom, but it's tough to keep up. Web dev used to be a relatively light option compared to say embedded C++!

    Anyway, I then came across Express, which led me to Feathers, which on the face of it seems like a really elegant tool, even if it takes a while to understand why one might want to run it on the client as well as the server. I found this great tutorial which combines Vue and Feathers. For the first hour or so, I was like wow, this is pretty quick and powerful. But at some point, it got tiring.

    Yet, something about the syntax bothers me. It's just such a mess, and that's after all the revisions. It reminds me of the bad side of Perl or C++, where the syntax veers off in so many directions, it's jarring to read because of all the context switching. I guess elegance is subjective, but that's how I feel at the moment.

    So, am I an old fart who needs to wear this JS complexity as a badge of pride? Or do others feel the same, perhaps like a guilty secret? More importantly, if I start writing this in Flask / Python, will I struggle to get other developers on board because of (what I perceive to be) the Stockholm Syndrome of the JS Everywhere (tm) movement? Are good, normal human beings going over to JavaScript on the backend because of the sheer critical mass? Or am I blowing it out of proportion?

    Final disclaimer: I know this may look trollish to JS enthusiasts. I'm just telling it like I see it, and you know JS better than me. I'm looking to get some constructive comments if possible. Thanks.

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

    I've created a vanilla-js custom scrollbar tiny script

    Posted: 01 Jul 2018 02:03 PM PDT

    Nginx tuning tips: TLS/SSL HTTPS for Improved TTFB/latency

    Posted: 01 Jul 2018 04:36 AM PDT

    I created a Chrome extension that replaces your New Tab with a Markdown editor to quickly jot down (or paste) your thought (or clipboard)... in markdown!

    Posted: 01 Jul 2018 12:17 PM PDT

    Did a website for a client, local ISP dns server is referring to old nameserver?

    Posted: 01 Jul 2018 12:37 AM PDT

    Hello

    I have a client for whom we launched a website on June 1st. We switched their hosting from a local company to GoDaddy and saved them a lot of money. I don't know if this issue is the old company messing with us, an oversight with our dns filex, or a local ISP issue.

    Previously the local company transferred the domain to us in the spring and we left their hosting up until June. The problem is when any customer with the local ISP of our client is getting their old site. (Which is bad because he is a local business)

    I called the local hosting company who was very short and rude with me. They said that the website was forwarded correctly and we did everything right.

    I called Godaddy and they checked the dns @ and a records and they also said that it was pointed correctly.

    I did a traceroute on my clients computer and is showing the local hosting still. I switched to Google dns and it pulled up the new site.

    I thought it was possible a caching issue or his router or PC but he has called me and said he is getting phone calls that the website is down by local customers. I have called the ISP 3 times and they escalated the ticket to tier 3 support but I was wondering if there is anything I am missing here?

    Also if there is another subreddit that might have an insight. Not sure if this is the best place but thanks for reading.

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

    [feedback wanted] Allocate stuff (chores, gifts, tasks, etc) between multiple people using game theory

    Posted: 01 Jul 2018 11:44 AM PDT

    Psychology of Code Readability

    Posted: 01 Jul 2018 05:31 AM PDT

    How much data structure should I study for full stack?

    Posted: 01 Jul 2018 11:17 AM PDT

    I got a technical interview for a full stack internship, and they said it will mostly be "algorithmic" questions.

    Can I expect complex data structure questions or should I just study for algorithms only?

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

    Guess what browser is this based on it's user agent?

    Posted: 01 Jul 2018 05:11 AM PDT

    I did not change the user agent in any way. Here we go:

    Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) FxQuantum/63.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.0.0 Mobile Safari/537.36

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

    [Newbie] How do I create a website like 4Chan?

    Posted: 01 Jul 2018 11:04 AM PDT

    Hello,

    I'm not a fan of 4chan.org, however, I have an idea for a website that will make a freaking huge success in my country, and it requires similar functioning to 4chan.org in many ways.

    I tried googling without luck.

    The website needs different categories/boards/subs with similar anonymous commenting platform.

    Posts have to be deleted over a period of time such as 24 hours.

    The website will have optional/encouraged Registration/Login

    The website needs an easy moderation board for my mods to delete all the disgusting junk that may get shared anonymously.

    Please help this newbie

    I need to know where to start, and which languages or technologies to learn, basically all there is to know!

    Thank you very much!!

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

    Opinions please: WebDev on Windows10 - move forward or dig deeper

    Posted: 01 Jul 2018 12:20 AM PDT

    Is it time to ditch Windows for Linux?

    All I want (for the most part) is a basic workflow with live css injection for WordPress site dev/design - but can't make anything I try work on Windows10.

    I am a designer by trade who, for the past few years, has been learning / exploring more about webdev. Most of my experience to-date is with Wordpress via desktopServer. Recently picked up on workflows, found Git, browsersync and then toyed around with a few wde's (Local by Flywheel, Vagrant/VVV, PrePos, PHPStorm).

    I can't seem to get any mix/match of the above to run BrowserSync correctly on my Win10 machine (Apr18 Creator's Update). Specifically my PC just seems to have issues associated with localhost and live injecting css/js/etc. I've listened to and forwarded ports, tried various proxy configs, made firewalls exclusions, configured browsers, done a clean install and tore my workflow and site down to the basics. I've read everything and tried every walk thru I can find.

    I used to think it was my ignorance. I'm beginning to wonder if Win10 is just not a good choice for this application. I know

    1. This is a very common problem - so much so salty webdev vets are probably tired of hearing about it.
    2. I probably lack the information to resolve it. Willing to learn but don't know where or for what to look.
    3. I've wasted far too much time and emotion on this already (weeks).

    Would Linux save me some headaches or do I just need to get smarter? Any advice large or small would be very appreciated at this point.

    Thanks

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

    How to make the background-image fade in?

    Posted: 01 Jul 2018 03:24 AM PDT

    As of right now I have a fade in animation for my body on the main page using the method found here: https://www.abeautifulsite.net/a-clean-fade-in-effect-for-webpages. I like the effect for my main page and that's fine. It also works pretty beautifully once my site is visited before and he background-image of the main content that fills up the screen at the start is cached to the browser so it appears instantly. But on the first time visit it just loads in pretty ugly-ily. So what I would like to do is to have some sort of separate fade in effect on the background-image of main div or preferably even only fade it in once it's completely loaded, but I can't find any way to do it and my knowledge is not extensive enough to think of a way myself. Any help would be appreciated.

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

    Fetching messenger chat history using messenger API/javascript/REST

    Posted: 01 Jul 2018 09:04 AM PDT

    See subject, is it possible to get all messages in a chat using javascript and the calls already used in the browser client at messenger.com?

    I've never been happy with the archive options available for messenger and would like to find a way to extract all messages in some readable format (json, xml whatever).

    I am not sure if the platform is open to create third party clients using the API to access messenger history, in that case I would think it would be possible to use the client side calls already used in messengers own browser client (eg when loading older messages...)

    Is this API documented anywhere?

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

    No comments:

    Post a Comment