« first day (839 days earlier)      last day (4124 days later) » 

12:00 AM
what defines an android app?\
 
@BenjaminGruenbaum ok - just so long as you agree this will never come to a consensus :P debates are all fun and good .
applications targeting android OS
> Application software, also known as an application or an app, is computer software designed to help the user to perform specific tasks
 
Hey guys. How would you do this differently/correctly?
$('#tabMore').css("margin-bottom", 0-$('#tabMore').height());
 
where could i've possibly fucked up when grunt wants to access package.json in the node_modules - directory
 
webapp - application software on the world wide web. often delivered to the Web Browser environment.
^ if I had to define it
it's a stupid term
 
Essentially I'm taking the selected element and then ading a negative height to it
 
12:01 AM
@rlemon stop being technical. it's 2.01am here. i get violent "where could i've possibly fucked up when grunt wants to access package.json in the node_modules - directory"
 
var tab = $('#tabMore');
tab.css('margin-bottom', 0-tab.height());
 
I know it's the dreaded jQuery but it's easier than puritan jsing it
 
*.json and a json manifest are two crucial files needed
@rlemon hold on a bit. let me finish m,y macaroni
 
Should we use AJAX to load all of our search data?
Or should each search trigger a new GET request?
 
What question is that? An Android app is an Android app.
If you've not been hiding under a rock for the past couple of years you should know what it is.
 
12:04 AM
and a horse testicle is a horse testicle
 
@SomeKittens how much data?
 
Element.prototype.css = function(a,b) {
  if( typeof b !== "undefined" )
    for( var k in a ) this.style[k] = a[k];
  this.style[a] = b;
}
element.css('marginBottom', 0-parseInt(element.offsetHeight, 10));
 
@skopp Exactly.
 
Text. Not much.
 
@SomeKittens GET
 
12:05 AM
\
oops
 
@SomeKittens if you only have a little data you're probably better off loading it once with a GET request and then querying that. If you have more data you should send a GET request each time.
 
@skopp GET to GET data - PUT to PUT data... ;)
 
!!s/PUT/POST/
 
12:06 AM
rlemon is drunk
 
@rlemon @skopp GET to GET data - POST to PUT data... ;) (source)
 
bastard. close enough.
 
google webapp
 
@skopp Yea, an app is an application. Specify your question.
 
i mean literally google it
 
12:07 AM
Who are you doing to trust. rlemon or MDN... really.
 
@BenjaminGruenbaum ...loading all of our db on the client?
 
webapp is a BUZZWORD
 
what do u notice
 
app is short for application which is software that server a purpose
 
I don't need to google what a webapp is. Been writing them for food.
 
12:08 AM
webapp is a conjunction of web and application - it's an application on the web
jsfiddle is a webapp
 
Yea, that.
 
@SomeKittens if it's a whole DB you should do a get request, this is why I asked how much data
 
my onepage landing page that does nothing but let you read my manifesto is a webpage
does nothing
 
I knowit's a buzzword. You know it's a buzzword. who gives a f
 
seems to me you do :P
 
12:09 AM
social media was/is a buzzword
 
no
 
Obviously I don't get the question then.
 
Wait, let me start again
 
social media is media run by the mass society and not some conglomerate
MSNBC = not social media
Twitter = social media
 
Crowd-sourcing, cloud and the like are buzz-words.
 
12:10 AM
Cloud is a HUGE buzzword
define "cloud"
 
don't forget PaaS IaaS SaaS
 
66 messages moved to Trash can
never happened.........
 
> rlemon has invited you to join Trash can. See your invitations.
 
Thanks for the invite bro. I don't like the bin though.
 
it's a party in there.
I hate that it invites you
 
12:20 AM
Hi my name is
 
...
 
An MVC has a defined structure, not so?\
 
Right. 'nuff time wasting for me. Go screw y'all, I'm back to Stargate Atlantis.
 
@OctavianDamiean
 
Im just gonna shoot with the question
 
12:22 AM
MVC is a design pattern, I don't understand what you mean by defined structure
 
@skopp You can't shoot with questions. You generally ask questions and shoot with guns.
 
it has a defined structure - a model a view and a controller ;)
I shoot from the hip... if you know what i'm saying ;)
 
@rlemon Not sure if I should like or hate you.
Meh, screw it. <3u
 
did you see the unedited one?
 
Yea. :D
 
12:23 AM
:)
He is just such a lovable man.
 
