[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/wdg/ - Web Development General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 255
Thread images: 34
File: 1454605809263.png (868 KB, 822x552) Image search: [Google]
1454605809263.png
868 KB, 822x552
OLD THREAD >>54030416

> Discord
https://discord.gg/0qLTzz5potDFXfdT

>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/
http://www.freecodecamp.com/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

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

>Backend development
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks

>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://www.youtube.com/watch?v=pB0WvcxTbCA
Good videos on the channel too
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw

>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
>>
What's everyone working on?
>>
Node.js is slow compared to Java
>>
>>54071191
Java is slow compared to ASM
>>
>>54071007
I recently purchased my own domain name and have been working on a personal website. I'm still trying to figure out front end development. It's such a pain trying to create a scalable work of art purely through code. Even the concept seems so counter productive.
>>
I'm running a basic html website
is there a way to have a links section that is universal for all my webpages? I'm manually writing index pages and It's a chore to add a link to every page's link section
>>
>>54071712
Things do get complicated fast. Good luck and feel free to post if you need any help or tips.
>>
>>54071718
Yeah. Write it once and include it.
>>
>>54071900
so just this?
<div w3-include-html="navbar.html"></div>
>>
Why aren't we using the gay thread?
>>
>>54071923
Not how I remember it being done but Google says it works.
>>
How shit is my personal website?

http://anthony.noided.media/
>>
>>54072568
when I click on GPG tab it stretches everything out. Your menu at the top.. why do you have two menus of different sizes and styles?
>>
>>54072601
One of them is a navbar, the other one is a tabbed info viewer.

I should probably do something to make that more clear, huh? Or maybe ditch the navbar on the homepage...
>>
I have a digital ocean account, with a lot of credit. I can host the server that way, but where's the best/cheapest way to set up a domain name?
>>
>>54072568

In the navbar "Blog" is capitalized while "home" isn't, and that's triggering me. Please do something about it.
>>
>>54072812
Fixed.
>>
>>54072723
Namecheap is good.
>>
I have a feeling the answer will be biased in this thread, but what do you think is more worth learning: Java or JavaScript?

I'm in a sort of bootcamp at the moment through LaunchCode.org. Basically I have enough of a background dicking around with coding and web design that they'll be able to get me a job after I finish this thing.
So, the deal is, first you do CS50X, then for the final project they have two learning tracks: Java and JavaScript. They're pitching Java as back-end application development, and JavaScript as front end web development.

I'm interested in both. I've been building sites forever and would love to build mobile apps or just sites with more functionality. I'd like to work for small companies building interesting products as opposed to working for some corporate giant fixing bugs in legacy code.

So I think I want to go down the JS path, but my question to you guys: which has a more solid future? Which way leads to the big paycheck and the safe jobs? Which has more demand *right now*?
>>
>>54073512
>which has a more solid future?
Javascript

>Which way leads to the big paycheck and the safe jobs?
Javascript

>Which has more demand *right now*?
Javascript
>>
>>54070761
Trying to build a site that hits a MySQL back end for a school project, using php for now because tons of howtos from hobbyists.

Anybody have suggestions for learning material or a different way to solve the problem of site that references a db?
>>
>>54073616
Rails is probably made for exactly what you're doing. When it comes to simple CRUD apps, nobody beats that framework, even after all these years.
>>
>>54073512
But seriously though you can work for startups doing interesting stuff with either of those, but Javascript is more relevant now and going forward by a significant margin. And if your background is already in web design it would be essential to any kind of web work you want to do.
>>
>>54073512
Javascript for everything.

Java is useless these days.
>>
>>54073616
>different way to solve the problem of site that references a db

Wot?

Just query and echo through a while loop. What are you talking about?
>>
>>54073677
>Java is useless

Isn't Android Java? If someone wanted to develop an Android app wouldn't they need to know Java? Or could you just port it from something else, or developing for Android is a waste of time, or what
>>
>>54073714
If it were 2012, yes, but not today.

You can make an Android app through Javascript. You just package it with Cordova and you're done. Works for iphone too.
>>
>>54073803
Awesome. Alright, anon, you've made my decision a lot easier. Thank you
>>
Reminder that it's curry Saturday.

Get some curry and summon your inner pajeet
>>
>>54073803
>You just package it with Cordova and you're done. Works for iphone too.
In theory. In reality it doesn't work so well and it limits what you app can do.
>>
>>54074001
Give an example.

Cordova lets you use a lot of phone functions.
>>
>>54073512
Java is bigger than Javascript. And it's not only one. Is Javascript good for webdev? Yes, it's only supported scripting language in browsers. Does it have better employability potential? Maybe in hipster startups in Silicon Valley. Everywhere else dominates Java over it.
>>
>>54074541
hmm
>>
>>54072723
Gandi is usually a few bucks cheaper than the cheapest registrar (namecheap was the lowest last time I looked around) but they have great service and don't try to sell you a billion other services.
>>
File: yes.png (73 KB, 1043x781) Image search: [Google]
yes.png
73 KB, 1043x781
>>54074592
most of ruby is just hello world boilerplate though
>>
>>54074541

>Does it have better employability potential? Maybe in hipster startups in Silicon Valley. Everywhere else dominates Java over it.

where is "everywhere else", though, is my question. like, I'd rather work for some hipster startup than work at mastercard, ya know? I like the idea of building small projects with tangible results as opposed to sifting through legacy code for bugs. but i'm completely talking out of my ass and ignorant to what java devs do at those big companies, which is why i'm asking
>>
File: 1389814104531.gif (480 KB, 500x375) Image search: [Google]
1389814104531.gif
480 KB, 500x375
>>54074628
>ywn kode with karlie
>>
>>54074678
>tfw I only want to code with other dudes
>tfw I really like the idea of a 100% white, male workplace and a woman at home

good thing I live in the midwest I guess
>>
>>54074760
How's the industry out there? If I got sick of Jew York and wanted to move west and find a nice wife are there decent opportunities?
>>
>>54074782
I'm in St. Louis, there's a decent startup scene starting to build up here. Tons of jobs available, so much that there's a nonprofit dedicated to sticking people without CS degrees in codemonkey jobs, which is what I'm doing. There's a few large corporations here too (Mastercard, Edward Jones, Energizer, Scottrade)

But the big city that everyone here wants to move to is Chicago, either that or Austin, hear a lot about Dallas as well. I like it here though
>>
>>54074782
oh and as for nice wife, yeah, midwestern women are great for that classic 1950s housewife vibe, except they also want jobs, which is nice if you want easy living and no kids for a while

GF just brought me a beer and then scuttled off to work on something, feels good man
>>
whats a good micro js framework?
>>
>>54075182
vanilla.js
>>
File: moZPGh1.jpg (574 KB, 1357x1281) Image search: [Google]
moZPGh1.jpg
574 KB, 1357x1281
>>54074678
heh

I never get tired of posting this.
>>
>>54074942
When I went to st louis the gas stations had everything behind bullet glass. The only thing not behind glass was a coffee machine and about 1 dozen cameras.
>>
Would it be legal to house web developers in exchange for having them work on my websites?
>>
>>54075423
Depends on how much weird sex stuff is involved
>>
>>54075298
You must have been in North city. South city and the suburbs are nothing like that
>>
>>54075436
None. Enforced night time quiet time too.
>>
File: tiobe.png (30 KB, 904x770) Image search: [Google]
tiobe.png
30 KB, 904x770
>>54074592
>Github
How about something less hipster dominated? Anyway a lot of Javascript popularity in rankings comes from the fact it's browsers scripting language making it dominate webdev keywords. But it's really minor in backend- don't expect to find Nodejs job anywhere as easily as Java work.
>>54074656
Smaller and less professional projects are dominated by PHP, bigger and especially more enterprisey are mostly Java with .NET close by. Hipster market it a more complicated- a lot of Python and RoR, but also a lot more risk taking with new unproven technologies like Nodejs and Mongo. Reason why stuff like Nodejs is talked about so much is because hipsters dominate news- you are more likely to read about how new overrated small startup decided to pick Nodejs instead about how your local bank is using Java because it actually requires mature and proven technology.
But if you really want to get into startup scene then you may go down Javascript path. At least you will got one of the webdev frontend skills. Just remember that working with bleeding edge technology in some startup tends to be less cool in real life than working with proven technology in experienced bigger company.
>>
What this guy
>>54075484
is saying is use Javascript if you don't want to be doing bug fixes on legacy software that you're trying to update all day, every day, forever.

Use Javascript if you want to actually build new things.

Even if new companies are extremely volatile, I would still choose a startup over something like a bank 9 times out of 9.
>>
>>54075423
You're describing an incubator
>>
>>54071250
ASM isn't a language though
>>
>>54075559
>Even if new companies are extremely volatile, I would still choose a startup over something like a bank 9 times out of 9.
There is middle ground between small startups and big enterprises. Best bet especially for new dev is to find work in some small to medium company. Somewhere where development process is well set so you don't have to worry about things like accidently fucking up live database or actually knowing what the fuck your project is about. Where you are not small cog in big machine but where you also don't have to worry about every little stupid detail.
>>
>people upload pictures of lamps
>can vote "It's a lamp" or "It's not a lamp"

How can I decide when it's a lamp without it taking too long?

I'm thinking of using active user count somehow but I can't figure out how to write this.
>>
how would i make something that you can select different options for stuff and then it does a calculation based off the options you select (like total cost or something) have it have update on the spot when you select an option?
>>
>>54076064
Run a function with onclick, check what's selected, do the math, change a textbox value to reflect it.
>>
Who here using perl
Maybe Catalyst or MojoLicious?
>>
File: oops.jpg (28 KB, 600x450) Image search: [Google]
oops.jpg
28 KB, 600x450
should I go with browserify or stay with webpack? which is better for React using ES6 + JSX? what about Enclave?
>>
So I'm trying to make a 1 page app.

<div id="container-fluid">
<div id="container-index></div>
<div id="container-about></div>
<div id="container-contact></div>
</div>


and then just hide divs that aren't needed.

Is this an ok practice or is there a way to do this by importing stuff into divs when a nav link is clicked and somehow getting rid of the old stuff at the same time?
>>
>>54076094

im trying to do it without a "calculate" button tho. I want the numbers to update on the fly
>>
>>54076172
<input type="radio" onclick="javascript:window.alert('do something');" value="something">

I haven't done a radio in a decade at least, but the onclick will work.
>>
>>54076201

is there a way to do something like that but with a drop down list? like a "onSelect" or something?
>>
>>54076156
you could show/hide, or dynamically load with ajax

show/hide = more initial load
ajax = more work
>>
>>54076219
onChange, yes.

>>54076246
Javascript app, so it's already preloaded. Sweet.
>>
>>54075218

a good point
>>
>>54076201
This is bad. Give it an id and do addEventListener
>>
>>54076634
>This is bad.
>This looks bad.

ftfy.
>>
I can't for the life of me figure out how to use javascript.

Trying to pass a user input from html to javascript variable. Nothing works.
>>
anyone know why im getting a function not defined error?

https://jsfiddle.net/0q8e4dm6/

samefag here asking about calling a calculation function on selection drop down
>>
>>54076116
>picture

is this some kind of joke
>>
>>54076881
depends what kind of input.

var foobar = document.getElementById("inputBox").innerHTML;
>>
>>54076918
This. Right here.

  var total = document.getElementById("total");
total.innerHTML = total;


Tell me what you see that's wrong.
>>
>>54076918
Have you been working only with JSFiddle? If so, change it so that the JS is in <head> or <body>. If it's onLoad the HTML can't access it.
Also, try naming the second "total" variable something else.
>>
>>54077228
>>54077238

got it thanks
>>
>>54073707
Specifically if there's a reason to use something other than PHP ie easier/more efficient
>>
/wdg/.. how the fuck does one deploy a Django project and still maintain their sanity towards the end?
>>
>>54078620
You can't have your cake and eat it too.
>>
Yo homies, I need a simple JS (jQuery is fine) or CSS framework to do some animation scripting. I just want control over actual scripting (X:Y movement, and timing) for the events I want to display. So basically, a good framework I can script animated objects to follow.

Suggestions? I can but don't want to roll my own scripts, I'm hoping to find an animation JS framework I can utilize.

Also, I'm a professional developer so I'm not completely retarded (well, PHP, soooo probably...)
>>
File: kek.jpg (31 KB, 433x419) Image search: [Google]
kek.jpg
31 KB, 433x419
>>54075256
>>
Any advantages to learning vim or should I stick with sublime text?
Mostly doing html/css/js stuff
>>
>>54079226

not really
>>
>>54079226
Vim is useful for git and other CLI stuff.
>>
>>54078108
No.
>>
Couple questions if you guys don't mind.

If it helps stuff I know well: html, css, javascript, ssh, ftp
Stuff i've done a tiny bit of: php, .net, mysql, apache (looked at ruby more so than did anything seemed easy enough)
Stuff I know don't know shit about: CSS framework, Javascript framework, github (seems weird), jquery (doesn't seem to hard)


