/wdg/ - Web Developer General

Previous Thread:
>Free beginner resources to get started
Get a good understanding of HTML, CSS and JavaScript.
developer.mozilla.org/en-US/docs/Learn - a good introduction (independent of your browser choice)
freecodecamp.com
codecademy.com
hackr.io

>Further resources
developer.mozilla.org/en-US/docs/Web - excellent documentation for HTML, CSS & JS
github.com/kamranahmedse/developer-roadmap - Frontend+Backend learner-path suggestions
youtu.be/Zftx68K-1D4 - Web Development in 2018

jsfiddle.net - Use this and post a link, if you need help with your HTML/CSS/JS

Attached: 1523601419185.png (1280x720, 180K)

Other urls found in this thread:

gist.github.com/svmotha/9fae060072bd88d6168e738dd09d85a3
gist.github.com/hygull/6cdf0fa8a1184693a234a7a73cbdd52e
gist.github.com/angrycoffeemonster/4f05896d233baf6bd9b0894e30b5fa63
gist.github.com/SivaCse/ba601e580c5a53564acbf8d63ef24437
vimeo.com/128417581
gnu.org/software/emacs/
vimeo.com/blog/post/new-upload-rules
twitter.com/NSFWRedditGif

okay, now that we have a thread I wanted to ask if there is a javascript library for resizing divs like jquery-ui's resizable() but without jquery?

is there a prepacked image gallery like craigslist's?
so far i'm just manually copy pasting their shit figuring it out.
maybe i'll just copy someones slideshow

Whats a good way of going through the call stack step by step when clicking a button on a web page. I don't know which function is tied to the click event so I find it hard to know where to put the breakpoint for debugging.

Can anyone steer me in the right direction?

>making the jump from apache to node.js

Attached: flat,550x550,075,f.u1.jpg (550x550, 20K)

In chrome dev tools, you should be able to see events from this panel when you highlight an element in the DOM tree

Attached: Screen Shot 2018-04-16 at 6.30.15 AM.png (2074x676, 313K)

Ah great, thanks!

what if I'm making a freelancer-like site?

Phoenix is god tier.

not a site per se, more of a management tool
that can work as a freelancing site?

thoughts?

would this provide any benefit to any of you?

Attached: Screenshot_2018-04-04_16-23-57.png (592x1026, 118K)

Does anyone here actually have a job without having a degree?

I fuck cougars for money. I guess that counts!

Attached: 1519309361274.jpg (519x533, 94K)

Hey I want to make let's play videos but I don't want to host the videos on youtube for a couple of reasons.
>fuck streaming videos
>fuck google
>I don't want to be a cuckold to youtube being able to remove my content at any point for any reason
So here's what I'd like to do, while still following the standard practice of asking devs if its okay to record their game and make a series out of it. I'd like to simply host torrents for the episodes, linking them to an RSS feed, and then batching them when a series is completely finished. I don't care about any sort of economic viability I'm just wondering if buying a normal webhosting service will allow me to make a webpage that can do what I want since I think torrent files are relatively small. I also will probably have articles and stuff on the site too but nothing fancy.

I really just want to create content and be a founder in cutting away from youtube and googles gay bullshit.

I make minimum wage working at a gas station.

Anyone here live/work in Seattle? What's the job market like?

Attached: woonigga.jpg (630x603, 18K)

I make minimum wage working at a walmart. I'm back in school because companies won't take me seriously with just an associates.

> Wants to be important on the internet
> first idea is 'lets play' videos

Just eliminate your map for keeps

I meant a web dev job.

My friend works for FedEX there, not a tech job, so not sure. Rent is pretty expensive. It's like 1900 for a shitty one bedroom.

Element.style.width = n;

?

1900 for a 1bd is still cheaper than the Valley and NYC or Boston. I hear North Carolina is decent though.

