[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 Developer 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: 318
Thread images: 42

Last thread
>>55275569

> 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/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
https://www.youtube.com/watch?v=JxAXlJEmNMg&feature=youtu.be&list=PL7664379246A246CB lecture series.

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

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

>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://www.youtube.com/watch?v=pB0WvcxTbCA - "WATCH THIS IF YOU WANT TO BECOME A WEB DEVELOPER! - Web Development Career advice"
https://www.youtube.com/watch?v=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
https://www.openshift.com/
>NEW!
https://scaleway.com/
>>
What's a good cheap host
Need it for my portfolio site
>>
>>55311555
Literally stated in OP
>>
Anyone here good with UI / UX design?

Is this a suitable alternative to hamburger menus? http://www.w3schools.com/howto/howto_js_fullscreen_overlay.asp

I plan on tweaking it a bit. If it isn't then I'd appreciate some suggestions.
>>
File: audioautists.png (1MB, 1142x616px) Image search: [Google]
audioautists.png
1MB, 1142x616px
Hi /wdg/,

I've been learning to build simple websites at work, and am looking to build a small web application in my free time that scrapes websites for data and produces visualizations using D3.js.

I've been reading that for any non-trivial web app, I should probably be using a framework to keep the code from becoming unmanageable. The main contenders for frameworks seem to be Backbone and Angular, but I'm not entirely sure which one to pick.

It seems like if I go with backbone I'll be doing more legwork and the size of the required codebase would be larger. I'm fine with this, as I'm willing to put in the time to learn how to make use of the fine-grained control it offers. On the other hand, Angular seems to provide a much larger toolset out of the gate that would make getting a proof of concept out much quicker. There also seems to be more educational content on the web for Angular.

What do you guys think? I've been reading quite a bit on the subject but still can't decide which one to go with.
>>
>>55311616
pick like the top three nav links you need
stick them on the top of your page in big

put the rest of that dumb shit you're cramming into a burgermenu at the bottom in small
>>
Reposting this because I don't get the Typescript hate

>>55276491
>>55278497
>>55297697
>>55298155
Literally the only part about this that's typescript is the type annotation.

this.getThreads()
.then(


This is a promise. ES6 standard.

threads => threads.filter(thread => thread.board_id === board_id)[0]


Arrow function notation. Also ES6 standard. Equivalent to
function(threads) {
threads.filter( function(thread) {
return thread.board_id === board_id;
}
}
>>
>>55311748
dat passive aggressiveness. i see you baby
>>
>>55311770
?
>>
Where can I start learning flask?
>>
>>55312102
youtube and it's site, flask is way easy
>>
Anyone have experience with Perl web development? Is it shit? If I accept a job doing it will i just be managing shit legacy code?
>>
>>55311616
>http://www.w3schools.com/howto/howto_js_fullscreen_overlay.asp
I visible prefer shit that doesn't slide around. Then again I'm a Luddite.
>>
Anyone been using Rx/FRP? It seems to be the next big thing.
>>
>>55311707
From a practical point, it doesn't sound like you need a frontend framework for what you are planning. Maybe some traditional backend MVC thing plus some vanilla JS would be best suited. Now, if your primary goal is to learn, backbone seems like a fine choice. Angular is too abstracted/magic for learning purposes, IMO.

>>55312937
Yes. Reagent, re-frame and figwheel. Easy and fast, I am never going back. In fact, I wish there were options for FRP in desktop GUI programming (other than electron based ones).
>>
Seriously though, is there a decent, fast library for doing nice, 60FPS GUIs, close to the main os with a minimum amount of abstraction that isn't Electron/Qt?
>>
>>55313130
What about backend? Is FRP suitable for it?
>>
>>55313158
libui
>>
I am a python programmer, thinking to devote time to learn golang. Just want to ask, is it worth or golang is just another meme?
>>
>>55313245
Everything is a meme, sanjay.
>>
>>55313168
I think so, albeit it's less mature in that area. I try to follow the principles when designing systems, but haven't found a library that is as convincing as the frontend options. Not explored them as much, either. The server side of Om Next is a bit too frameworkish for my taste (too tied to datomic, specially), and RxJava is, well, Java...
>>
>>55313259
Just wanted to add, you don't strictly need a library. You could glue your own stream & function system together out of e.g. a message queue. But it would require more discipline.
>>
>>55313289
Also channel transducers in Clojure.
>>
Is React good?
>>
>>55311535
Anyone have experience with jQuery PEP? Tried implementing it but I can't figure out how to preventDefault as it doesn't seem to run as an event.
>>
File: 1466714328729.png (1MB, 1117x667px) Image search: [Google]
1466714328729.png
1MB, 1117x667px
>>55314154
>jquery
kys
>>
im working on a debugging/testing library for JS because im tired of my workmates constantly fucking up the API
part of it will be regular unit testing with results as simple JS objects to allow people to format their own output as however they want
the other part will be function decorators for verifying function signatures, add a bit of type safety and also add decorators for measuring execution time

example:
//Any piece of code calling API.GetUser with more or less than 1 argument, or with a non-number type now throws an exception.
API.GetUser = VerifySignatureDecorator(API.GetUser, 1, 1, [typeof(1)]);


its pretty neat, because you can integrate it with existing code very easily, and also disable it completely when deploying to production
>>
>>55314363
edgy
everyone uses jquery. maybe YOU should kill yourself
>>
File: 1467177779827.jpg (162KB, 759x1278px) Image search: [Google]
1467177779827.jpg
162KB, 759x1278px
>>55314535
if by everyone you mean shitty wordpress """""""""developers""""""""", then sure lmao
>>
>>55314569
>web dev shitting on web devs
kek
>>
Where can I learn EVERYTHING about Angular 1 in one place? Is NG-Book good? Why is there so little content, I thought Angular 1 was hard?!
>>
>>55315041
>angular 1
why are you learning deprecated frameworks? do you like to waste your time? try learning COBOL as well buddy
>>
>>55315041
why would webshit be hard?
>>
>>55315082
>>55315115
Because my internship said so. :( I don't plan on using it after it.

Is this general also turning to /dpt/? Getting actual answers instead of memes is getting increasingly hard.
>>
>>55315465
try this i guess?
https://docs.angularjs.org/guide
>>
>>55311535
What the fuck is up with that retarded backendDevelopmentBookmarks.md?
>>
File: 1465353563576.jpg (42KB, 500x441px) Image search: [Google]
1465353563576.jpg
42KB, 500x441px
>be me, lifetime slacker and underachiever
>get my life in order the past year, start applying for web dev internships
>really not all that good at it as of right now but it's the field I want to go in
>have two companies showing interest and wanting to skype
what questions should I expect to get and is there any way to prepare for this?
>>
>>55315581
>be in /wdg/
>expect things to not be retarded
>>
>>55312542
Yes.
>>
>>55315608

- Expect a few 'Tell me about a time when...' questions, e.g. 'Tell me about a time when you ran into a problem while coding', 'Tell me about a time when you had to work as a member of a team', stuff like that.

- Expect them to have looked over your resume/portfolio. If they have a question about a specific part, it's fine if you need to look through your code and find it, but if they ask you about a project and you just get act confused and have no familiarity with it whatsoever, they're going to think you just plagiarized it.

- If you contributed to any open source projects, you should put it on your resume (because it looks really good) and expect them to ask about it. You'll probably want to bring it up in the team question above, because they really want to see that you can use git in a team environment and cooperate with other humans.

- They might ask you some rather hard technical questions. Most likely they're more interested in the process you use to figure it out, rather than that you can rattle off the answer.

- Make sure you look presentable. You don't have to wear a suit and tie to a skype interview, but (if you're on video) dress "business casual". Make sure it doesn't look like you're in your mother's filthy basement. No piles of dirty clothes, no weeb shit, no lotion and piles of kleenex, you get the idea. Don't let your mom come in halfway through and give you a plate of pizza rolls, as you will be laughed at for months and they will never hire you. And if she does, ffs don't eat them till afterwards. They'll be hot anyway.

- Get a friend to skype you 30 min before to make sure everything is working properly. Make sure they can hear and see you and vice versa. Sound quality is most important. Double check that your waifu body pillow is hidden, etc.

- When speaking, try to look directly into the camera instead of at the screen, so it looks like you're looking directly at them instead of down.
>>
>>55313245
It's a language designed for quickly producing maintainable and performant server code even in large teams of fresh graduates and pajeets. Hope that answers your question.
>>
>>55316924
>It's a language designed for quickly producing maintainable and performant server code even in large teams of fresh graduates and pajeets.
and it fails miserably
use go if concurrency is VERY important to your shit, otherwise stay away from it
>>
If I want to scrape google search results. What is the limit before they ban me or some shit?
>>
>>55317342
it's random
i even get a captcha to complete once every 2-3 months as a regular user. they might fuck you in the ass faster if you automate it
>>
>>55314569
these threads are so cancerous lately
>>
Not to be insulting, but I've noticed that a lot of people become a web developer for following reasons, for example:

>I was once a nobody, but then I fixed my life by becoming a web engineer
>I worked at a shitty retail but then I realized web development is the future so I learned everything during the summer and got myself a comfy job
>I was contemplating suicide, but after I became a CSS Ninja and an HTML Pirate, everything went better than expected
>I worked as a barista in Starbucks. I liked it there. But I also like Apple. Oh, and I absolute LOVE computers, I always dreamt about working with them. So the next logical step was to become a web developer.
>I wanted to change the world and spread my message about equalities, so I learnt how to program my blog in Rails and immediately got a job as Ruby Femgineer at a TOP10 company.
>I failed as a software engineer so I got into web development
>Web development is not a real job. I'm a 4.0 GPA computer scientist who is looking to work in AI field, and web """plebelopment" is just my means of getting some easy bux on a side. Heh, you are doing this for a living. SUCKS TO BE YOU!
>I was a housewife and had a lot of free time while my kids were at school. I realized that my life is non-existent so I stopped watching replays of my soap operas and started learning how to build Wordpress websites. My girl friends told me you can make a decent money out of it and here I am now! I'm a successful freelancer on a Freelancer.com and now my husband is not the only one who is bringing money on the table! I also maintain a blog which helps the other housewifes who are looking to learn about a web development from their homes.

So, is it worth for me to even think about doing this for a living, or should I try to actually succeed at life and if everything fails, ultimately go back to web development?
>>
>>55318028
the fuck are you even asking
become a webdev if you want to, otherwise become something else
christ
>>
>>55318028

>I was once a nobody, but then I fixed my life by becoming a doctor
>I worked at a shitty retail but then I realized healthcare is the future so I learned everything during the summer and got myself a comfy job
>I was contemplating suicide, but after I became a doctor, everything went better than expected
>I worked as a barista in Starbucks. I liked it there. But I also like cock. Oh, and I absolute LOVE sticking my finger in peoples' bootyholes, I always dreamt about working with them. So the next logical step was to become a doctor.
>I wanted to change the world and spread my message about equalities, so I learnt how to be a doctor and immediately got a job as doctor at a doctor company.
>I failed as a software engineer so I got into medicine
>Nursing is not a real job. I'm a 4.0 GPA biology scientist who is looking to work in genetic engineering field, and """treating illness" is just my means of getting some easy bux on a side. Heh, you are doing this for a living. SUCKS TO BE YOU!
>I was a housewife and had a lot of free time while my kids were at school. I realized that my life is non-existent so I stopped watching replays of my soap operas and started learning how to draw blood. My girl friends told me you can make a decent money out of it and here I am now! I'm a successful phlebotomist on a hospital and now my husband is not the only one who is bringing money on the table! I also maintain a blog which helps the other housewifes who are looking to learn about a medicine from their homes.
>>
File: 1462410948595.jpg (9KB, 262x263px) Image search: [Google]
1462410948595.jpg
9KB, 262x263px
>>55318368
>>55318028
Kek'd
>>
>I was once a nobody, but then I fixed my life by becoming an astronaut
>I worked at a shitty retail but then I realized space travel is the future so I learned everything during the summer and got myself a floaty job
>I was contemplating suicide, but after I became an astronaut, everything flew better than expected
>I worked as a barista in Starbucks. I liked it there. But I also like rockets. Oh, and I absolute LOVE getting all of my blood sucked into my head, I always dreamt about feeling dizzy. So the next logical step was to become an astronaut.
>I wanted to change the world and spread my message about equalities, so I learnt how to be an astronaut and immediately got a job as an astronaut at an astronaut company.
>I failed as a software engineer so I got into astronautics
>physics teacher is not a real job. I'm a 4.0 GPA aerospace scientist who is looking to work in nasa field, and """giving private lessons in high school physics""" is just my means of getting some easy bux on a side. Heh, you are doing this for a living. SUCKS TO BE YOU!
>I was a housewife and had a lot of free time while my kids were at school. I realized that my life is non-existent so I stopped watching replays of my soap operas and started learning how to float in vacuum. My girl friends told me you can make a decent money out of it and here I am now! I'm a successful astronaut floating in a comfy International Space Station and now my husband is not the only one who is bringing money on the table! I also maintain a blog which helps the other housewifes who are looking to learn about a floating from their homes.
>>
what is the difference between JavaScript and HTML?
>>
>>55318636
You can become a rockstar in only one of them.
>>
>have not a fucking clue about javascript
>see all those shitty same looking websites sold for $80+
>decide to look into bootstrap, the stuff that fuels this shit
How can people honestly charge money for a bootstrap based website?
This is as retard friendly as it gets.
Maybe program a GUI for it so even the biggest retard can click his Single Page Template powered by Bootstrapâ„¢ together in a few seconds.
>>
started with JS after doing Java for couple years

is encapsulation in JS a thing? should i bother with it?
>>
>>55314535
>>55314154
If you don't care about legacy browsers older than IE9 you can use UmbrellaJS (http://umbrellajs.com/) instead of jQuery. It's tiny.
>>
>>55318860
I don't understand it either. But then again, I think the design is what you pay for the most, idk. It's pretty easy to make it but creating a good design is a different story.
>>
Anyone here switch from Sinatra/Flask/Rails/Django to Node? What frameworks/libraries do you use now on Node?
>>
>>55318860
Because as simple as it seems to you, creating something by writing code is still fucking sorcery to the normies. A text editor or cli is ridiculously intimidating to them for some reason. I blame cop shows like CSI that give people weird ideas about hacking and computers in general.

>Maybe program a GUI for it so even the biggest retard can click his Single Page Template powered by Bootstrapâ„¢ together in a few seconds.

You mean like one of the thousands of wordpress themes and WYSIWYG editors out there? They're certainly better than nothing, but you have to give up a tremendous amount of flexibility.

As
>>55319025
said, design is a large part of it too. If you gave them a piece of paper and a pencil, most people still wouldn't be able to create a website mockup that isn't garbage.
>>
When using for loops in js, why do you have to put brackets around the variable when you log to console?
>>
>>55318703
var me = "rockstar";
>>
>>55319318
>A text editor or cli is ridiculously intimidating to them for some reason
>cli
I wonder if it's the same normies that are all over chatbots or maybe they are more power users.
>>
>>55320272

>you have to put brackets around the variable when you log to console

Uhh...you don't? What are you talking about?

for ( var i = 0; i < 10; i++ ) {
console.log(i);
}

works fine, you don't have to add any brackets.
>>
>>55317025
And what are the alternatives? Mind, something comparably fast and almost Python levels of easy.
>>
>>55320428
I had a CA thing earlier not go through because the variable wasn't between brackets. Idk, I didn't think that was a thing.
>>
>>55318940
You can encapsulate with Symbols, but little need to bother. Rather try some meta programing, because everything is public.
>>
Just left the office. I've completed more than 10 tasks, half of them had immediate priority, the other half was also unexpected and coincidentally urgent.
And some guy submitted his changes to master and it went to prod without code quality control OR testing on dev branch, the absolute madman.
>>
>>55311535
every one of those technologies suck donkey balls
>>
>>55320536
Good god man what time is it in India like midnite? It sounds like you've earned your 4 hours of sleep in a rat infested cardboard village.
>>
>>55320575
I'm an Eastern European so you're not too far off.
>>
>>55320435
Try Groovy or Kotlin. Although you'll have to learn about the JVM, Java, its build tools and deployment (~3 weeks total), writing the code itself will be about as easy as in Go. You will get a vast library ecosystem as a bonus.
>>

if (!_.isEmpty(input.value)){
}

if(!!value === 'true'){
}



Proof that most web developers don't really know how to program.
>>
Hey /wdg/,

I'm using jquery's slideDown and Up shit for a dropdown menu on a navbar, except the shit I'm dropping down isnt in the <li> of the navbar buttons, right.

And when the user (me) is hovering the dropdown menu, it just slides back up.

Is there any way I can disable the slideUp while the user is hovering the dropdown element?
>>
How do I learn to use Git in a team environment? I almost never used it myself either but I've learned those commands but what now? When I come to my job the first day, how do I use it? I have no idea how any of that functions. What to pull, who sees what, and how do I make sure I don't send something immediately to production or accidentaly delete a whole project kek? I'm scared.
>>
>>55320902
>JVM
Not if I have a choice.
>>
>>55320944

https://api.jquery.com/mouseover/

If that mouseover occurs over the dropdown, do not fire slideUp.
>>
>>55320986
yea right...
>>
>>55320991
Thanks, that looks like what I need precisely.

$(document).ready(function () {
$(".dropdown1").hover(
function () {
$('ul.test').slideDown(300);
},
function () {
$('ul.test').slideUp(100);
}
);
});


How would I go about catching specifically that slidUp with the mouseover?
>>
1) Push some code to github.
2) Create a master branch.
3) Checkout another feature branch, and make changes.
4) Push that branch up, and on GH, do a pull request.
5) GitHub has an awesome visual Git diff feature.
6) Accept or reject your pull request.
7) Discover what causes merge conflicts (bad) and what results in a simple fast-forwarded merge (good).
>>
>>55321012
Right.
>>
>>55320331
That's different because they think they're "talking" to a "person". It's okay if you input something nonsensical. Even the simplest shit like
mkdir foo
cd foo
touch bar.txt

