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

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 317
Thread images: 33

File: 1456449140972.png (868KB, 822x552px) Image search: [Google]
1456449140972.png
868KB, 822x552px
I can't find the newer OP edition.

I haven't been making threads for a while and neither has the other person.


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

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
http://www.freecodecamp.com/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

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

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

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/

> How to get started
http://www.youtube.com/watch?v=pB0WvcxTbCA
Good videos on the channel too
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
>>
Share your projects!
>>
>tfw first job started a few months back
>tfw perl

what a god damn nightmare. i studied nodejs, php, and rails for a year+ and now im doing legacy LAMP(erl) shit

guess ill stay here for a while to get my resume up to par. is 6 months junior dev long enough to become a mid level node dev? guess time doesnt really matter, rather skill.

hmm
>>
Currently doing the Tribute page project for Free Code Academy. I am not very focused atm.
>>
When that js works just as expected and ur html page fire
>>
>>56909965
>hates Perl
>wants a Node job
You're some kind of masochist kid.
>>
>>56909965
How hard was it for you to land that first job? I'm in college right now wondering how hard it's gonna be for me, I should spend more time trying to network
>>
>>56910138
Make a linkedin page or some other professional social media page you will most likely get recruiters looking for you. If worse comes to worse go to roberthalf and see if they can place you with a company.
>>
>>56910027
Ayy, another on FCC. I just got to the Random Quote Machine project, been procrastinating on it since yesterday. Still haven't built the portfolio page, I have no clue what I'd put on it, I'm still in school and am a pleb with no outside projects yet :[
>>
>>56910470
The portfolio page just make it like a business card like someone told me and use the Tribute page for the first thing. I finally got over my coding anxiety to make the damn page.
>>
>>56909398
http://www.spacewasterband.com/

My band's website I made.

Don't know why it loads so slow, other than the video page and the music page all the pages are under 1MB in data. I wonder if it's the fact that I'm using namecheap as a hosting service.
>>
>>56910138
Do you have a portfolio?

If not, start building it right this minute. Every time you write a piece of code, think about how it could be a portfolio piece.

In this industry you will live or die by your portfolio up until you get at least several years of professional experience on your resume.
>>
>>56909398
Currently working on a Spanish learning website that my older brother may help me with eventually. Its pretty basic and doesn't have a lot of features yet but I'd say it's going well so far.
>>
>>56910138
fuckin easy as shit. had 1 ruby on rails site (very simple) on my portfolio and another simple nodejs project. i didnt go to college, they asked me in the interview to write a power (ie 2^4 = 16) function on a whiteboard using any language. I wrote a for loop (should have written a while loop) in javascript and boom i was hired. they asked me other questions, simple stuff really, like what i like about developing and what my goals are.
>>
>>56911147
>>
Hi guise!
just made my first github-repo (please take it easy lol)

its a pure sass-based pure-css responsive horizontal menubar with easy to understand BEM- style naming of classes.

so instead of:
menubar > ul >li >ul >li > ul >ul >li >
ul>li>ul>li>ulul>li>ul>ul>li>ul>li >

you get:
.itemb:toggle > .itemB_submenu

hope it will be useful to someone :)
>>
>>56911565
forgot link:

https://github.com/liquidnuker/pureCssRwdMenubar
>>
is it worth it to pay a subscription to a site to learn web dev stuff or can I get the same thing for free?
>>
>>56911898
I'm pretty sure it's going to be shit either way. I certainly would not pay for it.
>>
>>56910167
>roberthalf
>.NET developer
>java developer
>senior web developer
oh shit, entry-level php for 35 an hour

Thanks for the resource. Literally every recruiter under the sun has denied my placement. M-maybe this will be the one?
>>
>Database Analyst
>$11/hour
>This position requires expert level SQL knowledge
>$11/hour
LUL
>>
Currently doing FreeCodeCamp and I'm thinking about skipping to the back end tutorials as I have no faith in myself working in front end.
Would this hurt me in my job hunt for back end positions? Will the employers look down on me for not knowing the front end stuff? If so then I'll just power through those tutorials as well.
>>
Thinking of getting a laptop. What's a good choice for pursuing web development?
Would I run into complications with a Chromebook?
Also I hear Mac/Linux OS works best for Ruby On Rails, what's the reason for that?
>>
Any good resources for learning Angular 2 from scratch?
>>
>>56913960
It's simpler because of the package manager from what I understand.

For a laptop just get an i5 laptop that won't crap out hosting a database and apache/ iis / nginx for testing. Not sure about chromebook though.
>>
>>56909395
Hi /g/
I just finished my first ever website, it's a personal one. Is namecheap any good?
>>
File: asdasas.png (4KB, 890x133px) Image search: [Google]
asdasas.png
4KB, 890x133px
This probably doesn't belong in this thread but I figure its the best place to ask.

I run a website, and I've been watching the requests come in, and one thing I've noticed is that my own requests are being mirrored (with a delay) by some bot. It's literally the same request, with all the variables. It's not a generic URL either, it's a URL with parameters for a search, so it's not a crawler. There is about an hour delay between the bot and my own requests.

The request is from some Amazon EC2. There's no javascript on my site or tracking, but it does run through Cloudflare.

Has anyone seen this before?
>>
>>56915344
nigga got adware
>>
I've created a webpage completely, but when I zoom in or zoom out everything is gone. How to make everything go to mid when zoom out? Zoom in I'll fix with media query.
>>
i need to buy some domains. what is the best site to use for this? i have used godaddy years ago and use their domain search to find what is available, but i've seem some posts here poo-pooing them. why?

regardless, where should i buy domains?
i have a hosting package already that i got free which is unlimited and as it is just landing pages, i don't need lots of hosting. domains should have the whois secrecy too.
>>
>>56915537
i use iwantmyname to support my new zealand boys
>>
>>56915489
did you write that crap with tables or smth?
>>
>>56912524
This is why I left web development. Attracts too many "business owners" who don't live in the real world.

Mild schadenfreude from seeing them all crash and burn lately from hiring pajeets
>>
File: Spaghett.jpg (31KB, 550x407px) Image search: [Google]
Spaghett.jpg
31KB, 550x407px
>have zero CS/network education
>smooth talk way into API dev job

how did this even happen /wdg/

what is going on with my life
>>
>>56916532
Congratulations. Have you gone through any specific online learning course(s)?
>>
>>56916671
the extent of my computing knowledge is python for babies
>>
>>56911898
you can get a few of the Udacity web dev packages for free through torrenting
>>
Do you guys use a control panel (like DirectAdmin) for you website or not?

I currently set my VPS up without one. And everything works quite well. But I'm afraid any (unforeseen) trouble shooting would be problematic.
>>
>>56914977
yes, very good support when i was stuck with a ssl thing
>>
Cant wait for webassembly to kill you all off
https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
>>
>>56917814
Reading this made me depressed, Javascript was my only hope at getting a job..
Should I just learn Django or Rails or even Java?
>>
>>56917814
>>56917859
Well most browser addons are basically javascript these days. Maybe you can develop a killer app lol
>>
>>56915745
Yeah. I should also say that expert level SQL here goes for between 60 and 80 an hour.
>>
File: 1475278324873.png (1017KB, 665x663px) Image search: [Google]
1475278324873.png
1017KB, 665x663px
So what's everyone working on?

