« first day (1973 days earlier)      last day (2991 days later) » 

1:00 PM
only that it's not ;)
 
@rlemon proof that he didn't got frozen
but i have respect for him. He gave up his career to care for his children after his wife died
 
@lost If you img to an svg it can't run js, the browser ensures you that.
 
1:18 PM
@Zirak yeah i tried that - but, for animation purposed i'd like to have the img as source within the html
once it's as source and not as <img> every script can run
 
Then you're screwed
 
@Zirak and if it is not as source, i cannot animate it
 
Although there is a kinda hacky way that might work
 
i need to be able to animate those files, but well fuck me then lol
 
1:19 PM
Best you can do is put the svg in an iframe with a sandbox but that won't work on a subset of browser version which support svg but not sandbox
 
^
@Zirak how do you type so fast ?
 
With fingers
 
so the svg is actually a firetruck driving a long on a osm map
 
nice fingers
 
zirak has a high WPM
 
1:20 PM
I will take 5
 
he's lying
 
there is a shit ton of them
 
on hangouts he just smashes his face into the keyboard
 
typed face ?
 
and loading all those in a iframe is going to take performance doesn't it?
 
1:20 PM
I'm statistically improbable
 
it can be up to 3000+ images on this map
 
at my keyboard, i have to use altgr to access to the backtick :|
that delays the speed a bit
 
@lost do you have a server ?
 
my current keyboard sucks for programming
 
@lost Welp, then you have a choice to make. Security vs. performance vs. convenience.
 
1:21 PM
why cant you walk the tree and remove all sources of js ? on server ofc
 
@Abhishrek well i am just developing fancy shit
 
on steam, total war atilla is -75%
 
and yes there are plenty of servers
 
Then use that firepower
 
but, the user can create own gfx as in svg
 
and svg can be edited fairly simple
 
@lost if they want to fuck themselves let them
 
@Abhishrek That leads down a slippery road, at the end of which you have a nasty XSS
 
and everyone else is getting the svg delivered cause others can choose gfx by other players
 
@Zirak what if he removes all, as in ALL onclick, img tags with javascript: etc ?
 
1:24 PM
Then he forgets an edge case and now he's screwed
 
so it would be a huge security problem, just giving them the rights to upload any svg, thats why i thought of a "checker" which reads the source of the svg file and checks if there is any shit containg script which got to be within <script> and also remove all xlink:href cause you can link with that in svg
 
@lost If you're delivering user-generated images to other users, you're going to sanitize them anyway. So that's where you remove any unwanted JS from the SVG
 
@OliverSalzburg that's what i thought of see above our reply
 
Or worse, something new gets added into the spec which allows script execution, but he's no longer maintaining his server and now in the middle of his Hawaiian vacation it gets discovered.
 
@OliverSalzburg help me answer ziraks security problem
 
1:25 PM
guess the only way is to write such a check function
 
@Abhishrek Link?
 
Scroll 400 px up
@lost wait why can't you animate with SVG animations ?
they will work with img (iirc)
 
counting the pixels is more interesting than just posting a link ?
 
@Abhishrek My screen is larger than 400px, but I still don't see what you're referring to :D
 
I'll put it differently @lost, @Abhishrek: Were you familiar with all of these, how to avoid them, and can you ensure any new ones won't affect you?
 
1:27 PM
3 mins ago, by Zirak
@Abhishrek That leads down a slippery road, at the end of which you have a nasty XSS
 
Just render to JPEG and then embed the JPEG in the SVG
 
@Abhishrek if you want to animate a specific part on a svg, a specific polygon - you need the source to touch it?
but if i think of all the things i got to do, to simply animate a light on the vehicle i should actually choose a different option
but i must work with svg, which is the issue - how exactly would i be able to render to jpeg and still animate the elements?
 
@Zirak okay you win
 
@Abhishrek ugh - that destroys the point of svg, having a crisp image :/
+ performance is really important, as i said there maybe up to 3000 images loaded
 
