« first day (2776 days earlier)      last day (2174 days later) » 

user1596138
2:00 PM
I'm sure he didn't submit anything in writing either
 
as I said, probably trial period
 
user1596138
But like I said. 20 day job, who really cares
 
you can basically just pack up and leave
 
I was approached by the CTO. After talking to him, I said I think it's worth it if I had a chat with the team lead first, in case it was some other weird misunderstanding
 
and the company can let you go without notice
 
2:01 PM
so I had a chat with the team lead, understood how deep the difference in expectations was, and how kind of douchy he was, and I decided to not try to convince him that we can still make it work
 
user1596138
@GNi33 Obviously. You can't generally quit with zero notice tho, you get fired for abandoning the job. I done it at retail lmao went in and said I quit and walked off. Got my fired notice
 
I think I still had the power to keep the job, I just decided to quit instead
 
user1596138
You can't verbally say "I quit" to save yourself from being fired, that's my only point. It really doesn't matter
 
nah, and it makes no difference as well
 
user1596138
3 mins ago, by towc
@Jhawins well, the planned to fire me a few seconds later
 
2:02 PM
fun fact: we didn't have a contract yet. So soon I'll probably be signing a contract and then get my fired notice right after that
 
he means he could've argued or had a discussion about it
and may have convinced them to keep him in the job. that's all
 
@Jhawins if I didn't say anything. That's when I decided to ask to talk with the team lead again
 
I have a question

function Mammal(name){
    this.name=name;
    this.offspring=[];
}

Mammal.prototype.haveABaby=function(){
    var newBaby=new Mammal("Baby "+this.name);
    this.offspring.push(newBaby);
    return newBaby;
}

Mammal.prototype.toString=function(){
    return '[Mammal "'+this.name+'"]';
}


Cat.prototype = new Mammal(); // Here's where the inheritance occurs
Cat.prototype.constructor=Cat; // Otherwise instances of Cat would have a constructor of Mammal

function Cat(name){
    this.name=name;
 
user1596138
Well hopefully you can find something better for everyone involved
 
hmm I thought i formatted it
 
2:05 PM
I'm getting paid 2k€ for those 20 days
 
@MadaraUchiha your thoughts on this ?
 
I lived on 2k for 4 months before getting this job
 
I think you're right.
 
user1596138
@FlyingGambit Isn't that all explained in the examples where this code came from
 
I don't know if there should be a rush in finding another job
and I do feel a bit emotional
 
user1596138
2:06 PM
@towc The question is... Are you broke lol
 
@Jhawins before they paid me, yes
but again, I planned it so I wouldn't be completely broke
 
user1596138
2K aint gonna last long. Takes a bit to get started and get paid at a new job :/
 
@Jhawins Its from phrogz.net/js/classes/OOPinJS2.html . To be honest I am not understanding that part
 
@FlyingGambit With ES5, the recommended way is to use Object.create() and not call the parent's constructor
Because imagine the Mammal constructor having side effects.
 
@Jhawins I mean, I got this job on the same week I looked for it
 
user1596138
2:07 PM
@FlyingGambit Oh I found gist.github.com/raajkumar-s/1b13ec90ce9c06a03bcd9d35cd35ca33 and some others by googling the comments
 
But how did you end up in an environment where you have to do things the ES5 way?
 
I don't think it was my duty to take more time researching the internals of the company
 
Hi, I have an ionic-related question, is there any chat for that, or the JavaScript chat is better-suited ?
 
Just going through several tutorials sites, so just trying to understand code
 
@FlyingGambit simply put - it is not
It is not actually required for inheritance to work
You can omit it, setting .constructor is just an expectations thing
 
2:10 PM
okay
 
@FlyingGambit a subclass might use someObject.constructor in order to build more instances of it - but I've never seen anyone do it.
@towc condolences on the job, make sure to do a proper post-mortem and good luck with the job hunt. Must suck and feel horrible - let's hope the next job rocks.
 
I'm not sure what a proper post-mortem involves
making sure we left in good terms, and trying to figure out what I could have done differently?
 
@towc what happened?
are you quitting?
 
I might know some companies in Vienna, but I'm not sure if you'd a) be interested and b) what the law says regarding that
 
@GNi33 I know tons of people who are bratislava residents/citizens but go to vienna for work. It's definitely possible, and I might do it. I'm really not looking to be hooked up for now
but thanks
 
2:16 PM
ok :)
 
