[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: 31
Death to PHPajeets!

Previous thread: >>54816841

>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
>>
The meems
>>
>>54839118
Like I always say on these threads, you don't compete with Pajeet on a Pajeet-dominated environment. They charge that because they can actually live with that money (and have many of those gigs at the same time helps too).
Working locally is a great idea, keep doing that. If you want more work, wait for your clients to recommend you with other clients, from the same city or a near one.
>>
>>54839118
>Are these bids even serious

Some of them are serious, some of them are absurdly low to catch clients, and then upsell, some of them are just some kind of scam or morons who don't know what their time is worth (or do know what their time is worth)

You get what you pay for.

>how would anyone recommend competing in this area of web dev.

You can't compete with them on price, but you can on quality. Plenty of clients are willing to pay more for a good developer that actually understands what they want and isn't going to just shit out spaghetti code. Also, if you charge more, it actually helps drive off the shitty clients and attract better ones.
>>
>tfw no first world-only freelance site
>>
>>54839540
>tfw no informed customers who understand that pajeets deliver low quality
>>
File: 1463907771464.jpg (72 KB, 453x604) Image search: [Google]
1463907771464.jpg
72 KB, 453x604
>>54839165
>when you discover test-driven development
>>
>>54839165
Why the fuck do people originally and still use PHP?
>>
Hey webcucks, anyone using Flask? The request.form MultiDict behaves a bit like a hashmap so the arguments that were received are not stored in the same order, any way to fetch them as they were originally posted?
>>
>>54839718
>Flask
This is why you should be using Django
>>
>>54839718
Let's look it from another angle: Why do you want to receive the params in a specific order? What are you trying to do with that?
>>
>>54839770
I'm writing a proper PayPal IPN which requires you to dial their servers back with cmd=_notify-validate parameter followed by parameters that were initially received.

And from their IPN documentation:
>the message must contain the same fields (in the same order) as the original message and be encoded in the same way as the original message.
>>
>>54839238
>>54839354

Thanks guys for the response. :)
>>
>>54839718
Give an example of the order of the multidict you receive, the form field's order, and your desired output message
>>
>>54839842
see >>54839800

Basically I receive a POST request with a bunch of data, the web server parses it and passes it as a dictionary to the view handler, however, the dictionary, like in many interpreted languages, is a hash table alike which means the elements are in a different order than they were posted depending on the hashing function implementation. Reading through Werkzeug's source code right now if I can somehow hijack the original HTTP request so I can parse it out manually.
>>
File: JUST.jpg (31 KB, 456x320) Image search: [Google]
JUST.jpg
31 KB, 456x320
who /no-competence/ here?

>webdev courses in college
>teacher says work is great
>go through php, sql, DOM, jquery, xsd, xslt, html5, xhtml, bootstrap
>i can do all of it
>make nice looking websites
>show code to people
>"anon this is shit"
>too afraid to do freelance work because i don't trust my security methods
>too afraid to do volunteer work because i don't know anything about hosting
>spend my time making homepages for myself and starving to death
>>
>>54839897
It's a dictionary. Parse the keys in the way you want
>>
>>54839668
>originally
PHP started out as sort of a collection of useful scripts that eventually grew into a programming language by accident.

>still

1. Basically every web server in the world will run PHP out of the box or with very little configuration. It's sort of a templating engine, ORM, and server framework rolled into one.

2. PHP is really easy for a beginner to get into and start making things. If you know html and some basic programming concepts, you can go from zero PHP knowledge to a functioning app in like 4 hours.

3. Wordpress, Drupal, Magneto, and countless other services use PHP. In a large company, it gets ridiculously expensive to switch to new technologies. It's why when you go to $localSupermarket they're still using those yellowed IBM point of sale systems. Businesses usually only replace tech stuff every 10-20 years, or longer if they can. Non-tech people, especially old timers aren't used to how fast the tech world moves, so they just don't understand why it's such a problem to use old stuff.

4. Being essentially an HTML templating engine with a bunch of extra features, PHP completely disrespects separation of concerns. Pajeets can just write their business logic right on the page, so they never learn to use MVC. Since you can't do that with other server frameworks, the switching cost is too high for them to learn something else, so they don't. and thus, the cycle continues.
>>
>>54839972
You don't seem to understand, the web server parses the initial HTTP request and breaks it down (status code, mime types, headers, data and so on), then puts it into a dictionary and passes down to the request handler which then passes it to a matching route, I have no control over it.
>>
>>54840008
If only you gave that example..
>>
>>54840066
How is that going to help?

Say the remote server sends a request with POST parameters that go like this:
5=a&3=b&1=c


Now, the web server breaks it down into a request and passes me a dictionary within request that I can access through a request.form variable. If I try to iterate through the dictionary, I'll get 1=c, 3=b, 5=a respectively (could vary on the hashing algorithm), even though I'd like to iterate over it as 5=a, 3=b, 1=c, as it was in the original network packet.
>>
>>54840102
Can't you just attach it together based on what PayPal requests?
>>
>>54832909
Because dealing with clients is terrible. It's not about the tech stack you use or if you're making mobile apps. It's the act of making small websites/apps for small businesses. You get paid shit, you end up being responsible for everything, the work is trivial but draining and you're constantly looking for more work. It's not really freedom.

I'm not saying don't try to freelance, just don't go into "web design" or something similar.
>>
>>54840141
That's what I want to achieve but I cannot just do:
params = '&'.join(['{}={}'.format(key, value) for key, value in request.form.items()])


Because the request.form.items() function will return an iterator with already parsed params put into a dictionary and I can't seem to a way to step back and get those before they have been parsed.
>>
>>54840174
Does PayPal not give you the order you should parse it in? You don't need to use a generator unless you're using an OrderedDict
>>
>>54840217
God, what do you not understand? The dictionary is created /BY THE INTERNAL WEB SERVER THAT HANDLES THE REQUESTS/ as I stated before, which means I cannot just tell it to give me an OrderedDict, that's why I'd like to hijack this request before the the dictionary is generated or through maybe some sort of official Flask API that I cannot find but maybe someone here knows.
>>
>>54839949
>he fell for the "just make websites, it's easy and you can make good money" meme

>DOM
basic html shit

>jquery
Okay great, now learn real javascript

>xsd, xslt
What year is this? Have they put a man on the moon yet?

>html5
html5 isn't a new thing anymore. It's the current standard and has been for a while now.

>xhtml
Again, what year is this?

>bootstrap
Okay great, now actually learn css

>i can do all of it
Cool, can you go potty all by yourself, too? All of that is the most basic of basic shit.

>show code to people
>"anon this is shit"
It probably is shit, that's why they're saying it. Learn from your mistakes and get better.

>too afraid to do freelance work because i don't trust my security methods
>too afraid to do volunteer work because i don't know anything about hosting
So practice until you git gud. When you get better, you'll start to feel more confident. Get a solid foundation in basic skills and try contributing to a few open source projects.
>>
>>54840235
What I don't understand is why PayPal doesn't tell you the order you need, so you can piece it together in that order manually. Or how these values are generated in such a way that you can't grab it in the form you need it
>>
>>54840160
can confirm, computer illiterate small business owners believe you should do everything from development to hosting. Even when you make it clear to them, that you don't do that. But that's nothing compared to them constantly moving the bar believing you should not charge more.

