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

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

Thread replies: 255
Thread images: 24
Death to PHPajeets!

Previous thread: >>54783141

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

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

>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 - "Crockford on JavaScript" lecture series.

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

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528/

>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
>>
First for Go and maintainability.
>>
> Death to PHPajeets!

first comment is racist. fuck off
>>
>>54816510
Ugly as in I'm going to append invisible elements to the html cause I'm too stupid to find a way to use web workers without extra files.

>>54816568
Always do.
>>
>>54816917
>fuck off back to /dpt/ with your weebposting
that wasn't me you replied to
i only see two weebposts in the last thread and they are both mine
do i need to get a tripcode for you
>>
>>54816998
No, just keep yours on so that I can filter you. Thank you.
>>
>>54816841

You just described every Java H1B on the planet.
>>
>>54817014
you don't even understand a simple sentence

it explains why you turned to racism: as a way to deal with the frustration your limitations bring.

i see now that you have turned the self hatred outwards.

racism is an easy outlet for self loathing and frustration.

i ask you to search for self acceptance.

maybe then you will realise that making hateful generalisations about groups of people is not constructive.
>>
Does this seem like a well-rounded knowledge base for a web developer? I just want to have some web developing skills even though I'm mainly looking to be a desktop software developer later on.

HTML
CSS
JavaScript
Client-side: Bootstrap, AngularJS, jQuery, AJAX
Server-side: ASP.NET MVC, node.js, Ruby on Rails, PHP
XML, JSON
MS SQL, MySQL, MongoDB

Is PHP going down the shitter these days or should I keep that on my to-do list?
>>
>>54817118
not on b.
>>
>>54817090
Generalizations, hateful or otherwise, are very constructive. They demonstrate the ability to recognize patterns, patterns that are most often backed up by mathematics.

Recognizing a pattern doesn't imply a rejection of exceptions to the rule, only the value of observing the rule itself.
>>
>>54817151
>posting on a Japanese supremacist board.
>>
>>54816841
Only new developers are concerned whether or not theyre real developers.

Real developers get paid
>>
>makes a thread for webshits / code monkeys
>says gtfo pajeets
do you want replies in your thread or not anon?
>>
>>54817153
> Generalizations, hateful or otherwise, are very constructive
> Recognizing a pattern doesn't imply a rejection of exceptions to the rule

and i say that one of many exceptions to the rule you have just proposed (that generlisations are good) is in the case of racism. because its retarded.

>>54817158
> wat

>>54817190
> wat
>>
>>54817167
I'm never going to be a developer then.
>>
>>54817223
>he does not know JS is not a webshit language anymore, it has been transcended
>>
>>54817153
what is confirmation bias

keep busting nuts over your ability to "recognise patterns"
>>
>>54817153
It's Okay to hate Jews because the steal.
>>
>>54817251
>he doesn't know about webassembly
pleb
>>
>>54816841
any /wdg/ approved lightweight cms?
I've used drupal + php before but would like to have some sites in the same cheap vps.
Backend needs are really simple, TinyMCE like editor would be nice.
>>
>>54817233
>>54817253
Okay Pajeet

>>54817257
>>54817276
Yes it is
>>
>>54817320
for age>20 years hating anyone, (let alone thousands or even millions of people, simply because of their race), is pretty irrational
>>
>>54817313
>/wdg/ approved
No such thing.

Try Fragmenta or QOR.
>>
>>54817352
Hate doesn't need to be rational.
speaking as someone who hates almost much every country and most people.
>>
>>54817352
Cmon Pajeet go poopoo in the looloo
>>
>>54817093
- Consider swapping Angular for React. Angular 1 is going out of style, and 2 is still a mess. React is where all the cool kids are going.

- AJAX isn't a framework. It's just doing another HTTP request to get or send some more stuff after your page loads. Once you understand what it does exactly, it should take you like 5 minutes to become an expert at.

- Server-side: That's way too much stuff. It's better to be an expert at one thing, than to be a noob at 5 things. Once you're an expert at one thing, it becomes a lot easier to learn any other similar things. I recommend you do a little research on each of those things (Also you forgot Django, another popular backend framework. Java also has several.) and pick the one that you like the most / has the most job openings in your area.

- XML & JSON are both extremely simple to learn. If you understand HTML, you can pick up XML easy, and JSON is basically a javascript object with more double-quotes. Putting either of those things on your resume will probably make you look like a noob.

- Databases: You can get the gist of SQL in like 4 hours. (And then another 10 years for the rest) Learn that, then get a good conceptual knowledge of some of the popular NoSQL DBs. You don't need to have practical experience with them, just be able to explain in a sentence or so why someone should care about them. SQL databases: PostgreSQL is popular, MySQL is popular (and for a beginner, essentially identical to postgres), and you should know what SQLite is.

>Is PHP going down the shitter these days or should I keep that on my to-do list?

Yes and yes. It's slowly losing out to other languages, but still extremely popular. If you decide to go with it as your primary server-side thing, that's a perfectly valid choice. If not, you should still know what it does and what it's pros and cons are.
>>
File: file.jpg (49 KB, 959x482) Image search: [Google]
file.jpg
49 KB, 959x482
>>54817413
>speaking as someone who hates almost much every country and most people.
>>
Only faggots and rapists code Java. Criminal Minds says so.
>>
I don't know if this is the correct thread for this, but where would be a good place to start if I want to make an imageboard?
>>
>>54817445
Yeah yeah whatever.
At least I'm angry with reasons mostly.
>>
>>54817416
i really hope you aren't above the age of 18
>>
>>54817384
>>54817384
>>/wdg/ approved
>No such thing.

waaat! are you telling me that you guys never are agree with each other, doesn't sounds like /g at all

I'll try those + ngix, thanks