again, I'll be fine for a while
 
completely unrelated, have you been to Vienna yet?
 
or that's what I tell myself anyway
@GNi33 once, 3 years ago
 
how did you like it?
 
it was neat
nothing in particular to say about it
 
2:19 PM
yeah, on a second thought, it's a sh*thole :P
 
really?
 
no
 
there's a lot of culture and history
streets are cleaner than average
those are good things
the parts I was in were overcrowded and too formal
 
you still sleep in the street?
 
@Neoares the company is letting me stay at their apartment for another month
 
2:21 PM
too formal?
 
@GNi33 not enough "free green"
 
in Vienna?
it's hands down one of the greenest > 1mio cities you'll find
but yeah, depends on where you went. I suppose city center? It's pretty touristy there
 
the green is extremely controlled
in concrete boxes
things are cut really attentively
it's green, not free green
I went with a school, for like 4 hours, so we were in the city center. Went to an art gallery, and that was it
 
@BenjaminGruenbaum trolling is so much easier
 
@towc yeah, I'd argue most city centers of cities of that size will be like that. Vienna has a lot of relatively untouched nature around the center as well though, at the Danube for example
 
2:30 PM
@GNi33 oh, I didn't get to see that
bratislava's nature is very untouched
and I like that
 
yeah, I've never been to Bratislava so I can't compare them
 
well, do come
if I'll still be here... tomorrow?
every day is a wild emotional ride in towcland :P
 