Is it really worth pursuing?
Saw the 13/hr in the OP, I make more than that now, but the appeal was perhaps less micromanagement and maybe the thought of free lance to get away from corporate bullshit.

Is Dreamhosting worth it over lower cost options?
Both for if I do get into this or just because I have some other business ventures that may need a decent website.

For small time stuff is it really worth going deep into frameworks? (I'ld learn it anyway but still)
>>
Can someone with angular experience tell me the difference between using $scope and this within a controller in short?
>>
>>54080055
Similar situation, also interested in this
>>
>>54080055
My advise is to maintain the following order in learning things:
>HTML
>CSS
>Javascript
This is where you're at.

>Git
>Angular (This allows you to create manageable sites)
>Bootstrap
>NodeJS (As an in between step to more mature statically typed languages to write your API's in ie C# or Java Spring)
>Grunt, Karma, Jasmine, Protractor, JSHint/ESLint (Each will improve your code quality and will drastically increase your productivity)


Don't bother with PHP or ruby,
>>
>>54080757
I'm a bit beyond the start there, but I'm really not sure if its worth it. I don't want to trade one meh job for another.

Branching into the more advanced portions hasn't seemed that hard, but I've also been learning CNC, 3D design, networking and a few other things. Working on the certs to show I know what I know in the repair and networking end too.

Trying to figure out what may pan out well enough to get free from corporate slavery. Seemed like this was at least worth looking into.
>>
>>54075484
>taking tiobe seriously
>perl is > ruby
>visual basic rates, go, rust, does not
>matlab is > R
>>
>>54080055
>I have some other business ventures that may need a decent website.

There's a large portion of web developers crying about slow websites. Half of /r/webdev is made up of people asking for help there.

Unless you want you entire future to be complaining that x framework is too slow, steer clear of budget services. And really, accept that at some point, you'll need to move to a VPS type arrangement.
>>
>>54079074

animate.css
>>
>>54076116

what don't you like about webpack?
>>
>>54081004
Maybe, but I don't think a website for a business getting started out of a garage needs too hefty a site, but I don't plan to go with the cheapest option. More a matter of if that venture pans out and webdev does not I won't have time to personally manage everything. Didn't want to just tumblr it like many small businesses do.
>>
File: 527.jpg (359 KB, 1260x896) Image search: [Google]
527.jpg
359 KB, 1260x896
>Join up at Codewars
>Solve a 7 kyu puzzle
>Look at answers other people submitted

>Feel like a retard
>>
codewars or hackerrank?
>>
>>54081607
>HackerRank

Wow, didn't know about this.

Also,
https://medium.com/@ipestov/collection-of-coders-games-to-improve-your-skills-9ea02906d73#.nxtgrwqka
>>
I have these three counters on a website I'm working on, I'm super new to front-end developing and I'd need to have these counters incrementing their values every second and shit. I have no idea how to do that, and I can't find a script that's already done that.

Also, am I getting fucked over if I was paid for a clickdummy and I have to do shit like this? I thought clickdummies were generally html/css only..
>>
File: 1460699488523.webm (196 KB, 480x270) Image search: [Google]
1460699488523.webm
196 KB, 480x270
I like React because it's so simple, but the whole ecosystem around it is a fucking maze.
>>
>>54082716
true
>>
File: messing-around.jpg (236 KB, 1280x800) Image search: [Google]
messing-around.jpg
236 KB, 1280x800
>>54071007
>What's everyone working on?
Just tinkering with some shit
>>
>>54071007
Making a website for people to rent my family and acquaintance's properties
>>
what the fuck, I got this button
<div class="button-white">
<span class="button-white-text">WIĘCEJ</span>
<div class="button-white-icon">
<i class="fa fa-chevron-right"></i>
</div>
</div>


and I'm applying padding to the background of the icon to make it look like whats in the picture.

Except, in firefox, it looks like fucking shit because the background of the icon is not lined up anymore. No idea why, if I modify the padding on firefox of course it breaks it on chrome.
>>
>>54083284
which turns into this garbage in firefox, any ideas?
>>
>>54083284
without the CSS no one will be able to tell you.
>>
>>54075484
>don't expect to find Nodejs job anywhere as easily as Java work.

Pajeet reasoning.
>>
>>54082579

look up timers on MDN
>>
>>54075423
I'd do it if you're in Austin.
>>
>>54083294
>>54083294
<span> is inline element
<div> is a block element

im giving ya clues. dont wanna spoile everything
>>
>>54083284
Better learn to use CSS properly, kid.
>>
I'm slightly autistic and I was always repelled by the sheer number of languages one had to know to develop web dev... today you can do everything in JS so there's no excuse anymore. I'm going to study 10 hours a day. Thanks anons, I love you ALL. Just want a decent livelihood for my and my wife. My current job stinks.

I already created my first website that uses Javascript. I'm proud!
>>
>>54083460
ur not autistic ur just retarded
>>
>>54075423
Are you hoping to find homeless web devs with the aim of luring them in with the promise of food and shelter?
>>
Am I making a horrible mistake by using Angular 2 for an app?
>>
looking for coders proficient in javascript, php and/or sql. im trying to make an alternate image board with some guys and we could use some more hands on deck. unfortunately there is no pay so this is on a volunteer basis, so anything you guys are willing to do is appreciated and all are welcomed.
>>
>>54083343
Do a simple job search. You will find a magnitude more Java jobs than Nodejs.
>>
>>54083953
Post the repository
>>
>>54083953
>im trying to make an alternate image board
As usual. Nobody makes anything unique here.
>>
>>54082716
I feel you.

I learned Redux for a while. It started out nice and easy, and I like how everything follows the same implementation. However, I hated having global constants and having to maintain them across multiple files plus the whole switch-case reducer system; the OCP was screaming at me the entire time while I was working on a project. The tipping point was when I hit redux-saga, it just seemed like to much work for a simple task just so that it would fit into the whole redux system.
Thats way I started learning RxJS/CycleJS instead and I've never looked back.
>>
>>54084190
https://join.skype.com/yO8tgwvbQ24b
>>
I've been working as a front end dev for about 3 years now and i'm wondering what skills i'd need to move to a UX/UI designer?
>>
>>54084472
That's not a repository
>>
>>54084578
im aware, however if you join, our head dev can explain things much better then i can.
>>
Alright, so I just started and this company does nothing but WordPress sites. My question is, how do I properly build them? I have to build them out by using divs to make their designs work and the previous developer never put anything inside of the actual text editor but he did something called "custom post types" or something.

Is there a decent article that explains the correct/efficient way to build out a WordPress site? The way I do it, clients cannot update the content on their own.
>>
>>54084524

Its more about process and trying to understand users. It is a big subject so I'm just going to throw some recommended reading:
Design of Everyday Things by Don Norman
Don't Make Me Think by Steve Krug
>>
I'm making a blog powered purely by angular 2. Any ideas for the database? I was thinking about Firebase maybe?
>>
>>54083787
More around the idea that people don't have a lot of time to learn when they work full-time to pay bills.
>>
>>54084041
>More Pajeet reasoning.

I learned Node because I found it interesting, there weren't many job listings for it in my area, they were mostly PHP and ASP. But a recruiter ended up contacting me after finding my CV, and I ended up getting a Node job which payed more than any of the PHP or ASP jobs were advertising. Which is nice, because now I get to do something that I actually like using something that I'm interested in, rather than having to learn and use PHP.

I did interview for PHP positions, but I guess they could sense my apathy, because I was literally just applying to them because they were there.

If you're learning something just because there are job listings for it, rather than because you actually like it, then you are no better than Pajeet.
>>
>>54084435
Most projects I see here are unique. Just disregard all imageboard posters. Imageboards have gone the way of irc.
>>
>>54083953
>php

i don't use fractals of bad design so no thanks
>>
File: cclancy.jpg (179 KB, 400x584) Image search: [Google]
cclancy.jpg
179 KB, 400x584
Any frontend devs/designers who might be interested in becoming a partner on a preexisting project?

My designer quit out on me a few weeks ago, and several business contacts I know say I need a business partner if I want to get investments and stuff. So I'd be able to offer you significant equity, even if I won't be able to give you a salary.

The project is basically a cross between a Booru, an art sharing website, and a commissions marketplace. Everything except the last bit is essentially "finished" already. It's in Rails with some React.js for interactive stuff on the frontend.
>>
>>54083953
>an alternate image board
OH BOY JUST WHAT WE FUCKING NEED!

http://www.9ch.in/overscript/
>>
So with Mongoose, what would be the best way to search in database?

Say I have the following schema

var Books = new Schema({
title: {type: String, required: true, unique: true},
description: {type: String, required: true},
cover: String,
});


And I want to get "A study in scarlet" from something like "Study in scarlet". Or at the same time having an "author" field where it would be possible to search for "Author Doyle" and it would find him.
>>
File: desperate.gif (326 KB, 250x175) Image search: [Google]
desperate.gif
326 KB, 250x175
>>54085130
>>
>>54085206
Switch to MySQL
>>
>>54085206
I dunno because I only used MongoDB and Mongoose in a tutorial, and then prompty forgot everything about them afterwards.

At work we use CouchDB, which is way better.
>>
>>54085229
>mysql
>not postgres
No thanks!
>>
>>54085130
Have you worked on the layout yet or will people still have no idea what the website does?
>>
>>54085355
I'm currently working on that now, actually.
>>
>>54084992
Word.

I'm interviewing for two Node.js positions this week just because I've had interest in it over the past few years. I'm hoping to leave my PHP days behind permanently.
>>
>>54084992
Congratulations on getting job you like. But you ignored the context of original question- what should student choose when choice is between Java and Javascript. Frankly i can think of several languages i would rather suggest. But between those two Java is clearly superior- in both employability and quality of language.
>>
>>54085531
I would have hard time choosing between Node and PHP considering performance boost of PHP7 and how bad Javascript is. Well, PHP jobs do tend to be shitty sweatshops.
>>
>>54084992
>If you're learning something just because there are job listings for it, rather than because you actually like it, then you are no better than Pajeet.
Shit senpai, I'd even learn Perl if it meant I could get a job that pays over 100k. But I'm more desperate than you are anyways.
>>
>>54083387
Dallas area.
>>
>>54072568
The Domain is kinda shit
>>
File: oop.png (313 KB, 1680x740) Image search: [Google]
oop.png
313 KB, 1680x740
>>54085607
>But between those two Java is clearly superior- in both employability and quality of language.

Yeah sure it is, Pajeet.
>>
> blueprint simple app
> figure it should take 3 days tops.
> problems with literally every code block
> 1 week later and I finished what I had planned for the first 3 hours.
>>
>>54085827
OOP bothers me and feels very autistic ocd-like.

I just use a lot of functions called from a main procedural code block with step-by-step commenting. It reads like IKEA assembly instructions; anyone can figure it out.
>>
>>54072568
Makes me feel better about my own website desu. This is neat, but pretty basic.
>>
Livestreaming some web development at shthesuper on Twitch.

Come join in the fun.
>>
>>54086351
imagehex guy?
nice
>>
>>54086439
Yeah. If you have any questions or suggestions just chat.

>>54085355
Does this work? I'm not sure if it's explicit enough, but it gives the gist.
>>
>>54086514
Yes, that's a good initial hook.
>>
>>54085763
I live in Houston, but nothing is tying me down here. What exactly are you proposing?
>>
I learned html/css/js for a few weeks and I guess I should start some personal projects and Google features I don't know, in order to learn? Is this a good method to learn basic webdev? Or should I study more theory via books and looking at example website/s 'code' first?
>>
>>54086968
I'm not sure yet.

I think it would be beneficial for a group of developers to house together. People could brainstorm, troubleshoot, share knowledge. Everyone would have access to 500 fios.

Kind of like that one anon said, like a "business incubator" except for individual developers and as a place to live.
>>
>>54082716
Check out vue
>>
What's a better way to display the pricing information?

I also need a better way to display the user's avatar, I think. This is currently pretty shitty.
>>
>>54083953
>trying to make an alternate image board
>proficient in javascript, php and/or sql
>php
topkek

try something actually useful and that wasn't done
like Rust or Go or whatever
>>
>>54088040
>Rust/Go
>useful
lads pls
>>
>>54087905
That looks like a clusterfuck
>>
>>54088057
>Go not useful

Lmfao. Prepare to be left in the dust when the javascript meme wears off and people start caring about server perf.
>>
>>54088278
>javascript meme
You're aware of how long this meme has been going, right? I've been using it for 14 years and it's only getting better and better.
>>
>>54088301

I'm speaking specifically about node.js. JS will never die on the frontend.
>>
>>54088233
I'm aware.

I have no idea how to fix it, unfortunately.
>>
>>54087153
Oh well. I guess this question gets asked 1000 times. Sorry lads, I guess I'll lurk more in this thread and get some half truths.
>>
Can someone post a portfolio example for a web dev? What do employers look for?
>>
>>54088040
One in Go is already being worked on. https://github.com/bakape/meguca
However, more boards in something other than PHP would be welcome.
>>
>>54088916

Create web apps then send them to the company through contact form, phone call, or through the application/on your resume. If your work is good enough then they will call you for an interview then they'll either have you write some code as a little test or just show off the code you've done on your own. Or both. This is how it's done. 100% of the time. I had 3 full stack interviews before I landed the job on the 4th time.
>>
>>54088916
>get two apps minimum, 3+ ideally
>have them linked on your personal site
>use as many different technologies as you can
>have them look decent to get past HR and not be a mess coding-wise to impress tech management
>make sure your github/linkedin/whatever other social network you're on linked there
>bandy it around to every job opening you see with your resume and a brief cover letter explaining your background and why you'd be interested in working there
>????
>get paid pupper
>>
>>54089424
>have them look decent to get past HR
Very important. Usability is key. I love using a minimalist design with CSS animation and clean styling. Buttons are animated and play a little *POP* sound when you click them. etc. Fill out all those small details.
>>
>>54088278
>server perf
>>54088329
>I'm speaking specifically about node.js

You realise that Node is basically a big C++ project, and you're retarded if you think that its slow because of Javascript.
>>
>>54089236
How do I know what code to show off? Instinctively I'd feel inclined to show them something I was stuck on, but a lot of the time the solution is pretty stupid and just had to do with my lack of knowledge.

>>54089424
What do you mean when you say apps? How elaborate do they have to be?

Also, what kind of stuff can I put on github if I have no interest in finding shitty repos to contribute to?
>>
>>54089560
Button pop? You mean that annoying clicky you hear on web pages sometimes? Or are you talking about android apps?
>>
>>54088916
I got a job with a jQuery widget, and a tutorial-tier Todo list CRUD app using the MEAN stack. Both on Github, I have no dedicated portfolio site, though the todo list application was deployed on a digital ocean droplet.

My resume consisted of as many buzzwords as possible, every framework, library and language I've ever messed with. With an honest summary about me and how I learned what I know (self taught) and what I was looking for (junior position with opportunities for learning and growth etc).
>>
>>54071712
Just use design libraries and jquery and you'll be alright
>>
>>54089634
>MEAN stack
pajeet detected
>>
>>54090060
>MEAN stack
>Pajeet
go and stay go
>>
lol, web developers talking shit on Java.

The same web developers that make, on average, significantly less than Java developers.
>>
>>54089595
They can be as simple or as complex as you like as long as they meet the MVP and demonstrate your ability to work within the chosen technology. My portfolio is a rails app that searches live music APIs for local listings, a d3.js map of China that displays different datasets, and an imageboard written in Javascript. Not really stellar stuff but it covers a lot of ground tech-wise and people seem to like playing with it.

You don't have to bother with other repos at all, just have all your portfolio pieces up on personal repos so that employers can look at your code.
>>
>>54090205
Java is boring. No one wants to update legacy software to the newest Java update and fix the resulting bugs as their full-time job.

That's a snooze. I would rather make 65k at a fun job than make 100k at a job that sucks ass.

Of course, that's IF your statement had anything factual about it. I regularly see Angular jobs for 100k a year.
>>
>>54090205
But I actually like, enjoy and do some projects with Java ;^)
Its just that, my current job as webdev pays me more than a job with no pro exp in java will
>>
>>54090205
>lol, web developers talking shit on Java.
Everyone shits on java
>>
I have a few questions but I will ask them one at a time

Here is the layout I want

http://www.bootply.com/kr9dS9RnbM

my first issue is, why when I minimise the page to a mobile size, is the red section visible at the top, and the yellow section pushed down a bit. Is this a bootstrap thing adding margin?
>>
>>54090340
I meant, fresh out of university, on average web developers make the least amount of money compared to other developer positions. I'm talking about most of the country.

Web development isn't that hard. They have bootcamps where they teach you everything you need to know in a couple weeks.
>>
File: Namnlös.png (15 KB, 1229x147) Image search: [Google]
Namnlös.png
15 KB, 1229x147
How would one display a one liner text under each individual icon? (HTML)
>>
>>54074001
or just use nativescript
>>
Does encryption method really matter if you salt?

I hear bcrypt is slow and has been cracked already, so...my db has nothing sensitive anyways. salted sha1 ok?
>>
>>54089634
Was this recent? According to Reddit, the entry-level has become saturated, and any entry-level dev needs a CS degree, 5 years experience with modern frameworks, front end, back end, middle end, agile methodology, 3 internships, 4.0 GPA, networking connections, pure-green GitHub activity, substantial open-source contributions to the employer's product, and a handshake in the Goldilocks range (just firm enough).
>>
probably hard to ask this without showing the code since im at home not at work but im using the bxslider.js library for a slideshow and im trying to use their goToSlide() function but everytime i make a button that calls that function it goes to the correct slide you pass through it, but duplicates the entire slide show as well. Also moves the copy down a bit. So if you keep clicking the button more and more slideshows will keep getting made. What the fuck is going on?
>>
>>54090537

I would put each icon and its accompanying text in its own div or span. Then give the text the CSS of "text-align: center;"

Also, consider using Bootstrap. Use the Bootstrap Grid system.
>>
File: JUST.jpg (27 KB, 600x424) Image search: [Google]
JUST.jpg
27 KB, 600x424
>mfw working at a bank churning out soulless boilerplate Java code

I'm pretty good at programming, how do I into freelance? What's the pay like?
>>
I'd thought about making a programmer blog, since its the meme thing to do these days as some extra to your portfolio.

But I have no experience with webdev. Only c/c++ application development.
So I've been looking at wordpress and github pages. Which one should I use. Are there any better alternatives?
>>
>>54090537
.icon:after {
content: "Text";
}

:^)
>>
>>54090790
Use WP since you're making a blog. Besides, with Git Pages you'd still need to develop the site yourself.
>>
>>54089580
>You realise that Node is basically a big C++ project, and you're retarded if you think that its slow because of Javascript.

