« first day (2172 days earlier)      last day (2779 days later) » 

2:00 PM
iirc it's been done @ndugger
 
oh?
 
@Loktar and Sony has been integrating more and more PS related stuff in their Xperia line
 
I vaguely remember something about that.. @ndugger
 
I am interested in PS4 TV though
 
@SterlingArcher pay to win is cancer
 
2:00 PM
@tereško yeah, and there's PS now as well
 
I'm sick of paying for shit I don't watch
 
there are really decent mobile games out there
 
$10 to rent games remotely on your PC
 
... Microsoft could be heading for another rude awakening, since they killed Nokia
 
htmlgl.com ? I recall seeing this before and was unimpressed... maybe it just needs to mature
 
2:01 PM
yeah that's it actually
 
@SterlingArcher well ... I dont even own a TV
 
I remember the imdb type demo for it
 
@GNi33 the reverse is also true
 
Or just make the DOM faster.
 
I have 2 TVs lol
 
2:01 PM
They need to fix their text rendering for retina displays
 
@ndugger i'm not on a retina display and the font rendering is awful
 
@ndugger seems like shit like text selection would be a huge pita
looking at their page when I scroll I see stuff jumping a tad bit, annoys me
 
@Loktar you can play games remotly on your own network, if you buy SteamLink
 
ok, that's a huge pita.
 
2:02 PM
indeed
 
@tereško yeah I do actually
 
good for people who actually own a TV
 
@BenFortune no problem, and if that was for me.. then yes. i guess it's naive enough unless it's a bot for twitch or something :,)
 
They just fixed AMD hardware encoding for steam streaming
 
There is no good reason to make a new layout engine, just optimize that is there
 
2:03 PM
2 days later I built an nvidia machine lol
 
@Loktar hear about it.
I am still on AMD though
 
I fucking love AMD, I hope Vega kicks Nvidias ass
I just didn't want to wait until June
 
AMD is doing a lot of things right lately
 
I'm going to sell off my 290x's
yeah for sure, I hope Zen does great as well
It just sucks because everything is just out of reach, into 2017
 
I'm kinda tempted to upgrade my GPU
 
2:05 PM
@KendallFrey fooking do it m8
you're on a 970 right?
 
wanna buy my old one
yeah
 
Opensource AMDGPU drivers for linux, Crimson software (without ant privacy invasion bullshit) and their RX480 cards are competative
 
The next iterations have gotten cheaper
 
yeah the rx480 are the absolute best for price/performance
well.. maybe the rx470 is (what my son has)
 
@Loktar and you can use it in crossfire with older cards, IIRC
.. unlike nvidia
 
2:06 PM
only polaris cards, so other RX ones
 
@KendallFrey I wish you looked at me like she does
 
but yeah even the rx460 can crossfire, unlike the 1060 you're right lol
 
@Loktar so they did make a jump
I recall that you could mix and match all R9 and R7 cards
 
kind of, they all had to be the same architecture
like hawaii with hawaii, tahiti with tahiti
like you could do a 7970 with a 280x
because they were both tahiti or whatever
but the 290x couldnt since it was hawaii, but it can with some of the 3xx
still way more forgiving, better crossfire scaling as well, and no bridge required
 
also their "well ... this 4GB Rx480 is actually 8GB" was a pretty cool stunt
 
2:09 PM
They can't even count? :)
 
haha yeah the opposite of the 3.5 thing
 
:D
 
@Luggage you just had to update the bios
and BAM you could use all 8gb
 
That sounds like a car with a V8 coming with only 4 cylinders turned on.
 
2:11 PM
basically, but getting charged for the 4 cylinder :P
 
@KendallFrey what would be the reverse of that?
 
@GNi33 cancer is pay to win
 
Is that you?
Did you lose a fight with a moose?
 
such a beautiful man
 
@KendallFrey omfg
 
2:13 PM
You asked, I delivered
 
Look at me harder pls
 
I'm already at maximum hard
 
oh dear
 
@KendallFrey hahah
I've probably said the same thing to my wife
/me waits for the "So have I hue hue"
 
2:15 PM
So have I hue hue
 
@bitten Heh, just thinking about how to handle the multiple responses.
Maybe a reply and a replyTo method
 