I'm working on a Node.js social media/blogging site. I'm not sure the direction I want to take with it yet, so I've been mixing Twitter/Facebook/Tumblr/Medium all into one.
>>
File: max_connections.png (116KB, 1523x479px) Image search: [Google]
max_connections.png
116KB, 1523x479px
I'm running a local LAMP stack, and I am trying to test something by running a lot of AJAX requests at the same time. But, what I noticed is, they don't all run at the same time, I only get 6 running at the same time.

Pic related. All of these ajax requests are started at the same time in a loop. slow.php just sleeps for 5 seconds and returns. And you can see that the first 6 all run at the same time, while the next 6 spend that time "connecting" (The orange bar is connection time, the blue bar is waiting for the php script to execute).

Is there a setting in apache, php, or the browser, that would limit this to 6 requests at a time? I would like to increase this limit to do more extensive testing.
>>
>>56918157
Currently trying not to kill myself/punch a wall while diving into Magento 2.
>>
>>56917814
Why would WebAssembly kill anyone off?
>>
>>56918196
Cause a compile target of any other major programming language? Turning your browser into an any-language-goes VM will make javascript kind of moot. Not uncle shekelbags moot, pointless.
>>
>>56918212
Javascript will die off the same way PHP will die off.

Probably never.
>>
I'm starting html on codecademy :3
>>
>>56918244
The only legacy javascript will leave is the node backend which dies off without any help every 6 months. Yes it will exist in browsers but nobody will care.
>>
>>56918273
Meh, maybe. We'll have to wait and see.

I personally don't see Javscript/Node leaving any time soon, especially with all these companies moving over to Node and being built on it.

I've heard the same thing about PHP and how it will die off soon for years. Javascript is far too popular and depended upon to die off, even if there is a better alternative. Its just the way it is
>>
What is the lifetime of any single node library? It's at MOST 6 months at the very farthest outside.

PHP held on for 30 years so it's no surprise people are constantly trying to unify things into it despite it being literally PHP.
>>
>>56918161
The browser limits the number of simultaneous AJAX requests per domain.
>>
>>56918354
Where are you getting the 6 month lifetime statistic for the libraries? Things like Express, gulp, lodash, socket.io and mongoose are all still thriving, and they are older than 6 months.

Maybe you're talking about the smaller modules that have specific use cases or someone makes a better alternative. In that case, its just the ecosystem.

Now, I do agree that there are a lot of libraries popping up and then die after a few months, but that's just because Node is still fairly new and a lot of people are hopping on the Node/JS train and making a lot of modules. Which in that case, I don't see why that would be any indication that Node is dying. I see it as the opposite.
>>
>>56918157
A website for a behavioral health clinic, an app that shares pictures and another app that has p2p video streaming.
>>
>>56917745
Webmin
>>
>>56918501
I would say that gulp's lifespan thus far has been roughly 1 year of actual use and this year's peak is probably behind it.

I'm not saying it won't stick around for a while but the web framework world is a very fragile thing. If they can't keep up their releases to whatever new feature is maximum hype or they accidentally fragment something somewhere, they're as good as dead.
>>
File: toad.jpg (453KB, 1500x1571px) Image search: [Google]
toad.jpg
453KB, 1500x1571px
I plan on going hard w/ the ODIN project. Anyone interested in some srs study-sessions?

Strict coordination is not necessary.

Looking for people interested in establishing contact. We'd keep each other busy studying/working.
There are few things as effective as establishing commitment to and working with real people(science).
Contact me at wieland_dahl at protonmail.com
>>
>>56919213
gtfo len trexler
>>
>>56916532
This gives me hope. I work a wagecuck job and really want to get into webdev. I'm pretty decent with CSS but shit at pretty much everything else. The problem is it's hard to hit the books hard after dealing with customers at a register all fucking day, so I'm learning this stuff too slow for my liking.
>>
>>56921706

Same. I'm in school, and working in construction. Studying at the end of the day is tough, not to mention, I'm only able to take a couple of classes per semester, so this shit is dragging on.
>>
>>56918469
Ah, so likely any user of my site would be experiencing the same thing in a production an environment, correct?

Thanks, just wanted to make sure my local apache/php wasn't limiting it, causing me to not test thoroughly enough.
>>
>>56922005

Yes
>>
why are latin letters blurry when they're next to korean letters but not on their own. Happens only on this font (afaik).
http://codepen.io/anon/pen/kkxqoJ
>>
>>56923241
I don't see a difference, anon.
>>
File: oljkqf.png (20KB, 1604x528px) Image search: [Google]
oljkqf.png
20KB, 1604x528px
>>56923996
The heck?
>>
File: 123123123.png (4KB, 480x144px) Image search: [Google]
123123123.png
4KB, 480x144px
>>56924052
Mine looks fine. I'm also on Chrome + Windows 10, maybe it has to do with your browser?
>>
>>56909965

same bro, where do you live?
>>
>>56924189
Chrome os x
>>
Does anyone (or can anyone) have a list of ALL the "technologies" you use as a web developer, in mainly javascript? Including all libs, task runners etc. I just want a good idea of every technology that's being used.

>>56917814
Gave some insight in what these might be, but there might be something more serious and comprihensive out there.
>>
>>56918157
An Angular based single page weather app for an interview. I have almost no experience in Angular outside a codeschool course I took and I'm just throwing whatever sticks at the wall. It seems to be turning out okay though outside of spending a few hours doing fuckall cause I didn't know it needed a routing script as well. Is there any other API's that are more generous with their free call limits though. I'm using WU's API and since I'm doing six cities to begin with, It's causing me to fuck up my limits if I refresh more than once a minute.
>>
>>56911285
>>56911285
that sounds stupid simple. Where do you live? How much are you getting paid? How's the job (easy/hard/braindead)?
>>
File: 1450668084760.jpg (93KB, 851x1280px) Image search: [Google]
1450668084760.jpg
93KB, 851x1280px
What are some good web dev projects that I can add to my portfolio that will get me hired instantly?
>>
>>56926967
Seconding this.
>>
new to web design. is it true that psd to html/css is no longer used? how do people mockup nowadays?
>>
>>56926967
giant ascii dicks is always a good start
>>
Is it me or "front end engineer" and "web designer" positions have been merging into one lately?
If any decent designer (designer, not engineer) nowadays needs to know HTML / CSS / JS + all the hip tools like React, what are front-end engineers even left with? Will they just die out eventually?
>>
>>56924939
Cache
>>
File: 1428889787809.png (90KB, 618x618px) Image search: [Google]
1428889787809.png
90KB, 618x618px
>>56927637
>>
>>56927784
I'm not joking though
>>
How do I into basic CRUD app?
>>
nb4
wrong thread i posted earlier im sorry
--

Please I need job. it can be part time. This is my pet project.

https://pvp5.com

Please im all around in programming design etc
>>
>>56924269
utah
>>
>>56928217
I was wondering this myself lately. I've tried setting up a few by using various tutorials and guides. They all require at least 50 frameworks and external dependencies. Nothing ever works as advertised in the tutorials of course, and at some point I'm sitting there with 100 different files of source code and I just give up because of how needlessly complicated everything is.
Then as soon as I muster up enough courage to try again with a different tech stack it just happens again. NodeJS, ruby, go, ... they all suffer from this problem.

What I want should be exceedingly simple.
A web server.
A REST API.
Some form of authentication.
Persistent storage.

How in the fuck is this so difficult to set up? Or am I just retarded?
>>
>>56931012
You might be retarded. I'll write a basic crud tutorial and post it here. Maybe this weekend
>>
How are you guys abstracting away your database?