I'll let you take a moment to think about what you wrote.
>>
>>54090470

Any help appreciated pls
>>
>>54090611
>According to Reddit

The answer is no.
>>
File: Capture.png (8 KB, 533x95) Image search: [Google]
Capture.png
8 KB, 533x95
>>54090868

There's the problem. Change the value to 0 and it will all be yellow in mobile view.
>>
>>54090989

Thanks mate
>>
>>54091056

More often than not you'll have to tweak a lot of the stock bootstrap classes.
>>
>>54090611
If you're in Silicon Valley, yes. You don't need all of that shit in all circumstances.
>>
>>54090611
>Was this recent?
February.
>According to Reddit
The job market depends on where you live, obviously.
>>
>>54082926
>winXP instead of win10
>>
>>54090850
I really can't help you if you don't understand the first thing about the thing that you're trying to criticize.
>>
>>54091463
>>54091391
>>54090883
Thanks anons, you give me hope.
>>
File: 1415660292843.jpg (53 KB, 886x503) Image search: [Google]
1415660292843.jpg
53 KB, 886x503
Man I love maintaining legacy sites
>>
>>54070761
can any one help me with this
$(document).ready(function(){
document.getElementById('1st').onClick= switch1st;
document.getElementById('2nd').onClick= switch2nd;
document.getElementById('3rd').onClick= switch3rd;

function switch1st(){
document.getElementById('1st').style.color = 'gray';
Im looking to change the buttons color on click, but I cant seem to get it to work.
Ive used an li on html and given it an id 1st, which I would like to change its color on click.
>>
What counts as a connection to apache?

Sessions don't, right?

If I wanted to set a indefinite session, it wouldn't eat my connections right?
>>
>>54090776
>how do I into freelance?
By creating a company and pretending you aren't the only one in it.
>>
I don't know if this is the best place to ask, but what is the specific and main problem associated with applying salt to hashes.

Obviously plain text is very bad, using a hash is just as bad as they can quite easily be looked up.

However, I can remember reading somewhere that even applying a salt to obfuscate the hash is not really that great either.

Without saying X, Y, Z is better, can any one tell me what was so bad about it so that people went on to think about creating X, Y, and Z
>>
File: WhatIwant.png (78 KB, 1377x866) Image search: [Google]
WhatIwant.png
78 KB, 1377x866
Right, next thing I want is to have a static navbar in the yellow section. I want it to be 4 links equally spaced that take up the size of the yellow container no matter what size it is (although when it gets to mobile sizes I will have it collapse).

I know how to do the basic static navbar and collapsing feature in bootstrap, my question is where do I put the <nav> section in my code to make it stay in the yellow, and how do I keep it in the middle of the container constantly?

http://www.bootply.com/F522A44FtE
>>
>>54091593
For starters, you don't ever start either an id or a class with a numeral.

Second, you call functions in JS like such:

document.getElementById('num1').onClick = switch1st();

function switch1st()
{
//Changing to background so that it changes the color of said button.
document.getElementById('num1').style.background = 'gray';
}


Also, you might want to put in a true/false statement so that you can switch it back easily.
>>
>>54091846
wouldn't you need to do

document.getElementById('num1').onClick = switch1st;

(without the () at the end being the difference)

because otherwise you would set onClick to the return value of switch1st, not the function itself.
>>
Can someone tell me a non retarded way to do this?
var arr=[0];
for (var k in data) {
var name = data[k].name;
var item = data[k];
console.log('hey');
//check if already in array
for (var l in arr){
if (arr[l].name == name){
arr[l].value = arr[l.value] + ';;' + item.value;
} else {
arr.push(item);
}
}
}


I'm trying to merge duplicate entries in array by creating a new array. I don't know how to check for duplicated without looping through the new array, which then fucks up my shit when trying to push stuff because it does it every time for the outer loop.

What do?
>>
>>54091838
It's not letting me overwrite the bootstrap classes.
>>
>>54091950

add !important at the end of the class if necessary.
>>
>>54091933
looks like you maybe want a hash map? or you need to keep your arrays sorted so that you can use a logN algo to check if it contains an item
>>
>>54091992
Forgot all about that shit
>>
>>54091898
Actually I fucked up, and you're right, but here's the corrected code for vanilla js.

document.getElementById('num1').onclick = switch1st;

function switch1st()
{
console.log("Success");
//Changing to background so that it changes the color of said button.
document.getElementById('num1').style.background = 'gray';
}
>>
>>54072568
Your website triggers me in so many different ways and looks like shit, but you do have a lot of potential and some pretty neat features
>>
File: 03,200_.jpg (20 KB, 260x324) Image search: [Google]
03,200_.jpg
20 KB, 260x324
>>54079074
>>
>>54075256
actually chuckled irl
>>
>>54091706
Ha, I have thought about this like a thousand times. I'm not sure I can pull it off.
>>
>>54071191
>Node.js is slow compared to Java
node is a web server not a framework. Its implemented in C++, not javascript
>>
>>54092260
java is implemented in c++, not java
>>
File: 1441994960693.jpg (25 KB, 400x386) Image search: [Google]
1441994960693.jpg
25 KB, 400x386
>>54092260
>node is a web server not a framework.
>>
>>54092434
the java compiler is implemented in java itself
>>
>>54092555
>java
>compiler
lol, good one.
>>
How likely are deviantart fags to let me use their art for free for a website?
>>
>>54092696
I use some graphic art I found on a guy's tumblr for my site. He's never figured it out. Doubtful they will either, especially if you alter some of the dimensions of the file so it doesn't come up for RIS as easily
>>
>>54084834
How did you survive the tutorial?
It just keeps getting more and more involved
>>
>>54092566
I might be wrong, but isn't it compiled into JVM bytecode? Still technically compiled.
>>
What's the best way in java to parse JSON files into GraphML?
>>
>>54086201
Have any ideas on how to spruce it up?

>>54092060
How does it trigger you? I want it to look as good as it can.
>>
File: Web Development With PHP.jpg (102 KB, 506x662) Image search: [Google]
Web Development With PHP.jpg
102 KB, 506x662
>>
>>54094264
Here's your (You)
>>
>>54094148
Not him, but:

Animated image? Why? With your minimalist-looking design, you shouldn't need animation anywhere.
Little to no organization. Basically a clusterfuck of boxes, different margins everywhere
Speaking of different margins; Inconsistent font size, color; looks like you pasted different snippets of CSS from different places around the web

Hope that helps.
>>
I made kana flashcards. I think they're pretty great except I don't have sound files for every kana yet.

https://nonegiven.github.io/kana

How to use (intentionally no English on the flashcards): https://nonegiven.github.io/kanainfo
>>
Is it possibly to have a cell in a html table span partial rather than full columns?
>>
im never going to land a job in web dev because i dont have a cs degree and i should just kill myself because that way im at least taking control of my fate

i hope i die in my sleep
>>
>>54094587
>im never going to land a job in web dev because i dont have a cs degree
sure
>>
>>54094587
>i should just kill myself
sure
>>
>>54094587
>having a cs degree just to write html/css/js

You're not landing in a web dev because you're a lazy fuck, move your ass.
>>
>>54094587
No one around here would even notice desu
>>
i think ill go to the us to some ghetto area, try to score some drugs but instead buy a gun and then just shoot myself
>>
>>54094545
You can define all the "full" columns as colspan=2 and the "half" columns as colspan=1.
>>
>>54094658
>this pathetic bitching because you're too lazy to get a job
Learn how to do whatever you want to do in your job, then apply to jobs until you get one. Until you get one you can mooch off your parents or welfare if they kicked you out. It's not rocket science.
>>
File: question mark dog.jpg (34 KB, 500x348) Image search: [Google]
question mark dog.jpg
34 KB, 500x348
How fast can I go from zero to codemonkey if I bust my ass? I need a job upgrade (literally anything above minimum wage) and I have no degree.
>>
>>54094790
6 months and you be elite. in the six months you will also allow the time to learn and take/complete cert classes.
>>
>>54094944
can you recommend cents/classes?
>>
>>54072568
Annoying white padding bar on the right side of screen on my Nexus 5. SMHTBHFAM
>>
>>54087351
I'd fucking kill myself if I had to live with co-workers
>>
>>54094944
6 months isn't enough to become good enough to even freelance, much less get a job
>>
>>54095434
Really? What makes you say that? Are you talking about full-time study?
>>
What's up /wdg/. I need some help with Wordpress because I'm bad at php. Basically, all I want is to create a navbar that displays one way on the index page, and another way for every other page, collectively (essentially just two different headers).

Is this possible using Javascript? Wordpress dumps the same header into every single page, and I feel stumped for ideas. Anybody know of a solution to this?
Thread replies: 255
Thread images: 34

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.