« first day (721 days earlier)      last day (3067 days later) » 

5:00 PM
better than having to use the command line
like @Kitler
 
@Worf Feels like that's the situation my "teachers" from the last course I took are in. 4 weeks late they began grading projects, their deadline was 3 weeks :P
Today's count; 12 graded projects
 
lol
 
@Worf because I'm not using git anymore at my current job. Sourcetree is still a good program ^^
 
:D phew
did you change job again?
 
yeah 2 weeks ago
 
5:15 PM
source tree is great
 
did you yell TITS again?
 
we use it here as well
@DarkAshelin wth are you using there?
if not git
 
oh, no version control
 
@Loktar My guess?
 
5:16 PM
FTP
 
not even ftp
 
How do you get things to the server?
 
they use mostly magic
 
ouch..
 
we develop on production server
 
5:16 PM
no version control at all?!
 
"vim at the server"
 
directly on the server
 
Of course you do.
 
you're just joking :p
 
yeah.... yeah... joking..
 
5:17 PM
I just implemented proper version control at work
 
@DarkAshelin Welcome to the dark side of the industry!
 
before that it was timestamped folders
 
Would you like some lube while you ram it into your behind?
 
/project
  /12-02-2011
  /03-04-2013
  /01-10-2014
 ..
this was our version control for the longest time
 
@rlemon It's something
@DarkAshelin I'm surprised no one is doing anything about it though. I mean, either everyone are getting paid a crapton, or I honestly don't know why people stick around in a place like that.
 
5:19 PM
@SecondRikudo dunno either shrug
 
@SecondRikudo it is terrible :P
 
@rlemon Better than direct editing on the same production file...
 
that is ALL minor versions between majors :D
 
@rlemon With some smart symbolic linking, it can even become a system that sorta works
Terribad, but works.
 
@SecondRikudo +1
 
5:21 PM
vim on the same production file you have no protection against race conditions
You have no guarantee shit won't break the moment you hit :wq
You have no ability to test however much you want
 
@Loktar i wish i didn't have to select every single time the correct branch for pushing
 
You have no ability to even run locally, lol.
 
^ yep
 
the checkbox is always selected from master to origin
 
@Worf I didn't when I was using SourceTree
 
5:22 PM
@DarkAshelin I know you've just gotten it, but for your own sake, look for a saner place
 
it would automatically select the branch I'm on
@SecondRikudo I'll try
the worst part is that my transportation to work is now heavenly
 
anybody plays clash of clans game?
 
I save so much money and time by just using public transport now
 
@DarkAshelin I had the benefit of choosing where I live after I got to choose where I work
So I get to walk to work every morning :)
 
I'm sure that I'll get stuck in a worse commute if I change xD
 
5:23 PM
HEIL @KITLER
FUCK YOU TESTS. I WILL MERGE THIS BRANCH TODAY
 
@DarkAshelin this is what i'm getting when i hit push
even if i'm the "wes-dev" branch
 
odd
where are u hitting push? top menu?
 
(Context, I can't merge to master until all tests pass, great idea. Crappy implementation, especially with randomly failing tests all over the place XD)
 
should be instead:
 
@Worf What's wrong with it?
 
5:25 PM
 
@Worf maybe u need to remove the tracking on master? (no idea, just a guess)
 
Ah, even if you're checked out to the wrong branch
 
@DarkAshelin yeah the big push in the top menu
 
@Worf should be good
 
trying removing the track
no idea what the track is
 
5:27 PM
@Worf A local branch can track a remote branch
Normally, master tracks origin/master
 
track = check for updates?
 
And when you git pull origin master, it will perform a fetch on origin/master, and then merge into master because master is tracking origin/master
 
no. magento. what
 
found that gem answer earlier
 
5:28 PM
So basically, tracking is "this local branch represents that remote branch on my repo"
You can define what the remote calls "master" to be "wes-dev" if you have "wes-dev" track "origin/master"
@DarkAshelin link?
 
i would rather get boob implants on my forehead than getting into magento
@SecondRikudo reading wait
 
@DarkAshelin AH! PHP!
 
@Worf well I heard ppl pay 20-30k for a Magento site. So naturally I got into it on the next day
 
I TRUSTED YOU!~
 
5:30 PM
@DarkAshelin have you seen prestashop
 
@DarkAshelin Greedy bastard :D
 
looks more sensible
 
@Worf nope
 
Although yeah, PHP pays. Magento pays.
 
@SecondRikudo xD capitalism at its best
 
5:31 PM
@DarkAshelin Belgium is capitalistic?
 
@SecondRikudo just like yer mum
 
@DarkAshelin That's a "no" then?
 
@DarkAshelin i had to work with magento. i promise it's a job nobody would want to do
 
@SecondRikudo 't is a yes
 
it was asked me to fix something so i tried to generate a backtrace when i thought it was the problem
 
5:32 PM
@Worf I like how it is "Magneto" when misspelled
 
i got a 100mb file
then i gave up
 
Not much knowldge in JS room, so ill try here. Can anyone point me any simple "Upload, Crop, Resize" -javascript lib that handles all of those actions and does not require much time to implement to my site. Lib should support all modern browsers.
 
> Not much knowldge in JS room
In general? :)
 
