« first day (3155 days earlier)      last day (1799 days later) » 

3:00 PM
It seems downvoting is all people care about. All they do is downvote, never posting WHY. and when they do: they say: "Bad question, too broad, dupe" etc. It really shows they arent reading the question, they are just downvoting
They dont literally point out a specific part and say whats wrong with it.
 
It sounds like you're having a difficult time not taking a downvote as a personal actionable thing.
 
@TaylorSpark I see your new question. I honestly think you need to learn to first review your questions.
 
I just got downvoted for a correct answer to a question as the downvoter didn't care that I wasn't correcting a typographical error by the OP when I encouraged data type checking by adding another equals sign. Disheartening
 
@user6854465 Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
I typically write a question, then next day I review my own question to "is it clear for someone who doesn't know a thing about it", if it isn't I improve before posting. - Or even refrain for the time being.
 
3:01 PM
@user6854465 because a question that's solved by a typo should be closed as such. I typically don't downvote those answers, but answering a question that should be closed opens yourself up for downvotes
 
Dat.GUI is a term that makes no sense at all. - So why include it in the title. Instead think of a more descriptive title.
 
The problem wasn't a typo though, it was a type :c)
null as a string....
 
The title of an article alone should be enough to completely explain it to anyone interested in reading.
 
typo is a semi-broad term
 
How very zen :c)
 
3:04 PM
Anyways, I've probably had this conversation 700 times now, so I'mma head back to work. Be civil, ping me if it gets out of hand
 
@TaylorSpark you'd need to explain where you get "dat.GUI", what it is supposed to do and what it doesn't do (and thus what the problem is).
 
hello
I want to call some external API in expressJS
with AXIOS but the API contains a cookie
which should be used to call other external API's
I test it in postman and things worked perfectly
but in expressJS because there is no cookie I can't call API
anyone khnow what should I do?
 
3:30 PM
Im starting to wonder if this damned dat.gui thing just hates me. I've followed the function instructions here: workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage
 
1 message moved to Trash can
seriously.
learn to format or use a paste service
the bot has told you enough times
 
I FORMATTED IT DUMDUM (Ctrl k)
The BOT didnt delete it
 
Obviously not, dumdum
 
So I did format it
 
no, you didn't. ctrl + k is a toggle. it clearly wasn't formatted.
and the bot doesn't always catch it
 
3:32 PM
Moving on
 
now be polite and respect the room rules.
thanks
 
select all -> ctrl + k. And you should see 4 spaces in front of each line.
 
going to be a formatting police or help.
If your not going to help me, just please dont even talk to me.
 
soon I'll be the kicking police.
be polite and respect the room rules.
thanks.
 
I did.
Not my fault it didnt show up
 
3:33 PM
Just use ctrl+A and ctrl+K so it looks like code
 
Your once again blaming me on something that I didnt do
 
that kick was a warning. there is no point arguing here.
 
Maybe it bugged out or something then
 
your code wasn't formatted. you've been asked to figure it out or use a paste service if you cannot
that isn't hard.
stop bitching about it, and just learn to work with the room.
 
@rlemon you're talking to someone else now? (he's not in chat afaik)?
 
3:34 PM
I kicked him.
I assume he'll return in 1 minute
if not, then yes. I'm talking to a wall
 
I always just post a link
 
Again, there is a handy dandy link on formatting code in chat (with visual aids :O)
Please read it :D
 
honestly. just use a paste service at this point.
 
Its getting worse now my proxy got a 403 error
lol
 
Or they'll yeet you into the sun
 
3:36 PM
?
 
Does anyone know how to call a function in dat.gui?
 
I dont know what dat.gui is so no
 
the function call and onClick() service dont seem to be working atm
Atleast not dat's version of itt
demmit
Why is this gui so dang anoyying to control
 
Hey guys, quick question. Is there a way to pass multiple parameters from the Promise .then() to a callback function?
 
@TaylorSpark so you want to call a function after you've changed a value in dat.GUI?
 
3:38 PM
@Kramb An array or an object
Of if you're using bluebird you can .spread
 
No, I created a button > codepen.io/SkylerSpark/pen/ELwmoa Called Reset, I though writing a "function" button and naming it the same as the function would allow it to run funciton Reset () {} which is what resets the cloth in my simulation
 
why would you think that?
 
Thats what the documentation did
 
