« first day (2140 days earlier)      last day (3033 days later) » 

20:00
are you doing papers?
No
Just writing something up for work
Darn well you probably have to use latex then
Are you talking about the wolfram alpha thing?
What do you think is the best way to find object that contain a specific id within an array of his attributes like this [0: 11, 1: 47, 2: 51, 3: 22], with lodash/underscore ? A bit lost ^^
Yes mathematica by wolfram alpha. It works well for math equations and allows you to run programs inside. Corporate/businesses licenses aren't cheap and probably not worth it if you are writing up few papers.
It isn't for everybody
20:05
I'd love to have mathmatica, but I would rarely use it and can't justify the cost
@AllanRaquin So [11, 47, 51, 22]? Or are you using an object with integer keys for some reason
@AllanRaquin this is an array
user1596138
@ssube you see the LG V20 news
user1596138
Second screen is staying
guys. How to make webpack generate an css from scss
because it just generates js which injects css in runtime
20:07
example code?
And I simply want to have a .css file
@Meredith Yes you right, I don't know why a copy the index like a dumb ^^
that shouldn't be the default behaviro
@AllanRaquin So what do you want to do?
Just search it?
@teivaz show me your loader line or your require(), pelase
ok, that's why. You are using style-loader. It injects a <style> tag.
20:09
1 message moved to Trash can
@teivaz Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
what would oyu like to happen? a file in the output folder?
Yes
then replace 'style' with 'file'
awww, @CapricaSix
then your require() will return the pathname of the output file
20:11
ok, now it generates [hash].scss
which is actually a js =)
is that what you want? or plain css?
plain css
[name].css
i was referring to the contents, not the name
yes, both
i think a hash is better, so you can cache
20:13
probably you're right, but at the moment I want to figure out how to do that
well, the file-loader lets you set a name
What about content?
or you can set it in the output section of webpack.config
I thought this would output raw css.. you might need raw-loader, checking
@Meredith I want to retreive models that contain a specific value in his array attribute with lodash. But I can't find the way to make if properly with lodash/underscore
Just filter it?
I'm not sure what you're asking
Imagine a world where latex was chosen as the language for hypertext documents
20:20
christ it is nasty out
@KendallFrey hit you yet?
let me check
@teivaz so.. the css behavior in webpack is odd, but you can fix it. github.com/webpack/extract-text-webpack-plugin
we just got like 2 inches of rain in like 15 minutes
see the bottom example.
shits floating down the roat
20:21
ok
@teivaz actually, I like the css behavior, i use the style-loader, but.. i see how others migh want a .css file.
It's a beautiful, slightly overcast day here
@Luggage Thanks, I'll make somthing out of it
@Luggage Thank you! It worked
egg salad
what avatar do you guys see for me?
20:32
grey circle
fuck it won't change
did you change the one on SO?
it's still that too
Oh it's earth
yes it won't change
20:33
@William Give it at least a day
who uses decorators?
yeah its earth not the moon
yeah, it takes about 5hrs to change
do you use gravitar? because that'd probably change faster.
@KevinB yes I changed both stackoverflow and gravatar
20:43
if... you had stackoverflow using gravatar you wouldn't have had to change stackoverflow, is what i meant
Hey, guys! I am trying to figure out what js files should I have in this codepen.io/StepUp/pen/XKLxvk
lol you work for Google?
uhmm... the ones required by the modules you're using?
> Copyright 2016 Google Inc
does anybody know how can get tag "<md-button class="md-primary md-raised edgePadding" ng-click="openFromLeft()">"?
20:44
(it's material design)
no, I do not work for Google:)
ooops
so I cannot use this code?
I was going to say Google really lowered there qualifications for employment
I am learning promises, I expected this to print "1 2", but it only prints "1".
`new Promise(() => console.log('1')).then(() => console.log('2'));`
well...
if you never resolve it... the then callback will never be called.
> there
20:46
i think i see
KevinB, no I just would like to create a modal dialog. And I just copid these code. However, I cannot see any modal dialog
@Qcom are you the grammar police or a grammar nazi
@KevinB, no I just would like to create a modal dialog. And I just copid these code. However, I cannot see any modal dialog
@William just thought it was funny in context
@rlemon the way it handles comments or "annotations" actually looks pretty sweet
20:48
@KevinB - thanks! This works: new Promise((resolve) => { console.log('1'); resolve(); }).then(() => console.log('2'));
@William Generally speaking, questions end in a question mark.
you are the grammar police or a gramar nazi?
Welp, I passed my certification
I'm so qualified
Your w3schools php certification?
20:55
lol
ScrumAlliance CSM Certification
@William don't deface posts with useless edits
not even funny dude
just stupid
@rlemon it is runnable now
the <!DoCtYpE hTmL> was silly
and the ending script tags are a problem. let the answers address them
or comments
don't deface the post
that's fair although his intent was pretty clear with the script tags
let him correct it if it is a typo
don't make assumptions about OPs code for OP
21:00
does anyone know how this was done?
Blob, I believe
explain more
@William html is in the metadata of the jpeg
@SterlingArcher Nah
^
@bitten how do i do the same thing with my own image
21:03
Browser interprets it as HTML with the jpeg data in a comment when viewed as a webpage
And interprets it as an image with some HTML as metadata when viewed as an embedded image.
@William start with ÿØÿàJFIF,,ÿþr :p
Check out the source of his page
yes but wouldn't the actual content be a lot different being different images
browsers are soo kind when parsing html, so it ignores the raw image data that is actually defining the metadata (i think, i'm not sure exactly what ÿØÿàJFIF,,ÿþr stands for / means)
sometimes ÿØÿàJFIF,,ÿþr encodes the image size to or something else
I don't think such would be an acceptable question for stackovenflow
but I would give bounty for an answer how to reproduce
21:05
@William iirc there was a reddit thread on it last week
yes and news.ycombinator.com but nobody explained that I could find
send that guy some money and ask him to tell you
@Luggage I did that exactly and he never rresponded
haha, sucker :)
Its been like a week
21:07
try sending more money
maybe try and send it to me?
who knows
:p
worth a try
I want a partial explanation before I send random money places
bitcoin is safe refundable way right?
yea, but only if you send them all
easier to reverse
@William it's a comment in the metadata
21:12
@bitten so how do I repeat the same thing then?
imgur should totally start doing such
write some html in a metadata field
I hate it when people do that
lol
Show an HTML page when I expect an image
but if they did it this way then you could still embed the imgs without any problems
21:14
When I click "open image in a new tab" I expect a dang image, that I can download, or share.
Not some HTML page that's usually filled with ads.
click "save image as"
@William I usually share the link
then dump out the raw data
i'm going
Else my Downloads folder would be filled with lots of "Ha! and forget" images.
but this will help:
scroll down to the metadata
look at the "comment" field
bye!
21:15
that helps thank you a little
@bitten I've finally made everything running. Works like a charm
21:37
@rlemon yeah looks alright
0
Q: 'smth' is already declared in the upper scope