I don't know what you mean by map but I assume you're telling me to give up because my idea is dumb. I agree but I just want to know if going with a web hosting service would be a good idea for what I want to do. Please trust me when I say I just want to make let's play videos and have them be archived and available without youtube being able to fuck with them. I don't want to change the world or anything. I'd like to see the internet return to being more of a wild west where instead of discord servers everyone has their own forums and websites and you just visit those instead of youtube or whatever. I've already seen some let's players and tutorial video people doing this. Hell Spoony did this before he went crazy.

I figure since I'm not actually planning on having accounts or any sort of forum/data access type stuff it won't be vulnerable or anything. I also don't really care if people download the videos and then upload them onto youtube themselves. Right now I have to get let's plays and other videos by downloading them with youtubedl so that I can actually run them in the media player I like and have the files saved for offline storage. I'd really like if it was standard practice for let's players to batch their videos and use filesharing like anime does.

Not to mention it's a pain in the ass renaming shit so that it doesn't look like garbage because it normally has youtube hash shit and poor formatting for the naming and it's out of order and shit.

Attached: lets_play.png (410x378, 38K)

why not live in a caravan for a few months so you can save money?

Attached: 1523882328195s.jpg (250x148, 7K)

filenames are giving me an aneurysm

I think packaging them into a folder with the series name and then just naming the episodes "episode_01" while having a text file readme that has the episode guide would be a better format but I haven't gotten around to storing them like that yet.

You don't want to host the videos yourself. It just can't scale and will only work if you have non malicious and low count userbase, otherwise you'll end up needing to pay out the ass while your poor little VPS gets raped by one guy refreshing constantly just to be a dick. Just look up all the horror stories where people have had their sites hosted on scalable options slammed by 1 guy and put into obscene debt.

Just host them on Vimeo and if you insist on your own website you can just make a cheap wordpress site and embed your vimeo video on it and it'll work just fine for like $5 a month.

Following convention set by pretty much every media host/media player system would be beneficial. Check out plex, emby, or kodi for tv series examples.

Oh and you could also host them on something like MEGA and have download links on a site too, if you REALLY want your users to only have an offline copy.

Or do both

i need backend language with high performance, static types and comfy syntax, what do you recommend?

Decentralized video platforms are also a possibility but there are none that are publicly available afaik, although they're far more approachable (if done right) in comparison to torrent files.

Whats wrong with packaging them into a torrent? Sorry I don't know if that counts as "hosting the videos myself" I was planning on not having a direct download of the actual files only the torrent files. I don't really care about providing embedded videos. So if I used gatorhost or something like that would that be fine for what I want?

The problem is that it doesn't scale well and at some point someone has to upload all that data so others can download it.

Imagine you become popular and now when you release something 50,000 people click download on your torrent, now what? You sit there and let 50,000 people download every single episode? So what do you do, obviously you enjoy your internet actually working so you need to buy a seedbox.

Then you begin paying for godknows how much for that seedbox to send out 50,000 300mb files for every single episode, maybe you have like a 2 day release schedule. You're uploading 50TB+ a week like this.

Even being realistic and saying 1,000 views per episode you're still going to hit a limit where you end up having to pay more than you will make back from your videos. Even if half the people who download seed it you'll still be looking at a HUGE amount of data needed to be hosted by somewhere at some point.

You have to plan on the long term, if it works when you have 50 users..Great, but what if you get 100, then 200, then 300? etc etc. It's just not financially a good idea.

As for your website, just seriously use Wordpress, it will let you easily edit shit with their CMS and put your latest video up within 5 minutes. Everything would be so much easier just letting everyone else handle things and best of all only cost a couple dollars a month

which one: parcel or webpack?

Attached: parcel-vs-webpack.png (712x320, 74K)

I see your point now and it's a very good one. I didn't think about the rush for having to seed for 50,000 people or more (unrealistic but still). With the unlimited storage space and their hosting does that mean I could just have the videos streamed on the wordpress site and also have a download link on their site to download batches? Sorry I'm just trying to understand this all. If that's the case then it definitely sounds like a solid choice.

Attached: derpfap.png (259x997, 39K)

