IRC Archive for channel #xwiki

Last modified by Vincent Massol on 2012/10/18 19:12

lpereira1 left at 00:44 (Quit: Leaving.
abusenius left at 01:17 (Ping timeout: 260 seconds
CalebJamesDeLisl - (01:39): tsziklay, here is some information about scripting in general http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
CalebJamesDeLisl - (01:40): If you just need proof of concept all you should need to do is make a page and make the content say:
CalebJamesDeLisl - (01:41): {{python}} print 'hello world' {{/python}}
CalebJamesDeLisl - (01:41): I think that's right, I'm not a python expert, anyhow the python code goes between {{python}} and {{/python}}
CalebJamesDeLisl - (01:42): ping if you need help
penyaskito_ left at 02:27 (Ping timeout: 240 seconds
penyaskito joined #xwiki at 02:28
penyaskito left at 02:42 (Ping timeout: 252 seconds
tsziklay - (03:00): I know about the python macros, I just don't know how to do the "make a page" part and was hoping there was a tutorial available online.
tsziklay - (03:00): basically I am a complete wiki noob :)
tsziklay - (03:01): anyway I have to get going but CalebJamesDeLisl if you have any tutorial links available I would appreciate them. thanks
CalebJamesDeLisl - (03:08): tsziklay, Making a page is easy, you just type in the name of the page you want and if it doesn't exist you will be prompted to create it.
CalebJamesDeLisl - (03:10): aka: type myserv.er/xwiki/bin/view/My/Page and if you are logged in you will see a message saying no such page and a link to create one.
CalebJamesDeLisl - (03:11): Or you can just type in the URL to get the wiki editor myserv.er/xwiki/bin/edit/My/Page?editor=wiki
CalebJamesDeLisl - (03:11): Or you can use the menu at the top of the screen where the button says "create page" I don't know as much about that interface but it should guide you through the steps.
CalebJamesDeLisl - (03:12): The point is you edit a nonexistant page and save and the page is created.
penyaskito joined #xwiki at 07:15
penyaskito left at 07:25 (Ping timeout: 260 seconds
penyaskito joined #xwiki at 07:27
Enygma` joined #xwiki at 08:58
Enygma` left at 09:17 (Ping timeout: 265 seconds
lpereira joined #xwiki at 09:24
vmassol joined #xwiki at 09:33
vmassol left at 09:39 (Quit: Leaving.
abusenius joined #xwiki at 09:42
arkub joined #xwiki at 09:43
florinciu joined #xwiki at 09:52
Enygma` joined #xwiki at 09:55
KermitTheFragger joined #xwiki at 10:08
sylviarusu joined #xwiki at 10:14
sylviarusu left at 10:19 (Quit: Leaving.
sylviarusu joined #xwiki at 10:26
sylviarusu left at 10:33 (Read error: Connection reset by peer
Enygma` left at 10:46 (Ping timeout: 246 seconds
florinciu left at 10:47 (Ping timeout: 265 seconds
Enygma` joined #xwiki at 10:49
florinciu joined #xwiki at 10:53
sylviarusu joined #xwiki at 10:54
sburjan joined #xwiki at 11:02
sylviarusu left at 11:21 (Quit: Leaving.
Enygma` left at 11:22 (Quit: Leaving.
Enygma` joined #xwiki at 11:22
sylviarusu joined #xwiki at 11:23
mflorea joined #xwiki at 11:24
sylviarusu1 joined #xwiki at 11:33
sylviarusu left at 11:37 (Ping timeout: 264 seconds
Enygma` left at 12:17 (Ping timeout: 265 seconds
sylviarusu1 left at 12:21 (Quit: Leaving.
sylviarusu joined #xwiki at 12:28
arkub left at 12:29 (Ping timeout: 240 seconds
CalebJamesDeLisl - (12:33): abusenius, I'm running your xss fuzzer, do you think this should be it's own hudson project so it can run in parallel with other projects?
abusenius - (12:33): it's not necessary imo
abusenius - (12:34): it is like webstandards tests
CalebJamesDeLisl - (12:36): I think the current build time is too long. If I were in charge I would split up core on hudson even though each submodule isn't technically a top level project.
CalebJamesDeLisl - (12:37): Although it isn't used, hudson is capable of running multiple jobs simultaneously.
CalebJamesDeLisl - (12:37): Maven3 can do that too for that matter.
sylviarusu left at 12:37 (Ping timeout: 260 seconds
abusenius - (12:37): yea, would be better I guess, but would it not overload the pc?
CalebJamesDeLisl - (12:38): Overload?
abusenius - (12:38): if you run 4 builds in parallel
CalebJamesDeLisl - (12:38): Run out of ram?
abusenius - (12:38): it will not be much faster if you just have 1 cpu
abusenius - (12:39): this too
abusenius - (12:39): and i/o could become a bottleneck too
CalebJamesDeLisl - (12:40): Usually adding threads smooths over bottlenecks because the processor can just do something else.
abusenius - (12:40): it might help if it would compile and run tests at the same time
abusenius - (12:40): tests are more i/o bound and compiling is more cpu bound
abusenius - (12:41): but i don't know on what hardware hudson is running
CalebJamesDeLisl - (12:41): My system is showing full cpu load and no io while running your test.
abusenius - (12:42): well, networking over localhost :)
abusenius - (12:43): all data is in cache, so it is only about running velocity and converting strings
abusenius - (12:44): junit4 can run tests in parallel
abusenius - (12:44): but it is still experimental afaik
CalebJamesDeLisl - (12:44): Same with hudson.
CalebJamesDeLisl - (12:45): all of the load is cpu from java according to top.
CalebJamesDeLisl - (12:46): Another matter is if it's running in parallel, other jobs can start and finish while this job is running.
abusenius - (12:46): right, short tests could execute morre often
CalebJamesDeLisl - (12:47): hm Total time: 28 minutes 51 seconds   on a brand new pentium 4.
abusenius - (12:47): single core?
CalebJamesDeLisl - (12:49): yup. Brand new in 2003.
abusenius - (12:50): I have core duo, it takes 15 minutes or so
CalebJamesDeLisl - (12:50): Pentium 4 is an interesting processor, the arithmetic unit runs at twice clock speed (5.16Ghz) which is why they explode if you overclock them.
CalebJamesDeLisl - (12:54): If I designed a processor I'd have 2 cores and double clock the registers and have them flip flop between the left core and the right so it appears as a single core at twice the clock speed.
sylviarusu1 joined #xwiki at 12:59
Enygma` joined #xwiki at 13:04
vmassol joined #xwiki at 13:08
vmassol left at 13:13 (Client Quit
Enygma` left at 13:43 (Ping timeout: 258 seconds
Enygma` joined #xwiki at 13:48
DSpair joined #xwiki at 13:59
vmassol joined #xwiki at 14:04
vmassol left at 14:08 (Client Quit
DSpair - (14:33): Where do I find the most current JavaDocs for XWiki please?
arkub joined #xwiki at 14:36
abusenius - (14:45): DSpair: http://platform.xwiki.org/xwiki/bin/view/DevGuide/API
temporalfox joined #xwiki at 15:52
CalebJamesDeLisl - (16:08): I think passwd is done \o/
sylviarusu1 left at 16:15 (Quit: Leaving.
sylviarusu joined #xwiki at 16:16
DSpair left at 16:28 (Quit: Page closed
abusenius - (16:30): cool :)
abusenius - (16:31): btw, with my local modifications, groovy macro only works if it is signed
abusenius - (16:32): but changing the privileged API to require signed content seems to be complicated
CalebJamesDeLisl - (16:46): Great. I'm looking at adding x509 encryption.
sburjan - (16:48): is there a way to make the xwiki-startup.bat to had a certificate so windows won't see it as a potential threat ?
sburjan - (16:49): this would be a good thing (not so important though)
CalebJamesDeLisl - (16:49): Also thinking I might rename x509 to cms.
CalebJamesDeLisl - (16:49): sburjan, windows vista saying the code isn't signed?
sburjan - (16:50): windows 7
sburjan - (16:50): dunno about vista
sburjan - (16:50): i'll investigate and come tomorrow with something more documented
abusenius - (16:51): imo in windows it is only possible to sign executables
abusenius - (16:52): maybe also jars
sburjan - (16:52): CalebJamesDeLisl, ; AFAIK athlon and duron were the last CPU's that actually blew up
abusenius - (16:52): but definitely not .bat
sburjan - (16:53): hmm.. I see
sburjan - (16:53): so this is why i get the warning when I try to start xwiki on 7
abusenius - (16:53): it probably shows a warning for everything it doesnt know
sburjan - (16:53): yeah..
sburjan - (16:54): it's the user control access stupidity they put in vista/7
abusenius - (16:54): UAC = user annoyance control :)
CalebJamesDeLisl - (16:54): I saw something about signed bat files on google.
CalebJamesDeLisl - (16:55): Looks like it's hidden in the ntfs metadata because somebody suggested copy to fat32 and back.
CalebJamesDeLisl - (16:57): re pentium blowing up "This became known as Sudden Northwood Death Syndrome (SNDS)" http://en.wikipedia.org/wiki/Pentium_4#Northwood
sylviarusu left at 16:58 (Quit: Leaving.
sburjan - (17:05): but why don't we produce an exe file instead of bat ?
sburjan - (17:06): yeah, but the cpu fails in time, doesnt blow up
sburjan - (17:06): explode
CalebJamesDeLisl - (17:12): An exe is a windows specific executable which would have to be written in some language like C++ and compiled, a bat file can just be written and if it ever needs editing it can easily be changed.
CalebJamesDeLisl - (17:13): That said it might be possible to make a .jar file which launches XWiki. It would also be operating system independent.
abusenius - (17:15): in any case, this will not solve win7 warnings unless we actually sign stuff
CalebJamesDeLisl - (17:15): athlon chips were actually physically exploding?
sburjan - (17:15): yepp
sburjan - (17:15): search it on youtube :)
sburjan - (17:15): let me see if I can find one
abusenius - (17:16): I only saw a video where it burns :)
sburjan - (17:17): http://www.youtube.com/watch?v=xG0sGugsv28&feature=related
sburjan - (17:17): this one blow up
sburjan - (17:17): in the most real meaning of the word :)
sburjan - (17:18): http://www.youtube.com/watch?v=Xf0VuRG7MN4&feature=related
sburjan - (17:18): this one is actually the epic one
sylviarusu joined #xwiki at 17:18
sylviarusu left at 17:18 (Client Quit
sburjan - (17:19): showing how heat can slow down cpu'z
abusenius - (17:20): ah, come on, its a fake
sburjan - (17:20): dont think so
abusenius - (17:20): (the first one)
sburjan - (17:20): at  that time, the mobos didnt have thermal protection
sburjan - (17:20): like new ones.. that shut down
abusenius - (17:20): its a fire craker under the cpu
abusenius - (17:21): it flies away
abusenius - (17:21): silicon does not explode
abusenius - (17:21): it just burns
sburjan - (17:21): yeah, but the CPU isnt made from cermaic stuff ?
sburjan - (17:21): and I guess that explodes
abusenius - (17:21): no way
abusenius - (17:22): it would blow a hole in the mobo then
abusenius - (17:22): look at the socket
CalebJamesDeLisl - (17:22): The second vid looks real enough, the first one is a joke.
abusenius - (17:23): yea, the second one is tomshardware
sburjan - (17:23): well...
sburjan - (17:23): http://www.youtube.com/watch?v=xG0sGugsv28&feature=related
sburjan - (17:23): i;m going :P
sburjan - (17:24): there is one you can see mobo blown
sburjan - (17:24): you can get your finger through the socket
CalebJamesDeLisl - (17:27): This was an interesting story when it broke http://www.theinquirer.net/inquirer/news/1137478/celeron-overclocked-1ghz
lpereira left at 17:28 (Quit: Leaving.
CalebJamesDeLisl - (17:28): 8.20Ghz I seem to recall they had to up the voltage on the motherboard with a potentiometer to get enough juice into it.
CalebJamesDeLisl - (17:29): But since hardware is relatively cheap (compared to refrigeration cooling equipment), overclocking is usually pointless.
sylviarusu joined #xwiki at 17:30
sylviarusu left at 17:42 (Read error: Connection reset by peer
florinciu left at 18:00 (Read error: Connection reset by peer
mflorea left at 18:05 (Quit: Leaving.
Enygma` left at 18:08 (Ping timeout: 276 seconds
sburjan left at 18:09 (Ping timeout: 276 seconds
SvenDowideit left at 18:22 (Ping timeout: 260 seconds
SvenDowideit joined #xwiki at 18:27
arkub left at 18:31 (Ping timeout: 258 seconds
SvenDowideit left at 18:36 (Ping timeout: 264 seconds
SvenDowideit joined #xwiki at 18:41
florinciu joined #xwiki at 19:43
KermitTheFragger left at 19:43 (Quit: Leaving
asrfel joined #xwiki at 19:51
asrfel1 joined #xwiki at 19:56
asrfel left at 19:56 (Ping timeout: 276 seconds
florinciu left at 20:00 (Read error: Connection reset by peer
asrfel1 left at 20:09 (Quit: Leaving.
arkub joined #xwiki at 22:35
SvenDowideit left at 22:53 (Excess Flood
SvenDowideit joined #xwiki at 22:54
Tags:
   

Get Connected