« first day (2484 days earlier)      last day (2689 days later) » 

09:00
What resources?
What are the features supported by babel? what are not? Example From the link kangax.github.io/compat-table/es6 I could see under feature let "temporal dead zone" is not supported.
adapting a legacy codebase to new business requirements https://t.co/2tV3a0UQzI
I want to know if somewhere a good explanation of temporal dead zone is
@user168983 did you try reading the babel column?
Yes I did
09:05
someone does have a good explanation of temporal dead zones
@OliverSalzburg Would you like a VW Passat ?
Went to a friend and he has this car. Seems nice
1
Q: Calculating circle rebound

TobiI'm computational modelling circular collisions. I have the x-y components of the circles' velocity vectors (green lines) I'm trying to calculate the resultant rebound velocities When the collision is head-on, using conservation of momentum and energy, I calculated the formulas: $$ v_2 = \fra...

Do you have 2 SO accounts?
???
No
oh wiat
I have a different physics account
09:21
you can re-use the account across all SO networks though
but if you don't use your Tobiq account there and that account here, then it's OK
?
I logged into physics with diff google account
basically, you're being charged for murder, lawyer up
@Tobiq I said that it's not a problem if you do this. Having > 1 account on SE has been a problem before because people abuses it by giving upvotes to his other question, commenting, answerring, ... just to farm rep points
or circumventing eg. a question ban
Why we need two loaders: css-loader and style-loader, to include .css files?
webpack?
09:29
yes
you won't even be able to render a css file with those :)
read up on what they do
style-loader can inject a <style> tag into your page, css-loader is there to load imported or required files
so yes, you'll need both
Thank you:)
@mark333...333...333 If you have used console (press F12), then you will see
> Uncaught ReferenceError: Pop is not defined at HTMLInputElement.onclick
09:42
Hi. Does Json have data types?
yh
String, array, object, integer, boolean
Or is it javascript
I thought json was a format
it's text
@KarelG yeah
So json doesn't understand a boolean, it just knows it has a value I assume. When it is parsed into javascript it then becomes a boolean again
But tutorialspoint.com/json/json_data_types.htm suggests json knows about types
09:44
well, yeah, pretty much. Of course there are differences in notation between let's say numbers and strings
all these types that are listed there of course have a certain notation in JSON
so parsers know what they'll have to parse
json is text. it doesn't know anything. :)
as for parsers, i reckon the only thing they'd be concerned with is that object keys have to be strings
i want to upload a image in form and the image must get saved in a folder (ie) in server on submitting the form...........angular js1
@SterlingArcher Wage War album is out. And it's fucking insane
@GNi33 SterlingArcher is afk: drunk
of course you are
10:02
if u guys wanna seperate large sections of ur code do u do a big line of comments
as like a title
I checked $(".my-popup").find(".bootbox-body").length==0. It means there isn't div in message variable. — Huy Nguyen yesterday
0
Q: Customizing bootbox

Atal ShrivastavaI'm trying to customize bootbox design. I have succeeded in getting the output which shows like below: here my code is var dialog = bootbox.alert({ closeButton: false, title: false, message: 'hello', className: "my-popup" }); dialog.init(funct...

