[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 317
Thread images: 37

File: 1473555401195.png (1MB, 1357x1281px) Image search: [Google]
1473555401195.png
1MB, 1357x1281px
/wdg/ - Web Development General


Previous Thread: >>57156643

> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/


>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528/

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

>How to get started
http://pastebin.com/pDT82mQS

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
PHP or NODE.JS?
Learned html, css, three.js/webgl, javascript so far.
>>
>>57197233
Might as well stick to JS then and do node.
>>
I'm taking the Udemy course done by Rob Percival as my entry into web dev. I was wondering where I should go from there?
>>
>>57197423
I get jelly every single time I hear that name.
>>
>>57197438
Why's that?
>>
>>57197423
I'm about to start that. What did you think of it?
>>
>>57197450
He's successful.

"For Percival, who originally had hoped only to supplement his monthly income by $5,000 or so, the growth was exciting. In September, he released a second course to teach the Apple programming language Swift, and it earned $200,000. "That was my first huge month," he says. "Since then it's been a steady $150,000 every month." "
>>
>>57197423
>>57197514

i did this android course by home. overall I thought it was okay. For the android course he did mostly functionality but didn't do too much user interface stuff which made all the applications look like shit. And he also doesn't really teach good coding practices in my opinion. I already knew how to program from my classes (computer engineering) as well as doing iOS development and could see lots of bad habits he was teaching.
>>
>>57197514
It's good, I'm awful at design though.
>>
I want to build a small blog type website for a single person to create posts on. Running windows server, what can/should I use to do this? I only know html/css/straight js and want to learn more.
>>
>>57197784
animation guy?
>>
>>57197789
what?
>>
>>57197545
Sheit dude
>>
>>57197939
Yeah, how are his courses? He a really good teacher? I could do a bomb lecture on monetizing websites.
>>
what's a way to make some quick money? I'm a NEET and I'm getting desperate...
I've read about black hat techniques in the past, but never did anything of that, and I suspect most of the things I read aren't doable anymore. does anyone do BH stuff ITT? how come these things (among other topics: ads, link building, SEO, etc) aren't discussed in /wdg/?
>>
>>57198060
if we had some magic money machine do you think we'd be here
>>
>>57198060
A lot of blackhat is only beneficial to indians and other 3rd worlders that get loaded from 10 cents an hour.
>>
>>57198147
what does being in 4chan has to do with being poor or rich, or having or not some method to make easy money?

some guy in the previous thread made $10 after putting ads in his/her website in less than 1 day... how's that not easy money?
>>
>>57198060
Also we try to keep this general somewhat professional even though no one will admit to it. We're job oriented.

If you want the scummy tactics, then I saw a thread on
>>>/biz/
>>
>>57198060
Go donate blood plasma.
Its what all the heroin addicts around here do.
>>
>>57198209
yeah, well, some people brag about making shitloads of money from ads, automated clicks, parked domains, ...
btw, not everyone is as lucky as you are, m8

>>57198221
>Also we try to keep this general somewhat professional
by masturbating about this or that shitty language, and this or that lib... OK m8, gotcha

>If you want the scummy tactics
while I did imply that, I don't see how this answers my question. I didn't say I would do that (in fact, I said I never did anything like that), the intention was broader: barely anyone here talks about making money from websites, other than being employed or working as a freelancer

>>57198234
why don't YOU do it after killing yourself, you piece of shit? go shoot yourself and donate your blood and organs, faggot
I bet you are a NEET too. you post in /g/ all day, every day: https://archive.rebeccablacktech.com/g/?task=search2&search_tripcode=!BE%2F4wes0mE yet here you are, criticizing other people for trying to do something about it
>>
>>57198385
/g/ is about the tech
/biz/ is about conning people
>>
>>57198385
two of the replies were to me.

Go to /biz/. There's no quick method to money in web dev unless you scam people, which scams are flooded by shitty countries with weak currencies. Have fun.

>>>/biz/
>>
>>57198385
Also I talk about the money I make on my websites somewhat frequently. My website took 6 months to make and gets around 50k views a day.

That's not quick.
>>
>>57198576
>scam people
most of the BH methods target companies, not people
I bet you believe google/fb ads are effective marketing, and not huge scams, too
>>
>>57198385
>barely anyone here talks about making money from websites, other than being employed

That's because most people prefer a stable income. There's also many benefits to having a job, like social contact, social security and social status. Seems to me most people simply don't want to sit in their basements all day with cash flowing in from their scummy website. There's nothing wrong with that, it's just not discussed because it isn't popular for good reason.
>>
>>57198598
You shouldn't have to advertise.

I never advertised once.
>>
>>57198589
I made a website, took me 2-3 months to make it functional and no one cared about it unless I posted links. I also didn't put ads in it because I wanted to make it privacy-oriented... but even if I had ads, again, no one cared, so I got no users.

so, yeah, I've had bad luck, bad taste, ... I dunno. thing is, I haven't made a single cent from webdev. and webdev sucks
>>
>>57198605
>Seems to me most people simply don't want to sit in their basements all day with cash flowing in from their scummy website
lol, of course not, they want to have a life and leave the website making money on itself, with no intervention whatsoever.

not sure why you people are obsessed with the belief that BH = scamming people... people won't give you much money, big companies will.
>>
>>57198635
Web dev is amazing. You just have to come up with a good idea. Scams are weak and don't last long.

I have a journal of good ideas I'm working through. There are thousands of them. Just sit and think what people need.

A good topic to study is "How to make people feel popular online".
>>
>>57198654
No, that's not even it. People don't want to rely on their own website to make money period. It's simply too much work, there's practically no way you CAN leave a website sitting there and make a sizeable income off of it, reliably, and still have some form of security. People here, and in most webdev communities, prefer to freelance, work for an actual company in which the website is not their income, but instead a paycheck at the end of the month, and to develop small things as a bonus in their offtime, if that.

I'm only trying to answer the part of your post "barely anyone here talks about making money from websites, other than being employed or working as a freelancer".
>>
Does operating system matter for web dev?
>>
>>57198694
>there's practically no way you CAN leave a website sitting there and make a sizeable income off of it

Yeah there is, dude. Community generates my content and the community moderates it. I do fuckall.
>>
>>57198707
I do admit it's a rare case, but it was the point of my idea from the get-go.
>>
>>57198711
>a rare case
that's how shit worked for "webmasters" in the past...

wtf man, it's like everything web-related has become a whole new parallel universe, or something
>>
>>57198210

you're dumb.

you make it sound like you can throw ads on any site and make a bunch of money. if someone put ads on their site and made $10 in less than a day, it means they already had a bunch of traffic. in other words they had already created something valuable.

if I were you I wouldn't try to make money with webdev if quick cash is your main goal. it will take a lot of time before you can feel comfortable freelancing or make a profitable SaaS or wordpress plug-in or whatever.

and those blackhat forums are bs. just read that stuff. bunch of pajeets making pennies.

I would recommend looking into blogging, affiliate marketing, and/or selling digital products (e.g. e-books). these things are all pretty closely tied together. read some neil patel/quicksprout guides as a start. also read 4 hr work week. it's not really realistic, in that no one is really getting super rich working only 4 hours, but it still has valuable advice.

making money doing anything online is just about putting the time in though. no magic formula. create good content consistently.
>>
>>57198704
yes but not really (they can all do just well if you dont give a fuck about workarounds)
you should optimally be using mac if front end is huge for you, otherwise either mac or 'linux' are great options
windows is basically just like... existent, it's doable, and you can definitely get around a lot of stuff, but why bother
>>
>>57198946
>you're dumb.
>and those blackhat forums are bs. just read that stuff. bunch of pajeets making pennies.
>I would recommend looking into blogging, affiliate marketing, and/or selling digital products (e.g. e-books).
facepalm. that's whath those blackhat forums talk about, you fucking retard. BH methods to get more money from "blogging, affiliate marketing, and/or selling digital products" (among many other things), by spamming links without being caught, getting emails from people, etc., instead of only doing it the "organic" way.

it's clear that you faggots criticize BH web stuff withou knowing shit about it.
>>
Just finished my pre-alpha release of my Django REST library.

Github: https://github.com/FFX01/django-restup

PyPI: https://pypi.python.org/pypi?name=django-restup&version=0.1.1&:action=display

Let me know what you think.
>>
>>57199043
i will take a look later
people talk like drf is perfect though
>>
>>57199080
I like it, I just think it lacks flexibility and granularity.
>>
>>57199017

I'm quite familiar with the types of info on blackhat forums. I'm saying you should do blogging/affiliate marketing/digital products the right way. create good content that is valuable to your readers. do the following:

-read the Moz beginner's guide to SEO
-subscribe to Quicksprout's email newsletter and read the most popular posts.
-start up a WP blog on any topic you're interested in
-learn how to find what's popular in your chosen industry by using something like BuzzSumo search.
-learn how to build back links the right way
-create an email list with mailchimp or whatever you wanna use
-create something at least somewhat valuable that you can give out for free in exchange for an email sign-up.
-continue creating good content, learning, and building your email list.
-advertise (CPA stuff related to your industry is probably best) and sell products after you get some kind of following/traffic.

or just go to blackhatnation.co forums and read Ankar's thread on "$50/day guaranteed ez pinterest method." if it's that easy just do it.

honestly you sound like you're 19. I'm 27 and have been at this stuff for awhile. I know I can't really prove any authority here, but you should take my advice and work towards building a real brand and business instead of doing pajeet stuff.

but anyway this is definitely not /wdg/ related at all. we talk about building stuff with code, not marketing. like others have stated that's /biz/.
>>
>>57197233

Not this guy but related: does the main choice between PHP and newer JS full-stack tech depend on whether you want to make a single-page app/service or a more typical website that starts at a "blank slate" every time you send/recieve a page request? I don't know much about the newer JS stuff yet but it seems to me the main reason you'd want to use that over something like PHP is to have an SPA that just uses AJAX to update? And PHP has no capabilities to do anything other than typical "send/receive a new page request" to perform actions? mOr does modern PHP support single page apps too now?
>>
>>57199553
Short answer: Yes and no.

Long answer: Both JS and PHP backends can be used for building a SPA. A SPA doesn't give a flying fuck where the data is coming form. In all reality, it doesn't even need to know that the data source exists. It resides and operates completely on the client browser. The JS can reside and be served by a completely separate machine than where the data is being served from. It's completely and utterly decoupled in most cases.

You could build a backend that serves data in any language/framework/whatever as long as it serves data in json/xml/yaml or whatever that can be parsed by javscript.

That said, many backend Js frameworks are built for this purpose whereas most php frameworks are built for serving traditional server rendered html templates.

Both methods are viable, but they fit different use cases.
>>
>>57199553
I don't have to read anything you wrote.

The answer is JS front-end and PHP backend. If you want to go node, then go for it, just I see 1 node job for every 100 php jobs in dallas tx.
>>
>>57199625
>>57199637

So basically JS can do both front and back with various frameworks and therefor do SPAs. PHP can be the backend of an SPA but you would still need JS for front and if you theoretically aren't using any JS at all and only use HTML/CSS/PHP then you can't do an SPA?
>>
>>57199664
That is correct, yes.
>>
>>57199664
PHP can do both. JS can do both.

JS does front-end better. PHP does back-end easier.
>>
>>57199738
This isn't true at all. Browsers do not understand php.
>>
>>57199902
Right. That's why it sends the browser html.
>>
>>57199934
That's what you meant.

I misunderstood you. I thought you were implying that you could write client-side php.
>>
I can tell PHP to send, for display, whatever I want.

I just recommend JS front-end and PHP back-end. Keeps things tidy and separate.
>>
>>57197188
>wymyn
>>
>>57200124
stop implying xirs gender.
>>
File: 1472374988979.jpg (283KB, 2048x1367px) Image search: [Google]
1472374988979.jpg
283KB, 2048x1367px
hi guys, what's the best way to pass parameters around in .net mvc ? Is ViewBag considered OK ? Or should I aim to use some more sophisticated method ?

ty
>>
File: face.png (27KB, 512x512px) Image search: [Google]
face.png
27KB, 512x512px
>>57200158
Hack the planet
>>
File: marketing_interview.png (34KB, 600x297px) Image search: [Google]
marketing_interview.png
34KB, 600x297px
>>57199300
>-read the Moz beginner's guide to SEO

>search google for "seo"
>second result
not bad
>>
>>57200158
ViewBag is what they teach on the Microsoft Virtual Academy videos, and I've seen other people use it too. Guess that's the way to go, yeah.
>>
so... based from what I understand...
MVC in a nutshell is:

M: model = handles database, json datas, primary logic, flowchart "if-elses"
V: view = codes that handle display, what to show to the user, ect.
C: controller = manipulates model and view

I asked because I wanted to grasp the concept and revise my code MVC style.
Heck, the real definitions of MVC is still a massive debate. Even W3C(not w3schools)
does not have a specification for it. I just wanted to understand mvc before I start diving into those meme "mvc" frameworks.
>>
For the SEO fags:

No matter how SEO-optimized your site is, if your CONTENT IS SHIT, people will just forget your site.

Provide good content and your site will SEO on its own!

SEO started when idiot "supervisors" try to impress their bosses by saying:
Hey boss, lets do "insert crap buzzword here" to make money!
-facepalm.jpg
>>
>>57200946
that's pretty much it, yeah, but as you say, there's not much agreement on what it really is.

I'm using MVC with ASP.NET and it's pretty good, tons of books walking you through it.
>>
>>57200946

When I tried to learn about the differences between MVC, MVP, and MVVM it seems like ever website has a different definition/explanation/illustrations of them. I'm assuming these are more like general philosophies then, rather than a rigid template?
>>
>>57201434
>more like general philosophies then, rather than a rigid template?

yes, that's how it is. I've read blogs where people complain that "MVC today has nothing to do with the REAL MVC that was established years ago, today it's just a watered-down version".

Btw, if you're just getting into it, I don't recommend coding MVC from scratch, rather use the templates provided by whatever framework you're using and build up.

I guess the main idea of MVC is keep your model (databases) and view (the user front-end) separate, and have a controller bridging the gap.
>>
Building your backend as a REST API is the superior choice, debate me.
>>
>>57201564
can you elaborate on this? Build an API instead of an SQL-type database? Or is it an SQL database that communicates with the web app through an API?
>>
>>57201700
Database -> API -> Whatever -> Frontend
>>
>>57200864
ty
>>
Are there any guides/tutorial on making web based notification?
I need to host web page, that display boolean value.
And anyone that can see the page, can as well change the value, like a switch flipping.
I know python if that matters.
>>
>>57197188
The picture shows a typical technical level of a Macbook owner.
>>
File: launchcode4chan.png (54KB, 1008x403px) Image search: [Google]
launchcode4chan.png
54KB, 1008x403px
>tfw it's happening tomorrow

oh fug D:
>>
>>57201006
Also trying to cheat SEO (ie like how some people will put key words on the page in a nonvisible format that will still be read by the 'robot') will not work out in the long run. Search engines are constantly altering their magic formulas, but they will always alter it to benefit "authentic" and beneficial content over spam.

So why bother putting yourself through all that additional work when you can just make -good- content right from the start?
>>
>>57204634
wish you the best, anon. Please report back eventually and let us know how it went.
>>
>>57199043
I gave you a star, cause I am nice
>>
Any good youtube php tutorial out there?
>>
File: PkCtM9n[1].png (11KB, 212x128px) Image search: [Google]
PkCtM9n[1].png
11KB, 212x128px
>>57197188
How do I make this look less shit?
>>
This may sound kind of dumb and I still don't quite get it after reading it on the mdn but what are the following in a I have downs so please talk really slow syntax.

constructor - think I know what it is but I want to be sure.

object prototype

why use new

with


es6 stuff

classes

promises

T. a tard.
>>
File: mv_bg.jpg (523KB, 1280x1600px) Image search: [Google]
mv_bg.jpg
523KB, 1280x1600px
>work
>writing an api for a single page app site
>entire backend team wants to do HATEOS shit

how do i convince them this is a horrible idea
>>
If I use nginx or Apache on a server, can I also run nodejs or is there something special I have to do to allow both?
>>
>>57205653
You should reverse proxy nodejs to nginx.
>>
File: Refk2Ni.png (362KB, 837x390px) Image search: [Google]
Refk2Ni.png
362KB, 837x390px
Can't wait till I get a MySQL job.
>>
>>57205857
MySQL is the PHP of databases.
>>
>>57205653
You can choose Node's port, so it should be fine.
>>
>>57205113

I feel like there should be a bit more padding in the list items. If the menu is going to overlap with a white background like in the pic try adding a thin solid border too.
>>
File: mspaint_2016-10-23_15-01-06.png (36KB, 500x297px) Image search: [Google]
mspaint_2016-10-23_15-01-06.png
36KB, 500x297px
>>57206220
Thanks man. Which do you think is better?
>>
File: mspaint_2016-10-23_15-03-47.png (26KB, 209x187px) Image search: [Google]
mspaint_2016-10-23_15-03-47.png
26KB, 209x187px
>>57206461
nvm. both of those are ugly. it looks better without the lines
>>
>>57205113

>>57195065
>>57195078
>>57195416
>>
>>57206495
yeah sorry I was vague, the border should go around the menu not each list item. That pic looks good enough, you can experiment further with the hover background shade if you want.
>>
>>57199934
yes. at the expense of server resources and host bandwidth. that is why personal home pages is deprecated AF.
>>
>>57205212
I'm going to explain these out of order, because you need to understand certain things before you understand others.

>es6 stuff
ECMAScript is the specification that JavaScript is based on, and ES6 is a new version that has some new useful features, but hasn't been fully adopted yet. You can look up the features that are new to ES6.

>classes
Classes are an object oriented concept that appear in many languages, but were added to JavaScript only in ES6. Basically they let you specify the attributes of a new type of object. You can give a class different internal variables and methods, and then create an object of that type. The created object will have all the internal variables and methods that you specified. To create a class, you use the 'class' keyword followed by the name of your class and then an opening curly brace. Between that brace and the end brace, you can specify your variables and methods.

>why use new
You use the 'new' keyword when you create a new object based on a class. You use 'new' followed by the name of the class plus parentheses with the arguments of the constructor inside (since 'new' actually calls that object's constructor).

>constructor
When you have a type of object, and you're creating a new object of that type, you want to give that object some values that make it different from other objects of that type (ie make it useful). You can do this by making a method called 'constructor()' in your class. The method will generally take several values, and then set those values to internal variables using the 'this' keyword. For example, you might take a 'name' parameter for your Person constructor, which sets
this.fullName = name
.
>>
>>57205212
>>57206803 - cont.

>object prototype
This is the original JavaScript way to specify a new type of object. The concept is pretty similar to a class, but it's implemented differently. (Classes are really just creating a prototype with different syntax.) Basically, instead of having a class keyword and then a constructor method inside, your constructor method is just the name of your class as the function name with the same parameters as the constructor. The constructor still sets its parameters as internal variables, but will also add methods (eg
this.printName = function() { console.log(this.fullName) };
)

The thing about JavaScript though, is that even after you specify and object prototype, and create objects based on that prototype, you can still modify the prototype and all objects that are derived from the prototype are modified. For example, you can add a method to an existing Person object:
Person.prototype.printAge = function() { console.log(this.age) };
.

>with
This is deprecated, and you probably shouldn't use it. Basically it lets you use an object's scope as the current scope; so you can access internal variables of that class without prefixing it with that object name.

>promises
I don't really know promises, sorry.
>>
>>57204864
Sweet!
>>
>>57206825
>promises
>I don't really know promises, sorry.

Sometimes you need to do something that happens asynchronously, for example doing an http request. The "old fashoned" way of handling that is to provide a callback function. When the asynchronous action is completed, the result, if any, gets passed into the callback to run. The problem with callbacks is that if you want to do several async actions in series, you end up with messy, confusing code. The Promise API is one way to avoid the problem of "callback hell".

Basically, instead of doing the async action and then running a callback, you write your code to return a Promise object. When the http request (or whatever) is finished, the Promise object either "resolves" into the final value or "rejects" into an error. You can chain functions that return Promises together with the ".then()" method to produce shorter, cleaner, more composable code.

This video has a really good explanation of promises if you want to know more:
https://youtu.be/2d7s3spWAzo
>>
File: asp.jpg (40KB, 398x500px) Image search: [Google]
asp.jpg
40KB, 398x500px
For anyone trying to get into the ASP.NET MVC framework, check out this book. Awesome stuff, beginners accepted but a bit of previous knowledge is better, of course.

You can download all of the examples from their site and mess around on your own, or follow the book for step-by-step instructions.

Dl link here:

http://gen.lib.rus.ec/book/index.php?md5=84135047588DA9939E7A910FCC951C53
>>
>>57207638
Thanks, William, I'll definitely do that.
>>
File: fashion slut.jpg (1MB, 1600x1132px) Image search: [Google]
fashion slut.jpg
1MB, 1600x1132px
I have a question about URL rewriting.

My website is a monolithic CGI script, all features are accessible via the following pattern:
domain.com/site.cgi?mode=display&id=1234

If I use url rewriting to display this as domain.com/res/1234, would linking still work internally if the links on the page are written as /res/1234 and not /site.cgi?mode=display&id=1234
>>
>>57206803
Too bad I can't use ES6 because Internet Explorer doesn't have it.
>>
>>57208024
What kind of internal linking are you talking about?
But yes, most likely.
>>
>>57208147
If the user tries to access /res/1234 because the a href link is written like that, will the http server software convert it back to mode=display&id=1234?
>>
>>57207750
the link there is to a pirated version of the book, idiot.
>>
>>57208192
Not automatically, no. But you can have an .htaccess that converts /res/1234 to mode=display&id=1234.
>>
someone told me to follow the w3schools.com bootstrap guide to learn bootstrap ( http://www.w3schools.com/bootstrap/default.asp )...
now, this shit is boring and unmotivating. how do you force yourselves or make it more fun to learn stuff like this? isn't html/CSS and related stuff all about rote memorizing?
>>
why did she did cd code again and again?

why did she think it was worth showing off about?
>>
>>57209112
I never really sat down and learned CSS. I mostly just tried to make something to see if I could, or tried to copy a feature that some other website had that I though was cool. Also I made it my mission to avoid JavaScript whenever possible, to see if I could do things in pure CSS.

I just ended up stumbling upon features as I went along, like learning how to do CSS keyframe animations, or using @media rules to do responsive design.

Basically pick a project, at any scale, and learn what you need to as it comes up.
>>
>>57209221
I already did... but I keep forgetting stuff. also, what I really wanted to learn is how to use bootstrap for responsive stuff, and by that I mean how to use/mix the different classes and features to change the layout of a page while keeping a similar look
>>
>>57209144
Presumably she was either doing babby's first *nix command line tutorial or trying to fill up her screen with """""code""""" to look like she knows what the fuck she's doing.
>>
>>57205212

constructor - its the processor machine. example

function ConstructorName(param1) {
this.param1 = param1;
return "my name is" + param1;
}

object prototype - used to add new property/method to the existing constructor.
example:

ConstructorName.prototype.newPropertyMethod = function() {
console.log("newPropertyMethod of ConstructorName");
}

why use new - to make an item that uses the constructor. example

var object1 = new ConstructorName(banana);

console.log(object1); // my name is

So why use constructor/prototype/object literal pattern?
For easy understanding / maintenance. Otherwise you'd have loose spaghetti functions all over the place

I'll leave the rest for you to find out and try.and
Don't wanna spoonfeed much because pajeets might learn
>>
>>57209112
I told you to do that like 2 weeks ago.

It takes 4 hours to learn it. If it's taking you longer then do a class on basic CSS first.
>>
>>57209941
it's just too boring, m8
I already learned basic CSS some time ago, but seriously, do I have to memorize all this shit? aren't there guides for specific stuff? shouldn't I simply use a good reference/cheatsheet?
>>
I've only worked in development at one place so far, and the dev team was about 80% Indian. Is that standard in the US? Does it differ by city/region/industry?
>>
Im building a GO backend for a react native app and I'm wanting to try some kind of cloud hosting, either Google cloud and app engine or Amazon stuff.

Have any recommendations about either?
>>
Am I the only one that hates all this JS shit? I just like static web pages, why is that so bad?
>>
>>57210274
That's all the dependencies and all the things you have to do to make your framework/lib work that I hate.
>>
>>57210274
Nobody ever said youre not allowed to be too dumb for JS.
>>
>>57210008
openshift... but apparently they only offer free "cloud hosting" for a month now
>>
>>57210535
I just don't like JS or any of the fotm frameworks that go along with it, why is that so bad? Why is it stupid to want something simple without a million and one crappy JS things going along with it?
>>
File: ss (2016-10-23 at 11.50.04).jpg (383KB, 1644x912px) Image search: [Google]
ss (2016-10-23 at 11.50.04).jpg
383KB, 1644x912px
Time to crack open some legit advice.

Findrow.com is basically a nsfw instagram with higher quality content and an autoplay feature for happy fapping.

I'm trying to make a bot that can rip all these galleries. Will share if it works.
Problem is the website is a JS app that tries hard to obscure the API. I can access the content on the CDN after checking network logs, but that requires actually opening each video/image and checking the logs for the link afterwards.

Is there a more elegant way of getting the source?
>>
>>57210632
can you post a link to a gallery?
>>
>>57201564
Absolutely. Really pleasant to use and test.
>>57201006
>>57204663
Any cool links or books regarding SEO? I'll start working on a SEO oriented project in the near future and I'd love to be less ignorant about it.
Usual searching through Amazon seems that the top books are all marketing bs.
Gonna read moz SEO guide now.
>>57204634
Good luck mate.
>>57206803
ES6 vs Typescript? I'm more fond of TS but our architect seems to want the ES6 route more and likely he won't want TS.
>>57210555
>>57210008
Google Cloud has a very nice introductory offer and $300 in credit for your trial to go nuts, seems to be the cheapest when it comes to sustained (24/7) usage.
Amazon is the veteran in the field I believe, but I found Google Cloud much more easier and pleasant to use.
>>
Need an idea for a site.
I know PHP JS CSS and HTML.
>>
>>57204634
first i've heard of this. i thought it was one of those scam bootcamps from the name
sounds like a good idea. hope it goes well
>>
>>57210894

They're behind a paywall

gallery:
https://secretgarden.findrow.com/browse/thumbs/8646

video link:
https://secretgarden.findrow.com/browse/thumbs/8646#lg=8646&slide=28

CDN source:
https://cdn.findrow.com/img/47/8646/7dXebufiRea2xbV0Ws3i_IMG_1540.mp4_high.mp4
>>
>>57210632
Here's some scraping code I wrote in javascript to scrape html:
function getSubstrings(searchStr, startStr, endStr, strCount = 1) { // [startStr ***]endStr
var searchStartIndex = 0;
var results = [];
var startIndex;
var endIndex;
for (var i = 0; i < strCount; i++) {
startIndex = searchStr.indexOf(startStr, searchStartIndex);
endIndex = searchStr.indexOf(endStr, startIndex + startStr.length);
searchStartIndex = endIndex + endStr.length;
if (startIndex < 0 || endIndex <= startIndex + startStr.length) {
results[i] = "";
}
else {
results[i] = searchStr.substring(startIndex, endIndex);
}
}
return results;
}

It finds strCount or less number of occurrences of strings starting with startStr and ending before endStr. The output is an array of strings which include startStr but not endStr.

So here's a function to grab all the images from that site:
images = getSubstrings(document.getElementById('preview-gallery').innerHTML, 'https://cdn', '"', 100);
images.forEach(function(url, index) { images[index] = url.replace('amp;', '') });

The first line calls the function to build an array, and the second strips out the html encoding on some ampersand characters in the url.
>>
>>57205212

JS is easy. You just need to filter out good tutorials from bad/misleading tutorials.
The bad thing, as a beginner, is you cannot tell if a tutorial is shit/misleading
or not.
>>
>>57211040
> getSubstrings(searchStr, startStr, endStr, strCount = 1)
> strCount = 1)

what do you call that thing? whats the js term for it?
why you assign a value inside the param area?
first time i've seen a value assigned inside a fn(parameter)
>>
>>57211285
it's just a default for that parameter
>>
>>57211285
>>57211323
This. Basically it's optional. If you include a 4th parameter, it will use that value for strCount, but if you only pass 3 parameters, it will use 1 for strCount.
>>
>>57210901
>ES6 vs Typescript?
TS is a superset of ES6, so it's not a really an either/or situation.

>Google Cloud
The thing with Cloud (and basically all Google products except Adwords) is that there's absolutely zero support. There are heaps of horror stories out there of companies spending thousands of dollars a month on Cloud and getting their shit banned for no reason and with no way to appeal. Google makes some great stuff, but don't trust them with production apps.
>>
>>57211788
how are the other big providers?
>>
>>57210632
wait.. can you see the requests in the network tab?
couldn't you use a proxy like OWASP ZAP or something?
>>
>>57211889
AWS > Azure > Cloud
>>
I wonder... if I made an extremely easy to use website to convert .gif to .webm, do you think 4channers would use it?
>>
>>57212472
gfycat seems pretty easy
>>
>>57212505
right, guess I won't do that, then
>>
So I'm doing an assignment for a class, and we have to make a page setup for print.

One instruction is Set the margins of this class so that the left and right margins are indented 0.25 inches. Override the default indenting of the first line so that it is not indented.

How do I override the default indenting of the first line?
>>
>>57213003
i don't understand. there's no first-line indenting by default, right? you can play around with the text-indent property. mozilla should have good docs on this
>>
>>57197188
How do I get past the "keep changing shit until it looks right" stage of CSS?
>>
>>57213003
just overwrite the css?
>>
>>57213003
I have to write a one word essay on the reason why the world is so fucked up and how most Americans are now being slaved by debt.

The professor gave us a hint.

The first letter starts with a J
it is four letters long
The third letter is w.
It has to do with gloablist
I don't know what i can do.
>>
>>57214432
Fucking sharks man, always out to get us...
>>
File: toad.png (70KB, 150x276px) Image search: [Google]
toad.png
70KB, 150x276px
Srs about learning web dev?
I'm going through the ODIN PROJECT and I need some study partners.

I might set up a /g/ study group soon.
Our goal is jorbs.

If you are interested hit me up at mauser91 protonmail.com
>>
File: snapshot3.png (4KB, 678x531px) Image search: [Google]
snapshot3.png
4KB, 678x531px
How do I set the same size for columns in different "tables"? Each row is its own table.
Those tables are made with <div class="table"> tags, not <table> tags.

By the way, is there a way to make borders between tables 1px summarized? Or the only way to shrink horizontal borders is turning bottom border off and placing 1px line after all rows-tables?
>>
File: mockup-2.png (145KB, 1372x759px) Image search: [Google]
mockup-2.png
145KB, 1372x759px
What technologies should I use to handle the drawing part of pic related, I plan on running python/bottle/somedb on the server just to save/retrieve configs, but not sure what I should use for turning the various variables into an image of a 2d parametric image of a stick figure bike+rider. I'm currently looking at http://d3js.org/, but if there is something that is a better let me know.
>>
How to create a post system that fits in a standard HTML site? I create the post and when posted, it is in the mold created. I'm not talking about wordpress or something, can be in any language and I know how to login system. Help me, please. Sorry my bad english.
>>
>>57211949

Hey thanks, looking into it right now
>>
I want to write some web apps. The front end seems fairly straight forward, but I have absolutely no idea how to even approach a web backend and everything I've read seems kind of confusing and all over the place. What's a good framework to start with for something really basic, like accessing a database and sending text and images based on user selections?
>>
>>57215559
canvas

>>57216083
They're all equally easy, just different. Pick something that uses a language you already know if possible. I would start with a microframework first like Flask/Express/Sinatra so you can get the hang of how a backend framework actually works. The big, bulky ones like Django and Rails do a lot of shit for you by "magic".
>>
>>57216707
Flask and Django were a couple I was looking at since I'm experienced with python.
>>
>>57216083
If you want to learn, start without frameworks.
>>
What problem does React solve?
and what previous frameworks does it replace?
>>
>>57216707

Laravel Laravel Laravel Laravel Laravel Laravel Laravel Laravel Laravel Laravel Laravel Laravel
>>
>>57214886
sure im down but, make a gitter or slack room.
>>
are there any benefits to serving bootstrap from my backend or should I just go with a cdn?
>>
>>57216900
Huh, I didn't realize that was even a possibility. I mean, I did something similar to that way back in college with a really basic MUD-like back end written in C, but that felt more like systems programming with ports.
>>
Help me out here
>buy professional Wordpress theme
>download it for free from a certain source

Which do you do, and when?
>>
>>57199300
blackhatnation.co forums and read Ankar's thread on "$50/day guaranteed ez pinterest method."
link please?
>>
>>57216961
Of course it is. Frameworks are good for productivity, but you have to understand what is happening beneath to some degree.
>>57217002
Pay Pajeet to do it for you.
>>
>>57217002
> wordpress
NONE, you fucking cuck.
>>
>>57217024
Why not? It's fast, it's easy, it's convenient.
>>
>>57217138
> fast
>>
>>57217138
>fast
>>
>>57217138
> fast
even Pajeet would laugh at that statement.
>>
>>57217152
>>57217184
>>57217207
Perhaps I used the wrong word, not a native English speaker. I meant building websites with Wordpress can be done very quickly, not that Wordpress websites are "fast" in terms of load time or whatever you were thinking.
>>
>>57217002
Usually pro themes have more features and allow a lot more customization than the free ones (although there are tons of good free ones). It depends on what your site's needs are and whether you're willing to drop some cash.

Another option if you can write code is to create your own theme from scratch or as an extension of another one. It's not hard if you have any frontend experience.
>>
>>57197188
>cd code
cd: no such file or directory: code
>cd..
zsh: command not found: cd..
>pwd
/home/witrout(?)/code/labs/hs-tdd-structure-code-alang-procollege-sa(?)1-nyfl-072015-1
>cd..
zsh: command not found: cd..
>cd ..
>ls
crazy_strings.rb
find-missit-pwt-procollege-101-nyfl-072015-1
git_practice
>cd hs-tdd-structure-code-alang-procollege-sa(?)1-nyfl-072015-1
>cd code
cd: no such file or directory: code
>cd ..
>cd ..

wew la
>>
File: truth.png (216KB, 822x590px) Image search: [Google]
truth.png
216KB, 822x590px
>>57217521
>>
File: 1475936626247.jpg (110KB, 960x801px) Image search: [Google]
1475936626247.jpg
110KB, 960x801px
>>57217551
>>
>>57208102
Transpile that stuff
>>
>>57208102
> supporting IE in 2016
this is why /dpt/ makes fun of us.

but.... if you really want to do this.
look up Babel and polyfills.
>>
>>57197188
I know this is easy but I cant remember how to make a simple colored rectangle to have text on top?
googling doesnt always help in a simple way
>>
>>57197188
shadowing a web dev company in my town this week, nothing fancy but I wouldn't have been as productive if not for the sticky so thanks wdg!
>>
>>57218023
 
@import url('blackbox');

* {
@include colored-rectangle($color, $text);
}
>>
>>57218023
my guess is that you aren't telling me something
i assume you know how to create "rectangles". do you know about css? there's a background property that you can set to red or whatever color you like
if you're trying to do this with svg or canvas then you should say so
>>
>>57218023
nevermind it was piss easy
background color in whatever section fills it
>>
>>57218101
>>57218086
thanks i didnt see these before i replied here
>>57218116
>>
I've seen people here and in the /dpt/ thread post screenshot videos in the form of webms. is there any way to do that? wanna show you guys something i've been working on :)
>>
>>57218412
RTFM
>>
>>57214886
>I'm going through the ODIN PROJECT
>Our goal is jorbs.