For me, I have a class for every table where one row equals one object.
>>
>>56931702
Is it going to start with "first you must npm install express, don't worry about what this does for now"?
>>
>>56918320
>all these companies moving over to Node
What companies are doing this? My company supports about a dozen big names and none of them have gone to Node or even considered it. There's a lot of Java -> C# but otherwise not much going on.
>>
>>56910112
underrated af
>>
tfw paypal's own code returns 500 when you try to run it
>>
File: back-end.gif (971KB, 270x252px) Image search: [Google]
back-end.gif
971KB, 270x252px
>>56927039
I'm asking myself the same question.
At any rate, I'm moving to backend since the front is a giant shitstorm with no betterment in sight.
>>
>>56933536
trying to get into backend. Can you share your study guide? I'm using C#, but what particular skills should I have?
>>
File: arc-text.png (10KB, 1001x465px) Image search: [Google]
arc-text.png
10KB, 1001x465px
>>56909395

Hey guys I'm attempting to produce a php image by merging text onto a pot ribbon, the text is custom fed through the $_get['name'] bit in the url.

I've been using the GD library to do all this but I don't know how to skew the text towards the top of the ribbon instead of just going around a arc.

Image and code attached.

http://codepad.org/9YgoDNah

Do you guys know how I would go about and do it?
>>
>>56917814

well they have to justify $88k salaries somehow.
>>
how do i stop someone from stealing my html (hyper text meta language) besides copyrighting and trademarking it? basically how do i stop someone from downloading my website onto their disk and only let it load encrypted in the ram memory? i dont want people to be able to view my source code for the front end as im ordering my html in a very special way
>>
>>56935304
so that's what html stands for? You learn something new every day.
>>
>>56935304
lel get rekked fuckface, there's no way to do that. Also, what special fucking way could you have for ordering html?
>>
>>56932199
If you are at this point, i think reading nodebegginer will help you more than following some contrived tutorial
>>
Need to make a "Hot or Not" web app in 4 days.

Any suggestions as for front-end JS frameworks?
The rest will probably be pure PHP with Bootstrap for responsive design.

Pics gotta loop forever and I have to prevent often pairing repeats. Picking the "hot" has to be AJAX and has to work even if the JS is disabled.

I've a pretty good idea how and what to do, just wondering what JS frameworks could help me here.
>>
>>56935304
What?! Why do you think you are such a special fucking snowflake that your HTML is so valuable? Anyway, you can't. If you want to stop someone from watching you HTML source, you shouldn't let them see it through a common browser i.e you have to create a desktop application. There are ways to do that with HTML+CSS+JS. Google: electron/nwjs
>>
>>56936767
>has to be AJAX and has to work even if JS is disabled
>AJAX with JS disabled
>AJAX definition: Stands Asynchronous JavaScript and XML.
>>
>>56935304
are you retarded
>>
File: Bait_7594d3_5907668.jpg (57KB, 900x901px) Image search: [Google]
Bait_7594d3_5907668.jpg
57KB, 900x901px
>>56936251
>>56936793
>>
>>56936848
Lemme rephrase.

Choosing the photo has to be done with AJAX call but I need to make it so everything just werks even if JS is disabled.
>>
Is anybody here doing wed dev with .NET or MVC? I'm looking for tutorials for MVC, books, videos, blogs, whatever. Hit me with something good... And yes, I'm doing it just for the money, from what I've seen, by far the largest amount of jobs out there go to java/.net devs, so that's what I'm following.
>>
is nodejs still a meme or is it time to learn it?
>>
>>56936905
how are you going to call ajax with js disabled?????
>>
>>56937883
good luck competing with pajeet, hes been coding script kiddieing since his teens.
>>
>>56936497
The problem isn't with node itself. It's with getting the billions of plugins to work together nicely. And learning 20 different DSLs.
>>
>>56938159
Just... wew, lad..

Obviously I'm not going to call fucking ajax with JS disabled. I'll just roll with POST via PHP

The point I already made is that even with JS disabled, the web app has to work.

>>56936767
Bump for framework suggestions.
>>
>>56938447
Just use bootstrap. It's not like you need something advanced to display 2 pictures and 2 buttons.
>>
I have a school project about man-machine interaction where we basically need to make the front end of a website, some of my colleagues don't know web, any good website mockup creators available that you guys use?
>>
>>56938181
I'm here in the UK, so we don't have your H1B Visa scam. Still, is it that bad? There's literally thousands of job ads all over the country, not all of them are going to the pakis and pajeets, right?

If not C#, what's a good backend language with tons of jobs?
>>
>>56938957
Different skills are hot in different places, look at the job postings for back end positions in your desired working area, they'll list what skills they want from you. Keep in mind that these are a bit like Christmas wish lists and you don't have to know absolutely everything if you have a decent personality.
If Node.js is big in your area then I can recommend Free code camp's back end certificate for learning.
>>
>>56938851

Balsamiq
>>
>>56919213

i'm in only if you're a heterosexual non-pajeet male.
>>
>>56923241
you can't load fonts cross site without the right CORS header sent. Your example does nothing
>>
>>56911898
You don't have to pay for anything.
>>
I desperately need to git gud.

Family friend asked me to build him a website for his small business.

Nothing like actually getting to it, to make you realize how little you actually know.

Probably going to wind up being a massive faggot and working off of a template.
>>
What do you think of Babel?

https://babeljs.io/
>>
>>56940057
>working off of a template.
nothing wrong with doing that, if you actually put some effort into it and personalize it and make it non-generic shit. It's a good way to learn, and why the fuck would you want to reinvent the wheel when it's already there for you?
>>
hey /wdg/, would you kindly give me some help?

I have a xml with a lot of itens and need to iterate over it and access every item. I don't know shit about jQuery or Ajax or Node or whatever and I couldn't understand exactly what they do. Looks like I should use Ajax if I'm getting those xmls from a webservice, which isn't the case (yet). Can I do it only with jQuery? Do I need jQuery at all?
>>
>>56940144
>why the fuck would you want to reinvent the wheel when it's already there for you?

I guess that's fair.

I'm still pretty green. I guess I just assumed working from a template was a crutch, or cheating somehow.

Thanks, anon.
>>
>>56940081
it werks
>>
go go gadget
>>
>>56938143
It's a meme. It's good for making neat little projects here and there, but it runs into scaling issues down the road.
>>
>>56911156
Not that anon but I'm making my portfolio now. I finished designing it and am now adding old projects. I have 4 good old projects but they're all html/css only, nothing else really.

Do I need to redo them all or would a company want to see what I can handcode without bullshit like bootstrap and a template etc...??

Is 4 projects even enough?

Granted this is all for an entry level position.
>>
>>56926967
The project doesn't matter per se so long as it has several components of common web applications. You need database interactions, MVC patterns and rich UI just to name a few.
>>
>>56940408
How deep are we talking here with the database interactions?
>>
>>56938447
Phalcon
>>
>>56940924

Just simple storage and retrieval. You don't have to go balls deep in stored procedures or anything, but a simple selects with joins are enough to demonstrate basic competency.
>>
File: Web_Development.png (317KB, 3500x1469px) Image search: [Google]
Web_Development.png
317KB, 3500x1469px
>>56933832
Well, I'm learning Node.js with Express for now but planning to transition to PHP/Laravel as time goes by.
Just go to https://laracasts.com/ and start from the very beginning (PHP practicioner course is free) and build on that. That is my plan at least.
Also, consult this video (you can skipp to the back-end part): https://www.youtube.com/watch?v=sBzRwzY7G-k
>>
File: Screenshot_109.png (70KB, 1902x1009px) Image search: [Google]
Screenshot_109.png
70KB, 1902x1009px
Does /g/ approve of my design choices?