other night read here some ruby on fails alternative, site looks like arizona green tea, you know it?
>>
>>54817458
There are any number of ways you could do it. It's just front end with a relational database.

>>54817491
>>54817509
Okay Pajeet
>>
>>54817223
lol
>>
>>54817442
>going out of style
Anyone else here gets triggered by fashion and trendiness ever playing a role in choice of technology?
>>
>>54817090
The fact is that the quality of life we enjoy in the west is diminished by the growth of the third world.

Our livelihood is threatened by it. So I'd like to kill you and your kind to prevent that. Does that make sense or rationalize enough for you faggot?

This freudian shit about self loathing and frustration, that's lovely deary. But the thing is, I'd rather just kill you than compete with you.
>>
>>54817579
It's a trade-off. Programmers are actually an extremely stubborn group, historically, and their refusal to adopt new technologies or try to innovate in the slightest has made software into the complete fucking mess that it is today.

On the other hand, now HR hambeasts expect to see meme technologies with fucking normie names on your resume.
>>
>>54817565
>relational database
Doesn't have to be relational.
>>54817458
It largely depends on what features you have planned for your imageboard. Technology choices should always be done, in consideration of suitability for a given task.
t. imageboard dev
>>
>>54816841
PHP just werks for connecting DB
>>
>>54817442
Also, I would try to devote some time to learning general concepts.

- You should know about all the HTTP verbs and status codes (just give the wikipedia pages a read-through)

- You should know about common software design principles. Models, views, and controllers, OOP, common anti-patterns, etc.

- You should know about security. The basics of cryptography, encryption, ssl, https, certificates, etc. You could spend years going down this rabbit hole, but like most of this stuff, just learn enough to be able to speak about it relatively intelligently and not be completely lost when dealing with basic shit. Also, learn about common attack vectors and what to do about them. SQL injections, XSS, maybe social engineering.

- Linux. Set up a VM and play around with linux. Learn about permissions, the layout of a linux filesystem, how to look at man pages, how to generally do basic shit. Make sure a cli doesn't intimidate you.
>>
>>54817650
And so does everything else. Your point?
>>
>>54817579
By going out of style I mean depreciated.
>>
Is there anyway to add data to a div without completely refreshing it?

For example, let's say I have a chat app where I want users to be able to play webms/mp3s. Every time I use either ".innerHTML += ..." or ".append(...)" is completely reloads the webm/mp3. Is there any way I can prevent this from happening?

Thanks
>>
File: failed.jpg (403 KB, 573x800) Image search: [Google]
failed.jpg
403 KB, 573x800
>>54817606
good luck achieving nothing with your life
>>
>>54817690
>every time I use either ".innerHTML += ..." or ".append(...)"
dont

put each message in its own div
it makes purging old ones easier too
>>
>>54817606
>I'd rather just kill you than compete with you
1. tips fedora
2. violence is a form of competition
>>
>>54817690
That is exactly the kind of thing React is perfect for.
>>
>>54817703
>when the GCSB posters come out
Wew lad, I used to work for you guys.
>>
>>54817777
nice quads. cunt
>>
>tfw trump's policies on H1B: force companies to pay same salary as they do to americans, force companies to hire americans first
goodbye rajesh it's been a good decade or so having you here with us
>>
> so funny that OP baits his baited fish

racism and stereotypes are wrong, period, but if you get offended when someone pajeets you but call others fags or niggers then you're an hypocrite.
The fact that you are on 4chan asking for respect makes you an idiot, a troll, or a newfriend (which is as bad as newfag or n00b).
If you are here you accept people call each other nigger and fags, if you don't leave you're an hypocrite.

fuck that rule #global3, OP always is a fag, it should be offensive even if he is homo and cool enough to call himself a faggot

so, if :

>You are new here, leave or get used to, aka respect others ignorance and hate, is not personal, he really don't hate you particularly
>troll/10 congrats, was the most effortless tho >>>/b/
>idiot, keep trying hard, this time you almost change/save someone from being racist, even if we don't know if he really is or is just joking inappropriately on an anonymous board, most people can't do it AFK
>>
>>54817939
tldr
>>
>more php hate

Why though? PHP has its place in the world.
If you want to get a job tomorrow, learn PHP.
If you want to make elitist posts and blogs about programming, learn something else.
>>
>>54817998
The only advantage of PHP is its popularity, period.
>>
>>54783302
>I learn programming thru YT vids
>PLEASE NO PAJEETS ! I AM LE LEET WHITE PROGRAMMER !
kek fuck off
>>
>>54818024
Yes, but thats a good enough advantage.
Plenty of old systems that people want supported and expanded, but don't want rewritten.
>>
>>54816841
Why aren't we all reading this?
>https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/index.html
>>
>>54817606
>The fact is that the quality of life we enjoy in the west is diminished by the growth of the third world.

Your fault for make it that weak a "third world" group can make it fall.

>I'd rather just kill you than compete with you.

I'd rather shitpost than enlist an actually kill people that actually thread "western"
money, ftfy

>bumps a /thread with copypasta that helps people he's affraid stealth his webdev tenders
>>
can you suggest me a small and cheap (!) laptop for university and webdev ? prefer windows8, but gnu/linux is ok aswell
>>
>>54818441
Get a refurbed thinkpad. They're built like tanks and you can get them for dirt cheap. See /tpg/ and the sticky wiki for more info.
>>
>>54818441
Anything that isn't a Mac. Don't pay for overpriced hardware.
Not sure about the chinkpads, though, as they tend to be "built like tanks" but weigh just as much as an actual tank.
>>
>>54818616

ofc I wont buy a mac
>>
In Laravel, if my application has user and administrator accounts, do I need to create separate database users with different privileges and switch connections after logging in or have one database user with access to all tables and just protect administrator views with some kind of "user_is_admin" flag?