Not to rain on your parade, but are you sure Ruby on Rails is the way to go for your first job? Where I'm located, for every RoR job posting there's 25+ for C# and Java.

Since getting your first job without any experience (duh...) nor a degree is pretty tough, my strategy is to go with the language that gives me the biggest chances, that is, the biggest number of available jobs. Have you checked job availability in your area?

Of course, it could be that there's less competition for RoR jobs, but still, I think the two main languages are a safer bet. Just my $0.02.
>>
>>57218891
>Not to rain on your parade, but are you sure Ruby on Rails is the way to go for your first job?

prolly seemed like a good idea when they started making the curriculum 5 years ago or whatever.
>>
File: RoR.png (89KB, 997x495px) Image search: [Google]
RoR.png
89KB, 997x495px
>>57219196
This is from 2 years ago, but from what I've seen, the trend stays the same.
>>
>>57219280
>lisp

;_:
>>
I finally got a plugin for vim that lets me use Emmet shortcuts. It's pretty neat.
>>
please check out this example:
http://www.w3schools.com/howto/tryhow_css_parallax_demo.htm

I'm trying to make the "scroll down" box affix to the top when scrolling, then expand left and right to reveal the rest of the nav options once it's affixed. How can I do this?
>>
File: 1476635348195.jpg (90KB, 709x600px) Image search: [Google]
1476635348195.jpg
90KB, 709x600px
How the fuck do I upload an image from a signup form and then use it as the user's avatar in express js? I've seen multer can do this but documentation is shitty like req.file is the avatar file and other vague bullshit like that. How is a beginner supposed to understand this shit?
>>
>>57219477
>node

