« first day (2288 days earlier)      last day (2665 days later) » 

2:01 PM
been using xcode for a full 12 minutes and it's already bad.
 
isnt it based on objective c? or was it swing. cant remember
 
swift
 
Im going to be using flutter for cross platform mobile apps.
its in Dart though which I will also be heavily using once Google releases DDC which is going to be mega awesome
 
is it just me or does java just always feel "clunky" whenever it does an interface?
Even python feels significantly smoother
 
@corvid using javafx or swing?
in general java , running on a virtual machines, is really slower and uglier
with Javafx you can make really great interfaces though and use CSS 2.5
 
2:07 PM
Either of them, really. Works great for APIs, but pretty bad for interfaces
 
@corvid you can use XML and CSS
ive done an audio player with a complex visualizer in JavaFX and everything fine
 
Just in case this hasn't been cross posted I thought you guys and gals might enjoy
5
 
@mikeTheLiar Holy shit.
 
@littlepootis yarp
 
2:12 PM
@mikeTheLiar Oh that got me hard
 
Justice boner!
 
 
go Donald!
 
@mikeTheLiar That sure is a crazy question
 
2:29 PM
@FlyingGambit There's not enough popcorn in the world for this right now.
 
god save the queen
or whatever american words they're putting to it
 
@KendallFrey Reagan save the Cheeto
God save us all
 
For God's sake shave that hair
I heard Jake Archibald compare Trump's hair to "a cloud of piss" at a conference once. Lost it.
 
what conf?
 
Uh.. Web Rebels in Oslo I think it was
Can't remember which year
 
2:37 PM
It's probably either 2016 or 15.
 
Howdy yall
I have the following function:
`function track(action, label) {
  if (!(window.ga && window.ga.loaded)) {
    // retry tracking when GA has loaded.
    setTimeout(function() { track(); }, 50);
    return;
  }
  ga('send', 'event','App1', action, label);
}`
 
@littlepootis nah.. youtube.com/watch?v=wmN-Wu60Gqo Says 2012 in description. I wasn't even there in 15 or 16
 
I was told recently that there is a race condition
this is the function I invoke when a jQuery event that I wanna track gets triggered
I don't see the race condition(?)
Can anyone help?
 
There is no race condition... the function track() will be requeued for invocation every time it is called
 
Yeah its recursive.
 
2:40 PM
@ivarni That wouldn't be the only cloud of piss Trump created
 
Hahaha
happens to me all the time
@jAndy you think its alright?
 
there is no guarantee it will always be called in exactly 50ms interval (depends on whats going on in the environment) but it will at least be queued
no.., it's just a recursive asyncronous invocation
 
Right, but suppose I am not really concerned about the time, but just that it gets called at one point or another.
 
having that said.. you can just call setTimeout( track, 50 );
 
@rlemon happy Friday! @KendallFrey @FlorianMargaine
 
2:42 PM
@Loktar I bet it's an extra happy friday for you!
:)
 
as opposed to function() { track(); } ?
 
@rlemon lmao
 
@rlemon yes it is actually
 
Trump just arrived
 
2:43 PM
@Loktar did you take the day off? or just watching while working
 
what is wrong with this ?
 
@theamateurdataanalyst yes you can replace the whole line, setTimeout just accepts a function reference as first argument which you already have
 
I have to confess
I watch the Friday song in its entirety every friday.
3
 
so do I
 
@rlemon while working
 
2:45 PM
booo
would have been a nice excuse to take the day -- it's supposed to be 8C out (here) today
 
<div ng-click="$('.tick').length >= 4 ? (!selected) : (selected = !selected)" ng-class="{'notick' : !selected, 'tick': selected}"></div>
why is this not working ? anyone ?
 
@Loktar Which feed?
 
psvue
 
@KendallFrey who is feeding what/which ?
 
I'm on a Fox 10 Pheonix stream
 
2:49 PM
whatsup fellas ?
 
@Newone stuck with angular thing...
 
Oh
Crazy Angular huh
 
:)
 
anyone knows about angularjs here ?
@BenFortune are you around :-)
 
2:51 PM
@mikeTheLiar good read
friday entertainment at its best
 