It seems lounge is always hot, no matter how chronologically far apart my peeks in the room be.
 
The kind of hot that burns your ass on the way out?
 
The kind of hot that burns your ass on the way in.
 
2:19 PM
 
@BenFortune yeah, you should make the onMessage part a lot smarter so then you can pass through message and user and so on
 
@SterlingArcher she's agreed to a second date
 
Wahoo!
 
Nice dude!
 
2:31 PM
oops
wrong chat but whatevs
 
You have... other... chats?!
How could you cheat on us like this?!
 
un-ro him
 
work chat
and irc
irc is love irc is life
 
irc? What is this, middle school?
 
that was icq
 
2:33 PM
ah, shit, yeah
 
irc requires a beard to log in
 
why is icq still a thing? icq.com/mac/en
 
/msg NickServ engageneckbeard
 
@Loktar that's almost twice more than my machine: 9311
 
@tereško yeah thats w/o the gpu oced at all as well
thats my last score for example on my last PC
 
2:36 PM
32gb ram? What the fuck?
 
what card are you running @tereško
 
290x
 
@ndugger sometimes I feel squirly and throw games onto a ram drive
 
16gb is the right about of ram. 8GB is too little.
 
oooh nice yeah the 290x is a beast
haha that's what I had, 2 of them
 
2:36 PM
I have single 8GB version
 
I almost didn't upgrade because the 290x takes whatever you throw at it still
oh nice, mine were the 4gb ones
 
you have more ram than north korea has food
 
@ndugger the ram even lights up!
but yeah I've been running 32gb on my last 3 builds
so for around 6 years or so
 
anyway, I will make next build when Vega/Zen comes out
 
nice can't wait to see/hear about it
I'm super excited for those as well
 
2:38 PM
and either sell this one or hand it down to my brother
 
yeah I'm going to sell my stuff this time
the 290x dd's are going for $200 a piece
 
P90x
 
Tesla?
ohh, I am thinking of P90D
 
I have an <input value={this.props.url} onChange={...} /> in a React component. The onChange handler fires of an event which propagates the state (Redux architecture) back through the components to rerender. This works fine on browsers, iOS and Windows Phone. On an Android 4.3 device, this makes it impossible to write. Whenever you type a letter, it is added and promptly removed again. Any ideas on debugging/solving this?
(I previously used defaultValue to mitigate this issue, but I've reached a point where I can't do that anymore)
 
value is for injecting a new value. If you're using redux and are listening to a keydown event to propagate to your store, value is correct
but honestly, redux is garbage, so you'd be better off without
 
2:48 PM
unless Roel is in a position to change architecture, the "redux is garbage" part isn't too helpful.
 
No, I'm using onChange. Should I be using keyDown then, instead, and handle the new key myself (including backspace and whatnot, and what about auto completed words)?
I'm not in the position to change architecture, no. I'm not sure why Redux is "garbage" anyway :3
 
I wouldn't mind hearing why, myself.
 
defaultValue is only used when initialising
it sounds like it should be okay
 
(never used it, so no string opinion, but it looked interesting)
well, nothing sounds wrong with the onChange -> app state -> value loop.
 
have you pulled it out into jsfiddle to replicate? if so share that, if not maybe it'll be a good idea so then it's isolated and you know there's not something else creeping in
 
2:51 PM
Admittedly, I don't use Redux. I use a simpler form inspired by it, but the lifecycle, event propagation, global state, and general internal working is 100% the same. I just felt it was too verbose to specifically address that.
@bitten Haven't done that yet, no. Will be trying that now.
 
Redux is slow and overcomplicated for just managing state. I also am not a fan of having one global state for your app.
That's why it's garbage
mostly just for being dead slow
 
what about redux + immutable?
I am making assumptions about where the speed problems are, though
 
Redux is slow because of the way it dryhumps react into submission. immutable wouldn't help.
 
i see.
well.. immutable + shouldComponentUpdate?
 
@bitten Hm, defaultValue works perfectly, except that when I clear a field due to some other logic, the input isn't cleared (because it's defaultValue after all). E.g. when you login and the user/pass is wrong, I clear the password.
 
2:53 PM
shouldComponentUpdate is part of the problem
 
