IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1813.48 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-07
[00:00]<y-gz>AqD: you are welcomed to submit a patch for the ctcp
[00:00]<y-gz>btw in the context of gaim
[00:00]<y-gz>http://i-nz.net/2006/07/05/gaim-sharp-naaah/
[00:01]<y-gz>not to say that there were 2 trolls in the gaim channel
[00:01]<afd>i-nZ: no i dont really need it :P
[00:01]<y-gz>gaim devs as it seems
[00:01]<y-gz>not 100% sure
[00:02]<afd>btw i got one more dev for my aqdweb today :)
[00:02]<y-gz>started talkin about "the proper way to do that" in C# without having a clue of C#
[00:02]<y-gz>i hate trolls i just hate those ugly bastards
[00:02]<afd>i gotta review linq today to see if it's worth to support in my framework :)
[00:03]<y-gz>i am stuck at ms "undefined behaviour" with my mono design-time work
[00:03]<y-gz>it's been 3 days i am trying to hack up a MS compatibe SelectionService implementation
[00:03]<afd>mono?
[00:03]<y-gz>no bloody luck
[00:03]<afd>hmmm
[00:04]<y-gz>the msdn2 docs suck, they are missing that half of the kernel enumeration is obsolete in 2.0 and so on and so on
[00:04]<y-gz>it doesn't ?
[00:06]<cj2nz>AqD: Stop waiting, start helping!
[00:06]<afd>kober: hmmm
[00:06]<afd>but i'm busy with my aqdweb
[00:07]<cj2nz>boring!
[00:07]<cj2nz>:p
[00:07]<afd>nah
[00:14]<cj2nz>what does AqDWeb do
[00:16]<mjzymygo>sometimes I look at code and wonder how the hell the end user ever thought it bloody worked in the first place... when it most obviously just does not.... =/
[00:18]<cj2nz>power of suggestion
[00:18]<cj2nz>if you tell them it works, they'll believe you
[00:18]<sdnffdxdlld>http://i-nz.net/gallery?file=fun/fun_6.jpg awwwwwwwwwwww
[00:18]<sdnffdxdlld>!
[00:18]<sdnffdxdlld>I want one
[00:19]<cjmgrug>bah, i hate animals :p
[00:19]<y-gz>that's firefox :P
[00:19]<cj2nz>haha
[00:20]<mjzymygo>kitties rule...
[00:20]<y-gz>yay i got email hosted by google now :P
[00:20]<`d0>beh
[00:20]<`d0>I hate illegal games
[00:22]<y-gz>i wish i knew php
[00:22]<y-gz>i need some mods of a script (simple one) for meh blog
[00:22]<kjr>heh
[00:23]<y-gz>and everyone i ask for help wants money
[00:23]<y-gz>:/
[00:23]<kjr>what exactly do you need done...?
[00:23]<mjzymygo>where been asking? and what you want doing?
[00:24]<y-gz>well
[00:24]<y-gz>what i have is a wordpress blog and i use a cute plugin for highlighting code -> take a look here -> http://i-nz.net/2006/07/05/gaim-sharp-naaah/
[00:24]<kjr>i-nZ: is that a pomeranian?
[00:24]<y-gz>pomeranian ?
[00:25]<y-gz>the code of the plugin is ...
[00:25]<kjr>the animal in that pic above
[00:25]<y-gz>http://pastebin.ca/80278
[00:25]<kjr>you called firefox
[00:25]<y-gz>it's a dog i think :)
[00:25]<y-gz>with painted fur
[00:25]<kjr>yeah... I noticed ;)
[00:25]<kjr>i-nZ: check out GeSHi for highlighting
[00:25]<y-gz>it uses geshi
[00:26]<y-gz>and generates the nice thing you see on the post
[00:26]<kjr>yeah
[00:26]<y-gz>I do <pre lang="csharp">code here</pre>
[00:26]<y-gz>it's really great
[00:26]<kjr>so the question is.... ?
[00:26]<y-gz>but i wanted to have one more feature
[00:26]<xylxjzys>hmm it auto-hilights code inside a pre block?
[00:26]<xylxjzys>that's pretty neat
[00:26]<y-gz>"<pre lang="csharp" visible="true">code</pre>"
[00:27]<y-gz>and then have a "Hide Code/Show Code"
[00:27]<y-gz>so if visible=true it will default to Hide Code and so on
[00:27]<kjr>unless you have something custom to parse that pre tag...
[00:27]<y-gz>oh the paste is missing
[00:28]<kjr>because a client won't know what to do with that
[00:28]<kjr>pre just means it's been formatted and to display literal
[00:28]<y-gz>function filter_with_SyntHihol($aContent) { return preg_replace_callback("/<pre\s+.*lang\s*=\"(.*)\">(.*)<\/pre>/siU", "replace_with_geshi", $aContent); }
[00:28]<y-gz>the content of the post is passed to this function when rendering
[00:29]<y-gz>(wordpress filter -> add_filter('the_content','filter_with_SyntHihol',8); )
[00:29]<y-gz>seem easy to do what i want
[00:29]<y-gz>it's just i don't have the bloody idea how to do it in php
[00:30]<y-gz>i really suck in web deving lol
[00:31]<y-gz>neone willing to help out ?
[00:40]<lrdlcyg>What is it you are trying to do in PHP?
[00:41]<y-gz>erm
[00:41]<y-gz>can you read the backlog ?
[00:42]<lrdlcyg>yeh, just having a look
[00:44]<`d0>i-nZ when you place visible="true"
[00:44]<`d0>it will show the code...
[00:44]<`d0>But if it is false. It will minimize it?
[00:45]<y-gz>yea
[00:45]<y-gz>and then the state of the link will change to "Show Code"
[00:45]<y-gz>something like the "Show Plain Text/Show Styled Code"
[00:45]<y-gz>but to hide/show the code
[00:46]<`d0>yea
[00:46]<`d0>that is simple, all you have to do is add javascript
[00:46]<y-gz>but then it would be a good idea to have a caption for the code snippet instead of "CSharp" in front
[00:46]<y-gz>is simple for you :)
[00:46]<y-gz>is hell for me
[00:46]<`d0>within a simple onclick event you can change the style of that below div to be display:none
[00:47]<zgzzcygnv>yo
[00:47]<`d0>i-nZ
[00:47]<zgzzcygnv>what advantage does signing assemblies give?