1:31 PM
you do realize it will do exactly the same thing a browser does right ?
Also with canvas you can cache images, not render some svg etc etc
 
@Abhishrek sure, but the fiddle showed different :D and canvg loads the image + converts it, cannot be faster than the browser
 
@lost actually when you are talking about 3000 svg's on a map
html/browser isn't champion on scrolling views
 
@Abhishrek i cannot do anything about that, and it's a extrem situation which still got to work somehow
 
Webgl
 
user3119231
Guys I got this to detect the last row:
 
user3119231
1:38 PM
function getLastRow(){
	var a, b = 0, c = getRows();
	for (var i = 0; i < c.length; i++){
		if (c[i][0].offsetTop > b){
			b = c[i][0].offsetTop;
			a = c[i];
		}
	}
	return a;
}
 
user3119231
can you give me a hint how to detect a certain amount? -> getLastThreeRows? (getLastRows(3));
 
Dammit Nerd³ was right when he described Factorio as cocaine. 109 minutes in and I'm already thinking about it at work.
 
make a dynamic function like getLastXRows(amount) lol
 
user3119231
lel
 
and in the loop ...
Why don't you reverse the array ?
idk what you're doing with that offsetTop
 
user3119231
1:40 PM
Got it. Thanks!
 
user3119231
array solved this
 
Are those elements?
 
user3119231
getRows() returns in this case 3 arrays of <div>
 
Array.from(c)[c.length - 1]?
 
user3119231
hm? from?
 
1:42 PM
@Maurice You seem to be sorting elements based on a criterion
 
user3119231
@Zirak exactly.
 
Once you get them into an array and sort them, it'll be easy to select any amount of elements you desire.
!!mdn Array.sort
 
You pass in your sorting function and voila
 
user3119231
 
user3119231
1:44 PM
okay thank you. The image is just for understanding
 
user3119231
2:04 PM
@Zirak works very fine! Thank you!
 
Rock on
 
Is somebody here able to gradle ? I've noticed this question asked by somebody who's known to ask meaningful questions and pay good answers with beautiful upvotes:
0
Q: lessc exec task not executed in Gradle

