« first day (2718 days earlier)      last day (2455 days later) » 

16:00
@DIVA why can't you use addEventListener?
user2620028
@KendallFrey if you don't touch the throttle then it will idle around 30mph
user1596138
@SterlingArcher Even alienware sells them now. They go by the term "eGPU"
s/to steal/to get money now that everybody hates him/
I mean, I'm pro adblock, because fuck advertisers, but Eich just feeds that money into his pockets instead
It's so scummy
@HatterisMad oh geez that's terrifying
16:00
I like money
he is stealing money through Brave, it's just because he's made such a fool of himself that it's his only option
ok, brawndo
@ndugger That's what ABP does as well
made a fool of himself how?
user2620028
@KendallFrey so you know driving a car on ice right? lol
16:01
@OliverSalzburg Then don't use ABP, you tool
pop up tabs which prevent the user from clicking anything are annoying so I wanna prevent the
@Loktar mostly on the ES mailing list :(
@ndugger I don't
@HatterisMad ok now we're getting into my territory
yeah I'm pretty out of the loop on this Eich thing as well...
16:01
I enjoy watching ads because I love the economy
he argues against best practices and newer features at length
well snow at least
user2620028
@KendallFrey first time in a sprint car will give you ptsd flashbacks of driving a car on ice, until you get it going about 70mph
ah I haven't paid attention to him
crazy
The triangular case made me realize that having one side of the mobo against the side of the case is a missed opportunity to create airflow inside the case. If there were space on either side of the board, wouldn't an air current be created due to the temperature differences on either side of the board?
16:01
one of those old-fashioned Stallman/Crockford types :P
Crockford is almost as bad as Eich with his shitty ideas
> Use Emacs and eat your toe cheese! Brave forever!
Only two things bug me about ads..resource intensive auto-playing videos, and drive-by malware.
user2620028
@KendallFrey so you have to get over the mental block that it gives you saying, hey i cant run head first at a concrete wall at nearly 100mph on ice and expect to still turn
lmao gross
16:02
yeah... opening a page only to have a twitch stream start playing on the side, muted, as an ad
IIRC some pages didnt even allow me to open chrome task manager
@HatterisMad I really wonder if doing it in VR would help with that
that's frustrating
user2620028
@user1596138 would have no problems doing it because he has no regard for his own safety
Cause I do crazy things in VR all the time, because I know I can (and will) crash and get away with it
16:03
pretend it's real
the one problem with racing/driving in VR is the lack of chair movement
but those chair rigs are stupid fucking expensive
user2620028
@KendallFrey the biggest thing you have to tackle is the fear, and then if you can tackle that then you need to be skilled enough to hit the line consistently, cause every time you miss the line by more than a couple inches, you are likely in the catch fence
@HatterisMad one crash and I'd never get in the thing again
@ssube Did you ever try the nascar experience at the Mall of America before it was removed?
that shit was fun
@KevinB I tried bind not working
16:04
lol no
show your code
I avoid the MOA and NASCAR :P
It was like half a car's frame, and the seat, and it all moved with the turns
it was pretty cool
those are fun
I've done similar things at other places, there's one at the air & space museum
user2620028
@KendallFrey i had one crash and i broke both my hands and tore a few tendons out of my knees and had to relearn how to walk for almost half a year
16:05
There's nothing quite like crashing in VR
now they just need to figure out how to make you feel the g-forces
user2620028
getting back in one after crashing the first time, thats the hard part lol
@KevinB $('#myFrame').bind('click', function(event) {
alert('test')
});
!!giphy cory in the house
@ndugger You iz in mindjail
16:06
oh right
@DIVA yeah that's obviously not going to work
#myFrame isn't the iframe's body element.
@DIVA is #myFrame an iframe?
@Shmiddty yes
oh FFS im getting "failed to cache the download error" when trying to install chrome
@Shmiddty put you in a harness, attach each point to a pulley, then whip you around
16:07
@DIVA you're trying to inject JS into a frame? Not going to work, buddy :)
click events don't propagate outside of the iframe, you have to bind it to the element inside the iframe.
however the fun part of crashing in VR is rolling the car without getting whiplash
@KevinB @Shmiddty Could you please give me some small example using jsfiddle to get it work
nope
I've experienced this many times
16:08
yep
I spent an evening in PC2 doing that to various cars. The experimental ones are hard to flip
Also IIRC iRacing doesn't let you get out of the car if it's moving
that one looks to be glitching out pretty badly
so you have to close your eyes and hope it stops
Sometimes it will dance for minutes on end
those are some inventive physics
16:10
@KevinB Let me try out this sample. Thanks
Also when I was testing the sprint car I put it in the wall and it launched into space
user2620028
did it ever come back down?
0
A: How to run JavaScript inside electron?

EpitouilleUse the eval function. Please remember this is not safe at all

lmao
@HatterisMad no I think it froze and I got out
@SterlingArcher there is 2 of those lmao
user1596138
16:22
@HatterisMad Sure I do lol
When the deadline comes too close
oh god :D
I posted that here yesterday :D
I figured that it would probably be a repost :P
I rarely actually laugh at memes, so I don't feel bad for it though ;)
Gotta give him credit for trying
Despite not knowing what he was trying to do
But dammit he tried.
it's the participation that counts
16:28
100% drunk, I guarantee it
16:43
I think i finally found the bug
I won't really know until several hours passes D:
@SterlingArcher change all the clocks in the room, duh
nice
inserts take forever zzzzz
Does anyone know any libraries that are good for rendering very large collections of complex react components to the dom?
16:59
yea, react.
... react?
react?
react?!
react!
user1596138
dojo
user1596138
17:03
@corvid That's what ReactDOM is for. What is the problem you're having with it
@user1596138 Suppose I have a collection with potentially 10,000+ DOM nodes, all of which have to be spatially indexed, and which contain images that have to be loaded. Can't find a great way to optimize it
user1596138
That's not a coherent problem
user1596138
That's just a thought
user1596138
Suppose I want to render 60,000 dom nodes half of them are svgs and half are divs.
user1596138
You know nothing whatsoever about my problem...
user1596138
17:06
Ask us a question.
@SterlingArcher so ded his shoes were off before it even happened
user1596138
Remington files for bankruptcy?! What have they done lol they owned Marlin :(
posted on March 26, 2018 by Mathias Bynens

TL;DR: Starting with Chrome 66, V8 compiles JavaScript source code on a background thread, reducing the amount of time spent compiling on the main thread by between 5% to 20% on typical websites. Background Since version 41, Chrome has supported parsing of JavaScript source files on a background thread via V8’s StreamedSource API. This enables V8 to start parsing JavaScript source code as soon

2
@corvid look into react-virtualized
17:17
@Shmiddty The only problem with it is that I can't seem to get the position of a "non-rendered" div so I can't spatially index it reliably
why would you need to?
Have to do a lot of positional lookups of specific dom elements
why?
They should be able to ctrl-select, shift-select, and select in arbitrary patterns basically. When things leave the dom, then I can't get a reference to where they should be, at least with react-virtualized
the positions of the dom elements should be based on the data, which you presumably already have.
17:19
how do you expect them to mod-select elements that no longer exist?
yeah but there's no way to access it easily in react-virtualized, that's my only problem with it
can you do the spatial test based on the coordinates you would have created the element at, rather than using an actual element?
@ssube I want to have a callback when a tile has ever been rendered to add it to a k/d tree, then when it leaves the dom it stays in the KD tree with a reference to its id and former position
selectStartIndex selectEndIndex
it sounds an awful lot like you're mixing business logic into the DOM, a la jQuery :\
17:22
you only need the DOM for the click events
In pseudo code, I am basically trying to accomplish this:
export default class MovieGrid extends React.PureComponent {
  tree: rbush.RBush<MovieNode> = rbush();

  onRowsRendered = ({ startIndex, stopIndex }) => {
    for (let i = startIndex; i < startIndex + (stopIndex - startIndex); i += 1) {
      const box = this.grid.getPosition(i);
      this.tree.insert(box);
    }
  }

  render() {
    return (
      <Grid
        ref={this.ref}
        rowCount={this.getRowCount}
        columnCount={this.columnCount}
        cellRenderer={this.cellRenderer}
        onRowsRendered={this.onRowsRendered}
Then any time a row is rendered, it adds something to the spatially indexed tree so I can search in space without accessing the dom, does that make sense?
user1596138
Sounds like you just want to keep track of the selected rows
but why bind that tree to the DOM?
user1596138
Which you can do by any identifying property of the data objects that become rows
it sounds like you have all the data you need already, so you could search without needing to go through the whole render-and-save process
user1596138
17:26
Like. Why would you need to track the nodes themselves when you know what creates them?
@ssube React-virtualized removes items from the DOM to increase performance, therefore say I did a shift select from row 1 to row 20, but it only has 10 rows rendered -- the search for the nodes will miss. They can be variable sizes
user1596138
Why is it searching for nodes instead of marking some outside table of the rows data as "selected"
but you know you've selected 1, held shift, and 20
why use data from the DOM at all?
user1596138
Then the rows would render knowing they are selected. You're going from the bottom up, it's supposed to be top down
@user1596138 did they lift yer ban?
user1596138
17:29
Yeah.
it definitely sounds like that logic should be pushed up outside of the render and tree
user1596138
SOmething about how I was too valuable a resource to leave banned
user1596138
Err. I mean it was pity
What if you don't know the potential size of the elements ahead of time, though?
user1596138
17:33
That shouldn't be any concern
user1596138
Your architecture is bass ackwards
Does that matter? If you shift-click, you know the start and end. If you ctrl-click, you know every element clicked.
either way you should be able to work it out, knowing where the elements would have been placed
user1596138
^. And you know why they were in each position as well
user1596138
So even if they don't exist at the time of click, you know what to mark already
user1596138
You have all the information necessary to make it simple. if it's not simple, you played yourself
user1596138
17:41
> Active Noise Cancelling Headphone for Travelling - $368.45
user1596138
What an odd thing to claim as an expense for your open source project
APPLESAUCE TIME
when you are pulling in mobx money, you can afford to treat yourself well
redux money gets you applesauce for lunch
user2620028
17:45
i just ordered a pizza for breakfast :D
upgrade to mobx and you can afford fresh apples
Who the fuck eats regular apples
user2620028
went all out too, got pepperoni, jalepeno peppers, anchovies, and black olives
user2620028
@SterlingArcher the applesauce making machine
user2620028
bet he eats the core and stem too
17:46
@SterlingArcher normal people?
@HatterisMad I used to know a guy who did that. I could never tell if he was just fucking with people or had a real reason (or was just too dumb to notice).
Fruit expires too quickly
And I don't want to go shopping every week
you don't go shopping every week? what do you eat?
On the other hand, I weighed in at 200.2lbs today. And my size 34 jeans are getting loose :D
user1596138
Yea what do you eat that lasts mutiple weeks
exclusively boxed/frozen meals?
17:48
@ssube honestly I buy bulk chicken, freeze it in 1lb bags
user1596138
Jus lots of cheese
that works for protein, what about veggies?
Breakfast: protein shake. Lunch: more or less a snack or salad
Dinner is usually chicken and broccoli
I've had 3 pieces of pizza and 3 garlic fingers today
broccoli, cucumbers are good snack..
17:49
and 3 cups of coffee, and 2 diet cokes
so you at least buy fresh broccoli, right?
I am the epitome of health
user1596138
It's 1pm, I haven't eaten
@ssube I do both, I hate cooking to I just get the pre-cut frozen for dinner
But fresh for snacking
l2cook
17:50
But I do have a bunch of those "healthy" meals for days when I don't have time to cook the chicken
cooking takes time
> don't have time to cook the chicken
cooking can be pretty fun tbh
ok towc, don't take 15 minutes out of your day
I can cook, I cook really well, I just hate cooking or I'm out drinking
@ssube dude that's 15 minutes more overwatch or porn I could be doing a day
Priorities man
17:50
> overwatch or porn
when did you become a dirty weeb too? :(
I said or, not and you sick fuck
I know
overwatch hmvs are pretty nice
( ͡° ͜ʖ ͡°)
what the hell is an hmv
do i even want to know
you know what don't tell me
@Ikari every time you open your mouth you weaken the nation
3
17:52
lol
What's that joke about how the USA took down japan so hard in WW2 they went from imperialism to hello kitty? lmao
This is our fault, really
@Ikari whew boy. that's a stark revelation.
@ssube the fire nation?
:B
I just realized I havent had any caffeine in 2 weeks
why? because of that piercing thing?
17:59
Yeah, but I didn't even realize it, wasn't a conscious decision

« first day (2718 days earlier)      last day (2455 days later) »