>high performance, static types
golang possibly?
don't know much about its syntax
if you go with only one of them, then probably Webpack, though I am interested myself to try out Parcel and see if its simpler configuration may be enough for a good chunk of average use cases.

Guys i'm a poorfag, lend me your sublime text 3 keys

Yes, but you have to build shit and you have to network. You should have a portfolio site, too.
Not having a degree might take you out of the running for certain position with certain companies, but the people with those jobs want to die.
Build things every day. Talk with others about what you build. Help others who know less and wish to learn.

see which ones are working

gist.github.com/svmotha/9fae060072bd88d6168e738dd09d85a3

gist.github.com/hygull/6cdf0fa8a1184693a234a7a73cbdd52e

gist.github.com/angrycoffeemonster/4f05896d233baf6bd9b0894e30b5fa63

gist.github.com/SivaCse/ba601e580c5a53564acbf8d63ef24437

>$1900/month
Keep voting liberal.

I don't know much about Wordpress, I'm sure if you google around you could find your answers to that.

$25 a month is really expensive hosting though, I seriously just recommend a simple $5/month site with Vimeo handling the hosting, they won't take your stuff down even if it uses copyright content etc, look at Botchamania if you want to see a site that is similar to what you want, they host everything on Vimeo because on Youtube they just get content taken down all the time, Vimeo don't do shit.

Apache is a web server. Node is a Virtual machine for running JS.

People are always offing themselves, so spots open up pretty regularly.

so why do people say that you have to learn node?

or are they talking about node.js?

confusing

Because they don'y know what the fuck they're talking about. Node is literally the Javascript engine from chrome running on a server. They are learning Javascript, or perhaps they are learning to use some library designed for node, but it's all JS.

Alright thanks for the suggestion. This seems pretty good and while the hosting on vimeo is still pretty expensive ($20 a month for (20GB week)1TB of space) the player at least seems very high quality. As a side note the only dwarf fortress lets play on there is done by a chick so that was a little bit weird.
vimeo.com/128417581

Follow up to this, vimeo doesn't allow lets play videos or any game related videos. You're actually just cucked to youtube as your only choice.

>so why do people say that you have to learn node?
who
>or are they talking about node.js?
yes

what did you think node was?

but who was phone?

parcel before webpack 4
webpack 4 otherwise

kek

I mean there are other choices but none of them are as popular and therefore more suseptible to takedowns than youtube is due to how lenient they are post youtube-gaming.

Fug. Pic related costs me 1300$/mo for the mortgage.

Forgot pig.

Attached: Screen Shot 2018-04-16 at 10.59.07 AM.png (592x524, 618K)

>mortgage
another one caught

>mcmansions
do people really still buy them kek

Is RoR worth learning in 2018 if I'm interested in getting a job in coding?

10Yr Fixed
You'd rather live in a hovel?

Considering that you called it 'coiding', you've already lost.

>You'd rather live in a hovel?
yes. Not like I leave the corner my computer is in anyway, and if I do I won't just be sitting in another room of the house.

Attached: 1420099814802.jpg (250x239, 13K)

Man. I'm sorry that I don't have any feels wojaks saved to this machine.

I have enough for the both of us

Attached: fb031e73699b3e7895ef8ea3081409c23519856b78942d616206b6b3abf7e274.jpg (208x374, 9K)

this a blue board please take down this violent pornography

Where do I start on my website's database backend?

User accounts?

My god I can't understand component factories in Angular, I need to create a bunch of forms and lists and I don't want to do it manually.

image uploading and storing

Sorry for the stupid question; I have about 10 different elements (1 image, a few links, and some fa links) that I want centered on a page with equal spacing between them and on the right and left of the page so they're more or less evenly distributed. How do?

I got a job as a junior backend developer without a degree, even though I still do a lot of frontend work so technically I'm just doing full stack which is fine to me. The pay was a little underwhelming and a little bit under what an average junior webdev earns in my country but that's fine for me, I'm just trying to get 3/4 years of work experience here so I can move on to another company as a senior developer.
As the other said, networking is huge. I got my job by knowing someone who knows my boss.

