« first day (3260 days earlier)      last day (1911 days later) » 
01:00 - 13:0013:00 - 00:00

user11867329
01:15
also
user11867329
maybe spider
02:56
how would i subract from a list containing numbers from the top down?
ex: listA = {10, 10, 10}, var numbertoSub = 25
listA = {5}
numbertoSub = 15
listA = {5, 10}
 
3 hours later…
user11867329
05:46
Shower me in goald
07:32
@KevinB Yvette (Colomb) is just too emotionally attached to StackOverflow. Which is not good for her own (imo)
Already told before (in another room) that she has to keep distance and pulling the woman card is just not productive at all. (frankly she should not have done it)
07:45
What I miss?
she wrote a meta post that she's angry of the "shit talk" that happens on social network against her moderation actions
loooooooool
Why the fuck does she always have to bring gender into things.
SO isn't shit because there are no women, it's shit because of the vamps, the fucking terrible quality control and the awful moderation
because it's a easy scapegoat for bad things that happen
if you're constantly reminded that you're a minority in this field, it tends to come to mind often when problems arise
Though, to be fair, she can also be right sometimes
08:14
hello
do you guys see in there something that deals with caching or realoads state for when the browser closes?
line 173
maybe
i'm just doing keyword searches
lol what
sorry not java
<link href="https://fonts.gstatic.com" rel="preconnect" crossOrigin="anonymous" />
<link
rel='stylesheet'
href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap'
/>
How can I use preconnect to load google fonts?
the first one doesn't specify any font to be loaded
08:29
Have you tried writing that exact question into Google?
@BenFortune yes and I got this
that uses
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
So you clicked the first link and gave up?
Do some research.
no font specified
this uses the same
material UI docs uses the same
      <link href='https://fonts.gstatic.com' rel='preconnect' crossOrigin='anonymous' />
      <link
        rel='stylesheet'
        href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap'
      />
should I add them both like that?
Try it
i am asking you
since I don't know
08:44
And I'm saying try it
if you don't know just say it
How about you stop vamping and actually do something for yourself?
I already know I need to try and do research, and that's what I do everyday all day
I do everything by myself
nobody ever does something for me
we are not verification tools. He asked you to try it. You ask us if you should add both (those two link elements).
You're in here vamping almost every day. You'll learn much more if you actually tried it, instead of asking "will this work"?
08:49
that is not productive. There are many possible issues with that. We are not there where you sit.
We can't tell you if it will work or not, yes it might. Try it first, if it doesn't work, do some research. If you can't help yourself, then you can ask for help.
@ben how come that you always assume that I never do this part of your message:
Try it first, if it doesn't work, do some research.
Because most of your questions are "will this work"?
this last one was, but I wouldn't say most are. Last day I asked about caching of pages and where do the pages go and how can load the correct state
thing is, we do not know your environment. How would we know that it would work unless you try it?
it might work. Or not. If we say it does and you try it and see it does not. So that may make us liars?
that is why we can give pointers or suggest but the verification that it works has to be done by you
09:03
!!> 045
@AbhishekPandey 37
But even if most were, asking "should I put them both" (and not will this work) could also be the result of 2 days of experiemnts, and for confirmation asking to other experts
such is life
@AbhishekPandey testing octals?
@KarelG I can agree in a general sense, but isn't this case very brodly applicable?
09:05
@Aurelius That's not the point, the point is you didn't try it
Because you'd know the answer and wouldn't have to ask the question
I mean all html pages are the same you can use them in any environment and loading a font doesn't need to have great setup
@BenFortune okay so you have some camera in my room and can see what I did or not?
@KarelG is this octals? gosh I was thinking why this thing is happening
What if I tryed and also looked at the network request waterfall but didn't understand?
js interprets 0## as an octal, so 010 is 8, 011 is 9 ect
@Aurelius I have been in yours shoes as well. I did not understood it either. But I did not ask around on places like here. I consulted the docs or even read something like this to comprehend it.
or ask a colleague/teacher/someone that you interact with physically
that is what being an IT dev means: reading, comprehending, using tools to write code.
I understand the first one but I'm confused why the second one
nevermind you don't need to give a reason
09:15
@StephanS I just grouped both. The second one is not a big problem tho. It just does not add to the atmosphere.
that's fair
I have a junior like Aurelius in my team, he always asks me will it work, what is an error
I always say, ask your compiler
and when he get the answer, he jumps in the air, that I did itt
that feeling is amazing and you'll never forget it when you'll learn it by yourself
09:51
Hey,
How would you write this shorten?
this.galleryId = JSON.parse(Cookies.get('p')).gallery_id ? JSON.parse(Cookies.get('p')).gallery_id : null
where do i learn the very basics
off webdev
of*
<link href="https://fonts.gstatic.com" rel="preconnect" crossOrigin="anonymous" />
rel="preconnect"
i've never come across such stuff
I dont get your question
@Baldráni that does not make any sense
09:55
I've founded :)
use a function
1253
Q: Is there a "null coalescing" operator in JavaScript?