there is your problem faggot.
>>
Can I FULLTEXT index a TINYTEXT column?
>>
>>57219895
nvm, before this was answered I finished everything.
>>
>>57219824
How do I fix my problem faggot?
>>
>>57220283
kay-why-ehs
>>
>>57219477
I can do that in like 5 seconds with plupload and php.

Now THAT's express.
>>
>>57219280
Why is C so high though?
>>
>>57219280
I would be happy making half of any of those.
>>
>>57220582
I can live like a king on 30k.
Just need to get over my autism so I can actually land myself a job.
>>
>>57219280

suprised Java pays more than C/C++
>>
>>57219308

Isn't clojure basically lisp?
>>
>>57220655
I make 30k and don't live like a king.

WEB DEV JOB WHEN?
>>
>>57220582
>>57220655

I guess those are average salaries, including junior+senior+manager positions. I'm sure you can get a Junior Javascript job starting at $80k, but it's the exception, not the rule.

And the highest-paying jobs tend to be located in high-cost places like SF-NY-London, where you >>57220655 will most definitely not live like a king on 30k. 30k and remote work? I could hire a thai cutie to suck my dick 24/7 while I code away on a beach in Ko Phi-Phi...

>>57220543
embedded systems, I guess? They'd know more about that over at /dpt/, but yeah, embedded is really strong right now, and it's done mostly on C.
>>
>>57219452
Not sure if there's a better way to do it, but I made this:
http://codepen.io/anon/pen/RGdNoW
>>
>>57219280

