« first day (926 days earlier)      last day (4009 days later) » 

3:00 PM
@zirak isn't yyyy-MM-dd the ISO standard?
 
Room, advice. I'm helping my dad with a small website (if any of your remember). I have to deal with someone (from the university's computer center (which is different from the computer-science one which are pretty cool guys).
That someone seems extremely incompetent buy feels like he is entitled to give me a lot of 'important advice'. I have a lot of disrespect to him (he seems to be in charge in changing the University's website form something that looked good and was coded pretty well to DRUPAL a few weeks ago and now it's so good that it includes both jquery1.44 and jquery1.44.min, it looks horrible. ). How do I act around him?
 
!!/define "ISO 8601"
 
@canon No definition found
 
!!/google "ISO 8601"
oops
 
3:01 PM
Probably, I'll tell him everything I think and host the website on my own vps :)
 
How does chatbot have rep? /clickity
 
@BenjaminGruenbaum Do you see yourself needing anything from him in the future?
 
34
Beer

Proposed Q&A site for connoisseurs and lovers of Beer

Currently in commitment.

 
Damn this is bad ass
its like having a real-time compiler while you're writing :D
 
@SomeKittens I don't want to get myself into bad terms with him because we'll be working at the same place for some time, but he is not in charge of me and I don't need his services. My dad might.
@tereško Unrelated question. How do you deal with your asshole boss professionally?
 
3:03 PM
@BenjaminGruenbaum You can: A) Be nice B) Tell him off C) Troll him.
 
Shit ... chocolate doughnut and a white t-shirt.
 
@AmaanCheval Scrap it, that plot sucks for a text adventure.
 
@XCritics I fucking hate sublimelinter, I used to love it but it keeps bugging me instead of fixing my fuck ups. I don't care if I have spaces and tabs, I want the IDE for fix them (like ReSharper does in Visual Studio)
 
You're lazy.
 
I have a feeling SublimeLinter would dislike a lot of my code. I tend to ignore some bits of "recommended" style.
 
3:04 PM
A's not very pleasant, B might get you in trouble. C is the best. Whenever he gives you "advice," agree and then offer even worse advice. Repeat until he breaks something critical and then swoop in and offer to fix it all. You get a good website, mad rep with the higher-ups and he's out of the picture.
 
@SomeKittens Trolling can be fun :) I sent him an email a few minutes ago about his suggestions
 
I lint on build, not change. I find that autolint breaks my concentration.
 
@BenjaminGruenbaum depends of which aspect makes him/her "an asshole"
 
@tereško not knowing, but worse not knowing that you don't know. Still, dispense plenty of 'helpful advice'
 
get a better job
 
3:06 PM
^^^
 
@SomeKittens He said 'the site doesn't follow some blah blah blah and is only a temp fix blah ' and I asked "Great! Would you be willing to code one that does follow the university new guidelines? Thank you so much for your help"
 
jsfiddle.net/rlemon/zhqUJ @Loktar yo, how do you loop images like this? would I have to reset the offset. jsfiddle.net/rlemon/zhqUJ/1 ok but this is only smooth if I make my last portion of my map identical to the beginning portion
 
It's not my Job, it's a favor for my dad
 
is there a elegant want to slice up the single image and rotate it?
 
My boss would never say anything like that
 
3:07 PM
.. i have a same issue with tester , who gives me advice on how to fix stuff
 
How do you deal with it?
 
@BenjaminGruenbaum Add a "I know someone with your skills should find a fix like this easy" so he can't put it off
 
first fiddle errors on me
 
@rlemon Failed to load resource: the server responded with a status of 403 (Forbidden) i.imgur.com/wd1kjmJ.png
 
yea
just open it in a new tab
then refresh the fiddle
 
3:08 PM
@BenjaminGruenbaum that ancient art of ignoring stupid people
 
@SomeKittens LOL, that could work, talk to him like he is 'a great coder' and 'a guru to us all' and stuff like that. That could be priceless
 
@BenjaminGruenbaum It's the oldest trick in the book for manipulating people
 
I've used it plenty of times for people who claim to know everything about computers.
 
5
A: scrolling/sliding background in html5 canvas

