« first day (1689 days earlier)      last day (3265 days later) » 

10:01 PM
I don't think I get the question
Or rather, I don't get what else you need but that picture ^^
Doesn't it already show the increase in performance perfectly well?
 
Yes but apparently I have to show that I have a linear increase in the time vs amount of records and not exponential or linear
 
Ah, okay
Well then using the correlation coefficient sounds reasonable
 
Anonymous
@NikiC ping.
 
@samaYo pong
 
Anonymous
54 mins ago, by samaYo
is there a way to alter the behaviour of browsers to modify or hide html tags and elements? Like show a new line \n in the source code
 
Anonymous
10:10 PM
??
 
Show where?
Also, you have an XY problem quite likely
 
Anonymous
in the source code
 
@NikiC thanks man, I went to the math chatroom @ stackexchange and there were some helpful people there
 
@ziGi What did they say?
@samaYo You mean as in right click show source?
 
Anonymous
yes.
 
10:12 PM
@NikiC they told me I have to use hypothesis test to explain why there is a high chance that it's linear. Saying something in the lines that there is less than 1% chance that the relationship is not linear
 
@samaYo What are you really trying to accomplish? That seems like a very odd thing to want to do...
 
Ah, okay
 
Man, I haven't used statistics more than 2 years and I start forgetting shit
 
@ziGi Is this some kind of coursework?
 
Anonymous
@Trowski trade secret :)
 
10:15 PM
@NikiC, it's for my thesis, my teacher said that there isn't enough mathematics in my conclusions for optimizing web applications explaining why the results are linear and how they have been optimized
 
Anonymous
Not sure if I am right in assuming browsers have a webkit/api to get info like new lines, intercept them before they are rendered
 
@ziGi Are you sure he isn't referring to why it is linear rather than showing that it is?
Because seeing that graph, I think nobody will really doubt you that the relationship is linear
 
@NikiC well I have to find IF it is linear or exponential or logarithmic and told me to use linear regression to prove it
 
okay, if he was that explicit then you gotta do it ^^
just sounds a bit pointless
 
Yeah, apparently. Actually what I did was, I used DevTools to profile the requests, found the slower ones and then with PHP Storm I did profiling on the slow requests and found out that people who worked on the project have no idea what "abstract" means and what separation of concerns means. There was one "abstract" class with 50+ methods
What actually happens is the fact that for each extracted records from the DB they used to create an object of this "abstract" class which wrapped the database row and the abstract class contains all functions which might be used to parse the record (I mean all the functions for all different DB tables) so you can imagine that for 3000 records the memory and processing was already quite slow
Cause they are using something like a Mapping array to say how the fields from the back end are going to be parsed to be properly outputted. Something like a Presentation Model of Martin Fowler, but not exactly
Ah, and the nicest part was that for each record, the mapping array was parsed to extract for which DB column, what parsing method has to be applied
Sorry I got carried away :D I just wanted to share some personal frustrations
Of course, using pagination remedies the whole situation quite a lot. However, there are still places where something like 2-3 thousand records are loaded because of improperly implemented front-end requiring such information to work.
 
Anonymous
11:01 PM
lightbox is not easy
 
Anonymous
@tereško cast you to hell :)
 
it is easier than tooltips
also, the "how good it is" depends purely on your own skill
thus it serves both as a good exercise and self-assessment of skill
 
Anonymous
Hard to make one, which is less laughable.
 
can lightbox handle html etc, or is just for images?
 
Are you guys talking about lightbox the library that displays videos and dims the background?
 
11:04 PM
*forms, etc
 
Anonymous
small html for the close btn @GeoffreyHale
 
@ziGi I was going for "displays image"
but the content of the lightbox is actually secundary
 
Anonymous
problem is I'm not well versed with the data- attribute. And I don't want to use onClick events.
 
Anonymous
otherwise, it would've been easier :/
 
@samaYo the data attribute is just an attribute… just without special function.
 
11:19 PM
Ladies and germs, I wish you a pleasant night. I am off to hit the hay.
 
Anonymous
@bwoebi yeah, but that is the recommended way to manipulate and make changes to the dom object right?
 
@samaYo huuuuh?
maybe with some framework in background…
 
Anonymous
I mean, if you were to store some div-specific info that is not supposed to be viewed in the browser, you would have to create a data attribute right? ex: <div class="foo" data-secret="foobar">content<div/>
 
@samaYo that's the purpose of it. As long as it makes sense to bind it to DOM.
 

« first day (1689 days earlier)      last day (3265 days later) »