today i learned f# is a thing.
>>
>>57220772
>clojure
I spent all my brain cells learning lisp from sicp while taking female hormones, wearing thigh highs, and using lsd as a nootropic,.
>>
>>57220971
you work for github?
>>
>>57220971
>I spent all my brain cells learning lisp from sicp while taking female hormones, wearing thigh highs, and using lsd as a nootropic,.

and you still can't code a fucking fizzbuzz, can you?
>>
Anyone know what java library i could use in solving vehicle rooting problem with multiple criteria?
>>
>>57221403

<code>function fizzbuzz(num){for(var i = 0; i <= num; i++){i % 15 === 0 ? console.log("FizzBuzz") : i % 3 === 0 ? console.log("Fizz") : i % 5 === 0 ? console.log("Buzz") : console.log(i);}}
</code>


See gurls can code even if I have a dick. It just means HR gets to check more boxes for their diversity quota when I am on the team.
>>
Whats the best language to learn for web development If I've mostly used C++/Java?

I have about 2.5 years worth of experience coding in C++ and about 1 semester worth of Java. But I find my self wanting to branch out into other languages.

It's been suggested I try Ruby, but I've heard some pretty bad things when it comes to Ruby so I'm stuck trying to decide between Ruby and Python.

Any thoughts?
>>
>>57222276
for backend? Go is nice: https://tour.golang.org
>>
>>57221978
><code>
></code>

