« first day (2680 days earlier)      last day (2493 days later) » 

anyone who can help with angular related thing?
https://stackoverflow.com/questions/48693104/angular-2-component-less-routing-executing-whatever-logic-when-particular-url-i/48696806#48696806
@OliverSalzburg what do you use VS for?
@GNi33 Mostly for 2 applications in our stack. One is github.com/fairmanager/click-to-dial and the other is a controller software for a hardware device we rent out to customers for all kinds of fancy shit to use at their booth
11:28
so, anyone recommends any sort of tutorial or stuff for learning react
react docs
@SaitamaSama well their docs are short and consize
mm, a'ight!
but i would highly recommend the udemy course for react he tells you everything you should know about react
step 1) use your head
> - Phil
11:30
step 2) ??? step 3) profit
step 4) violà
i will never get sick of this joke
uhm, this might be a stupid question, but here goes: What happens if I rename a remote branch (master in this case, rename and lock) and rename a different branch to master in git?
Using gitlab if it makes any difference
will the downstream repos stay intact or will this cause problems?
11:49
They will stay intact, as long as they don't pull :D
No idea, sounds risky for sure
hehe
yeah, I'll need to try it out I guess
notice us, senpai
all branches are the same, name is irrelevant
at least in git
@GNi33 Why do you want to do this?
if gitlab has another layer over git and applies some logic to the branch named master, that's another thing
@OliverSalzburg why have a guy sent a tesla to the space?
@OliverSalzburg had a big update, that completely changes the underlying architecture of our application
11:52
@Neoares Why indeed
@OliverSalzburg why is the earth flat?
@GNi33 Fork a new repo :P
why? why?
so now we updated a client project and used a branch for that. Someone other than me did the initial upgrade, and, as the folder structure as well as file naming changed, just added all the files as new files and didn't bother moving
git is not perfect
11:54
hence when I wanted to merge master into that branch, my first intended course of action was to jump off a building
rebased the whole thing into a new branch
now I want to clean up a little and get the actual running version into the master branch
but yeah, now that you mention it, forking that branch into a new repo and locking the old one will probably be the best idea
Finally
50 minutes to get a single parking spot
GitLab will give helpful response messages sometimes if a repo was moved
@KamilSolecki WAS MY STORY TOO LONG AND BORING FOR YOU BRAH?
Which I found very helpful when I ran into them
I found only 600m away
@GNi33 lol timing
11:56
:D
@KamilSolecki what about public transport
@Neoares I'm in another city
I don't feel like taking a train here every weekend
oh I thought you were going to the office
train is fast AF
Last exam today
@Neoares lol not in polando
11:58
Tomorrow*
fkin polando lul
@SaitamaSama thx
wait a second, gold in downhill? wohooo
that's basically the most important medal of 'em all
12:04
Yes I'm inside
(for us at least)
Fells good
oh
is downhill a sport?
inside what? winks
what is about?
12:05
downhill skiing
@Neoares they run downhill while giant snowball is chasing them
the really fast race
:D
well I don't think you ski uphill
the norwegians do
@Neoares if you are brave enough, pretty sure you can do that
12:06
they even like it
@KendallFrey @rlemon
@KendallFrey check the video I sent about KSP
how's that realistic?
shouldn't he die because of pressure?
@KamilSolecki I thought the left image was a broken/open penis
a dissected one
your mind is nsfw
@Neoares oh jesus fucking christ
12:19
:(
@Neoares that is a horrifying assertion
@Neoares What video?
@rlemon @Loktar gotta have allens
user image
2
@Neoares probably
Hey how can I perform global replacement by putting replacing string in variable var str = 'Mr Blue has a blue house and a blue car';
var t = 'blue';
var res = str.replace('/'+t+'/g', "red");
please don't do t = '/blue/g'
12:26
@AlishaSharma that wouldn't work anyway
@AlishaSharma new RegExp()
so how is it possible??
how??
HOW??
TELL US!
12:27
but in this case, just pass the string directly
don't need a regex
I want to do without regex
Yes, that's what you should do
don' trust OliverTheLiar
hahaha
😊😊😊
We need to print some "The angry CTO" t-shirts and send them to Oliver for his birthday
who with a 3d printer can do that for me?
12:31
no
unless oliver is a foot tall
are you telling me that 3d printers can't do that?
3d printers are a waste then
because then I don't get the hype
@GNi33 I approve of this idea
var y = 'blue'; var k = new RegExp(y,'g'); var res = str.replace(k, "red"); hahaha it's so easy thanks guys @Neoares @OliverSalzburg @KendallFrey
12:40
We just fucking told you you don't have to use regex
@KendallFrey LOL
lol mong
@SufiyanAnsari Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
wait js doesn't replace all?
fuck this
12:42
yeah, without the g flag it replaces the first occurrence :/
Well that's obvious for regex
str.split("blue").join("red")
fuck JS
php ftw
somthing is better then nothing @KendallFrey I also did not want to use regex but I didn't have other options
12:44
yeah I guess you do have to use regex because JS is silly
yep fucking ass of js
Can we use goto statement in javascript. If yes then How?
regex is just another tool for the developer. if that's the only tool in your toolbox, you've got a problem
waaait, my popcorn isn't done yet
12:45
> ass of JS
I wonder what it looks like
!!> "Mr Blue has a blue house and a blue car".split("blue").join("red")
@Neil unless you're a REBEL developer
@BenFortune "Mr Blue has a red house and a red car"
12:45
anyone here to fuck js...hahaha
replace ALL THE THINGS!
all the small things apparently
how @Neil
@KendallFrey Thanks
@SufiyanAnsari no, don't use it
12:47
Yeah i think for this ill have to include one extra dependency @KendallFrey
@SufiyanAnsari for what?
Doesnt javascript support goto statements natively?
Why do you care?
For Goto statement @KendallFrey
12:48
@SufiyanAnsari No. And thank the JS gods for that.
why for the love of god would you need goto in js?
So he can goto, obviously
In case it wasn't clear, DON'T USE GOTO.
Cuz im on enterprise app i cant just add as many js as i can?
5
holy fuck, the buzzwords
12:49
add ALL THE THINGS!
Remind me to never rent from enterprise
are you a troll? because you're doing it pretty well so far
@SufiyanAnsari Apply dev, when the technical problem is solved.
can you apply dev directly to the forehead?
to the buggy section of the skin usually
12:51
I added one JS one day and I almost died, so I wouldn't recommend
Maybe you were adding it wrong
it was a (dependency) injection
@KamilSolecki Exactly my point
2
ah, well then I can see that then
mainlining dependencies is how you become an addict :(
12:53
dependency injection is silent, but deadly
I also went to a bar in India once and someone must have thrown rupees into my drink
because when I added the money up, I had more than I should.
Calling a function in a synchronous execution is pretty good.But when it comes to asynchronous function. I usually prefer goto
7
hwat
i have no words
why the hell
12:54
@ssube goto future;
u w0t m8
goto doesn't even work with async code, you have to use comefrom
I don't always eject out of functions, but when I do, I prefer goto.
@ssube thats only when you are doing the back-in time operations IIRC. For future operations it should be willgoto
when I need to eject out of functions, I just shell exec dd if=/dev/zero of=/dev/sda bs=512k
12:58
I'm genuinely curious what the use case is here for what he's doing
@SufiyanAnsari can we please see an example of how goto with async works?
please
Usually I've found that the best way of opting out of running something in javascript is to not run it to begin with
also, just how many dependencies does React have? my node_modules folder itself makes the sidebar thumb small af when I expand it
NoScript is one of the most secure ways to browse the internet and Lynx is the only browser with it built in

« first day (2680 days earlier)      last day (2493 days later) »