https://publicdb.host/
>>
>>56941104
Well I'll have to Google those terms. Thanks for the help anon.
>>
File: IMG20160816_192701_-1440364988.jpg (154KB, 607x640px) Image search: [Google]
IMG20160816_192701_-1440364988.jpg
154KB, 607x640px
Where do you guys go for HQ photos to use for your websites? I'm building my portfolio (like everyone else) and it looks like modern websites are pretty much just HQ photos as backgrounds.

Most the picture sites are behind paywalls or logins. Aside from deviant art where go??
>>
>>56941614
pexels.com
>>
File: file.png (793KB, 890x594px) Image search: [Google]
file.png
793KB, 890x594px
>>56941767

This garbage ass code is a stock photo from there.
>>
File: 1466652905787.png (134KB, 299x301px) Image search: [Google]
1466652905787.png
134KB, 299x301px
>>56941767
Dood! Nice site.

>>56941831
Don't let your autism run the show anon. It's just a pic.
>>
>>56941767
>>
What's a good way to do access control based on both the user and a requested resource?

ACLs only seem to cover the user and entire classes of resources.

Using express but may switch.
>>
Am I gonna make it guys?
>>
>>56942461

We're all gonna make it.
>>
>>56942461
You will but I won't.
>>
>>56942704

We all are.
>>
>>56942964
Except for me.
>>
>>56932119
sqlalchemy
>>
>>56943048

You too, faggot, whether you like it or not.
>>
>>56942461
>being in web
>not gonna make it

Pick one.

It's not hard to get a job. On the other hand, I'd argue it's boring as fuck and basically a monkey job, I don't get any satisfaction from this shit and hate everything related to this industry but shekels are shekels.

And while we are at shekels, I'm wondering what web technology gets you the most of them?

Frontend:
>angular 2?
>react?
>vue?

Backend:
>node?
>python with django or flask?
>rails?

I possibly have a job opportunity but that would require me to learn angular 2 which I hate with passion (ng1 as well) and I just can't bring myself to study it.
>>
>>56910470
I just made one for fun in py

>BMI 43
plebian for the lulz
'>be me comfy af

http://pastebin.com/y0AWdFjh
>>
>>56913960
thats a meme, windows rails installer is easy as f
, but with linux your not gonna wanna install system wide which makes things confusing for me

(and im also a linux nerd, gotta be like the only one good thing youll hear me say about windows)
>>
>>56931012

Seconding on this. Make it have a WPNXM stack and in plebian PHP. I'll definitely read that.
>>
Who else here cashing in on the 4chan hysteria and developing their own imageboard for sercurity?
>>
>>56944782


lemme see
>>
File: test.png (63KB, 1360x726px) Image search: [Google]
test.png
63KB, 1360x726px
>>56944847
Material memin because why not?
Trying to avoid JavaScript
>>
>>56944782
Why there are other Chan boards that don't have captchas. I'll just go there. The only thing bad about them is they are super slow. Yours will be 100x slower than them.

Is it a hard thing to do?
>>
>>56944982
Nothing is a hard thing to do when the general concept is open-sourced in plenty of different ways and sizes.

And slow speed is comfy tbqh
>>
I want to make a EconJobRumors clone

What should I use, PHP or Python? Or just use client side rendering
>>
>>56938374
nodebeginner is a really good book using vanilla node...ie beginner. Express is an abstraction of the http module. just google nodebeginner pdf.
>>
File: millenials.png (157KB, 515x656px) Image search: [Google]
millenials.png
157KB, 515x656px
<body>
<script type="text/javascript" src="js/my-component.js"></script>
</body>


I'm new to React but is this really how you insert components into HTML? Why wouldn't it let me do boss shit like Angular does like
<body>
<MyComponent />
</body>


Or am I just missing something?
>>
What's the best way to detect and deal with people that use ad blockers? For my website I have an OnError handler attached to my ads.js script and that gets the job done, but is there a better way to do it?
>>
>>56946379
Urge your users to turn off ad block and make sure you use an ad service that doesn't have malicious-ish ads.
>>
Save images as blob, base64? Same thing? Or in a folder with db pointer?

Which is faster and/or uses less resources overall.
>>
>>56946198
Yes, that's how react works. Also I never used Angular so I dont know.
>>
>>56921706
in honesty the reason i got the job is because im a literal genius and graduated from one of the top physics programs in the world so i convinced them i could learn quick, but i still have no idea what im going into

good luck though, my tips would be to be smart and pretty and congenial
>>
I can never finish projects.

I get distracted with new ideas that I like better.

I will never have a portfolio.
>>
>>56911898
Just buy a fucking book
>>
Been wondering about the best way to get frontend assets (external css, js, etc) setup to be used both in a dev environment and in prod.

Across various projects I've included my frontend libs in my scm, used npm and browserify, bower, etc.

Been looking at webassets for use with Flask recently but I don't like all the dependencies it wants (java, ruby) if I'm working on pure-python projects.

Suggestions?
>>
>>56947402
desu you will save a ton more time if you learn through videos, they get to the point and you get real practice
>>
How do you guys not get bored of constantly coding the same shit over and over again, especially you with fucking imageboards, blogs and weather apps?

And this field doesn't deserve such a high salary in my opinion.
>>
>>56947542

Obviously not.

Video:
>Hi my name is blablabla and today..
>(skip after one minute of chitchat, forward ten minutes)
>..so many people ask me..
>(skip another ten minutes)
>..and what did we just do? Yeah, we build the complete app!!
>(deperately trying to find the part where the action happens)

Book:
>Look at Index
>Oh nice, what I want to know is at page 121 and 322
>>
>>56948558

>not watching at 2x speed
>overexaggerating this much

You probably just watched bad tutorials.

Btw, learn from both resources.
>>
>>56948603

Nah, you just suck.
Videos are for suckers, therefore you suck.

q.e.d
>>
>>56948507
I find that writing code for underlying mechanisms rather than actual applications is more satisfying.

ex. instead of a websocket chat, write the actual websocket lib/impl
>>
>>56948639
I use more books nowadays, but videos can still be helpful. Nice projection there, mate.
>>
>>56948685

Sucker.
>>
>>56948660
Yeah, I don't find that interesting unfortunately. Guess my brain is just not wired for it. Life will be nothing but a suffering I'm afraid.
>>
File: autistic frog.jpg (9KB, 240x193px) Image search: [Google]
autistic frog.jpg
9KB, 240x193px
>tfw deleted the production VPS by mistake
>>
i am bad at CS.

Back to web dev.
>>
>>56948769
Retarded frog poster kill you are self
>>
>>56938143
it's a pain in the ass. very shaky. use go
>>
>>56946198
you're missing everything. go back to the beginning
>>
>>56948769
jesus christ
>>
>>56949196
I hear about only in this thread.

Are Django or Rails good/have good salaries and a lot of open positions? Also, what is better to learn - flask or django?
>>
Is there an easy way to display html/css inside a canvas? I know a canvas can display text, but could I somehow feed it html and it would display it as if it was html? I know it's a very specific question but if that works that would make some stuff a lot easier.
>>
>>56949584
https://developer.mozilla.org/de/docs/Web/API/Canvas_API/Drawing_DOM_objects_into_a_canvas

