Posted this Q on last thread but it's now dead, so I'm reposting in hopes that someone can help meh.
How can I downgrade PHP version on a CentOS 7 x64 server running LAMP stack?
Please help. Need to install IonCube Loader on the server for a script I bought, but the ICL installer isn't compatible with the latest version of PHP. Need to downgrade from 7.1 to 5.6 - Any idea how to do this using ssh?
so I've got an NPM package I want to use client-side with browserify. how do I handle this? do I just include it in my javascript file and then browserify it and include it? do I browserify the module and then include that with a script tag? also how do I automate this shit? our current front-end setup is very simplistic. we have HTML files and then corresponding JS files where we do DOM manipulation, ajax calls, event handling, and such.
Andrew Moore
Anyone else fall for the nodeJS meme? I implemented that in production and it's a pain in the ass to maintain. Every once in a while a module no longer is supported and I have to change it out with its fork or a similar one, and then I have to update all the code as the author had a "different" vision and deprecated a bunch of shit.
I was told nodeJS is the future, but I regret ever using it.
Jonathan Sanchez
Probably the easiest solution for your usecase is something like parceljs.org/ or learn how to configure webpack. There's a pretty easy guide on Parcel's website on how to get started parceljs.org/getting_started.html
Node isn't great at all if you care about stability. PHP set up with nginx or something like Go web server is the way to go.
Blake Rivera
Yeah, it's fucking shit. Had to use it at work once, never again.
nodeJS was the future for a very specific time frame but then the likes of Go came out and others improved areas they were lacking (and why node was even a thing)
so really no need for it not that it was ever really used outside of startups
Carter Davis
>Observer what do you want that for?
Jayden Nelson
>PHP >in 2k+18 the fuck am I reading
Jordan Young
one user desperate for php to happen again i miss perl user though he was way more fun
Samuel Watson
i did it /wdg/. i got a junior position working with node and js at 40k, with a meme degree. it's all thanks to you guys telling me to do it, thanks everyone!
Ayden Baker
nice! you're underpaid though!
Kayden Bailey
Does someone have a resource to read up on understanding how different aspects of the front and back end fit together?
Zachary Howard
i'll take anything to work my way up, even if i am being underpaid. it's better than the 20k i was making.
John Allen
Blame Laravel For some reason some companies want to use that meme framework and gave php developers a chance to shine again
Brayden Hill
I did the same thing, started at $20/hr, and eventually got on par with the average developer in a couple years.
Liam Wood
It's his first job. My first dev job was 19 dollars an hour. The low pay was worth the experience because 3 months later I was at a new job with mid-level pay. Even if your first dev job is minimum wage it's well worth it.
Grats. Make sure to add it to your resume and update all the job search sites.
Gabriel Fisher
To be honest Laravel made back end web dev pretty fun again for me. Right now it's one of the quickest ways to set up fast and secure websites in comparison to fucking around with the likes of Express.
Min wage isn't worth it as a web dev. You have to separate a 'first job' and a 'first job in the industry'. Getting paid whatever is min wage (for whatever region you're in) within the industry is an absolute disgrace. You recognize this too, you moved on pretty quickly if it only took 3 months. user should recognize that as well, he's underpaid and should be moving up pretty quickly. No shame in highlighting that and preventing talent exploitation.
Sebastian Perry
sure thing, will do. i definitely don't plan to stay at that level forever, but i really don't know how much i'm worth. after finishing with a silly liberal arts degree, i'm grateful for any work they'd give me. i do plan to go back for my masters, but that's 3-5 years away.
Ryan Wilson
I'm only being paid 38k. Small city in PA. Startup. The work is pretty simple. I get to eat at my desk. I pretty much make my own hours (have to put in at least 40 per week tho). I can have headphones in. I'm part of a small team and the camaraderie is high. I'm grateful because my GPA is shit, I had pathetic side projects and zero internship experience. I will be graduating soon with my bachelors in CS. I WILL be leaving eventually because yeah I'm wanting to make a lot more.
Benjamin Reed
Quit omitting the web dev /wdg/ line in the subject faggot, so I can filter the thread.
Nathaniel Rivera
>filtering out tech on a tech board
Gabriel Martin
Well that's what I'm trying to say here. I was really appreciative for my first job but I knew it was just to have experience on my resume to get a better job. Took me 2 years to find my first job.
Josiah Gomez
We will do what we want. No one cares about you.
Brayden Flores
wdg really should be somewhere in the description though, for people searching. I probably wouldn't have found this thread if it wasn't linked from the previous one.
Brandon Cox
What do you guys use to secure your REST APIs? I'm looking into oauth2 but it seems like a lot of trouble.
Caleb Powell
Its there if you search for wdg because wfg is the image name.
Benjamin Butler
>tfw no gf
Nathaniel Rodriguez
oauth2 or bust my dude. people will think your'e chump change and not professional if you don't.
Josiah James
>Quit omitting the web dev /wdg/ line in the subject faggot oh, yeah I forgot this time. My bad.
Connor Barnes
Oauth2 or JWT. I like Oauth1 better because signing requests is a gigantic asspain if you arent using a library amd double verifying JWTs is an even bigger asspain without a library.
Oauth1 with CORS off is what I use for my personal APIs but when I build at work it's oauth2.
Brody Cook
I'm somewhat new to web dev, and I need to create a static desktop-based site that isn't a blog. I know HTML and CSS, but have no idea what the best tools for actually building a site would be. Google isn't my friend here, because I'm afraid I'll fall for some code-artisan nonsense.
Ayden Collins
Bootstrap is easy.
Jeremiah Myers
For oauth2 specifically, what sort of grant types would you guys suggest for a web application targeting primarily desktop/mobile clients? The regular authorization code seems like it'd suffice, but I don't like the baggage on 3rd-party clients of having to throw in a dependency on Webkit or whatever just to authenticate. Password grant seems like it's ideal in my case. I'm just trying to write an imageboard here; I don't think there's anything potentially sensitive that could be abused here. But I thought I'd ask you guys.
Blake Williams
Stupid question but if I'm using Laravel with an SQLite database, do I need to install SQLite software itself on the server? Or does Laravel/PHP automatically know how to work with an .sqlite file?
Jaxon Smith
No, there isn't any SQLite server of any kind that manages your database so all you'll need is a SQLite file and configure Laravel to use it.
Jace Martinez
hey guys. i finally got my first gig. it's is to create a website for a martial arts place. i am not getting paid for it. but it will be my first official, commercial site i'll have to showcase in my portfolio. - now, the martial arts place is a franchise and HQ says they can't advertise side businesses from their MA business, flyers, website, etc... however i have noticed other locations have the webmaster/designer listed/linked at the bottom. so i guess that is ok.
other than banner ads and the like, which i can not do. is there any way to bake in some sort of revenue stream?
Well it won't get you any referrals from them and it might get you a fraud conviction or computer crime conviction but you could always put in some webworkers farming bitcoins.
Ian Phillips
>however i have noticed other locations have the webmaster/designer listed/linked at the bottom. so i guess that is ok. 1. You shouldn't put links on someone's website without permission 2. You can sell hosting, helping with content updates or whatever. Clients constantly come back to me with small questions. Sometimes I help them out for free, but if it takes more then 2 minutes I ask money for it.
What are some good websites to learn how to use HTML5/CSS and Javascript to create rich web interfaces? I want to be able to host my java tools on my website through an web front end.
Luis Rogers
freecodecamp.org does well enough for newbs w3schools.com/css if you are a documentation junkie
Luis Peterson
Thanks!
Would Bootstrap be a good tool for what I want? I essentially just want a RESTFul service (via Spark Java or Spring) that coughs up results back to an HTML5 interface.
Adam Lee
Anons, I am using this code to hide txt in an image which when clicked reveals the txt.
However it is effecting the size of all images on the page instead of just the one I am using in the code.
I get good money doing jquery/php. Fuck the memers.
Julian Barnes
working with xampp how do i notice css changes every time i reload the page without clearing cookies and data on chrome?
Alexander Torres
force refresh, ctrl-f5
Julian Gomez
friendly reminder people dont care about the stack they just want something that fucking works
Jacob Torres
user, what is your favorite language for web development? I think that C is the best language for this puprose
Nathaniel Nguyen
In JavaScript, is the only reason I would use "forEach" over a 'for loop' be that the syntax just looks cleaner?
Would "forEach" having a function scope matter at all as a benefit if I'm already not using var in my code.
Angel Butler
40k is a pretty big salary for a region I'm working in. :(
John Lewis
>subject fuck off pathetic java loser
Owen Hill
forEach is cleaner syntax-wise, but for loop has better performance.
Angel Sullivan
I would literally sell my soul for half of that.
Chase Baker
third worlders OUT
Jace Reed
No.
Colton Sullivan
what's FPM?
Aaron Cox
Disgusting.
Carson Morris
php-fpm - allows nginx to spawn PHP on pages.
Ian Thomas
Thanks!
Bentley Lee
Well $40k is a lot for most people Wages in america are totally fucked because of taxes, rent and healthcare etc.
In America you're poor if you make less than 100k, in europe you're rich if you make like $30k Unless you live in a huge city, I guess.
Always pisses me off when an American brags about making 100k but their rent is like $40k for a shitty studio apartment, taxes take another 30% and they're left with $30k to actually spend on everything else in life, when you add in all the basics you have to pay for like food and electricity etc you're not even doing that well off.
tl;dr 100k in some shitty middle of nowhere town is insane, in a big city it's nothing.
Logan Moore
My first job, earning like 85k in Australia. Maybe you should move to a better country.
William Flores
how much for taxes? food? rent? cost of living?
idiot
Blake Martinez
Australia pay is good on paper too, but it doesn't matter.
I just don't get it, brag about your profit at the end of the year, not how much you get paid, that's my point.
Your start number is higher but that doesn't mean shit, you could go live in zimbabwe and be a billionaire.
Kayden Allen
a decent one room apartment in melbourne is like $350/week
Lucas Moore
>$350/week >week
why not say +1000 a month?
Ethan Peterson
because we use per week in australia
Thomas Collins
Call me a hippie if you want but I want to get into web dev as a personal challenge.
I don't give a flying fuck about salary as long as it covers my basic needs.
Mason Brown
>I don't give a flying fuck >as long as it covers
hmmm
Aiden Sanchez
Anyone got a tutorial on how to create a basic livestreaming site? Don't care what language is used just want to see the architecture.
I've been doing Protractor tests for an angular project, and I've run into an issue related to a subscription on the main app page. We needed a timer for timing out users after N minutes and utilized an npm package that uses a promise in waiting for the timeout, but the Protractor tests no longer finish because it seems to wait for the timeout to happen and won't run anything else until then. Commenting out the timeout makes the tests work again, but management wants the timeout. Any way to make protractor with jasmine ignore this subscription?
Austin Gray
what the fuck do you think a salary actually is if not for covering needs? like hello???
>location matters whoa... mindblowing...
Anthony Gomez
What is REST API? Do you have some hints on inplementing it in Node.js?
Henry Reyes
It's an API that is sleeping
Julian Ortiz
nevermind, figured it out.
img:not
Benjamin Martin
Guys...
What do you do when you are making something and it has all been going well but you are completely stuck at solving something and you really don't know how to solve it?
solve it as best you can and then if you can't do that you make something that does half the job and figure out how to hack in the other half some other way
and if you can't do that, start begging for help on stackoverflow or somehting
Jayden Rivera
change of perspective
Chase Nelson
when would you say it is preferable to store json in databases? let's say I was making a Jow Forums clone (for example) if I wanted to store threads, would it be better to keep tables for each board setup as (op_post_id, entire_thread_json) or just store all the posts on a board (post_id, post_text, post_data, is_op, etc...) and just export to json when someone makes the request
assuming there would be times where having the data not in json in the db would be useful, like if I was running statistical analysis software
Jacob Hill
>let's say I was making a Jow Forums clone (for example) stopped reading there.
use an existing image board software.
Josiah Garcia
i am not actually making a Jow Forums clone, retard
Isaiah Reed
For now it's a meme (though it looks nice I guess). Same thing with ReasonML if there are no jobs for that technology I pass.
Jordan Jones
What's a good React project to build that will impress potential employers?
Is it bad news to include code that constantly checks against an array inside a requestAnimationFrame game loop in JS?
Easton Richardson
>Wanted to make front-end scripting more manageable and organized >Search for a framework
Good lord there's too much to process
Elijah Morris
ForEach is O(n). It depends on what you're solving but with a 'for loop' you can break out of your code or even return from the function. 'ForEach' you have to iterate the entire array no matter what.
Benjamin Reyes
>writing an incremental game with upgrades in JS I want to die, I feel like a dog chasing its own tail and running around in circles trying to achieve a reasonable runtime complexity