« first day (2322 days earlier)      last day (2642 days later) » 

3:00 PM
-1
A: How to simplify this (if statement) Java code?

YCF_LYou can use this : return checkStation(view, i, j) !=null ? checkStation(view, i, j) : null;

 
OMG he tries again
-1
A: How to simplify this (if statement) Java code?

YCF_LYou can use this : return checkStation(view, i, j) !=null ? checkStation(view, i, j) : null;

 
lol
 
I'm really "laughing out loud"
 
that was a hella quick -5
 
how can he have 4k rep :(
 
3:01 PM
persistence
 
hey, I have 12K
anythings possible
 
we all have our moments
 
hahaha
then he closes it
 
amazing
 
I had < 8k rep when I stopped answering questions. Now I have 11k
 
3:03 PM
I pretty much stopped when I hit 20K
 
he probably closed it because of loosing rep
poor d00d
 
Coffee + Milk + Honey = mmmm
 
@KendallFrey that was 15k for me
 
I still answer, but very unfrequently
I usually give up after reading a few stupid questions. Or ones that I already saw too often.
 
I wouldn't mind the 20k privs.
 
3:05 PM
// Create an object
var foo = {};

// Point a key value to the object itself
foo.bar = foo;

// The `foo` object just became a circular one:
foo.bar.bar.bar.bar
// → foo
 
but I dunno if I wanna play the game to ge there
 
@p0k8_ true, but to what purpose?
 
@rlemon try looking at tags of things you're just learning. It's more fun
 
@p0k8_ is there a question coming? or are you just observing circular referencing?
 
let's have question and answer
i want to play game
 
3:06 PM
window.window.window.window.window.window.window.window.window.window.window.window.window.window === window; // true
 
@p0k8_ window.window.window === window
 
lol
 
damn, i lost.
 
haha
does anyone do graphql here
 
I snort 3 jQuerys a day
2
 
3:08 PM
hey guys, anyone from graphql-js
 
We heard you.
 
but i didn't spoke
 
@rlemon jesus
 
I have text to speech enabled.
 
that's too much!
 
3:10 PM
@rlemon How are you still alive?!
 
@rlemon haha
 
@Loktar it's getting better. I used to melt down MooTools and inject between the toes.
 
you need to see a specialist
I suggest a js fanboy who doesn't believe in anything but vanilla
 
WordPress killed my friend. I won't touch the stuff.
 
I tried sizzle once.
 
3:11 PM
Me to Siri: Hey Siri Call mine Girlfriend


Guys Guess?? what siri replied me back? GUESS
 
no
 
@p0k8_ What girlfriend?
 
nope
guess once
 
once
 
I did a short stint with scriptaculous fortunately didn't get hooked
 
3:11 PM
once again
 
that's asking a little bit much don't you think?
 
@Loktar That's like a gateway drug
 
okay, Siri replied: Which One
 
OHHAHAHAHAHAHAHAHAHAHAHAHAHA
you player you!
 
Nah, she didn't
 
3:12 PM
jesus I'm on the floor over here
 
ooold
 
Same Did mine friend Too

Guess?? what Siri replied??
 
Why do you Randomly capitalize Letters?
 
Jaden Case
 
@BenFortune happens sometime, you know
 
3:14 PM
he inhaled too much C#
 
hey guys anyone football lovers here
 
and it had side effects
that's why haskell is the safest
 
this room is so odd at times
 
what even
 
I don't even
 
3:22 PM
In terms of acessibility is it ok to have <tr> <th scope="col"> CONTENT </th> </tr>
 
uhm... yes?
 
Uh, shouldn't that be the norm?
In a <thead> obviously
 
yes, but most doesn't
 
Wait, are you talking about the scope?
 
I was talking about having a th inside a tr
what's confusing me now is the headers thing
 
3:28 PM
Ah okay. Scope is deprecated btw
 
Wait, I'm confused. One article telling me it's unsupported with HTML5, mdn says otherwise.
Ignore me
 
you're right. what I need is to identify the headers... since I'm rendering with react and using the array.map can I rely on the index of the iterations?
I'm confused myself. I thought I didn't need <th> because I already have a <thead> section. But it seems the thead does nothing but be helpful in pagination.
 
@Thaenor if you scroll further you see examples with thead
it's actually optional, but brings structure in your table
 
the w3 doc?
 
3:31 PM
yes (s 11.2.3)
 
that's 1.0 from the year 2000
2.0 from 2008
or not..
 
Just use react-paginate
 
@rlemon react-paginate?
 
are we in the "just use React" stage now?
 
react is love
 
3:39 PM
react is life
 
react is the web blender
 
one of us, one of us
 
html, js, css... now you write everything inside js
 
@Loktar fine, if our god says this, I'll have to start using it I guess
 
this is cool and I'll probably need it later... but what does it have to do with tables and accessibility?
 
14 mins ago, by Thaenor
I'm confused myself. I thought I didn't need <th> because I already have a <thead> section. But it seems the thead does nothing but be helpful in pagination.
so I was off-topic suggesting a pagination library I've used
 
ahh.. that.
 
0
Q: translate hexadecimal color code to visible color

Craig WangI have a hexadecimal color code: #FF5733 but I don't know what exact color it is. Can anyone tell me what this color is? It would be the best if you can post an image to show this color!

LOL
 
and the answers are flowing in... jesus
 
3:52 PM
That gif does not do it justice, my console was triggered i.imgur.com/I3Xw17f.gifv
 
so my masters told me forget all that noise and just use arias
aria-label
aria-descrivedby and all that racket
 
ARIA isn't so widely supported
had a SO post about that yesterday
oddly enough, there is no good support chart out there, unless they're aged ...
but aged = not good... so it's ...
* ping *
 
@GNi33 lmao
you should check it out though, it's pretty fun honestly
 
yeah, I absolutely have to
I'm pretty much doing 95% PHP now at work, and Java when I have a little free time, so I don't get to touch JS that much these days
 
damn crazy
I havent touched php or anything in so long, I probably should start branching out again
 
4:04 PM
how would I test my react code for acessibility? I only have it on a pen...
 
make a blind person use it?
i don't know
 
lol on a pen?
 
there is a site with tools for that
found this as bookmark: w3.org/WAI/ER/tools
named it as "online disaster access test" lol
 
@GNi33 :(
@Thaenor did you like... etch it into the side?
 
@rlemon what?
 
4:14 PM
@SterlingArcher do you like the band Code Orange?
 
I printed the code in microfilm and attached it the sides of a pen
(for clarity sake I meant (code)pen)
 
ah
 
fiddles and pens.
 
4:33 PM
fiddle makes more sense, pen is sort of weird imo
I mean... fiddle probably makes LESS sense but it's not a word commonly used day to day I guess
 
user2620028
is it just me, or do stock photos make a website look really unprofessional
 
I'm making an alternative: jsviola
 
unprofessional to you, but to most end-users they won't notice
 
user2620028
i just look at a website that uses stock photos and think; ahh they don't care enough to even have content. Just throw random unrelated images onto their website and its finished.
 
question: Acessibility = aria ?
Area aria label things all there is to accessibility in the web?
 
user2620028
 
@Luggage Sterling will use the hell out of that
> everybody, look at my VIOLA
 
speaking of react.
I'm making a dumb component. It received everything via props. It' a table (who would've guessed). I can't predict everything single prop that can be passed down (classNames, width, colspan...). How should I handle those if the person that uses my component passes them down (as props)?
must I check for each of the attributes and apply a colspan if such was passed?
Or is there a way to tell react to still take in the typical HTML attributes for the component.
 
viola means rape in spanish
so, it's the rape meme
 
@Neoares it also means "guitar"
a type of guitar at least.
 
more like a type of violin
 
4:52 PM
 
dafuq is that
 
in C#, yesterday, by Caprica Six
@mikeTheLiar viola (music) A stringed instrument of the violin family, somewhat larger than a violin, played under the chin, and having a deeper tone
 
please
 
fuck angular
 
it's like the violoncello
 
4:53 PM
It's not officially named like that, but most people generalize and call it "viola" although @Neoares is right, it's a sort of violin
 
<article ng-repeat="article in blog.getList()">: how do I stop angualrJS from calling the getList() method on each iteration ?
 
bassier than a violin I think
 
@Thaenor that's an acoustic guitar :/
 
So I am making a site on which users will be able to upload their own content, this content is then for the most part public. Is there any thing I could put in the Ts & Cs that would mean any content that would be illegal to stream (e.g. a torrented movie) would be the responsibility of the uploader?
 
@MichaelLonghurst 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.
 
4:54 PM
@Neoares I think in Spain and Portugal, some people wrongly call it "viola".
 
In the violin family, the viola is longer and more low-tuned than the violin, but shorter and higher-tuned than the cello
@Thaenor In Spanish a guitar is called "guitarra"
Spanish for "viola" is (surprise) "viola"
There's also another instrument "between" the viola and cello named the violotta, I think it's an octave below the violin
But nobody plays the violotta
Fun fact: Every member of the violin family has a counterpart in the mandolin family. So:
Violin - Mandolin
Viola - Mandola
Cello - Mandocello
 
> Neil deGrasse Tyson: If I understand what you just declared, you just asserted that CERN, the European Center for Nuclear Research, disproved the existence of ghosts.
> Brian Cox: Yes.
 
whooshes out
 
dumb question: child processes will be forced to close when the parent that spawns them is closed, right? And that includes if the parent was killed via SIGTERM (control-c)?
 
4:59 PM
@corvid That's actually a very very good question and it's a bit hard to answer
 
@KendallFrey I don't know why, but that disappointed me a little bit
 
Think about it this way: If you have child processes but you got brutally murdered and didn't get to tell them they need to die as well, how will they know?
 
@Zirak true, but I would think not destroying those processes would lead to a noticeable memory leak
 
And a normal signal call only calls a single pid.
On top of that, (at least on linux) if a process' parent doesn't read its exit code, the kernel won't clear that pid
On top of that, if a process is killed and its children are alive, they're "orphaned" and adopted by pid 1
 
I wanted to open outlook mobile form android browser, I am able to open outlook from iOS using below url scheme, but the same is not working in android. Can someone help please?
ms-outlook://compose?to=example@email.com&subject=Subject&body=Message
 
5:01 PM
@corvid Most processes die a graceful death
 
@Paks what if someone doesn't use outlook?
 
we have one ldap group to identify user with outlook installed
@GNi33 if the user don't have outlook installed we will use 'mailto' protocol
 
ah, alright, so it's an intranet page?
 
@GNi33 no, it's an internet facing, enterprise application
 
This might be the most incredible soup I've ever had
Chicken tortilla soup
 
5:27 PM
@SterlingArcher but does it have goldfish
 
no it has cheese
 
What's this?
 
This room was placed in timeout for 5 seconds; lul
Neat
 
6:07 PM
Hi
 
woa! ROs can timeout
nice
 
Anyone know if there is a shim for running react projects in IE9? I've was testing on Chrome but running on Edge or IE looks dunked up
 
jQuery
 
Is there a common thing to add for running in IE? Never done this before
 
Can we put the channel on timeout if people start talking about Haskell? :)
 
6:19 PM
That would be a side effect, and those aren't allowed.
 
@BrianJ what's wrong in IE? errors in the console?
if it works but just looks broken, then it's probably normal html/css issues, not react.
 
@Luggage the problem with the timeouts are that ROs can still talk
and a lot of the time in this room it is the ROs who need a timeout :D
 
really? that sucks
 
^ like right there.
 
yes I tested with cap in the sandbox
 
6:23 PM
that's easy though
just de owner someone and timeout right?
:p
 
non-ro accounts see this:
ro accounts see business as usual
 
hah that's awesome
 
@Loktar That's not feasible if there are 5 people yelling
 
@KendallFrey lol yeah we shouldn't do that anyway
that would just start more issues haha
 
timeout should timeout everyone
including the person who made it
 
6:24 PM
No, you shut up! :)
 
Anyone here knows about p5.js?
 
@MasterYushi 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.
 
"You have a merge conflict in yarn.lock". Open yarn.lock, "Do not edit this file" :|
 
Is there a way to report a user? This guy: stackoverflow.com/users/213926/h-ferrence keeps posting basically the same question and when he doesn't like the answer he seems to just open a new one.
 
close them as dupes of the others
or flag for moderator one of his questions
 
6:35 PM
will do. just don't want him to keep opening them because it gets to my email.
 
otherwise you wouldn't care? lol
 
> jQuery does not work with bootstrap-slider. Tried and tried and tried and I keep hitting brick walls. JavaScript has been the only way I can use this plugin to retrieve values and attributes.
so misguided
 
no, I would care, but it's especially annoying because of that reason.
yes, the dude clearly is having troubles, but he's not very clear on anything and he doesn't seem to know JS very well, which is probably not helping.
 
@Seiyria formatting options are a bliss
 
I can't see deleted questions, but stackoverflow.com/questions/42423449/…
his comment is something along the lines of "it's helpful to know that { formatter } is not the solution and that I should use javascript instead"
 
6:41 PM
@Seiyria if you right click your slider and use the context menu, it gets stuck in a mouse-down like state.
 
I believe it. I don't particularly care, I haven't written code for it in quite some time, I just manage the issue tracker nowadays.
 
Can you recommend any cool not very complicated JS framework to learn? Not JQuery.
 
good, because jQuery isn't a framework
express is pretty simple if you want something for the backend
for the frontend... idk. knockout?
 
I use angular 2. lots of people praise vue for some reason, so that might be worth checking out
 
6:44 PM
I don't know angular. and I know angular 1 was smelly. so I don't recommend it
 
yeah. angular1 was pretty gross looking back
 
I like React + things, but React isn't a framework
 
The world's only piece of metal that could revolutionise the planet has mysteriously disappeared http://www.independent.co.uk/news/science/metallic-hydrogen-disappears-technology-revolutions-superconductor-faster-computers-super-efficient-a7593481.html
 
Anyone heard about the new AMD processors?
 
@KendallFrey ouch
 
6:47 PM
> "scientists lose a few atoms of hydrogen that they had stacked in a funny shape"
 
> It might also mean that metallic hydrogen is unstable and turns into a gas when it is at room temperature and normal pressure, in what would be a major setback for any hopes of a new wonder material.
that would be my assumption
 
yea we've discussed the ryzen chips a couple times already
consensus: yay AMD is back. too bad I have a perfectly fine Intel setup
 
will the i7 equivalent will be much cheaper than it?
 
@rlemon Why?
 
6:52 PM
@KendallFrey because unless I misunderstood how the discovery was made, it wasn't proven meta-stable was it? It was kept under pressure
Remove the container, can't see the metal... It's just my natural suspicion
 
It wasn't tested, so they don't know for sure
 
@Luggage I didn't check console before I left..but noticed the prompt for Windows auth didn't show..that is needed in order to retrieve the users by name. Without that the rest of the WS calls fail
But yeah need to look at console in morning
Looks fine besides
 
I'm kinda impressed
that is one helluva launch
 
does anyone here use create-react-app? What purpose does it serve?
 
it's pointless
don't bother
 
7:03 PM
I just don't really get it. I get presented them with a lot and have to eject the config then make my own
 
@corvid if you're lucky enough to find a project that meets your needs exactly, they can be useful
 
user2620028
@rlemon is that a couch?!
 
yup
 
user2620028
wow
 
user2620028
that is really impressive lol
 
7:09 PM
prob more than one person throwing it
from my limited throwing couches through windows experience
 
I mean, there is someone randomly filming the window
it was clearly setup
but even with a couple dudes, that still a helluva toss
 
user2620028
i would almost think they had it on rollers or something
 
rockets
 
user2620028
hahaha
 
probably single pane window
 
user2620028
7:13 PM
someone spent a month engineering to get some wicked distance from this couch gag
 
speaking of rockets. @KendallFrey I started a space station around Minmus. the core + lifter is 10000 tons
 
off camera, someone died by couch
 
how long does it usually take for your badges to get updated?
 
user2620028
you can see someone peer through the window next to the one they through the couch out of right before the gif loops
 
@NathanJones I don't really like it :\ I never like it when libraries try to add so many layers of abstraction that you don't even really have a handle on what they're doing in the first place (cough meteor)
 
7:18 PM
off topic, I'm coming up on 2 years exp in my job with C# and SQL mostly and last 6 months React.js and Restful services. What kind of job would you aim for?

I definitely like the web dev and some of the mobile that I done so thinking of staying in that direction.

Most common jobs I see are general SQL/ .Net Junior dev and Junior Full stack Node.js developer.

Would you advise one over the other or what to look for when changing job?
 
not that I will change yet keeping options open
 
@SterlingArcher I call shinanigans
 
I guess what the company does really helps in satisfaction too.
 
7:19 PM
a) filming it
b) pants on
c) toilet seat is down
 
@SterlingArcher I'm going to need a background on this one i.imgur.com/KwXajhi.mp4
 
yeah i'm conducting a full investigation
 
7:34 PM
OMFG
nasttyyy
eh maybe nsfw idk
from Sterlings list
 
imagine that's someones head
or ass
dat damage
 
> that gel represents my asshole after mexican food
 
lmao
even the smoke fart
 
7:51 PM
@KendallFrey imgur.com/gallery/HNlt3 :D
 

« first day (2322 days earlier)      last day (2642 days later) »