|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html lol
|
# ? Jul 24, 2014 00:55 |
|
|
# ? May 27, 2024 04:09 |
|
Kevin Mitnick P.E. posted:the php is actually going ok and the retardedness on the server is mostly under control. but i have to add features to a jquery form thing with tables and inline css everywhere. it was written by an intern if that helps to understand the problem i'm facing. it's like the idiot child of 1995 and single page webapps you either a) rip everything out and start over or b) add more tables, jquery, and inline css until it does what it's supposed to and let the next person worry about it.
|
# ? Jul 24, 2014 01:03 |
|
angular is definitely not the solution tho
|
# ? Jul 24, 2014 01:08 |
|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html hit the directory every five minutes, store the files off in your own private repo, look for changes, make commits to that local repo if necessary, or just d/w/i/
|
# ? Jul 24, 2014 01:29 |
|
USSMICHELLEBACHMAN posted:you either a) rip everything out and start over or b) add more tables, jquery, and inline css until it does what it's supposed to and let the next person worry about it. i'm going with b but the team has reached consensus that i'm the sme on this pile of poo poo. more like no one else will admit to knowledge of php or js. the next person is overwhelmingly likely to be me, or me walking someone through making the changes they need the problem is by now it's an iceberg page where 90% of the elements are display: none and just about every time a user clicks some JS runs and alters the set of visible elements surely there's a better way
|
# ? Jul 24, 2014 01:30 |
|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html dd if=/dev/null of=/dev/sda bs=512 oh poo poo boss everything's hosed, if only we'd used subversion
|
# ? Jul 24, 2014 01:31 |
|
EAT THE EGGS RICOLA posted:help i can't get my boss to use version control what do i do our files are all saved with "backups" named like form.html, formgood.html, formold.html, formbak.html, formbak2.html don't worry i'm sure you'll still get blamed when they overwrite your changes keep everything in git locally and do commits with "dumb poo poo my boss did" when needed
|
# ? Jul 24, 2014 01:31 |
|
i was in a big php with inline html and inline css and kludge js project about a year ago, and i found the solution to learning to code right in that situation it is to quit and find a less bad job (my job still sucks but it is less bad and we don't use php)
|
# ? Jul 24, 2014 01:31 |
|
so what's the workflow like if you have multiple people working on something without version control
|
# ? Jul 24, 2014 02:08 |
|
horrible just horrible
|
# ? Jul 24, 2014 02:11 |
|
like i'm just a hobbyist programmer but even when i make some crappy little project with one other friend it feels like it would be a headache without version control
|
# ? Jul 24, 2014 02:13 |
|
Kevin Mitnick P.E. posted:the php is actually going ok and the retardedness on the server is mostly under control. but i have to add features to a jquery form thing with tables and inline css everywhere. it was written by an intern if that helps to understand the problem i'm facing. it's like the idiot child of 1995 and single page webapps lol, someone must have given the server an iPad when it was a toddler.
|
# ? Jul 24, 2014 02:15 |
|
MeramJert posted:so what's the workflow like if you have multiple people working on something without version control code:
|
# ? Jul 24, 2014 02:22 |
|
suffix posted:don't worry i'm sure you'll still get blamed when they overwrite your changes oh yeah I'm doing this, i have my poo poo set up. i just have an additional step of "has any magic happened since last time i pushed" to deal with
|
# ? Jul 24, 2014 02:22 |
|
Notorious b.s.d. posted:
so if you and i both want to make changes to our_critical_app today, i'll just save it as our_critical_app.meramjert and then someone will have to do a manual merge and hope nothing goes wrong? is this correct?
|
# ? Jul 24, 2014 02:28 |
|
MeramJert posted:so if you and i both want to make changes to our_critical_app today, i'll just save it as our_critical_app.meramjert and then someone will have to do a manual merge and hope nothing goes wrong? is this correct? yeah. except no two people ever have the same convention. and poo poo goes wrong constantly. there are local copies on people's hard drives, and regressions happen constantly when dudes overwrite changes i only worked in the shop that did this for like 2 weeks and that was enough for the rest of my life
|
# ? Jul 24, 2014 02:35 |
|
i wonder if that's why our products' firmware consistently has regressions
|
# ? Jul 24, 2014 02:44 |
|
plus if you're not willing to figure out version control it's very unlikely you know how to diff a file so merging probably has to be done be just scrolling down
|
# ? Jul 24, 2014 02:45 |
|
USSMICHELLEBACHMAN posted:plus if you're not willing to figure out version control it's very unlikely you know how to diff a file so merging probably has to be done be just scrolling down ding ding ding
|
# ? Jul 24, 2014 02:50 |
|
actually i have seen our software team "using" subversion, but the repo i saw looked like this: app - Revision 1686: /
etc
|
# ? Jul 24, 2014 02:56 |
|
MeramJert posted:so if you and i both want to make changes to our_critical_app today, i'll just save it as our_critical_app.meramjert and then someone will have to do a manual merge and hope nothing goes wrong? is this correct? nah, you just shout out in the office "okay guys, i'll be editing the file on the server with all our code in, nobody else edit it until i'm done, ok?" but then you also make a backup copy to backups5/our_critical_app.mj.bck_2 just in case, and when there's a conflict you don't know what version either of you started with, so you just pick whichever code looks newest (i.e., has the most lines) so if you ever delete or shorten a function, someone else will revert it because time flows from less code to more code i was on a student project that started out like this, pretty pro way to learn what not to do
|
# ? Jul 24, 2014 03:05 |
|
MeramJert posted:so what's the workflow like if you have multiple people working on something without version control very carefully
|
# ? Jul 24, 2014 10:05 |
|
Kevin Mitnick P.E. posted:i'm going with b but the team has reached consensus that i'm the sme on this pile of poo poo. more like no one else will admit to knowledge of php or js. the next person is overwhelmingly likely to be me, or me walking someone through making the changes they need tear it down, inline CSS means someone has failed catastrophically at some point and the whole thing needs to be trashed
|
# ? Jul 24, 2014 15:16 |
|
hey if i have a dumb programming question is this the thread for it
|
# ? Jul 24, 2014 15:49 |
|
Werthog 95 posted:hey if i have a dumb programming question is this the thread for it are you a terrible programmer?
|
# ? Jul 24, 2014 15:52 |
|
AlsoD posted:are you a terrible programmer? absolutely
|
# ? Jul 24, 2014 15:54 |
|
whoops nevermind i figured it out
|
# ? Jul 24, 2014 16:01 |
|
LARD LORD posted:tear it down, inline CSS means someone has failed catastrophically at some point and the whole thing needs to be trashed I'm ashamed to admit to seeing this poo poo all over my code and don't really know how to deal with it. I want to understand first what the major problem is?
|
# ? Jul 24, 2014 16:03 |
|
Werthog 95 posted:whoops nevermind i figured it out please report your tale of terribleness my brother
|
# ? Jul 24, 2014 16:13 |
|
just cout a bunch of bootstrap
|
# ? Jul 24, 2014 16:19 |
|
ugh, this spotify api tutorial is in node UGH
|
# ? Jul 24, 2014 16:21 |
|
Symbolic Butt posted:please report your tale of terribleness my brother here's an api that the local public music radio station uses for its playlist viewer https://api.composer.nprstations.or..._=1406212651411 i wanna make a thing, probably in python, that'll automatically create spotify playlists from this show's playlist all i wanted to know was what i had to do about those escaped quotes but it turns out that was a very simple question: replace("\\\"","\"")
|
# ? Jul 24, 2014 16:23 |
|
what the gently caress was that e: its gone now
|
# ? Jul 24, 2014 16:39 |
|
Janitor Prime posted:I'm ashamed to admit to seeing this poo poo all over my code and don't really know how to deal with it. I want to understand first what the major problem is? Writing in line css is much better than writing bad css that cascades to everything
|
# ? Jul 24, 2014 16:59 |
|
Werthog 95 posted:here's an api that the local public music radio station uses for its playlist viewer https://api.composer.nprstations.or..._=1406212651411 lol. that is so bad. pretty easy to parse tho. use c# instead of python so you're actually learning how to do it in a way that matters
|
# ? Jul 24, 2014 17:02 |
|
lol i don't have access to add css or js files so i guess everything's going inline!
|
# ? Jul 24, 2014 17:12 |
|
oh cool changing the url params makes it even easier. i just hope i don't end up in jail like weev for accessing this url without permission
|
# ? Jul 24, 2014 18:03 |
|
Kevin Mitnick P.E. posted:i'm going with b but the team has reached consensus that i'm the sme on this pile of poo poo. more like no one else will admit to knowledge of php or js. the next person is overwhelmingly likely to be me, or me walking someone through making the changes they need do this.... https://www.youtube.com/watch?v=3WiyGmdOjbc Leave the json in the console for optimum accessibility.
|
# ? Jul 24, 2014 19:43 |
|
Kevin Mitnick P.E. posted:i'm going with b but the team has reached consensus that i'm the sme on this pile of poo poo. more like no one else will admit to knowledge of php or js. the next person is overwhelmingly likely to be me, or me walking someone through making the changes they need Use ASP.NET MVC
|
# ? Jul 24, 2014 19:46 |
|
|
# ? May 27, 2024 04:09 |
|
USSMICHELLEBACHMAN posted:Writing in line css is much better than writing bad css that cascades to everything !important
|
# ? Jul 24, 2014 19:54 |