LoktarTheres a few ways to achieve this the first one will take a performance hit using putImageData, the second method just uses drawImage. Also note the 2nd method has the code to make it go either from left to right, or right to left. http://www.somethinghitme.com/projects/bgscroll/ var ctx = docu...

 
3:09 PM
@tereško I need him for hosting the site. He said he needs to review it for code security problems... AFTER I told him the website (it's a landing page really) contains NO SERVERSIDE CODE .
 
@Loktar Getting some horizontal shearing
 
I put on "use strict"; for the first time, now console is undefined for console.log? wat?
 
tl;dr you are pushing the second tmp canvas then back to the original canvas ??
 
@SomeKittens yeah I noticed that too
 
I said so 3 times and he still wants to 'review its security'
 
3:09 PM
@rlemon yup
 
@BenjaminGruenbaum well .. let him check it
 
so in essence you have two images and you just keep looking the one then the other then the first again?
I though about this, but then got lazy and asked you
ha!
 
@BenjaminGruenbaum so? html/js can be subject to security issues
 
@BenjaminGruenbaum Let him. Either he does it quickly, or you can talk to his boss about how he's "Holding up a critical project"
 
3:10 PM
He did check it, he said 'There were no special issues' so I asked 'well, what other security issues are there?'
 
well one image, but I just take a portion of it and copy it to the temp canvas, and then tie the other half to it so make it keep scrolling
 
yea
tmp canvas i consider a second image
same image, second 'image'
 
@SomeKittens There is no 'boss', my dad is his superior but is not in charge of him
 
damn, I need to really read your blog
 
@BenjaminGruenbaum JS sites can be vulnerable to XSS in some cases
 
3:11 PM
and not just link ppl to it
 
@rlemon its not on my blog :?
I should probably make more articles
I have a dir /projects
and /snippets within projects
 
@BenjaminGruenbaum Then tell your dad
 
@tereško @FlorianMargaine What XSS attacks? It's a static page, there is no user interaction
 
has a ton of random stuff
 
"Yea check out this blog it's great!" <- never read anything on it
 
3:11 PM
@BenjaminGruenbaum sending to other website
 
@Loktar are they listed or private?
 
@Zirak My dad doesn't understand the technical terms
 
listed ish
 
i'll surf them
 
3:12 PM
I dont mind if people look through it
^ more random stuff
 
@BenjaminGruenbaum He doesn't have to. Tell him he's holding you up and being a retard
 
@BenjaminGruenbaum i think you might got the wrong chat room .. THIS IS NOT ROOM FOR CLAIRVOYANTS
 
@Loktar Oh, your 2D lighting one was pretty amusing
 
@AmaanCheval thanks, thats one I actually did an article on
 
.. it's a common typo .. the keys are righ next to each other
 
3:12 PM
You're the one he put in charge (and you're his son), so he'll probably listen to you
 
I'm just ranting :)
 
one of my fav things to play with I need to add some user interaction
you can zoom in/out with the mousewheel
 
I'll be back later, quiz tomorrow, bai room
 
I dont want to be at work today
Im launching a kickstarter soon, almost ready to go
hoping itll be launched by the end of the week
 
@copy for([m,p]=readline(s=i=' ').split(s);i-2*p;)print(Array(~~(+m+Math.sin(i/p*2*Math.PI)*m+!!i++)).join(s),'*') works for the first two problems, but fails on the peaks of the third problem
 
3:14 PM
@Loktar Ooh! Exciting!
 
you guys want a sneak peak??
 
YES
 
/me wants to show it off
bottom image is fully generated from the program
well, I mean all of the images are
 
So it takes one sprite and modifies it so you've got 100?
 
@SomeKittens it creates the sprites for you basically
you just provide it with some template data
 
3:16 PM
@Loktar snap to grid option?
 
nice. That also could be useful for logo design.
 
@Shmiddty eh not really, its mostly an image generator, so youll take the images and apply them to your game engine/ect.
 
@Loktar so only one click then? I'm going to have to complain if I have to click more than once.
 
I want to work on it full time though, so Im going to see if the kickstarter takes off.
@Shmiddty haha well its a few more clicks :P
if the kickstarter does poorly ill just continue in my spare time I suppose
itll be explained in the video! :P. Seriously though Im a shite artist
and I made some templates that generated those..
 
Looking forward to it!
 
3:19 PM
so idk, its pretty badass imo
 
I'd worry that it's a one-trick pony. What else can you offer us backers?
 
Updates, like new images etc?
Sounds?
 
@Loktar you own spriteboost.com?
that is badass dude
badass
 
@rlemon share your fiddle! I'm following along here :)
 
my fiddle for what?
the background stuff?
 
3:24 PM
@Loktar Gasp! Is that how they made realm of the mad god?
 
i'm just going to copy what Loktar does
 
@rlemon yeah
Ok wheres that then :P
 
view-source
it's fairly simple to follow along
 
PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil perpetrated by skilled but perverted professionals
 
@rlemon yeah :P
@rlemon heh wasnt supposed to be live yet though
lol thats my test page
@Neil no, some dude drew each of those
@SomeKittens what do you mean?
You make the images, like you provide the program with a template
and it generates images based off of that
 
3:35 PM
why no work jsfiddle.net/U5uhm
 
You're like, hmm I think a dude sort of looks like this, puts image in the app to see what comes out
 
@Loktar What backer rewards will you have? What are your long-term plans?
 
backer rewards are something im still thinking about
 
@Loktar when you have a kickstarter link lemmy know
 
short term is get the app out, long term is tons of badass features, possibly sell licenses to the code too
 
3:36 PM
how do i pass arguments while firing .click(); from jQuery ?
is it even possible ?
 