I'm gonna try one last approach before calling the cops
What is a manifest?
 
Wait, didn't you invent the micro love? --> <3u
 
I could watch his laser eyes all day.
µ<3
 
@skopp manifest: readily perceived by the senses and especially by the sight. (source)
 
!!/learn microlove "µ<3 you"
 
12:24 AM
/faceplant
 
@rlemon Command microlove learned
 
@skopp a what manifest, manifests clarify how something behaves. For example a cache manifest tells the browser what it should cache
 
That's what I've been asking all along
 
not true, a ship's manifest is a document listing the cargo, passengers, and crew of a ship, aircraft, or vehicle, for the use of customs and other officials.
 
!!/tell rlemon knock
 
12:25 AM
@rlemon knock knock
 
yes?
 
Okay. My mind is blown. I'm looking at a JSP file. I can do alerts of string-literals at the top and bottom of it. But if I declare a var in a script at the top, the bottom only sees it if I actually assign the var as a property of the window.
 
!!/tell rlemon whosthere
 
@ErikReppen you lost me at JSP
 
@rlemon It's me. I kill you!
 
12:26 AM
:)
 
@ErikReppen .... bad time
 
Had my fun for today.
teehee
 
it's happy hour
 
!!/420
 
@rlemon hehe hehe hehe hehe..... hehe hehe ... hehe
 
12:26 AM
I didn't say JSP was a good idea.
 
m59
now I'm playing with fire lol. Someone stop me.
		var avail = Number.MAX_VALUE;
		for (var i=0; i<avail; ++i) {
			if (!$('#player'+i).length) {
				playerDiv.id = 'player'+i;
				avail = i;
			}
		}
 
I'm just trying to figure out how the hell it works. Isn't this HTML all built and ready by the time it hits the browser?
 
stop
 
HAMMERTIME!
 
12:27 AM
@ErikReppen jsbin.com/oxewuh/1/edit seems to work
 
There is also prototype involved. Circa 2007 prototype. I was avoiding all libraries at the time and I can now see that I was right.
 
 
What a misleading headline: "Jellyfish like breast implants"
 
f u netflix y u no work?
 
Pandora's down too
 
12:29 AM
Good.
go sleep
>:
 
@Benjamin. That's straight HTML. I have no question as to why that works.
 
Pandora works here
 
 
@ErikReppen so what is the question? Can you create a fiddle illustrating your problem
 
@phenomnomnominal It's not misleading, but probably false.
 
12:30 AM
!!/laws
 
...wow. Either I've got quite the temper lately or new users are at an all-time low. Welcome @skopp to my ignore list.
 
@OctavianDamiean Command laws does not exist.
 
Is there a fiddle that handles JSP loaded down with struts, jstl,spring redirect stuff and god knows what else all at the same time?
 
You kidding ...
 
12:31 AM
@ErikReppen like you said, after it comes to the client from the server, it's just HTML+JS+CSS
 
!!/undo 7481611
 
can you upload the server's response?
 
@OctavianDamiean I have no idea what happened: You can perform this action again in 2 seconds
 
@SomeKittens I'm not new. Gimme another chance
 
@phenomnomnominal Thus proving your point! :-)
 
12:32 AM
I'm just looking at the modal that's delivered when you click a button. Just to build the damn HTML there's like 8 config files for this beast. It's a big pile of tiles, nested includes, JSP, JSPF and then stuff getting Ajaxed in the middle with more nested includes inside that.
 
aww screw it, grunt just refuses to run
 
@ErikReppen sounds fun
 
@SomeKittens did you ignore me already?
 
@BadgerGirl magnet:?xt=urn:btih:52727b093169a6119ee1b9bdd28e3672b7034a2f&dn=Star.Wars.Episod‌​e.V.The.Empire.Strikes.Back.1980.1080p.Bluray.x2&tr=udp%3A%2F%2Ftracker.openbitto‌​rrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.is‌​tole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
 
Actually it's kind of interesting. This is the first time in my career I've worked at a company where the app was a complete disaster and there was actually manager-supported momentum to find a way to clean it up.
 
12:33 AM
!!tell me the laws
 
@OctavianDamiean 0. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
1. A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
2. A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.
 
@OctavianDamiean did you, by any chance, watch orf1 today?
 
They tried a total rewrite but that got over-architected and dragged on and on for a couple years while they ignored keeping the actual product up to date with competition.
 
