« first day (922 days earlier)      last day (4025 days later) » 

4:00 PM
'nuff I need an extended break.
 
'njoy
 
@mikedidthis I got it to go up in size..
 
:)
Sorry I didn't have time to look, I am fudging shit my side.
 
No worries :)
 
@eazimmerman unoneboxnowplz
 
4:04 PM
Are you self taught? I take it you haven't done any courses at your age?
@mikedidthis
 
1 message moved to recycle bin
 
@BillyMathews How old do you think I am?
 
you said you were 16?
 
And yes, self taught.
No I didn't.
 
That was I.
 
4:05 PM
Oh
Like I said
 
I am nearly 30 @BillyMathews
 
Today is not my fucking day..
 
HA!
 
Hahaha
 
But you are self taught? :o
 
4:05 PM
No day is your fucking day, I'm afraid to point out
 
@BillyMathews Yeah. A lot of the regulars here are
 
Actually, seeing as I am god...
 
Allow me to laugh for 2 whole minutes
 
;)
I'm self taught aswell but going to to a .NET course next month..
 
Yeah I am self taught.
Well I had some guidance, but I didn't go to school etc to do this.
 
4:07 PM
Yeah
My 'guidance' has been SO
 
My code-golf idea is too involved
pig latin golf
 
well, I work in an office with 2 other software developers but they have only given me some pointless advice with CSS so far >.>
 
Ahh, I am more a designer / CSS person.
 
CSS has nothing to do with software development
 
I know
 
4:09 PM
@Zirak oh man, that was good...
 
@Shmiddty what did u say ?
HOW DARE U
 
seriously
 
NOTHING, I SAY!
 
do u have undefined brain or something ?
or did you ran java inside your head ?
or did some thought in your brain somehow got its null terminator curropted and now all you are thinking is garbage ?
 
@Shmiddty I was working on some CSS through SVN and they gave me some stupid pointless advice
 
4:10 PM
or did the import logic failed ?
 
@Darkyen An application can function without CSS, correct?
 
@Zirak Hahaha
You're a funny dude
 
!!s/funny/crazy/
 
@Shmiddty You're a crazy dude (source)
 
Stupid question, but anyway to read a class from a stylesheet?
without applying the class to an element in the dom / temp
 
4:13 PM
BURN
 
bro, calm down bro
 
ty
Nothing ever happened
 
ha! nice!
 
@Zirak can !!/undo be tied to a room pls?
I hate !!/undo kills the last message from other rooms
 
4:16 PM
It works per message id
Technically possible
 
omfg, seriously this should be so easy!!!
 
Can you submit on github? I'll forget it in a day
 
			while (height != parentheight) {
				width = width + (parentheight - height);
				height = width / ratio;
			}
All Im doing now is basically doing height: 100%
this is really pissing me off I've been working on this for about 4 hours
 
Any SQL Master here ?
 
@user13814 You might try SQL chat, I'm sure there's one of those
 
4:21 PM
My SQL Server is on fire, need help..
 
@user13814 call a fire brigade?
>.>
 
And your first fucking reaction is to go to a random chat?
 
Just drop table all of the things
 
Not, I don't know, the people who are in charge of handling fires?
 
see, you need to drop before you can roll
handling fire 101
 
4:22 PM
Calm down people, I put it in a water bucket
 
@Shmiddty an application can function without anything
that doesnt proves anything
 
@Darkyen CSS is just presentation.
It has nothing to do with development
 
by saying that you mean that every language has nothing to do with development then binary
@Shmiddty my ass css is just presentation.
 
@Darkyen if it isn't just presentation, then you're doing it wrong.
 
4:24 PM
the amount of workload css takes on its own head is crazy
@Shmiddty maybe i am but i love what i do with it :P
 
what @Darkyen said
 
@Shmiddty try this k ?
 
@Shmiddty there is no sql chat room
2
Q: How to create a HyperLink field out of SQL query