@rlemon will do
 
@loktar I like the idea of name characters after backers, or even making a character based off a backer.
 
Backer rewards should be stickers/tshirts/name on 'awesome people' page + in the source code (in a .txt or something)
 
Top tier of coarse
 
It just seems like a feature, not a full product.
 
3:37 PM
@mikedidthis well I think you guys dont understand it fully..
 
hey anybody here knows about some offline app for google analytics? i'm on macosx
 
Its not like, heres a program with some guys
you can make whatever you want with it
its a procedural generator for game assets, but you provide the template it needs to go off of
 
heres a program for you to generate massive amounts of unique sprites for your game in mere seconds
 
^ yeah basically
but they all dont look the same, those are just some examples
 
If you were to make a RotMG clone based on that, then I'd see success in your future.
 
3:38 PM
but it's not a game
 
its mainly there to bootstrap game assets for indie devs
 
it's a game developers tool
 
^
similiar to things like filterforge.com
 
I'd back it
 
oh oh oh found zoltanhosszu.com/gaget yeah!
 
3:38 PM
I fucking HATE making game graphics
2D or not
 
@Loktar like 100% random?
 
yeah same here @rlemon
 
So show it off. If it's a game dev tool, make a game as an example.
I think it's a really cool idea, don't get me wrong.
 
@mikedidthis sort of, you provide it with the constraints
@SomeKittens yeah Ill make a few example demos
in the video ill show how it works too
 
@rlemon i agree with you , but do you like games?
 
3:39 PM
@Loktar remake Zelda
 
Ill probably show how to make a tree or something
 
^that
 
@rlemon lol
 
no I hate games. for fun I sit at home and paper cut the webbing of my fingers and toes
 
thats why Im thinking of providing license to the code too
so people could include the generative code in their game
make things on the fly, or different species of things, etc.
 
3:40 PM
@Loktar seriously.. Zelda wouldn't be a hard remake with the graphics all 'generated' for you
 
@rlemon well, theres one main thing not done yet, and thats animations
 
think about the game mechanics.. they are (for the most part, and for a SIMPLE clone) easy
yea the animation frames are a must
 
Im still working on that portion, animating random procedural dudes is hard
basically I need to track the changes between a frame and apply the same randomness the parent sprite has
same colors, etc.
 
animating the ships so their 'engines' produce some glow or fire would be cool
swords with a shimmer or a swipe action also
 
yeah ill probably animate the tanks, and show the tracks moving
of course simple rotations and stuff arent a prob either
 
3:41 PM
@rlemon bro, see anything wrong? jsfiddle.net/U5uhm
 
retroships.com is based off of the same code too
if anyones familiar with that. So its pretty flexible what you can make
Making big complex objects is the most fun though
 
nope but i haven't actually implemented Lokes codes
just read them
 
@XCritics ...please tell me you're joking
Look at it again and look at the console
 
@Loktar retroships when ships collide make them explode as well
 
@Zirak sorry that was the old link, I added in the canvas
 
3:44 PM
atm it appears they just remove
 
@rlemon lol yeah
 
@Zirak something about security errors and stuff
 
wait, they should blow up when the collide as well
yeah they do
 
@XCritics run the code locally and download the image
 
most die that way lol
 
3:45 PM
@Loktar they don't appear to be on mine
 
weird
 
I see explosions on bullet collision
:/
 
I hate the community of people who play blizzard games. Their forums are such garbage.
It's all about how big your epeen is, or how someone else is negatively impacting the size of your epeen
nobody actually wants to play the damn game and have fun, they just want to be able to say that their epeen is as large if not larger than everyone else's epeen
 
my gf plays because she says it's like going shopping at a mall. except instead of stores there are runs and instead of fighting through crowds you fight through daemons.
 
@rlemon I used to play. But then I got bored.
There just... wasn't enough there for me.
Sure, I can get bigger and better stuff, but who cares?
 
3:53 PM
some people
lol
I never understood the aversion to with(obj){}
function run(scene) {
	scene.clear();
	scene.updateEmitters();
	with( scene.context ) {
		save();
		translate(cX + tXO, cY + tYO);
		translate(-tXO, -tYO);
		rotate(angle * _PI180);
		drawImage(turret_img, tXO, tYO);
		restore();
	}
}
 
@rlemon I think it is because it can potentially create scope confusion
 
just seems so much cleaner than creatign a var ctx = scene.context then ctx. all things
and it's fast as well in all browsers tested
is scope confusion really the only reason?
 
@Shmiddty You're doing it wrong :-P
 
wow, my last 'improvement' raped performance.
I can't get more than 30fps
 
@copy obviously :P
 
3:58 PM
@rlemon I get 62
 
@rlemon 60 fps nbd
 
@rlemon Works fine for me
No lag either
 
@Shmiddty More hint: Think of how you add .5 and floor to get rounding
 

« first day (926 days earlier)      last day (4009 days later) »