you just had to fuck it up, didn't you?
>>
File: hmm.gif (875KB, 250x231px) Image search: [Google]
hmm.gif
875KB, 250x231px
who /e-commerce/ here?

what's keeping you from killing yourselves
>>
File: nexus6p.gif (1MB, 320x180px) Image search: [Google]
nexus6p.gif
1MB, 320x180px
>>57204634
>>57204680
>>57210901
>>57211036

Launchcode update

went in today and interviewed. Pretty straightforward, gave professional background and background with technology, demonstrated a project I'd built, and did a whiteboard problem.

Everything went fine. I expressed an interest in web development. The interviewer said I checked most of their boxes for web dev (demonstrable ability, HTML, CSS, SQL, PHP, frameworks, desire to learn, etc) but I did choke a bit on the whiteboard (got through it but could have been more articulate, had to redo my work a couple times), and my project wasn't "feature rich" enough, nor did it demonstrate all necessary languages (I wrote it entirely in PHP, they wanted to see some JavaScript as well).

We discussed a progression plan: I'm going to build a couple features into my web app that I had already been working on, but will incorporate them using JS instead of PHP. I'm also going to bang my head against HackerRank a bit and get myself more ready to work through whiteboard problems, and then we'll set up a second interview.

All in all, they seem genuinely interested in getting me interview-ready and helping me find a position. I'll post another update when the second interview happens
>>
>>57222424
EeeecksDeeeeeeeee
>>
>>57216707
>canvas