cc @MadaraUchiha :D
(I didn't actually flag)
 
we know
you have no balls to flag that today
well, actually troll flags have been always frowned upon
 
@Neoares I'm totally flagging this one though flagged
 
2:36 PM
TIL what "frowned upon" means
you know I can't see flags :(
 
it means a french dude owned something above something else in the phrase
 
@BenjaminGruenbaum Why is that a dilemma? He didn't do anything flag worthy
If anything, Imma ban you for falsely flagging my boss.
cc @Linkgoron
 
he's your actual boss?
 
@Neoares He is
 
hahaha
but you're the boss here
 
2:38 PM
oh boy
 
Mar 29 at 15:03, by Linkgoron
@SterlingArcher his god
 
@MadaraUchiha spoken like a true employee terrified of their boss :D
 
wait
 
@BenjaminGruenbaum I'm literally shivering in fear right now.
 
if madara is a mod... but he's his boss...
what is he?
 
2:39 PM
Or maybe that's the AC
 
"Is this ok b... b.. boss?"
 
can madara ban his boss here?
oh god I have a lot of questions
 
He can try.
4
 
Only if he wants to make him coffee every morning for a year
 
@BenjaminGruenbaum you mean boss-san?
 
2:40 PM
@BenjaminGruenbaum he already does that
 
xDDDDDDD lmao
tell me you call him Maddy
 
@Neoares I call him Daddy.
 
You know Madara Uchiha is a fictional character right
 
user1596138
@MadaraUchiha Yall need jesus HR
 
@KendallFrey what
you're not real people?
 
eh, I knew that
but if I saw you in real life, I'd call you Kendall also
 
@Neoares Well, considering all of you are figments of my imagination
No, you're not real people.
 
@Neoares Well that's my name, so...
 
user1596138
What would you call me
 
oh, so Kendall is an actuall name
 
2:42 PM
@Jhawins Joe
 
user1596138
Vap0r I hope
 
@Jhawins Claris.
 
Jenkins
 
user1596138
Yea but even I don't know how to say jhawins
 
oh man, I could consider never having an employer so awkward things never happen
 
2:43 PM
@Jhawins @Linkgoron is actually the head of HR where they work.
 
@Jhawins ג'חאווינס
 
J like "jamón"
 
oh man, I could start my own business, and have awkward moments with my employees!
 
then awins like "penguin"
 
user1596138
@MadaraUchiha What's that? My real name is a hebrew name
 
2:44 PM
@towc none of this is actually awkward for anyone involved though.
 
@Jhawins oh!! jewish
 
@Jhawins יהושוע
 
that's how I'd call you
 
user1596138
@Neoares baptist
 
@MadaraUchiha damn, gtranslate doesn't have tts for hebrew
 
2:45 PM
I love it how it's not my problem anymore when employees shitpost on chat instead of finishing the version on time.
 
I didn't know time had versions
 
@BenjaminGruenbaum the three of you must be really good/professional friends
 
Will the next release deprecate DST please?
 
@towc I don't know them, I only know @Linkgoron from a website
 
how do you know it's not awkward?
 
2:46 PM
if you don't like it, it isn't
 
if he had to decide, would madara ban his boss, if he was being an actual dick?
would madara go further, and decide to quit?
 
@towc I don't think he would be using a keyboard in that case.
 
I think his brain would collapse in a black hole
 
@towc I am a dick
6
 
pls, stop starring everything madara's boss says
3
 
2:47 PM
oh, right, known bias. He'd just tell the other mods to take over
 
except madara is being forced to
 
@Neoares I'm really having fun though. I can star stuff I like.
You're not my boss!
 
no, I'm your supervisor
 
That's not my name!
 
@Neoares It's not their fault. I'm that awesome.
 
2:48 PM
@Linkgoron how would you rate madara from 0 to 10?
 
@MadaraUchiha can you watch @Linkgoron's face and ping me when you're looking?
 
@BenjaminGruenbaum lol ok
@BenjaminGruenbaum He is disappoint, he was expecting better
 
mod abuse!
 
@MadaraUchiha awesome, in retrospect I should have asked for a picture
 
2:49 PM
actually, how does his boss feel about madara spending (probably work) hours every day moderating here?
 
nudes are not allowed here, Ben
 
@towc he has Hentai open most of the day anyway
 
LOL
 
Linkgoron is Madara's boss 100% confirmed
wtfffff
 
2:50 PM
 
Alright
That's enough mod abuse for one day :D
 
you can abuse me if you want
2
 
> room topic changed to: you can abuse me if you want
 
it's not funny when you say it
 
!!dog shelter or binge-watch some movie
dubs decide
 
2:53 PM
wut
 
even cap ignores you
 
!!live
 
@MadaraUchiha I'm not dead! Honest!
 
I think rlemon put me on her ignore list
 
2:54 PM
 
or maybe cap doesn't even reply to people who are banned
also @MadaraUchiha, cap hasn't been !!backup ed in about a month
 
!!backup
 
or maybe her AI learned to not answer you
 
@MadaraUchiha Donna Noble has left The Library Donna Noble has been saved.
 
> "bot_quote":"{\"scrumlord\":{\"msgid\":\"38658839\",\"author\":\"sterling archer\"}
someone explain me that? ._.
 
2:56 PM
!!quote get scrumlord
 
Aug 14 '17 at 14:50, by Sterling Archer
As a scrummaster, I'm completely offended right nowpleasehelpmetheywontletmegothescrumassociationhasmyfamily‌​. — Sterling Archer 15 secs ago
 
lol
and why the link to meta?
 
it was a comment on meta
 
oh hey looked who showed up
 
3:05 PM
?
 
lol I have 3 messages in the starboard
I'm taking a screenshot
 
are there any free alternative to JScrambler?
i.e. more than simple minification?
 
uglify
 
jscrambler sounds like BS targetting people who think obfuscating their client-side JS makes it more secure
 
3:08 PM
I have no clue what they're promising on their website there
 
just to be sure, minify code = remove space, comments, useless characters, and uglify = modify var/function names?
 
uglify does that, yeah
 
and are there any way to prevent code-tampering?
I've heard that ionic v1 hhave a way de disable debuging, can we do it for newer version/ javaScript
 
@Kepotx That's generally a usecase that's not needed (or welcome, in most cases)
 
minification/uglify doesn't prevent tampering or hide the code. Obfuscation doesn't either, but it does make the code harder to understand.
 
3:12 PM
The code runs on my computer, being able to tamper with it (or even outright disable it) isn't an outrageous expectation from your users.
 
Chrome comes with a prettifier, which undoes any minification that you do
 
Could you elaborate please? I thought that enable debuging could help code reading and therefore reverse engineering
 
Why do you care about people reverse engineering your code on their browsers?
 
user1596138
Yesterday got all my deliveries by 930am, today nothing :( what a tease from brown santa
 
i guess that understanding the code male it easyer to attack but as I don't know welll the way to attack javascript, i may be wrong
 
3:14 PM
@Kepotx Meh, security by obscurity is no security at all.
 
agree with that, a system should be secure even if well known
 
@ThiefMaster o/
 
but it's one more layer in defence
 
@Kepotx It's generally not worth it
 
user7909000
Hello
 
3:15 PM
You will worsen your own debugging experience, as well as probably make the experience worse for your users
 
as for uglify/minify, I guess you only enable this in release version
 
user7909000
I am lazy to scroll up.
 
Some people even deploy with source maps enabled
 
what are the benefits?
 
3:21 PM
allowing other devs to dig in and see your beautiful code
 
Some devs deploy with source maps so that they can debug production code :P
 
@Kepotx it's a useless layer of defense: if i want to attack your webapp, i'll just look at the requests it sends
 
henlo fellow computer men
 
@KevinB I though it would be enough to make a github repo, so you can make all the pull request and all
 
i mean, i'd rather mess with the code that's runnin
 
3:28 PM
@KevinB, define "mess with"
 
debug, reverse engineer, etc
 
@Feeds @Linkgoron and you're just going to let that fly?
 
@PeterWard rm -rf
 
$('.username').each(function(i, user) { if ($(user).html() == @Neoares) {setInterval(function() {$($(user).closest(".user-container")).css("background", "rgba(" + Math.floor(Math.random() * 255) + ", " + Math.floor(Math.random() * 255) + ", " + Math.floor(Math.random() * 255) + "," + Math.floor(Math.random() * 255) + ")");}, 200);} })
I heard on a Podcast that Bitcoin is the "pets.com" of Blockchain. But, I mean, what even is "pets.com"?
 
3:49 PM
Brought your boss on here. You absolute madman.
 
@PeterWard lol that pinged me
 
Is there something we, devs, should bear in mind when working on a web app that's supposed to stay open for a long time?
say it's a dashboard that's kept open 24/7. With a page not refreshing for so long in chrome... won't there eventually be issues with memory or cache usage?
 
is anyone doing heavy A/B testing of web applications? I had a thought. Instead of assigning users to variations, let the user choose their own experience from the interface. This has been done to some extent with opt-in "alphas" and "betas", but I think it could be more granular.
 
@Shmiddty let the user choose is not a choice
 
@Neoares why's that?
 
user7909000
4:13 PM
So there will be no more updates for node?
 
Most users don't want an overly complicated process. Most A/B tests are to understand what encourages that call to action. You shouldn't give them another call to action just to test. That'd be adding another layer to complicate things
 
@KevinB stackoverflow.com/review/late-answers/19814298 see, easy flags in the late answers queue
@MadaraUchiha stackoverflow.com/review/first-posts/19814031 what's the appropriate flag for a non-english answer? VLQ?
 
@SterlingArcher Sure
 
I'm overwhelmed by the solidity of that lol
 
@BenjaminGruenbaum ?
 
4:25 PM
Oh hey, it's Madara's god
 
@SterlingArcher hi
 
How are you @Linkgoron?
 
Fine, trying to fix some bugs @MadaraUchiha created
 
idk why I read that as "how old are you"
 
Ironic, usually he's trying to fix bugs I created
 
4:27 PM
@SterlingArcher how are you kind sir?
 
@KendallFrey ASL?
 
I learned a bit of American Sign Language as a kid
:P
 
@Linkgoron doing well thanks! Waiting for a couple PR approvals and trying to fix a bug of my own
It's weird actually, my component seems to be receiving props that are a state ahead of the reducer
It's throwing me for a loop
 
Since it seems that it is, in fact, impossible to make a scrollable table of a dynamic height using css alone, is there a javascript way around this to dynamically set a static value such as a height in vh?
 
user1596138
Wat
 
user1596138
4:31 PM
> Dynamically set a static value such as vh
 
ok i might be wording stuff wrong i'm incredibly confused
I need to figure out the height of the div above it, then make my table fit EXACTLY in the remaining space, and be scrollable.
i've already got the scrollable part...but this is because i ahve a fixed height set for the table
 
user1596138
Any chance you have like a jsfiddle
 
no chance. This is somewhat modular without being formal modules.
in other words, i append what needs to show when needed, and clear the div when not needed
mostly the problem is, becasue of the text in the top div, it wraps and increases the size of that div.
all that text needs to be there.
i can't overflow it.
 
user1596138
Seems an MVCE for this table situation would take a couple lines
 
user1596138
It's very hard to tell exactly what you're saying
 
4:39 PM
MVCE?
oh
uhm
 
user1596138
A jsfiddle with just a table and whatever div causes you to not be able to do what you want
 
that's the problem. It's the way i've made the table that restricts my options.
the table MUST be displayed as block.
 
user1596138
That's why I want to see the table ;P
 
user1596138
Why is a table set to display: block?
 
so that i can make it into an accordion
 
user1596138
4:42 PM
Can you just not use a table, since it's not a table
 
where clicking one row shows the hidden rwo that is below it
i'm using a table because i'm using bootstrap for my css formatting.
 
user1596138
Hmm. That should be doable without display block
 
user1596138
Hard to understand what's really going on. Someone else may get it and chime in :)
 
@cryophoenix does your accordion animate?
 
nope.
no animations.
 
4:44 PM
accordion animations are very difficult
 
user1596138
I'm willing to bet your display block is an XY tho, you can hide/show <tr>s without that
 
an XY?
i'm not familiar with shorthand
 
user1596138
1305
Q: What is the XY problem?

GnomeWhat is the XY problem? When asking questions, how do I recognize when I'm falling into it? How do I avoid it? Return to FAQ index

 
user1596138
> The XY problem is asking about your attempted solution rather than your actual problem.
 
it's a "i found it on the internet" fix because my boss wanted me to to make this quick
 
user1596138
4:46 PM
RIP
 
@cryophoenix if you're asking this purely to solve something like that, then you should hire us as consultants
 
xD i'd redo this the right way but i have to have a demo for the CEO by this afternoon >.>
 
hire-order-consultants
 
if you're asking to further your passion, that's another story
 
I've stumbled upon a little problem that I don't get. In the following code, I'm getting 'False returned' in my console, yet it returns true?
function mutation(arr) {
  var letters = arr[1].split('');

  letters.forEach(function(letter){
    if(arr[0].indexOf(letter) === -1){
      console.log('False returned');
      return false;
    }
  });
  return true;
}

mutation(["hello", "hey"]);
 
4:48 PM
@cryophoenix your deadline is not our problem, especially when you haven't given much to the community
 
@icecub return returns from the current function, not the outer function
 
by not given much...are you referring to my reputation or the lack of code
 
@KendallFrey Ah, thanks :)
 
i'm kinda new to SO. I'm also overwhelmed with ES6 ideas because it's been 3 years since i last used JS
 
@cryophoenix by the fact that you haven't been trying to help anyone, that I've seen
in fact, you were trolling last time I saw you around
 
4:49 PM
I don't know enough to help people.
All i know is what they taught me in school. I don't have much real world experience
 
you can at least not troll
 
I'm not trolling >.>
 
not now
 
I was never trolling >.>
I just have a very hard time explaining what it is i'm doing...communication with others is not my strongest aspect...
 
I'm running into a funny little problem
I have a model with a viewModel property. This is initialized in the constructor
It has a value if I inspect the object after creating it
but if I do a find on an array of these objects, and try to access viewModel, it returns undefined
 
4:53 PM
@Cereal could you provide code or use JavaScript syntax in your explanation? I don't know what you mean by "model"
 
it's an object
 
Object attributes can be accessed with dot-notation or bracket notation in JavaScript.
 
yeah...see, @towc people talk about models and views and viewmodels and this is not anything i understand. All this stuff is new to me.
 
sure, you don't need to help there
 
If you want to inspect the attributes of an object, just do: Object.getOwnPropertyNames(Object.getPrototypeOf(object))
 
4:55 PM
I was looking at your transcript
you came off as a troll right in the beginning, but ok, can't see much bad after that
except you always ask and never give
although you didn't seem to be actively trolling, so that's good
 
Note that prototypal attributes won't show up in Object.keys...
JavaScript's prototype-chain is like the Redux of pure JavaScript.
 
@Cereal fiddle?
 
well, mostly it's because things that seem second-nature these days are brand new to me. I've never declared a prototype in my life. Basically, I'm discovering that i know a hella lot less every day than i thought i did.
 
@cryophoenix that's good, keep that up
 
@towc I'll see if I can recreate it. This pattern is working elsewhere
 
4:57 PM
@cryophoenix knowledge is only good if it's validated
 
as i believe in this case. It seems by looking for ways to hack my way through things i've actually made a mess out of everything.
 
@cryophoenix that will be a common pattern
 
I wish meditation was productive...
I want to develop a new, cutting-edge meditation practice and name it "Produx"
 
...wait a minute...it's working almost now...what is going on...i was mostly staring at this screen, half-thinking about my css and I've done something or other to where it almost works...i think this is the problem. I see it as "almost working" and refuse to break anything that i have working in order to try to incorporate new stuff
 

« first day (2776 days earlier)      last day (2174 days later) »