But if you make your pricing and terms and conditions very clear to them from the beginning, then you can avoid 80% of the disagreements. Freelance web dev is a bit like working in a retail complaints department. Anyone who has done that should know what I mean.
>>
>>54839949

Failing is part of learning and getting better.
>>
>>54840280
>What I don't understand is why PayPal doesn't tell you the order you need, so you can piece it together in that order manually.
They send them as part of the POST request and expect you to dial back with the same key & value pairs in the same order.

However I just found an API function called get_data() which returns pre-parsed byte array I assume so I'll give it a try.
>>
>>54840360
Man, just use Paypal's Braintree like all the sane individuals
>>
>>54839604
>Implying pajeet advertises himself as the poo he is
>Yes sir, I'm John Hansen, I'm living in Florida! 100% american! Do one thing: Do the needful and hire me. You will not regret. I will finish the programme fast and with very not that many bugs. I am certified Java devloper. Certified by? By the Java devloper certificate... group. Yes, is very reputationable.

And the average HR spastard is dumb enough to be fooled by this horrible acting.
>>
>>54840384
It's a legacy code that needs some refreshing, I wouldn't even bother with it otherwise.
>>
>>54840400
Ok. I guess my only other tip is to have a handy debugger around, like Pycharm's, so you can experiment executing different statements at any point in the code
>>
File: 1358115056825.jpg (102 KB, 640x427) Image search: [Google]
1358115056825.jpg
102 KB, 640x427
>>54840397
> Do one thing: Do the needful and hire me.
>>
Why aren't there applications like Sketch or Adobe XD on Windows? Been watching how they work and they seem miles better and more convenient at making mockups than Photoshop.
>>
Can we just establish here, right now, that those modal pop ups trying to get you to sign up for newsletters or those that want you to sign in with your social media are the cancer of the internet.

I FUCKING HATE WORDPRESS AND EVERYTHING ASSOCIATED WITH IT. FOR THE LOVE OF FUCKING GOD WHEN CAN IT JUST DIE THE FUCK OUT.
>>
Anyone here works with java as backend?
I have some experience with just good ol' java SE but I'm trying to get into EE and webdev and I'm trying to start from the ground up, but I would like to know what is actually useful to know from someone with experience. Some guideline of what is good and actually useful to know?

Like do I even bother learning stuff like dealing directly with JDBC or just get acquainted with Hibernate, Spring or whatever?
>>
>>54841233
>Can we just establish here, right now, that those modal pop ups trying to get you to sign up for newsletters or those that want you to sign in with your social media are the cancer of the internet.

ad blockers, yo

>I FUCKING HATE WORDPRESS AND EVERYTHING ASSOCIATED WITH IT. FOR THE LOVE OF FUCKING GOD WHEN CAN IT JUST DIE THE FUCK OUT.

Welcome to the world of webdev. There are tons of sites out there still using flash and java applets. It'll never die, it'll just slowly become less popular as newer stuff comes along. Eventually it'll be unpopular enough that the core devs abandon it. Your grandma's shitty wordpress blog will still be around until she dies and the server fees eat all the way though her bank account though.
>>
Redpill me on Magento /wdg/
>>
When you can't even bring yourself to build a funny project for the lulz which would take you an hour, you know it's over.

I quit on trying to implement input slider... I'm probably just lazy but that's because everything is boring.
>>
>>54841725
Ask Jeeves
>>
>>54840360
God I give up. So I found a better way. You can override the storage mechanism for the data so you can plug-in an unordered dict just fine but after fiddling with it for a bit I've not succeeded. I keep getting "INVALID" reply instead of "VERIFIED".

I've read the documentation multiple times and tried various approaches and none of these worked. I'm pissed off but I'll try again tomorrow.
>>
How long does it take to go from application -> employment?
>>
>>54843484
Depends, but I'd say usually 1-2 weeks from application to interview, and from there, it could be anywhere from the next day to another couple weeks till you actually start.
>>
>>54843484
Months, apparently, because I have yet to even get an interview.
>>
File: Untitled.png (2 MB, 1923x1087) Image search: [Google]
Untitled.png
2 MB, 1923x1087
I'm too stupid to make this codepen scrolling image repeat in a loop instead of just skipping to the beggining of the animation.
Can somebody help me?
http://codepen.io/anon/pen/GoYEyj
>>
>>54843720
Is your resume shit?
Do you have a portfolio?
Did you make sure to include a good cover letter?
Did you follow up after a week or so?
Do you ever go to local networking or tech events?
Do you have any notable contributions to open source?
Do you have some kind of criminal record or embarrassing but easily googlable baggage?
Are you a disguising autistic neckbeard?

Those are all things that affect whether or not you'll hear back.
>>
>>54843834
Is your resume shit?
Nope, had it vetted by the Career Services department of my college.

Do you have a portfolio?
Yes, one major project and one..not so major. I'll be adding a third (another major one) in a few weeks.

Did you make sure to include a good cover letter?
See question 1.

Did you follow up after a week or so?
Nope, I probably should. I haven't followed up with any of them.

Do you ever go to local networking or tech events?
Yes, but rarely. Not much to do neither are there many people to meet here.

Do you have any notable contributions to open source?
Nope, only the projects on my Git.

Do you have some kind of criminal record or embarrassing but easily googlable baggage?
Nope, I barely exist on the internet outside of my LinkedIn, Git, and a few other accounts.

Are you a disguising autistic neckbeard?
Slight social anxiety and I suck at public speaking but that's about it. My social life is pretty tame but I'm far from unapproachable.
>>
>>54844079
>Nope, had it vetted by the Career Services department of my college.
Was your resume reviewed by any IT people, or just HR grad students? If they aren't knowledgeable about tech stuff, they aren't going to be that much help. Getting the right mix of bullshit buzzwords (to get past HR) and important shit (to actually show off to the people you're going to be working for) is tricky business.

>Did you make sure to include a good cover letter?
>See question 1.
Make sure you're tailoring the cover letter (and to a lesser extent, the resume) to each job posting.

Also, try reaching out to your school's CS department (I assume you're in a CS major or similar). If there's any teachers you're friendly with, ask them to help you.
>>
File: 1274312945009.jpg (12 KB, 317x330) Image search: [Google]
1274312945009.jpg
12 KB, 317x330
>>54844079
>Nope, had it vetted by the Career Services department of my college.
>hasn't had an interview in months

The purpose of a resume is to get you an interview. If you're not getting interviews, then your resume is shit.

Put more buzzwords, languages libraries, tools and frameworks on it. Trigger all those keywords.

Remember the only thing that stands between you and an interview is a recruiter who thinks that a computer is a magical Facebook machine. They only have a job until we make robots that can match keywords and then hold a phone conversation.

