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

8:00 PM
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
 
8:05 PM
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
 
8:07 PM
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.
 
8:09 PM
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
 
8:11 PM
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
 
8:13 PM
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
 
8:20 PM
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
 
8:21 PM
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?
 
8:32 PM
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
 
8:33 PM
@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
 
8:43 PM
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()">"?
 
8:44 PM
(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
 
8:46 PM
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
 
8:48 PM
@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?
 
8:55 PM
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
 
9:00 PM
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
 
9:03 PM
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
 
9:05 PM
@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
 
9:07 PM
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
 
9:12 PM
@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
 
9:14 PM
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!
 
9:15 PM
that helps thank you a little
 
@bitten I've finally made everything running. Works like a charm
 
9:37 PM
@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
 
o/
 
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
 
9:45 PM
@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
 
9:52 PM
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
 
9:59 PM
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
 
10:00 PM
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
 
10:02 PM
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
 
10:02 PM
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
 
10:03 PM
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
 
10:09 PM
@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
 
10:12 PM
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
 
10:14 PM
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.
 
10:16 PM
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?
 
10:19 PM
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
10:22 PM
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.
 
10:24 PM
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
something like this
@William
 
@Jay do you not see the error message?
 
Jay
10:30 PM
it doesn't give an error
 
sure it does
F12
 
you didn't een include jquery
dude come on
 
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
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
 
no
 
10:42 PM
!!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
 
10:45 PM
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
 
10:47 PM
@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
 
10:50 PM
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
 
10:51 PM
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
 
10:53 PM
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
 
10:54 PM
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
 
10:56 PM
    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
 
10:59 PM
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 (2791 days later) »