user348173I am using some starter kit for angular. There are webpack, eslint and other useful things. But, I don't understand how to works with dependency. I have the following code: import angular from 'angular'; import routing from './app.config'; import auth0 from 'auth0-js'; import jwtHelper from 'a...

Weird..^ isn't it?
@Loktar o/
@ndugger you never got back to me :P
Went to first company offsite and got the name "ElIndioLoco"
so it's semi flooding here right now
got this on my way home
that looks like a little bit more than semi-flooding
21:45
@rlemon that drone thing is sweet aye - they came into our office last year
@KevinB not everywhere
20-30% of the roads are under water right now
low areas of the city
kinda like flooding down here, it never floods everywhere, just at the bottom of the hills. nothing but ravines down here
got about a foot of rain in like 30 minutes
and it looks like we're getting more later
I'm glad I put overflow pipes from my pond. that shit is like half an inch from overflowing
(if it overflows plants + turtles could potentially get out)
ooooh you have that voice
would have thought it'd be much deeper
also, fuck 0.o
@rlemon woah damn dude
21:52
It was sprinkling when I was driving
suck it lemon
> banks? pft, those don't mean shit
for reference, this is what that stream normally looks like
about 4 inches deep
@rlemon is that the worse it has ever gotten?
recently yea
this isn't the worst.
plus we're coming off a couple of heat waves / dry spells
so the water is nice, but holy crap you couldn't have spread it out over the past month?
woooow
what's the cause?
very hot humid weather
21:59
yes in NY
Give me an hour and I'll post a picture of the river by my house. I'm busy right now
humidity this summer seems to be average like 70-80%
it's brutal
makes breathing hard
that's crazy
it's soo humid here too, more than usual
inside is not an issue ofc.
I'm talking outside
22:00
global warming? or what are the meteorologists saying?
climate change man, helluvuh thing
hottest year ever
Is there a way to get all visible elements but ignoring other tags?
I tried
document.body.querySelectorAll('*')).filter((item)=> item.nodeType === 1
but scripts are also included
what do you mean by "visible"
anything that can be rendered
it seems these last 5 years have been a pretty extreme rise
22:02
steal what jQuery does for :visible for your check
haven't seen a frozen lake around my hometown for a looong time
<script> node type is 1 for some strange reason
and filter out the script tags
because a script tag is still a valid element
@teivaz aw good to hear it, sorry i wasn't around to help much
I think script is the only thing I need to filter
22:02
item.tagName !== "script"
as thats usually before the /body
comments also included in old versions of IE fun fact
@William querySelectorAll is 8+
I'm making a real simple rendering engine
wasn't comments -=7
and wasn't that only in HTMLCollections
22:03
yeah like <=7 I think
Humm, can you answer your own bounty question if no other appropriate answer was provided? I think I figured things out myself eventually.
you can try :)
You can, but you of course won't get the bounty, :)
who gets the bounty then?
@William yeah thats what ill do
22:09
@jAndy nobody. To many people were giving themselves the bounty so they changed the rules.
OpherV will get a partial bounty
I'll gladly accept the bounty
unless you give it to him full
since his answer has a score >= 2
I actually would be cool if noone would get the bounty
I just don't like to give the guy any rep while he clearly knows, that his answer is not helping anything
^ yeah that can be annoying
22:12
makes it worse actually. I acknowledge the guys work and stuff, but ... it's just not worth a bit.
only way he wouldn't get it is if he deleted it, or it got downvoted to less than 2 : /
KevinB you really have these rules memorized
indeed :)
no idea why, :p
things like that just stick
There is only two ways out of this, either I ask some of you Folk to downvote that answer.. OR I tell you the (what I think) solution to my actual problem
so some of you can just write that down and get that bounty
22:14
I will accept the bounty sacrificially
500 rep too
weew
you have a lot of rep jAndy
that's the problem, how to find the one
i'm too lazy to post an answer
woah, @KendallFrey 3 killed in a crossbow attack in Scarborough
we don't even use guns anymore.
22:16
I will downvote the current answer
but then again... whatever, shall he receive 250. I'll write an answer to the problem myself and accept that the random answer gets awarded somehow
yes it is
I mean, he did put effort into it at least
yes I acknowledge that too... useless anyways
I downvoted it
does that change anything?
22:19
no
unless --four-- one other people downvote
just 1
now he won't get it
it feels somehow wrong .. but then again.. effort alone should not really get awarded if the solution is no help to the actual problem and the author even says that himself
if it isn't useful... that's kinda what downvotes are for, right?
also kind of awkward, why even post that
well someone just upvoted it
Jay
Jay
22:22
Guys whats wrong with this: pastebin.com/kN2Uhv5m
why have any answer other than the accepted? ohh because they might help others..
@Jay jsfiddle please
@Jay nothing (other than == not being ===)
@rlemon is that related to the bounty question? If so.. it's a little bit different here no?
I mean, if someone posts an answer, which admittedly is not answering the actual problem, you might think someone is trying to get cheap rep
here's the thing.
22:24
especially on a bounty
unless you reward that bounty to someone, your question is about to get a lot of traffic over the next day
that means it is very likely that any answers on it will receive upvotes too.
yea we will see, the solution is actually surprisingly easy aswell
@rlemon Jesus, I know how long it takes to reload a crossbow, and... jesus
Good thing he didn't have a gun, amirite
Jay
Jay
something like this
@William
@Jay do you not see the error message?
Jay
Jay
22:30
it doesn't give an error
sure it does
F12
you didn't een include jquery
dude come on
Jay
Jay
oops. I thought it was because it just doesnt work anyway haha
Once you include jquery and fix the syntax error, check this out: stackoverflow.com/documentation/jquery/389/…
Jay
Jay
thanks alot man I will try this
didn't know that
@ndugger I don't get it
Because you're not a dank memer like @SterlingArcher
can you please explain it
22:42
!!urban dank memes
@William dank meme a meme that is just really radical, cool, and neat.
that helps not at all
I am learning JavaScript it's super fun
HTML is the bread CSS is the icing and JavaScript is...
part of the cake it's just a really good part I can't explain it
That's a terrible analogy. It should be more like: HTML is the cancer, CSS is the HIV, and JavaScript is like a heroin addiction
5
^ yes & node.js is also cancer
22:45
oh
@William no
What makes it equal to HIV, Cancer, and a Heroin addiction? (I'm not knocking, just curious)
he's messing with ya
@William no
22:47
@towc oh lol. It's hard to tell when it's plain text on the internet. I'm always curious :)
html - skeleton (structure)
css - flesh and clothes
js - brain, nervous system and atp things
@towc There we go
HTML is a terrible way to represent graphical components with event based interaction.
CSS is just flaky and terribly tedious to write.
JS is fun to write, but has a ton of flaws, most of which are by design.
Welcome to web development
your avatar is so similar to my current employer's, was sweating for a sec
to be fair I really don't like CSS in general
22:50
they're all beautiful in their own ways :3
@jAndy yes, and no it isn't different when you're suggesting a downvote brigade on someone. He was forward with his intent to offer an alternative solution to the problem asked. Is it worthy of a bounty or accept? maybe not, but should we be asking people to downvote a perfectly good answer? imo, no. not even a little bit
JS is at least a language
@William Jesus, that article is so inaccurate...
@ndugger it is popular though
It's a terrible article
22:51
nodejs is like... anything, but better
though JS was not as good in 2011.
still a shitty argument, though
@Luggage present your argument. There isn't that much better
I'm not even saying that Node is good, but if you're gonna bash it, you might try actually knowing what you're talking about instead of spewing bullshit
@rlemon I didn't ask for that actually, someone just brought up the topic that an answer with 2 or more downvotes wont receive the bounty. So since the topic was actually missed (admittedly) it seemed like an ok-solution. But yea, I also don't feel fine with that too.
you may not have directly asked, but you did suggest it
38 mins ago, by jAndy
There is only two ways out of this, either I ask some of you Folk to downvote that answer.. OR I tell you the (what I think) solution to my actual problem
22:53
and?
ohh shit, he was wearing a wire.
you're screwed.
that was hypothetical obviously
and people took it to heart
dude, shut your mouth and call your lawyer. :)
look at his answer score
22:54
Don't you ever talk to me or my son again
ndugger: cancer
ndugger's son: HIV
well, that is the good ol' "I can't do anything about that" problem. If it was that easy.. doh, I think people should donate me $100 each
ndugger's ndugger: heroin addiction
@jAndy and I am not suggesting you can change it now, I merely made my comment about other answers still being useful then clarified.
!!doge ndugger,heroin,node.js
22:56
    wow
                very ndugger
                          many heroin
such node.js
if you want to discuss how bounties are kinda broken, sure. that shit don't work right.
if you don't get an acceptable answer in the allotted time you should not have to give your bounty to anyone.
maybe not get it back, but it should not be awarded
true dat
that is like asking for vampires
more like dracula himself
then you'll have people withholding a bounty and mods getting involved. just drop them
bounties should involve actual money
how about that
break everything :D
22:59
lol... if that happens, we will see a whole new dimension of stackoverflow
I'll quit my job first :p
3 zero day vulns.

« first day (2140 days earlier)      last day (3033 days later) »