Don't waste space with a long rambling paragraph about about how you learned the value of hard work and teamwork during your job as a gas station attendant, or McDonalds. Nobody cares.
>>
File: 1447800692248.jpg (357 KB, 1600x1200) Image search: [Google]
1447800692248.jpg
357 KB, 1600x1200
I need some cool projects to make because I don't have dick that's open source that I can show but I can't fucking think of anything.

Where did my creativity go
>>
File: kvpaw.gif (1 MB, 288x288) Image search: [Google]
kvpaw.gif
1 MB, 288x288
>>54844486
>>54844619
Thanks for the tips lads. I always thought since it was vetted I wouldn't need to do much, but I'll take it to my department chair (he's pretty chill) and ask him for tips.
Never really thought about following up either, so I'll email a few places I applied to 2 weeks ago.
>>
>>54839668
It's useful due to its server-side nature. If you don't want to leak information you can have PHP generate the page.

The only serious problem with PHP is the speed of deprecation. Used any function in your code? Better not update.
>>
>>54839949
If you didn't also have to take classes on security and coding structure you got cucked.
>>
>>54844824
The internet sucked it dry
>>
I'm having a CSS problem: getting a gif to animate.

The gif works fine anywhere but on this element. The html structure is as follows:
<div class="card">
<div class="front"></div>
<div class="back"></div>
</div>


I'm trying to put the gif as the background image for the nested div with class="back".
The div with class="card" has the property transform-style: preserve-3d. If I remove that property, the gif will animate on the nested div correctly, but obviously it can no longer be manipulated in 3D the way I want it to be.

Anyone know why this is happening and if there's anything that can be done about it?
>>
File: qzheqh.png (62 KB, 1920x955) Image search: [Google]
qzheqh.png
62 KB, 1920x955
I've made an imageboard software. I think it looks pretty decent on the site I'm running it on. I'd like some formal opinions on it, but I don't want to post the link in here in case I get banned.
I'm looking for help mainly with the front-end. If anyone's interested in taking a look, email me at [email protected]
>>
>>54847985
Tell us more about it. Are you using any particular front end libs or just plain html/css/js? What back end language and templating engine?
>>
>>54847463
Convert the GIF to CSS animations and it will work.
>>
>>54848140
Well, the software itself is called VIB, for vanilla imageboard. I wrote it with the intention to use as little third-party software as possible, because it's been a learning project. So far I haven't used anything I didn't write myself with the exception of the font (Roboto) and a bit of the image uploading script. I uploaded a screenshot with the last post.
>>
>>54848140
>>54848273
Oh, and to answer your last question, the back-end is in php(7) and I'm using a mysql(mariadb) database to store posts and such.
>>
>>54848309
>>54848273
Okay, I sent you an email.
>>
>>54847985
>I've made an imageboard software
Yeah, just like 90% of the devs in these threads. How creative.
>>
>>54843484
Depends on how many pahjeets live near you. I can't even get an interview because of the competition.
>>
>>54848686
Eh. My aim is not to be creative, it's to do coding I enjoy and create something I'll enjoy using.
>>
how can I remove text from canvas without clearRect?
>>
>>54847985
Not opensourcing it?
>>
Ruby on Rails or PHP?
>>
>>54849568
Phoenix.
>>
File: ackchyually.png (35 KB, 700x700) Image search: [Google]
ackchyually.png
35 KB, 700x700
>>54849568
PHP
>>
>>54849482
draw something over the text?
>>
File: sadhana.png (315 KB, 1280x800) Image search: [Google]
sadhana.png
315 KB, 1280x800
need design inspiration.

I want something simple like this, but not so bare.

what would you suggest adding to a basic technical log site? I'll probably add a bitcoin donation link and an about me page. anything else?
>>
>>54850444
curves faggot, ppl like curves
>>
>>54850473
anon pls
>>
React says: 'Download the React DevTools and use an HTTP server (instead of a file: URL) for a better development experience: https://fb.me/react-devtools'

What's the advantage to using a server rather than a file?
>>
>>54850488
Real websites have curves.
>>
>>54850910
some shit won't work from files
>>
>>54851321
What won't?
>>
hi /wdg/ I have just started making baas software.. I would like to know if my doing is a good practice?

So when user launch theprogram, the program will make a httpreq to my website to fetch some data for user to view..

then, when the user are eligible to insert their data, the program will make 3 http reqs to my website.. first one is for INSERT query, second will do the DELETE query, and the last will be SELECT (to display the latest set of data)..

What I am having trouble with, is ; is this a good practice? I mean, making multiple requests at one time.. is it bad? performance wise?
>>
>>54843790
just change repeat-y to x
>>
>>54841725
Complete shit for any kind of performance. Templating isn't bad, the admin area is powerful but they need an UI guy to sort that shit out.
>>
>>54851726
Kills your performance, unless you are using HTTP/2.
>>
>>54839165
Guys. How do you handle all this fucking incompatibilities with IE.

I created an entire website, but when it comes time to test on IE, its just bug after bug when it worked fine on chrome.

What are the bugs?
Stupid bullshit like "string.repeat" not existing.

Is there a js script I can include at the beginning of the head that'll add all the missing bullshit to ie, so that it'll behave like chrome and firefox?
>>
>>54854636
yes, polyfills
>>
>>54854636
I run an array of test strings with eval and load a bunch of polyfills, if even one fails.
>>
>>54854650
>>54854744
https://github.com/Polyfiller/polyfiller

God damnit. Why does everything want me to use node these days? I don't know how to use node, and I don't have time to learn on this specific project. (which Im being paid for)

I'm using apache. I have a regular website. I want to be able to just include a js file client-side. I shouldn't have to have a fuck ton of npm packages and less files to just do some basic shit.


Good grief.
>>
>>54855094
Did you even look at what that package does? There's a ton of ES6+ shit, of course it needs node.
>>
>>54855222
Polly-filler didn't work, so I went and built a modernizer with EVERYTHING. Literally EVERYTHING checked.

Built the file.
Included it.
...And IE still reports breakages.

Like what the fuck?
Has somebody seriously not just created a one-off script that bridges the gap between IE and chrome?

You would think someone would've done this by now. It's fucking stupid that I should have to do all this extra bullshit just because IE can't keep up with the rest of the world. I just want to include a single file, and have IE "just work" the way it is with chrome and firefox.

Good gravy. I fucking hate cross-browser compatibility day.
>>
>>54855094
>gets paid to use PHP
>complains at the opportunity to learn something to take him out of his PHP hole
>>
>>54855455
What exactly are you creating? What does the code do?
Have you considered the possibility that you aren't following best practices when it comes to writing code, causing it to break in IE? Just curious.
>>
>>54855460
I'm complaining because in the real world there are deadlines. Not everyone lives with mommy and has all the time in the world to learn every new piece of obscure bullshit.

I've got deadlines to meet. If I don't meet them, then I don't get paid.

I'll happily use php over node because its actually simple to use, and is fast to develop. That's why everyone uses it.

Joke all you want about "pajeet", but when "pajeet" has a bank account with $30,000 cash, and you're living in your mother's basement, then I'd say its safe to say "pajeet" is the one who's got it figured out. Not you.
>>
>>54855455
>>54855491
Nobody gives a shit Pajeet. I'd rather be a non-retard who knows how to use something as simple as polyfills over your shitty PHP job at a company which must be pretty shit if they let you in.
>>
>>54855491
We all have deadlines, but most of us have better jobs than you because we moved out of low-tier technologies.

Got $30,000? Good. Now learn something new and get a job with bigger challenges and reasonable deadlines.
>>
>>54855455

Why are you even trying to support the five people in the world still using old versions of IE? Fuck 'em. It's unrealistic to expect an obsolete browser to be able to compete with something that gets updated constantly.

IE not being able to run anything is a good thing, because it'll force people to update to a modern browser.
>>
>>54855597
>but most of us have better jobs
>most of us have jobs

Well fuck, I might be in the minority here.
>>
how to build a regex with js that checks if a string has the same character two or more times next to it

aab -> true
aba -> false
>>
>>54855845
Do your own homework, asshole

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
>>
Anyone have any experience with db-specific cloud hosting? Looking to setup a PG database.
>>
Is possible to write asm.js by hand? Are there any benefits to it?
>>
Going through this tutorial on Java and WebSockets
>http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/HomeWebsocket/WebsocketHome.html

I wasn't sure how does Java and webSocket handle the onMessage calls. Does everything run in one thread or is a new thread started for every call made so I actually have to synchronize sensible objects to prevent inconsistency.
>>
Anyone using Scala? How is it for webdev?
>>
File: down syndrome.png (564 KB, 952x472) Image search: [Google]
down syndrome.png
564 KB, 952x472
I want to put up a site with embedded streams of videos and well as an embedded chatroom and a few other small decorations. Would a cheap package from securedragon.net be good enough? Also, what's the difference between a VPS and 'web hosting'? They're the same thing, right?


I'll get the cheapest package guaranteed to give enough space, after that it's worthless.


And no, I've never used this web hosting service so don't ask me if it's legitimate.
>>
>>54856566
Yes. Same benefits as writing in ASM.
>>
>>54855623
It's not an old version of IE. It's the latest one.

God damnit. Can someone just tell me how to make javascript fucking work in IE.
I've tried 'modernizer.js'
I've tried 'polyfill.js'
I've tried 'ie8.js'
I've tried 'html5shiv.js'
I've tried 'selectivizr.js'

Nothing fucking works. This is literally insane.

There should be 1 library out there. On a CDN. Where I can just
<html>
<head>
<script type="application/javascript" src="/js/magic-library.js"></script>
<script type="application/javascript" src="/js/this-script-works-in-chrome.js"></script>
</head>
<body>
[fucking content goes here]
</body>
</html>


And everything should be able to "just work" for IE the way it does for chrome and firefox

God damn.

I don't want to have to go hunt down 100 different polyfills just to make IE do what chrome/firefox can do out of the box.
>>
>>54856809
>what's the difference between a VPS and 'web hosting'? They're the same thing, right?
No, in the context of that site you linked:

VPS = unmanaged hosting, you access the server using SSH and manage everything yourself
Web Hosting = babby mode, you pay extra for them to manage things for you and then you manage things via cpanel, which ends up making many things much harder, but it's perfect for phpajeets
>>
>>54856936
What are you trying to do exactly that doesn't work?
>>
>>54856936
Calm down Pajeet. Why don't you try asking StackOverflow?
>>
>>54856936
>
type="application/javascript"

Why does this look so weird to me
>>
File: fridge.png (213 KB, 719x330) Image search: [Google]
fridge.png
213 KB, 719x330
>>54856971
only experience I have with running websites is editing shit using Filezilla. I assume 'Web' Hosting' is where I'm at?

Web Hosting isn't that competitively priced so I'd probably go with the safer bet and do Leaseweb (assuming Leaseweb will hold my hand as much as any other hosting providers).
>>
>>54856977
Right now its just String.prototype.repeat being undefined.

But that's not the point. Sure, I could include the 1 tiny snippet to fix that problem, but then I'll just find another problem. And another. And another. Because that's the fucking shit with IE.

I don't want to have to go page-by-page and find and debug every single error. Grabbing like 100 little polyfill snippets along the way.

I should be able to include a single library that'll fix everything, so I don't have to go bug-hunting. There are no bugs in firefox/chrome. Meaning that any/all bugs are just pure IE incompatibilities.

What I'm asking for, is where I can find a sort of IE Compatibility Layer that'll make it so that any script that'll work on firefox/chrome will also work on IE.

So I shouldn't need to quote which specific error I'm getting, because if the script does its job, it'll fix them all.

Do you guys understand what I'm saying?

>>54857007
I used google and have already seen a few StackOverflow Questions/Answers. None of them helped.
I don't ask questions on there myself, because everytime I used it in the past, people were unhelpful as fuck, just copy-pasting the first thing google told them. Even though I had specifically stated that what they were quoting was not the answer, as I had already tried it. Then my account got deactivated because my question "wasn't relevant" or something like that. I don't entirely remember, but whatever it was, it was bullshit.

>>54857028
Some people use
 text/javascript 
but I read on some developer thing a while back that we're supposed to use
 application/javascript 
these days. Something to do with "bom" or something. Plus, apache always serves .js files with the
 application/javascript 
mime type anyway. So why not match what apache says?
>>
>>54849568

Different tools for differnt solutions.

>should I take a M1A2 tank to drive to the pizza store?
>should I take a bicycle to drive a nascar race?

It might be a surprise, but Ruby is so much more than "muh Rails". How about Cuba? Nanoc? Sinatra?

Also what do mean with "PHP"? Wordpress? Laravel? LAMP stack?


I hate this one-dimensional answers..
>>
>>54857084
FUCK YES! FUCK YES!!!!!

YES!

Fuck yes.

I finally found a lib that works.
<script type="application/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.9.1/polyfill.js"></script>


Ironically I had already tried 2 other scripts also called "polyfill.js", but apparently this one is the one that works.

Fuck yes.
>>
>>54857378
bye felicia
>>
Does anyone know of some tool that will consume a React app and display some kind of dependency diagram for the components?
>>
why doesnt the filter work ?
i have tried it with other functions like .search or test()
the regex seems to work on other examples

 function permAlone(str) 
{
var arr = str.split(''),
allpermutation = [];

function swap(a, b)
{
var tmp = arr[a];
arr[a] = arr[b];
arr[b] = tmp;
}

function generate(n) {
if (n == 1) {
allpermutation.push(arr.join());
} else {
for (var i = 0; i != n; ++i) {
generate(n - 1);
swap(n % 2 ? 0 : i, n - 1);
}
}
}

generate(arr.length);
console.log("without filter: ",allpermutation);

var regex = /(.)\1+/g ;
var filtered = allpermutation.filter(function(string) {
return !string.match(regex);
});

console.log("with filter: ", filtered);
}
permAlone("lel");
>>
>>54857942
shit i think i know
>>
How do you not feel bad that you are making crud apps and are the lowest tier of programming?

Not an insult, I'm in the same position.
>>
>>54858051
I make crud apps for the monies.
I make other kinds of apps outside of work for fun and to not feel bad about the other work.
>>
Need quick and cheap/free/OSS css editor just to get a website off the ground for our company.

I can probably get something more robust later when the app we developed starts making money but what do you guys recommend?
>>
>>54858420
Atom
Sublime Text
Visual Studio Code (this isn't the classic Visual Studio IDE)
Notepad++

and all the relevant addons/plugins/packages
>>
What would be the best approach for a personal website used to host personal projects? Bootstrap? Node.js?
>>
>>54858453
Thanks
>>
>>54858515
>What would be the best approach for a personal website used to host personal projects? Bootstrap? Node.js?
Check static page generators, like jekyll
>>
Anyone else spending all your web dev money on high quality prostitutes?
>>
>>54858551
Yeah, I call her "girlfriend". She sucks everything: my dick and my money
>>
>>54858572
kek
>>
>>54858051

because ok money, learnt as a hobby, pretty easy job and people who don't know anything about programming think i'm smart/using magic

i mean i might want to change in a few years and do some 'proper' programming but i didnt do anything cs related at university so idc
>>
Is web development inferior to software development?

Some cs majors have been talking shit
>>
File: chat.gif (383 KB, 480x300) Image search: [Google]
chat.gif
383 KB, 480x300
> https://round.io/chat
>>
guys, I have a swiper, and on each slide, I want to move on to the next li, and add a class to it.

I am shit at JS. What do?

    onSlideChangeEnd: function(swiper) {
$('.top-video__list li').each(function(i) {
$(this).toggleClass("active-sublink");
});
}



This just toggles the class on every li, instead of going through each li. Can you throw me a hand because I can't find how to do this at all.
>>
>>54860356
I mean rather, this removes the class on the first li and puts on every other li, and it alternates like this at every slides.
>>
File: Untitled.png (207 KB, 1366x768) Image search: [Google]
Untitled.png
207 KB, 1366x768
I've tried three times to get laravel running on a server, it works on local so where the hell am I screwing up?
>>
>>54859643
>share your location to chat

fuck off botnet
>>
>>54839165
As somone who never comes here, whats with the hate on php?
>>
File: sep.png (414 KB, 800x720) Image search: [Google]
sep.png
414 KB, 800x720
Laravel/php or Ruby on Rails/Ruby?

I don't know the first thing about either framework.
>>
Am I being used?

I earn 18k, that's in pounds since I'm a brit. Came on as a front end web developer but I do PHP and some database stuff.

What is your salary /wdg/??
>>
>>54860857
what do you do? How much money do you make for your company?
>>
>>54860451
is the php version the same on the server as on your pc?
>>
>>54860941
desu, their "product" ain't making a profit i don't think.

It's an App company, they have about 8 devs, I do the web work, the others ios and android. but their cms is web, they have a web platforn and aspects of teh app are web based. There's another ios dev that does web that does most of the cms. It's like devs are switching between roles they aren't trained to use. Shit goes wrong alot of times.
>>
>>54861003
If your App is making a loss, then you will not get a raise, i am afraid. What cms are you using and what is this App.
It also sounds that the management in your company totally sucks.
>>
>>54859628
They're just being precious. Software engineering is a perfectly clean and sterile development environment with nothing that will irritate their sensitive autism. Web development requires you to get your hands dirty and compromise the pretty-picture architecture sometimes if you want to get things done, and they can't stand that.

That said, the web as a medium is and will always be about a million times more important and relevant than the most popular client-side programs on earth. They can't stand this either, so the best they can do is look down their nose at Javascript because it fails silently and other things that prick their tender buttholes.

>inb4 the /dpt/ trolls lurking this thread start sperging

Please do, I just came back from the dentist
>>
>>54861070
Not giving details on teh App. However i didn't write the CMS, it's raw php lol, no frameworks or nout, it sucks, but you know what sales guys are like. Snort a line and SELL SELL SELL. They are expected to make apps in less than a week, work load is too busy.
>>
I just got oferred around 50 grand a year straight out college for a job.

I graduated in cs but mainly focused on web dev and the job offer I got was for graphic designs. (Since I did most of the graphics at my school even though at the same token I used to maintain their site)

Question is, do you guys think starting off as graphic design os a good start? My collegues tell me it os but I don't trust people who don't even know html5 and css3 exist.
>>
>>54861141
I don't even know what you mean with
>Web development requires you to get your hands dirty

>That said, the web as a medium is and will always be about a million times more important and relevant than the most popular client-side programs on earth. They can't stand this either, so the best they can do is look down their nose at Javascript because it fails silently and other things that prick their tender buttholes.

So making a big ass client side program that uses webservices to a server can not be important? I think you underestimate the worth and sometimes the difficulty of programs
>>
>>54861278
>client-side software that contacts the web
>web app that communicates with the client browser, a back-end database, any number of APIs/CDNs/etc.

It's the difference between building a telephone and building a switchboard. Also most professional software breaks when it tries to contact the web, even for something impossibly simple. Even normies realize this.
>>
>>54861169
Sounds horrible. find another company, yours is doomed
>>
>>54861277
Web dev employers like a graphic design background since it means that you will also do all the sites graphics, including the psds, for them and they have to pay less.
Its even better when it's a big company like the one you're getting hired from. (Basing myself only from salary but whoever pays a graduate 50k a year for graphic design must be a hell of a big company)
>>
>>54860408
>>54860356
pls resposnd
>>
>>54860356

It selects EVERY list item under .top-video__list. This includes the one that already has a class on it.

toggleClass method adds a class if non exists, removes a class if it exists. You can put 2 and 2 together here and see that every selected element will either add or remove a class onto it.
>>
>>54861704
Thank you so much, that was pretty helpful. Although how would I go about selecting only one li, and then going through them every time the slide changes?
>>
>>54861760

Haven't used jQuery in years. but this might help:

$('.top-video__list li.active-sublink').removeClass('active-sublink').next().addClass('active-sublink');


This should remove the active class from the last element and move to the next element in the list and add the class onto the next one instead.
>>
File: 1448316348755.jpg (73 KB, 640x480) Image search: [Google]
1448316348755.jpg
73 KB, 640x480
>>54861865

or if you have no active class available:

var listItem = $('.top-video__list li.active-sublink') || $('.top-video__list li')[0]

if(listItem.hasClass('active-sublink')) {
listItem.removeClass('active-sublink').next().addClass('active-sublink');
} else {
listItem.addClass('active-sublink');
}
>>
>>54861865
>>54861865
>$('.top-video__list li.active-sublink').removeClass('active-sublink').next().addClass('active-sublink');

Thank you so so so so so much, damn I tried stuff that was way wilder than this, you are awesome, it actually works.

I wanna learn jquery like a baller. Outside of playing with it like this, are there any links you would recommend that you have used? Or maybe I will just dig through the github link in the OP. Either way, thank you!!
>>
>>54860972
Exactly the same
>>
>>54839165
>phphammer
you fools see a hammer, I see a grappling hook/climbing pick
you good folk only think php sucks because you lack perspective
>>
>>54861997

I suggest learning pure javascript first. jQuery is just a library to make the whole thing easier.

I personally stopped using it altogether many years ago because for the amount of stuff that I used it for, it was useless, and just an extra resource. If I need any of its functionality, I just write my own little object with methods I need.

Might wanna check out this:

https://github.com/getify/You-Dont-Know-JS

It's not brilliant, but a fairly good free book on javascript in general.
>>
>>54861997

A little fix:

  var listItems = $('.top-video__list li');
var activeItem = listItems.find('.active-sublink');
var nextItem = activeItem.next() || listItems[0];

activeItem.removeClass('active-sublink');
nextItem.addClass('active-sublink');


What this should do is once you get to the end of your list, there will be no NEXT item. Thus it needs to start pointing to the first item in the list again. That is if the slideshow or whatever repeats. This little fix should do it.
>>
File: bieber.gif (424 KB, 157x157) Image search: [Google]
bieber.gif
424 KB, 157x157
>>54839238
>>54839354
>$35 for 3 weeks

As a Pajeet, I would like to add that its not even moonlighting gig. Even the most desperate pajeet will not take anything less than $30 a week, these are probably scams.

>mfw feel pretty awesome working at $500 a month
>>
>>54860848
Google "fractal of bad design"
>>
>>54862058
I can’t even say what’s wrong with PHP, because— okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.

You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’s not very useful to you, but you guess it comes in handy sometimes.

You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.

You pull out the pliers, but they don’t have those serrated surfaces; it’s flat and smooth. That’s less useful, but it still turns bolts well enough, so whatever.

And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And there’s no clear problem with the set as a whole; it still has all the tools.

Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.

That’s what’s wrong with PHP.
>>
>>54862058
php is like a climbing pick
python is the grappling hook
haskell is like meditating for a really long time and hoping you start ascending at some point
>>
>>54862271
Thanks, although for some reason this one isnt working, and I think it is about the last line specifically.
>>
>>54862987
And don't forget the part about every time someone suggests to the International Toolbox Standards Committee that maybe they should start trying to swap out some of those shitty tools for good ones, or at least maybe include a phillips screwdriver by default since phillips screws are pretty common, a bunch of carpenters start bitching about it because they don't they don't like change (even though the use of the new screwdriver is completely optional and they can still use the weird useless one if they want)
>>
>>54862987
Hold the fuck up, the toolbox is PHP?
I thought you were making reference to the different languages as you went along, because that's exactly what I got from it. No language is perfect, and you'll always have people championing one over another, ala the hammer, pliers, and screwdriver.
>>
Anyone have any decent resources or websites where I can find some ideas for a design? I'm trying to put together a simple single page for my friends' band and I keep scrapping everything I put together.

HTML/CSS design isn't my thing so I would appreciate something to help me out.
>>
>>54862966
That article is out of date. PHP has improved much since then and to be honest, I can take just about any language used in web development and find a dozen articles about why it's "bad" or why some developer ditched "x for y".

Sure, there are pitfalls in PHP, but there are pitfalls for every language, some with more, others less. If you take time to avoid those mistakes and write good code you won't have any issues.

That being said, I don't like PHP, not because of anything wrong with it, I just don't like it.
>>
>>54865229
https://dribbble.com/ - cift through the other art bs and you'll find unique html/css designs and concepts

http://mediaqueri.es/
>>
>>54865516
Thanks; I know of dribbble, but unfortunately most of it just mockups not actual websites.

I'll take a look at the other though.
>>
>>54865393
There are pitfalls in every language, and many of them might have been fixed since then. The point is that although PHP offers absolutely no advantage in comparison to more modern platforms, except for historic proliferation, it still has plenty of disadvantages. It is also part of the old backend scaling paradigm of offsetting an inefficient implementation by throwing 10 more servers at the problem. The web has grown and, hopefully, soon enough backend languages like PHP, Ruby and Python will be widely deemed as economically unsound in favor of more efficient platforms, like Go, Elixir, C++ and, to a certain extent, Node.js.
>>
>>54865590
>hopefully, soon enough backend languages like PHP, Ruby and Python will be widely deemed as economically unsound
Probably not in your lifetime plehboi.

I've never really gotten the appeal of Go either, it looks so fucky.
>>
>>54865732
The appeal is Go being so simple even a Pajeet like you will have a hard time producing shit code. It also makes it easy to teach to anyone that knows some C derivative language and, most of all, easy to maintain even in large teams, while still remaining incredibly performant.
>>
how can I make a canvas responsive? can I do it with just css?
>>
>>54865829
>even a Pajeet like you
Calm your tits papi, I'm not here to argue that Ruby, Python or PHP is better than the more efficient platforms you mentioned. I understand why people get so worked up over shit like this as if you're telemarketer getting paid to say shit like this.

Anyway, neither Python nor Ruby have fully matured for web development yet. They have their pros and cons like every other language/platform but they can only get better.
>>
>>54865976
I don't think so. You might need some Javascript that changes its size dynamically on a window resize.
>>
Can anyone post a decent web development resume?
>>
General PHP (inb4 >muh Pajeet) question: If I have a particular .php file with many functions declared in it, but I only include this file and use one of the functions on a particular page, does that hit performance even though none of the other functions actually gets called?
>>
>>54867698
>caring about performance
>using PHP
Pick one.
>>
>>54867698
The overhead in file includes is minimal, you shouldn't have to worry about it really, considering caching and other things. Of It's more about how you can keep yourself organized and find your stuff quickly.

Also, use classes. They aren't much slower, and are easier to maintain and work with. One class per file, of course. If you want to stick to functions its fine to group them in long lists per file.
>>
>>54866356
The last resume you'll ever need is a decent github
>>
File: 2mail_e0.gif (15 KB, 142x75) Image search: [Google]
2mail_e0.gif
15 KB, 142x75
>>54860855
Depends on what you want to do. Rails is losing traction but still has tons of jobs. Most Rails shit is monolithic huge codebases of thousands of classes that completely violate SRP(including core shit like ActiveRecord and ActiveSupport). You may find some companies that have gone way of "microservices" but these usually are fucking retarded in Rails. PHP will get you a shit job unless you're willing to put time into finding a good company. PHP dev is actually improving and the community is becoming less Pajeets so that's good.

I still absolutely despise both. I would personally recommend Go.
>>
>>54862987
There are two kinds of people. People who use php. And people who bitch about php.

People who use php typically will defend the language by showing off their awesome websites.

People who bitch about php just talk in metaphors. They never have any awesome projects to show off.
>>
>>54869799
>No new posts
>showing off awesome websites in php

kek


Can you even write WebRTC and websocket apps in php?
>>
>>54869799
>People who bitch about php just talk in metaphors. They never have any awesome projects to show off.
Because only a retard would think 'awesome projects' are needed to validate one's criticism's of PHP?

It's an inconsistent and poorly designed language, maintained mostly by morons. That's not a metaphor and I don't need to show my projects to validate that.

If you really want validation, why don't you look at this: http://use.perl.org/use.perl.org/_Aristotle/journal/33448.html
>>
Damn, it's so hard to not get lost in even a 1000+ LOC scripts, I'm afraid of the day when I'll start my internship.

And I get intimidated by 300+ LOC scripts already. Why is it so hard for me to make a project bigger than 100 LOC? I was just looking at this today http://jvectormap.com/ and I simply can't comprehend how does somebody even start doing something like this from scratch. Like, I don't even know if I know JS or not, I can read it and write simpler programs (I had a class in it too), but I have no idea how to actually start doing something even remotely complicated.

Shit really sucks bad, I maybe don't want to accept it that I'm not made for this, I'm very often too lazy to make anything and I think the reason is because I simply don't care enough.

The only thing I can see that is fun to do would be some online games, and I would need to learn websockets for that, but that does not help with job prospects or whatever.
>>
>>54870060
>Can you even write WebRTC and websocket apps in php?
Nope. You will also have a hard time writing websocket backends, because PHP is not designed to run long enough to manage a Websocket connection.
>>
How do I stop doing handholding projects? It feels much easier to just build a portfolio while following tutorials and changing a thing here and there.
>>
>>54870726

You sit down, you write code, you learn.

No one started building huge programs straight away. So I suggest you start analyzing popular projects on github, learning structure.Read the style guide for all it's worth: https://github.com/airbnb/javascript

Read about program design. Understand what is an observer, a singleton, etc. Why they are used the way they are used.
>>
>>54870726
>>54871005
web 'devs' are fucking hilarious
>>
>>54871025
Doesn't matter if they are web dev or a "real programmer".
>>
>>54871005
Solve a problem, i.e. create something some people will want to use which doesn't exist.

Any competent interviewer who wants to see a decent portfolio will throw yours out if all they see is slightly modified crap like a blog post and comment system. Though it'll still be enough for some freelance work and small/medium companies who don't already have any competent IT staff.

If you need ideas/inspiration for a project, try something related to hobbies/interests.
>>
>>54871361
But I'm learning from those, though. And how are they gonna know if I followed a tutorial from some no name YT channel with 1000 subs?

I have heard of that generic answer too many times, everything I have thought of already exists in a dozen forms. I don't have any idea or a problem to solve that interests me in this field. It's just boring, but I'm kinda stuck with it for now.
>>
im taking apart this website and it uses the variable jQuery a lot
is that a declared variable or is it something from the jQuery library?
>>
how does a simple realtime chat app with node, socket and mongo look like on a resume? Is that even something you would put there or not? (I'm learning those skills so I'm building it anyways).
>>
>>54839800
Holy shit that's a fucking awful api what kind of bullshit is that
>>
>>54869449
Go won't get you a job. Yet.

Seems the industry has gone
PHP -> rails -> nodejs -> Golang
Except Golang is still a bit fresh. I think nodejs is the smartest move for Web dev at the moment, but keep Golang in your playbook
>>
>>54871634
Kek
>>
>>54870066
That article is pretty rubbish. All good and well to point out how shit php is but he failed to mention a suitable implementation
>>
>>54871484
>I have heard of that generic answer too many times, everything I have thought of already exists in a dozen forms. I don't have any idea or a problem to solve that interests me in this field. It's just boring, but I'm kinda stuck with it for now.
Try thinking of an idea for a specific audience. If you go for general audiences, it's far more competitive because obviously that's what all the tech companies and startups are targeting. When it's a specific audience, it's easier to create something original and useful for it, but at the same time it's not going to lead to a lot of users because of how niche it is, but at least there's some users.
>>
>for y := 0; y < l.h; y++
>func (l *Life) String() string

Literally tell me the reason why are people trying to reinvent well established language syntax every time (this is Go btw). It just makes it harder to learn for no reason, why don't they focus on what's important?

Those are small things, but why change them at all then?
>>
Thoughts on Python for webdev? Particularly Django? Good/bad, popular/pointless, pajeets love it etc?
>>
>>54872056
What's wrong with the first example? := is just for short variable declaration.

>>54872138
Django is pretty solid and secure. Well established and has a ton of useful features, the encouraged project structure makes it almost difficult to write shit code. I don't think Pajeets really bother with it because they don't want to go through the trouble of setting up it on unmanaged server, instead they prefer LEMP/LAMP + cPanel.
>>
>>54871043
Whats the difference between a webdev and a programmer?
The webdev is employed.
>>
>>54869323
Thanks, just the answer I needed.
>>
>>54872056
Because it needs to be different from everything else, or else nobody will use it.
I'll release my own language soon enough, I'll call it Trippy. I'll sit back and watch a selective few on /wdg/ shit on everyone else who thinks it isn't the greatest thing since sliced bread.
>>
>>54839165
I want to learn ReactJS

where is the best place to start and get a full comprehensive tut?

Would like to use it as my frontend framework
>>
What is a collection in mongo? I followed some tutorials but am kinda lost how it created a table.
Is collection actually a table or?

I could guess that
> var col = db.collection('messages');

creates a (table?) and it dinamically creates rows. New to mongo and node, sorry for maybe a stupid question.
>>
>>54873091
https://github.com/enaqx/awesome-react
>>
>>54873160
https://docs.mongodb.com/manual/reference/sql-comparison/
Anyway, I'd recommend RethinkDB over Mongo. Why? Because it isn't a meme (yet) like MemengoDB
>>
>>54873205
Thx. Yeah, I always hear it's a meme. Idk. I'm following some tutorial to learn some of the MEAN ( >:/ ) stack.
>>
>>54871676
Too simple. Fuck the mono and socket.io part. Vanilla websockets only.
>>
>>54872056
Baby's first Pascal derivative?
>>
>>54873160
>>54873205
This. REQL is nice, and you can do some interesting things with database-side update feeds.
>>
>>54873293
What can I build on top of that to be a decent project?
>>
>>54873616
Multiplayer 3D snake game with three.js and RethinkDB. You can have the graphics be retro and blocky to make the frontend part simpler.
>>
>>54873729
If a game could look good for a resume, it would be great.
>>
>>54873091
The official tutorial is actually pretty good. That's where I started. After that, maybe watch a couple of those 'Learn React in n Minutes" youtube videos to make sure you have the fundamentals down. Don't worry about learning all the other shit like flux/redux/react-router to begin with. Just start with react and JSX. (JSX is really easy. I thought it was a whole other thing to learn at first, but it's actually almost identical to html, but with a few caveats.)
>>
>>54873751
As long as you also have some RESTful CRUD apps and stuff, a game is perfectly fine to include in your resume, just be sure it's well-done and complete.
>>
>>54860855

>Laravel/php or Ruby on Rails/Ruby?

Both are pretty good, but I would say take Laravel.

Laravel is easier to learn and more lightweight.

For Rails you would need to understand more concepts and technologies (i.e. Rack, Rake, rSpec, ..) and also learn the Ruby language. Ruby is cool, but more complex than PHP and will take some time.

Don't get me wrong, I like Ruby, but in the time you need to learn Ruby and Rails you might as well learn PHP, Laravel and Python, as they are just "smaller".

Also don't get hypnotized by Rails. It is cool and has it's usage, but Ruby has many many many good Web frameworks. If you would try to build a mid-size website, Rails would be totally overkill (for the reason of the speed alone) and you could use Sinatra, Trailblazer, Volt, Padrino, Lotus, Camping, Rack, Cramp, Ramaze, Cuba, NYNY, NanoC, Nancy, Grape, Crepe, Hobbit, Kenji, Brooklyn..


If you really want to learn Rails, I'd suggest to learn at least one additional "mid size" and one "lightweight" ruby framework.


I don't want to demotivate yourself, but be aware that the Ruby path will be longer because there's much more to know here.
>>
>>54855094
To be honest, I wish Polyfills didn't exist.

If they didn't, then companies would've probably had the balls to tell IEcucks to get fucked by now, instead of crippling their sites for users of old crap.

The vast majority of people is on the most recent version of an auto-updating browser. Fuck catering to retards.
>>
>>54855094
That DOM level 4 polyfill looks pretty great actually. It seems to fix browser inconstencies, polyfills some shit for IE and adds some neat selector mechanisms and it even has a way to query for something other than a fucking nodelist you have to manually iterate over.

Has anyone used it on a production website yet? This seems like something that could completely replace jQuery for me.
>>
>>54874692
>replace jQuery for me
>using jQuery in the first place
stay cuck'd
>>
>>54874752
I'm indeed cucked, because my employer forces me.

How does making webapps (not sites) with Bootstrap (which has a jQuery dependency) sound for you?

I don't want to use jQuery at all. I'm totally fine with the DOM api and this extension to the standard offers some welcome additions.
>>
How the fuck do I find people to hire me for front end dev, I've been thinking about starting a blog/yt channel or an agency.. maybe both. Should I just work for someone else?
>>
File: 1441831969213.jpg (129 KB, 450x360) Image search: [Google]
1441831969213.jpg
129 KB, 450x360
>>54855491

I'm sorry, mate. You seem like a complete fucking shithead.

Don't you learn new things in your spare time? What the fuck do you expect? For the web to use the same thing every single fucking time? Do you understand the concept of different technologies for different purposes? Do you understand that there is more than one language available and that whoever can utilize it will certainly have an upper head in the whole thing?

I don't even know if I'm responding to a bait post. Because to be fair, there are many pajeets who just do the same thing over and over and don't understand any other technologies or even care to learn them.

Fucking hell, I build shit in many different languages. I never complain, because you never should about learning a language, unless it's pascal or some shit.

I've recently had to learn Erlang and have been working with Erlang for a year. I don't complain, I don't like a lot of things about it. But the things it does right are great. And it does most things right.

Jesus fucking christ, how much of a huddled up cuckold do you have to be to hate on a technology in such a fucking retarded way without considering it at all.

What level of retardation have you reached to be complaining about this bullshit?
>>
>>54874811

>bootstrap
>2016
>>
>>54874641
Nope, if polyfills did not exist, you would still be writing in ES3 right now.
>>
>>54874692
I have. It's good. But I think the Element.query[-All] methods were scraped from the spec, so best not use them. I might be wrong.
>>
Can anyone post their resume? (without their name and school I guess). I have a feeling mine is complete shit and could use some inspiration.
>>
>>54875183
This is bait.
>>
im maintaining a wordpress site that got hacked. If you search the site in google and click the link to the site, it gets redircted to pr0n. How do i fix this? desperate for help....read online to remove some hacks in the htaccess file but i didn't see anything in there that looked like a hack...if someone can walk me through cleaning all this up i might even paypal you 20 bucks
>>
>>54874811
>https://github.com/thednp/bootstrap.native
you stay cuck'd because you want to stay cuck'd
>>
>>54875869
Post an email address I can contact you at
>>
>>54875869
Take it offline
Call your web host
>>
>>54875869
It could be php code, it could be something with the domain registrar.
>>
>>54876589

crizilla at gmail

i found some folders the hack created. I deleted them. Still having the redirect issue through google. I have a shit load of htaccess files and im not sure if the stuff is any of the hacks. If it requires an extensive amount of work i will do 20 bucks....
>>
>>54839165
>https://medium.freecodecamp.com/this-is-my-story-about-how-i-went-from-being-a-carpenter-with-zero-experience-in-the-tech-world-to-4252e93cb73#.aad3943o4
This right here is why people won't take webdev seriously. Look at how low that fucking barrier is!
>>
Anyone got any experience with accepting donations on their sites/projects? I've had a few people legitimately ask if they can donate to me because my project is free to use, no ads and will soon be open sourced, so I'm willing to accept them to cover server costs.

But I'm a little retarded when it comes to finance and such. I think PayPal, Stripe or BrainTree would be my only options, right? (not everyone uses BTC). My only concern though is that I don't want my personal info being leaked, things like my full name/address/etc. Is there any way to anonymously accept donations on PayPal without a business account? I really can't be fucked registering a business name and going through all of that, but I suppose I will if it's the only way to mask out my name on receipts.
>>
>>54877460

well if you dont take it seriously unlike that guy or anyone else in the industry for that matter, have fun being unemployed
>>
>>54877933
Oh, I do. That's why I hate that kind of stuff. "YOU CAN BE FULLY EMPLOYED AFTER 4 MONTS AND 78 JOB APPLICATIONS!"
>>
>>54875869
put the files on mega so we have some idea of what might be causing it
>>
Is Elixir any good yet?
>>
is there any easy way to use websockets with django?
>>
>>54879286
yeah by switching to a real framework like node
>>
>>54879341
Where do I start learning node then? I don't know JS at all either
>>
>>54879089
Yes
>>
>>54879357
another question, if I were to learn JS am I gonna have to start with front end development?
>>
>>54877993
>"YOU CAN BE FULLY EMPLOYED AFTER 4 MONTS AND 78 JOB APPLICATIONS!"
>mfw 3 months and 61 applications

Almost there senpai!
>>
File: piegeon.png (1 MB, 1058x732) Image search: [Google]
piegeon.png
1 MB, 1058x732
tell me about your experiences with working with graphic designers & IxD people
>>
>>54879778
They're not so bad. It's those UX faggots you have to watch out for.
>>
>>54879778

dont know what lxD means, but every graphic designer ive worked with has been pretty damn good. 99% of the time it's the client that pisses you off.
>>
>>54870060
>>54870958

Yes, you can, and I did. Look up 'ReactPHP'.
>>
I just built a simple realtime chat app using nodejs and socket.io. it was around a 150 LOC.

One thing interests me. I saw an official chat tutorial on a socket.io website and I don't understand why do they need to use express (I have no exp with it yet). It was only around 20 LOC though.

And one more thing, I've seen tutorials where people use angular to make a chat realtime. Literally what are they doing and why do they need it if I have a realtime funcionality without angular?
>>
>>54880050

idk probably because angular 2.0 is out and everyones jizzing over it. Google is pushing it out as much as they can
>>
Why does Python on codeacademy even have bitwise operators? I skipped it completely, what's the actual use of it?
Thread replies: 255
Thread images: 31

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.