« first day (1747 days earlier)      last day (3196 days later) » 

"Check this awesome jQuery + SVG loading indicator"
 
^ was just about to post that
 
A loading indicator that needs a loading indicator.
 
does it even answer the question?
 
9:01 PM
I tried but it 404'd on me. I suppose that is why link only answers are bad. — rlemon 5 secs ago
 
so, NAA
 
!!afk laughing at penguins
 
that's mean
cispenguins have feelings
 
fine
!!afk supafly
 
@rlemon wat :D
poor fly
 
!!afk going to work because I'm not a lazy useless bastard like the rest of you
 
!!afk neither am I, noobs
 
that strikes close to home, man.
 
hey! some of us lazy bastards actually work, too!
 
windows 10 start menu had some crap in it, I unpined stuff and now half of it is blank
how do I resize this bitch?
LOOOL it works like a normal window
 
9:14 PM
start menu? Did they move the tiles into a desktop window rather than having the deskop be a tile?
 
the start menu is now a window with tiles in it
 
it's a startmenu
 
interresting
 
but I removed the tiles anyway puts sunglasses
@JanDvorak interesting*
 
So I was just looking up the randy johnson pitch that exploded a bird..
 
9:15 PM
I might give the tiles a shot. I never did in windows 8, i justpinned all the programs I use the the taskbar so I could avoid the start 'screen'.
 
and found a video of it titled.. "Baseball ball hits bird"
> baseball ball
._____.
 
@Luggage please don't
tiles suck.. they're only useful in tablets
 
@catgocat I'm burring
 
don't give them a shot?
 
if you don't have a tablet or a hybrid.. you'll never click on those tiles
 
9:16 PM
I just mean that I won't disable them all right away. I'll unpin the ones i know i wont use and see if the others have value.
 
@Luggage well, only give them a shot literally
 
yea, you're probably right, but I like to give things a shot sometimes.
 
I clicked on the tiles all the time
Idk what you're talking about
 
@catgocat that would damage the monitor
 
also the police would show up.
 
9:17 PM
solution: don't have them tiles
 
i think it's a ticket for discharging a firearm
 
now that I am used to ubuntu, the fonts look weird
 
Shit help
I made command prompt fullscreen, how do I go back
Alt enter!
 
reinstall
fresh install is best
 
yea, up to $1000 fine for discharging a firearm. I won't give the tiles a shot.
 
9:23 PM
now I will organize my files correctly
and not let my desktop become the recycle bin
 
all resolutions are like that
 
Imma read it all and forget it laters.
 
/me installs windows 10
/me goes back to ubuntu dark side
 
Hey, tabbing through different fields doesn't work when a drop down field is opened. Any suggestions?
 
@rlemon Go into CMD, type giberish and hit tab
The error bing is so pleasent
 
9:29 PM
try the arrow keys
 
try exit instead
 
@JanDvorak arrow keys not working.
 
I inherited a bunch of books from my old bosses office
 
I don't like windows' sounds..
for everything I do there is an annoying sound
 
Sounds like life would be easier if you were deaf
 
9:34 PM
failed password > TAN-TAN, popup > TIN-TIN
 
@ssube actually found a more recent version: pubs.opengroup.org/onlinepubs/9699919799
 
Any one knows, about any plugin with
3D flip plugin simillar to this website
http://jurajmolnar.com/
 
How do you make win 10 download?
Mine says failed
 
9:52 PM
so much better to read than... ahem.. es spec
 
@SterlingArcher lol, nice books
head first java, asp.net, and gone girl. staples in every tech office
 
I hate head first
 
Yea, head first sometimes hurts.
 
morning
 
@Jhawins LOL
yeah man we used to do that at stratcom everyday
idc if it even looks weird, I like talking but during work I feel bad if I do it too much
 
10:06 PM
Wasn't the free Windows 10 upgrade supposed to be released today?
 
plus I know you've been busy as hell
 
Yeah
 