Please respond.
>>
Long Live Java and The Spring API!
>>
Noob question:
How are specificity issues resolved in CSS if you have the same number of 'specificity points' (say, 1 class and 2 standard element selectors) on two or more rules? What are the rules for determining what gets applied in the end?
>>
>>54818970
>Java
>Spring

Now you've gone full Pajeet.
>>
>>54819043
>purposefully making buggy code
>>
>>54817352
> for age>20 years hating anyone, (let alone thousands or even millions of people, simply because of their race), is pretty irrational
Perhaps hating is. However, drawing generalized conclusions instead of following baseless moral imperatives such as "all races are equal" is absolutely rational. If niggers are more likely to steal from you or assault you according to statistics, this should be talked about and not swept under the rug with a pretense"'b-but that's racist", 'cause it's reality.
>>
>>54819087
So how do I avoid this issue if it ever comes up?
>>
>>54819186
>if it ever comes up
you'll make it come up
avoid it

also use google
>>
>>54817703
*blame a pajeet
>>
>>54818664
You can add an admin flag, yes.
>>
Best atom.io packages for webdev. Go.
>>
>>54820273
color-picker
pigments
>>
Are there any general articles on good sass practices? I'm somewhat afraid that I'm abusing excludes.
>>
>>54820273
Emmet
File icons
Minimap
The rest depends on your language of choice but a linter won't hurt
>>
>>54818420
>black, hispanic and female workers ... who have been passed over in favor of the H-1B program

So blacks, hispanics and females are literally just Pajeets, and companies (the ones built by white males) should be hiring them instead of actual Pajeets?
>>
>>54820273
linter.

If you don't use a highly opinionated linter to enforce code style and quality, for whatever language you're using, then you should drink bleach.

Especially if writing a language like Javascript, which is full of ways to shoot yourself in the foot. For Node.js I use ESLint, with a fuckload of rules turned on: http://pastebin.com/HeSJRYrj
>>
Any guidelines for uploading videos to a server? How do I display it using html/css/javascript? Any recommended video players? Preferably one which doesn't let the viewer simply right click and download
>>
>>54820728
use DASH or HLS segments. the average user can't save it that easily.
have a look at videojs
>>
>>54820273
atom-typescript
go-plus
>>
>>54817579
It isn't necessarily about fashion or trends. Angular got replaced by Angular 2, simple as that.
>>
File: 1464379159125.jpg (14 KB, 250x300) Image search: [Google]
1464379159125.jpg
14 KB, 250x300
I was whipping up a prototype 4chan reader for Firefox OS the other day until I realized that 4chan's CORS acceptance is only its own domain.