is black magic to most normies who have absolutely no understanding of a file system since their only computer experience involves slapping their monkey paws all over their touch devices. It would be like going back in time a few millennia and trying to explain how an airplane works to your average peasant. It's just too far away from anything they have any bearing on and they're too full of misconceptions involving demons or some shit.

>>55320454
You have to use bracket notation when using a variable to get a prop from an object, if that's what you're thinking of.

ex:
var animals = {
cat: "meow",
dog: "woof",
chicken: "cuck"
};

console.log(animals.cat); // prints "meow"

var foo = "dog";
console.log(animals.foo); // undefined because there isn't a foo prop
console.log(animals[foo]); // prints "woof"


var bar = ["cat", "dog", "chicken"];
for (var i = 0; i < bar.length; i++) {
console.log( animals[ bar[ i ] ] );
}
// note that this is considered bad practice. If you're accessing props this way in real life, you're probably doing something stupid. You most likely want a getter method or something instead.

>>
>>55320975
Better ask a senior developer how the standards and workflow in the company is.
Maybe check out this: https://www.atlassian.com/git/tutorials/comparing-workflows/centralized-workflow
>>
>>55321027

Log out the
event.target
in your dropdown function. If it's that specific element, return. Else, fire the function.
>>
>>55321027

$(document).ready(function (event) {
$(".dropdown1").hover(
function () {
if(event.target.className !== 'foo'){
$('ul.test').slideDown(300);
}
},
function () {
$('ul.test').slideUp(100);
}
);
});
>>
>>55320975
Worth pointing out that although you should try to learn how to use git as best as you can, advanced git can be seriously complicated and no one should expect a junior dev to be a 100% expert at it. It's one area where you should definitely not be afraid to ask someone more senior for help. Obviously try to figure it out yourself first using the docs / google, as is tradition, but any dev that isn't a gigantic douche should be happy to help as long as you ask in the right way.
>>
File: 1446605954997.jpg (10KB, 176x184px) Image search: [Google]
1446605954997.jpg
10KB, 176x184px
>>55316917
my man, thanks a lot
>>
File: dletebut.png (5KB, 1177x248px) Image search: [Google]
dletebut.png
5KB, 1177x248px
Hi there, please see attached image, how do I move my delete button the opposite side of the table.