user13814In reference to this question of mine, GridView Table 1 related to Table 2 I got a gridview which looks like this at the moment, Here is the SQL fiddle Question: How Can I create a HyperLinkField with FruitTitle and link to fruit website ? This is the code I am using for displaying Types_...

 
@user13814 pretty sure there is
 
MGE
Hello, Im refreshing an ul list, and before the refresh my script get information in the list, but after refresh, it can't get new information. I think that is due to document ready... how can I get the information?
 
4:26 PM

SQL

Got a SQL question? Any SQL flavor here, just ask. Indicate yo...
 
@Shmiddty it was last active 5 days ago..
 

MySQL and relational databases

Ask your question, and then hang around a while to see if an e...
 
@Shmiddty thats mySQL not sql but thanks
 
zzz go away
 
@SomeKittens hey, what was that fix for Heroku to get my page going
heroku scale web=1 or something?
 
4:28 PM
@MGE don't repeat the same message
 
MGE
sorry
 
@MGE make a fiddle
 
user1125394
men, just a question, is it stupid, in a program to encode in json, and then to encode in byte[] (as utf8) to send it in IO? is the json inside, in text format a bit stupid to do, instead of a delimiter-based stuff)
 
wat
 
user1125394
it's a sort of double encoding for me
 
4:30 PM
@c'c Take a look at Binary JSON
 
user1125394
k
 
@rlemon, it now scales up correctly..
			while (height < parentheight || width < parentwidth) {
				width = width + (parentheight - height);
				height = width / ratio;
			}
but what if its bigger?
 
user1125394
@Zirak perfect, need to fin that shit in c#.net though
 
@Shmiddty make a C++ program using nothing but just basic DirectX functions and make a fluid app init , then you will realize how much just the % unit in CSS takes off u , not to mention selectors , shadows counters, transitions , animations , key frames .... there is lots in CSS ..
 
Look for a library
Or make one yourself
 
4:32 PM
it needs to scale so its the smallest It can be whilst still being bigger than parent
 
user1125394
yep
 
@BillyMathews look at the draw() method beta.lemonmeme.com/js/app.js
this is how I scale images
 
@Darkyen Presentation is presentation is presentation, regardless of what technology you use for it.
 
I don't care about scaling up however, so you can just check to see which way to scale then run the code in reverse or normal
 
saying css has nothing to do with development is the dumbfuckest thing i have ever heard in my life
even @rlemon will agree me on this
 
4:33 PM
Really? You must not talk to a lot of people.
Having said that, has anyone really been far even as decided to use even go want to do look more like?
 
@Zirak u have seen screenshots... hush
 
css is now (with html) turing complete.
 
@Zirak normalize();
 
CSS is important to know, but it's a tool in the tool kit
 
urgggh.
 
4:34 PM
you can do conditional logic in css
 
@BenjaminGruenbaum thats true with everything .
 
@rlemon I'd call bs on that, but I don't have the willpower to argue
 
and every language
 
it's a tool yes, but it's bordering a language. needs a few more constructs but yea
 
It takes a bit to grasp (about 3-4 weeks) but after that you pretty much know how to use it
@Darkyen I'm still learning to use JavaScript
 
me too ^
@BenjaminGruenbaum i guess you are just practising it..
like most of us here :P
 
Years later, I'm improving my JS skills, I can't say that about CSS
 
@rlemon
 
I'm not practicing, I'm actually improving my JS skills, coming up with new techniques
 
ps i learnt something about css today
 
4:35 PM
actually dw, sorry
 
shitty, github link is broken on that post
 
basically as per the spec you can use counters inside calc
and calc could be used to do literally evrything :P [ where the value is going to be a number ]
 
Right, but you shouldn't :P
 
@BenjaminGruenbaum its very helpful in some cases
 
I improve my css skills and techniques all the time
 
4:36 PM
for example transition - delay on elements is proportional to their index
 
