« first day (2551 days earlier)      last day (2383 days later) » 

6:04 PM
nothing wrong with that
 
Is there some specification / explanation on how the HTML video tag works? I'm trying to stream from a database so I can't use any of the automatic-black-magic streaming from the file system. I don't even know what type of data I'm supposed to be giving it.
 
Stream from a database?
 
Yeah, I am specifically using postgres large objects which can be read in chunks.
 
6:32 PM
holy fuck Catalonia actually did it
 
whaaat?
 
uh no they didn't
 
wow, I wish I knew more about it
 
don't get your news from the onion
 
will Spain let them?
 
6:33 PM
dunno, CNN said so on twitter: cnn.com/2017/10/10/europe/…
so it must be true
 
> Catalonia's President Carles Puigdemont has delayed a formal declaration of independence from Spain and called for talks.
 
now comes a string of successions
I know lots of states that want to break in half
 
well, point is, it seems like there won't be much stopping them from actually declaring indipendence
so, sure, they didn't do it
 
in any case
who cares
 
but it suddenly got real for me
who cares? Think about the kids who'll have to learn a new flag
 
6:34 PM
they already had a flag
 
well, I don't know what it looks like
the kids as in from not-in-spain
 
 
jokes aside, it's another thing that shows even more pretty clear divide in europe :/
 
@towc declaring things is super easy
actually being independent is a different thing
 
well, it seems to be what the majority of citizens want, or something like that
 
6:36 PM
if they become independent and secede from the EU, that would be something to talk about
no reason for that to happen, just saying it would be interesting
otherwise who gives a shit
 
a majority of the voters, with a turn out around 40%
with groups that didn't want independence boycotting what they called a fake vote
 
and if other countries don't accept that, there might actually be another huge ton of massacres in pretty much the heart of europe
 
so it was kind of skewed
massacres? lol, the provincial govt would collapse in a few weeks when every other country cut off financial support
the police would casually clean up like it was paris in the 40s
 
ok, that's more likely
but still, a cube in the heart of europe?
I don't see a way this ends up better than it started
 
for the people living there, not much happens
some companies leave, those folks lose their job
 
6:39 PM
what if other countries follow on that?
 
the govt all goes to jail like every other little coup in history
every country has been toying with small coups for ever
 
for once, I'm actually somewhat concerned for the people in italy
maybe scotland gets another referendum
 
every country has a province that's unhappy and talks about doing their own thing
 
fuck knows what might happen in eastern countries who want to distance themselves even more from russia
 
here it's texas
 
6:40 PM
@ssube and that's not too much of a problem, until it becomes very real
if catalonia succeeds, it becomes real enough
I think
 
the few that have gone through with it have met a swift and quiet end
almost entirely because they immediately lose all trade agreements
those were agreements with the old country, so lol have fun
 
"hope so" I guess
 
the successful coups are now our well known state actors
populations are concentrated in the cities, and this is where people rule from, so everywhere there is a dispossessed populace in the outlying areas
 
most of them happened before international trade was quite as prolific
or in countries that aren't heavily embedded in trade networks
rebel groups do much better when they have a sympathetic neighboring country
:39539540 didn't that come down to economics, though?
 
I still haven't Figured it out. Adding Preload to DOM.
 
6:47 PM
obviously that started it, but the end too
 
any new country can probably trade with North Korea, China, Russia, Iran
 
what economics?
 
People who re-purpose database fields without consulting or asking anyone have a special place in hell reserved for them.
 
indstrialization and trade agreements in the north
@MadaraUchiha did you put in a comment asking them not to? If not, that's your own fault.
 
Adding Preload Within DOM*
 
6:49 PM
@ssube I'm adopting that.
 
synonyms for "I"? I'm really hating keeping on adding that as a subject to sentences
it shows how self-centered I might be
 
Hi can someone help me with mongodb
 
@Webster wont happen here
 
I found this, but it's probable not it. developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
 
@AtharvaPandey have you tried postgres?
 
6:52 PM
@ssube I havn't i want to but this is not in my hand :) my company wants to go with mongodb
 
that's a shame. What are you trying to do with it?
 
jsfiddle.net/atharvajava/g3d53r7L inside ST i want to query only the index where active is yes when i am trying to use elemMatch i get a blank index idk what am doing wrong db.props.findOne({"release":"1","project":"1","product":"1"},{"cd.env.ST.active"‌​:1,"cd":{$elemMatch:{$eq:{"env.ST.active":"YES"}}}});
 
const foo = undefined;
const { should, error } = foo; // (index):46 Uncaught TypeError: Cannot match against 'undefined' or 'null'.

should be
Cannot match 'should', 'error' against 'foo [undefined]'
or something the least bit useful.
anyone else with me? ffs
if you destructure a lot, this can take quite a bit to figure out where it's fucking up
 