Nvm I found it, just had to try more different searches in google.
>>
>>56946434
Always used folder
>>
>>56941851

>caring about quality is autism
>>
File: lelebinhackermanmeme.png (333KB, 940x1050px) Image search: [Google]
lelebinhackermanmeme.png
333KB, 940x1050px
I need to build a backend and a frontend on a server with only PHP7, Python and MySQL installed. I don't have root, so as far as I can figure out I can't install any frameworks to make the job easier.

I managed to install Django, but I can't install mod_wsgi because I don't have sudo I guess... So that is fucked

The site needs to:
>Handle members
>Have a webshop for the members (payment through the site isn't necessary)
>Handle inventory
>Members have to be able to sign up to events and shit.

So I might be wrong, but the only options I can think of to make the job a bit easier is to use:
>jQuery
>Possibly Material Design Lite?

I'm not experienced in web dev, so do you guys have any ideas on how to make the job a bit easier? Or do I just have to man up and.....code?
>>
>>56950239
just use php dood
>>
>>56941225
Isn't this, like, illegal or something?
>>
>>56950239
Django should have some shopping cart/inventory libraries, you could also try Laravel.

I can't really tell without looking at your server setup but you're probably going to struggle without root, is this on a shared hosting plan or do you have physical access?
>>
>>56950239
use cakephp ;) it's a framework like django i guess, really all those models/views/controllers are the same shit anyway. You should be able to get user login going in minutes.
>>
>>56950490
That was what I feared, but thanks anyway my dewd :-*
>>56951020
I was looking into Laravel, but from what I saw I had to use Composer to install it which makes it a no go as I can't install Composer. It's a shared host, but I can contact the department in charge of the server and request them to install stuff... Doubt they will listen to me and if they do I think my requests will end up at the bottom of their to-do list ;(
>>
>>56951049
>cakephp
I see that you can install it without Composer, but StackO didn't recommend doing that. I will look into it though, thanks! :-*
>>
>>56944056
how's the payrate for C#? It's got the most jobs out there, together with java.
>>
File: 1464289698925.jpg (99KB, 736x920px) Image search: [Google]
1464289698925.jpg
99KB, 736x920px
>>56938447
If you need it to work with js disabled why do you want to use Ajax in the first place? You really want to debug 2x the code? 1 for js and 1 for no js.
>>
File: sketch-1475772758421.png (408KB, 1440x2560px) Image search: [Google]
sketch-1475772758421.png
408KB, 1440x2560px
>tfw almost there
>>
>>56951909
The app is a part of interview process. AJAX is what they asked for an so is a functionality even with JS disabled.

I found this http://v1.cherny.com/webdev/41/accessible-ajax-a-basic-hijax-example and it doesn't seem like much of a hassle.

My question, again, was about some helpful frontend stuff I could use to help me achieve the goals faster/easier but desu I don't think it's necessary. As I said in the initial post I'll just roll with Bootstrap, pure PHP. Will then slap some light JS/jQuery there + including the needed AJAX.

It's just facemash. I've no intention of reinventing the wheel.
>>
learn laravel or nodejs?
>>
>>56952058
neither
>>
>>56952131
What to learn then?

Django? Rails? ???
>>
>>56909395

Great Post, Thank you

> How to get started
>http://www.youtube.com/watch?v=pB0WvcxTbCA [Embed]
>Good videos on the channel too
https://www.youtube.com/channel/UCVTlvUkGslCV_h-nSAId8Sw

>updated for 2016-2017
https://www.youtube.com/watch?v=sBzRwzY7G-k
>>
>>56952182
learn the language first
>>
>>56952261
>implying I don't know the language already
I'm asking for a framework which jobs actually want and need.
>>
>>56951246
First, laravel sucks shit. Second, you don't run composer on the production server, you run it on a development server and deploy.
>>
>>56952058
Look at jobs in your area or try both and see what sticks better with you.

Personally I recently stopped caring about the former and decided to dive into Laravel. Last 2 weeks were "hey, that company that invited me for interview listed x as a plus, lets get basics of x" and I'm just tired of that.

That said there's a difference between checking out what they need in your area before even starting to learn that and chaotically checking out introductions to different frameworks day(s) before interviews.
>>
>>56952131
what about web assembly?
>>
>>56952314
all jobs in my area are either .net or java ...
(NY(
>>
>>56952058

>Learn Phalcon - Be a Real Dev
>Learn Laravel - Copy and Paste shit from Stack Overflow
>>
>>56952280

Most jobs are going to use, Symfony, Yii, or Zend. Be suspicious of a job that advertises Laravel because Laravel is a shit tier babby's first framework of cobbled together Symfony Components and it's really shit for any kind of serious application. It's too slow, to opinionated, and too inflexible in my opinion.

-t 15 year PHP dev
>>
>>56952368
but which one gets you more $$
>>
>>56952393

Neither Really
I have only ever seen a few Phalcon Postings, and the Laravel Postings I've seen don't pay great. Learning something like Phalcon will let you grasp the concept of MVC better than Laravel because when you learn Laravel, you learn exactly that, a single framework. A good OO/MVC PHP dev can easily make six figures.
>>
>>56952391
> 15 year PHP dev

wow, how do you do it?
>>
>>56952417
so should i just learn PHP and reinvent the wheel?
>>
>>56952427

What do you mean? Are you implying that the language is so shit that I should want to blow my brains out, because that really isn't the case.

>>56952442

You have to know the language in and out to leverage a framework. Use a framework on a project, sure, but use something less opinionated than Laravel so you actually learn PHP and MVC and not just one particular framework's implementation.
>>
>>56952462
what framework would you recommend?
I know PHP but Im not confident enough to say I've mastered it
>>
>>56952462
>implying you can't learn a framework, MVC and the language at the same time
>>
>>56949628
Ok I hope someone can help me.

http://pastebin.com/DSiCYbjd

Can't post it here, 4chan thinks it's spam. Anyways, after calling the function to create a menu object, the img.onload function is never called, and in fact looking at the img.complete variable gives me a NS_ERROR_NOT_AVAILABLE. What is happening here? Does the image get lost somewhere inside the scope and never manages to load? What should I do? Please help.
>>
>>56952576
if pajeet can do it so can we!


right...?
>>
>>56952576

I didn't imply that, I even suggested that he use a framework on this project for learning PHP. What I said was that some frameworks are going to impede your learning of the language itself because of their own very opinionated implementations.
>>
How do I know if I know the language good enough? I know all the basic things from loops to OOP and Ajax. Is that shit enough?
>>
>>56952633
depends on the language youre learning.
>>
>>56952633
probably not. You know the syntax, but can you code anything? Small apps or a web page with a couple of features.

Still, the only way to know is to put yourself out there and let your potential employer decide. You never know exactly what the fuck it is that they want.

Worst case scenario, they laugh their asses off at your CV, but hey, you won't know that.
>>
>>56952575

The framework that has the least opinionated implementation in my book is Phalcon, but that can be hard to install if you aren't running your orn server or VM. Yii is pretty good as well and it's straight PHP.. The worst, i.e. most opinionated implementations, are probably CakePHP and Laravel.
>>
>>56952667
Say, Javascript.
>>
>>56952594
Pajeets are cheap and the only metric in which they excel is LoC. A real developer has to be able to have a big picture view and understand what makes code good or bad.
>>
>>56952689
have you learned about
prototype, promises, generators, factories ?
if so, I think that pretty much covers js assuming you know core js
>>
>>56952679
Start pages, simple games in canvas, various interaction through CSS animations, using APIs and returning results based on queries. Is that good enough?

I also have 2 months of job experience with Angular and know the basics of Node and Express, but those are frameworks. Like, made a tiny angular app for comparation of different products, weather app, todo, used node with socket.io to make a simple real-time chat. It's all tiny, but I don't think I would be able to do those without frameworks though.

I don't know on what level I am and what to learn now.
>>
>>56952726
About prototype and promises and factories yes (learn about the last two when working with angular), not sure about generator.
>>
>>56952280
Lol wtf. I currently work as front end developer on react/redux project. But behind the scenes we use a lot more libraries and frameworks, total quantity of installed packages is >200, ofc I don't know them all, but I can use any of them because I know what promises are, how JS uses higher order functions and shit like that, you shouldn't concentrate just on "one framework with which I would have a job", you should know how language works and you won't have any problem with further learning tons of frameworks, librarues, national-socialistic ideology etc.
>>
>>56952863
I'll repeat myself. I know the language, but not much frameworks. And there are companies that focus just on one framework.
>>
Window.prototype = {
events: {
window: {
'click': function(e) {
this.focus();
},

'.wi-window-titlebar mousedown' : function(e) {
this.focus();
this.offX = e.clientX - parseInt(this.el[0].offsetLeft);
this.offY = e.clientY - parseInt(this.el[0].offsetTop);
this.moving = true;
e.preventDefault();
},

'mousemove' : function(e) {
if (this.moving) {
this.move(this.offX, this.offY)
}
e.preventDefault();
}


Okay I'm stuck, I can drag this div but as soon as I move my mouse upwards fast, it stops dragging it.

And that is because the 'mousemove' function stops running of course, as the mouse is not touching the element.

Meh, how can I fix this? P.S, I run the events object through a custom listen function.
>>
>>56952763
do you know the basic algorithms and data structures from one of those "intro to algos" courses on mit/coursera? Interviews are likely to be filled with those. ANd reading that famous book "cracking the coding interview" is a great way to get ready for interviews. If you can get through that book, then you're pretty much set for a junior position.

Also, take all the shit you've coded and put it in your github, and put that on your CV.
>>
And you're choosing between two different framework written in two different languages?
>>
>>56952973
Yeah, I have the book but didn't read through it yet. Also, I have watched those mit (and from other places) lessons multiple times, but never really used them so I wouldn't say I know them well. Sure, I know the basic sorting algos, and know some data structures like linked lists and binary trees (but can't implement those atm t b h). Also, I tried to solve some homeworks from Princeton and Harvard and I didn't even comprehend the task so that might be a problem. Like, I get everything in the presentation, but those tasks are infinite times harder. So yeah.
>>
>>56953022
There are multiple anons. I'm just asking for javascript.
>>
>>56953064
Start with React (redux, react-router, something for store immutability, immutablejs for eg, webpack for faster learning, nice to have hot module replacement in it, stylus-loader/scss-loader for better handling preprocessors (depends on which one do you use ofc), SuperAgent or Axios for ability to sync your store with server and etc), it's pretty popular right now. The another option is Angular 2 (Angular 1 is popular though, but it's sort of deprecated (not really)), but it isn't that popular as React.
>>
what are some bullshit words to use when you are asked about expectations when applying to a job offer?
>>
>>56953183
Paradigm, killer app, killer feature, game changer, new way of thinking/understanding, modular, concurrency, scalable
>>
>>56953165
Jesus christ, that many different technologies...

I'd actually rather use Vue 2, although it would be maybe better to learn ng2 since job opportunities.

I don't know what to use on backend though, want to give it a try too, since I kinda don't like frontend anymore, the reason being exactly what you mentioned in your post. Too much shit.

I could go with node (and possibly express). I don't know if some other framework would be better though. I know some Python too...
>>
>>56953207
hmm, I don't think this would help in this specific context...
the job description seems to indicate that I would be maintaining some old php code
anyway, thanks m8
>>
>>56953207
"I want to introduce a new paradigm shift!"
>>
>>56953257
They are all easy to learn when you have a decent knowledge of javascript, especially ES6 specification. If you want to find a job (and if you have no work experience in IT) you don't have such option as Vue.js, Angular 2, React, maybe Angular 1 (it's still popular, but I do not recommend to learn it now, Angular 1 and Angular 2 have too many differences and you WON'T be able to easy move from 1 to 2).
>>
File: girl.jpg (75KB, 378x372px) Image search: [Google]
girl.jpg
75KB, 378x372px
>>56953047
>(but can't implement those atm t b h)

you might get lucky and they might just ask you to do them in pseudocode, but yeah, try to read up, look for examples and get to a level where you can implement all those algos. Just looking up the answer and typing it out does wonders for getting your head around them.

Homework for those courses can be a big pile of shit, don't worry about it.

Also, do you understand Big O notation? Not exactly all the math behind it, but can you talk about the big O of merge sort and quick sort and compare them? Do you understand why arrays have instant data access and linked lists have instant data writing?

Pic related, I'd like to study her Big O
>>
I have a client side script that I want to interact with a post route on my server-side (Express) application.

Is it enough to just send a post request using jQuery to the url I've set up in the first argument of the post method?

It isn't working for me at the moment. I've only ever really dealt with post routes via form submissions, so it's new to me.
>>
>>56953455
Ticket closed
Reason: Cannot reproduce
>>
Got a couple of questions if someone doesn't mind helping me out by answering them.

The first is a question about the state of and the future of the industry.

So web dev/design is essentially one of the fastest growing industries due to the sheer amount of clients and a sudden quick need for businesses to have a web presence.

With the insane amount of people pouring into the industry. It's pretty obvious that there will be an eventual crash, will the skills learned in this industry translate into any other? I know the back end folks are a lot safer than the front end, just because their knowledge of universal languages. Are you worried about the future at all? I'm new to this industry so I don't know just how competitive it is just yet, but it's only going to get worse right?

How can we best ensure that we are not rendered useless in the future as technologies get easier to code/use? and the job market getting flooded which will if nothing else bring our wages down?
>>
>>56953490
>as technologies get easier to code/use?

I doubt that's gonna happen
>>
>>56953453
Yeah, I'll definitely have to focus on that more.
I read about a Big O and a Big O of algos, but also forgot things. It sucks because I didn't have algos and data structures in my course (not CS), but I believe I can easily learn that again, it's just that I keep forgetting that shit constantly. I understand why arrays have instant data access but don't know about linked lists.

I have a mixed knowledge of algos and data structures, a little big of this, a bit of that t b h, what stuck in my head.

Btw, do all companies really give you algo&ds questions? I heard that some just ask for a portfolio, a bit about your projects and test your knowledge in frameworks etc.

I know that's the case at one I interned in. And so I think I could get a job there without knowing anything of what you said, since it's all CRUD business web apps, but I might get rekt at another interviews.
>>
>>56953490
>>56953508
As someone who is thinking about getting a job as a designer (with frontend knowledge of html, css, js and some frameworks) I don't know what to expect in the future. I'd rather design things than write code t b h.

Designing personal pages will probably be gone since with social media a lot of businesses don't even need the website that much afaik, but I wouldn't get into that anyway though. UI and UX designers will always be needed I guess.

Maybe somebody with more exp can say something about this.
>>
>>56953559
>>56953559
>do all companies really give you algo&ds questions?

no, not at all. I guess it just depends on the company profile, and the specific person interviewing you. More 'corporate' places might be into that (just cause it's more formal and stuff) while more 'startup & small indie companies' might not. It's just an extra thing to have at hand, so If you've got time, why not go for it?

ALso, do you know design patterns? These 23 patterns are the basic ones, in this case implemented in C#, but go with your language. There's tons of books out there on the subject, won't hurt to take a look at one to get an idea.

http://www.dofactory.com/net/design-patterns
>>
File: 1420099814802.jpg (13KB, 250x239px) Image search: [Google]
1420099814802.jpg
13KB, 250x239px
student shitter here with probably dumb question.

is there a way with only css to scale font size without the padding/margin scaling with it as well?

say with something like:
.x
{
padding: 2%
}
.x a:hover
{
font-size:120%;
}


I'm just simply trying to get the text to enlarge on hover without fucking up the background color's position and size behind it.
>>
>https://github.com/jwasham/google-interview-university#why-use-it

sharing this link. You don't need to know everything in there, it's just a great resource to have.
>>
>>56953453

>who is that semen daemon
>>
I have a route within my Express app that deletes some information from the database. A client side script hits this route with an AJAX post request when certain buttons are clicked on a particular page. It all works fine, it's just that it won't redirect the client afterwards in the success callback.

Model.update({query}, {condition}, function(err, numAffected) {
if (err) {
// handle err
} else {
res.redirect('/');
}
});


A GET request to the route I'm trying to redirect the client to show's up in the browser console after the POST request successfully submits. What am I doing wrong here?
>>
>>56954345
google Brandi Love Tonight's girlfriend, see you back in 8.5 minutes...
>>
>be me
>NEET
>have interest in programming/web dev
>no money
>no car
>live in middle of nowhere, no jobs, no public transportation
>not good enough to do freelance online stuff
>can't afford college or code bootcamp
>can't afford to move
>too much of a pussy to an hero

Is there any hope for me, anons?
>>
Shit, is there any way I can change the stylesheet of a site without JavaScript?
>>
>>56954618
XML? CSS? Get creative.
>>
>>56954628
CSS. I tried making alternate HTML files for each style, but that's obviously not efficient. What do helpful sir?
>>
>>56954553

Walk. Get a job in the service industry. Save up and buy a bicycle. Save up for community college. Get a college loan. Rent a room closer to school. It won't be easy, but it gets you a path to a better life.
>>
>>56954553
keep read until you are a proper hacker; all you need to self educate is online
>>
>tfw I want to use the new gtlds but their continuity and pricing isn't ensured
>"Trust us, Icann won't let it go bankrupt for at least a couple years"
>"don't worry, we will inform you when the prices increase"
How can any tech savvy person build a business on this?
>>
what are the best magazines to follow for web dev? Like the trendiest ones or whatever.
>>
>>56953508
I think it's entirely possible. Hadn't CSS gotten easier? I was just looking for very basic navbar stuff two seconds ago and I'm not even sure people make websites today without bootstrap according to the Google results.

Maybe the coding itself won't get easier but the languages and frameworks will a lot more user friendly and flexible. Right??
>>
>>56946486
>im a literal genius

high ego detected, would not be easy to work with and therefore would not hire
>>
>>56955133

This.

IQ means jack shit againt experience and thereis A LOT to learn in the WebDev world..


Also:
>I'm a genius physician
>I want to work as WebDev though

I call bullshit
>>
File: 1475512373817.png (12KB, 205x246px) Image search: [Google]
1475512373817.png
12KB, 205x246px
>>56954618
>>56954649

Ok after doing some research I've come to the conclusion that there is only one way I'm possible way I'm going to be able to do this, and that's with the use of targets and ids. Odd. Doesn't CSS or HTML use variables? Wouldn't it be choice to have the default css sheet be a variable that can be changed with user input.

Then there's cookies, which I assume must be JS-essential. This is getting interesting.
>>
File: Screenshot_116.png (18KB, 1271x311px) Image search: [Google]
Screenshot_116.png
18KB, 1271x311px
Been 28 days since last gtorrents update. Should I just trash it and move on? So many feels and time invested. Could make it open source, but dont know if there's any interest in a half-done torrent site.
>>
>>56955260
IQ isn't impressive anyways and doesn't last forever.
I was literally off the scale in my age range and people tried to recruit me to some private school far away.
Now it's 15 years later, I'm old, and I am dumb as fuck.

I wish I could still learn lectures while doing design templates ;_;

Rewind plz. Brain elasticity pills when?

Kid above is going to be bragging at 28 years old about how his IQ got him the management job at mcdongers
>>
I'm creating a user-auth-blog project skeleton in Go for use in personal projects, and maybe even for release. I'm enjoying the pg PostgreSQL driver's short syntax, struct binding, and seemingly fast performance. My CRUD functions have never been so kawaii.

func (s BlogStore) CreatePost(b BlogPost) error {
b.Date = time.Now()

err := s.database.Create(&b)

return err
}


This project is born from my frustration with authboss. I prefer the adaptable skeleton approach over an inflexible package.

tags: golang, go-pg, gin, portfolio building
>>
>>56955260
i dont necessarily aspire to webdev but it pays well and im not really up for graduate school at this point in my life, though i could almost definitely get into a good program if i bothered to take my gre
>>
If I just have a few pieces of data to store (like one integer and 4 strings), should I just use an XML file to store it, or is it worth spending the time to set up an SQL database? I know it takes more CPU cycles to parse through XML, but this is just 5 small variables. I'm new to web development.
>>
>>56909395
Welp, I still kinda suck, but I made something today.

A Fuel Gauge.

Why? Because I suck too much to do anything else.
>>
>>56956306
>em
>>
>>56956306
https://www.lita.engineering/experiments/trucking/fuel

>>56956328
em is a relative unit of measure
>>
>>56956171
If you are just storing a few values (eg: configuration) for your app, file storage is fine. I'd recommend JSON, for it parses much more quickly.
>>
I'm retarded. Which one of those 'learning material' links is the best to follow if I'm a complete neophyte at this?

Why is 4chan so great at education? It's absurd the amount of things I've learned from browsing threads like this.
>>
>>56956328
>not using ems and rems
>>
I'm looking to start a little hobby project developing a web-based text game. Similar to a MUD/MUCK with a web client if that helps anyone. What would a decent modern frontend/backend combination be to run that. I'd ideally like to have a terminal window for direct game control and talking and then a series of graphically represented menus to present text information and control more complex game mechanics in a simpler form.
>>
>>56955733

Are you me..?

All this years have gone by and I'm doing this retarded stuff all day, e'rday, trying to get my shit together to get a half-decent job because maybe baby nr. 2 will be there in half a year.

And then you wonder.. what have I done with my life? I could sit at CERN, or get into some retarded big company, make big bucks and pull biatches.. But I didn't want this life (or couldn't want it) and now I'm going nowhere..

But then again I don't really give a fuck. Programming is fun, WebDev is fun.
>>
>>56956583
what are you trying to learn? web design? javascript? backend programming?
>>
>>56957454
not that guy, but web design, though I'll get to backend programming eventually
>>
>>56957454

web design and backend
>>
Why the fuck is every single domain taken? This is so bullshit. If you don't use a domain within a year you should have it sent back to the pool.
>>
>>56909395
Would it be smarter to write the back end of a website in Go or C++? Which is faster? PHP is cancer. I am having trouble finding books for C++ server side programming.
>>
>>56916532
how
>>
>>56957688
Go is easy and fast, C++ is hell and, while it would probably be faster (not by much), you don't even need it anyway.
>>
File: Dark_Queen_Guinevere.jpg (313KB, 1236x1648px) Image search: [Google]
Dark_Queen_Guinevere.jpg
313KB, 1236x1648px
>>56955733
>Brain elasticity pills when?

The brain elasticity meme has been proven false several times. The brain forms new paths at older ages to replace previous ones. Look at Brad Rigney; recovering alcoholic(brain damage) and started art in his 30's. Pic related.

The problem isn't that you're capable of learning any better as a child, it's that, as you grow older, you are more perceptive of time lapses. You grow impatient quicker, and it -feels- like you're having a harder time.
>>
>>56957171
There are many ways to accomplish this. Here would be my method:

Bootstrap to make it pretty. Optional.
Jquery to handle the websocket connection, control your terminal div, and pop up your menus.
Go + Gin + Gorilla Websocket for the backend.
Postgres is a good general database with great library support in Go, and SQLite is good for datasets that are both small and simple.

If you don't want to write your own backend, there are web services that help you make websocket apps. Google: Websocket As A Service.

>>56957527
>>56957630
Frontend: https://www.codecademy.com/learn/web
Backend: https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin

>>56957688
C++ is faster in execution, but it's in no way pleasant to use.
Use Go. It's faster and easier to write, and was built for the web. There's lots of documentation and libraries for it.

packages > headers
>>
>>56957688
C++ for web dev is fucking awful so between the two Go is the clear winner.

You're better off writing it in a language you know well. A well optimized Django site is still going to be way faster than a shitty Go site. The bottleneck is almost always going to be your bug-riddled spaghetti code and not the compiler. And if it is the compiler, just fire up another docker container, problem solved.
>>
>>56957757
>>56957776
>>56957801

Yeah, there are no books for C++ back ends anyway and C++ is only used for back end databases and number crunching.
>>
>>56957776

Thanks, m8. Is it worth paying that sub in code academy?
>>
>>56957864
I personally would not. The free lessons are enough to introduce you to how HTML and CSS work. Then you can experiment on your own and Google from there.
>>
>>56957764
>The problem isn't that you're capable of learning any better as a child, it's that, as you grow older, you are more perceptive of time lapses. You grow impatient quicker, and it -feels- like you're having a harder time.
this
>>
>>56957801
Go is unbelievably fast and Flask is objectively better than Django.
>>
>>56957688
PHP isn't really as bad as it once was. If they got rid of the php.ini silliness I would have little issue with it.
>>
>>56957764

This is the worst bro science ever..

Of course you get slower at learning the older you get. That does NOT mean you can't acccomplish anything with 40 or 50, but it takes more time (i.e. you need more repetitions to remeber the smae information). That's why "recovering from brain damage" or "learning art" are bad examples. The point is a 15 y/o with exactly the same brain damage would probably recover more quickly.

It's of course much more complicated than that, i.e. some people have better memory or learn faster than others, also neurons ALWAYS degenerate (but veeeeeery slowly) if you don't use them. If you learn something, especially "factual knowledge" and don't apply this knowledge it will vanish sooner or later.

Does this mena you can't learn shit at 50 and hould lay down and die? Of course not! You can always learn, but you will learn slower the older you get.
>>
>>56957645
Yeah when I picked my domain, even made up bullshit jabberish was taken. You have to start looking into the weird domain name suffixes now.
>>
>>56957927
>Of course you get slower at learning the older you get.

Short if approaching senility, it does not.
>>
>>56957953

>tfw you live in a non-english speaking country and there are still so many free domains
>>
>>56957927

>neurons degenerate

Nobody is questioning that, but you clearly have no idea how learning works or the brain works.
>>
>>56958014

Oh please..

>Results of both studies indicated that increased age was related to poorer associative learning largely because of a failure to retain information about previously correct responses

>source: http://faculty.virginia.edu/cogage/publications2/Salthouse%20(1994)%20Aging%20associations%20Influence%20of%20speed%20on%20adult%20age%20differences%20in%20associative%20learning.pdf


> The results of the meta-analysis of 46 studies confirmed the main hypothesis: Age differences in context memory are reliably greater than those in memory for content. Tasks that required greater effort during retrieval yielded larger age differences in content but not in context memory. The greatest magnitude of age differences in context memory was observed for those contextual features that were more likely to have been encoded independently from content. Possible mechanisms that may underlie age differences in context memory-attentional deficit, reduced working memory capacity, and failure of inhibitory processing are discussed.

>source: https://www.ncbi.nlm.nih.gov/pubmed/8749580


>>56958023

Sick burn.
>>
Does anyone wanna share how they got their first job and such?
I don't know at what point I can consider myself employable and I'm also curious about what to expect.
>>
>>56958163

It's not that difficult. Ask yourself (honestly) what would a company gain from employing you?

Bascially you just practice-practice-practice..
Reading books and knowing 3 differnt stacks is cool, but in the end they want someone who can:
a) finish the job
b) isn't a retard

Of course you have to _prove_ both claims. So if you make a few fun sites (even for yourself) you have something to show that you are capable.


If you put "I know some react" on your C.V. - that means nothing. It's just a claim. If you put "I did two websites with react, they are: (..)" on it - those are facts.

But you don't have to be perfect with every technology, just that you "know your shit", nobody expects you to be perfect.
>>
>>56957688
literally only two options
php or node js
>>
>>56958306
>human feces
>or
>meme.js
>>
>>56958163
I got a shitty job $14 an hour that I will continue for the next two years until I graduate

at least it is giving tons of practice and I will have a good portfolio by the end

take whatever there is
>>
>>56944056
Frontend:
>>React

Backend:
>>Node

Build:
>>Webpack

Webpack is that dope shit. Get you some plugins for sass/less/stylus compiling, babel transpiling, and hotloading your code changes without a full rebuild.
>>
>>56946470
>>56946198

JSX namespacing cuh
>>
>>56951995
lol wut. They are going to see where you're at in terms of skill and accomplishment not hand you a job. Depending on where that is it could be a while before you interview with actual companies. Have you built anything? And no not college level projects, but initiative showing limit pushing applications. Not trying to be a downer, but there is wayyy more depth to the launchcode process than most realize. Then again i've seen barely skilled 2 month codecademy idiots skate through the process and bring cancer to the field so I guess it depends on what type of company you want to work for.
>>
I don't get github

should I put every code I have ever written and slap it there?
do I need to organize it?
>>
>>56958831
GitHub is for presenting your code to the public.
It lets others easily fork it, submit issues, and submit pull requests.

Do you want your code to be public?
Make sure your public code is properly licensed.
>>
>>56958983
I see people recommend me to do upload of stuff there as my portfolio, but all my projects are reinvented wheels

it feels weird to make something public if its not even bringing anything new or helping anyone
>>
>>56959267
If it's your portfolio,
polish it,
and then upload it.

It's okay to reinvent the wheel. Everyone has different needs,
and not every package meets all use cases. And most importantly, it shows you can code.
>>
>>56952391
>>56952442
>>56952427
If your going to use Symphony you might as well just use rails. Rails is a more productive framework.
Thread posts: 317
Thread images: 33


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