I know I css' it, and I know it should be something like :right. But how do I do it?

Should I put it in a div and then do

div-ballsack{
position: right
}
>>
>>55322506
float it to the right
>>
>>55322774
Is the CSS property called float?
>>
>>55322807
>>55322774
I just double checked and there is, its really frustrating editing bootstrap.min.css, what do I do when I need to edit CSS properties in that file?
>>
is skeleton interacting with sliders? I am trying to style a slider but nothing is working. it only worked for changing width and that only when its completely zoomed in mobile view
>>
>>55322867
You shouldn't be editing a minified CSS file.

You shouldn't be editing boostrap.css in general. Use a different file to apply custom styles.
>>
Regular Expressions can suck my dick.

I put off learning this retarded shit for 3 years now and here I am learning it anyways.
>>
>>55320986
Well, do you have any more criteria you'd like to voice other than "something comparably fast and almost Python levels of easy"?
>>
>>55322867
wait you're working with bootstrap, why even bother with floats then?

class="col-md-1 col-md-offset-11" (or whatever size you're working on)

and like the other guy said, don't edit a bootstrap css, make a second css called style.css or w/e, load that one after the bootstrap one and make changes there

pro-tip: read the documentation on getbootstrap.com
>>
>>55322992
kek r u me
still not learning that fucking shit
>>
>>55322992
>>55323084
Then write real parsers. It's a healthier approach, anyway. Learn PEG.
>>
>>55321419
I thought git was just a meme for hr to better locate femcoders?
>>
>>55323845
That's true. Real men use CVS.
>>
File: me.jpg (49KB, 433x277px) Image search: [Google]
me.jpg
49KB, 433x277px
>try out web dev 6 months ago
>screw around a little bit with html and CSS
>get to javascript
>just completely give up, convinced that I'm not cut out for it
>js codecademy course sits at 33% for months
>come back to it a week ago
>finally finish it
>still feel dumb
ayyyyyyyyyy
>>
>>55324062
I'm sorry but if you can't follow the codecademy js course you might actually be too stupid for webdev
>>
>>55324169
No, it's not that, it's really simple when you're actually paying attention to it which I wasn't last time around. I just feel like it isn't as in depth as it should be. Like it's the tip of the tip of the iceberg. I guess now I should read the book in OP's pic or Eloquent JS or something. Getting the course done was a big motivation for me and now that I have it done, I just don't feel as comfortable with the language as I thought I would and it's underwhelming.
>>
>>55324062
You are dumb. Sorry.
>>
>>55324062
codeacademy doesn't go that in depth
I'd recommend looking at Jon Duckett's books "HTML and CSS: Design and Build Websites" and "JavaScript and JQuery: Interactive Front-End Web Development", as well as the MDN resources for HTML/CSS/Javascript:
https://developer.mozilla.org/en-US/docs/Web/HTML
https://developer.mozilla.org/en-US/docs/Web/CSS
https://developer.mozilla.org/en-US/docs/Web/JavaScript
if you're comfortable with html and css enough, you can skip glossing over that and skip to the javascript resources.
>>
>>55318028
web dev is a low-skilled job with low job security (look at the dotcom bubble... you're riding the coattails of that). if you have the mental capacity, passion and drive you should first and foremost try a different career such as programming.
>>
>>55311535
I'm planning on building a simple site where I'll post some hentai images and I'm concerned about a few things

>Should I use my real info when registering the domain for WHOIS? I'd rather not have personal info tied to the site.

>Are there any hosts that are okay with this sort of pornographic content?

>How would I sort out ad hosting on a pornographic site?
>>
>>55324706
I'm pretty sure you can pay an extra fee to have your identity hidden from WHOIS

Good luck finding advertisers for a porn site though
>>
>>55324706
ask the host whether they're okay with it, most of them probably are, and use your real info but they can probably hide it, just ask, my host pretty much hid my info even though i didn't care about that stuff and i never asked for it
>>
>>55324706
also it's probably not that easy to find advertisers but look at torrenting sites and such, look at which ad networks they're using, gambling sites like to advertise on sites with adult content
>>
I just got a will to write a simple cms for my news portal for some reason. How long would that take me? I never wrote something like that. Baka desu suiseiseki senpaichi, maybe I'd even write it in PHP because I know it the best. I know some rails and just tried Node so yeah. Are there any hand holding tutorials for this shit to get me started?

And first and foremost, I have no idea how long would something like that take - is it even worth it?
>>
File: CeGkQERWwAANb9Z.jpg (82KB, 600x567px) Image search: [Google]
CeGkQERWwAANb9Z.jpg
82KB, 600x567px
>>55318028
> implying any of those people do web dev.

They do web design. You think housemom can even begin to do PHP?
>>
>>55322867
>>55322983
>>55323072

I've added

    <link href="static/bootstrap.css" rel="stylesheet" media="screen">


and added col-md-pull-12 from bootstrap.css

<a onclick="$('#delform').submit();" class="btn btn-xs btn-danger col-md-pull-12" id="delete_job" href="#">Delete</a>


Where the CSS property for col-md-pull-12 is:

  .col-md-pull-12 {
right: 100%;
}


Even after a Ctrl+F5 refresh it doesn't move at all
>>
>>55311616
Good for mobile
>>
>>55313158
Gtk
>>
>>55320944
Why isnt the content in the li tho? Semantically it should be.
>>
File: CWkqN8UU8AAfoHC.png orig.png (203KB, 380x550px) Image search: [Google]
CWkqN8UU8AAfoHC.png orig.png
203KB, 380x550px
>>55311762
I guess people aren't that hateful about Typescript anymore
>>
File: 18mpenleoksq8jpg.jpg (41KB, 636x477px) Image search: [Google]
18mpenleoksq8jpg.jpg
41KB, 636x477px
I learned to query databases by using SOQL with Salesforce, but I'd like to learn a more traditional SQL variant

Any good books or tutorials for MySQL or PostgreSQL? I've done the w3schools lessons, but I'd like to get practicing on an actual database
>>
Ok, let's say I have a shit job but I know how to dev.

Should I go part-time and work endlessly on my portfolio or should I keep the extra full-time money and finish my portfolio when I get ADD meds in august?

I can stay afloat on part-time but just barely.
>>
>>55313130
>I wish there were options for FRP in desktop GUI programming (other than electron based ones).

Amen. I'm wishing hard for a GUI toolkit to come out that renders html/css as a gui. I'm no fan of HTML or CSS, but we may as well leverage all the work that's been done in web browsers instead of making new rendering engines and DSLs
>>
File: 1467233208508.jpg (492KB, 1400x2100px) Image search: [Google]
1467233208508.jpg
492KB, 1400x2100px
>>55326302
how about you actually making something that uses SQL?
>>
>>55326694
Like what nigger
>>
>>55326684
React native
>>
            <th>
<div>{{ job.title }}<form class="col-lg-pull-12" id=delform action="{{ url_for('delete', job_id=job.id) }}" method="post">
{#<input class="btn btn-xs btn-danger pull-right" type="submit" name="delete_job" value="Delete">#}
<a onclick="$('#delform').submit();" class="btn btn-xs btn-danger pull-right" id="delete_job" href="#">Delete</a>
</form>


This doesn't appear on the same line. Basically it looks like this:

| Title |
| Button |

When it should be:

| Title Button |. Any ideas?
>>
>>55326797
That's only for mobile devices, anon.
>>
>>55326840
the fuck is that retarded looking shit?
Shopify liquid?
>>
>>55326715
messageboard
>>
>>55311535
I cant seem to get my head around recursion, Even looking at other definitions. Was this ever hard?
>>
I have a fun idea for an online graveyard.

Who wants to work on it with me?
PHP, javascript, canvas.
>>
I know this question is dumb but bear with me. I'm reading the Jon Duckett JS book. Don't know much and am confused about something.

When you have script written that you want to use to do something to the HTML, do I have to link to the JS page in that section of the HTML? I can't just always link the JS page at the bottom of the HTML?

There's a bit about adding a greeting to an h1 element and he places the JS link inside the h1 element. I didn't know this was a thing.
>>
>>55327479
That's not a thing at all.

All JS scripts in <script> tags get access to the entire document. The document may not be loaded, mind, but they can access it once it is loaded.
>>
>>55327479
You can link the JS anywhere in the page you want. People put it at the bottom now because the browser pauses rendering to fetch the file when it hits the javascript link.
>>
>>55327502
>>55327523
Ah, okay. Yeah I thought I was misunderstanding something.
>>
>>55327428
>PHP
>>
>>55325350
bumperino
>>
>>55327718
You're right.

I will write it in assembly. See you in 40 years.
>>
How do I avoid this shit in node.js
)}; )}; )}; )}; )}; )}; )}; )};
>inb4 le promise meme
Changes virtually nothing and still ugly
var promise1 = querysmth();
var promise2 = somethingelse();
var promise3 = etc();