Daniel SchafferIs there a null coalescing operator in Javascript? For example, in C#, I can do this: String someString = null; var whatIWant = someString ?? "Cookies!"; The best approximation I can figure out for Javascript is using the conditional operator: var someString = null; var whatIWant = someStrin...

or IIFE
this.galleryId = JSON.parse(Cookies.get('p')).gallery_id || null
This is what I was looking for
Somehow I've never seen that before :o I'm a big fan 😬
I was used to ?? in jsx
do you know what happens if that gallery_id is 0 ?
09:57
Well that would not happen but no
(Actually I was reading it in the SO post ^^)
Yes well it is consider false :shrug:
Cornercase
But true, nice pointing out :)
just do this.galleryId = JSON.parse(Cookies.get('p')).gallery_id;
Yeah I was thinking this haha
Still :
undefined === null
false
undefined == null
true
i want to write some actual js..not just call webservices and display in html
any project suggestions
@Baldráni because null is an object
@Baldráni it is defined in the specs
i believe step 3
yup.
1. If Type(x) is the same as Type(y), then do x === y
2. If x is null and y is undefined, return true.
3. If x is undefined and y is null, return true. <----- yours case
step 3 is the other way: undefined == null
10:24
@Dwigh just figure out what you like to do. Having a browser based paint tool?
or doing some userscripting that you might think it would be useful for you?
Hey can someone help me with a small error i'm facing?
@zadders 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.
welcome to the javascript chat!
@zadders sure, just post the error and the relevant code snippet
mornings
simple Q/A
i need a littel help implementing a simple loop ,
So i have the foreach array as item i create one tr,td,td,tr
inside the td i have "Partname", "Serialnumber"and "unit's"

So if i have "partnumber = XPTO" and "units = 2 " i have to insert 2 Serials, so i need 2 inputs(one more row) right?
sorry for asking this here, sense php can't help
and now I've found another solution to yesterday's problem = user manual reload
10:46
Hello,
Can somebody help me with regex in JS?
When I test it regex101.com it works, but when I add it to my JS code it won't work.
@DaAmidza ok, pass a link
I'll take a look
@Neil sorry it's just me being retared and not seeing that I can change the flavour to ECMASCRIPT for regex....