Any suggestions for open source or otherwise free libraries that do the same?
>>
I'm working my way through the front end section of free code camp. Any reccommendations on resources to supplement it with? Also anyone here used it to land an internship or job?
>>
File: 1427505270239.jpg (249KB, 1920x1080px) Image search: [Google]
1427505270239.jpg
249KB, 1920x1080px
Can someone please post an UP TO DATE example of how to query a mongodb user. I've been trying to figure it out for days and just now realized that there have been some updates
>>
>>57222668
i don't understand. canvas is part of the html5 spec. even ie supports it now
>>
File: jnZcQ2B.jpg (99KB, 750x618px) Image search: [Google]
jnZcQ2B.jpg
99KB, 750x618px
Hey, all. I'm designing a niche transaction and information exchange website with a group of people for my senior project, and I was wondering... What'd be the easiest and most efficient way we could all collaborate? Since this will have databases and shit, I assume we should all share some server or rented VPS to work on unless we all try and clone local db deployments on our own machines and push our code to GitHub, which just seems silly for this use case. Are CSMs a meme?
>>
>>57197188
the console on this pic isnt that bad imo, its kinda weird but anyone can make a typo many times in a row or change directories a few times to check something.

the worst part is the code on the screen, with that epic concatenate_strings function. she even wrote a unit test for it
>>
>>57223127
>what is tab
>>
>>57223080
Depends on what you're building it in, if from scratch you need setup scripts and maybe even a seed script.

Sharing a database will give you a lot of grief and it will quickly break with several people messing with it to test shit.
>>
>>57223359
I know what a seed script is, but what do you mean by "setup script"?
>>
>>57223395
Something that sets the database up automagically, so if someone makes database changes you can just drop what you have and re-create + re-seed it.

Otherwise you need migrations and stuff.
>>
>>57223416
Huh. Those seem like opposites. Don't seed scripts populate random data for testing?
>>
>>57223429
Yes, but when you've destroyed the database you want something to work with.

Otherwise you need migrations and stuff.
>>
File: 1356976855595.gif (2MB, 320x240px) Image search: [Google]
1356976855595.gif
2MB, 320x240px
>tfw a client insists I ruin her website by replacing the frontpage with a shitty image
>and almost every page must have unique elements forcing me to get dozens of page-specific divs and fonts only to ensure things will look like shit
>>
>>57220871

doesn't quite seem to be working, I appreciate the effort though
>>
>>57197188
Tfw she never found the code directory
>>
>>57224069
i honestly want to kill most clients
they must all be fucking blind and deaf at this point
>>
>>57222595
What kinds of questions did they ask? And would you be comfortable posting the project to gauge how complex they want it to be?
>>
>>57223481
Yeah, but... I guess, what do you mean by "database change" being a part of the setup script? You mean, like, schema changes? Because otherwise, this sounds to me like "save some entries, randomize the rest"
>>
>>57224405
This.

I have a literal meme website and I'm afraid to show it to them.
>>
>>57219477
OK, not sure how express does it, but basically, you need to have the form post to a url where you can have your backend save the file. The form needts to be enctype="mulitpart/form-data". You can use the js to grab just the image by using:

var data = new FormData();
var input = document.getElementById('fileInputId');
data.append(input.files[0]);

Then you send just that or that and the rest of the form, whatever, to your backend. You should be able to use express' request object to get the file. Then it's simply saving the file to your filesystem. I use Python mostly, so I have no idea how you write files with node.
>>
Are you guys crazy or am I retarded? made a JS quiz with 86 questions, I have spent way to long writing the html, and am only on question 20, how are you supposed to do this, heres a snippet of the first three, do I have to do the remaining 60 by hand the same way


<div>
<div class= "green-border">
<br>

<h4 style="color:navy">1</h4>
<br>
<input name="q1" type="radio" value="Artistic">
<label>Operate a printing press.</label>
<br>
<br>
<input name="q1" type ="radio" value="Science">
<label>Study the cause of earthquakes.</label>
<br>
<br>
<br>
</div>

<div class= "green-border">
<br>

<h4 style="color:navy">2</h4>
<br>
<input name="q2" type="radio" value="Plants">
<label>Plant and harvest crops.</label>
<br>
<br>
<input name="q2" type ="radio" value="Transportation">
<label>Replace car windows and fender.</label>
<br>
<br>
<br>

<div class= "green-border">
<br>

<h4 style="color:navy">3</h4>
<br>
<input name="q3" type="radio" value="Mechanical">
<label>Measure and grade logs</label>
<br>
<br>
<input name="q2" type ="radio" value="Industrial">
<label>Run a machine.</label>
<br>
<br>
<
>>
File: 1424398513592.jpg (37KB, 500x368px) Image search: [Google]
1424398513592.jpg
37KB, 500x368px
>>57197188
Probably a noob question but ere goes
I have a footer with an image on the right and 2 areas of text, one on the left and one in the middle, how do i get them sitting in a row instead of all squashed up on the left?
>>
>>57223061
I thought it was referring to http://canvasjs.com
>>
>>57224512
You have a lot of repetition there, so just put the questions in a data array (either one in PHP or even JavaScript), and then iterate through the data array. Then you only have to put the html in once, and your script will display it as many times as you have questions.
>>
>>57224512
lmao. You could write all the questions to a JS array then loop through it with embedded in HTML. The only thing you'd need to type repeatedly are the questions themselves.

I don't know how the fuck some of you expect to be programmers if you can't think logically.
>>
>>57224519
You can set the image to
float: right;
.

The left text is probably fine as is, but you might want to wrap it in a div with width set explicitly.

For the middle text area, I think you will want to set the width explicitly as well, and to center it use
margin-left: auto;
margin-right: auto;
>>
>>57224512
handlebars.js + yourQuestions.json
>>
>>57224551
>>57224558