promise1.then(function() {
blabla
bla
promise2.then(function () {
sadasd
promise3.then(function () {
next();
});
});
));

Help a stupid student.
>>
>>55327428
I know PHP, make a github repo and I might contribute.
>>
>>55327778
>assembly
>>
>>55327789
async/await
>>
I want to use some API with Angular 1 to practice but I'm not sure how would I make API calls with it. How does that function? E.g. if I have some movie database, how can I call the API every second if user types something in a search bar and all the results automatically show up. Is that even possible? How should I use it then, I'm lost.
>>
Ok, so I have a grid written in JS that prints out pictures into each cell.

I want to be able zoom in/out of all these cells. Any ideas?
>>
File: fire.gif (488KB, 500x200px) Image search: [Google]
fire.gif
488KB, 500x200px
>>55316474
>fuck this guys one word answers
>>55312542
Perl is considered shit legacy code, and any code written today is legacy. Unless you are in Cali, NY, Boston, or Chicago, you are f*ked...

If you are looking for a job, go meet with the future employer. Ask about their tech. You want the job, but you also need to query the employer to see if it is a valid fit. Also prepare some code.

From exp: I studied C++, java, and solo HTML in school. Went to an interview straight out of highschool and they just asked me if I programmed. Now I am stuck at a company still running 2003 tech. and writing in 8 different fucking languages, while managing every database, network, and all tiers of helpdesk.

Learn from my mistake.
>tfw we cant upgrade domain because too busy writing obscure code to mulch MySQL data for ERP system
>>
>>55328057
>helpdesk

Why do they have you doing that?
I always see job postings where the web dev is also helpdesk. Can you shed some light on how that is acceptable?
>>
>>55327800
It's going to be private because I want to make money.
>>
>>55328356
>implying you can't make money from open source projects
>what is android
>implying anybody'll use your shitty software anyway
>>
>>55328506
>wanting an indian to copy everything, take your traffic by making it free, and live like royalty off the 4.32 a day from ad revenue
>>
>>55328564
>implying your software will be good enough to make money off of anyway
>>
>>55323845
tfw starting the hormones next month.
i dont even know why i bother studying, i'm going to be making 100k starting.
>>
>>55328601
I'm tired of proving myself so just have this

(you)
>>
>>55325095
I think It's automatically hidden for a year on namecheap.
>>
File: you.png (65KB, 712x252px) Image search: [Google]
you.png
65KB, 712x252px
>>55329009
Thanks, i'll add it to my collection
>>
>>55323845
nigger what?

>>55328926
>i'm going to be making 100k starting
nigger what?
Oh wait, is this because transwomyn?
>>
How would you improve this site, in terms of features and/or design?

http://algorithm.zone/
>>
>>55329429
>using bootstrap
>>
>>55329429
>jQuery
>floating language selection
>amerifat size banner
>not multicolumn
>tons of wasted space
>>
>>55329744
>>55329686

Lel, I threw it together in a couple days as an MVP. I am going to revamp the design and tech stack for sure, but I was asking in terms of actual features, /g/entoomen.
>>
>>55329868
are u black?
>>
>>55330004
He is. That's Kenny dude, a DPT legend. >>>/b/
>>
>>55313130
If FRP, is the next big thing, is everyone going to learn Clojure?

I was about to ask if Clojure was really necessary, but then I realized that you can't really have true functional programming in javascript.
>>
>have node
>install ghost
>ERROR: Unsupported version of Node
>Ghost needs Node version ~0.10.0 || ~0.12.0 || ^4.2.0 you are using version 6.2.2
lol why
>>
>>55330559
>never heard of it
>google
>"...lightning-fast Node.js application with an Ember.js..."

Oh it's because it's shit.
>>
>>55330629
Someone suggested it a few days ago here on /wdg/. Figured that I'd play around with it.
>>
>>55329429
Put subscribe in other page rather than a banner.
Not floating language selection.
View option to view as row or column like catalog.
>>
What's a nice css thingamajig I can use for a project? Basically I want just a consistent grid system and themed form widgets
>>
>>55331564
flexbox
>>
>>55331592
I meant more like a css framework

>inb4 write your own

It's for a uni assignment, I just want something nice other than bootstrap or bare html. styling stiff by my own would take too much time and effort and I'm not getting graded for it.
>>
>>55331614
http://getskeleton.com/
>>
>>55331592
Is flexbox gtg? I'm pretty sure it still doesn't work right on internet exploder
>>
File: aggro-gatordotcom29743.jpg (32KB, 500x396px) Image search: [Google]
aggro-gatordotcom29743.jpg
32KB, 500x396px
Hi guys.

I am running a compiled C program inside a cgi-bin folder.

I want to call the standard library system() command to run some command line shit, which seems doable, but I am generating a 500 Internal System Error. I think the html I am outputting inside the C function to stdout, and the output of the system() function printed to stdout, aren't actually pointing to the same stdout, and it's causing the error.

Let's say I want to print the output of an echo. Is is possible to get the echo data to output to stdout in the original function?

In other words, I want this to print a paragraph with the word hello in it:
printf("<p>");
system("echo hello");
printf("</p>");


But it throws a 500. What do I do to get this to work?

Thx.
>>
>>55332772
Ok, I realize now that calling system() inside a C function and doesn't print to the calling functions stdout, and this causes the 500. I am investigating popen(), but no luck so far.

Different question: are most streaming services implemented as daemons? Do most commercial hosting services allow daemons to be run?
>>
File: 1457499078493.jpg (132KB, 283x424px) Image search: [Google]
1457499078493.jpg
132KB, 283x424px
>>55333061
Answered my question. For those who are interested, this is how in C on *nix you use popen() to capture the output of a shell command (popen() is just a shortcut to piping, forking, and evoking the shell):

#include <stdio.h>
int main(void){
FILE *f;
char buffer[1024];

// HTTP Header
printf("Content-Type:text/html\n\n");

// HTML Header
printf("<!DOCTYPE html>\n");
printf("<html>\n");

// Head
printf("<head>\n");
printf("<title>Test</title>\n");
printf("</head>\n");

// Body
printf("<body>\n");
printf("<h1>Test</h1>\n");
// Shell test
printf("<p>");
if(system(0)){
printf("Shell available");
}else{
printf("Shell not available");
}
printf("</p>\n");
// Shell command
printf("<p>");
if(f=popen("ls","r")){
while(fgets(buffer,sizeof(buffer),f)) printf("%s",buffer);
pclose(f);
}else{
printf("Failed popen()");
}
printf("</p>\n");
printf("</body>\n");

// Done
printf("</html>\n");

return 0;
}