>paying for an text editor

Attached: furdervaterland.jpg (440x460, 22K)

Sublime is shit my man. Use VS code you silly imbecile.

>VS code
lmao

it's more functional than sublime text, even tho its electron shit

>functional
>electron
pick 1.

Why can't VS code be made with C++ and python for plugins like Sublime?

Sublime Text is perfectly fine for my needs.

gotchu senpai
gnu.org/software/emacs/

Dude just use asp.net mvc lmao you over complicating niggers

me. its ok but not as good as NYC or SF. doing web dev here is hard because vast majority of jobs are at AMZN / MSFT which both suck hard at web.

maybe if you want to live in "luxury" adult dorms w/ included gym and ass wiping staff. I pay $1600 for a nice 1br 20 min walk from city center. cheap compared to NYC where I came from.

I don't know why this meme of 3-4 years -> senior developer keeps getting perpetuated. I realize there are a lot of openings for senior devs, but rarely do I see anyone with 3-4 years experience being anywhere near competent enough to be in a leadership/decision-making position. Seeing so many inexperienced people flood the market makes me nervous, since it will inevitably devalue both the field as well as the titles.

Most people are born with the ability. Either you can hold your shit together and lead a team, because you know your own strengths and weaknesses and can judge others, or you can't.

I don't just mean leadership in the traditional workplace team sense. It isn't uncommon for multiple "senior" devs to be on the same team anymore. What I was going for was the experience needed to make decisions at an architectural level, which you don't get from 3-4 years of junior dev experience, especially if that is your only experience. You may have a strong understanding of what you've worked on in that time, but it is pretty unlikely that you've gained a strong understanding of good system design, unless you've worked on a team that has mentored you very well.

Node (and therefore electron) wouldnt work without C++ what in the literal fuck are you blustering about?

flexbox baby!

Attached: igetAround.jpg (480x360, 70K)

I have bought Sublime and I was happy with it for a long time, and I despised all electron shit since I first opened Atom when it first came out.
Recently I was forced to use VS Code and...
its better. Its more extensible, has better built-in options, it even shows you inline documentation for functions, event for libraries you import. Ecosystem is already richer.

Sublime has the potential, but could be much better if it was open source, and not just a one man project.

What are some interesting things to learn after you've pretty much mastered every basic web programming skill? I'm talking everything except advanced javascript

>13,000 square feet, $398,000, in a bad area where values are plummeting
>mac os screenshot filename
Starbucks barista $8.50/hr?

CSS

i spent months on CSS i need to move on

yeah i tried about 5 different platforms, it's still early but vs code is really nice.
my CSS didn't have a formatter, i searched "css format" in the extensions bar and within 2 minutes I had a working formatter.

What makes you think you've mastered them? If "months" is your idea of mastering something, you're sorely mistaken.

show us a codepen of something cool you made. doesnt have to be artsy could be UI

>mastered every basic web programming skill
>except advanced javascript

Attached: stallman.jpg (3504x2336, 2.68M)

ok i havent mastered it, i'm just proficient at it and i'd like to become proficient in something else now. i barely know anything except for how to make a pretty looking page that loads quick

what are your long term goals?

meme frameworks are fun to learn

I want to eventually make 20$ an hour. That's it. I'm not doing this to show off, I just want to be able to say I make my own fucking money.

Are you trying to ruse me, bro?

Attached: 1221162533809.jpg (750x600, 120K)

learn backend.
sql + database basics

You can get that working in IT desktop support with the same skills you had as a child.

What are you trying to insinuate?

i miss these memes

that'd be a waste of time

what's wrong with web developers?

Attached: ny7erwbw3bs01.jpg (596x509, 26K)

vimeo.com/blog/post/new-upload-rules
>In October 2014, we started allowing video game content on Vimeo again.

Apparently they stopped giving a shit a couple years back.