css is also growing and can do some crazy stuff. however most people just write it off as a 'presentation' tool and leave it as that
which is cool, but it isn't just a presentation tool anymore
 
@rlemon The difference between a fair and very good CSS knowledge is rarely very important, the difference between a fair and very good JS programmer is another digit in their paycheck.
 
@rlemon I don't think it should be more than a presentation tool
 
Its like calling an SVG just an image
 
It's scope creep.
 
4:37 PM
CSS is a complicated as you want / need it.
 
Also, yeah, I'm with @Shmiddty . Keep CSS to presentation
 
@Shmiddty whether or not we agree with its progression is another argument, however it has progressed to this point.
 
@Shmiddty do you use a phone ?
 
If you do some logic/animation with it, I can live with it, but definitely not the focus
 
@Darkyen what's a phone?
 
4:38 PM
Ignored.
 
It's that thing you don't use to call people with
 
Oh right.
My bad, stupid questions tend to dull my senses.
 
Use the easiest tool to get the job done where easy doesn't mean fast as much as it means maintainable
3
 
			if ( height < parentheight || width < parentwidth ){
				while (height < parentheight || width < parentwidth) {
					width = width + (parentheight - height);
					height = width / ratio;
				}
			} else {
				while (height < parentheight && width < parentwidth ) {
					width = width - (parentheight - height);
					height = width / ratio;
				}
			}
 
^
 
4:40 PM
The Principle of Least Power is something humans tend to break.
 
infinite loop there somewhere
 
@BenjaminGruenbaum I'd like to add. The tool must not be over simplified
 
@BillyMathews wtf...
 
I think ima go jump off a bridge quickly.
 
Go take a break
 
4:40 PM
There is a fine between doing and over doing things, people like me often over do css.
 
I know how to write very functional code, I'd rather (in my personal projects) use map/reduce/filter a lot more often than for loops. I code very reactively and not procedurally, never at work though. At work I always try to write the most procedural and understandable to non-js-geeks code
 
Go to the toilet, get something to drink, relax for 15 minutes, and come back, solve it on pen & paper first
 
@BenjaminGruenbaum same
 
@zirak okay.jpg
 
You probably wouldn't like my JS code at work, but my boss who is a C# programmer and not a JS programmer can go right into it and make changes, that's much more important to me than writing elegant code that I like
 
4:41 PM
@Zirak Always good advice
Except when you don't want to come back
 
@BenjaminGruenbaum same, my boss is a python genius
and Objective C person
i try to keep the code as close to "c isque" as i can , and if i use some shiny js tool i will add a comment
for example for hash change event. , link the mdn
 
On my spare time, I do cool shit though, implementing parsers for languages in JS, doing silly shit. Trying to figure out how @rlemon 's css hacks work. I learn from writing hacky code, just not at work.
 
@BenjaminGruenbaum rlemon's css hacks o_O ?
 
I tend to write my code at least two times
 
@rlemon present your css hacks in front of me , now!
 
4:43 PM
@Darkyen Implementing conditional logic and modal alert boxes in pure CSS, that sort of stuff
 
the 1st is 'make it fucking work' 2nd is 'make it read / maintainable'.
 
@mikedidthis Quantity over quality is also a very important idiom in coding. I used to write a lot of code like that and I still do sometimes.
 
No no no no. Steam's servers went down for routine maintenance. All my progress in Bit Trip Runner is gone right now.
 
@Darkyen hehe you know of most of them
just regular stuff
radio hacks et al
var ratio = width / height;
if( ratio < 1 ) {
	while (height > maxheight || width > maxwidth) {
		height = height - (1*ratio);
		--width;
	}
} else if ( ratio > 1 ) {
	while (height < maxheight && width < maxwidth) {
		height = height + (1*ratio);
		++width;
	}
}
 
4:44 PM
@BillyMathews however I may have that ratio >< 1 deal backwards
 