Still don't know about my daemon question. Anyone know how they'd make a webpage that constantly streamed I/O to/from the server? Can this be done with just dumb ole HTML?
>>
File: Sketch82142220[1].png (152KB, 1280x800px) Image search: [Google]
Sketch82142220[1].png
152KB, 1280x800px
I'm working with a somewhat badly documented JS framework, it is made using AMD modules and Dojo.

Is there a tool that can create docs or dependency/function lists like these, for example:
http://docs.geotools.org/latest/javadocs/
http://mapnik.org/docs/v2.1.0/api/python/mapnik-module.html

There are no proper "jsdoc" type comments, the functions, dependencies and inherited methods would be good enough
>>
>>55333594
You need either ajax or websockets for that.

Just don't use C, it's madness.
>>
>>55332536
See for yourself: http://caniuse.com/#feat=flexbox
>>
>>55328057
>ERP system
your company running an erotic roleplay server or something?
>>
>>55334266
the layout on that website is fucking cancer

how do i get to the "see known issues"?
>>
>>55335063
ok i found the background-colored "known issues" tab

fucking hell
>>
>>55311555
host1plus.com
>>
>>55331614
http://purecss.io/
>>
I have some css effects made from js would it be possible to add media query to it?
>>
File: something like this.jpg (56KB, 636x477px) Image search: [Google]
something like this.jpg
56KB, 636x477px
how do you make an img element show a low-res version of the image while it loads?

i tried using background-image but it doesn't look good when the full image has transparency because the smudgy looking thumbnail is visible underneath it

<!-- thumbnail.png should be shown while full.png loads -->
<img style="background-image: url(thumbnail.png); ..." src="full.png">
>>
>>55337052
>how do you make an img element show a low-res version of the image while it loads?
caution IE doesnt support this because PHP retards all render the images on the backend for the last 20 years:

<img src="portrait-small.jpg" srcset="portrait-small.jpg 1x, portrait-large.jpg 2x">

The src attribute specifies the fallback image for browsers that don’t support the srcset attribute. Here we’ve specified a low-resolution image for the fallback. The srcset attribute includes a series of comma-separated values.

These values specify an image URL, and the conditions under which to display the image. These conditions include a pixel density, viewport width, or both.
>>
i have a hard time learning php, especially trying to do php+mysql

what do ? or learn node ?
>>
>>55337052
have you looked at jpg progressive?
>>
>tfw can't find angular tutorial which uses http.get from a real api and promises
>>
>>55325350

But why?

There are lots of decent CMS systems out there.
Why doing the work other guys have done before (with bigger teams and probably more experience)?
>>
>>55337703
Because I want to learn something for a change. Biggest things I built in 2 years were a todo app and a pong game while in my college PHP course I gathered things from a database and showed them in a table.
>>
>>55337703
And also because I don't want to be called a pajeet wordpress developer.
>>
wouldn't it also be possible to write such a cms in java?

Or aren't there as many servers with java support?
>>
Can I learn (almost) everything about the language/framework just by reading docs? Could I immediately write whatever after that?
>>
>>55337536
Node is shit. How are you having a hard time with PHP and MySQL?

Literally:
$db = new PDO('mysql:host=127.0.0.1;dbname=lol', 'db_user', 'db_pass');
$st = $db->prepare('SELECT * FROM `users` WHERE `username` = :username LIMIT 1');
$st->bindParam(':username', 'testuser123', PDO::PARAM_STR);
$st->execute();

if($st->rowCount())
{
die(print_r($st->fetch(PDO::PARAM_OBJ)));
}
>>
>>55327778
>40 years
>>
>>55337955
Absolutely disgusting.
>>
node killed javascript
>>
File: 1351275798734.png (117KB, 343x347px) Image search: [Google]
1351275798734.png
117KB, 343x347px
I am learning webdev, I learnt basics
HTML/CSS, Javascript.
Did many exercises to actually get JS into my head, but now I think like I am done with basics and I don't know where to go next.
I have JavaScript- The Good Parts, though I prefer learning while doing it.

I would like to know what should I learn next and how to approach it. Currently following bento.io.
Would it be enough to learn enough to actually start making simple and functional websites?

Sorry for a long post and incoherency.
>>
>>55338352
>I saw you born on the net back in ninety five
>Lying awake trying to use you on my Netscape
>Though you were young it didn't stop you coming through
>Oh a oh

>They took the credit for you amazing async
>Rewritten by hipsters on new technology
>And now I understand the problem of your callback hell
>Oh a Oh

>I met your functions
>Oh a Oh

>what did you tell them?
>Node killed the Javascript
>Node killed the Javascript
>>
What's the difference between
https://github.com/laravel/laravel
and
https://github.com/laravel/framework
>>
>>55338658
>https://github.com/laravel/framework
>Note: This repository contains the core code of the Laravel framework. If you want to build an application using Laravel 5, visit the main Laravel repository.
Is it really that fucking hard to read the readme?
>>
>>55338685
You'd be surprised. Half of the questions I get asked by people deploying my project can be answered with RTFM.
>>
>>55338685
hehe
>>
File: 1438892050716.jpg (52KB, 454x453px) Image search: [Google]
1438892050716.jpg
52KB, 454x453px
>>55318028

Do people really hold the idea that web dev is all HTML/CSS stuff? I use Go on the backend and React on the frontend at work and I leave after 8 hours. The "real" programmers who work on the game engine typically work 10-12 hour days and spend a lot of weekends at work. That's not worth it to me.
>>
>>55327789
lmfao that's not how promises work you fucking retard
>>
>>55327789
>>55339018
Promises are broken by design.
async (next) => {
await querysmth()
blabla
bla
await somethingelse()
sadasd
await etc()
next()
}
>>
>>55337823
B U M P
U
M
P
>>
>>55327789
promise.all
>>
Hey guys, I just finished Egghead.io's tutorial on Angular. What to do next?
>>
>>55337823

Practice makes perfect.
>>
File: Screenshot-1467302193.png (401KB, 1920x1080px) Image search: [Google]
Screenshot-1467302193.png
401KB, 1920x1080px
I just got a project to verify if I'm good enough of a developer. For last 2 days I've learned about build tools, but I can't figure out how to make grunt even do anything like compile sass for this project they gave me.

~/Web/emoto_html$ grunt
Running "watch" task
Waiting...
>>
I'm learning the back-end for the first time via node.js

I'm learning about file uploads using an node module called multer. It can save file uploads to a folder on the server, apparently. Is this like a folder adjacent to the index/server/app.js file or something?
>>
>>55339394
What do you think? The hardest time I have in development is that I never have any idea how much I know/don't know. I fucking hate it so much. I just want to be able to understand all concepts to be useful when I get into angular projects that is already in production.
>>
>>55339837

https://github.com/expressjs/multer

Read the docs. You pass the destination folder as a param to multer.

>>55339881
Relax, buddy. Deep breaths. You'll never know everything. If you're working on a project for yourself, learn as you go. When you encounter a problem, solve it. If you're working as a member of a team, someone getting paid more than you likely already figured all that out and you should just ask them. If you try to learn how to solve every little edge case before get started, you'll never get anywhere. As long as you have a decent grasp of javascript and the angular way of doing things, you'll be fine. React is the new hotness anyway, angular blows.

>>55339394
Practice. Make stuff. Solve problems. Do more tutorials. Rinse and repeat.
>>
>>55339654
on the bottom of your gruntfile.js you see the tasks that can be run with
grunt taskname

the default, when you don't specify a task, is watch (which will probably look for changes and compile everytime you do a change so you can preview it in a browser)
running grunt is the same as running
grunt watch

you could try running
grunt grunt-sass


to see what each task does you have to look at the actual tasks in your gruntfile.js
>>
>>55340189
>Read the docs. You pass the destination folder as a param to multer.

Thanks man. Dunno how this went over my head, this is blindingly obvious.

I guess it's not as blinding as my own INEPTITUDE WEW LAD HERE WE GOOOOOO
>>
File: mean-diagram-3.png (175KB, 1233x918px) Image search: [Google]
mean-diagram-3.png
175KB, 1233x918px
What's /wdg/'s opinion on MEME stack? Have you worked with one and how was it?
I'm working with AngularJS atm (quite like it, very comfy) and am want to try this out instead of the traditional PHP way.
>>
There's around 60 people using interface. Should the heavy processing be done in client side in js or in server side with php?
>>
>>55312102
Flask mega tutorial by Miguel Grinberg.
>>
>>55340358
There is rarely a good reason to use Mongo; go with Postgres by default. Express is okay but Koa is better. Angular is okay, too, but keep in mind it will likely take you longer to develop a SPA than a traditional server-side MVC application with PJAX. If the lack of threading and JavaScript's quirks don't faze you, Node.js is a viable, faster alternative to Ruby/Python.