@Shea yea it was
 
I think they're rolling it out though so you might not be able to get it yet
 
How do I get it? Updates?
oooh okay
I've been overly excited for this, I'm ready lol
 
10:07 PM
:)
 
mac 10 came out ages ago, windows 10 is way behind
 
my body is ready
but I'm going to wait until the weekend
 
Yeah I'm gonna check it out this weekend
I have nothing better to do
Might as well spend all saturday playing with windows 10
 
BOOOOO
windows 10 update failed at home
:(
 
I have to install a water cooler on my gpu
once that goes well, then ill upgrade lol
 
10:09 PM
@Loktar I am color blind. Coffee black and egg white. Puuuull me out from inside.
 
haha
 
Maybe I ought to make some backups
It says once we make the upgrade, we'll be able to do a fresh clean install
 
Let me know if you run into any problems running games on Win10
Still trying to decide whether it's worth getting a gaming PC, or just waiting for the next iMac
 
Okay. I'll be playing C&C and Civilization series
 
Works for me
Man I love Civ
 
10:13 PM
I don't understand Civ
can't really get into it.
 
Got really into Civ IV
lol
snap
 
I've tried lots of times, Civ IV and then Civ V
lol
 
My problem is that I get too into it, and never finish a game
 
I mean I own them both because people are saying they're amazing and I feel like I'm missing out
 
You are
Just gotta get over the hump
Things get interesting about 14 hours in :P
 
10:15 PM
We are aware of the http://serverfault.com HTTPS certificate issue and are processing a fix with @CloudFlare now.
 
welp, I know I can install from the ISO directly.
so there is always that. :/
 
@ElliotBonneville xD I know right
 
ohai lemon
 
A fresh certificate has been issued for https://serverfault.com/ We will continue to track down the auto-renewal issue with @CloudFlare.
 
put all the files from the ISO on a usb stick formatted with fat32, no MBR. It'll boot using EFI and install that way.
instead of the old BIOS compatibility mode
 
10:21 PM
Yes I did something like that at work.
Worked well
 
can anyone confirm that this test is not aliased? codepen.io/towc/pen/waQXvw?editors=001
 
I dual boot with EFI, using my bios's boot menu. no other menus needed
 
it's for testing the canvas theory I had for making it faster
usual mehod:
  loop:
    fill:
      calculate + render
my method:
  loop:
    fill:
      calculate
  render
 
!!urban syke
 
@catgocat syke Basicly street slang for pretending, used in place of "playin" or "jokin"
 
10:24 PM
should save a lot of computation time
 
@catgocat tiles get a lot done
think of them as extensible google now cards.
 
instead of printing stuff directly to the main canvas, I put it in an in-memory canvas, then at the end of everything, I just draw the in-memory canvas to the main one
it should achieve the effect described above, and according to the test it's much much better
 
@towc yeah thats actually a way to buffer
 
@Abhishrek point is: the browser doesn't seem to automatically do it! I'd really like it if they added a .display() function to the context, so that everything is handled by the browser directly, without using this hack
 
Write a library for it
Everyone will love you
 
10:27 PM
now I just need to make sure the test is saying the right thing
 
make n 3k and then see
 
@towc there is also something smart :3
i used to do
 
call it swag.js
 
render on a 0.75x ish canvas and then leave it on antialiased canvas to scale it up
 
I did try this method on a few of my pens. The outcome is not too great, but the difference is still noticed
 
10:28 PM
other than that i also used this trick for individual maps
where rendering the whole scene was very costly
 
@towc I always separate logic and rendering into different timers
logic timer shouldn't change
 
also @towc batch your colors, you'll save a lot of rendering time that way
 
rendering can adjust to the users performance.
 
don't keep changing the fillStyle
 
@rlemon right, but rendering has usually been the biggest problem in my pens
 
10:28 PM
set it once for each color.
 
also you should be editing the image matrix not painting
 
@ElliotBonneville that's actually one of the things that my new method is much better at doing
 
@towc Have you read this book
Lots of stuff about how/why/when to loop, render, and cache values
 
@towc don't do it for the context in memory either
 
@towc you have worked directly with the image data right?
 
10:29 PM
@rlemon as in, drawImage( canvas, px, py, wx, wy, sx, sy)?
 
context.getImageData(0,0,w,h).data
 
@monners I really expected that book to be about Foundation 5
 
@ʞɔᴉN Ewwwwww
 
@towc ohhhh man are you about to have a new world view.
 
haters gon hate
what's wrong with Foundation?
 
10:30 PM
@rlemon is that any faster?
 
much
 
hmm ... this looks a lot nicer than reddit's page: voat.co/v/JavaScript
 
@ʞɔᴉN Nothing these days, I got burnt hard by it back in version 1 though
 
as in, I know I then have to do a .putImageData and stuff... but that doesn't support alpha, right?
 
ah
 
10:31 PM
I mean, it only has rgb as far as I'm concerned
 
3
A: is there a way to load an iframe asynchronously

CoxyOne problem we had was that while iframes already do load asynchronously, the main page will not fire OnLoad until the iframe has finished loading too. We worked around this by 'faking' OnLoad by calling the method we wanted in a script element at the bottom of the main page, even outside the cl...

text/jscript ! wat !
 
oh, also has alpha! I totally missed that!
 
yeah for px manipulation that will blow your mind hehehe
 
it's also faster for general drawing if you need that kind of performance
 
10:32 PM
@monners thanks! I might
 
jscript is MS's name for javascript.
 
@monners nice link, bookmarked
 
@Luggage it is an entire flavour of ecma
 
!!afk going home
 
@tereško Yeah voat's much nicer than reddit, too bad it isn't more active
 
10:34 PM
yea, but mostly you can treat it like javascript
 
@ElliotBonneville It's a great book. The focus is mostly on animation fundamentals, but using web tech as the platform
 
rlemon so, since I'm not manipulating, all I'd have to do is
mainCtx.putImageData( inMemoryCtx.getImageData( 0, 0, w, h ), 0, 0 )
 
if you are not manipulating you don't render
well, re-render
 
I mean, I'm not changing anything and don't need .data
 
no, that is correct
 
10:36 PM
:D
 
but test if that is actually faster than drawImage
 
yeah, brb
 
I doubt it will be
but you can check the source here: codepen.io/rlemon/pen/gpdoPE and see how one might use that technique
 
@rlemon yup, not faster at all
 
yea I didn't mean for the copy, I more meant for the generation of the noise
 
10:40 PM
are es6 modules singletons?
say I export an object and modify it then import it in several places, will they share the same modification?
 
oh, thats kinda cool..
anyone used the performance api?
 
@rlemon I actually have no idea what's going on... mind walking me through it?
let metabolize = () => {
  let img = context.getImageData(0,0,width,height),
    data = img.data;
  for( let i = 0; i < data.length; i+= 4 ) {
    if( data[i + 3] < 210 ) data[i + 3] /= 6;
  }
  bcontext.putImageData(img, 0, 0);
};
here you just make sure the alpha is not too high
 
Is there anyone that can answer a short question that I am too ashamed to ask on Stackoverflow? :|
 
@ultimatebowser Welcome to the JavaScript chat! Please review the room pseudo-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.
 
10:44 PM
but the numbers are too specific, what effect is this actually having?
@ultimatebowser sure
 
Oh OK.
So today, I figured out that objects, when used as parameters, only get referenced when calling functions, so functions actually can modify them.
So I facepalmed for a minute...
And now I wonder, how to prevent that...
Do I need to clone the object before calling the function or something?
 
finally
I can change the prompt's opacity
 
!!tell ultimatebowser mdn Object.create
 
@ultimatebowser Object.create()
 
I am still flabergasted.
 
10:45 PM
yup, you can only clone it
 
Yup, cloning.
 
I thought C only did this with arrays.
Thank you all.
 
@towc I've drawn a bunch of gradient circles (opaque in the middle, transparent as they move out), now I'm looping over the canvas pixel by pixel and any thats alpha values are greater than the threshold I leave alone, the rest I greatly reduce the alpha value (basically setting it to 0 for most of the lesser ones)
 
Most languages are like that, not just JS.
 
you end up with a metaball efect
 
10:46 PM
@rlemon that's it? 0.o
 
yup
 
metaball effect is cool effect
look at lemon's pens
 
and super simple
 
Objects are passed 'by reference'. That means there is only one object and you onlt pass in a pointer (unless you clone it).
 
@towc That didn't make much sense. Use the !!/help command to learn more.
 
10:47 PM
!!undo
 
yeah, had to be done, sorry
 
I just don't want the bot flagged
 
Thanks! Why I did not realize this after reading 2 books and using JavaScript for over half a year is beyond me.
 
I thought there was some sort of circle-collision physics math behind it...
 
@towc nope
 
10:48 PM
!!/help
 
@ultimatebowser Information on interacting with me can be found at this page
 
simple trick
 
JS is like that.. you can get away without knowing it for a while...
 
@towc in reallity its a different story, on canvas its a trick
 
Haha! I love it so much.
 
10:48 PM
Program Caprica some shame.
 
btw, I have no idea what metaballs actually are IRL
 
JavaScript gives my life meaning.
 
they just look cool, it's all I care about
 
@towc my clouds codepen.io/rlemon/pen/myyjem just a bunch of gradient circles drawn close together with some jitter
then stored in objects so they relate to eachother and not the entire canvas.
 
@towc because it's meatballs
 
10:50 PM
and JS arrays are the same. If you modify the array, you modify it for all references. MDN is clear about when certain functions modify an array vs return a new one.
 
I don't know if I'm doing it right, but the clouds look neat and all.
 
I'm thinking of moving all my projects to bitbucket
 
@FlorianMargaine why ?
 
From where? github?
 
github's stance is not really professional on the censoring side
 
10:51 PM
@towc ohhh do you like landscape?
 
@FlorianMargaine link ?
 
take side with the most vocal one is not really the best one imho...
 
@rlemon ?
 
censoring? I don't follow
 
@towc codepen.io/rlemon/pen/qpFIn both trees and landscape are easy
 
10:51 PM
I use bitbucket as a backup to github. I push there every once in a while, when I remember.
 
and I'm sure you can do something and make them look even better
you have a knack for that
 
btw, it's probably too late for me to understand anything new that's going on in anyone's code...
 
@rlemon ;)
thanks
 
