[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: 312
Thread images: 31

File: 1462585294744.jpg (172KB, 1024x1344px) Image search: [Google]
1462585294744.jpg
172KB, 1024x1344px
/wdg/ - Web Development General

Previous Thread: >>57073479

> 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/
https://youtu.be/JxAXlJEmNMg?list=PL7664379246A246CB - "Crockford on JavaScript" lecture series.

>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
https://youtu.be/sBzRwzY7G-k - "2016/2017 MUST-KNOW WEB DEVELOPMENT TECH - Watch this if you want to be a web developer "
https://youtu.be/zf_cb_Nw5zY - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.

>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
>>
who /react/ here?
>>
why is symfony such a piece of shit?
>>
Will I increase efficiency by learning VIM for web dev or is this a bad idea?
>>
>>57114547

We had serious trouble hiring iOS devs, and Android guys were just people who knew Java but no experience with mobile, so we just decided to try our luck with react native. So far things are going well but it's a little worrying launching something that has breaking changes every other week to thousands of users.
>>
>>57114572

For web dev it's actually great, I can't live without it. For stuff where you normally need an IDE (C#) you have to realize you may need to set a few weekends aside for you to set everything up.
>>
>>57114694
Depends on what you are doing. If you spend more time reading and thinking over code, stick to a TE/IDE. If you mostly churn out soulless boilerplate you have written a thousand times before, Vim will help you do that faster in a few weeks time.
>>
this >>57114746

was meant to be a reply to >>57114694

>>57114806
>If you mostly churn out soulless boilerplate you have written a thousand times before

Also this is a little unfair.
>>
>>57114738
No experience in react native yet. Once we get done with what we are doing now we will port it to react native.
>>
Can someone explain this to me like im 4 years old? I admit im slow as hell which is why i need someone to explain this to me as if im mentally handicapped. No matter how much documentation i read i cant understand wtf im doing.

I dont understand how you autoload libraries in php, especially when im already using a framework (Phalcon).

Take this for example, i want to use a simple excel parser in php. https://github.com/akeneo-labs/spreadsheet-parser

The installation instructs me to use Composer, but the more i read about it the more confused i get. I cant wrap my head around how it supposedly autoloads my shit if it doesnt even know my project structure or framework, so i feel like i want to avoid it and do it manually because im scared its going to wreck my shit.

Even if i use the phalcon autoloader (https://docs.phalconphp.com/en/latest/reference/loader.html) it still wont work.

My main problem is i dont understand the "use" thing.

 use Akeneo\Component\SpreadsheetParser\SpreadsheetParser;


What the hell is that path? Where does it go to? Is it inside my project? Is it somewhere else on my server? Why are the slashes not / ?

Im so fucking confused holy shit.
>>
>>57114939

It's been awhile since I've touched PHP, but I believe it's not a file path... it's more like dependencies in Python. That probably doesn't help.... Sorry
>>
>>57114939
>use Akeneo\Component\SpreadsheetParser\SpreadsheetParser;

This is a namespace. You are telling your script to load the Akeneo\Component\SpreadsheetParser\SpreadsheetParser class so you can use it as SpreadsheetParser later in your code.

You need an autoloader so when the class is called, PHP can look at your autoloading function and search for the class (the namespace will most likely be used as a file path then).

On my current project, I have composer autoloader but I also have my own app autoloader.
Have you loaded the composer autoloader? Or have you registered the vendor namespace in the Phalcon autoloader?

Paste your code and structure somewhere, it's difficult to help you without it.
>>
I need some tips. I'm adding user account functionality to my page, and I'm having trouble with what end points to use.

For instance, let's say
GET /users/342


points to a particular user. It returns HTML default, but can return json if you add ?format=json.

GET /users/

returns a list of all users. Paginated, offset, the good stuff.

So where do I put the HTML end of things? e.g /users/login, /users/logout
etc...
>>
Would a bootstrap template be a good way to make a personal website to show off some projects?

I have 0 experience in web dev
>>
Hey guys, is it difficult to make a video plattform like youtube? What are the pitfalls?
>>
>>57115577
Yes. You would have to scale and optimise like mad to even reach a level where enough people might start going to your site for some kinds of videos. Also a lot of capital for datacenter disk space.
>>
>>57115563
If these aren't front-end, design or websites projects, then yes. Otherwise, no.
>>
>>57115491
A regex for the GET user endpoint would work, or you could have specific route handling for the /user/logout and /user/login endpoints. It's a matter of preference for most people.
>>
>>57115675
Yeah, but it has to look good.

Basically my problem now is the name for the root. Let's say I have
http://www.site.com/users


I want something inbetween that'll link to a general page related to users. But damn me, i can't come up with something good.

http://www.site.com/account/users
http://www.site.com/profile/users
http://www.site.com/auth/users


HALP ME
>>
Hey can someone tells me how this works.

function toLeetSpeak(str) {

var leet = {
A : '@',
B : '8',
C : '(',
D : 'D',
E : '3',
F : 'F',
G : '6',
H : '#',
I : '!',
J : 'J',
K : 'K',
L : '1',
M : 'M',
N : 'N',
O : '0',
P : 'P',
Q : 'Q',
R : 'R',
S : '$',
T : '7',
U : 'U',
V : 'V',
W : 'W',
X : 'X',
Y : 'Y',
Z : '2'
}

var newStr = str.replace(/[A-Z]/gi, x => leet[x]);
console.log(newStr);
return newStr;
}



I get the regex part, but what is the thing called the cycles through the object?

Like what is x => leet[x] called?

how would you use map or a for loop instead?
>>
Can I learn and experiment with PHP without setting up my own LAMP server? I suspect the answer is yes, but all the tutorials seem to suggest setting one up. I'm just trying to get a feel for how the language works without doing some shitty web tutorial like codeacademy.
>>
>>57115174
Thx just got home, looking into it!
>>
>>57116245
You need a server to run PHP senpai. If you're only testing one liners or small scripts you could use PHPFiddle and run it in your browser.

I don't know why you're trying to avoid using LAMP/XAMPP, it only takes 2 minutes to install and another 10 seconds to run it.
>>
>>57116245
use the built in interpreter
>>
>>57115174
So i made a folder called "Akeneo" in my library folder where i have all my other libraries. I put all the files in there.

registering namespace:
$loader->registerNamespaces(
[
"Akeneo\SpreadsheetParser" => "app/library/akeneo/",
]
);
$loader->register();



Then in my controller:
use Akeneo\SpreadsheetParser;

class AboutController extends ControllerBase
{
public function initialize()
{
$this->tag->setTitle('test');
parent::initialize();
}

public function indexAction()
{
$workbook = SpreadsheetParser::open('myfile.xlsx');
}
}


Gives me error "Class 'Akeneo\SpreadsheetParser' not found in AboutController.php on line 16"

???
>>
I'm now making about 33% of a web dev salary through my own projects.

Funny thing is that these are portfolio websites because I want a web dev job, but they aren't "good" enough for HR?

If you're in HR and someone sends you 4 websites with 10s of thousands of posts, users, content all over the place, why would you say no?

WTF are they looking for? Do I have to keep launching projects until I'm at 100% web dev salary? I can't even land a fucking interview, guys.
>>
>>57114694
If you're going to to be touching anything dev-ops related, it's something you really need to know, since any random machine you might need to ssh into and change a config file on will have it already. (unless you're dealing with windows servers, in which case you really need to sort your life out)

I know several people that use it as their daily driver, but personally I don't like the amount of configuration you need to get it to behave like a decent IDE when you can just
pacman -S atom
or something.

Anyway, you should definitely give it a try, and at least know enough for basic usage (how to navigate, save, quit, etc.). Who knows, you might like it.
>>
>>57114547
did one medium size project from scratch. hated it at times but I agree there are a lot of cool things there I miss now.

also, tell me guys, I'm genuinely curious. I don't have a cs background, I started front-end development from graphics side. I've just done some test exercises for recruitment purposes at some company.

first question: bitwise operations in C. Over a half of the rest was in the same ballpark Out of 18 questions only one was for javascript, the rest was C/Python/Ruby

what the shit. I can understand the reasoning behind giving questions in other languages, but questions of this kind? Where would I ever want to use bitwise in webdev? I mean fuck, I write a lot in glsl lately and even there I've had no reason to use that.

My point is, front-end being at the crossroads between graphics,code and ux is there really a point to expect a dev to know these kinds of things? I could understand that for someone who is supposed to work on backend in some capacity as well, but the supposed requirements for this position were ux/photoshop/css/html/js

Or am I the one who doesn't know his stuff? I mean it's not that unlikely, as I said, I've got pretty much no classic cs education.

also what the fuck is up with that "front end dev with good sql skills" that crops up lately
>>
>>57116163
arrow function?
>>
To what open source projects can I make some low effort pull requests for my tshirt?

t. pajeet
>>
>>57116692
Firstly, from the github you gave, it seems like the correct namespace is Akeneo\Component\SpreadsheetParser.
So register and use the correct name. Then, if you won't use composer, your "app/library/akeneo/" folder should be the src folder: https://github.com/akeneo-labs/spreadsheet-parser/tree/master/src

I haven't used Phalcon in a while, I'll try that in my end right now, brb.

But you really should use composer for your external libraries. It'd make your life much simpler.

>Install composer
>composer init
>composer require --prefer-dist "akeneo-labs/spreadsheet-parser" (it'll build a vendor folder with your lib in it)
>require Composer autoloader in your main script [e.g. require('vendor/autoload.php');]
>Done.

If you have to deploy your project elsewhere, you'll simply have to use your composer.json file and use the command-line (composer install), instead of reinstalling all your dependencies such as the Spreadsheet Parser.

Once you get used to it, you'll see it really improve your effeciency.
>>
>>57116163

It's not that difficult to understand, see here:

>http://www.w3schools.com/jsref/jsref_replace.asp

The last example is pretty much like what you posted..
>>
>>57116874
where do you live and what kind of projects do you do?

If HR is walling you, my guess is that you're projects are not pretty enough. Most of these guys have little clue about what they recruit for (I'm saying this as psych major, who has a number of friends who went straight to IT recruitment after graduation). Or you're not fitting the tech tags they were given by devs (angular, react etc).

are you focusing on the front or the back end of your projects?
>>
>>57116163
Oh cool. I guess I have downs because I am so tarded


>>57116874
This is relevant to my interest. If you can't get a job while knowing a lot more than I then I am pretty fucked. Although I am moving to a tech hub in a few weeks so maybe I have a better chance once I learn more.

>>57117240
Yeah I don't know the full depth of js yet. I am getting better though but it is very slow =//


Now I at least know it is called an arrow function.
>>
>>57117202

Rust
>>
who here has had enough of this npm/bower/gulp/grunt/browserify bullshit
>>
>>57116163
>Like what is x => leet[x] called?
That's an arrow function. It's just a shorter syntax for writing an anonymous function. (It also doesn't bind this but if you don't know what that means yet, don't worry about it.

>how would you use map
function toLeetSpeak(str) {
const leet = {/* snip */};

return str
.split("")
.map(letter => leet[letter.toUpperCase()] || letter)
.join("");
}


> for loop
function toLeetSpeak(str) {
const leet = {/* snip */};
let letters = str.split("");
for (let i = 0; i < letters.length; i++) {
letters[i] = leet[letters[i].toUpperCase()] || letters[i];
}
}
>>
is django a meme? should i dump php for this?
>>
>>57117530
to the original poster. Arrow functions are cool. So is a lot of stuff that es2016 has to offer. I highly encourage you to look into it.
>>
I hate CSS and design in general so I tend to use bootstrap a lot, as a result, most of my website look very generic, even with bootstrap templates. How do I make sites look good? Recommend resources or tips. Thanks
>>
>>57117175
They aren't trying to test you on your web dev knowledge, they're trying to weed out recruits. Also, recruiters are usually HR people, not programmers, so they have no idea that they're even asking most of the time.

>also what the fuck is up with that "front end dev with good sql skills" that crops up lately
- you'd be mostly front end but occasionally work with databases (possibly a red flag)
- Maybe they have some old code using WebSQL?
- It was written by some HR drone who doesn't know what either of those things are (most likely)
>>
>>57117646
what do you hate about them so much?
>>
>>57117600
>should i dump php

Rest of the sentence doesn't matter, the answer is yes.
>>
>>57117649
well, HR bullshit was my first guess but it would have to be one crazy company that lets hr dictate it candidate requirements. In the companies I worked for it was usually left to devs or project manager.

and seriously, judging from the number of offers I get every day weeding out recruits is the last problem job market here faces.
>>
>>57117660
I'm more a backend guy, I can understand how to style each element to look a certain way but translating a design that I have in my head to actual css is where I screw up. Usually why I just go with bootstrap. Might be that I'm just inexperienced and need to make more websites. I taught myself CSS from Code academy tutorials so I feel as though I get css concepts individually but put together to make a nice design never ends up working well for me.
>>
>>57117600
>is django a meme?
It's been one of the most common frameworks in use for several years now. It's basically Python on Rails.

> should i dump php for this?
if you like python better than PHP. sure

>>57117646
Good design is hard as fuck and there's no easy answer. Step one is to learn to recognize good site design. Then, use design elements you like from other sites to inform your own.
Recommended things to consider:
- https://en.wikipedia.org/wiki/Grid_%28graphic_design%29
- Typography and font-pairings
- Color
- 'Don't make me think' principle
---- aka, users are stupid.
---- Make it as easy and fast as possible for them to get to the thing they want.
---- Things they want to get to often should be the most easily accessible i.e. 1 click away.
---- Things they don't want should be tucked away, but still findable.
---- Sensible defaults == good. 95% of your users will never touch or even look at an options menu.
---- Hamburger/Kebab/etc menu == Lazy. It's marginally better than having a billion links everywhere, but doesn't mean throw all your nav links inside a burger and forget about them
>>
>>57117882
I can understand where you're coming from, css can be a real pain in the ass, especially when design is not your thing.

But why would you put much effort into it if it's not your thing? Wouldn't you feel better working on back-end full time? Or are you freelancing and that's not an option?
>>
How do i push an array into another array?

so ['trump', 'hillary']

becomes ['trump', 'hillary', ['commie', 'failRonPaul']]
>>
>>57117298
>Although I am moving to a tech hub in a few weeks
I'm right outside Dallas which is having explosive growth in the field. Where you headed?

>>57117296
I know exactly why HR throws me out.
No degree. No prior relevant professional experience. I prefer vanilla procedural to meme framework OOP. I choose modern minimalist designs over modern flashy bandwidth heavy designs.

I know they want a massive jquery anchor parallax scrolling html5 video embedded monstrosity with animated text flying everywhere, but I don't want that. None of my users want that.
>>
>>57118019
Front end jobs are more plentiful in my area. The backend jobs that are available require some front end works as well so they're more like full stack. I am currently not working as a web dev, I do IT right now. I consider myself more a backend person as I understand Databases and SQL quite well.
>>
>>57118060

in JS:
['trump', 'hillary'].push(['commie', 'failRonPaul'])
>>
>>57118060
var idiots = ['trump', 'hillary'];
idiots.push(['commie', 'failRonPaul'])
>>
Anyways, I'm still trying to figure out a method of locating.

Zipcode works, but it's too shit. I don't want people to Google a city/state for a zip then fill it in.

Would city AND state/country work?

Dallas, TX
Paris, France
Dublin, Ireland
Provo, Utah
etc.

Do some countries have more than one city with the same name?
>>
>>57118126
>Do some countries have more than one city with the same name?
Yeah, countries like the USA.
>>
>>57118081
>I'm right outside Dallas which is having explosive growth in the field. Where you headed?

Seattle. I thought about moving to Texas but I have no family for 600 miles in each direction. Well I do have a cousin in El Paso but that might as well be another state. It cost way too much to move to San Francisco and I found a cheap place on the east side of Seattle.

I have some savings and plan on working a dead end job until my skills are high enough to get a webdev job. I figure if I work 6 months in Seattle during the winter it will show I will not bolt to area based employers.
>>
>>57118143
>>57118126
https://en.wikipedia.org/wiki/List_of_the_most_common_U.S._place_names

I don't think cities in the same state are allowed to have the same name though so you have to go down to the state level for that one.
>>
>>57118201
I can do city/state, but I'm trying to find a way to include Europe too.

So I can't have just city and state, because they don't have states.

Maybe a country dropdown, then it loads city and state if US and just city everywhere else.

I can already tell this design is going to be ugly.
>>
>>57118081
>No degree. No prior relevant professional experience. I prefer vanilla procedural to meme framework OOP. I choose modern minimalist designs over modern flashy bandwidth heavy designs.

shit mate, I know exactly where you're coming from. I've been in a similar spot, though with far less experience than you have.

I really don't know what to tell you, other than to keep at it. I've landed my first job after a month of youtube tutorials so it's definitely possible. You had shit luck up to now though, I'll give you that.

Learn at least one of the big frameworks/libs. Do something really flashy (3d is sure to attract attention, have a look at THREE.js, cause standard webGL api is horrible, or you can go for d3 if you want something simpler)
>>
>>57118081
>No degree. No prior relevant professional experience.

HR depends on a lot of flags to weed out resumes, the lack of these two probably auto discards your chances before they even look at your portfolio. Without them you are probably going to need to network to get your interview, a personal voucher is significantly more valuable then any resume to HR.
>>
>>57118244
http://www.programmableweb.com/news/125-places-apis-google-maps-bing-maps-and-yahoo/2012/05/02
>>
>>57118081
>I prefer vanilla procedural to meme framework OOP

But are you applying to jobs asking for your framework/language, or just throwing your CV at anything that comes by?

I'm doing C#/.NET, and only sending my CV to ads asking for C#/.NET, it makes sense, right?
>>
>>57118244
european cities have way more than one zip code, if they're large enough.
>>
File: nedry.jpg (81KB, 1191x670px) Image search: [Google]
nedry.jpg
81KB, 1191x670px
>>57114694
I'm trying to pick up vim myself and after several days I'm still having to look up the hotkeys and commands to do certain things. I'm pretty terrible at memorizing things like that. I got all the basics down though.

At work I had to use vim when ssh'ed into the servers, but that would usually involve changing a few lines and saving. Obviously when you are doing full blown development, you need to be able to do a lot more than that.

I'm going to stick with it, but only because I think it's cool, I'm not really expecting any "efficiency gains." I do full stack development and I can say that I'm never really limited by typing/editing speed and I don't know any developers who are.

>>57118081
Hate to say it but it's best to dump your personal vendettas about how things should be done when you are seeking employment. Just adapt to what the other developers are doing especially when you are starting out. You can make suggestions but they are just that, suggestions (until you are a team lead anyway.) Basically what I'm getting at is learn meme framework if knowing meme framework pays the bills.

I'm between jobs myself right now and I am cramming on a lot of the newer JavaScript frameworks and tools which we didn't use at my old job.

I doubt you're being thrown out because of your projects though, it's because you don't have a degree and you don't have experience (to be frank.) We hear about how great the CS job market is but the reality is the job market kind of sucks at the entry level in this field. (It is great at the senior level though.) Without a degree and without experience you are going to have a hard time. You're competing with college grads who have internships AND projects, while you just have projects. That's the reality.

I have a degree and I expect to have to apply to, you know, dozens of places (easily.) Just keep at it though, it's doable.
>>
>>57118559
>Basically what I'm getting at is learn meme framework if knowing meme framework pays the bills.

This. I'm not formally educated but have been in the webdev business for a few years. Getting hired is all about buzzwords. I spent a month bringing myself up to speed with React, made a small project, and then tailored my resume as being all about muh React. Shot the resume around to a few dozen places that were explicitly shilling for React and within a few days I had interviews. I'm working on entirely unrelated things now, but that got me in the door.
>>
>>57118255
>have a look at THREE.js
That's cool.
Also thanks for the advice. I'll do some React project after I finish with this one.

>>57118472
I have a good enough understanding of most frameworks to put on my resume so I throw my resume at everything relevant.

>>57118493
Ok, so I'm doing a country autofill that adds a state box if you select US, otherwise it just has another city box.

>>57118559
True. I guess I'll just go back to school and learn World History, Government, and Economics so I can be a true web dev.
>>
What PHP-based minimalistic blogging software do you guys recommend?
>>
>>57119017
>What PHP-based minimalistic blogging
Minimalistic for who? You or the user?

Just use WordPress Loop.
>>
>>57119075
Minimalistic in terms of the resource use. WordPress is horrible, it sucks up too much RAM.
>>
>>57119106
stop hosting your website in a 3rd world country and buy a VPS
>>
>>57119017
You could fork this Slim Blog project
>https://github.com/fdisotto/SlimBlog
>>
>>57119017
If you aren't too attached to PHP, you could go for a flat-file generator like jekyll.
>>
>>57117524
Aye. System modules can't come soon enough.
>>
Best way to learn php?
>>
>>57121899
By practicing.

I used to stick to several tutorials, never learned any new shit. But once I got personal and professional projects that's when I learned the most.

Have a project so you can learn stuff along the way.

It's easier to learn about, say, interfaces when you really need them, instead of just copying a tutorial.
>>
>>57121965
How do you suggest I find the snippets I need to continue on a project?
>>
>>57116874
HackerRank
LaunchCode
Inbound.org
LinkedIn

Ik you probably want "big company $$$" but they tend to have retarded HR depts. You're WAY better off going for small/medium companies where the manager does the hiring process.
>>
>>57122259
LaunchCode accepted me in March. I'm still on the waiting list for the interview.

I'll try the other ones. Thanks.
>>
don't u 404 on me
>>
>>57117646
>I hate CSS and design in general
Maybe you should look into brutalist websites (web design trend). These websites don't use CSS or almost no CSS, yet they might even be more accessible and faster than some of those "dribbble/perfect looking designs".

I hate the word "pixel perfect" and I hate that good web design is related to good graphics! Good web design has to do a lot more with USER EXPERIENCE than with USER INTERFACE! But that's just my opinion.

A great framework: basecss

Site to get inspired: http://brutalistwebsites.com/

Learn more about user experience: https://www.uxpin.com/knowledge.html
>>
Anyone happen to have the ebook version of this book by any chance: https://leanpub.com/reactspeedcoding
Thanks.
>>
>>57123426
Thanks. I love how minimalistic the examples are.
>>
>>57123412
I'm convinced only 2 of us stay here and the rest of the posters only join in if it's on page 1.
>>
File: launchcode4chan.png (54KB, 1008x403px) Image search: [Google]
launchcode4chan.png
54KB, 1008x403px
>tfw maybe I actually taught myself enough of this shit to be a viable employee
>>
>>57123937
Where are you located? I'm outside Dallas and have been waiting for over half a year.
>>
>>57124043
Oh my fucking god they sent a google form in September that I had 10 days to fill out and now my app is gone.

Fuck.
>>
Hey guys I'm thinking about creating a website to help the homeless around my city. It'd be basically a resource of information on survival within this particular city. Is there perhaps an opportunity for creating profit here?
>>
>>57124066
Topkek

Just reapply, they're very lenient. They want to place people.

I'm located in St. Louis. Pretty much a sure thing
>>
>>57124486
Nice. I wonder if you're the st louis dude I talked to from here before. I was talking about how ghetto it was and you swore that was just a bad part.

Well I'm happy one of us is finding success. Maybe I should move there.
>>
quick bump before bed
>>
File: logo.png (10KB, 251x66px) Image search: [Google]
logo.png
10KB, 251x66px
redpill me on perch

alternatively, give me some /g/-approved CMS
>>
File: anime memory allocation.webm (2MB, 600x338px) Image search: [Google]
anime memory allocation.webm
2MB, 600x338px
Are there any limitations on eval()? I'm writing a greasemonkey script that intercepts an externally-loaded script, modifies it, then evals it. The script is quite large (75k lines). It finishes running and all of its original functionality bar one or two things is intact, and I'm wondering if those things broke because of eval().

Unfortunately can't set breakpoints because the code was eval()'d, so it's hard to debug.
>>
>>57126354
'Member when saying that on this site was an automatic permaban?
>>
>>57126402
Unfortunately there doesn't seem to be any other way. I tried appending the code in a script node, but for some reason it wouldn't evaluate no matter what. Perhaps a limitation of greasemonkey?
>>
Post code and I'll look at it when I wake up.

In and out of conciousness right now.
>>
>>57126354
Update: looks like the eval'd code was adding a method to string's prototype. I guess it doesn't like that? In any case, I've got it working now.
>>
>>57123937
>>57124066


What kind of projects have you guys done?
>>
>>57124616
I don't think that was me, but the ghetto is definitely contained. We have overwhelmingly more nice safe areas than shitty.

But our shitty areas are impressively bad
>>
I'm doing a PHP project (video share-y) for lels, considering moving to a framework as opposed to vanilla.

What do you guys recommend? Laravel, CakePHP? Stick to vanilla?
I do very much like using vanilla and having complete control, but I feel that's also a very bad thing and I'm slowing down the development time by a shitton.
>>
>>57114490
If you are a competent web dev who is a Malaysian citizen (or have a Malaysian PR) and want a job, please contact me.

Or let your Malaysian friends know.

...I am desperate.
>>
File: BadResume.png (144KB, 806x2092px) Image search: [Google]
BadResume.png
144KB, 806x2092px
>>57128164
This is an example of the type of resumes I am getting atm.

Do you think you can do better?
>>
>>57128164
Get remote worker?
>>
>>57128198
Pretending to be "hip and cool", we tried this. A few times. Does not really work. Need to be someone who is physically here.
>>
Does anybody have a definitive guide to user permissions in regards to web dev? Or perhaps just some advice? I'm settings up a new project and I realized I probably don't know what I'm doing.

I'm running a Django app with uwsgi and nginx, communicating through a socket.

- I figure it's probably bad to run uwsgi as a login user, especially a sudoer. Should I create a new user for this, or is there a generic user I can use for this purpose?
- Is it okay to run uwsgi as www-data, or is there a reason that nginx should not have write permission to the socket?
- To allow uwsgi to create .pyc files in the code directories, I simply `chown -R www-data:www-data` the whole project. But I wonder, is it bad that www-data has write access to the codebase? Should I only allow www-data write access to directories and not the files? Or should I not allow uwsgi to create .pyc files?

To summarize, please explain if any of these are bad:
>Run nginx as www-data, run uwsgi as www-data, chown code to www-data.
>Run nginx as www-data, run uwsgi as uwsgi, chown code to uwsgi.
>Run nginx as www-data, run uwsgi as uwsgi, chown code to root.
>>
>>57128209
Why didn't it work? Not the right environment for remote workers?
>>
>>57128136
Vanilla.
>>57128406
Separate login user to isolate anything that can go wrong. Do not ever make them a sudoer.
Change the entire home folder to newUser:newUser. 0750 for directories and 0640 for files. Then add the www-data user to the newUser group.
>>
>>57118255
Just a month? What's your job? What kind of tutorials did you watch?

Prob won't see this anyway
>>
>>57128583
>Vanilla.
Fuck I just booted up laravel and it looks quite nice.
Any justification? Learning concepts more in depth in vanilla?
>>
>>57114939
>>57115174
>>57116692
>>57117203

Thank you!!! I finally got it to work with composer! I love you.


Another question. I need to allocate more memory to be able to parse very large files (35k + rows). I feel uneasy increasing the overall limit on the server because i only need it for this use only. Is there a way to allow more memory usage for just 1 script? Php
>>
>>57128633
Ini_set
>>
>>57128629
Here's a few: https://www.techempower.com/benchmarks/#section=data-r12&hw=peak&test=json&l=27wdmn
See the error's column? That's network errors like dropped or timed out requests. Generally don't expect anything good from people that consider themselves """___artists___"""".
>>
>>57126938
I made a very basic messaging app with PHP.

The nice thing about LaunchCode is they don't expect greatness. They expect a will to learn. You start out as a low paid apprentice for 90 days, after which the host company can opt to hire you full time. 90% hiring rate and average salary after hiring is $55,000 in the midwest.
>>
File: IMG_20160919_023544.jpg (351KB, 1561x2048px) Image search: [Google]
IMG_20160919_023544.jpg
351KB, 1561x2048px
>>57114490
>>
Javascript scope question (Node) :

If a function is being exported and required within a main file, can I write that function to access variables found in the main file?

For example:
// app.js
var routes = require('routes.js');
var foo = 'Hello';
console.log(routes.exposedFunction());

// routes.js
exports.exposedFunction = function() {
var bar = ' World!';
return foo + bar;
}


Will this correctly log 'Hello World!' to the console when I run node app.js?
>>
>>57128809
No, you need to export foo from app.js.
>>
>>57128837
Can files require from one another?

Or is it a one way relationship?

E.g.
// app.js
var routes = require('routes.js');
exports.foo = 'Hello';

// routes.js
var foo = require('app.js').foo;
// some exported route function


This would create some kind of circular paradox, wouldn't it?
>>
>>57128862
You can have circular dependencies, but it is a very bad practise, if you export internal state. You would have to take export order into account. If you only export functions, circular deps are fine.
>>
>>57128884
I'm asking about these intricacies of module scoping because I'd like to utilise one mongo connection pool, rather than opening new pools in route handlers. I have my routes in a separate file that get mounted as middleware to the Express app object.

If I want to achieve this, should I initialize my DB connection in a separate module that I import into the main app.js file and the routes.js file individually?
>>
>>57128959
1) Don't use Mongo to store anything that matters.
2) Yes, you can.
>>
React or Angular for Single Page Applications?
why?
>>
>>57128985
Cool beans, thanks for your patience and assistance dude
>>
>>57128988
Vanilla JS.
>>
awesome thread, bumping it.
been hikking the jew holydays out of my QA automation work, and using the crazy headbanging approach to learning more webdev skillz.

aka just doing stuff until I can't take it psychologically or not sure wtf I'm doing, than start again
this works. but can't be near efficient.
so I'm going to read this thread now and post replies when I'm done.

god dammit I hate relying on my own motivation when I live in this shit environment but I have no other choice.
>>
>>57128999
you think this is a fucking joke?
>>
>>57129039
I'm serious. There is a lot you can do in modern browsers without bloated frameworks.
>>
>>57129054
I'm looking for something thats plug and play enough to make me feel like I accomplished something but not easy enough that people won't give me credit for it (no web site builders).

get with the times grandpa.
>>
>>57129062
Optimise your JS, pajeet.
>>
>>57129093
my friend,

Can't you understand I don't want to put in the work?
>>
>>57129118
And yet you still want something that would give you credit? Pick one.
>>
>>57129126
let me reiterate,

I'm looking for a framework that will do most of the back end for me, Laravel for example, has a template/command for everything.

Im looking for something similar for Single page applications, and I DO NOT, I REPEAT I DO NOT want to go full vanilla js.

Regards,
Pajeet
>>
>>57129155
POO IN LOO
>>
When do we use node and when PHP?
>>
>>57129175
node for small scale with low CPU usage,

PHP for everything else
>>
>>57128988
I've used both. Angular feels more clean and organized. Whether that's good or bad depends on your coding style.

If you like your code to be clean and organized, Angular will help you do that.

If you write fast and refactor often, Angular will get in your way and you'll probably take shortcuts that your shouldn't, so you should go with React.
>>
From a quote about working at Google:

"The worst part of working at Google, for many people, is that they're overqualified for their job. Google has a very high hiring bar due to the strength of the brand name, the pay & perks, and the very positive work culture. As a result, they have their pick of bright candidates, even for the most low-level roles."

"There are students from top 10 colleges who are providing tech support for Google's ads products, or manually taking down flagged content from YouTube, or writing basic code to A|B test the color of a button on a site."

>or writing basic code to A|B test the color of a button on a site.

>tfw you are a web developer who is doing "dumb" stuff like that

Sweet Lord, release me from this pain. Easy college and a degree, but I still didn't deserve this. It would probably be the same even with a CS degree.
>>
>>57129310
React it is. Thanks anon.
>>
>>57129336
What's your pay?
>>
>>57129336
I figured Google just outsourced their mundane shit to contractors.

Source: I worked for Google as a contractor doing mundane shit their full-timers were too overqualified to do.
>>
>>57129336
why doesn't Google hire more women, blacks and latinos for their engineering positions?
>>
>>57129392
No real pay yet since I'm still a student with one internship where I already wrote mainly CSS and spent days changing colors. I regret everything and don't want to even think about the future.

Got a minimum pay from the internship though (while everyone actually said I'm "great at design")...
>>
>>57129466
wtf interning at google just to do CSS??
>>
>>57129500
No, not at Google but at a local business but still.
>>
just started learing webdev
html and css are fun :3
are these skills useless because they are too easy though?
>>
>>57129549
so how qualified are most interviewers that interview for tech roles?

I mean to hire/intern someone to do some menial tasks like playing around in CSS seems like a waste of time and resources.
>>
>>57129577
The CEO doesn't have a degree in computing but is a backend guy. They still need someone for the frontend/ux position to work with JS frameworks. I was basically a JS intern but mostly ended up designing and implementing with CSS since they don't have a design team and everything is a bootstrap default theme. But the interesting thing is that they actually have a pretty fucking strong clients.
>>
>>57129560
:3
>>
>>57117524
Why is this a bad thing? Redpill me, I love these.
>>
>>57126938
You don't need projects. They test you.
Unless they changed it since March.
>>
>>57130259
What do they test? Are there some algos and ds too?
>>
Is there anyone here with a degree? It really seems like everyone is self-taught here, it's actually pretty amazing.
>>
>>57130350
They tell you to solve a problem and then, for more points, you add more constraints to the output.

It gets into some crazy calculus looking shit at the bottom of the constraints.

They weren't strict on who they accept. Out of 3 questions I did 1 and a half with 3 out of 5 constraints on the one I got working. They accepted me. I was very surprised.

It's timed too. An hour and a half for 3.
>>
>>57130363
I went to college for graphic design (not worth it), but I learned everything I know about web through the internet and people showing me things at work.
>>
>>57130447
Care to share some of the specific questions? I can't imagine what kind of "crazy calculus looking shit" you are talking about. Those were math based tasks or?
>>
>>57130479
What do you think of guys on /gd/ who say it is necessary to get a degree in gd? Why was it not worth it for you?

I had just a few gd related classes and I kinda like that field too, even going to uni for design has crossed my mind once, but even I actually don't think that would be a good idea, but then again, it's because that place is not that great, while on the other hand I think it could be pretty beneficial to enter tthat one other program which is considered the best program in a country. Idk.

I was trying to learn from the internet some things and have read multiple books on design and web design and they all parrot the same thing over and over again and I feel like I already know everything, just lack practice.
>>
>>57130363
Computer science with minor in graphic design. learned html,css, vanilla javascript, and php at school. If you're very self motivated you don't need it, I'm not though
>>
File: eq0032MP.gif (5KB, 519x254px) Image search: [Google]
eq0032MP.gif
5KB, 519x254px
>>57130513
Just hop on and do the test to see what I mean. It was fun and now I have to do it again tomorrow.

The crazy math shit seriously looked something like this. You had to use this to filter/change results.
>>
>>57130620
>tfw completely forgot what these symbols even mean only after 2 years
>not that I ever completely understood them doe
>>
>>57124355
> Is there perhaps an opportunity for creating profit here?
Well homeless people are definitely known to be loaded and be very in touch with technology. I don't see how you wouldn't make money, desu.
>>
>>57130681
I remember summation and limits, but what is the bass clef looking thing at the beginning?
>>
>>57130711
Integrals. Feelsbad man t b h.
>>
>>57129175
You can do pretty much anything in either one.
IMO the largest benefit PHP has is that even the shittiest 3rd world shared hosting provider has PHP support. For a Node app, you either need to get a VPS or use Heroku or something to run it. PHP has more out-of-the-box functionality, but npm has packages to do pretty much anything you could want. Personally I'd almost always pick Node, since I know JS better. PHP is generally a perfectly fine choice too though, as are many other languages. Usually the best option is to use what you know.
>>
>>57130577
As far as getting a job related to /gd/, you need a good portfolio and good human interaction skills (to be able to communicate efficiently with the client).

Sure, you can learn these in school, but all it really comes down to is teaching yourself what makes good design good, and being able to put your own spin on it. I felt like school was just extra stress for me, but I did get a job out of it, so it wasn’t entirely useless.

The hard part of designing is it’s hard to really practice without actual clients. See if you can make something for a friend or family members, but get them to work with you like an actual client would (touch base with them often, ask them for their input, etc).
>>
File: 4f5eaaea3f3bb.jpg (138KB, 755x551px) Image search: [Google]
4f5eaaea3f3bb.jpg
138KB, 755x551px
>>57114490
Pleb here.
Not sure whether to post this here or in the /dpt/ but I made a thing in JavaScript for the purpose of downloading porn.
http://pastebin.com/3Ez6vjzz

This is for browsing the search results of the within-mentioned website and changes the thumbnail URLs to the image URLs before opening them in new tabs (because I haven't found a better way to do this. It also allows me to sort each image out whilst downloading each individually).

A feature I couldn't implement was a blacklist. What happened was I couldn't get the HTML code of the images with document.body.innerHTML (it kept stopping short of what I wanted) so I used document.images instead with the downside that I can't use a blacklist.

I've done a similar thing for e621 but, with my newfangled knowledge, I can improve on that script. Maybe even add that blacklist.
>>
>>57115491
Usually there's an endpoint like /me or similar where you can get your own info, a
/me/(login|logout)
could work.
>>
what's a good web hosting site for free?
>>
>>57128633
It might be a bit over your head now, but the file should be read using a stream. This is so you can read the file line by line instead of loading the whole thing into memory.
>>
>>57131214
Github if you just want a static, single-page site.
>>
>>57131214
I have a server if you need. I can set up your website for free. But I only accept websites with a big user base, bonus point if it's a shop where people can buy things with their credit card. Also, HTTPS is not allowed.
>>
>>57117524
>npm
>npm/bower/gulp/grunt/browserify
Webpack and Yarn is the new shit, those are so last week.
>>
>>57131282
Deal, if you leave port 25 open.
>>
>>57131275
and if I want more than a single-page? Is there anything free out there worth using?
>>
>>57114738
App in production using React Native here:
It's awesome. IIRC Instagram and the Facebook F8 conference App are all RN.
It's fast, performance-wise and developing-wise. Try making a small app with it, since the documentation isn't one the best out there.
>>
>>57131458
I don't think there is, without annoying limitations.
Why can't you afford a cheap VPS? The prices are often very low.
>>
>it's been a month and a half
>I still haven't made it to the third interview

kill... me...
>>
>>57131570
Yeah, alright. I'm using the .NET framework, is there a particular hosting recommended? Is azure a hosting service or something related?
>>
I feel like tutorials do nothing for me. I'm only successful if I google how I want to do stuff and just tweaking it to make it relevant to my project. Is that bad?
>>
>>57131786
I believe thats free but you have to buy your own domain still of course.
>>
>>57132093
Not at all.
>>
File: phoenixframework-logo.png (43KB, 1473x753px) Image search: [Google]
phoenixframework-logo.png
43KB, 1473x753px
Anyone here using pic related?
>>
>>57132093
Yes.

I call these SO devs. They can't do shit without stackoverflow.
>>
Anyone here successfully done the launchcode thing?
- How hard is the coding challenge?
- Anything in particular I should have in my portfolio?
- Generally speaking, how good do I need to be? I have some Meteor and Express projects in various stages of completion, and a few other things. Is that a good start, or should I have more?
- What kind of questions are asked in the interview?
- Did/Do you have to move to St. Louis or one of their other physical locations?
- Did you consider the overall process successful?
>>
>>57128136
Symfony
>>
>unemployed for 2 months now
>every day I get further from getting a job and every day I realize I'm doing something really stupid to jeopardize my chances of getting a second interview

/wdg/ where the fuck can I buy a helium tank and gas mask?
>>
>>57133343
Buy a domain name or two. Start your own projects. Start freelancing.
>>
I've never dealt with JSP before. Why is this so much harder than ASP.NET?
>>
Any good Webhosting/Domain Packages? there are so many out there and need some advice
>>
>>57133958
namecheap is alright and fights for Net neutrality
>>
>>57133958
>>57133992
Seconding namecheap. I have a personal website on their cheapest shared plan. Never had any issues. Would prefer if they supported Let's Encrypt, but they sell SSL certs, so fair enough. All in all, though, can't complain.
>>
>>57133992
>>57134342
Thirding NameCheap. Unlike Gandi, another reputable registrar, they do not have a "morality clause" in their user agreement or ToS. For static website hosting I'd recommend GitHub, for PHP, a DigitalOcean VPS.
>>
Do not die, thread.
>>
File: PizzaQuest.png (116KB, 1366x768px) Image search: [Google]
PizzaQuest.png
116KB, 1366x768px
Hey I'm trying to build a very simple yes or no based text adventure in a Visual Studio Web Form using C#. I'm new to C# so i dont know the syntax all that well. Just want a question to pop up, have the user press yes or no, and then the next question pop up.

Any assistance would be appreciated and I can also provide any further information if need be.

>pic related

Tried to make some shit attempt at an if else statement and failed
>>
>>57136311
Heres the source code for the page that I've started on too if anyone cares.
>>
File: PizzaQuest2.png (37KB, 986x346px) Image search: [Google]
PizzaQuest2.png
37KB, 986x346px
>>57136346
>forgot image
>>
Anyone else getting redirect virus ads on mobile?

Can't tell if hijacked or hiroshima went full shekel.
>>
On indeed if I get an email saying that some job I've applied for has viewed my application, is that something that is automatic???

I'm not able to tell if that is a polite way of saying we've seen it and the simple fact that they have not followed up means I am not in the running.

or is it supposed to tell me that I am being considered?

I am confused, do any of you kind gentlemen know? I just signed up for indeed so all this is new to me.
>>
I have a question about git / github.

I understand that having a repository at github will allow several users to pull, edit, commit and merge files and branches in a project together.

My question is: is it possible to host a website, where the code of the website is the current main branch of your repository? This way everything will be live once you merge it to the main branch.

Is it possible? Is it advantageous, or is it not something that people do? Thanks
>>
>>57136909
I'm not sure I fully understand, but yes. Once the main branch is merged, you can just pull or clone the repo in your server where your website is.

There are many websites source code on GitHub.
>>
>>57136909
Yes. Look up Heroku, Dokku and Git deployment.
>>
>>57137235
>>57137059
Thanks a lot!
>>
>>57136844
I would assume that means someone viewed it.
If they viewed it and you don't hear back by the end of the week or so, it's probably safe to assume you don't have the job.
>>
>>57137342
Yeah I just tend to overthink everything when jobs are on the line...
>>
File: video.webm (194KB, 640x400px) Image search: [Google]
video.webm
194KB, 640x400px
Hey /wdg/, since I'm unhirable I need to find some sort of project to show off to hiring folks. I've been working on regex-searchable dictionary at the moment but I'm not sure what more I can do with it, it's pretty ugly and I can't think of any more features to add without it just being just a huge rip-off of regex101

what do?
>>
>>57137342
I should share my viewed list.

I was viewed once and it was a denial. I was ignored all the ither 2 dozen times.
>>
File: Capture.png (1MB, 1920x988px) Image search: [Google]
Capture.png
1MB, 1920x988px
what is something ridiculously overboard I can do for a class assignment that only uses css and html?

pic unrelated
>>
>>57137685
Make a pure CSS game.
>>
In RSS feeds the <enclosure> tag is used for images right ?

I'm not fucking crazy?
>>
>>57137685
I added the blue ball machine background and music from ytmnd during my multimedia class project. Along with scrollbar styling and framesets.

It was an html only thing. The teacher was like how the fuck you do that?
>>
Suppose a user is on Page A and clicks a link to Page B.
In Page A, you can write whatever Javascript you want on it.
However, in Page B there is no Javascript.
Is it possible to write JS in Page A that will continue executing in Page B?

Basically all I want to do is write a script that will search for a string on an external page (Page B) linked from my page (Page A) and do an event if it finds that string. Is it possible to do this with pure Javascript or will I need more control (ex. cookie, browser extension)?
>>
>>57137925
you can do it with an http[s] request, but doing so will redirect you to page B
>>
>>57137925
i'm not sure this is what you mean, but you could use jQuery's .load() to grab pageB and still retrain what page A has...however if you are grabbing a page from an external domain you may run into CORS issues
>>
>>57117646
>I hate designing things
>How do I design things good

Nigga wat u want to be told? Get good at design. Go back to university, read some books, watch some courses, take note of successful design and learn from it...
Tfw tertiary quals in design and development. Feels good.
>>
>>57131068
>All it really comes down to is teaching yourself what makes [subjective] design [subjective].

>>57130577
Design can essentially be broken down into form and function. There are ridiculous amounts of research and debate and movements which favour one moreso than the other.
In terms of development, due to the daily increase in number and complexity of websites and web apps, UX (arguably a synonym for front end function) is a highly desirable skill. Most designers and devs can build a site but few can design an effective site from the perspective of user experience and this is what is desirable(popular?) atm.
/gd/ will help in bettering your ux skills but /gd/ != Ux.
It'll probably help you progress and understand ux faster though.
>>
>>57136844
It doesn't happen automatically. I applied to countless jobs on indeed and got viewed 3 times. I was called for interview each time. Sadly nothing came of it, but it's generally a good sign.
>>
File: indeed.png (88KB, 844x906px) Image search: [Google]
indeed.png
88KB, 844x906px
>>57139042
>interviewed
Must be nice.
>tfw turned down for wordpress """""developer""""
>>
>>57114572
jesus christ symfony is so much better than everything that came before it

But actually, fuck php

have you tried laravel? I'll use it for the next php project I'm forced onto, unless I kill our CTO instead.
>>
File: 1270620301259.gif (537KB, 286x319px) Image search: [Google]
1270620301259.gif
537KB, 286x319px
>>57128136
>CakePHP
>>
>>57128136
>CakePHP

We're not making bad decisions in 2009 any more.
>>
>>57136355
>>57136346
>>57136311
anon you are a good person with a full heart and the capacity to truly love. Please stop hurting yourself
>>
>>57137925
nope. I know it sounds easy/obvious but thanks browser security that is completely forbidden.
>>
>>57136311
I'm laughing.
>>
Presleep bump. Get to it, eurofriends
>>
File: 1422217866091.jpg (1MB, 2704x1348px) Image search: [Google]
1422217866091.jpg
1MB, 2704x1348px
what's the best intro in .net mvc ? have to cover the basics for an exam.
>>
anyone knows what editor the CodeAcademy online tutorial uses?

i want to download EXACTLY that, best typing experience ive had.
>>
>>57128182
a monkey with no hands can do better than that.
>>
>>57141790
pajeet, get sublime text3, atom, visual code. It's one of these.

>best typing experience I've ever had
>didn't actually experience it
>>
I just started learning Js on FFW, but I hate the ideea of React/Angular. I really like Vue tho, it seems the least bloated. Opinions?
>>
>>57117646
Learn the box model and CSS's various positioning modes. That is all that's needed to be somewhat competent.
>>
>>57129310
If you write fast and refactor often, typescript + angular (1 or 2) will let you do that. My biggest issue with react is kind of silly, but I fucking hate any framework that expects you to write a lot of functions that generate HTML strings or Dom node collections. Working with trees in this way is obnoxious.
>>
>>57121899
Don't.

That's all. PHP is outdated shit and people are hiring PHP devs only to maintain existing apps that were written in PHP before.

If anyone is developing new software using PHP right now, he's an idiot.
>>
>not being angular masterrace
>>
What problem does Browserify and Webpack solve??
What does bundling for your browser mean? Isn't all that js packaging taken care by npm?
>>
>>57141968
React is an ok guy.
>>
>>57128136
just use Laravel you cuck
>>
>>57136311
Anon, I too used to be as incompetent as you. Why, I thought recording macros in excel made me a hacker. Boy, was I naive back then.

anyway keep working hard and one day, you too will become a basement dwelling programmer.
>>
>>57137502
a random image of rare pepe every time you query
>>
File: 145352532.jpg (54KB, 499x510px) Image search: [Google]
145352532.jpg
54KB, 499x510px
>>57143303 (You)

Question for all you faggots in here.

> What's the best Server-Side Language to learn going into 2017?

Don't give me that Nodejs or PHP bullshit.
Nodejs: I don't want hipster-tier shit.
PHP: I don't want to spend majority of time fretting over security or having to maintain outdated code inherited from pajeet.

I'm thinking C# is a strong contender.
> used often
> respected in the industry
> now with linux support
> better than java.

What does /wdg/ think?
>>
File: 2016-10-19_16-30-54.gif (13KB, 204x200px) Image search: [Google]
2016-10-19_16-30-54.gif
13KB, 204x200px
Why doesn't overflow: hidden; apply vertically?
If it's possible, how do i do that?
>>
Are there any guidelines/tutorials on the aesthetics of web design?
>>
>>57143690
what do i think?
node.js with socket.io
>>
>>57143997
>breasts
post cute anime boys and I might tell you
>>
>>57144170
but image might be futa.
>>
Name my django admin theme, /wdg/. Go.

Will deliver. It will be on github.
>>
>>57143835
The fuck is that, mate? Why don't you show some code?
>>
File: geim.jpg (27KB, 262x388px) Image search: [Google]
geim.jpg
27KB, 262x388px
Srs about learning web dev? I plan on going through the ODIN PROJECT. Looking for people keenly interested in studying.
The goal is jorbs. Don't me timid; all are welcome!

IF yer interested, send me a mail at mauser91 protonmail.com
>>
>>57143835
because you haven't defined a maximum vertical viewport size, you fucking cuck.
>>
File: Get-Out-And-Vote.jpg (4KB, 72x72px) Image search: [Google]
Get-Out-And-Vote.jpg
4KB, 72x72px
>2 year programmer
>Python, html, css, php, c++

How hard would it be to pick up enough java knowledge to write themes for tampermonkey?
>>
>>57144379
if you actually know c++ you should be able to pick up java pretty easily
>>
File: 1473977704642.jpg (873KB, 1300x691px)
1473977704642.jpg
873KB, 1300x691px
>>57144170
Web design aesthetics?
>>
Sup /g/, which is superior:

http://www.wiki.org/pages/Namespace:PageName

vs
http://www.wiki.org/pages/PageName:Namespace


The way I see it, the first one fits the namespace syntactic more, but the second is far easier to use. You could visit PageName, get linked to the main Page, and then append an available Namespace to get another version of it.

Thoughts?
>>
>>57144487
Pyramid. First one.
>>
>>57143997
see
>>57117889

>>57144348
nudes sent :^)
>>
>>57144348
I'm not a white male though.
would you still be interested?
>>
>>57144309
retard
>>
>>57144309
cuck
>>
Is there a right or wrong when it comes to working with pixels or percentages? When is one better than the other? I'm kind of thinking that on paper, percentages seem to be better but then you're spending a lot of time trying to work out the appropriate size, but with pixels you'll already know what to do and then can have css to handle mobile etc.
>>
>>57144670
use em's, you cuck.
>>
>>57144322
>>57144364
 <div class="hjalp">
<div class="hjalpText">
teeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeext
</div>
</div>

.hjalp {
top: 40px;
right: 40px;
position: absolute;
width: 64px;
height: 64px;
border: 3px solid #8374cf;
background-image: url(../bilder/hjalpvit.png);
background-repeat: no-repeat;
background-size: 100%;
background-color: #8374cf;
transition: width 1s, height 1s, background 1.5s;
}

.hjalp:hover {
width: 135px;
height: 135px;
background-color: white;
transition: width 1s, height 0.5s, background 0.5s;
}

.hjalpText {
display: none;
font-size: 16px;
padding: 4px;
overflow: hidden;
}

.hjalp:hover .hjalpText {
display: flex;
animation: fadeIn 1s;
}
>>
Requesting more input on : >>57144487

>>57144579
Any good reason?

>>57144689
Svenske cuck, skriv på engelsk din fitte
>>
>>57144752
I don't have any reason other than good hierarchy.
>>
>>57144597
I've read that.
Is there more in-depth?
>>
>>57144701
>Using em instead of CSS pixels in 2016
lmaoing at ur life
>>
>>57144777
Well, the page name never changes.

But the namespace will.
>>
>>57143690
>C#
>not Pajeet-tier
lol
>>
>>57143690
I started learning C# 2 months ago so I can't really compare it to anything, since it's my first language. All I can say is it's very comfy, VisualStudio is great (though slow sometimes).

All of your greentexted points are correct, and it's got the largest amount of jobs, together with java. All the other meme languages can't measure up in terms of job availability.
>>
>>57145601
Sounds good my man, thanks for the (You).
>>
Can't you just combat timing attacks by hashing an arbitrary string even when the username is wrong/non-existent?
>>
Quick question, if anyone can help me out.

How can I programmatically add some meta data to images, server-side?

Working with some VR stuff, my images need a special meta tag added to them to work with Facebook's VR viewer thing they have.

I've not found an obvious way to write to meta data (programmatically), only plenty of tools for reading.
>>
>>57146908
jhead or imagemagick
>>
>>57147328
thank you. Editing image metadata seems to be annoyingly unsupported.

Don't think I can set Facebook's <GPano:ProjectionType>equirectangular</GPano:ProjectionType>
meta, with anything found so far, no matter the language
>>
>>57146908

mogrify

http://stackoverflow.com/questions/229446/how-do-i-add-exif-data-to-an-image
>>
>>57147719
thank you

I guess it's time to learn some php
>>
What's the best markup language for a wiki?
I'm thinking not Markdown. Okay?

Cause markdown sucks. Let's face it. It just sucks. It's not the stuff you want to write a wiki in.

How about WikiCreole? reStructuredText?
>>
>>57148311
I actually like markdown.
>>
>>57150314
Yeah for easy small stuff. But for a wiki?

Naw man.
>>
So there's a job opening near me for an SEO writer. I know Google changed their SEO to make it where it couldn't really be spoofed and that it'll be more organically determined.

Where is a good link for finding out how it works? All a Google results gives is outdated bullshit. Where would I go to find some more info on Google SEO practices?
>>
>>57131544
What can java do that React Native can't? I wan't to make apps and I'm deciding between this and Cordova
>>
>>57150596
I should clarify that it is for a small company and it's only a few hours a week. I'm not trying to lie my way into an actual career I just want to earn some extra cash to fund my web dev job search.
>>
>>57150596
There's a ton of SEO classes on udemy (some free, some paid). It's not really my wheelhouse so I haven't taken any of them, but that might be a place to start if you're into that kind of thing.
>>
Just for the sake of curiosity, how much time/effort do you think you need to put in learning and practicing web dev (either front or back) before you can start making any sort of money from it? By which I mean when does it turn from a pure beginner's hobby into something remotely marketable?
>>
>>57150856
Yeah I have access to a Lynda account as well but I didn't really see anything for this year. Since they revamped everything in seo it's made all that information obsolete.
>>
>>57137916
so how did you do it?
>>
>>57150654
If you're making a complex 3d game, you probably want to go java for obvious reasons.

There are also some issues accessing peripherals (camera, etc), depending on what you want to do so you might have to to write those modules in native code.

Other than that, React Native works pretty great. Cordova is a bit clunky at times, but generally works pretty well if you just want to port your browser app to android or something. I haven't tried NativeScript, but that's also another option.
>>
>>57150866
3-6 months at the bare minimum if you're smart, dedicated to spending every second of your free time studying (and studying effectively), focused on learning the minimum skills you need, and have a mentor to keep you from getting stuck on things.

Probably more like a year if you live in the real world.
>>
>>57151185
I did it in 4 months
>>
>>57151112
I want to make an app that has live stream video capabilities, any recomendations?
>>
>>57129560
>>57129673
:3
>>
I wish I went to w3schools in the beginning. It's the most practical approach for me in learning web dev. It puts all the elements together rather than learning separately. I feel the same way I did when I learned to read and understand French fluently.
>>
>>57150596
Is there anything more to SEO than clever placing and usage of keywords?
>>
Does anyone have any resources for learning PHP that don't iterate through basic programming concepts a lot/at all? I have found a few websites but they all seem to go in depth on what a variable is, what types are and also take a lot of time to go about explaining OOP concepts.
>>
>>57152628
Yes. Google's secret formula takes lots of factors into consideration.
>>
>>57152759

Page Speed
Mobile Friendliness
Not keyword stuffing (hiding headers filled with keywords)
Having a structured layout (without HTML, i.e. proper usage of headers)
Semantically correct HTML
https


that's just my two cents in SEO, idfc about the keywords and stuff, I'm all for the technical aspects in SEO .
>>
>>57153119
All that stuff, plus you want actively updated content (i.e. blog posts) that includes keywords (but not *too* much), links to social media, and backlinks from other sites.
>>
Is this just the stuff that Google is willing to tell us about?
>>
>>57150654
>React Native

I use React and never heard of that. I've just building apps with vanilla JS and Cordova.

Nice.
>>
File: 1475364416549.jpg (15KB, 339x271px) Image search: [Google]
1475364416549.jpg
15KB, 339x271px
Can anyone tell me what I'm doing wrong here?

I'm trying to get two divs to sit inside a parent container and split the room equally between them. Here's the CSS for the inside divs:

.split {
display: inline-block;
width: 50%;
height: 100%;
}

But one div is just totally hogging the other one for some reason. Or sometimes, they end up stacked on top of each other instead of side by side. What am I missing?
>>
>>57154654
Is it what does it do if you do something like 48%
>>
>>57154682
Okay that's way better for some reason, now they're side by side.

Though the one with more stuff in it is still taking up 100% of the height, whereas the other one isn't snapping to the full height of the container
>>
>>57154720
post a codepen or whatever.
>>
>>57139978
>Laravel
>A clusterfuck of files you have to update before you can see any changes at all


Anyway you faggots will complain about anything, so what are the downsides of a MEAN stack? I am in love with this shit and I see no way I would actually look back at php or any of the poorly documented frameworks it offers.
>>
What's the best way to learn the MEAN stack?

I'm getting bored of everything I currently use and MEAN stack uses everything I don't use.
>>
File: 1359685057201.jpg (34KB, 278x278px) Image search: [Google]
1359685057201.jpg
34KB, 278x278px
phpinfo() is showing old 5.6.2 version but php -v is showing 7.0.8. Help.
>>
>>57155023
gotta update some apache phpmod config paths probably
>>
File: 1473731020383.png (115KB, 850x800px) Image search: [Google]
1473731020383.png
115KB, 850x800px
Why do people with degrees get a leg up in this field?
>>
>>57155050
Ah, you know I think it's because I'm using an older version of lampp that came with 5.6.2
Thanks for the help though.
>>
File: 1476859699885.png (287KB, 600x800px) Image search: [Google]
1476859699885.png
287KB, 600x800px
>>57155108
$90k safety net
>>
File: 1473555401195.png (1MB, 1357x1281px)
1473555401195.png
1MB, 1357x1281px
>>
So I'm updating/rewriting a streaming app that used to use putlocker.is as a backend, but I'm now switching to putlocker9.com, since the former is down. It uses Electron, since I needed the built in mp4 player/codec anyway.

Some files refuse to stream to the browser, and will only offer to download the file. This occurs within my Electron app (which is chromium based), and in Chrome and Safari. It doesn't happen in Firefox or Edge. So I guess this is some quirk of webkit.

The only files that refuse to stream are from Vodlocker, and they include the port number in the url. ex: http://77.81.98.228:8777/nwcekkfnyo4pcnokal7sd7e46vitdjo7cygsr543uhvy5sqqadq5xzl7pq/v.mp4

Is this a thing enabled on their server? Or is it some weird thing with certain browsers? If there's no apparent way to disable this, I'll probably just make a small <video> element wrapper.
>>
File: flex.png (169KB, 1900x2100px)
flex.png
169KB, 1900x2100px
>>57154654
http://the-echoplex.net/flexyboxes/
>>
>>57144870
are you saying that "namespace" is actually a path variable? because in that case, it should absolutely be /pages/pagename/namespace
>>
>>57154654

or just fucking

[CODE]
.split {
display: block;
width: 50%;
height: 100%;
float: left;
}
[/CODE]
>>
>>57155218
She's just a beginner, dude.
>>
new thread when
>>
>>57155778
got it


>>57156643
>>57156643
>>57156643
>>57156643
Thread posts: 312
Thread images: 31


[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]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.