@mikedidthis Especially when writing code for myself. Work projects are usually too time-pressured for this.
 
@BenjaminGruenbaum yep totally.
I think that's the saddest story I hear. Companies who give zero time for devs to learn / improve.
 
After I got all your love time for some hate :P I have to say, I'm enjoying python so far, but it seems like a less competent version of JavaScript (Tell my family I loved them)
@mikedidthis Some devs never have time to improve, no matter how much time you give them. Some devs improve even in the worst of situations. While I like stuff like the 10% policy a good developer will improve regardless (but not be as happy) and an uninterested developer probably won't evolve much in the best environment
 
@BenjaminGruenbaum that is very true. You can tell who codes for the love and who codes for the money.
We all need money, but I would hate to do a job I didn't 'enjoy'.
 
The longer I code the quicker I tell which is which :)
When hiring seniors it's more apparent, when hiring junior developers it's a bit hard to spot. I like questions like 'what open source projects do you like and why?'
 
4:48 PM
@rlemon why are you checking the ratio?? that will never change?
 
@BenjaminGruenbaum What's the answer to that for yourself?
 
@rlemon, also why do you do 1*ratio surely that = ratio?
 
@BillyMathews Don't be so sure.
Kidding :P
 
Was gonna sy, 1*anything = anything
am I wrong?
 
@AmaanCheval Codewise I really like v8 because it's very readable even though it's C++. I like CsQuery (Which I keep telling Jamie when he is here) because it saved me many hours. I like node.js for obvious reasons, I like a few Israeli projects that are fighting corruption (we have something called Public Knowledge Workshop where we gather up and code FOSS every week making information more accessible to citizens)
 
4:51 PM
@BillyMathews you check to see if you are scaling up or down
 
I don't get why you need this seemingly complex logic
 
if the image need grow or shrink
 
You already have the ratio
 
@AmaanCheval I can go on and on really, I really like Linux, it's a great concept, I like Ubuntu for being a free viable alternative to Windows. Linux taught me how kernels work :)
 
but the ratio is the ratio
it doesn't have anything to do with
it
 
4:52 PM
Hang on, I had a c# snippet for it
Wrote it not too long ago for image resizing
 
the ratio has nothing to do with scaling ?
you should probably find that bridge soon
 
No thats not what i mean
>.>
It has nothing to do with checking whether you need to scale up or down
 
Sure it does!
 
how so?
 
@AmaanCheval I really like PHP as an open source project, shoot me, the fact that relative non-experts made something so functional that dominated the web for a long time and forced other server-side to evolve so much awesome. Please don't tell the PHP room.
 
4:54 PM
it determines what factor you are using as your set point. height or width.
if width > height then you want to stop it at max width, however if height > width then max height so no clipping occurs
 
@good logic but not neccesarily true..
 
my code is probably wrong, but so is yours :P
 
@BenjaminGruenbaum Hahahaha
 
beta.lemonmeme.com I scale down like a bauce
 
that only works if you assume max width = max height
 
4:55 PM
no it does not
 
width could be 10 more than height, but if max width is 20 more than max height, your code is wrong?
or whatever way round you know what i mean
I dont understand how it can be so hard to do something that can be done with one line of css
 
@BillyMathews paste2.org/hzm77Ke3
It's that simple
 
@BillyMathews Was that serious?
 
@BenjaminGruenbaum was what serious?
 
@BillyMathews "I dont understand how it can be so hard to do something that can be done with one line of css"
 
4:57 PM
I have to go now, but ponder on it. Write a simple example for yourself.
 
@Zirak thanks for your help
and @BenjaminGruenbaum yes I'm serious!! I've been working for almost 5 hours on this
 
@BillyMathews What are you trying to do specifically?
 
I need to resize an image basically emulating background-size: cover
 
Break's over ... let's get back to work.
 

« first day (922 days earlier)      last day (4025 days later) »