make it low-cost dry humping?
oh
 
immutable might shave off a few milliseconds
but not a lot
If you need to update a component many levels deep, redux needs to travers your react tree triggering every single shouldComponentUpdate on the way down which caused massive performance loss in my uses.
 
I think defaultValue would just be hiding the problem. the real problem is you have a 'controlled input' and something is going wrong in the event -> app state -> value "pipe"
 
@Luggage Hm, probably, let me try to fiddle this.
 
okay, so I have a client connected via ssh tunnel to a server, while logged into that server I can see their ip address with iptstate -D 22 (and all other connected ssh clients)
I can see which port they actually dialed in on with netstat -an | grep tcp
how do I get the full originating ip AND their actual port
iptstate gives me a port, but it isn't the one I dialed into
 
2:57 PM
@Luggage i think so too
@RoelvanUden it could be that one of your reducers if firing after the other one, and setting state back
my first thought anyway
 
Well shit, no JSX support on js fiddle
 
@rlemon that's their outgoing port weirdness thing
 
@RoelvanUden <script src="https://facebook.github.io/react/js/jsfiddle-integration-babel.js"></script‌​>
that should help, drop that into the HTML
 
@ssube but I can get the correct port information with netstat, but it maps it to 127.0.0.1
so the port information is there, how do I get the correct port and IP
(I know the port, I need to marry the ip on my table, so grepping for the port would be my only solution)
 
Stupid question you guys: is there a way to apply multiple transforms to some text?
 
2:59 PM
if that doesn't work then i have a react/jsx jsfiddle bookmarked that you can just fork
@corvid comma separate them
 
@bitten Bad JS configuration, ladiela. Yeah please share.
 
@corvid What do you mean?
 
@corvid transform1(transform2(transform3(text)))?
 
if CSS transform: rotateX(10deg), rotateY(20deg);
 
@rlemon what little I understand of that process is that, essentially, the client is bound to a random external/outgoing/something port, but that's only useful for the server to send traffic to. Only servers running on your machine have actual ports that connections can be created against.
that could be 100% wrong, though
 
3:00 PM
@MadaraUchiha I have transform: translate(50%, 0) on an element, but another style applying transform: translate(x, y)
 
connections are created. I just need to know the ip
not do anything with it
 
@corvid Matrix
Or comma separated, probably.
 
Just watch the matrix and that will fix my problem? Great
 
Try comma separating your transforms
 
3:01 PM
If that doesn't work, you'll need a transformation matrix.
 