BOOOOM ^
> Not much knowldge in JS room
:D
 
5:34 PM
which libs are you trying to pick from ?
any shortlist?
 
@DarkAshelin there's a folder in magento
 
Noup.
 
with all the Exception types used by it
 
Also I have question about it...
 
Googling to mainstream ?
 
5:35 PM
it contains like 200 exception types
 
@Worf When you build in production
 
200 files containing only <?php class SomeExceptionName extends Exception {}
 
@DarkAshelin 20-30k in what currency
 
@TylerH €
 
lady bucks
 
5:36 PM
@TylerH cheeseburgers (the only real currency)
 
20 - 30k euros for a single site?
 
why would people that much for em when there's stuff like shopify around
 
srsly
I could make 3-4 sites a year and earn as much as my dad with three degrees whose chair of an entire college department. Magento must be really hard, or the clients really stupid
 
@TylerH it's not that uncommon eh
companies usually pay around 5k for a normal site. 20k for an actually functioning ecommerce is legit
 
5:39 PM
@Loktar y u feed the vamps
 
@SecondRikudo sorry got distracted
so basically the track is the automatic fetch?
 
well to be fair there is a lot of money in web
 
@Kitler XD
 
@TylerH the latter
 
@Worf No
The track is "Here is how I call your whatever branch locally"
 
5:41 PM
@DarkAshelin do you know why sometimes i don't get the red box with the "1" commits to push
 
@Kitler haha
 
@Worf I know nothing, Jon Snow
 
@Worf consider this example
 
lol
 
5:41 PM
I answered within 2 seconds of him asking in the JS room
 
5 developers work on the same piece of code
 
sometimes thats the best way to get it over with and move on
 
Every developer gets their own branch
 
@SecondRikudo but what does that imply. that i'm not supposed to touch my local master branch?
 
@Worf No, that's not what it implies
Every dev gets their own branch on the remote repo (say GitHub)
But you don't want your branch to be called wes
You want your own branching scheme.
You want your main development branch to be develop
And you have local (or even pushed) feature branches you work on and merge into your develop.
You can accomplish this by saying "develop now tracks origin/wes"
And then every time you push your develop, you push to wes
And when you pull develop you pull from wes
 
5:44 PM
aaaaaaah so basically it's an alias
 
In 99% of the cases, the local branch name and the remote branch name are the same
@Worf Yeah, it can be seen as an alias.
 
> do you know why sometimes i don't get the red box with the "1" commits to push
this answers to that
basically i've pushed to both. correct?
because i had my wes-dev tracking origin/master
 
I'm assuming here that there's no conflict between master and wes-dev
 
so committing into my local wes-dev automatically pushed into origin/master, is it
 
master can be fast-forwarded to wes-dev?
 
5:47 PM
no idea what that means
 
[] <- [] <- [master] <- [] <- [] <- [wes-dev]
Wes dev is directly in front of master
All the commits in [master] branch are also in [wes-dev] branch
 
with master you mean my local master right
 