@Mathematics ?
Don't mix jQuery like that...
You're missing the point of Angular
 
In react, can I do some code like: let something = <div>stuff</div>;?
 
yes
jsx
 
just like that?
 
2:55 PM
yes
 
babel required
 
then I could pass it to my render like: render(){return(something)}?
 
You'd do it inside render
 
don't need to
 
2:56 PM
I hate splitting the () in the render XDXD
 
@BenFortune should I create a function instead then ?
I will have to pass element then
 
@Mathematics no
I'm guessing .tick is a checkbox, each of your inputs would be a model.
 
you people are too easy ^
 
@BenFortune tr > td > div
 
a lot of us are aware and just wanna listen to the song
 
2:58 PM
thats a good reason
 
@FlyingGambit I xposted in C# :)
in C#, 1 min ago, by mikeTheLiar
You motherfucker, you got me that time
 
@BenFortune yes they have there own scope
 
@Mathematics Make a fiddle of what you have
 
React-native counts as javascript, right? I can ask inane and directionless questions in this room about it?
 
2:59 PM
meta.stackoverfiow.com/questions/341950/… looks like the jdoe meta post is dying down now. great read
 
oh you dick
 
@rlemon lol you remembered to put the 4 dots
 
look closer
 
omg its three, where are my glasses
 
@FlyingGambit It's called an ellipsis, it's a single character, and it's automatically generated by chat
 
3:01 PM
lmao
 