Regardless of what you do with Node, however, remember never to start a project with Sails.js.
>>
>>55340590
>Sails.js.
Why not and what is it? Some kind of opinionated framework?
>>
>>55340610
yet another useless express clone
>>
>>55340610
It's a clone of Rails for Node, a poor one. This tells you just about everything you need to know: https://kev.inburke.com/kevin/dont-use-sails-or-waterline/.
>>
>>55340189
Also when you solve it, actually solve it.

Do what you can and only then can you Google.

You nevet learn shit if you just googlecopy what you need.
>>
is there any reason to use gulp/grunt anymore when we have webpack?
>>
>>55341934
is there any reason for gulp when there's grunt?
is there any reason for webpack when there's gulp?
>>
>>55337536
>i have a hard time learning php

PHP is literally the easiest language for web development. THE EASIEST

If you're having trouble with PHP then you should a) get a fucking grip or b) change careers
>>
>>55340358
Use React/Go/Postgre
>>
All anyone needs to know now is asp.net core.

Your other shit is stupid and needless.
>>
File: php.jpg (19KB, 398x598px) Image search: [Google]
php.jpg
19KB, 398x598px
>PHP
>>
>>55342186
>documentation saying app_offline.htm kills the server like on IIS
>it doesn't
>.dll still locked by server
>can't upgrade api
>have to kill dotnet.exe in task manager
o-okay
>>
What RCs do you use to stay focused?

ethylphenidate? 4f-mph?
>>
It's an easy way to whip up an MVC application, but's it's already on the way out.

Hapi > Express and Angular 1.x is already old news.
>>
>>55342478
fresh air, drugs are for degenerates
>>
>>55342478
Modafinil. It's the /rational/ choice.
>>
>>55339003
How do I git gud enough to be like this?
>>
>>55343990
how do I get modafinil without a prescription?
better yet, how can I get my doctor to prescribe it to me?
>>
File: image.jpg (60KB, 500x465px) Image search: [Google]
image.jpg
60KB, 500x465px
I'm trying to build an ecommerce site. What's the /g/ opinion of using django/Python3 for web development?
>>
File: aa.png (39KB, 750x358px) Image search: [Google]
aa.png
39KB, 750x358px
Why though? Can I put function expressions inside an if block?
>>
>>55344093
>how do I get modafinil without a prescription?
That I can't help you with.
>better yet, how can I get my doctor to prescribe it to me?
See if you actually have excessive daytime sleepiness or apnea. Many people do.
>>
I am an amateur's curiosity question.

The most used websites nowadays are so advanced that they make it seem like literal web applications are the norm now. One easy example is how you can do absolutely everything in a Facebook session by staying in the same webpage, everything is animated, refreshes dynamically, etc.

Back when I did amateur web development in my basement, the back end and front end were strictly separate. The only standard I understood could make dynamic web applications was ASP.net, and I don't see it being used more than it was back then. Because to my understanding, it's costly and resource consuming and not really that good anyway.

So what changed? How are big websites such elaborate applications? What is even the go to way of making a webpage that dynamically sends requests to its server? Do they use integrated development environments to make websites?

Thanks /wdg/
>>
>>55344242
WHY WOULD YOU WANT TO DEFINE FUNCTIONS IN IF BLOCKS OH MY GOD THERE IS PROBABLY 100 MORE STABLE WAYS OF DOING WHATEVER YOU'RE AIMING FOR REEEEEE
>>
>>55344215
Literally why when there are solutions like Magento, WooCommerce, Shopify, Squarespace, Drupal, etc.?
>>
>>55344215
Django is pretty good. Rails may be faster to prototype with but Django projects are easier to upgrade to newer versions of the framework, which is a win in the long run. Python 3 is also a somewhat safer language than Ruby (e.g.,
foo = [1]; bar, baz = foo
throws an error instead of silently assigningv nil to baz). If you don't mind the lack of static typing, go for it.

P.S.: http://oscarcommerce.com/
>>
Is a lot of this job just copy and pasting other peoples shit and then tweaking it to get whatever you're going for? I don't know why that's just dawning on me now.
>>
>>55344399
Do a tutorial like http://tutorialzine.com/2015/02/single-page-app-without-a-framework/ to get a feeling for how SPAs (dynamic "single-page applications") work.
>>
>>55344587
>http://tutorialzine.com/2015/02/single-page-app-without-a-framework/
This looks pretty informative. Thanks.
>>
>>55344643
You're welcome, anon.
>>
>>55343990
I used a similar chemical called adrafinil or however it's spelled.

That stuff didn't give me my choice of focus unfortunately. Within an hour of coding I would be back to shitposting with the speed of 10 men.
>>
This website is pretty great for learning Regular Expressions.

It doesn't even take an hour. If you don't know it, then learn it real quick. Somewhat fun too.

http://regexone.com/
>>
>>55344437
I read that with Yes-Roundabout in my head

I need to go out more often
>>
>>55344242
Try to imagine what that means in a binary executable.

If I remember my CS classes, a function is translated by a compiler with what, in assembly is basically "goto"s. The function is a stream of instructions that is skipped over by default when you run the program by a goto instruction that goes the line after the function. If the function is called, a goto instruction goes to the line where the function starts, and at the end of the function, there is a goto instruction that goes back to the program's main flow.

Defining a function in an if statement is like making a block of code exist in a binary depending on a state that is declared and checked by the same binary. It's like the program has to build part of itself.

It's unholy.
>>
>>55344093
Kek unless you've got narcolepsy or a really chill doc, it isn't gonna happen.
Order it online like everyone else.. If the doctor prescribes it to you, they might try to push the more expensive US version, Provigil. You want Modalert.. It's generic, (developed by Pajeetpharma) cheap but works just as well.

>>55344973
I can vouch. *Afinil doesn't keep you "focused" on one task. It just helps you stay alert & awake on whatever it is you're doing. It's still easy to get side tracked unless you control yourself, Don't confuse it for ADHD medication, it was originally developed for narcolepsy to help people stay awake. Personally, I've had positive results with none of the common side effects.
>>
>>55345633
>a function is translated by a compiler with what, in assembly is basically "goto"s

>what is the stack?
>what are branches?
>what does a "call" do?
>what does a "ret" do?
>what are protection rings?

I know this is /wdg/ but c'mon...
>>
>>55344468
I think there's a stigma with having a template based site. And customers don't take merchant as serious
>>
>>55342478
I got some 4F-MPH, and I think I'm taking too much at even 10MG. It was *alright* as a pure stim but the peripheral heart shit was enough for me to not touch my 1G in the past few months. Even meth doesn't hurt my heart that bad.
>>
File: 2016-06-30c.png (2MB, 1600x900px) Image search: [Google]
2016-06-30c.png
2MB, 1600x900px
>>55311616
that's a neat design...

I should consider that.

I'm working on a homepage atm (just for me)
It looks like
1/3
>>
File: 2016-06-30d.png (2MB, 1600x900px) Image search: [Google]
2016-06-30d.png
2MB, 1600x900px
>>55345956
2/3
ok, it's a homepage AND a hentai web app (in progress)
>>
File: 2016-06-30e.png (1MB, 1600x900px) Image search: [Google]
2016-06-30e.png
1MB, 1600x900px
>>55345981
3/3