Denys SéguretThis is my task: task less(group:'web',dependsOn:checkDirs) << { file(skinsDir).listFiles().each { dir -> if (dir.isDirectory() && dir.list().contains("pmc.less")) { def inFile = dir.toPath().resolve("pmc.less").toString() def outFile = "$buildDir/css/skins/${...

(he's also known to be completely helpless on gradle)
 
Today I just realized microsoft one-drive actually automatically generates relatively accurate tags for picture files, one of them even spotted that a picture was taken in The Grand Tetons
 
@DenysSéguret ugh, my condolences. I worked with gradle a couple months at my old job and it was hell
 
@SterlingArcher I replaced most of my builds with gulp. Cleaner, faster, better...
 
2:08 PM
@PeeHaa I was trying to install it, it seems to be missing a js file, and the link in the repository to just drag and drop the crx file is bad as well.
@KendallFrey That good huh? I almost bought it a few months back.
 
I only discovered it yesterday
 
steam recommended it to me before
 
I almost never look at Steam recommendations
 
looked neat. looked intense tho so I left it alone
 
they're garbage
 
2:12 PM
There's a new game coming out where you wander the city as a cat (potentially different that the one lemon posted yesterday, but potentially same game at 2 different stages of development)
 
probably the same
 
Still would play the shit out of it
 
Try to not die
 
5 years: lead software engineer. 10 years: tech director. 20 years: assimilate with the robot overlords start my own firm
24
 
@SterlingArcher Really? I thought you were older
 
2:16 PM
Probably way sooner
 
he wants to get firm when he's 50
 
@BenFortune thanks? lol
 
5 years: don't be fat
10 years: don't be fat
15 years: don't be bald
20 years: fuckit I'm 50, bald and fat
 
some people have trouble getting firm when they're that old
 
crl
president by 60
 
2:16 PM
@ndugger That's gonna be a problem
 
I'd like to start my own company by... 30-35 tbh
 
@SterlingArcher What sort of company?
 
You can work for me; Nick Dugger Enterprises. We build space ships and produce TV shows.
 
facial grooming
 
I'll win the lottery at 27, so I'll have a cool loan of 17,000,000 from the state to get me started
 
2:17 PM
but we don't produce TV shows about space ships. That would be silly.
 
Some sort of software company for sure
Games would be preferred. Like the next Supercell
 
hire me, pay me millions to do nothing, bro
Make the next runescape. Runescape 7
 
!!s/Rune/Brow/
 
@rlemon Make the next runescape. Browscape 7 (source)
 
If I make a company as successful as supercell, I'll hire all of you at 1 million a year to code at your leisure
Plot twist: it will be in the setting of The Shining. Empty hotel
 
2:19 PM
can I have a garden?
I like to grow corn
 
Once the game is done from beta, most of you will be brutally murdered
 
"corn"
 
you can garden his eyebrows with a tweezer
 
corn is life
 
@rlemon as long as it's a ... maize :O
 
2:19 PM
corn is love
 
corn is a-maize-ing
no sry
 
@ton.yeung supercell is the app-game company that makes Clash of Clans etc. Multi-billion $ company in .. Denmark? norway? Something like that
 
it was bad
Let's all move to Norway. It's amazing.
 
how do you seduce a stalk of corn?
you whisper sweet nothing into its ear.
 
Or we could all migrate to Duluth. I hear @ssube loves it there.
 
2:21 PM
> The great engineering Migration
 
googled "cornye west"
a-maize-ing photoshop job
 
Get out
 
@ndugger :-|
 
Architects don't build things; they architect things. the construction crews build things. /pedanticism
 
@ton.yeung no. The comapny is responsible
If there's no company, yes, you have liability
 
2:24 PM
 
> are they legally responsible for the things they build?
you can't out pedant me
 
> is that true of engineers? are they legally responsible for the things they build?
yes he can, you moron
 
@rlemon are you still hosting caprica ?
 
@Abhishrek no
 
ofcourse you are x)
why isn't six moved to phantom js2 ?
 
2:25 PM
because I'm lazy
 
@Abhishrek That's because Lemon ain't got time for that.
 
@rlemon lol
 
@ton.yeung No, because you always click "I agree" without reading the EULA!
 
@Trasiva vOv
 
2:27 PM
@KendallFrey :O
 
lol
silly skiers
 
@rlemon That is too far-gone
 
150 loc refactored to 2, damn this feels good
haha, not really :D
no, finally got around to build a service that returns handlers using dependency injection, which works a lot nicer
there's still a little gotcha for a special case in one of the helper classes, but I'll deal with this later
will have to think about how to sort this out, the class structure for that one case is a freaking bitch
 
@SterlingArcher lol
 
lmao
brb my screen is going haywire
 
2:33 PM
ohh shit
@FlorianMargaine @Loktar rebecca.blackfriday \o/
if you wanna troll your IT guy today after you finish your coffee show him the empty mug and proclaim "I've successfully installed Java"
it's friday
 
!!cowsay moooooove me to phantomjs
 
 __________________________
< moooooove me to phantomjs >
 --------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 _________________________________________
( this guy needs to calm the fuck down...  )
( where is that grass I was eating?        )
 -----------------------------------------
        O   ^__^
         O  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
crl
a skinny cow
 
!!cowsay moo
 
 ____
< moo >
 ----
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
2:36 PM
Incoming Madara Uchiha moving all the messages to bin
 
Silly people, cows can't talk
 
before someone reports this command for abuse
 
!!cowsay e=-- T=☋ Mooove me and die
 
 __________________
< Mooove me and die >
 ------------------
        \   ^__^
         \  (--)\_______
            (__)\       )\/\
             ☋  ||----w |
                ||     ||
 
my contracting company is pissing me the fuck off
 
2:37 PM
^
@SterlingArcher pls
 
My paycheck is 3 days late now because they can't follow through on shit
First my direct deposit was revoked by accident, then the same person didn't overnight my check to me like promised, so now I'm waiting for it via snail mail and I'm late for the first time ever on a bill
UGH.
No because I just paid all my heavy bills and this was the last one and the rest of the check was for savings
 
If im making a circle via css, is there a minimum size I can make it?
 
@rlemon happppyyy FRIDAY
 
!!> (Math.random() * 10000).toString(36).substring(0,3)
 
@Abhishrek "RangeError: radix must be an integer at least 2 and no greater than 36"
 
2:41 PM
@Loktar lets see if we have jackpot
 
@Abhishrek "1vb"
 
@Loktar ^ No jackpot
 
Is it possibile to put a canvas inside an option of a select?
 
Yeah. It's like everytime I see the end of debt something comes along and fucks it up
I can't fucking type today
 
user image
2
 
2:43 PM
What if you help someone and expect happy feelings from it?
 
caught my eye on imgur
 
@ndugger then you're a shitty business
 
@ndugger you selfish pig
 
@ndugger Shut up, Joey
 
@SterlingArcher Did you at least call them? Sometimes if you explain the situation they'll be a little more lenient.
 
2:46 PM
@ton.yeung My father says just use bare essential keep everything in savings for issues and buy realestate when the savings > 5 year of issues
 
I've called multiple times. My only hope right now before I get late fees and a credit hit is if the mailman doesn't ignore their note to remove my check from the outbox so I can come pick it up today
 
@ton.yeung haha he ended up doing exactly that at 50
 
Oh for real?
That's good news at least
 
@SterlingArcher that depends on country to country iirc
 
@Trasiva I love this video
 
Ever since I started exploring functional programming more in depth, I feel like javascript can actually be pretty clean. I'm starting to understand why some people don't like that we have classes now, not that I agree, but I at least understand.
 
2:59 PM
I have to execute a script often so what I did was make a page with a hard refresh and that's my 'automation', which is pretty ghetto. I might explore Window's Task Scheduler, or I might look into building an .exe shell that can hit the script or something. Thoughts?
 
node cron
 
@Trasiva I was in the video
dugger kill grown up pootis
 
@AwalGarg Adam Klein? Hmmm
 
so i have putted this inside a class, and my text doesn´t rotate...what am i missing here?:
.rodar{

-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
  transition: 10s;
-webkit-transform: rotateY(360deg)   ;
transform: rotateY(360deg)   ;
-webkit-transform-origin: 50% 50% 0;
transform-origin: 50% 50% 0;
}
 
Probably not the same guy
 
3:13 PM
it has to rotate during 10s on Y and stop
 
HAMMERTIME!
 
@BenjaminGruenbaum I can already hear the music of thousands of developers fixing their imports as the spec is merged in :D
 
@AwalGarg well don't be so sure
 
alright, I'm done for today. Have a great weekend everyone! See ya
 
3:14 PM
last I checked people are now actively using transform-decorator-legacy
 
Wait... I don't need a server for an electron app. You can require node modules (like fs) in your 'client' code.
 
@ndugger yes
 
well, that changes things.
 
bonus you can still run headless code and show ui only when you want
IPC in electron is sucky though soo ....
 
Nothing to see here. Move on.
 
3:16 PM
@littlepootis stop trolling
 
Electron is pretty fast, if you ignore the massive bloat caused by it being a browser window...
 
I'm not even trolling.
 
@ndugger in most of the cases the browser window can be kept super light weight
 
Still, you're now including a javascript engine, a CSS engine, the DOM, and all the rendering cruft of a browser vs something lower level.
 
Yes, chromium and super light weight are two things we commonly see together.
 
3:19 PM
@ndugger @littlepootis the entire browser with bells and whistles is what 40 megs ?
install JRE 180megs
 
@ndugger yes but you potentially get the payoff of writing a single interface for both online and offline use
which is awesome
 
Yeah, I'm just being devil's advocate here
 
satanist
 
performance wise you are mostly never going to need Java's or C#'s bloody number crunching and javascript is almost just as fast
 
true
I love to sacrifice kids
both kinds
 
3:20 PM
@Abhishrek how does web-assembly stack up
I haven't looked into it much
 
havent tried either
 
Someone explain WebAssembly in one sentence pls. I've read about it, but I just don't seem to understand it.
 
but asm.js gave a good fight for number crunching math so web assembly should be fast as hell
 
web assembly is assembly for the web
 
3:26 PM
by web he means safer, backwards compatible, browser supported, duck checking assembly
 
crl
Is it hard to run an OAuth provider server?
 
Ah, I get it. The Assembly in the name was misleading.
 
crl
s/na/ga/
@ton.yeung oh, interesting yes, reading
I'm thinking of replacing a local auth with that, since anyway I'd add other oauths
 
@rlemon that article about cuda running on AMD cards is great, however I wouldn't put it past Nvidia to somehow block it
We had a waffle bar at work today
was delicious, only reason I came in on a Friday
 
You otherwise don't work on friday's? Or you mean you work from home?
 
3:35 PM
@crl it's not hard, but you probably don't want to be a public oauth provider
 
@ndugger work from home
 
@littlepootis s/see/read about/
 
not 100% of Fridays but like 80%
 
crl
@ssube yes, ok.
 
I don't like working from home. For me, it's nice to have a separation of work and home life. Working from home reminds me of my startup days
 
3:36 PM
I have a home "office"
so I don't mind it
 
I have a badass setup so I love working from home :p
 
@AwalGarg sorry english what is I forgot last two years I prepare myself JEE
 
@ndugger you used to be a startup?
 
I've been on computers 14-16 hours a day since I was a wee lad, so I easily seperate work from play
 
crl
o <here's a donut, if someone wants
 
3:37 PM
becoming a startup would be fun, get a bunch of free money without a plan
 
@ssube I used to work for a startup.
 
!!tell littlepootis urban english
 
@littlepootis English a language that lurks in dark alleys, beats up other languages and rifles through their pockets for spare vocabulary
 
@ssube LOL right?
 
If I had piles of VC money, I'd spend a few million of it on mac and cheese and eat like a god
 
3:39 PM
hahah
 
Lobster mac and cheese, mac and cheese with truffle something or other, lobster mac and truffle cheese, etc
 
I do love me some mac n cheese. I should pick some up on the way home
 
Also, I really am not a fan of lobster... I don't understand why it's a luxury food. It tastes like dirty, old fish
 
I got flu and gastro, speaking about food makes me want to throw up (again)
 
3:40 PM
@ndugger true
 
Think about drinking an entire bottle of fireball whiskey instead
 
@ndugger lobster in mac is tasty. Get a sharper cheese to compliment the sweet lobster.
 
or I could just not eat shitty bottom dwellers
 
wtf Lobster is delicious if cooked right
I make it every once in a while for the fam
 
3:44 PM
I like crab better
more flavourful and cheaper
 
I'm not a fan of crab really
 
I don't dislike lobster, but if I had a choice...
 
I mean crab isn't bad or anything, just not my fav, fuck being throttled for 9 seconds lol
 
I am allergic to shellfish
 
@rlemon crab is also fantastic, especially in crab cakes.
 
3:47 PM
Crab sucks too
 
I really enjoy a nice crab pasta salad
 
I find its smell suffocating
 
I feel the same about most indian foods
 
I love crab, and I even enjoy imitation crab (which is mostly shrimp, strangely), but lobster can suck a dick.
 
@rlemon which part of India?
 
3:49 PM
the part that makes the food
 
Guys materialize is annoying
 

« first day (1973 days earlier)      last day (2991 days later) »