All good thanks for the offer to help
I did nothing, but you're welcome just the same :)
@NoobDEV-GBL uhm what?
try to read that while you don't know about other things or the things you are working on. Would you know what the text is "saying"?
what text?
11:00
that what you wrote?
I even think I explained my question well, don't you think?
time to smook breack, brb
11:31
Morning randoms
Half day today, kinda sucky, being forced to write fractor equations from Points in homeroom
Oof is everyone AFK this morning?
Guess im lonely ;-;
and so you're using you're smartphone in class?
do your homework!
@Neil doing homework while beign a class?
🤨
classwork then
buddy... what??
lol niel you never heard of using the schools pc's XD
A lot of schools use Laptops for each student now
It jsut so happens they dont block SO
Is there a way (maybe JavaScript doc) to document the required template of an array orobject. For example, an array must have a length of 5, all integers. Or an Object must have "A","B"... as keys.
11:44
using SO and <a> tags I can glitch into other blocked sites
like github, imgur
Stackoverflow kindof grants other sites temporary access, its very strange.
^ no
It does that for our school browser
Im assuming its a bug with ZScaler
Eh, just crappy school software, its never stable
FFS their network settings arent even disabled, so I can change the school wifi password if I wanted
back in the day there was a single computer with internet access, and it was in the library
Our gradeschools only had 1 computer room
once 6th grade came around, we all got chromebooks
It was the beginning of the internet, so nobody thought to employ checks or anything
12:00
eh neil; there are "tablet" schools now
no books and ect. All on tablet.
now they complain that people's handwriting is horrible. Duh.
meanwhile in italy, the parents have to fork over money to schools to pay for toilet paper, books, etc.
government doesn't pay these things anymore
Any of you have experience with react.js? just has a small problem im facing
react? psh, I wish...
ahh fair enough
well, last time i was in scoll we didnt get laptops ... guess here is difrent
12:08
Last time? how old are you? I mean the PC things only started appearing about 3 or 4 years ago
@KarelG truth
I started getting laptops back in 6th grade :3
highschool nowadays
i'm 29, stop scholl at 21
yeah your a bit late for the computers lol ^_^
tbh he did not.
it was just pricey to have a portable computer
12:11
at that time pcs only on the library
Maybe you should go back and learn how to spell 😂
!!welcome zadders
@zadders 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.
Ben, I don't speak or normally write English, so my problem with writing
@BenFortune for exemple if you try to speack in PT-PT maby you will have the same problems
No doubt
@BenFortune thank you for understanding
12:14
@NoobDEV-GBL It was a joke, don't take it too personally
My wife is Italian, and whenever I make a mistake, she'll stop me mid-sentence.. drives me up a wall
@BenFortune not relly, i just explain the probleme, and is true what you say and i know that
still though, I try to accept the criticism
I dont blame him, to foreigners, english is like a crazy language of hippies (Atleast thats how people from china see us americans)
12:17
burp
well
I'm almost lunch time
thank god
I saw Undone on prime video
it is really well-written
@NoobDEV-GBL I am not an native English speaker, but I do my best to use it correctly. It happens that I make linguistic mistakes (a different thing than typographical errors). You can do the same if you want. We are not going to be a grammar nazi, but if you are writing less understandable sentences, don't be surprised that people is either skipping yours comment or not even taking time to decipher what you wrote.
@KarelG you are right, and i'm sorry, i will do my best to get better
@Neil check HBO's Chernobyl if you have a means to view HBO series.
12:28
I intend to create padding fields based on a value of one variable, but the fields are created within a loop, should I check the values ​​of the variable before or during the creation of the fields?
@KarelG You mean the mini series they did on Chernobyl? I think I've seen it
Fantastic show
Not great, not terrible
@KarelG chernobyl was dope
could be better but almost all role acting was right on the spot
reminded me to "The Death of Stalin" tho.
whoosh
12:33
lunch time \O/
I wish one of you had seen undone though :P
I kinda wanted to talk about the ending
But I also won't spoil it for anyone who's interested
is nice
I get a half day today
still animated
leaving school at 11am
12:37
better if was real people
Its also been the strangest day...
@NoobDEV-GBL It's not animated
I mean it is, but it was filmed, and then drawn over afterwards
just this morning, I sat at the bus stop, and some van full of hippies and highschoolers stopped and some 16 year old (I think) said "Hey guys what yall doin this morning"

and then she said we could ride with her to the highschool, and 2 of the kids just said "Dope" and agreed to get in a stranger's minivan
Frickin wierd today lol
it's more of an artistic styling, but they used real actors
@TaylorSpark did the 2 kids arrive?
I did see both kids in class this morning, so I know they werent kidnapped
12:39
you should ask them where the vampire bite marks are
that's just weird
i think it woud be better not being draw
I say hippies because I saw curly haired dudes in teh back with sunglasses, they talked like those "Surfer Dudes" in the movies
Sungalsses at 5 am, in the pitch dark
:LLL
that's kid's style now a days
I guess everyone has their own opinion of eyeware
sunglasses on the darck
12:41
William Painters, baby
Yeah up here in NC, we head to highschool at like 5 am, so Its always dark and cold, plus I live in the far back of the neighborhood, so I have to walk like 10 blocks
actually I have no idea, they may suck, but they make a good argument for not buying sunglasses made from plastic
plus bottle cap openers built-in
William Painters classic style habe a open bears incorporeted xD
William Painter - The Hook Titanium Polarized 'Classic' Sunglasses
@TaylorSpark I grew up in SC
12:42
what I find even more commonly then beer opening sunglasses:

Donald Trump fridge magnet, with yelling mouth as a beer bottle opener
strangely people can actually do nice things there and not expect anything in return
it's weird
we also have one of those fridge magnets.
Permanent embodiment of yelling politician stuck to our fridge ^_^
THE HOOK $225.00 USD $195.00 USD WTF O.O
OMFG =.=
12:47
??
Wut???
...
OkAY.
@Neil South-Carolina?
or just an abbreviation for a city name?
He meant SC
we were talking about Carolinas lol
So yes, probably South carolina
01:00 - 13:0013:00 - 00:00

« first day (3260 days earlier)      last day (1911 days later) »