@GNi33 haha
 
12:35 AM
What they should have done is rewrite it with jQuery.
 
;)
 
@ErikReppen Second system syndrome.
 
haha I love tech support -
"Hello Netflix tech support how can I help you?"
"Yes, My account give <error code> when attempting to watch. Now first off: i'm a software designer so please just tell me in technical terms what I need to do"
"Ohh thank the lord this is going to be my easiest call today. Uninstall silverlight - remove the programdata folder and reinstall"
"thanks, bye!"
4
^ this just happened.
 
 
12:36 AM
okay, i freaking suck at command-line stuff, it's official
 
Yeah, well in this case I can see why they wanted to but you gotta stop at amputate/replace at least and stick with simple basic patterns if it's not a complex app.
 
error sh "-c" "node_modules/.bin/grunt" failed with 2
 
I thought of that @Jack when I was saying it
 
what's error-code 2 here?
 
guy had a southern accent too so it made it all sound kinda funny.
 
12:37 AM
heh
 
@GNi33 so recommending using Node.js so you don't have to know all the command line stuff wouldn't have been very helpful I suspect.
 
i am. i try to invoce a grunt-build using npm
m(
well, at least i can log... let's see
 
Pet Peeve: People who pretend to be "smart" about computers but still think the HDD is the only thing inside.
 
OMG There is MORE?!?
(I don't even have an HDD anymore :( )
 
12:44 AM
How the hell can a rendering engine get something so wrong?
 
@SomeKittens did you ignore me?
I'm just wondering how this ignore thing works
 
@phenomnomnominal does it pass validation?
 
@phenomnomnominal What platform/browser combo?
 
@BenjaminGruenbaum Yeah, I got a SSD. They're amazing.
 
@BenjaminGruenbaum, yes @ErikReppen, Windows Phone 7.5 Nokia Lumia 800
 
12:45 AM
How would one know if/when to stop ignoring
 
Yeah that's win 7 basically.
 
I can't believe how faster life is with an SSD, I got my laptop last year, it booted so fast I got one for my desktop too
 
Yep
It's just broked
 
It's the last of the CSS nightmare browsers from IE. I have no idea why they didn't go with 8. It was out at the time I thought.
 
@phenomnomnominal horrible browser :( We (company I work at) had a ton of trouble coding for it and are considering giving up on it
 
12:48 AM
@phenomnomnominal Is the blue supposed to be inside the green or the opposite?
 
@BenjaminGruenbaum, wish we had that luxury :(
We support anything over 1% of browser hits and unfortunately that means some very old stuff
Blue & Red inside Green.
HTML is something like:
<div class='label-value-container'>
    <span class='label'></span>
    <span class='value'></span>
</div>
Those shots just dont have values, but they should still be the same
The whole reason I have to do this is annoying, were removing flexbox, because the API is just a tad to unstable for my bosses liking
 
My IE7 skills are rusty but I'm guessing somebody's relying on pinning absolute-positioned element coords to set layout.
 
hahaha, i'm such an idiot!
 
Not sure why there needs to be red and blue but the auto-resizing based on content in blue would be hard to pull off without something awful like tables. Inline-block works in IE when you set it on inline elements like span IIRC.
 
Just found that. Interesting talk.
 
12:57 AM
@ErikReppen, yep unfortunately they're display: table, and display: table-cell <- necessary evil for maintaining the old functionality...
 
But why do you need values on these? They look like basic nav.
 
Because when a user signs in, they see how many items they have on their watchlist for example
And these elements are used fairly generically throughout the site
^ The current live version with flexbox
 
Okay, so the elements don't really need to stretch out and meet each other right?
 
Unfortunately yes they do
For example there, where the overflow has to work correctly.
 
Ah, gotcha.
 
1:03 AM
Works perfect on every other device/browser...
Damn it Windows Phone is at 2.6% of users...
 
Right alignment: ew.
 
I think I would just make both inline-block with no width set and everything hidden at first. I would right-absolute position values to the right wall and run down and measure the label widths and set that dynamically. Then handle content overflow however you were originally and before setting visibility back to visible.
Erg... that won't work.
 
Yeah, and would be yucky
There must be a CSS solution
If it wasn't such a fucktard to debug... Weinre doesn't work :(
 
How about float values right, clearfix container, fix height of both to height of container. Maybe set label display to block to force right side to be the one that handles over flow when it happens.
Mixed up label with value there. Edited.
Right-side inline-block.
 
I'll give it a shot
 
1:14 AM
I always found float right confusing. You might need to float label left too. But if one is block and one is inline-block, that might force overflow on the one you want when they connect. IIRC you can set something in IE7 to hide content when it runs too long.
 
Funny, we've been getting a few hits from iOS 7
 
I wouldn't be surprised... If they're announcing it mid this year then they must be in the middle of the dev cycle now
 
Yep, sounds about right
 
Riddle:
(function () {
    'use strict';
    // insert one statement here
    eval === null // to make this evaluate to true
}());
 
1:29 AM
eval = null; ?
 
@phenomnomnominal This might do the trick if your plan for handling the value overflow isn't thwarted by it.
 
@EnricoSusatyo SyntaxError: Assignment to eval or arguments is not allowed in strict mode
 
@EnricoSusatyo Hehe
 
@ErikReppen, very similar to what we originally had, that caused other issues with the overflow
 
1:32 AM
@ŠimeVidas what is this sorcery
 
How are you handling overflow?
 
(function () {
    'use strict';
    window['eval'] = null;
    console.log(eval === null) // to make this evaluate to true
}());
Booyah
@ErikReppen, that's why we force it into the table
 
@phenomnomnominal Yes, that will work. I forgot to mention that you cannot rely on any named reference to the global object. Now try again :-)
(as my code doesn't assume a browser environment)
 
Honestly, when the biz reqs are multi-line flexible width ellipsis on overflow, it's time to kick somebody in the balls.
 
(function () {
    'use strict';
    (new Function('eval = null'))();
    console.log(eval === null) // to make this evaluate to true
}());
Double booyah
oh nope
 
1:44 AM
Good job
 
That seems like it shouldn't be allowed.
 
How exactly does that work?
Are strings in function parameters eval'd?
 
It creates a new function that isn't in strict mode, and lets you reassign eval...
 
I got that, still missing how the string is executed.
 
(function () {
    'use strict';
    (function () { 'eval = null' })();
    console.log(eval === null) // to make this evaluate to true
}());
Why does that work?
 
1:45 AM
@phenomnomnominal You can do something awful with conditional comments for IE7 and just jam a table in there. The trick is to conditionally comment comment tags to make the good HTML disappear and the awful HTML pop in to IE.
 
...it shouldn't. there's just a string...
 
I guess new Function just makes a function object from the string
 
TIL Animated GIFs in chat are annoying :)
 
@SomeKittens, i know right?
 
Uh, is that a bug in the spec?
 
1:46 AM
Seems like it
 
Btw, I use indirect eval: (1,eval)('this').eval = null; - so I use eval to kill itself :)
 
At the end of the day, graceful degradation for IE7 is !#@ing retarded. Let it suck already.
 
@ErikReppen, thanks for your help, hopefully I get there...
That feels like a wtfjs moment
 
@phenomnomnominal What do you mean? That last code doesn't work.
 
I think the trick is to do something awful or convince your bosses-that-be it's not worth doing something awful and just let IE overflow abruptly.
 
1:48 AM
Seems to in Chrome?
 
With overflow:hidden of course but it doesn't need ellipsis or anything like that.
 
@ErikReppen, that's why I'm digging through the usage stats :P
Oh no shit
It's because I've already assigned eval to null haha
 
This is why I like B2B. We're dropping IE8 soon.
 
:-)
 
I'm nasty :P
(function () {
    'use strict';
    console.log = console.dir.bind(console,true);
    console.log(eval === null) // to make this evaluate to true
}());
 
1:50 AM
@phenomnomnominal You probably already killed eval with the first code :-) Refresh the page.
Ah, you said that already :)
@BenjaminGruenbaum Cheater :)
 
    also
(function () {
    'use strict';
    __defineGetter__("eval",function(){return null});
    console.log(eval === null) // to make this evaluate to true
}());
 
@BenjaminGruenbaum I get an error in Firefox: Error: Permission denied to access property 'eval'
 
@ŠimeVidas Nice! v8 doesn't catch this (both node and chrome)
should probably file a bug report
 
Wait, what? You've found a bug?
 
@ŠimeVidas, does mine work in FF?
 
1:59 AM
well, technically I'm not sure it's a bug since __ defineGetter __ is non standard, still, firefox's behavior makes much more sense
 

« first day (839 days earlier)      last day (4124 days later) »