return get("/accounts/get").then(function(res,typ){ //logic }).catch(console.error);
 
where?
 
3:41 PM
I want to put a callback where the anonymous function is, but I need to pass the typ param with the response
 
See here: https://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage
`this.explode = function() { ... };`
Whereas that represents a function button
Which connects here: gui.add(text, 'explode');
Im honestly dying.
I think..
 
yes but where does there exist a magical reset function?
function Reset() {} is all you have
 
1 message moved to Trash can
@TaylorSpark Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
that isn't in your pen
 
https://codepen.io/SkylerSpark/pen/ELwmoa
line 364
 
3:43 PM
ahh yes. but either way.. what do you think happens when you re-define it later?
var foo = 123;
var foo = null;
 
Im honestly a little... Unsure
 
what do you think foo is now?
 
Null
Since its called after the first var
 
okay. so in your code you made Reset a empty function later
 
Wait a second...
 
3:44 PM
actually. that might be the reason. but for sure the reason is you're attaching to the function in text
not the global one
 
Please dont tell me... I have to place cloth = new Cloth(noTop) where ... is in this.explode = function() { ... };
 
no
 
What?
Ok now Im out of idea
s*
 
so you want this.Reset to reference the Reset function?
do that.
this.Reset = Reset;
bam. magic
 
0-o Im rretarrded
 
3:45 PM
now next time please don't argue with everyone in the room and complain over and over that no one helps
 
Well I do have adhd and aspergers.
 
makes everyone dislike you
 
ok
Sorry, was just pissed earlier because everyone kept downvoting all my questions and ruining my rep
 
Take this as a learning situation: you were downvoted, and you came here and took it out on us
Is that fair to us, the ones who didn't even vote?
 
4:29 PM
Hey does anyone know how to put a canvas BEHIND dat.gui? I set the z-index -10 for the canvas, and 5 for the dat.gui thing, but the canvas always overlaps it, and prevents me from clicking the buttons.
 
Hmm in react I have some data I only download once I open a certain page (ie a banner image of some event, I don't download on pageload all banners for all events...). What would be the best lifecycle method of such a component to signal "start downloading"?/
 
Hey paul do you know why canvas keeps overlapping my gui?
Seems css cant change it
 
My initial thought was componentDidMount - however due to how mobx stores & routing works, the props event might be undefined on page refresh (when directly going to the event page). componentDidMount is not called after that again. (page is displayed with empty data before the eventstore has fully downloaded, then mobx forces a rerender).
My second idea was to use componentDidUpdate - however this happens after rendering, thus might cause "flickering"?
 
noidea
 
https://codepen.io/SkylerSpark/pen/ELwmoa
It seems when I expand the folder, it goes... Inside... the canvas
sigh
Every time I solve a problem, another occurs
 
4:32 PM
Welcome to the world of programming
 
Would it be more efficient if I.... literally put the whole GUI inside of the canvas, and expanded the canvas to the full page? IM planning on deleting all the buttons above the canvas anyways
 
don't set zindex on the canvas
 
yeah doesnt seem to affect it
 
certainly does for me
 
What?
 
4:34 PM
you have two styles affecting the zindex of the canvas
 
strange... for me n matter the z-index, the dat.gui is always behind it
 
one makes it -1, the other makes it 1
 
@TaylorSpark That's coding lol
 
1 overrides -1 because the queryselector is more specific
 
4:34 PM
There we go
set the main to -2
deleted te -1
Phew
 
devtools
makes fixing these kinds of problems easy
 
My school blocked devtools they suck
 
bs
 
-.-
 
when I asked them why, they said "security reasons"
xd
 
4:37 PM
What's up with "blocking" today
 
it's just an excuse
 
But if you have chrome you just press f12
 
...which doesn't work because they blocked it
hmm maybe if I sign out of my school google account
nope
still blocked
 
10
Q: How to uninstall/remove Developer Tools from Google Chrome?

Alexander ByndyuOur users should use Ctrl+Shift+J shortcut in web application. We have tried Chrome switchers like '--disable-dev-tools' but it not works in our scenario.

and for firefox:
3
Q: How to remove/disable Firefox Developer Tools?

user3603533How remove the "Firefox Developer Tools" from Firefox 28.0? Is there a way or script or option in about:config to remove them permanently?

 
so maybe I could re-enable it?
 
4:41 PM
just undo those things if you can (especially firefox about: config needs to be in an area where you have write access anyways).
 
I haven't used a school computer in 15 years.. but back then they locked down quite a bit of the OS
it was windows 2000
so that wasn't an issue
 
Wow dont ya just hate when ya spend 3 hours figuring out how to make something and... smh... it suddenly just "wont work" anymore
 
but I imagine they do the same today
@TaylorSpark protip: if it 'randomly' stops working. it never really worked. just made you think it did
nothing happens 'randomly' like that. you changed something. or it never worked
 
my computer randomly reboots
 
Just get to know IT, it's what I did at highschool last few years.
 
4:42 PM
@KevinB someone setup a scheduled job? we also used to do that in HS 😛
 
``` var f1 = gui.addFolder('Cloth');
f1.add(text, 'Reset');
f1.add(text, 'Defect');
f1.add(text, 'NoTop');
f1.close();``` Strange, Defect and Reset show up, but Notop doesnt.
 
@KevinB still didn't go to the ~doctor~ IT?
 
@TaylorSpark sigh
 
sighh
 
My school has a system where you can ask ITs for something online, they said they won't enable it because of "security issues"
 
are you going to just ignore me when I tell you to learn the rules and how the chat works?
 
IT looked at it 30 min ago, said since it hasn't happened today just keep an eye on it. maybe updates fixed it
 
var sampleText = function() {
  this.Rainbow = false;
  this.Reset = Reset;
  this.Defect = resetVars;
  this.UnTearable = godmod;
  this.NotTop = Notopa;
}; Hmmm Notop IS on here, and it IS Connected to a function, so It should show up,
but its not??
HMMMMM
 
Notop isn't there
 
Luckily uni never blocks anything ever. Once I got there I started wondering why some organizations block everything; apparently without blocking it's just as safe.
 
4:44 PM
Oh! NOW the ctrl+k code formatting decides to work. Delightful :/
 
@paul23 I've posted that link twice now :(
 
i never used a school PC in college
 
var sampleText = function() {
  this.Rainbow = false;
  this.Reset = Reset;
  this.Defect = resetVars;
  this.UnTearable = godmod;
  this.NotTop = Notopa;
};

window.onload = function() {
  text = new sampleText();
  setValue();
  var gui = new dat.GUI();
  gui.add(text, 'Rainbow').onChange(setValue);
 var f1 = gui.addFolder('Cloth');
  f1.add(text, 'Reset');
  f1.add(text, 'Defect');
  f1.add(text, 'NoTop');
  f1.close();
  var f2 = f1.addFolder('Strength');
  f2.add(text, 'UnTearable');
};
 
Can't do more than keep posting.
 
in HS i did, but those weren't locked down at all
 
4:46 PM
Check again
Its fine
Im not sure why its not being recognized as a function
 
@TaylorSpark NoTop !== NotTop
check again
 
@paul23 easy to say when you don't have a kick button :D
 
it's not fine
 
WHATTT
'
...
CURSE MY FRICKING -23 VISION
 
you should consider a linting tool
 
4:47 PM
Yeah... Im not gunna ask that no more, I thought i could make this project WITHOUT my console, Good thing I made my own javascript output console
 
beautifytools.com/javascript-validator.php
 
@KevinB I often use them since installing printers used to require some painful operations (and they often failed due to password changes, and were even a bigger pain to reinstall). For installation - until last summer- they required activeX components of to temporary work.
 
Hopefully I get better spelling in a few minutes
 
linting tool? Never heard of a JS-validator being called that
 
4:48 PM
@TaylorSpark okay. if you are seriously using us to debug without even opening the console you can find a new set of suckers to bug
 
they have literally blocked me from acessing appdataa
*appdata
 
yeah i never used their printers
had one at the house
 
There's literally a module called eslint for js validation
it's the most popular linting module
 
@TaylorSpark I use that because I dont have a console lol
 
living on campus of literary 10 minute walk towards a good printer that prints for 1.5c a piece means I never got one :p.
 
4:51 PM
Lol gamemaster
Find a system url
Make a shortcut
You can bypass url blocks in explorer
 
@GameMaster1928 they won't block appdata, or google must be installed as portable version (in which case the settings are in the google directory or something). Appdata is used by google to remember what pages were open, store bookmarks and all that kind of stuff.
If you can't do that: well I suggest you stop and go home or get a laptop.
 
just make a shortcut to C:// and slowly click your way to appdata if setting a shortcut to appdata doesnt work
 
They havent blocked appdata, they have blocked me from acessing it
 
@GameMaster1928 which means chrome also can't access it: it's running as you so has the same permissions as you haev.
 
Like I said, right click, Create new shortcut (.lnk file) and type in C:\Users\COMPUTER NAME HERE\AppData
itll take ya right to it
 
4:53 PM
...
 
Its blocked on my pc too
i cant directly go to it from favourites, or even use %appdata%
I have to use link files
 
user1596138
@TaylorSpark My stomach
 
The search bar works
 
But honestly: why do you even accept it's blocked on your pc?
 
Its not blocked on my home pc
it WAS blocked on this little school laptop im typing from atm
 
4:56 PM
And if you're at school: why are you in this chatroom and not watching the teacher?
 
They blocked shortcuts but not other means
 
I managed to disable their security system (ZScaler) and its off, but ZS is still blocking sites, but its just disabling my connection to them, rather then sending me to the "page blocked" thingy
But I got halfway
 
My school uses sophos, which keeps blocking things at home
thats why I want a proxy
my normal computer has microsoft family restrictions
 
Apparently the IT at my school arent realizing I can use Cache: on blocked sites, I can wipe this pc without perms, and I can access their network through ncpa.cpl
Lots of entry points for exploits
 
my school blocked .exe
 
4:58 PM
Same.
 
Why are you all trying to do that? Why not just fix it by either using your own pc or talking to school that they limit tools required to study.
 
I use .jar
 
@GameMaster1928 What? I call bullshit
 
Honestly they wouldn't listen to my request
 
exes only run if they are inside the windows folders
which I cant change
 
4:59 PM
Considering I once made a website for the school (unblocked IP server) with a small Html site, that contained a bunch of flash games
They wouldnt dare listen to me tbh
 

« first day (3155 days earlier)      last day (1799 days later) »