>do it with javascript

duhh, I knew I was retarded, to try to
play it down though, its only my second time writing something in JS
>>
>>57224519
I made this for you: http://codepen.io/FFX01/pen/xEBOra
>>
File: screenshot.jpg (641KB, 946x1300px) Image search: [Google]
screenshot.jpg
641KB, 946x1300px
>>57224625
>>57224602
Right on thanks dudes! Ill look into it
heres what im looking at in case you were interested.
That hotel pic should be on the right etc but im sure ill work it out now
>>
>>57219477

use multiparty for uploading ..
>>
>>57224525
oh. that's really annoying. fuck those guys
>>
>>57224878
- center the menu
- smaller social icons (they are always optional)
- position the logo (to the start of the picture container)
- don't use "Functions at THE ...." either go full uppercase or normal. You ain't a designer getting a certain phrase out of it that needs that effect
- give the 3 images a light shadow effect
- uppercase the menu name (under pic)
- make the grey box as big as the picture container
- increase padding inside the grey box and fix font-size
- footer picture = float left & adress float right

light fix 101
>>
>>57225208
ok, yes i need to work on the typesetting thats for sure. Ive made 2 or 3 small websites in the past but its not something I do everyday so still battling with that side of it
>>
Was looking through the web hosts in the OP. How's digitalocean? Looking for something cheap, it seems to have the best bottom tier plan that I could find.
>>
So I just got a job. The thing is I know next to nothing other than some node and the trinity. The only reason I got hired was because I got drunk after js coding meet up and ended up fucking a tranny who ended up being the hiring manger. They are not the boss over me so I got a feeling I will be fired pretty fast once they figure out I know shit, but I at least want to try to hold on to this.

How do I pick up react and golang fast? Realistically how long until they realize I know nothing if I start next week? I can do some basic stuff but not too much more after that. Lastly do you think everyone will know I fucked a tranny for a job? Having a panic attack over how I am mildly gay was enough grief but I don't know everyone in the office to know.
>>
>>57225648
forgive me, what is the trinity
>>
>>57225675
>trinity
html css html
>>
File: 1377291420151.jpg (56KB, 231x208px) Image search: [Google]
1377291420151.jpg
56KB, 231x208px
>>57225648
nigga you did what, and why did you even accept it
>>
>>57225721
look at how many people come in here desperate for work
anyone who can is fucking trannies for survival
>>
>>57225648
Just go fullblown gay. If they fire you, it's a hate crime ;^)
>>
>>57225575
What are you going to be hosting on it? Like language, framework, database, etc.

>>57225648
top kek
I would say probably go through a React beginner project, and then/at the same time go through the docs and try to have at least some sense of what the basic buzzwords are.

As far as Go goes, probably go through the tutorials on that, make sure you learn about the things that JavaScript doesn't do but Go does.
>>
>>57222595
Do they want PHP specifically, or just any backbend language?
>>
this chatbot shit is a joke, right? do people really want to interact with services that way?
>>
>>57225735
lmao there's a bias within these threads
of course a lot of desperates are going to be posting because, duh, they're desperate for any help
doesnt mean the entire fucking industry is so dire you have to fuck a wound for a job
>>
>>57225784

any. read their website.
>>
>>57225783
>language, framework, database, etc.

Going to be trying out a variety of things. I have linux knowledge so I'm not too worried about setting up environments for different back end configurations.
>>
>>57225826
DigitalOcean is probably a good choice then
>>
is there any future in webdev?
>>
>>57224551
>>57224558
>>57224618

I was too dumb to figure it out so i scripted it with python lol

NUM_VAR = 1
index_variable = 0
question = []
for item in QUESTIONS[0::2]:
question.append(item)
for item in QUESTIONS[1::2]:
Q_VAR = ("'q"+str(NUM_VAR)+"'")
QUESTION1 = question[index_variable]
QUESTION2 = item
print("<div class= 'green-border'>")
print(" <br>")
print(" <h4 style='color:navy'>"+str(NUM_VAR)+"</h4>")
print(" <br>")
print(" <input name="+Q_VAR+" type='radio' value='Artistic'>")
print(" <label>"+QUESTION1+"</label>")
print(" <br>")
print(" <br>")
print(" <input name=",Q_VAR," type ='radio' value='Science'>")
print(" <label>",QUESTION2,"</label>")
print(" <br>")
print(" <br>")
print(" <br>")
print("</div>")
NUM_VAR = NUM_VAR + 1
X = X - 1
index_variable = index_variable + 1
>>
>>57226391
God damn man! You should've just said you could use Python. Here: http://jinja.pocoo.org/docs/dev/
>>
Has anyone here actually made the transition from NEET to having a job doing development without a degree somewhat recently? If so what was your experience like? Do you have any advice?
>>
File: 57226391.png (110KB, 720x720px) Image search: [Google]
57226391.png
110KB, 720x720px
>>57226391
>>
can someone link me to some UP TO DATE mongodb tutorials for node?
>>
>>57197188
>>
>>57226693
>>57197188
Time for update?
>>
>>57215559
Anyone willing to do this for me for $50?
>>
I noticed a lot of hosts have some clause about charging you per gb for bandwidth over your cap. Is there any possibility of a server being secretly hijacked by some faggot using it for god knows what and then ending up with a bill for thousands of dollars?
>>
>>57226792
Yep
>>
guys can someone plz help
I asked this question in the earlier thread and someone tried to help but it didnt work. I posted the question in stack

http://stackoverflow.com/questions/40213521/change-background-image-when-hover-hover-over-div-with-jquery
>>
>>57227056
>but it's not working
this is not a good bug report. what goes wrong?
>>
>>57227278
nothing happens when i hover over each div
>>
>>57226536
I was never a NEET, but I did get a development job with no degree. What do you want to know?
>>
>>57227560
Not that person, but how long did it take, what skills did you learn, how did you go about finding a job when most places require a degree, how to do you get past the x years of experience thing yet no one will give you an entry level coding job and how do you compare to your coworkers with cosci or it degrees?
>>
>>57227612
>how long did it take

About a year after I became serious about it. Though, I was programming as a hobby before that since I was around 16.

>what skills did you learn

I focused mostly on backend stuff. Mostly Python and a little bit of C. I did a lot of Django and Flask. I didn't start learning REAL front-end stuff until about 4 months ago. Front-end is easier to code, but harder to configure. I spent a lot of time learning how HTTP works. I learned how to admin a linux server and a postgres db. I spent time familiarizing myself with common design patterns and development schedules. I read everything I could get my hands on that piqued my interest. I did every tutorial that seemed interesting.

>how did you go about finding a job when most places require a degree

I applied everywhere. I sent out like 80 applications. Eventually, I found someone that had some investors and had a cool idea for an application. I was one of the two people who were being considered for the position. I got the job because the founder couldn't afford a senior level dev and she liked my attitude. She also had some friends at Microsoft that said I had a ton of potential. Who knows how true that is? Basically, perseverance and a bit of luck got me the job.

>how to do you get past the x years of experience thing

Every developer worth their salt will tell you that 2 years of experience learning things is better than 1 year of experience repeated 10 times. Meaning, if you prove you can learn new things quickly and adapt, you'll put yourself over someone who has been working on the same java codebase for 10 years.

>how do you compare to your coworkers with cosci or it degrees

I currently don't have any developer coworkers. I am the sole developer. I have a single intern with an EE degree. He has a lot to learn, but he isn't dumb. I worked at a wordpress agency for a bit to get my foot in the door with some "professional" experience.
>>
>>57227719
cont..

Every single "developer" there was a complete dipshit. Most of them hadn't done any development before. We were writing html and css by hand for each page. I tried multiple times to introduce a better procedure, but they weren't having it. I got fired, but they never told me why. I assume I was too salty all the time. The pay was garbage anyway. I could rant for ages about that shitty place, so I'll stop now.