i tried like various combinations i am just not able to figure out how to query that stuff
 
If you have several destructuring statements in a line?
 
6:55 PM
most people seem to solve that by writing a schema of some sort
 
well fuck me right.
I want better debugging
 
I'm not dissing your idea :P
 
hmm so should i do it programmatically there isn't a direct query for that i guess then
 
how would it handle that if should had a default and foo was still null?
 
Should probably just say "cannot destructure undefined variable foo"
But that would be helpful, and therefor doesn't belong in the debugger
 
6:57 PM
Wait, what version are you using?
Uncaught TypeError: Cannot destructure property foo` of 'undefined' or 'null'.`
That's what I'm getting
 
node 6
does that in the browser too
 
I'm on chrome 61
 
> VM2952:2 Uncaught TypeError: Cannot destructure property `should` of 'undefined' or 'null'.
> at <anonymous>:2:27
> you get a different error and you get a different error and you...
 
I'm on 59
 
61
 
6:58 PM
On node 8 I get your error message, it's in there in a newer v8 version
 
hrm, well I can't do anything about node (where I'm doing this)
 
I know the patch notes for a few recent vers have mentioned debugger changes
 
but I guess it's a solid step that it's included in 61
 
@rlemon You get shat on when it's compiled code and/or minified code.
 
wonder when I'll get that update
 
6:59 PM
@Cereal hah, eat shit
 
because my current chrome for sure sucks
@MadaraUchiha solid cosplay
 
Chrome 60 has top level async/await in console, you want to upgrade anyway
 
10/10
 
@Zirak I just wait till it prompts me
don't really know how otherwise. :P
 
7:02 PM
On windows? Go to chrome://settings/help
 
@Zirak nahh. Linux
Probably the same tho
 
You just update it as anything else
Unless you installed it from a custom deb file
 
you'd know if you did that because you probably had to install 95 different libraries to go along with it :|
 
const results = ( await Promise.all(list.map(streamReader)) ).map(formatStreamData);
too much?
 
I like putting await stuff on its own
 
7:21 PM
@rlemon do you have to wait for all of them to start formatting?
 
@Loktar @GNi33 @BenFortune August Burns Red's new album is oot!
 
@Mosho no, just need the formatted results all back at once
 