@FlorianMargaine the commit comment thread was a trainwreck
 
10:53 PM
Okay, Windows 10 hasn't became available to me yet with this rollout
 
@rlemon yeah the comments on HN are more interesting tbh
 
It's like youtube comments with better grammar and spelling.
 
lol
 
However I found the Insider program, and download the download tool...
And it gives me an option to upgrade this PC right now
 
@Shea you can force it
 
10:54 PM
Am I doing it right>
?
 
!!malcom in the middle or the office
 
@rlemon malcom in the middle
 
run command prompt as administrator, and just put this: wuauclt.exe /updatenow
@Shea it will then start downloading
 
@CapricaSix yus
 
Life is unfair..
 
10:55 PM
okay I think I have it underway, but if you say so I'll try that instead
 
then just go to control panel > windows updates to check the progress
 
thanks :)
 
no prob, learnt it from @BenFortune
 
That sounds a little safer than what I was trying
 
what were you trying? XD
 
10:57 PM
pouring water on his motherboard
 
it gave me a "Upgrade this PC now" option
w00t it's working
 
my thing?
 
Yup, thanks again
 
no prob, you only have BenFortune to thanks btw ;)
 
Windows Update says "Downloading Windows 10"
 

« first day (1747 days earlier)      last day (3196 days later) »