Long time ST3 user here, I want to use a new editor with better git support.
The avaliable options are: - vim (neovim) - atom - vscode
Camden Murphy
what do you mean by "git support"?
I use Sublime Text as my primary editor and there's a great extension called "Git Gutter" that marks uncommitted changes by highlighting the line number on the left side of the screen.
You can also hover over the highlighted numbers to show a popup of what the code was like in the last commit so you can compare.
Leo Bell
Oh, you just said you use SublimeText. I'm an idiot.
Benjamin Kelly
Any of you guys have experience making a news aggregation and / or blog site?
should i just use word press?
Xavier Carter
Yes, i've been using git and git gutter shortly after discovering package control.
Git support is the main reason, but also want a quick config setup. Getting sublime linter with some node es6 packages takes its time.
I've heard that setting a vimrc takes its time but it does not futher need a lot it mantaining.
The other two text editors came with some functionality that I like, but they are kinda slow 'cause fucking electron. However if that improves my workflow, I'll settle for one of those.
Adrian Nelson
PLS NO WORDPRESS
Ethan Green
why though?
I've never used it tbqh but if it's the simpelst solution to get something up and running I dont see why not?
As mentioned I havent used it so I dont know fully what it is / isnt capable of or good for
Charles Nguyen
Well user, it has a lot of pluggins, themes with wysiwyg and it can be managed by the customer...
> but
If you start using it cause its fast to set up and saves you a lot of work, there is no coming back from that monstrosity. You'll be developing plugins and themes that will never be used, you'll try to use it for everything that you can think of, even for your own stuff. No APIs, no Web Apps, no websites... just WordPress.
Use it carefully, user.
Lincoln Thomas
atom is great but slow even on small projects. I love it but its slow and deserves to be abandoned.
Justin Russell
which module code generation option do i use for a browser extension for modern browsers and where do i get a library that supports loading modules in that way (assuming that's how it works)
i looked at requirejs but it seems to be 2000 lines of ie/opera/playstation 3 compatibility code with the actual module loading code nowhere to be found
(that's probably like ten times the lines of code needed for all a module loader should do)
it seems like everyone else on the internet was born knowing everything about module loaders but they're not telling anyone else
i just want to use modules without waiting another year or two until browsers actually support them
Lincoln Rivera
Just use CommonJS modules
but wait
> i just want to use modules without waiting another year or two until browsers actually support them
dafug are you talking about?
Bentley Thomas
>dafug are you talking about?
using the es6 module syntax in typescript
it turns it into module loader modules
i'll look at commonjs
James Miller
Thanks user
I read somewhere that it could not handle large files (10 MB), so atom it's out of the question.
Matthew Peterson
typescript doesn't wrap generated commonjs module code in a function or anything and i don't know how requiring them like that would work
does it fetch and then eval them or something
because that sounds stupid and chrome extensions forbid eval anyway
f*ck it i'll just have everything in the global scope and make a mess of their dependencies
Samuel Lopez
Ohh I see. Thought you meant general module support instead of es6 modules.
Read the link here Also, don't you now about new Function()
Daniel Peterson
>new Function() that counts as eval to the content-security-policy
Cooper White
Bundle them, then. Maybe webpack can help ya
Camden Ward
>wake up >it's 2017 >there is literally a GORILLION of webdev tools how what should I help where do I start. I can into php and js (vanilla, I guess)
Brandon Davis
i'd like to avoid adding another build step when typescript already supports several module loader formats
Anthony Mitchell
Good old stable HTML/CSS/ a bit of browser vanilla JS / PHP if you want sanity. And a job
Jason Sullivan
RTFOP
>Also
Three questions user
Backend or FrontEnd? PHP or JS (or other)? Hipster?
Colton Peterson
Thanks guys.
>RTFOP Reading right now. Just so overwhelmed I needed to post, sorry
>Backend or FrontEnd? Preferably both? I guess I will start with frontend stuff which seems more alien to me. Not new to programming (C/C++)
>PHP or JS (or other)? I don't have a preference. Whatever works. I assume PHP is still the king, right?
>Hipster? Not really
Christopher Fisher
>I assume PHP is still the king, right? Where were you?
Logan Williams
hello world
Cameron Smith
start with front end, then slowly integrate backend. start with small projects, ex: creating a nice login page (front end) then attaching a functional db to it(back end).
php is for comfort but nowadays js frameworks are in. if you are brainlet you can do php, but you say you want to go fullstack and fullstack js is very nice/profitable (120k positions in ny).
php is not king lel.
Charles King
hello world
Jeremiah Parker
Fullstack, polyglot and can use any tools.
> MERN stack > MEAN stack > Laravel+Vue+MySQL+WebServerYouLike
Adam Scott
>Where were you? Dealing with tons of irl shit
Nice faam, thanks again. Feeling better already Gonna drink lot of coffee and read a lot now, this is going to be lit
Luis Miller
can someone explain the purpose and goal of Enterprise Integration Patterns to me?
I don't get it, at all
seems like a bunch of completely overblown, worthless horseshit that will only make everything a lot more difficult
Daniel King
start making shit bitch
basically, yeah
Josiah Davis
Any Rails developres in here?
I'm working on splitting some long-running tasks into background jobs.
I'm interested in anyones thoughts on Resque vs Sidekiq vs regular ActiveJob.
My boss suggested using Resque. I've been working on it today and reading about various libraries, and I'm beginning to think that Resque was probably the best solution a couple of years ago but maybe it's not the best way to go nowadays.
Anyone have any opinions?
Ethan Carter
>basically, yeah thank you
Joseph Brooks
what differences are there in rendering a web page on a phone vs a computer? I have normalize.css in place but this still look different on my phone compared to my laptop. I have " " in place also
Gabriel Diaz
install webpack
Logan Smith
Use reset.css from meyer
But to answer your question: There should be no difference
Andrew Bell
Tell me again why codeacademy is bad?
Lincoln Sanders
It's not horrible if you're just getting in to webdev/programming. It just holds your hand too much and I feel like you don't retain that much without problem solving for yourself.
Freecodecamp is the way to go senpai.
Ian Baker
turns out a package I was using only set 'transform' not 'webkit-transform', all good now
Tyler Morales
>It's not horrible if you're just getting in to webdev/programming.
Yea I'm new webdev, and so far it's been easy. Ill take a look at freecodecamp though thanks!
Easton Richardson
Wow dude I couldn't find the correct words to say this but you got it right:
Atom should just stop. Electron too.
John Murphy
you honestly don't really learn until you start doing your own projects, I did the thing where I marathoned through freecodecamp and by the time it came to making my own projects it had all slipped away and I was back to googling most steps in my program. That's what you want to be doing, figuring out conceptually what needs to be done to complete the next step- and then using google to find the actual code that completes it
Kevin Hall
Have you read the article where it explained how Atom it's basically Chrome? I thought GitHub would do better than that
Landon Sanders
It's breddy gud! And yeah, what said. Most of what you learn will be frp, the algorithm challenges and the projects. Luckily if you get stuck there's solutions out there and project walk through. Just make sure you build what you can on your own before you start looking at the solutions.
Hints: Write down the logic behind the solutions once you either solve them or look them up.
Pen + Paper or a white board is your best friend when it comes to thinking these problems out, don't be like me when I first started and try to do it all in your head.
A lot of the algorithms can be solved by thinking with arrays and loops. Arrays and loops are the bread and butter of programming. Get well versed with both and you're already better than a chunk of devs who can't even pass a fizzbuzz test.
Good luck and have fun!
Caleb Hill
I do have a website that I started a good portion of the front end via watching nothing but youtube vids and taking notes for later reference.
Starting Codeacademy now though, it just seems like it would have been easier at the get go.
Sebastian Ramirez
I was given this question in an interview today and my head just went blank and fucked up :( could someone please explain this to me:
I understand arithmetic progression but how did some guy figure out it's
n = int(input()) print((n**2)%1000000007)
Oliver Lewis
That make sense?
Benjamin Allen
I guess it really should have been f(x) rather than f(n), but the point is the area under that line on an integral interval is equal to the corresponding term of Sn. So you integrate f(x) to get a closed form of Sn
Daniel Stewart
By the way, what the fuck kind of web dev job did you interview for that gave you a question like that? I'm old and just got into Webdev and every interview question I've had has basically been "how familiar are you with ___some_tool_or_framework___?"
I'd love to get a job where I thought about cool shit like that all the time.
Asher Bennett
>wdg is this what web dev interviews are like
Benjamin Rogers
>is this what web dev interviews are like
Not any interview I've ever had. That's why I want to know who he was interviewing with and how he got that interview. I've never had a logical/mathematical problem-solving question in an interview.
But I fucking love math. There was a time when I was really depressed and fucking up my life hardcore. Math was my escape from reality and I spent so much time just working through textbooks. I'd love to be able to incorporate mathy shit into my life again, but in a non-self-destructive way.
Daniel Sullivan
This is fizzbuzz mixed with the first problem on project Euler
Joshua Russell
>Math was my escape from reality
Jason Butler
Kind of man, thank you
It's a junior developer position, I've just graduated college. They do a lot of machine learning and related stuff so they probably need someone who can understand / apply mathematical formulas. Btw math was nowhere in job description so I was caught completely off guard.
Matthew Watson
Emacs has the best git integration I've seen (magit)
William Sullivan
Are the rumors true? Is emacs an OS?
Thomas Bell
>They do a lot of machine learning and related stuff
Huh. Like I said, I'm old (I'll be 30 in November) so I'm worried that age bias might work against me for getting an interview/job doing neat shit like that.
I'll look into doing some open-source ML shit, I guess. My open source work is what got me my current (and first) webdev job about 6 months ago.
Sebastian Campbell
>the fug
Also pot. Lots and lots of math and pot.
Xavier Perez
data science would be a good area to get into if you're into math. I specialised in data science for my final year. My math skills are so shit though, I took stats 1 and 2 this year and struggled throughout. I do love this shit and it's what keeps me trying.
Julian Robinson
It's a fully featured lisp environment that you can modify on the fly, so almost.
Camden Sullivan
...
Juan Hill
Well it does sound powerful, but could i use something other than (((((((((lisp)))))))))))?
Zachary Myers
For the most part, no, but you don't have to know much to install and use packages. Lisp is a fun language anyway, even if you don't care about Emacs.
Camden Cook
>make static html/css sites for fun >mobile friendly with moving menus >try wordpress >doesn't do anything I want >make my own theme >learn a lot of php while doing it, if/else/array/include/forms/getting stuff out of a database >edit some javascript because my ad rotators and cookie notices are shit >just made an awesome mobile friendly theme >tell people about my website >now I have half a dozen clients after showing them my hobby site I just accidentally created a Wordpress farm.
Does that mean I'm ready for the job market?
Hunter Jenkins
To add: I also have a webshop now.
Dylan Ortiz
This is what I warned you about, user.
Thomas Wilson
Effectively they give me 80 dollars per hour, while in my shitty insurance job I earn 15 dollars per hour.
I'm honestly considering switching fields. I would earn the same as I do now with 1 client and 1 work day a week.
Bentley Turner
Why are non webdevs shitting up the webdev gen
There is already a non webdev gen, go use it you junior dev shitters
Hudson Fisher
If nobody would shit the thread up it would fall below page 10. So it's my moral duty.
Liam Davis
Anyone else using express.js?
Andrew Martin
>make static html/css sites for fun >mobile friendly with moving menus >try wordpress so far so good...
>ad rotators and cookie notices
Aiden Cook
I do, what's the alternative?
Gavin Nelson
>be watching a webdev presentation >developer 4 minutes into the talk drops a meme >suddenly the next slide has a meme >then a gif >it's slowly growing to become a narrated buzzfeed "article" >only 40 more minutes of this shit
This isnt even that uncommon of a thing. So /wdg/ is the community as toxic as it seems or is this simply how millennials present?
Ayden Flores
I just started using it, but koa.js and hapi.js were on my top three list
John White
At least shit up the thread on topic, the least you could do if your existence is literally just going to be trying to keep a dead gen alive.
Liam Thomas
strapi hapi koa
Andrew White
It's much worse. All fucking normies are this way. I cringe 6 times a day at work.
Mason Perez
I actually removed the ad rotators and adsense, because I replaced them with affiliate search boxes. Which fits the content much better.
Xavier Gonzalez
Unfortunately, yes. However, you could dig deeper to get to the worthy circles.
Jace Walker
Those fuckers that say AWESOME three times in a sentence and use pun-jokey-shit to counter-argument.
REEEEEEEEEEEEEEEEEEEEEEEEEEE
Lincoln Gonzalez
i'm making an ajax call with jquery to a php controller, how can i echo the response to the browser instead of the ajax success function?
Even on my shitty Mac it takes like 3 seconds to start up with only 300ms spent on packages and themes.
PROTIP if you're already using it: beta Atom had a major startup speed improvement so check that out if you want
Leo Reyes
I have some fucked up table I need to fix. There's a master page with its own css that defines a background-color change on hover. Now this table has some long ass rows, so it was originally made in a way that one row of data(let's call it a logical row) was actually 2 s, one after another. So there's 9 headers(columns), but one logical row has 16 columns of data(first and last column are colspan=2). Now, what I need is when I hover over a row, I need it to highlight the entire logical row instead of just that one . See pic related, the pink is the highlight color. What do? I tried s, it just breaks absolutely everything in the table, I've tried but then the whole content gets under one header. I don't know i lf this is possible with the nth-child property. Black boxes are actual data I had to censor
Cameron Hughes
Vim + fugitive is all you need.
Jack Richardson
Don't.
Angel Garcia
Write a function in php which echoes the value of the variable. Call that function using AJAX
Christopher Mitchell
Why use anything else but PHPStorm/WebStorm for php/js web dev?
Cameron Fisher
Does anyone here sell html themes or have experience selling themes? I've got a theme my old company bought a year ago on Wrapboostrap. The author right now is MIA, his Wrapboostrap profile is deleted/disabled (meaning they are not selling the theme), his website doesn't work, there's not even contact information inside the product files, you get the picture. I'd say it's shady, but that might be an exaggeration.
The theme came with no license and because neither the author nor the product are available, I was wondering if I can, giving the circumstances, redistribute the theme at my leisure.
I know it's more of a legal question but maybe some of you might know. Mainly because of the fact the theme came with no license. Pic very related.
Jaxon Rivera
>using an ide for web development >using bloatstorm
Daniel Rogers
Maybe if you want auto complete, inline documentation, proper error checking, code snippets that work specifically for your environment, reference and dependency checking, project wide refactoring, an inline command line and run configurations.
Christopher Lewis
>it does the things your editor already does >but you have to pay for it!
Christian Gray
>using a text editor to manage a large project
Xavier Wilson
>being a slave of hr buzzwords
Levi Reyes
...
Angel Rivera
>replying with anime images and not addressing the statement
Gabriel Flores
The answer is: it depends on the contract. But by default the answer is no because it did came with a license. Its entirely copyrighted. And technically you might not even edit it.
But unless you are ripping off Oracle or something nobody cares. I also use copyrighted content, but I let a legal person (my company) sell it so Im not liable.
Owen Baker
How do you include js/css file in your view in laravel? wtf is this shit? I added files in /public/js and css shit aint working
Landon Hughes
Static files (files that aren't compiled with webpack) can be placed in your public folder and just normally indexed. You'd probably want to learn the ways of compiling CSS/js though. I haven't went much in to it myself using Laravel.