Basically, I've never worked with someone that had a compsci degree. I imagine that they would have more algorithms memorized than I would. I imagine that they would also be able to more accurately determine time complexity and such. However, most of that stuff isn't all that useful unless you're working on AAA video games, operating systems, programming languages, or embedded software on low resource machines. An eye for performance is good, but pre-optimization will kill any project immediately.
>>
I can't find a tutorial for what I want, I have 4 thumbnails on a page, and one large image at the top, I want when someone hovers over a thumbnail a DIFFERENT image takes the place of the large image.
>>
>>57227819
Are u srs?

Look at setAttribute
>>
File: Capture.png (15KB, 248x344px) Image search: [Google]
Capture.png
15KB, 248x344px
anyone know something like this but free?
>>
>>57229599
Brackets has one built in. You can also get the live-server npm module or a grunt/gulp plugin if you're using those.
>>
>>57229599
isn't spring the same thing?
>>
>>57230199
i was hoping for something for windows
>>
>>57229599
<meta http-equiv="refresh" content="2">

:^)
>>
Do you use languages like TypeScript or SASS that compile to other languages?
>>
>>57225648
so are you getting paid to fuck the tranny or getting paid to actually do work?
>>
http://www.dikar.es/en/

If I built sites like this, how much I can possibly charge? I'm thinking $200 as initial instalment and then $15 a month for hosting.
>>
File: test_nav.jpg (651KB, 1920x1080px) Image search: [Google]
test_nav.jpg
651KB, 1920x1080px
I'm designing something atm and am wondering what do you guys think of a side navigation like in pic related (really rough sketch)?

I still can't decide if it is worth it to ditch the classic top navigation that is popular today. I like this one just because it uses all the empty space on sides, I can put recommended posts in that sidebar and it doesn't look so generic.
>>
>>57231586
I think it looks good
>>
>>57231665
Thanks.
>>
>>57231586
If you allow comments you can put latest comments in there instead of recommended posts.
>>
>>57231806
Cool idea, thanks.
>>
Is PBKDF2 HMAC SHA256 with 32 bytes of random salt and 2,000,000 iteration rounds enough to store a password securely in current year?
>>
>>57232114
yes
>>
>>57231586
I think it's great as long as you don't use that copyrighted image from firewatch as your banner.
>>
>>57232114
Why would you overkill the salt and rounds that much but still use sha256?
>>
File: designs.jpg (796KB, 1920x1080px) Image search: [Google]
designs.jpg
796KB, 1920x1080px
>>57232598

Thanks, ofc, that's just a placeholder in photoshop.

It's kind of a news site and since it's for my college project I feel the need to try something new instead of fully sticking to what is popular at the moment - the reason being that it's pretty simple to copy a generic news portal design and I don't feel that would be enough for a project.

Pic related is what I currently have (top - articles, bottom - front page), and I experimented with diagonal headers and kinda like it too. But I just feel there is not much originality to show in these, and it still feels pretty basic.
>>
>>57232687
I think I forgot to change it from SHA256 to SHA512.
>>
>>57232771
Alright
>>
File: hqdefault.jpg (37KB, 480x360px) Image search: [Google]
hqdefault.jpg
37KB, 480x360px
Does anyone here have experience with Tachyons CSS?
http://tachyons.io/

I'm thinking about trying it in my next project
>>
I have no experience with Javascript and am trying to use a script I found online

// @require      https://cdnjs.cloudflare.com/ajax/libs/async/1.5.2/async.min.js
// ==/UserScript==
/* jshint -W097 */
/* global AudioContext, setPage, async, $, lamejs, QModal */
'use strict';


What does this stuff mean? Why does he have it commented out? I think these are packages or libraries or something that I need but the code doesn't appear to be adding them? Are those variable declarations at the bottom, and if so, why are they commented out?

I'm sure these are really dumb questions but I have no js experience and I'm a little lost
>>
>>57232114
>>57232771
For the record, general purpose hashing algorithms are not usually the best choice for password hashing algos. General purpose hashing algos are designed to be fast, so you have to compensate with crazy amounts of rounds.
Password hashing algos are designed to be slow, and are generally preferable because they prioritize defending against password breaking attacks. For example, the blowfish algorithm (which I recommend you use instead) requires the use of a small amount of memory that is very fast to hash at its normal speed. If the hash is done using a CPU, the CPU caches act as this memory and the hashing proceeds as normal. If a GPU is used, the available memory is much slower than that from a CPU cache, and so the hash times are significantly increased. This makes blowfish resistant to the kinds of highly parallelized GPU attacks you'd see from someone who had your hashes and wanted to break as many as possible. Because this security comes at no cost to your time budget (since you use a CPU), you can increase the difficulty for free past what you could get with a SHA algo.
>>
what vim plugins do you use for html and css? A quick google search showed me emmet but is it any good?
>>
>>57232874
Everything in the comments is not meant to be parsed by a JS interpreter but is there for shitty userscript addons to look at and do things with, probably to get around limitations that the userscript addon itself adds.

'use strict'; is the only thing there that's actually a normal part of javascript, and all it does is tell the interpreter to run in strict mode, and throw an exception if the following code tries to do any of a handful of particularly weird things that non-strict mode doesn't allow.
>>
>>57232946
Do I need to go find all these addons and add them to the file or path somehow?

the source code is from https://raw.githubusercontent.com/ewaters/quizlet-set-audio-download/a4d2626daa7279bf3d0ce9151f31d48eb7483d11/index.js

I'm running it through node.js and it gives a ReferenceError at the first if($===undefined) I THINK because I'm missing these addons or whatever

sorry again I don't know js and I just want to get this to run
>>
>>57232984
>Do I need to go find all these addons and add them to the file or path somehow?
No, you need to run it in a browser with greasemonkey or something. This is a browser userscript, not a node.js script
>>
>>57232740
I find that a side panel navigation element makes a site feel like a "control panel" of sorts. If that's what you're going for, I think it's a great idea. Just remember that if the main thing users will be doing on your site is reading, you should make it very easy to read. Try not to have a lot of clutter around the article text.
>>
>>57232928
Yes emmet is my favorite
>>
>>57225748
>>57231003
>using the smiley with a carat nose
>>
File: experimenting.jpg (755KB, 1920x1080px) Image search: [Google]
experimenting.jpg
755KB, 1920x1080px
>>57233017
Exactly. Yeah, I'm trying to figure out how to achieve a clean and readable look but still have a decent amount of recommended content around it - because I want people to read it with ease, but at the same time, news sites need clicks. Sidebar would in this case be fixed and I would probably put everything in there while using all the white space for a clean article without distractions. At the same time, I think the sidebar and the content on the side would still be noticeable enough, though.

(Just mixing stuff in pic related and trying to figure out the right direction).
>>
>>57232997
Okay, that makes sense. I installed greasemonkey/installed the script in greasemonkey.

I think I'm almost there! Getting this error:

Cannot play media. No decoders for requested formats: audio/mpeg, audio/mpegsogang-korean-2a-ch-7-flash-cards

How do I enclude a decoder? Does this go in the js file or what? Thank you so much for the help so far
>>
https://github.com/zeit/next.js

new javascript framework to learn lads
>>
>>57232794
How is it better than the billion other CSS frameworks out there?

>>57233217
How is it better than the billion other JS frameworks out there?
>>
>>57232908
>the blowfish algorithm (which I recommend you use instead)
I initially went with bcrypt, since it seemed like an evolution of password+salt method into something sane and unified.
But then I was hit with the "bcrypt sucks and not as proven as PBKDF2 HMAC" circlejerk and I replaced all my bcrypt lines with what I posted originally.

I'm real tired of this shit. Is there a website like https://cipherli.st/ but for password hashing in different languages? I just need to know what module to import and one line of code, that's it. It should not be this hard.
>>
>>57233466
>>57233466
>>57233466
NEW
>>
>>57233445
What language are you using?
>>
>>57233484
Python:
hashlib.pbkdf2_hmac('sha512', b'PASSWORD', Random.new().read(32), 1000000, dklen=32)
>>
Do you guys using REPLs when writing code? And how it integrates in your ide\text editor?
Thread posts: 317
Thread images: 37


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.