client A ssh tunnels to server B, (in testing I know client A's ip) -- I can see client A's ip:randoport on iptstate, and I can see the port is connected via netstat -- there has to be a way to marry the two together so I can be assured that that ip connected on that port.
 
my google skills are failing me
 
i don't know if you can comma separate the same function values though
so yeah, follow @MadaraUchiha's advice on the matrix
 
I keep on seeing comics about the job market. Is the job market basically shit right now for non-STEM fields?
 
3:02 PM
@SterlingArcher Sure looks like it here...
 
10/10 picked the right field of study
 
Although I'm not sure how it is elsewhere on the planet
 
@SterlingArcher I don't know why.. Us programmers need personal assistants. There is a job.
 
> GET ME COFFEE BOY
> Sir I have a masters in Comp. Sci
 
I mean a job for the people without CS degrees (or in my case, some good luck getting a progamming job early on)
 
3:10 PM
> Sir I have a PHD in Theoretical Physics
Fuck you get me my coffee
 
They make wretched coffee.
 
Never ask somebody with a PhD to do anything useful.
 
You want an experimental physicist. They know how to work the coffee machine
 
and especially don't hire them
 
I could have an army of post-grad interns
Unpaid, and I will teach them nothing.
 
3:12 PM
As is the tradition.
 
Well duh, why should they earn rent money?
 
reddit.com/r/todayilearned/comments/54jnjh/… this title is butchered so bad
 
@rlemon I literallt just read that article. Kinda neat
 
@rlemon I've seen a worse one
$100 is true, "store bought kit" is a lie, "anyone" is an even greater lie
 
@bitten Ah, I'll be damned. I found the problem.
Long live the fiddle.
So, it worked. Then I remembered, "Wait, I have this rendering performance optimization." and emulated it. jsfiddle.net/utfahbxu/3
Yeah....
Will probably work in your browser, because it's fast. My Android device is just.. not guaranteeing that timeout to go pretty quickly
 
3:23 PM
Hi
 
@PedroPérez 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.
 
Someone knows FabricJS?
 
heard about it
 
@SterlingArcher imgur.com/gallery/HHFPb
 
3:26 PM
i am develop an app, like a SCADA, with fabric, with interact with objects, on the canvas.
and i need to fit all objects rendered inside the canvas
and see all of them
 
@rlemon lol people don't realize how easy it is to fake a tweet
 
i tried to scale the object, scale the canvas, and I have not gotten anything
 
@SterlingArcher funny af tho
 
HOW does the JS not get a parsing error? codepen.io/pixelass/pen/LkrvJa
/** @jsx j*/
const j=(d=>(t,p,...c)=>{const n=d.createElement(t);p&&Object.keys(p).forEach(b=>{const a=p[b];'style'===b?(x=>Object.keys(a).forEach(b=> n.style[b]=a[b]))():n.setAttribute('className'===b?'class':'htmlFor'===b?'for':b,a)});c.forEach(a=>n.appendChild(a[0]?d.createTextNode(a):a));return n})(document)


/** Usage: */
const style = {
  fontWeight: 'lighter',
  fontSize: '2em',
  textAlign: 'center',
  color: 'red',
}
document.getElementById('app').appendChild(
  <div>
    <h1 style={style}>
 
3:32 PM
@rlemon LOL
 
apparently that's valid ES6, and the pen does work
 
@SterlingArcher CALL 515 808 2362
 
The last time somebody posted a phone number in here William called the FBI Office by accident.
Soooooo no thanks
 
when did that happen? 0.o
 
Jun 8 at 21:07, by William
wtf that is the fbi office
 
3:36 PM
@towc JSX is not valid ES6, they probably just included the react preset, or the jsx plugin, or something like that
 
user1596138
@SterlingArcher No srsly you should call it
 
user1596138
Or google it
 
@ndugger look at the source. The JSX part is the minified portion of code
don't see any preprocessor/parser/thing other than babel
 
@ndugger well, I don't know if north korea has more than 34359738368 foods
 
@towc The @jsx comment seems to be configuring the transpiler to use j as the function
 
user1596138
3:37 PM
@towc Where are you expecting an error? Am I just missing it :P
 
Oh dear
 
@Jhawins (<div>
 
@SterlingArcher seriously, calli t
 
user1596138
@towc Totally valid :P
 
@Jhawins for jsx, but I don't see anything that told codepen to parse it as jsx
 
user1596138
3:38 PM
We wrap our multi-line JSX in parens and have configured the linter to watch for it, but you don't have to
 
@towc Do my words mean nothing?
 
user1596138
Oh.
 
oh nvm, if I put it in the console I get the error
@ndugger hmmmm does babel have something like that?
 
They probably included the JSX plugin in babel, and the @jsx j comment is configuring the JSX transpiler to use the j function
@towc have you never used babel?
 
user1596138
Babel suports JSX pretty sure
 
user1596138
3:39 PM
So that's all you'd need on the fiddle
 
never for non-vanilla js
I see....
 
@SterlingArchervcalll it
 
ok, mystery solved, thanks :)
 
@rlemon can i text it dick pics instead?
 
Land line
 
3:41 PM
I googled it. That's glorious
definitely call it, jordan
don't google it
 
@SterlingArcher ^
just call it
or change your number in stephs phone to that
 
omg that is glorious
 
you called it or googled it?
can you hack your internal phone system to redirect 10% of all calls to that number?
 
Teo
hi guys, I'd like to receive some suggestions from you.
I'd like to create a kind an horizontal stripe with "x" black and white pictures that "auto-scrolls" from left to right. When the single picture is on the middle it turn on its colors.
. . -------------------- . .
[bw] [bw] | [here is colored] | [bw] [bw]
--------------------
 
sounds neat
but... what kind of suggestions are you looking for?
 
Teo
3:52 PM
Hi, thank you for reply.
I'd like a suggestion about the approach to start....
I've tried with two pictures (one black and white repeated) and one colored.... and animating the background position of both... but I've problems of syncing the two pictures....
 
good luck
 
Teo
@KevinB Do you think that is better to work on the colors of a single picture (that turn on and turn off the colors), or on the position of two pictures (one bw and one colored) simulating the effect?
 
Start by deciding how you're going to do the color transition effect since that may impact how you are going to slide the images across the screen.
I would have it transition as it slides into the center and as it slides out, which would mean not animating background images.
 
Teo
@KevinB thank you kevin... I will think about that... and decide...
the difficult for me is that the animation should be responsive
to the size of the window
 
to a certain point at least
having 3-5 images displaying horizontally on a portrait mobile screen wouldn't work
 
Teo
4:01 PM
@KevinB Yes, on portrait mobile maybe i think I will put only a center picture
 
Hello, I have a question about testing React using Mocha and Chai
I have a component that looks kind of like this:
<div>
  <img src="pic1.png" />
  <img src="pic2.png" />
  <img src="pic3.png" />
  <img src="pic4.png" />
</div>
Say I want to test that it includes an img showing pic2.png, but I don't care what order the imgs appear in in my test
How can I write an expect style assertion in Chai to test that an img with the desired src appears in my component?
I'm trying to start out by rendering my component: const wrapper = shallow(<Imgs />);
And then I'm trying to do something like:
expect(wrapper.find('img')).to.have.at.least.one.with.prop('src', 'pic2.png');
But I can't find what I should actually use for have.at.least.one.with in Chai's documentation.
 
@KendallFrey youtu.be/mLgtPKT1Q70
 
will watch
I found a new thing I can do with my strip
60 pixels, so perfect for a clock
 
s/l//
not sorry
 
> 60 pixes, so perfect for a clock
 
4:15 PM
that's what I meant
 
yeah
 
good, then
 
4:25 PM
Shit, Jose Fernandez died in a boating accident :(
 
@RoelvanUden was having dinner, nice to hear it worked out ^^
 
@MadaraUchiha is this you?
 
Definitely looks like him
 
^ Can someone please help me with my question above?
 
4:43 PM
@Kevin If someone could, they would
 
Fair enough. Thanks!
 
fuuuuuuck
 
@Kevin i would do expect(wrapper).to.contain('img[src="pic2.png"]')
contain uses querySelectorAll so feel free to add any valid selector in there
you could also use match or exist too but contain just seems to follow imo
@SterlingArcher omgg that's brutal
 
@SterlingArcher but... what is that tattoo on? we can't see any joints or ends
 
^
 
4:52 PM
It's gotta be the shoulder blade
 
dank
 
it can't be though
I was thinking top of a thigh
 
@ssube cannotunsee
 
look at the bottom of the pic, that's a table or something
 
What's with the curve at the top left though
 
4:53 PM
you can see hair on the far left of the arm, which makes me think back of the arm
 
it's obviously the biceps
 
inner bicept ^
 
@rlemon with absolutely no definition
 
^
 
weakaf
 
4:54 PM
guy has a weird arm, that's for damn sure
 
that can't be a bicep
 
Don't be strongist loktar
 
outstretched arm
you can see a dangle of pithair
 
Not everybody has sweet gainz like us
 
left arm to be specific
 
4:55 PM
@Loktar yeah, you can even see the early onset of chicken wings
(the sag)
 
Good job internetectives, we've solved another case of "Wtf is that"
 
a no-hire indicator
 
wow man there are a lot of idiots getting tattoos like that, pretty stupid
 
Can't stand the guy
 
I need to make logic to check waether brackets open and close properly. eg [(<>)] is true and [<(>)] is false and so on
 
4:58 PM
tattoos are great
I'm gonna get a tattoo of a jar of mayonnaise on my forehead
 
@rlemon hello
 
is it me you're looking for?
 
@ndugger topkek
 
If Mcgregor, clinton and trump were in a room and I had 2 bullets, I'd shoot Mcgregor twice.
 
yeah I guess you are good programmer
 
4:59 PM
bob doesn't actually write any code, though
 
can you see it in my eyes?
can you see it in my smile?
 

« first day (2172 days earlier)      last day (2779 days later) »