So is it possible that I write some conditions in .js and load specific css file, which loaded by css-loader?
I'm new to css loader
yep
I only ever used it in combination with babel, so I'm not entirely sure if require would work for you
but you should be able to import a css file inside of a condition
10:17
What does 'lexical "super" binding in constructors' in arrow functions mean?
@RachelDockter blocks, group them and separate inbetween with empty lines, ...
Thanks all
@KarelG I wouldn't mind, but it wouldn't be my first choice
@user168983 do you know what lexical binding is?
or lexical scope for that matter
what's your first choice then? :)
10:25
S63 AMG obviously
Rust is nice.
so I heard
Ownership, zero-cost abstractions, threading, ..
@GNi33 No
@GNi33 Pretty much, yes :D
More seriously though, a Skoda Superb or a Merc E350
Depending on how much money I have to burn
Although, by that margin, I'll probably be driving the same shit car for the next 20 years
10:37
my book says to use associative arrays, which is bad, how come?
I'm not fan of that Mercedes logo on the top of the hood
idk what's it called in english
bonnet
and trunk is boot
@KarelG hood ornament
@LazerLemon As far as I know, it's the same underlying data type. stackoverflow.com/a/8067675/4688606
I haven't test-driven the E-class yet anyway and we have a V-class company car which was partially disappointing, but, well, I wanna check it out anyway :D
10:41
well now I have conflicting information
@OliverSalzburg just fyi, an eccentric millionaire in my country ( > 500 mill ) rides around in a skoda superb :D
he just like to use it as family car
@KarelG Yeah, I really like the idea. Last time I looked at it, it was reasonably priced and had lots to offer
should I be learning/using associative arrays
@LazerLemon the arrays in javascript are actually meant to use as arrays with numeric indexes. But javascript allows you to use string indexes on it. Compilers/interpreters from other strong typed language would yell at ya
but when I tried I kept getting weird results
10:44
If you want an actual associate array, it's probably best to just use Map
the basic version of skoda superb is 27k EUR
a decent price for what you get
no I mean variable names as indexes
hold on
@KarelG I agree. And the more recent models also look nice. The earlier Skoda models weren't really my taste
hah, i recall someone with a skoda fabia
A previous neighbor always tried to tell me that his Octavia is basically the same car as my A4. Which may be right from a technical point of view, I still preferred the A4 though
God, how much I loved that car when I got it
Had a VW Golf Mk3 before
10:49
that was popular back then ( nineties )
I got it in 2007. Was my first car
Fuck. Now you know the answer to my security question!
Are you social engineering me or something?
that's an effin awesome mancave
@OliverSalzburg ( ͡° ͜ʖ ͡°)
stupid fucking android
how can I copy a picture on my phone to this chat
ive tried gmail and drive but it doesnt even sent /upload it despite claiming to
1 message moved to Trash can
@jagdish Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@LazerLemon Drive usually works fine for me
11:01
its probs an android problem
i want to convert "thisIsNotWrongString" to "this is not string". i have tried pastebin.com/y35FTxZ1 this code...where am i doing wrong ?
it fails with facebook messenger too
The amount of lemons in this room is becomming alarming :D @rlemon
theres just two lemons
11:14
@FlorianMargaine @rlemon @Loktar It is Friday my dudes
@user168983 basically, if I understand this right, lexical 'super' binding in constructors pretty much means that the super method will still call the parent constructor when used in the constructor wrapped in an arrow function, that's pretty much it
because one of the big pros of using arrow functions is that they lexical scope "this"
so you don't have to call .bind all the time
basically my book says alert(degCent[loopcounter] = 5 / 9 * (degFaren[loopcounter] -32))
found it on google books
@BenjaminGruenbaum hey, could you pls unban me from caprica. Somehow someone put me in mindjail for no reason. Thank you.
@LazerLemon fwiw you probably should not use for...in on an array.
I mean, isnt it bad practise to use varnames as array indexes
11:27
uhm, no?
directly as indexes won't work anyways, as you'd just add properties to the Array object
which is a bad idea, yeah, but they don't do that in this example anyways
so not sure what you mean
they are merely accessing the value at a given index by using a variable in the loop, which you pretty much have to do
eg this fails:
var i = "testing"
var myarray = [i]
alert(a[i])
or while (a[i] ...) etc
yes, because you initialize an array that will look like this ["testing"]
of course a[i] won't work
take a good look at that example again and your mistake will become obvious
and try out alert(a[0]) instead of alert(a[i]) and have a look what the output is
but there is no string in the book imgur.com/a/iSV79
why would there be one?
try to figure out what loopCounter is in that example
because you said you have to use a string
11:34
and reading up on how arrays work won't hurt
I never said such a thing
I've read it up, I get conflicting information
I'm interested in that conflicting information
if a[i] wont work how come it says degcent[loopcounter]
read this
I thought you should only use numbered indexes
11:35
tell me... what is loopCounter and what is degCent in that example?
yes, that is correct
its a variable = to 0 initially
exactly. and that is not a numerical value?
yeah but I dont get why it just doesnt refer to loopcounter as degcent[0] = 0
its a number but not a numbered index
because the loop wouldn't do much if it just refers to index 0 all the time
I gotta go grab something to eat real quick
Im SUPER confused right now
11:39
@LazerLemon Because it's in a loop. The value changes.
I did the same thing as whats in this book more or less and people were saying not to do it and it says on the web to only use numbered indexes
and it also says not to use new Array
is this wrong too
I use new Array() to create arrays of a predetermined size
And they're correct that you should only use numbered indexes
ok to clearly everything people are telling me is an opinion
or preference
In fact that's the only kind of index you can use with an array.
If there are two ways of accomplishing the same thing, and one is less efficient, you can still use that way
Doesn't mean you necessarily should
11:42
well then everbody will complain if I do
but I should know it in that case which means posting it here sometimes to check it
It's not "complaining"
@KamilSolecki I'm OG lemon
Just offering you advice
Would you prefer we not tell you these things?
well I assumed I shouldn't use it because people say not to use it
No, you shouldn't use it because it makes programming harder
11:46
@LazerLemon that's not a valid reason not to do something. If you want to know the reason behind it, just ask
@Hans1984 let me check
I should skip over learning the bits that make it harder?
@GNi33 would you like an RO nomination?
@LazerLemon You can't know what makes it harder until you try them, or listen to people with experience.
!!unban Hans1984
11:47
@LazerLemon no, of course not. But if I know that gotos are bad to use in code, I certainly don't start writing examples with gotos
Play nice @Hans1984
@BenjaminGruenbaum Hans1984 freed from mindjail!
@rlemon how do I back up the bot's memory from my end?
to learn the stuff that makes it hard I need to give examples of it to check if its correct
yo sup all
11:49
@LazerLemon Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?
course not but I dont always know if ive put the right figures in
@BenjaminGruenbaum Ros can run !!backup
Test only what you would and should use. There's no advantage towards learning a bad way to accomplish the same thing
@BenjaminGruenbaum Donna Noble has left The Library. Donna Noble has been saved.
11:50
I just think getting told that one thing is good to use then somebody else saying its bad to use is confusing
@rlemon I'll write a script that does this daily :)
So ask. What are you hearing that is conflicting?
@BenjaminGruenbaum I can do it too, just been forgetful lately
@rlemon I'll automate it
that new Array is bad/good and that referencing an array element by var identifier is bad/god
like in that book
also other things but ill leave them out for now
11:52
I'll test it, sorry if it gets annoying in the next 30 minutes
@KendallFrey @rlemon @Loktar wooooo
new Array is one way to create an array, just not the best way. It is most certainly "bad"
@Neil Even for creating an array with a set size?
@BenjaminGruenbaum Donna Noble has left The Library. Donna Noble has been saved.
11:53
function update_zenoss(event_state, event_id) {
    var message, action, log_entry;

    switch(event_state) {
        case "Acknowledged":
            message = "Unacknowledge alert?";
            log_entry = "unacknowledging";
            action = zenoss.unAcknowledgeEventById;
        break;
        case "New":
        default:
            message = "Acknowledge alert?";
            log_entry = "acknowledging";
            action = zenoss.acknowledgeEventById;
        break;
    }

    if (confirm(message)) {
@KendallFrey You're not helping his confusion
Uncaught TypeError: action is not a function
@BenjaminGruenbaum yea, that's what I'm saying. it's a local script already, I can just toss a setInterval on the command
halp :d
@Neil um... what?
11:54
In case anyone is interested in my backup script - the following in automator (then set it to run daily with cron or iCal):
function run(input, parameters) {
	ObjC.import('stdlib')
	var app = Application.currentApplication();
	app.includeStandardAdditions = true;

	var g = Application("Google Chrome");
	var tabs = g.windows().map(x => x.tabs()).reduce((p, c) => p.concat(c));
	var chat = tabs.find(x => String(x.url()).includes("chat.stackoverflow.com/rooms/17"));
	if(!chat) { // no tab yet
		var window = g.windows[0];
		window.tabs.push(chat = g.Tab());
		chat.url.set("chat.stackoverflow.com/rooms/17/");
	}
	$.system("sleep 2");
anyone have a sec to see why im stupid?
@KendallFrey did I stutter?
about to head home for the day
@taco you sure one of those cases is hit?
@Neil I disagree :P
11:55
@Neil No, you just didn't answer my question, and implied that asking it was a bad thing to do.
yeah, I get the confirmation alert popup
and the load order is right
and [un]acknowledgeEventById
is a thing?
I might just be lame and get rid of the switch
hmmm
@BenjaminGruenbaum yes, why not actually. I'm usually around at CET, not sure how many ROs we have in this timezone already though
uhhhhh
@rlemon maybeeeee?
lol
11:57
note, I'm usually not that active on weekends either
@KendallFrey for the sake of programming 101, he doesn't need a 200 page reference manual with assembly code
@GNi33 got it
@Neil What the fuck are you talking about?
He needs to understand what is likely going to help him now
@KendallFrey I was talking to someone in chat, maybe you didn't notice
@Neil In the meantime, I would like some understanding too, yet all I get is rebuke.
I'm starting to wonder if your original point was wrong.
12:00
ohh, @Loktar @FlorianMargaine @KendallFrey sorry I'm late
@rlemon omg thanks i love u
This isn't rebuke, this is "hey, let's not confuse the hell out of the guy who doesn't even understand how loops work yet please.."
I guess I'm just tired >_<
on to another bug
@taco no prob bb
RFC#44 room owners please take a look.
2
12:02
@Neil That sounds exactly like rebuke to me, and I still don't have an answer to my question.
damn dude...
nice tanks.
should I use new Array rlemon
could you guys calm down a little? I agree with Neil that we shouldn't tell him about every aspect of arrays when he doesn't even seem to get the underlying concept, let alone that of loops. But that's not a thing to pick a fight over either
depends.
often, no you shouldn't.
in very specific cases, yes you should.
I get the basics (i.e numbered indexes) and I get loops
12:05
they'll both function the same, they just set up the array differently.
in the end you get an array with both.
my advice would be to use array literal until you find a need to use new Array
0
Q: Customizing bootbox

Atal ShrivastavaI'm trying to customize bootbox design. I have succeeded in getting the output which shows like below: here my code is var dialog = bootbox.alert({ closeButton: false, title: false, message: 'hello', className: "my-popup" }); dialog.init(funct...

can anyone help
could someone point me to browser support site
12:07
@Mosho not right now, why?
@KendallFrey I was trying to answer his question, not yours. Frankly you're being too hostile to answer your own
It somehow amuses me that LazerLemon is still trying to grasp the Array object in javascript
he've been trying that for 3 days?
You have the right to refuse to answer my question, and I have the right to call you wrong if you don't explain yourself.
we all needed to learn at some point, right? Eventually it will click
Fair enough
12:10
my question has bounty of 50 reputation
I've tried to add dist/ in .gitignore file, but some file still being tracked, why?
@N1ng cached
did you stage them before already?
just remove it from the index. it should work
something like git rm --cached <path>
delete the repo and start over.
12:14
I had a co-worker that misunderstood me. He couldn't hear my "cache" word, so he did git rm foo/bar/* :D
you can guess that he panicked
@neil this is what I mean by using var identifiers as array indexes: jsfiddle.net/o24jdo8e
this gives weird results regardless if I change anything to a a[i] i or a[0]
LazerLemon, pro-tip: console.log ...
@LazerLemon can you please stop using blocking dialogs for debugging
I won't look at your code if it's stopping me from using my browser.
I cant see anything when I do console.log
open the console..
12:15
:S
F12 ...
we all use it
no we dont
you have to use it
except you. hah. sorry :D
:D
i use document.body.innerHTML = "bla";
12:16
ohhhhhhhhhhhhhhhhhhh
much easier to find
good luck working with others.
or yourself.
How to fix the sizing when using transform and positons?
ok, i admit, i only use it in jsfiddle
12:18
I pretty much just keep the console open. even during regular browsing.
@MatheusSilva try "broken: true;"
only broken things can be fixed
rlemon, even while not using your work pc/laptop ?
yeah, I do that a lot as well
@KarelG yea
I use the console for a lot of things.
it's my goto calculator
:P
i've a button my work keyboard that opens a calculator
12:23
@rlemon you shouldn't use goto ಠ_ಠ
When I saw that, I was like " it's maybe useful someday"
@KarelG i have a button on my mouse that opens a calculator
@Neil all day every day
two things...
the phone is kinda ugly.
and so is the url.
as soon as you scroll you get the url hash changes. you can't even get the base url by scrolling back to the top.
> Hello and welcome to a blog post. I am writing it and you are reading it. It’s amazing what we can do with computers these days.
reads like something Zirak would write.
Meta blog
@BenjaminGruenbaum aaah now I get how you encountered that mem leak issue
I was curious why you would sent that kind of data
Yeah
@MadaraUchiha did you delete my self deprecating comment?
12:37
This is the ugliest smarthphone I've ever see
@BenjaminGruenbaum Which self deprecating comment is that?
lol @ that site
eventually you get ...-and-a-hrefhttpwwwbusinessinsiderc...
they've implemented that to keep the scroll level... meh
Hi guys wondering if someone could help me. I'm using nvd3 to make a simple line chart which works fine. What I'm getting stuck with is how I can redraw the chart with updated data. The only thing I could get to work was rebuilding the graph each upon an event, but thats not very efficient. Here is my function which makes the graph: gist.github.com/Daruchini/1bfc016f30d2ab995242419d32fe136d
My first attempt was to make a function such like: d3.select('svg').datum(newData);
> . A colossal vape cloud leads me to him, waiting under a tree, puffing furiously.
lol
12:43
> who’s using Hotmail in the year of our lord 2017
le me :|
> Cunningly, I type [email protected], executing hacking.
WTF. a webpage that refreshes itself every few seconds i-programmer.info/programming/javascript/…
how am I supposed to read it
why is life so fucked up
That's a dumb website
Read MDN
Or better - read Eloquent JavaScript or Dr Axel's book
Here @LazerLemon free online speakingjs.com
oh I started reading that the other day. will continue then
> My goal here is to figure out what Diana’s actual password is, given that I have her password hash. This process is commonly known as “hacking”.
it's actually cracking.
meh I've read the whole blog... I hope that he doesn't claim himself as a "hacker" .
12:51
@KarelG You haven't noticed the sarcasm?
Although what he is doing is hacking in one sense of the word
true
still that article distracted me from my work ... and ofc other things
haha didn't have done any work shit for 2 hours
Hi guys

« first day (2484 days earlier)      last day (2689 days later) »