await Promise.all(list.map(x => streamReader(x).then(formatStreamData))
 
Is there anyone in here who can help me Preload Image Within DOM?
 
Does anyone have any projects on the go I can contribute to for hacktoberfest?
 
7:23 PM
might be insignificant, might be faster
depending on the details
 
I don't have a bottleneck there, more looking at readability
probably gonna move it to a utility method
 
it's pretty readable
 
this dude reacting to Shogun is the best
He loved the drums lol
 
Preload Image Within DOM, is this even possible?
 
There you go not googling again
 
7:27 PM
god I'm an idiot. I'm doing 13 transactions because I can define the start and the number of registers I want to read and there are gaps along the way. so I read 2 with a count of 3, 6 with a count of 2, 9 with a count of 2, etc..
the overhead of setting up a read and shit is the bottleneck.
boss just suggested read from 0-max and filter the results.
1 read with more data should be much faster than 13 separate reads.
 
sup fellow kids
 
No, I did.
I found no, '0' ways to.
I've been at this for hours.
 
Man that sucks.
 
I want the code to go specifically inside of this part of the code

onclick="
var button = document.getElementById('playButton2');
var player = document.getElementById('player2');
 
7:30 PM
Your Googling, I mean. try again mb
 
@taco What does mb mean?
 
don't put so much in your onclick handler
seriously, it's not going to go well
 
You don't try hard enough, and I'm going to start being harsher because you're help vamping quite hard, and this chat doesn't like help vamps
 
@svgcoding mb try ggln it
 
@rlemon it's like all those kids doing sql queries in loops :P
 
7:31 PM
@SterlingArcher sorry :(
 
mega bites
I'm not vamping.
 
@FlorianMargaine I have legit reasons for it tho. 2 wire serial rtu
 
@rlemon your nationality is leaking
 
I'm stuck on this issue.
 
@svgcoding lmao you don't decide if you're vamping or not
 
7:31 PM
I've been googleing for hours.
 
Show me your history of what you googled
Screenshot
 
@rlemon yeah, just teasing you :)
 
I want to see this
 
^
me too
plus a drivers license
 
I won't even judge you if there's porn in there, I want to see this hours of googling that I found in 1 second using your own keywords
 
7:32 PM
In order to test to see if the code works I am required to clear the history every time.
2
Preloading image, that's the only way.
 
we still need your drivers license tho
 
That's how I'm testing it.
I've been looking in Google books.
If you really must know.
 
I don't think they publish books of their search results
 
Yes they do, I can screenshot it if you'd like.
The text of google books is inside the search results.
 
Ok, @svgcoding you are officially labeled as a help vampire to this chat room. In order to receive help, you must show documented proof of research, what you tried (if the code snippet is long, make a jsfiddle, etc), expected output, and achieved output. If you do not adhere, you will be removed from the chatroom
Because that's the funniest bullshit I've ever seen
 
7:38 PM
Deal!
 
Try to keep in mind examples need to be minimal representations, so no entire app postings. Makes it harder to debug
 
You don't believe me that when you google in search, google books appear in there?
 
homie that's a book
books wont answer specific questions
 
7:42 PM
But some of them have actual code inside them.
 
I want you to google search (not books) every question you think of
You'll be surprised how many less questions you'll be asking
"I wonder if nodejs can execute a shell script" => Google search: nodejs execute shell script
Good google-fu is 90% of being a good dev
 
You don't googgle, google books, it just pops into google search randomly.
 
Taco's law; Anybody with a gravatar is lazy af
 
He is just saying that books appear in normal searhc results. No idea what you two are aguing about
> Dear Google, Would you kindly direct me to how to execute a shell script in node.js.
 
7:44 PM
🍿(▀̿Ĺ̯▀̿ ̿)
 
I have a gravatar.
 
@Luggage lmao I've never seen a book in my search results
 
You mean an auto-generated one?
 
This is my test code I'm working with: jsfiddle.net/mjnaaLk5/8
 
also, solid reference
 
7:45 PM
@Luggage sure
 
I made a reference?
 
This is the part of the code where I'm trying to put the preload image: onclick="
    var button = document.getElementById('playButton2');
    var player = document.getElementById('player2');'
This is what I tried and it doesn't work: var button = document.getElementById('playButton2').src = 'https://via.placeholder.com/266x266 ';
 
16 mins ago, by ssube
don't put so much in your onclick handler
 
You don't understand, this is something I'm trying to figure out how to do.
 
7:48 PM
you might actually be able to debug your code if it wasn't all in an inline event handler
 
@SterlingArcher it's absolutely amazing. Still waiting for STYGs new one but I'm pretty convinced its the album of the year for me. Might even contend for their best one
 
ohhhh, that's why it's all in a string. inline. I forgot you could even do that.
ew.
 
I just had the weirdest conversation
 
now we're about to
 
7:51 PM
I got asked if I could look at an error in Excel when using my addin
 
I hope
 
@ssube What are you suggesting? An alternative?
 
It's a #VALUE error so I linked them to the help page on it
 
@svgcoding put it in a script tag, break it up into functions, and figure out which smaller function is broken
 
The guy's like where's the feedback link, I want to tell them it wasn't helpful
 
7:52 PM
I was told, src isn't in buttin, is this true?
 
true, it's on <img> and.. <script>
 
The feedback link is of course where it's supposed to be
 
not <button>
 
I tell him I can write a comment for him
he says "Tell them this page doesn't resolve the problems caused by your addin when here are connectivity issues"
 
My coworker gave me an incredible reference. I hugged him so hard he might go to HR
 
7:53 PM
wait wtf this is a connectivity issue?
No response
 
The suspense is killing me.
 
That's essentially the end
 
oh.
 
did he... disconnect?
 
Someone found a workaround, so I guess they have no more need for me
 
7:55 PM
@Luggage so my low beam headlight died mid turn at night yesterday xD
Almost pooped myself
 
@SterlingArcher haha yeah
 
Are they on the phone right now? Put'em on. We'll walk to them.
 
I've been listening to it actually
forgot you liked them
 
wow, a light died that fast?
 
@Luggage just IM
 
7:55 PM
Not sure how old the light was
 
My handlebar came off mid-turn. They didn't tighten it down properly.
 
what
omg
 
one side clip-on.
 
@SterlingArcher never poop yourself on a bike, or you'll think you farted
 
the throttle side, i think.
 
7:56 PM
or something like that
 
@Luggage didn't go down/
 
me? no. just scared me.
 
It's a bike, not your mom
 
losing a light sucks. seeing is important in corners.
 
Yeah I was blind as shit lol
I want to do this
But I'm not sure if it's legal
 
7:58 PM
roll eyes
 
make your bike look like an audi?
 
yes
Does that not look good?
 
no
 
angel eye.
 
It's not like I'm underglowing it :P
 
7:58 PM
cyclops angel
 
that would be better
if you wrap your headlights in LEDs, I'll wrap you in LEDs
and then push you down a hill or something
 
That just sounds like a good time
Stop tempting me
 
doesn't it tho?
 
can it be KendallFrey's LED strip?
 
Even if I don't wrap it, I probably will replace the halogens with LEDs
 
7:59 PM
@SterlingArcher Looks like a glow in the dark jock cup
 
LED lights are good, LED strips are questionable
 

« first day (2551 days earlier)      last day (2383 days later) »