Is there any way around this with pure JS? I don't expect there to be due to the nature of CORS, but I thought I'd ask here just in case. I only want to read that delicious JSON data and show it in a standalone program specifically designed for 4chan.
>>
>>54821724
proxy it through your server.
>>
>>54821751
not that anon but could you elaborate a bit?
>>
Why the FUCK did the PHP shitcuckfaggot corecucks vote AGAINST the callable documentation RFC (https://wiki.php.net/rfc/callable-types)?

Why? Why would you POSSIBLY have any objections to this? Do those cucks even know how often I have to open all kinds of stupid documentations, only to find out what parameters a closure takes?
How? Why? How incompetent can you be that you don't realize that this is a great feature? Are they afraid that nobody is going to check their stupid PHP documentation if the language were to document itself? It's probably just buttmad "not invented here" jealousy for the hack developers because the PHP cunts were to incompetent to invent this feature by themselves.

Tell me, what in the name of 60 niggercocks is wrong with them?
I swear if they vote against the pipe operator, unit types, traits implementing interfaces, annotations (BUT BUT JUST PARSE DOCBLOCKS!), named parameters and typed properties as well....

Who am I kidding, of course they will. They are incompetent and quarreling idiots who don't even have the slightest clue about language design and no goal in sight.
Did they already vote against both short closure syntaxes? The C# style property accessors? Of course they did.

I was just starting to take them seriously. I was just starting to think "Hey, they might just be copying hack features, but at least that means that the language is actually improving now".
But no, they just go full "not invented here", buttdevastated and sad that a different team has actually managed to fix this most of this mess of a language while all they've done is add limited pseudo-static typing that actually fucks up runtime performance. But don't worry, you won't be able to use it often anyway - templates or union types will never be a thing, so fuck you if you need more than 1 type. "It just isn't PHP-like". It's too reasonable, it self-documents code, helps avoid errors, adds consistency.
Just doesn't fit with PHP's philosophy.

Fuck all of them.
>>
>>54821751
Ideally this is something I'd like to open-source and publish.

>>54821795
From what I understand, the issue stems from preventing XSS attacks. 4chan's JSON cannot be requested through client-side JS alone, which is unfortunately all I have access to on FxOS.

I'm wondering if there's a way around it using web technologies that I don't know about.

Bar that, I'd be interested in applying my own css to the 4chan site and packaging it as a standalone application. But I don't think that's possible either as external sites would be loaded in an iframe (so XSS preventative measures again)
>>
>>54821795
for example with nginx, I can tell it to map a directory to proxy it to to a different server.
so a request for /4chan.json goes to your server, which then fetchen https://4chan.org/4chan.json and returns it back to the client.
so you proxy requests through your own server to remove origin/policy headers and browsers not being able to load content.
>>
how can other text editors even compete??
>>
>>54821996
That's genius anon, thanks. I'll start googling right away
>>
>>54822074
that's how you serve every application that runs their own server.
>>
>>54822225
Yeah, that's how I do it with gunicorn/nodejs applications, but I didn't know it could work with external servers - I thought it'd give the same error.
>>
What should I make to demonstrate my prowess as a fullstack developer? Something I can stick on a resume.
>>
>>54822431
>>54822431
>>54822431
>>
>>54822551
never tried it. first fell for the angular 1 meme, then later for the react meme..

now its too late, stuck with react
>>
>>54821884
PHP is a lost cause, just let it die.
>>
>>54822603
Do you use Flux with React?
>>
If you had to make a web application like a calculator or a basic tic-tac-toe tier app.
You you make it with just JavaScript or use AngularJS or something.
>>
>>54823045
yes
>>
>>54823045
If you need anything but vanilla JS to make that you should quit now
>>
Anyone know the name of that software where I can have multiple browsers open on different devices and whenever I make changes to the HTML/CSS it updates all the other browsers buy automatically refreshing?
>>
>>54823045
a personal project to show off?
javascript

a work project that I have to maintain and probably will have to add tons of useless features from a customer who has no idea what he wants?
angular/any other framework
>>
>been learning how to code past couple months
>started with front end stuff
>its actually pretty fun
>loosely following theodinproject and bento.io
>looked at joblistings on craigslist in sfbay
>tons of junior front end dev positions avaliable, only asking for html/css, javascript and jquery
>most don't even ask for a degree or experience
Gives me a lot of hope bros. I'll start at 50k i don't give a fuck. I have to be that guy who makes 6 figs with no degree. I'll suck the poo out of pajeets ass if that's what it takes. I can do it.
>>
>>54823312
Yes, it's easy to make 6 figs without degree if you are a good developer.

Good luck bro.
>>
How do I get a webdev job without a degree?

I can do pretty much anything I'm asked. I've done freelance contracts thanks to my dad's connections. But I feel like my portfolio and resume are lacking. I'm saying this because I've sent out 49 applications over the course of the past 2 months and haven't had any luck.

Maybe I don't understand the job application process. I probably don't look appealing to potential employers. Any advice?
>>
>>54823750
maybe its oversaturated
>>
>>54823750
L I E
I
E

At least that's what I'm doing and I'm in basically the same position as you. I'm being flown out for an interview next week.
>>
>>54822812
It's not like I'm the one who chose to use this cancer.
>>
>>54823750
Where are you applying?
>>
>>54823750
If you don't have a degree or experience, your portfolio is everything you are. Everything. You will live or die by it. If it's lacking, you have only yourself to blame. Start building good-looking shit and putting it on your github.

Make sure you have a nice personal website to feature your portfolio on.

Make sure you write a decent-size cover letter (2-3 paragraphs) that you write out custom for each application, explaining why you want to work at this place and why you'd be a good fit.

If you've done freelance work, find some way to feature that too.
>>
>>54823750
I got a job with no degree, and two shitty projects on Github. I live in the north of England, so its not exactly Silicon Valley. I even ended up getting a Node.js job which is what I wanted, despite the fact that most positions were for PHP and ASP.NET.

If you're not even getting interviews then your resume is shit. The main thing that stands between you and getting an interview is a non-technical recruiter who doesn't understand what exactly it is that you do.

So you need to fill your resume with a fucking huge "skills" section, full of every single language, library, framework, database, build tool, and anything else you can think of that you might have dabbled with at some point. This will trigger their keywords, and then they'll forward your resume on to the prospective employers.

A resume is a tool to get interviews, use it correctly. Embellish some things, but don't outright lie about stuff.

Its also possible that you're experiencing the wrong end of the Dunning-Kruger effect, and your portfolio is actually laughably shit. If you can post examples of your work and/or your current resume without doxxing yourself it would be easier to see what the problem is.
>>
>>54823803
How did you lie? I can't possibly say I have a degree when I don't... Also if I lie about working at some company, won't it become obvious that it's not true and I'll have that bite me in the ass?

>>54823853
Can you share an example of a good portfolio? Right now I feel confident doing frontend, though I've written CMSs before and also understand MVC. I would also love you if you shared some CV example. I feel like I'm burning out just by applying. It makes me feel like everything I'm doing and have done is a waste of time. So I'm getting overwhelmed and my productivity is halting.

What kind of things do I put on my portfolio? I already have a couple items on it which I think are good. But I guess it's not enough?

I'm at the ends of my ropes here.
>>
>>54824000
About the skills. I've dabbled in a shit ton of stuff. But I'm not confident saying I "know" any of it. Though I can probably learn quickly enough.

Can you share an example resume?
>>
>>54817118
>>54817190
>>54817257
>>54817777
Haha, janny is a fucking pajeet. Better luck next time you fat faggot
>>
File: 1243094320324.jpg (91 KB, 600x446) Image search: [Google]
1243094320324.jpg
91 KB, 600x446
>>54816841
this might be more appropriate for /sqt/, but it's been bothering me a lot recently.

Setting up a webscraping project for common recipe sites. I can pull in the name of the recipe, but never the link, no matter how I try to access it. Suggestions?
>>
>>54823312
>tons of junior front end dev positions avaliable, only asking for html/css, javascript and jquery
Where the fuck do you live? I've been trying to get a job for months now and can't even get an interview. I got my first freelance job over the weekend that pays a few hundred and that's about it in terms of opportunities.
>>
>>54824023
>How did you lie? I can't possibly say I have a degree when I don't.

That's what I lied about. Why can't you?
>>
File: Screenshot_65.jpg (102 KB, 640x584) Image search: [Google]
Screenshot_65.jpg
102 KB, 640x584
>>54824066
If you have fucked around with it for an afternoon then you "have experience with X" or at the very least "have exposure to X"

>Can you share an example resume?

Pic related. Literally just stuff as many things as you can into there so you trigger as many keywords as you can and a human ends up looking at it.
>>
>>54824023
Deployed, fully-functioning web apps belong on your portfolio. Make an imageboard. Make solitaire. Make something that lets you search an API. Use as many different technologies as you can, and make the front-end look nice. There you go.
>>
>>54824142
you need to be more specific...
>>
>>54824212
I did released one fully functioning web app. I think it looks nice and my friends have complimented me on it and use it themselves. It's the only thing I have though. The rest of my websites are just basic client websites with simple CMSs.

>>54824185
You fucking lied about having a bachelors degree?????? You're going to an interview soon where you lied about having that?@!@!!???
>>
>>54824178
>looked at joblistings on craigslist in sfbay
>>
>>54824264
Yeah. It's not like I don't have the technical skills. Phone screen went fine.
>>
>>54824264
One is not enough. Two is not enough either. Keep going.
>>
>>54824352
Can you show me an example of such a portfolio?
>>
>>54824278
Any recommendations for remote positions? Where can I find listings for those?
>>
>>54824435
Fivrr, along with the rest of the pajeets.
>>
>>54824394
Here. This little asshole I went to school with is a complete fucking faggot but his portfolio isn't shit.
http://turnerniles.com/
>>
>>54824578
Or just throw a bunch of shit on Github and call it a day.

Especially if you want a backend position, which you should because backend is easier than frontend.
>>
>>54824214

I'm trying to scrape a search results page for each 'href' per item. I'm unable to get these to display for some reason.

Example: allrecipes.com/search/results/?wt=rice&sort=ra

Then inspect element, find the first item's h3 title, and attempt to pull the href data. How?
>>
>>54824680
When the HR hambeast looks at portfolios, she's going to choose the deployed projects with the pretty pictures on the front-end over a git repo with a bunch of scary code on it.
>>
>>54824763
Go into specifics about what you've got so far.

Specifics such as what language and libraries are you using would be a good start.
>>
>>54824806

Good? Why wouldn't you want to automatically filter out worthless companies that you don't want to work for?
>>
>>54824837
Because every company has an HR hambeast. You don't work in the industry yet do you?
>>
a hr hambeast wouldn't look at your portfolio in the first place, just the resume
>>
Anyone have the 5th edition of Cracking the Coding Interview? I can't find shit.
>>
>>54824885
Yes they would. "Technical recruiters" are always the same type of person. They work adjacent to technology, but they don't understand it, and they resent the people more knowledgeable than them.

They sublimate this resentment by convincing themselves that they actually have a better criteria for judging technical candidates than the tech team does.

I've heard them justify it.
>"Well, he had all these skills on his resume, but he didn't really, you know, do anything with it. Nothing that someone could just look at, you know?"
>>
>>54824902
>https://docs.google.com/uc?id=0B6Y3-liwHuKGcmVFS1ZlSmV5ek0&export=download
>http://1.droppdf.com/files/ONT0Z/cracking-the-coding-interview-5th-edition.pdf
>>
>>54824807
suppose that would be more helpful, wouldn't it.

Python and beautiful soup/lxml, requests..

I was trying to avoid any API's but I believe that would help reduce some of these problems. Yummly, Allrecipes, both I think are actively discouraging webscrapers.

[code
]
url=http://...
r = requests.get(url)
data=r.text
soup=BeautifulSoup(data,"lxml")

unique = soup.find_all('a',href=True)

[/code]

and that's where I'm stuck. SO not helpful at the moment either.
>>
>>54825023

sorry
url=http://...
r = requests.get(url)
data=r.text
soup=BeautifulSoup(data,"lxml")

unique = soup.find_all('a',href=True)

>>
>>54824989
Thanks! How did you find that? I tried Googling forever.
>>
File: Capture.png (85 KB, 817x982) Image search: [Google]
Capture.png
85 KB, 817x982
>>54825068
I literally google'd "cracking the coding interview 5th"
>inb4 taco taco burrito
>>
>>54825040


set(['http://allrecipes.com' + _['href'] for _ in soup('a',href=True) if '/recipe/' in _['href'] ])

>>
>>54825110
erect dividing structure
>>
>>54825023
Not the other anon.
This is probably due to the page being really js-intensive. With beautifulsoup you are just getting the barebones, before any code is called and the real information is loaded.
I recommend using scrapy with a selenium/phantomJS driver if you want to stick to Python, or CasperJS if you want an easier approach (but waaaay more rigid)
>>
File: mfe21.png (210 KB, 547x314) Image search: [Google]
mfe21.png
210 KB, 547x314
Never post in these threads, but I made a browser based MMO, so can I join? The LTD is mine
>>
>>54825179
Neat. Link?
>>
>>54825179
playmfe dot com
>>
>>54825152
That is incredibly helpful. Thank you. If you have a throwaway email, I'll let you beta test my pathetic first python project.
>>
>>54825175
casper.js was next on the list for other cooking sites like Yummly, those fuckers
>>
>>54825251
Well that was really something
>>
>>54825380
Yes its just me working on this at the moment
>>
>>54825331
If you need help with casper or scrapy (I'm mostly using the former now), I'm regularly lurking these threads
>>
>>54824680
Is backend really easier than front end?
>>
>>54825179
>Cant Create a Female Character

I'm calling the SJWs
>>
>>54825458
I'll attempt it on my own and post back the results this week. Cheers.
>>
>>54825316
sure "[email protected]"
>>
>>54825470
Depends on what you're good at. I'm a pretty good programmer, but I can't design worth a shit, so I find backend to be a lot easier. If you're more of a visual, design-minded person, you'd probably prefer frontend.

Also, it's great not to have to juggle 5000 different meme.js frameworks and have to worry too much about browser compatibility.
>>
File: 1 SfztkQvIIr475907Bkw-XQ.jpg (28 KB, 350x499) Image search: [Google]
1 SfztkQvIIr475907Bkw-XQ.jpg
28 KB, 350x499
>>54816841
Bumping with the true web way.
But don't read the book on pic related. It's horribly written by a Sheeresh and edited by a Pajeet.
Apress is really hitting the bottom with shit like that.
>>
>>54816841
question for web devs

do you actually enjoy doing web dev? You're writing with so many obfuscations, where is the fun in programming? Coming from C++ to writing a rails app is fucking boring
>>
>>54826598
I'm writing in Go and vanilla JS/TS. It's fun.
>>
>>54826636
I'd love to write in Go. Rails is a convoluted ass peel.
>>
does anyone here actually have experience with web hosts? I've got some sites i'd like to put up but i've never gotten this far before. I looked at linode from the OP and it seems pretty good but I don't really understand how the pricing works. when it says 2TB transfer, does that mean I can have a maximum of 2tb of data transferred per month? does that mean that if someone were to ping my site a few million times it would be down for possibly weeks?
>>
>>54817442
What the hell happened to Angular? It was hottest shit just couple years ago now every JSfag is abandoning Angular for React.
>>
>>54827340
React is marginally faster, despite being less robust, and that makes it better in the eyes of some. Also it's easier to learn than Angular.
>>
>>54827340
Because front-end frameworks are controlled by chads who would cut their dick off if it was stylish
>>
>>54817638
99% of database out there are relational. NoSQL is a meme.
>>
How do you work with incompetent people? I do both back and fron-end and I'm working with a partner on a project. I'd love to focus on only one end and let him do the other, but I don't trust him enough to be good at them.

He had 1 job to do today, ONE. I told him to create the database and send me the .sql file. I just asked him for it and he says he only made one table. He did fuckall today and I'll end up doing 90% of the work for 50% of the pay.
>>
>>54827398
engineer a situation that makes him look incompetent in front of the bosses
>>
>>54827398
Drop him and pick me up instead.
>>
>>54827398
I make the greatest DBs. Please give me his job
>>
>>54816841

A real web dev artisan would automate the restarting
>>
File: 1364531538309.gif (2 MB, 320x240) Image search: [Google]
1364531538309.gif
2 MB, 320x240
>>54827398
How do people like this get jobs? Life is unfair.
>>
File: fhgzVEt.jpg (185 KB, 1024x1344) Image search: [Google]
fhgzVEt.jpg
185 KB, 1024x1344
Is there any other good alternatives to MySQL + php to load db contents? The data is public (I'm not storing passwords, emails, name etc) I just don't want php and MySQL anymore.
>>
>>54827522
Jump ship to node.js like everyone else.
>>
>>54827579
For a database? Really? I didn't know that was a thing... Research time!
>>
What are these fucking cunts doing...? no wonder everyone thinks web dev is going down hill fast.

https://bugs.ruby-lang.org/issues/12004
>>
>>54827605
hey you said mysql and php, not just mysql
>>
>>54827522
How are you so sheltered that you haven't even heard of any way to build a web application other than PHP and MySQL? Is your name Pajeet?
>>
>>54827777
I have zero formal training and I do this by myself on the side. Nice quints btw
>>
>>54827822
That's no excuse lmao. There's no way you only came across php+mysql since you started.
>>
>>54827522
Literally anything and literally anything.

I recommend Go and PostgreSQL or RethinkDB.
>>
>>54827683
That pic looked real familiar, turns out she did a podcast episode called social justice warrior for codenewbie lel
>>
So I'm mainly a programmer who just got into full stack. I've got the server side down, have a firm grasp on JS. I cant seem to dig into frontend css though. Html isnt a prob but making things look good with css is something that i cant seem to grasp.

For programming I just read books (that usually involve building some stuff) and that lets me get confident with programming in new languages but I cant find an html css book that teaches me more than what the fucking tags are. I really wanna get into angular/react but i miserably want to improve my basic skills first. Would really appreciate if someone could guide me towards some practical study material.
>>
>>54829244
>an html css book that teaches me more than what the fucking tags are

why would you need more than that? if you want to make things look pretty then that's design, a whole different issue.

you most certainly do not need to know css to learn angular/react
>>
>>54830013
I realize that, I want to be able to cobble together a decent looking website before I get into angular/react. My issue is design, so need some material on that
>>
I don't suppose any of you guys work in GIS do you?
>>
File: stop daemon.jpg (165 KB, 1000x665) Image search: [Google]
stop daemon.jpg
165 KB, 1000x665
I'm having a bit of a problem but I don't know if I should ask here or in the programming general, but wherever.

In my python web application I have a function that calls on os.listdir for a folder with mp3 files, picks up the tags, puts each one in an object and then passes it as a list to the front end to be displayed with a foreach in the template. Standard stuff.

The problem is that this work just fine on the flask built in development server but refuses to work with uwsgi, and the logs say nothing. I get 0 tiems rendered in the HTML using uwsgi and nginx as a reverse proxy. Does uwsgi mess with os calls or something?
>>
>>54830644
depends how you're calling the filepath/exeucting the script on your server

use os.abspath and __file__ to make sure you're getting the actual directory if you're using relative paths in your code, i can't remember the actual pattern off hand.

could also be some shit with permissions
>>
Question.
Suppose I have something like this:
<div> with some onclick event
<a href="blah">
</div>
Now, I have other <a>'s in the div which have their own onclicks. But I want <a href="blah"> to retain its normal behavior of going to "blah". Instead, it just activates the onclick of the div.
1. Is there a way to do this without attaching events to the blah links?
2. If no to #1, is there an easy way to do that? Like a way of turning the onclick event into a "do the normal thing"? Does stopPropagation and return true do that?
>>
>>54830900
yeah, gotta chmod 777 everything and see what happens
>>
>>54830956
Don't apply your onclick to every div?
>>
>>54830975
But I legitimately want the onclick on the div. Each entry looks something like this:
<div with onclick>
<a with onclick>
<a with normal href>
</div>
>>
>>54817442
>XML easy, and JSON is basically a javascript object with more double-quotes. Putting either of those things on your resume will probably make you look like a noob.
maybe to the technical interviewers, but to get past the HR recruiters you must have the exact technologies listed on the job posting. they don't know the difference between JIRA and C, or Git and HTML5. or HTML vs HTML5.
>>
File: Untitled.png (15 KB, 415x144) Image search: [Google]
Untitled.png
15 KB, 415x144
I need to hire someone to make a logo for my website. I've got a general idea of how I look. It's just the title with a boat for the letter "A".

How much should I expect to pay? Where should I look?
>>
>>54831093
>how I want it to look
>>
>>54831093
manatee?
>>
>>54830956
>>54830975
Okay, I ended up just modifying the onclick on the div to make it check if the originating element for the event is an <a> and do nothing if so.
>>
>>54831156

local mugshot / news site for manatee county
>>
>>54831093
>>>/r/
>>>/gd/
>>
File: 1464350840311.jpg (101 KB, 864x717) Image search: [Google]
1464350840311.jpg
101 KB, 864x717
>>54817153

not all of us Indians posting here are H1B, many of us are 1st or later generation citizens who have attended the same schools and done better than other races in this country when we're given same opportunity.

A disproportionate number of US tech startups are founded by Indians too.

I think the idea that companies don't know what they're doing by hiring Indians is incorrect, and it is probably an excuse used by racists or otherwise ignorant folk.

The argument is that at some point in the future disproportionate number of companies that hire Indians will fail; and the fallacy is that it's not something that can be verified. No matter how much time passes, racist argument will be the same, "these companies are basically doomed, they just don't know it".

I think that companies are aware of the quality / cost function and at the end of the day will find they must leverage talent from all of the world, especially India if they wish to be the most competitive.

I think there is no inherent difference between you or I but our education and upbringing.
>>
>>54831093
Go to /gd/ or reddit and pay some guy $20 for it.
>>
Is there any js plugins to handle tables and pagination of long ass records display other than datatables? the only other one I found was Dynatables which was updated two years ago
>>
>>54823149
Browser sync ?
>>
>>54831300
you prob smell like shit
>>
Best way to make a CV website that requires a unique code I give out to enter?
>>
>>54822028
vscode
>>
Do you guys have any recommendations on the best books/resources for learning proper UX/UI design? I know I can get a million results on google but I'd like to not waste time with all the rubbish if possible. I just want to be able to add UX/UI design to my resume as a full stack dev.
>>
File: stallman_wallpaper1.jpg (722 KB, 2048x1536) Image search: [Google]
stallman_wallpaper1.jpg
722 KB, 2048x1536
>>54831506
This is the most secure way to do it

var password = 'secret';

do {
var input = prompt("Enter password");
} while (input != password);
>>
>>54827364
relational DB can only scale vertically bro. But yeah, for small sites and applications you can use them

>>54831528
no, pajeet
>>
>>54831528
>have much bigger font
>only loose 2 lines of vertical space against tiny vsc font
also, wtf, why do they even put tabs in vscode, when you can only have 1 single tab open at any time??

stupid pajeet programmers
>>
>>54832219
*forgot pic
>>
>>54831506
Step one: Learn to program.
>>
File: le vomit girl.jpg (85 KB, 680x680) Image search: [Google]
le vomit girl.jpg
85 KB, 680x680
>>54832239
>dark theme
>>
How long should it take me to learn a usable amount of:

>bower?
>git?
>Grunt/gulp?
>>
>>54832429
>bower (5 min)
>git (2-5 h)
>grunt (1 h)
>gulp (1-2 h)
>>
>>54832441
Cool, thought it was longer, especially for bower when I saw this >>54832239 (even though I have no idea what it is supposed to do).
>>
>>54832607
thats gulp though, bower is just a package installer and updater.

bower install jquery --save (will install jquery and save the version in bower.json)

gulp and grunt are pretty much the same, they automate certain tasks (like reloading, compling sass, minifying). grunt seems easier, since you just need to set some properties in a javascript object.

but gulp isnt complicated either (take 1 or multiple files, pipe them through different pakcages installed by npm, like minify and similar, and then set a destination where they should be saved)
>>
File: JUST.jpg (27 KB, 600x424) Image search: [Google]
JUST.jpg
27 KB, 600x424
How do I get into the freelancing scene? I work as a programmer at a bank and I want to kill myself.

I know Java, PHP, relational databases and front end.

My dream job would be pajeeting websites for clients and then maintaining them.
>>
>>54832722
This is much worse than you are envisioning it. Get a job in software or work on starting your own business that isn't web design.
>>
>>54832816

What's so bad about independent web design?

Would making mobile apps with Cordova be a bad decision as well?
>>
>>54827311
>when it says 2TB transfer, does that mean I can have a maximum of 2tb of data transferred per month? does that mean that if someone were to ping my site a few million times it would be down for possibly weeks?

Yes, yes and yes. Such is life. If that's not acceptable, use AWS. There, people pinging your site for infinity doesn't bring it offline. It just means you pay thousands of dollars in transfer charges.
>>
File: 1444726837896.jpg (33 KB, 396x385) Image search: [Google]
1444726837896.jpg
33 KB, 396x385
>it works
>>
the fuck??
>>
I'm really close to giving up and making malware. No replies from even a single employer after 4 months of job searching. Not even a negative.

first I'll finish a hentai game bot though
>>
>>54834207
the fuck are you doing
>>
>>54834247
wanted to make validation in js with writing as less code as possible.

if (number < max)

instead of

if (max && number < max)


but I guess its just autism... I'll just stick with the latter
>>
>>54834231
well, we didnt warn you for no reason. also, why do you think we created the pajeet memes?
>>
>>54834336
I had hoped getting a degree in England would turn me from pajeet to potential.
>>
>>54816841
Guys, I have to write a complete CMS for my boss, and I have to do it in a month.

Any recommendations on how to go about this?
The site already exists. The CMS is so my boss can create/edit pages without needing to write "code".

We chose not to go with wordpress/drupal because it is of the greatest importance that we are NEVER hacked. Ever. We also wanted to be able to create a very custom website, without needing to conform to whatever templates/plugins are available for wordpress/drupal.

----
Also, there is a second thing I wanted to discuss with you guys. I've discovered that when you want to dynamically handle data of a variable structure, you can create a single column in your existing table of type TEXT, and just
$uTxt = $lnk->real_escape_string(json_encode($userObj));
$uSql = 'UPDATE `users` SET `misc` = "'.$uTxt.'" WHERE `id` = "'.$userObj->id.'";';
$lnk->query($uSql);


And this allows you to store an entire object in the db, even if the structure isn't fixed. So its extensible.
The one drawback is that you can't use quick sql-based operations for sorting/extracting just 1 piece of data. You have to pull the whole object back out and
 json_decode() 
it, which could get rather slow if the object is particularly big.
I also don't know how well this scales.

But in situations where you can't anticipate every kind of field that might require storing, this object-in-a-column approach is proving useful. Also is useful when the structure isn't as simple as
 row --> column --> value 
.

What is your guys' take on this? Is this a good practice or does it create problems down the line that i'm not immediately seeing?
>>
>>54834281
What the fuck are you talking about?

You can do
>if (number < max)
just fine as long as number and max are both Numbers. You're comparing a Number to a Boolean with an inequality operator, which is retarded.
>>
>>54834378
Fragmenta or QOR.

Bad practice. If you want to store query variable JSON, don't use a RDBMS.
>>
>>54834207
Welcome to JavaScript.
>>
>>54834435
>Go
I'd rather not have to learn another language.

But seeing as I'm not aware of anything else, and seeing as these libs appear to do exactly what I've asked for, I might just give it a go.

Just one question. (this is a potential deal-breaker) Is there an apache module for Go? Also, I assume these libraries have been proven stable and unlikely to be hacked?
>>
>>54834207
>the fuck??

true = 1

2 > true
true
> its correct

2 < true
false
> its correct

true < 2
true
> its correct

true > 2
false
> its correct
>>
>>54834549
oh.. now it makes sense. thx bro
>>
>>54834561
http://www.ecma-international.org/ecma-262/6.0/index.html#sec-tonumber
>>
>>54834542
Not the guy you quoted and also not sure about apache, but here's some reading material for Go & well known exploits:
https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/09.0.html
>>
>>54834378
>CMS
You won't get hacked with wordpress if you aren't stupid. Keep it updated, use a good password, use https, use fail2ban if you can, don't install a shitload of insecure plugins. Is wordpress the most secure thing in the world? No. Is it more secure than anything one guy can make in a month? Definitely.

>What is your guys' take on this? Is this a good practice or does it create problems down the line that i'm not immediately seeing?

Congratulations, you just implemented fucking mongo in a relational db, thus completely robbing yourself of all the benefits of using one. No, this is not good practice. Avoid doing this if at all possible. In fact, even if your app consumes JSON already, you should go out of your way to deconstruct it into a relational-friendly model if it's ever going to touch your db. Or switch to a document db, that's what they're for.
>>
>>54834542
You can learn the basics of Go in one evening. It's designed to be very simple to read, write and learn. https://tour.golang.org

>Is there an apache module for Go
There is no need for one. You can reverse proxy a Go application like any other program that talks over a socket. http://www.apachetutor.org/admin/reverseproxies
>>
OK guys I have a simple website I made using HTML/CSS/JS.
The client wants to update only one image (price list) in the website from time to time.
I don't think I need a full blown CMS for just changing a single image, so what is a quick and easy way to achieve this?
>>
>>54834742

Just add an image upload form and overwrite the existing image.
>>
>>54834800
This is a bad idea unless you're prepared to implement some kind of authentication system. Otherwise you better hope /b/ doesn't find out about it.

>>54834742
You need a CMS unless your client is smart enough to use FTP or something to upload it (and I assume they aren't if they're using an image for a price list.)
>>
>>54834851
Would you recommend a minimal CMS I can integrate to the website in a week then?
>>
>>54834851

>unless you're prepared to implement some kind of authentication system

Yeah, that's what I was implying. He's better off making the website a bit more complex, but adding an admin view with the file upload form.
>>
>>54834604
>https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/09.0.html

>>54834648

Alright, Alright, in the spirit of saving time, I'll take an honest look at this, and see if I can get something up and running. I appreciate the lib recommendations, and the tutorials. I managed to teach myself js, php, and bash. I'm sure I can manage one more language.
>>
>>54834895
If you're comfortable with PHP (or whatever else your server supports) just roll your own and do what
>>54834910
>>54834800
said.

Otherwise, it's hard to say exactly what you should use without knowing exactly what your needs are (and without having an encyclopedic knowledge of every shittly little CMS in the world). I would go on github and search for cms, sort by number of stars and filter by PHP (or whatever else your server supports), then go down the list till you find something you like. Things I would look for might include:
- project looks active-ish
- nothing horrifying in the issues tab
- documentation exists
- license allows you to use it (if you give a shit about that)
>>
>>54835055
>>54834910
Alright, will look into it, thanks a lot to both of you guys
>>
>>54831093
Fiverr.com
>>
What are some good JS (based on Node) CMS alternatives for Wordpress? Which one is used the most?

Are static site generators like Jekyll up for the job?
>>
>>54831395
Yes that's the one, thanks.
>>
>tfw you get an error and can't figure out what's wrong
>>
>>54835369
Ghost
>>
>>54835421
Thank you anon

>https://ghost.org/vs/wordpress/
Sounds really good

Does the industry actually use this? Do you also know an alternative to Magento that the industry uses?
>>
>>54830974
don't do this
Thread replies: 255
Thread images: 24

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.