added a full-page dimmer with a command list.
(might need to mod it, though... I have a few other keys: esc to exit interaction screen, ? to toggle the command list, and enter to open the interaction screen - but I'm not sure which I'll keep, probly the command list one and esc. I don't think enter - prolly make a button for that)
>>
>>55346009
I like Chiruno and all but why is everything in chinese?
>>
File: CirnoArguePi.png (910KB, 1063x751px) Image search: [Google]
CirnoArguePi.png
910KB, 1063x751px
>>55346032
Why not?
(and it's Japanese, baka gaijin)

lol, but why not? I hope to move there someday anyway
>>
>>55346058
But it makes it difficult for your bakagaijin tomodachi on /g/ to check out your cool website.
>>
>>55345820
Why reinvent the wheel for something that has already been built and rebuilt hundreds of times? There are big names which are using those platforms too. Why waste so much time and money to build something which will probably not get as good as the biggest players? Meme incoming
>it just werks
But it's true. There's a ton of work to incorporate all those CRMs, ERPs, GOVs, payment gateways, security... I don't see the point, really. Rather spend it on something actually innovative.
>>
>>55345981
>>55346009
Is this auteuristic A E S T H E T I C S. or you can't into design?
>>
>>55345850
Well I couldnt source that so I havent tried it. I have 500 ethylphenidates coming soon though.

It's going to be nice to be able to actually work again.

I have ADD so bad I might as well be retarded. Doc might perscribe ritalin in september so this will definitely hold me over.
>>
>>55346234
I've always read that ethylphenidate was caustic and subpar for focus. Is it really that great for programming for you? Compared to, say, Adderall and Vyvanse? Tia.
>>
Can anyone link me to a good Computer Science/Web Dev resume example?
>>
File: Think_FingerToMouth.png (333KB, 818x977px) Image search: [Google]
Think_FingerToMouth.png
333KB, 818x977px
>>55346101
>I really don't have a response for that.
Good show

>>55346179
Well, I was thinking of adding a fullscreen option for the center panel thing.
but, I don't get whatcha mean?

Are you referring to, like VAPORWAVE?
Because I never really got into that, except that lulzy episode of "How to vaporwave for memeboys" by ass retard- ass cancer... Aztrosist

Why, is it not good?
>>
>>55346482
Baka desu suiseiseki senpaichi I'm not even sure what I'm looking at, but stuff is not centered, buttons with default styling and borders look bad, non-existing padding and elements touch edges, colors are everywhere and everything is too busy, as I said I don't even know what is happening here. Same icons for every link or whatever that is. I mean, it is kinda obvious, but if you want that style, fine, but at least fix those alignments and spacing.

All in all, it looks deprecated, and btw I didn't really mean vaporwave, but yeah, it's pretty

A E S T H E T I C

(Edit: guess I can't fully into memes and make it vertical because system thinks I'm shitposting which I'm obviously "not" doing)

Different, to say the least.
>>
>>55346387
Don't know. Aside from Adrafinil it's all I can get.

Doc had me on adderall at one point and it gave too much dopamine. I did bad work.
When I was on methylphenidate (ritalin) I worked miracles. Read ethylphenidate is very similar but more intense than ritalin. I will find out soon.
>>
File: 2016-06-30f.png (2MB, 1600x900px) Image search: [Google]
2016-06-30f.png
2MB, 1600x900px
>>55346833
>I'm not even sure what I'm looking at
It's a custom homepage that I'm also trying to dump a hentai app into.

>but stuff is not centered
It is, at least the page is. the right and left panes are 20% each (40%), and the center pane is 58% (leaving 2% for a margin)

The only non-centered elements are the link list on the left (left-alignment) and the waifu interaction screen (buttons are right-aligned)

>buttons with default styling and borders look
Well, I was gonna modify them a bit, at least. though, the exit buttons and the help button at least have a different background color. Will have to add a border change color. didn't actually know button elements could do that.

>non-existing padding and elements touch edges
I never really used padding for much. only some items. That's a design choice, though. It's easier to style it exactly and remove initial spacing styles.

>colors are everywhere and everything is too busy
You are right about this. After I got the overall layout I want, I can try to make some of the panes completely clear, except necessarily-opaque objects, like the message box.

Thanks for that.

>Same icons for every link or whatever that is
Well, I used the same icon for all the submenus. The actual links are different by section.
That was my networking section.
Here, for example, is my Weather icons.

But, that's a temporary flaw. I'm gonna switch that, but I need to find the best icons, first

>but at least fix those alignments and spacing.
Like I said, above, out of everything you said, I do NOT understand this one. I'm serious. Can you make a suggestion for how the alignments/spacing should look?

Like, what's actually wrong with it?
>>
File: 1442787013667.jpg (63KB, 878x814px) Image search: [Google]
1442787013667.jpg
63KB, 878x814px
>>55347099
>Doc had me on adderall at one point
I wish I could get my doc to let me try that.

Woops I almost typed out a bunch of shit that no one cares about again.
>>
>>55347161

>>55345981
Why is the red close button at the bottom right touching the edges, while other buttons are not? Set some padding right there. I would probably center align the section with buttons and put the close button somewhere else, or at least left align the buttons and keep the close button on the right. Everything just randomly floats to the right now and creates unnecessary space on the left and it's not good when the close button is right next to them, it breaks a design gestalt rules and all that jazz. Make separate functions stand in their own place, don't mix the close button with other buttons.

>>55346009
Give some left padding to a title ('Command List'), probably align it with the padding of inner section, it creates a lot of fictional vertical lines, it's better to center them both on the x-axis.

I guess that's that. Colors also look old school, that light blue and red, like old windows, I'd choose some other pallete, but if you wanted it like that, it's cool.

>>55347161
Hm, actually those links on the left side are random too. It would look cleaner to either put them under the icons or straight to the side.
>>
>>55347215
I have ADD and it's difficult to get on them because of all the abusing college kids.

I was making more money at 16 on ADD meds than I do now at 27.
>>
File: 0ai4Ogi.gif (3MB, 350x351px) Image search: [Google]
0ai4Ogi.gif
3MB, 350x351px
>>55347342
I've literally been considering just buying them from dealers.
>>
File: f80.jpg (21KB, 600x330px) Image search: [Google]
f80.jpg
21KB, 600x330px
>Study and work a lot in my third world shithole
>Get job offer for .NET in the US and accept
>Everything is ready, all those things I learned will be applied here
>Get codebase
>There are no branches in the git repos, get slightly nervous at the sight
>Open a project, it contains a handful of folders
>I think to myself that it doesn't look that bad, as I proceed to click the "Controllers" folder
>A gorillion files show up, cluttering the Solution Explorer
>Open a file
>1700 lines of uncommented code
>1 method takes up about 1/4 of the whole file
>Interfaces for every single data repository instead of just a generic one
>Magic numbers
>A "utility" class of about 5k lines of static methods
>JS mixed in with the HTML views
>Projects are in different solutions instead of a single one, making debugging anything from a failing project a pain in the ass
>Haven't even looked at 5% of the whole codebase
A-at least it pays well. I just need to have my anus ravaged for 3-5 years and I can go back to my shithole to live the good life.
>>
>>55347342
Sometimes I think I have ADD. I set two goals for today: 1) I was going to finish my resume and 2) I was supposed to continue working on a project (which I'm getting paid for)
I did fuckall today besides watch TV and fap.
>>
>>55311535

What will happen if I use a Pi Zero to port scan on a McDonalds network?
>>
>>55347717
Nothing because McDonalds doesn't give a fuck.
>>
>>55347668
Mine is pretty obvious.

I have 4 websites 10% completed, 5 apps half done, 3 ebooks with about 5 pages each, parts for my 2 inventions everywhere, and a half finished Amazon order.
>>
>>55347928
Oh and I used to take this stuff called Craze as a preworkout. After lifting I would sit down and code like a madman. Launched that site and it's doing well. Only site I've launched in 3 years. Turned out Craze ended up getting banned for having some designer amphetamines in it.

If my doc turns me down I'll be surprised and then buy it anyways.
>>
>>55338453
Learn Java servlets, faggot.
>>
I want a semi comprehensive guide on learning javascript from the tooling to hosting using a relatively modern framework or set of libraries from a beginners perspective

Every other beginners tutorial I go to introduces the use of vanilla javascript and keywords and maybe a little jquery, but modern javascript seems like so much more then that. tooling like npm, libraries like Babel or Webpack(?), purely View components like React, MVC like Angular, full stack frameworks, server side Node, extensions of those server side like Node express, actually turning that into a hostable website ...

Anyone know a good starting point? I know some basic vanilla javascript already
>>
>>55347928
>parts for my 2 inventions
That's adorable.
>>
File: 1466124268097.jpg (30KB, 480x477px) Image search: [Google]
1466124268097.jpg
30KB, 480x477px
>>55324541
sad but true, I'm trying to get out of webdev after working so hard to get in. It's really hard to distinguish yourself as being above the bootcamp retards.
>>
>>55348776
One is a VERY quiet male masturbator.

Basically it jerks you off and is almost silent.

The other is a homekit to make a chocolate copy of your dick.

Still adorable?
>>
>>55349023
Yeah but now I'm also rock hard.
>>
>>55349035
My ultimate goal is to make one you can wear in public and control with your phone.

Only then will I go back to college.
>>
>>55348145
heres a pretty good starting project for react/webpack/node.
https://github.com/choonkending/reap
you're talking about a full web dev stack though, so dont fret if it seems like a lot, because it is.
>>
>>55349103
actually this one is simpler and better maintained:
https://github.com/choonkending/react-webpack-node
>>
>>55349103
>isomorphic
Oh for fuck's sake, I wish people would stop using that fucking buzzword. I don't even know what they mean by it anymore.
>>
>>55347421
What country?
>>
>>55347668
I have really bad ADHD.
I need some drug bad. I can't pay attention to anything for long.
>>
File: 1447797999820.jpg (28KB, 640x480px) Image search: [Google]
1447797999820.jpg
28KB, 640x480px
>do tutorial for thing
>notice something's wrong
>file a pull request to fix it
>hopefully going to have a big name repo on my contribution list now

I don't know if it matters to employers but I like the feeling.
>>
>>55334470
Enterprise Resource Planning (application, business)
(ERP) Any software system designed to support and automate the business processes of medium and large businesses. This may include manufacturing, distribution, personnel, project management, payroll, and financials.
>>
>>55349184
react can make special optimizations for isomorphic components though. if you have too much state it gets laggy.
>>
>>55345981
i was doing babbys first UX today on my project and you have a really fun tutorial here much better than mine!
>>
>>55349517
But what does it even mean in this context? Server-renderable?
>>
>>55342155

> Go

Hipsters
>>
Would a web homepage be a good first project for some fag who knows the basic, basic, basic, fundamentals of HTML/CSS/Sass webdev?
>>
>>55348954
It's like any other programming job, unless you're only doing front end. If that is the case then yes, it's shitty.

>>55349215
W-why?
>>
>>55349568
Yes.
Protip: write your own code, don't use SASS/etc.
>>
>>55349838
So, don't use external libraries? Alright.
>>
>>55349868
Well, yes.
I very warmly recommend writing ~95% of your code, at least until you're at a professional level. There are of course some things that shouldn't be reinvented, but especially at the beginning, writing your own code is the only way to actually get proficient.
jQuery would be an example of a library that has pretty much become an industry standard, which means that learning to use it is pretty much a skill in itself, in addition to pure JS.

But using CSS preprocessors without being at a "pro" level in pure CSS is just counterintuitive. You definitely need to know how to write good code yourself, before using tools that write your code for you. Otherwise there's no hope of writing presentable or even acceptable code.
EVERY, and I mean EVERY, tool that writes code for you (be it WYSIWYG editors, JS frameworks like jQ, Angular, CSS preprocessors, libraries, etc. etc.) will produce code that is inferior to code that is written by a pro. Way too often it'll even be inferior to code that is written by newbies.

A newbie using such tools is just shit.
Learn to code, then (if you need to) use tools to produce code faster.
>>
>>55350016
I kinda felt like that. Setting up CSS tags is really a bit tedious, but I find myself catching things I wouldn't have realized I was doing when seeing it in preview. I can understand the merits of writing code starting out when, 2 times out of 10, I won't be able to create a perfect, margined, button, with all the elements required to make it not look like pure garbage.

I'll go the hard way for this project, and maybe the next few projects until I feel like I can tackle a decent sized project using nothing but what I know (and what the internet can tell me beyond 'hurrrr check out dis library'), and reliably make elements and know what a good element looks like.
>>
File: 1454476542984.png (466KB, 498x342px) Image search: [Google]
1454476542984.png
466KB, 498x342px
>>55350110
I'm really glad.

Sadly front-end webdev is semi-easy to get into, meaning there are TONS of people just learning the absolute bare minimum, and then using other peoples' code to do the rest.
Employers often don't know literally anything about webdev, meaning these newbies may very well be employed.
The end result is a barely functioning, and totally unoptimized website that takes 15s to load, and is over 50mb in total.

I truly hope you won't be one of these people, making such websites.

Good luck.
>>
>>55350207
>The end result is a barely functioning, and totally unoptimized website that takes 15s to load, and is over 50mb in total.

How can I explain to them that I do everything myself?

I've been using vanilla js, css, and html since the late 90s but have never landed a job. Mainly because I was in school and then went military and then drank myself to death for 4 years and now here I am wanting a webdev job.
>>
Holy fuck guys. About a week ago I decided I need a new job so I will learn Rails. I already knew Ruby. I have never done webdev before at all.
I can't do SHIT with this framework. All I wanted to do was make a shitty chatroom site and I can't even do that, I am wrestling rails every step of the way. Does a user belong_to a chatroom, or not? How do I even update a nested attribute? Who the fuck knows, everything is abstracted behind 5 layers of bullshit. Things get pluralized automagically and I never have a single fuck of an idea what the expected syntax is for anything because it's all so automagical.
I could have written this thing in raw javascript by now but instead I have barely any functionality to show.
>>
what cdn do you guys use? im looking for something to host some images so that they load faster
>>
>>55351560

Well, Rails is probably the utmost "let-me-take-care-of-this-for-you" framework ever created by mankind. Some people love it for that, others hate it - just like everything.

But you might want to look into Sinatra then, it's also Ruby but much less heavyweight and also less "magic" as Rails. Or maybe Cuba or Lotus.
You could also take the Rack interface itself and add everything "manually".


Ruby isn't just Rails, you know? For a "shitty chatroom site" a smaller frmaework might be the better choice.
>>
File: JUST frog.jpg (44KB, 374x363px) Image search: [Google]
JUST frog.jpg
44KB, 374x363px
How do you come up with mobile website ideas?

I can't think of a good one to save my life.

Can someone hook me up with a website/service idea so I can make a mobile app of it and make some dosh?
>>
>>55350016

This is good advice..

But what would you recommend as "DIY language" for the backend then?

With HTML + JavaScript + CSS alone you won't get anywhere..


>>55351369

Just code, code, code..

Make a few websites for friends, try to get cutomers. And if you don't get any, then make websites for fun.

If you are putting effort in it you will eventualy see results.
>>
Just a quick doubt.
    <option value="Las Condes">Las Condes</option>
<option value="Lo Barnechea">Lo Barnechea</option>


Is the value attribute redundant?
>>
>>55353181
No, why would it be? The text content of the option is the text it shows up with, the value attribute is the actual value that you get when you read select.value or when you submit a form with it.
>>
>>55353301
umhh, I kinda remember that it defaults to whatever text is contained if there's no value attrib. Well whatever
>>
>>55349833
But frontend is more than html/css. It's also JS (+ frameworks like angular or react). Normies still couldn't into it easily. Don't know why is it getting shit from some people.
>>
>>55353323
That's true, but it's good practice to keep your form/javascript data and what's actually displayed on screen separate.
>>
>>55353351
Well then it does.
>>
How do i learn how to use intellij ide in a team environment? Also git?
>>
I recently placed a website on RedHat's openshift platform which uses git to maintain changes.
Once I git push on the server it instantly deploys the changes live.
The website lets users upload images on an image folder... the problem I'm facing is: once I git push my changes, the content of images folder gets wiped on the server (obviously, since my local repository has an empty images folder).
Is there any way to leave the "images" folder untouched?
.gitignore doesn't help
>>
>>55347303
Sorry for the really late reply. I fell asleep.
(yes in that short of a time)

Ok, I guess I see what you're saying with the buttons. Although, other than the close and info buttons, I hadn't really styled those up yet at all. They don't even do anything yet. They're currently kinda placeholders, but I'll hold onto that info. Thanks.
>Separate control buttons and action buttons

You're right about the title bar. I'll fix that.

>Colors also look old school, that light blue and red, like old windows, I'd choose some other palette, but if you wanted it like that, it's cool.
I was trying to stick with the theme of blue for Cirno, but I was going for something that stood out a bit for the close button. I like the red X, but I could look into other options.

I'm writing the functions AS WELL AS the styles simultaneously, so it's coming out a bit haphazard and then improves all in one go kinda thing.
Will look at other options, though.

>>55347303
>Hm, actually those links on the left side are random too. It would look cleaner to either put them under the icons or straight to the side.
Well, the items open under the submenus, but I was originally gonna put them in the center pane, and the divs at like buttons. IDK, I could try that. or make them float or something. Maybe expand the navigator and shrink the others when the spanners open.
>>
>>55352922
It depends.
In my country/area, PHP is still without a doubt the biggest requirement for back-end. You just can't land a job here without knowing PHP, unless you want to get a job at some "2016 start-up, with 2 people working here", which will go bankrupt in less than a year.

Sure, there's a market for other languages too, but PHP is 100% the most wanted skill. You can shit on the language itself as much as you want, I'm not here to argue with your preferences. I'm just saying that having "pro" skills in HTML, CSS, JS, and PHP will land you a job.

>>55351369
This truly saddens me, because I know this feel well.
I've been coding pretty much everything myself for 5 years or so, and I'm at a point where I know most of the front-end quirks by heart, and am able to produce a polished looking (and optimized) website in a few minutes.
The problem is that employers often (unless they're young/unusually tech-savy) have literally no idea about coding practices. They can't tell good code from bad one, they have no idea what it means to future-proof code, make it readable, semantic, etc.
Employers often see the immediate-result as what an employee is worth, and as such will hire the person who can use a tool the fastest (Angular to create a simple 1 div layout, or jQuery to do simple DOM manipulation).
Thus, employers often require knowing how to use these tools to create visually acceptable websites in just a few hours, without realizing how they're fucking themselves and the customer in the process.

If you want a job, you should:
1.) Learn the languages at their purest forms.
2.) ACTUALLY learn them, so that you are at a professional level.
3.) Learn the tools that other people have made and will produce inferior quality code.
4.) Find a job.
4.a) Job requires the use of these tools -> use them as little as you can or in a way that will produce the best possible code (still going to be worse than your own)
4.b) Job lets you write your own code -> Great but rare
Thread posts: 318
Thread images: 42


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

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


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