are these two lines the same, right?
$(".ask_q_tags_autoloaderBox").on("click", "div", function(e){
$(".ask_q_tags_autoloaderBox div").on("click", function(e){
 
> Why does everyone use 4 dots when text is too long? Why not just type the text!
 
I can't wait until USA elects a non-Christian president
 
^ see you keep saying stuff like that
and wonder why we get into political discussions
 
@KendallFrey hmmmmm are you joking?
 
3:02 PM
lol
 
that make everyone on the chat go nuts
 
!!s/non-Christian/Canadian/
 
@rlemon I can't wait until USA elects a Canadian president (source)
 
^ would be more interesting
:D
 
@Loktar Does an atheist count ?
 
3:03 PM
isn't Obama a muslim?
 
O.o
 
oh wait nope
 
They were talking about similar things on my stream, like how we have our first black president, and will probably soon have the first female president
 
I have a class that hooks up to a domain socket, and handles the message passing back to my components.
ThingThatGetsDataFromTheSocket
is a bad class name
lets start trying to rename that for me instead
 
pretty accurate actually
 
3:04 PM
@FlyingGambit Anyone that separates church and state
 
SocketDataFetcher
 
I can't wait until Canada elects their first non white Prime Minister
 
awh stop. We need a black queen
 
I think you're joking, but I agree
 
lol idc actually
 
3:05 PM
We had our first female PM over 10 years ago
 
I mean to me it's about the policies ect.
not the gender/race
 
@towc protes
 
I'd like a term limit on PMs
 
or species. we need our first giraffe president
 
yeah I want term limits on congress
 
3:06 PM
our longest pm served 21 years
 
I'm on the fence about term limits
 
@rlemon yeah that is nuts man
 
PM = Prime Minister ?
 
I don't know about 4 years. 8 might be okay
but yea, term limits I think are a good thing
 
They do seem to generate a kind of "who gives a shit anymore" atmosphere
 
3:07 PM
@KendallFrey the other way can too
 
wait, Putin is a PM, right?
or president?
I guess I can google it
 
president
 
he's president
 
Emperor
 
@Loktar In that case they'll elected out
 
3:07 PM
^
 
dictator.
 
dammit
 
Putin will never not be in power now lol
 
Anyone familiar with the order System.JS builds imported CSS Stylesheets in?

In my source I import Foundation before my own CSS file... but when I build it, the Foundation css comes after
 
he can become back a PM if he has reached his end of term
 
3:07 PM
well until he dies
 
@Loktar anyone who runs against him goes missing
 
like he did with medvedev
 
^
 
russia's first democratically elected president stepped down, named Putin to be his successor, and he's been there ever since.
 
how much pressure did he have to do that?
 
3:08 PM
9.8psi
 
lol
it was the .8 that got him
 
he was very constipated
 
headache inducing amt of pressure
 
 
^ that's me because I suck
 
3:10 PM
I double line space my code so I can add logs later
 
lol
yeah I number my lines by 100 now
so I can fit shit in
use to do 10's
 
I print my code out so it's easier to read
 
@KendallFrey dude...
 
moonowl?
 
I shit you not someone I worked with did this
 
3:11 PM
lol yeah
 
one of the c# users did that
 
it was moonowl?!
!!moonowl
 
3:11 PM
man someone people
I mean I guess if it works for them
 
I guess there are those two groups of developers... the "I log out anything" vs. "Give me a break (point)"
 
I've printed code before, but only because I was learning from it and only had one monitor
 
> Sure they can destroy the rainforest, as long as it's convenient
 
I've printed Hello World
and goto 10
but that's it
 
ohh and I printed code in HS. eng teacher wanted all board designs, schematics AND code printed in the report we submitted
 
3:13 PM
that's gross
 
subtle trigger
 
@rlemon I recall an almost-retired co-worker making backups of the project by storing these on HDD despite he uses svn. Not to mention he prints it on a yearly base.
The closet near his desk was always filled with papers
code stuff
and in his desk drawer, all HDD backups
 
So... what javascript "features" does react-native support? For example, does it support async generators, or do you somehow have to shim that functionality?
 
yea, I have a pile of thumb drives with backups and single letter labels
 
> Oh no my SVN server was destroyed in a fire. Good thing I have a closet full of... god damn it.
 
3:15 PM
hahah
 
If you keep it on-site, it's not a backup
 
 
I'm gonna guess the Falcon 9 doesn't use a camera for navigation
 
woohoo
mail lady had my ram
 
phrasing
 
3:18 PM
(pure speculation): possibly a camera for the final position? centering on the pad?
but yes.. it should know where the real landing spot is..
 
Possibly, but it probably wouldn't be any better than radio
 
RAM INSTALLED!
 
damn that was fast
 
twss
 
device was already open and expecting
 
3:20 PM
twhs ^
 
cue pregnant pause
 
@rlemon woohooo
 
itza boy
 
good afternoon everyone. I'm am trying to save a canvas as an image, which I already did but it's not what I am looking for.
I've created a little "app" that you can draw with and it will save the canvas to an image element through the "canvas.toDataURL();". Is it possible to save the canvas onto a folder so it can be later used to redraw the canvas?
 
@Mr.Toxy its evening here
 
3:22 PM
@littlepootis most electronic devices are female
 
@Mr.Toxy a folder?
 
@FlyingGambit it's 3pm here :p
@rlemon yeah like saving it in a folder where the project is for an instance
 
@Mr.Toxy Yes
 
@Mr.Toxy Ok, Good After Noon Sir :D
 
you can use .drawImage to draw it back
I'm not sure what you want with a folder
 
3:22 PM
@Mr.Toxy as in upload to the server?
 
@KendallFrey well something like that yeah but locally on your machine
 
The browser doesn't know about that
 
you can provide them a download link
 
You can use localStorage maybe
 
let them decide where to put it
 
3:23 PM
because I'm adding animations on a video that was preloaded into a canvas, but I can't figure out to get the image I sabved earlier, because I will have multiple videos with different animations. It's like a video editor
@rlemon hmmm I see your point. How can one retrieve the image later? is it possible to draw by getting the image using the file path?
I can't seem to find an answer for that
 
@Mr.Toxy yes. context.drawImage after you've use the File API to get the users image
but they have to browser or drag and drop it to the page
 
Storing it to a file is probably the wrong approach
 
probably
 
Can you just store it in memory?
 
but he'll learn something new by doing that
then we can teach him about memory
 
3:26 PM
@KendallFrey I need something like that, well at least saving it because later the user will be able to load the video onto the player and turn on the animations
 
Are you sure you want to deal with the Filesystem api?
 
@Mr.Toxy As in several days later?
 
@KendallFrey yes, at any moment
 
Or on the same page
 
there will be multiple videos with multiple animations
 
3:27 PM
If you want to persist stuff across pages, you can use localStorage
 
@KendallFrey they need to be accessed "days later" as you mentioned
I think on memory isn't a good idead, because it will be lost when the session ends
 
@jAndy that's me..
 
@BenFortune I am trying to, but it's having some complications - jsfiddle.net/U3pVM/29565
 
@Mr.Toxy you have localStorage or other offline storage options that don't require you to dig around the file api
 
I've made a react template in codepen, in case I want to quickly wip up a prototype of something - codepen.io/Thaenor/pen/OWbwxr - I'll post it here because reasons
 
3:28 PM
check them out
 
@rlemon that would be great if one could just get the image using it's path, I will try
 
i'm off
 
@Mr.Toxy You don't need a path, just a name
 
@BenFortune ignore my last message... - jsfiddle.net/baa2G/110
 
have a pretty weekend
 
3:29 PM
you wouldn't really have a path
 
@KendallFrey for instance something like .DrawImage("image/foo.png"); ?
 
@Mr.Toxy what path?
 
@littlepootis the path to the image file that was created with DataUrl
 
oh wai
wait
I found it
there is a document on MSDN about that
 
3:32 PM
@Mr.Toxy You need to load the image from storage, and then draw it. Canvas doesn't know about URLs
 
@KendallFrey I see. I can load the image onto an image element and then get the src and use it with DrawImage?
 
no
 
use the image resource not the src
const img = new Image();
img.src = ...;
context.drawImage(img, x, y)
let the image load first ofc
 
I've updated the template to include props, just in case
 
3:34 PM
@rlemon oh I see, I will try like that. Thank you
 
45 secs ago, by rlemon
let the image load first ofc
 
@rlemon .Onload should do the trick I think
 
yes it should
 
oh, inauguration started
apparently Hillary is alive and doesn't look like a squirrel
 
@towc The fuck happened?
 
3:39 PM
I thought she just took off to the woods after election day
I bet she went to get an army of russian mercenaries to take over america
 
She didn't need to
 
aaand done with react native
 
They elected one themselves
 
oh no, so she could take over america
not the russians
 
3:41 PM
heh, it would be really interesting if all along hillary had a covert deal with the russians to work for them if she won, and trump knew about it but couldn't say anything out loud for the safety of the USA
damnit onion
 
@towc I don't understand how that could work
 
what's the plothole?
 
Trump would have said something
 
unless he didn't want the russians to be sure that he knew
and if he knew, he graved
 
That's not for the safety of the USA though
 
3:43 PM
and USA would be graved as well, maybe
 
man inauguration takes long
I just want a 15-min speech
 
nuclear war with missiles already under russian power within the USA
but the russians would prefer a swift change of power so they could still get the resources and not put russia at risk
it would actually explain trump's surreal "ignorance"
omg I need to take the tinfoil hat off more often
btw, there's a rootkit in trump
 
I really really hope someone hacks the audio and plays the Russian national anthem.
 
@towc That would explain the hair
 
^
 
3:46 PM
@Luggage That would be gold
brb learning what the russki anthem actually is
 
if that happens, we might have a VR next-gen fallout5 within a few minutes
I think the romanian anthem starts with "stop being dumb, romanian, about the dream of death"
oh, "Wake up, Romanian, from the sleep of death"
 

Canadian national anthem

Feb 25 '13 at 18:34, 5 minutes total – 24 messages, 6 users, 2 stars

Bookmarked Feb 25 '13 at 18:40 by Kendall Frey

 
@rlemon ok Now I understoo what I needed to do inorder to save the canvas as an image and it's downloading that image into my computer.
 
omg hillary's face lol
 
where are you seeing it btw?
I was just looking at twitter gifs
 
3:52 PM
She looked almost ready to shed her mask and go full lizard rampage
 
no commentary?
oh there ya go
jeees you can hear the stupidity...
 
@KendallFrey you probably should be watching TYT stream for the optimal salt mining
 
that sounds violent
 
@tereško hahah
 
fox is pro-trump, right?
 
3:59 PM
not really
 
Ooh, recruitment email from Riot Games.
 
I don't think any news org was pro Trump
 

« first day (2288 days earlier)      last day (2665 days later) »