[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 Developer 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: 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 (1 MB, 1142x616) Image search: [Google]
audioautists.png
1 MB, 1142x616
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 (1 MB, 1117x667) Image search: [Google]
1466714328729.png
1 MB, 1117x667
>>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 (162 KB, 759x1278) Image search: [Google]
1467177779827.jpg
162 KB, 759x1278
>>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 (42 KB, 500x441) Image search: [Google]
1465353563576.jpg
42 KB, 500x441
>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 (9 KB, 262x263) Image search: [Google]
1462410948595.jpg
9 KB, 262x263
>>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 (10 KB, 176x184) Image search: [Google]
1446605954997.jpg
10 KB, 176x184
>>55316917
my man, thanks a lot
>>
File: dletebut.png (5 KB, 1177x248) Image search: [Google]
dletebut.png
5 KB, 1177x248
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 (49 KB, 433x277) Image search: [Google]
me.jpg
49 KB, 433x277
>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 (82 KB, 600x567) Image search: [Google]
CeGkQERWwAANb9Z.jpg
82 KB, 600x567
>>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 (203 KB, 380x550) Image search: [Google]
CWkqN8UU8AAfoHC.png orig.png
203 KB, 380x550
>>55311762
I guess people aren't that hateful about Typescript anymore
>>
File: 18mpenleoksq8jpg.jpg (41 KB, 636x477) Image search: [Google]
18mpenleoksq8jpg.jpg
41 KB, 636x477
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 (492 KB, 1400x2100) Image search: [Google]
1467233208508.jpg
492 KB, 1400x2100
>>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 (488 KB, 500x200) Image search: [Google]
fire.gif
488 KB, 500x200
>>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 (65 KB, 712x252) Image search: [Google]
you.png
65 KB, 712x252
>>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 (32 KB, 500x396) Image search: [Google]
aggro-gatordotcom29743.jpg
32 KB, 500x396
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 (132 KB, 283x424) Image search: [Google]
1457499078493.jpg
132 KB, 283x424
>>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 (152 KB, 1280x800) Image search: [Google]
Sketch82142220[1].png
152 KB, 1280x800
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 (56 KB, 636x477) Image search: [Google]
something like this.jpg
56 KB, 636x477
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 (117 KB, 343x347) Image search: [Google]
1351275798734.png
117 KB, 343x347
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 (52 KB, 454x453) Image search: [Google]
1438892050716.jpg
52 KB, 454x453
>>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 (401 KB, 1920x1080) Image search: [Google]
Screenshot-1467302193.png
401 KB, 1920x1080
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 (175 KB, 1233x918) Image search: [Google]
mean-diagram-3.png
175 KB, 1233x918
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 (19 KB, 398x598) Image search: [Google]
php.jpg
19 KB, 398x598
>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 (60 KB, 500x465) Image search: [Google]
image.jpg
60 KB, 500x465
I'm trying to build an ecommerce site. What's the /g/ opinion of using django/Python3 for web development?
>>
File: aa.png (39 KB, 750x358) Image search: [Google]
aa.png
39 KB, 750x358
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 (2 MB, 1600x900) Image search: [Google]
2016-06-30c.png
2 MB, 1600x900
>>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 (2 MB, 1600x900) Image search: [Google]
2016-06-30d.png
2 MB, 1600x900
>>55345956
2/3
ok, it's a homepage AND a hentai web app (in progress)
>>
File: 2016-06-30e.png (1 MB, 1600x900) Image search: [Google]
2016-06-30e.png
1 MB, 1600x900
>>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?
Thread replies: 255
Thread images: 42

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.