Yes
When all of the commits of branch A are contained within branch B, when you merge A into B, Git will automatically fast-forward (move the master pointer to the same commit as wes-dev without creating any new commit objects..
Aaaand chat is back :P
 
i guess this is what just happened
 
@Worf If that's the case, then when you pushed master, origin/master updated
And when you pushed wes-dev, origin/master updated again, and was fast-forwarded
So currently, the remote master is where your local wes-dev is found
 
5:54 PM
but is that affected by tracking in any way?
 
@Worf Yes
Because both branches track origin/master, when you pushed them both, the same remote branch got updated.
 
on origin i only have one branch
which is origin/master
is it ok?
in general i mean, working this way
atm two people are working on this project, both pushing on master
 
@Worf the general approach is, you each work on your own branches
You push your own branch to origin alongside master
And you use pull requests to code review one another
And by the way, the concept of "pull request" can also be "Hey, can you review my recent work on branch X and merge to master if you think it's good?" by mail
 
chat went down?
 
It doesn't need a fancy UI like GitHub has (even though it is very helpful)
 
5:58 PM
do pull requests exist on bitbucket too?
 
@DarkAshelin It did
@Worf Of course
pull requests exist even without a fancy remote host
 
i thought it was a github only thing
:P
 
@Worf pull request is literally a request for someone to pull data from your repo into theirs
 
i wonder how i do that in sourcetree
 
You go "Hey dude! Look at that awesome new feature I've added to your repo on my local branch X"
 
6:01 PM
i guess i will never learn git unless i join a larger team
 
Then the other guy is "Hmm, looks at changes, yeah man, looks good! git remote add wes URL; git pull wes-improvement wes; git merge wes-improvement master; git pull origin master
GitHub simplifies this process greatly, which is awesome
But the whole idea of Git is it being distributed. You can work, you and your partner, without going through to any sort of server.
Just by pulling from one another directly.
 
on windows i bet everything is different
 
@Worf Not really
The listening part (because Windows and SSH don't play nicely) is probably a bit different
But the rest is same.
Alright, heading to the apartment
 
@Worf noob
 
@Kitler do i need a pair of sunglasses to be a pro
 
6:05 PM
@Worf No, you need to know git
Stop learning PHP so earnestly, and learn Git
Git is invaluable no matter where you go or what you do.
 
sunglasses add +20 code points bra
 
It even goes beyond programming
Now really off
!!afk learn git nabs!
 
git doesnt pay my billz
 
it would if you weren't such a scrub
 
@Worf Sure it does.
@Worf By the way, the explanation I just gave you is $500
Cash or cheque?
 
6:07 PM
lol
pasta pesos
 
ah this is how you earn with git
lol
i can only pay in spaghetti
would that be ok
 
500$ worth of spaghetti, dayum
 
lol
 
@Worf maybe with latest updates - last time I've used it crashed on every few pushes
 
it's a bit slow but looks stable
 
6:11 PM
You don't need source tree
 
@Kitler that will last me a week maybe
 
learn to use the cli and resolve conflicts with meld
 
spaghetti so good
 
@Kitler command line and i are no friends
 
noob
 
6:15 PM
command line is for showoffs
 
s/showoffs/dinosaurs
 
/s/Worf/noob
 
s/nerds
 
s/invalid regexp/valid one/
seriously.. you all suck
s/a/b/ <- not /s/a/b or s/a/b
 
6:19 PM
u guys got all pwned ^
 
yep, nerds :-D
 
screw regexp :P
 
@Kitler noob
 
:P
 
I think part of the reason why ASP.NET/MVC is so hard for me to learn is because everything is in different files
 
6:23 PM
so you don't like the separation of concerns ?
 
@TylerH using visual studio?
 
@TylerH How is that different from <INSERT ANY LANGUAGE HERE>?
 
it isn't
but now we all know none of us wants to inherit a 2000 LoC single file application from @TylerH
 
@SecondRikudo except js you mean
 
only bad js is written that way
 
6:28 PM
2015 still no require()
 
@Worf Coming very soon
And there are plenty of solutions in place.
 
not even coming very soon we've been using modules for over a year
 
woa, a full year?
woaaaa
 
I'm using ES6 modules in production code for a while now
 
6:29 PM
:D ahah
 
heck people are even using es7 async funcs
 
Compiles to RequireJS under the surface, built with gulp and requirejs optimizer
 
get with the program :P
 
I'm a happy man.
 
@SecondRikudo why are you turning into @Kitler what happened to you man
 
6:30 PM
A full year in web is a long time
 
i'd say the opposite
 
vOv i give up
 
:D
 
feel free to catch up whenever reality hits you :P
 
ahahah
 
6:33 PM
@Worf yes
@SecondRikudo well I don't really know other languages, so...
 
visual studio hides many things tho
not sure about asp.net
 
@rlemon I wouldn't want to write a 2000 LoC SPA in the first place
 
but when you create desktop programs there's a bunch of meta data that you don't usually see
 
@TylerH You normally can write everything in one file, although that's bad practice.
 
@Worf I'm using VS 2013 for Web, btw. Not writing desktop programs
 
6:34 PM
You can do it in Java, in PHP, in JavaScript, in Python, it's just a crappy thing to do :P
 
@TylerH why asp.net?
 
@SecondRikudo Yeah, it is just hard for me to learn because there are zero comments and I don't know the language or the philosophy behind what goes where, so it's just slow going
@Worf a task that was given to me at work
 
@TylerH nods I hear you
 
Like, okay there's a .aspx page, that's basically where the presentation happens, and there's a .aspx.cs page for "code behind" the presentation, okay that makes sense still I guess, but there's also some "displaydata.cs" file like wait, why are there two .cs files? One of them appears to be just creating the DataTable dump from the SQL database and nothing else
so I dunno why that couldn't just be put in the other .cs file with literally all the other code
 
@SecondRikudo how would you use a float as hash key? it's php but language agnostically speaking $map[number_format($double, 30, "", "")] = $double;
 
6:39 PM
@Worf If it makes sense, why not?
What for?
 
well the nature of floats is very imprecise
 
HTTP2, who gives a shit about modules any more
 
not sure if that is the correct approach
 
just include 100 files
 
@Worf thanks captain obvious :-P
 
6:40 PM
@TylerH i am not, this is why im wondering
 
Anyone know how youtube to mp3 converters work?
 
I'd prefer to make my own
 
@SecondRikudo I read that editor's avatar as "Jesus Charlie"
 
6:43 PM
@Woodrow sounds like a good question for Google, really
 
@Woodrow you could do that using command line virtualdub to extract the mp3 from videos
 
@Woodrow Just do some research instead of asking it in every room on the network
 
Somebody's salty ^
 
Needs moar closevotes
 
@Loktar Rimworld is really addictive
I'm almost convinced that my coworker wrote this entire single-page app based on the answers on this page: forums.asp.net/t/…
the code is nearly verbatim
 
6:49 PM
ended up going with clip-path
 
\o/
works down to IE9, right?
 
we only care about IE 10 + so i guess that's cool
!!caniuse flexbox
 
Heck i guess we're only supporting ie 11 :P
we're flexboxing all over
 
I'm going to go out on a limb and assume that if (!IsPostBack) means if it's not a postback
 
6:51 PM
lol
 
@Kitler Best IE is no IE.
 
11 ain't so bad
 
@SecondRikudo Indeed, best IE is Spartan
 
ain't so good either
 
yeah i m looking forward for spartan
 
6:52 PM
@TylerH Is there a prview yet?
 
Although it's funny, for a few weeks now IE11 supports remote debugging protocols
So you can debug your IE site from Chrome :D
 
@PeeHaa there's been several for a while with the Windows 10 previews
 
@SecondRikudo lol
 
I'm bummed that they want to make it Windows 10 only
 
Actually that is pretty nice
 
6:53 PM
I wonder if someone will try to make it work on Win7
 
@Kitler depends what for
 
@TylerH 99% sure it's not going to happen
 
@PeeHaa ideally they would just have to copy dll files over but MS makes it complicated
 
Yeah it is not really in their interest that it works in 7 :)
 
I dunno, they'd capture a lot more market
 
6:55 PM
Yeah, but their goal is selling OSes. Not browsers ;)
 
nah, their goal is making money
everything else is secondary :-P
 
@PeeHaa lol
MS's #1 product is not Windows for quite a while now
 
Bing is supposed to become profitable some time in 2017
 
@SecondRikudo It isn't. But their browsers don't bring in any money at all
 
@PeeHaa Not true
 
6:58 PM
@PeeHaa Nope
 
@TylerH ?
 
advertising/search deals bring in lots of $$$
!!afk meeting
 
Yeah but everybody uses google so no $$$ for them
 
Their original business model was control the market, force everyone to code for IE, which forces everyone to use IE, which forces everyone to use Windows and all other services.
That business model fell apart when IE stopped being the dominant browser
As for their current model, I'm not sure.
 
Yeah and now it is sell office suites and try to sell azure / 365 crap
 

« first day (721 days earlier)      last day (3067 days later) »