/srv/irclogs.ubuntu.com/2008/09/10/#ubuntu-website.txt

=== huayra is now known as hubuntu
=== hubuntu is now known as huayra
=== huayra is now known as testinggroups
=== testinggroups is now known as huayra
=== huayra is now known as hubuntu
qensehello07:47
=== BugMaN1 is now known as bugman1
=== bugman1 is now known as BugMaN
mpt"Get it while it's hot." -- Ubuntu 7.04 feature tour12:01
newz2000mpt: what's that?15:04
mptnewz2000, http://www.ubuntu.com/getubuntu/releasenotes/704tour#head-d1c6a48a219c4ea353a5b0d90bc795bfd10fd17615:10
newz2000ah15:11
mptNot that it matters much any more, but it's also confusing for all the links in what appears to be a table of contents to go off to wiki.ubuntu.com instead of going to the relevant part of the same page15:17
thorwilnewz2000: regarding ubuntu.com vs ubuntu-nl.org, what about content negotiation?16:19
Volansthorwil: I think is just google that puts localized results before international ones16:20
thorwili think the debian site does it. presenting the site in the preferred language of the user16:20
newz2000we do that for the start page16:20
newz2000we've chosen not to translate ubuntu.com but we're discussing an upcoming project of linking to localized sites in the header16:21
Volansfor example in italian, if I search "ubuntu" in the google search of firefox the first 4 results are:16:21
Volanswww.ubuntu-it.org/16:21
Volanswww.ubuntu-it.org/index.php?page=Ottenere_Ubuntu   // equivalent to getubuntu and link directly the download page in the ubuntu.com site16:21
Volanswww.ubuntu.com/16:21
Volanswww.ubuntu.com/getubuntu/download16:21
thorwilnewz2000: well, ok, linking to appropriate localized sites is the second best thing, i think :)16:22
newz2000thorwil: yeah, I think that would help satisfy the complaint of Erik's first tester who was upset that it was only in English16:23
thorwilnewz2000: regarding the problems of users not understanding what server vs desktop means, i wonder if images that depict suitable environments for each would help16:24
newz2000good idea16:24
Volansnewz2000: maybe we can make only the homepage translated and with automatic language recogniction where is explained that the site is in english and the relative localized site is XXX and the download page is YYY16:24
newz2000I doubt it16:25
newz2000we're constantly changing homepage graphics and needing to translate them would slow things down considerably16:26
Volansnewz2000: I don't think a "translated" homepage stricty... but only a page that have 3-4 big things like buttons16:26
Volansto send the user to the right place16:26
newz2000well, my idea was to put a link near the top that says in your native language, "get help in Italian" or whatever.16:27
newz2000Then a localized page on ubuntu.com that explains the italian resources16:27
Volansoh yeah, good solution as well16:27
Volansand maybe the possibility do download without the english page16:28
newz2000yes, that would probably be a good candidate for locailzation16:28
newz2000since its hard for community members to maintain localized versions of that page16:28
Volansiirc we have a localized "copy" of that16:29
Volansthe one I have linked above16:29
Volansbut probably not all the locoteam have one16:29
newz2000yes, but it won't get udated automatically with new mirrors16:29
Volanssure16:30
Volansand as we have already discussed in the past, the choose of the mirror is a complicated and useless step for a normal user16:32
newz2000yes, I should see if the sysadmins will evaluate that geoip apache module16:32
newz2000maybe we can do some a/b testing for this release and implement it fully by the end of the year16:33
thorwildoes it actually say "mirror"? something like "download location" or just "download from" should be easier to understand16:34
newz2000choose a location near you16:35
Volansnewz2000: take a look at the download page od opensuse: http://software.opensuse.org/ there are some interesting trick (I prefer something a little more graphical)16:35
* newz2000 wishes opera would stop being the default for clicking links in pidgin16:36
newz2000yuck16:36
newz2000there are some good things there16:36
* newz2000 doesn't like the yellow16:37
Volansthe fedora's one is so complicated... http://fedoraproject.org/get-fedora there is a mixture of architechture, media (CD, DVD), torrent, Live...16:38
qensehello16:39
newz2000hi qense16:39
Volanshi qense16:39
thorwilhi qense16:40
newz2000I have an idea...16:41
newz2000reneable the js ajax based geoip16:41
newz2000set a reasonable timeout (750ms maybe)16:42
newz2000let php generate a list of the 10 fastest mirrors with good international bandwidth16:42
newz2000and store them in a js array sent to the page16:42
newz2000if the ajax fails to return in 750ms then it just randomly chooses one of the top 10 mirrors16:42
newz2000if the ajax does return it uses a local mirror16:42
Volansnewz2000: what kind of geo control you want to make, on the IP, on the locale used in the browser, etc...16:43
Volans?16:43
newz2000IP -> country16:43
newz2000for the download location select list16:44
Volansmaybe excluding some strange ip like tor if possible16:44
newz2000that would allow us to ditch that list16:44
newz2000brb16:46
newz2000hi, would you guys do me a quick test?17:11
newz2000visit http://www.ubuntu.com/testing/intrepid/temp17:11
Volanssure17:11
newz2000hit shift+reload17:11
newz2000and tell me if shows your IP address17:11
Volansthe first ip was not mine, after ctrl+r is changed and is mine17:12
newz2000cool17:12
newz2000anyone else confirm? especially if you use an ISP/network with a proxy17:13
VolansI have public Ip but use a router, so the ip on my card is 192.168.x.x17:13
Volansbut no proxy17:13
qensethe second is indeed mine17:13
qenseno proxy17:13
newz2000I'm looking for the public ip17:13
newz2000cool17:14
newz2000I wonder where I can find some proxy users17:14
* newz2000 knows one...17:14
VolansI can confirm with http://www.geekproxy.com17:15
thorwilshow's my natting routers ip17:15
Volansbut what is the trouble newz2000? is the ip of the connected user... or you have problem with the proxy-cache?17:16
newz2000my concern is, lets say you have an office with IPs of 10.0.1.xxx and a proxy server with 10.11.12.1317:16
newz2000(as the public IP)17:16
newz2000I want to ensure my code returns 10.11.12.13, not 10.0.1.xxx17:16
newz2000(kind of a bad example)17:17
Volansbut is javascript or php?17:17
newz2000php17:17
newz2000javascript can't get a user's IP address17:17
Volanswith ajax yes ;)17:17
newz2000that's what I'm testing here... the php code that returns the user's public ip address17:18
newz2000I want to ensure it works correctly even for users behind a proxy17:18
qenseI do use a switch, but no proxy17:18
Volansnewz2000: as I know you use a proxy-cache on ubuntu.com, right?17:18
qensewe do have a proxy at school, i could test it by connecting to the webserver using rdp ;)17:18
newz2000qense: would you mind? that would be perfect17:19
qenseok17:19
newz2000Volans: right, this wouldn't be a problem if it werern't for the fact that ubuntu.com is behind two proxy servers. :-)17:19
newz2000so I get an array when I look at the forwarded_for header17:20
VolansIn this case you have to use a more long code to be sure that is the user IP17:20
Volansif you want I have the code that SMF use (and I have patched) to work with the proxy-cache the sysadmins have put behind ubuntu-it on april17:21
newz2000here's what I did: http://pastebin.com/d661406a017:21
qensestupid server, keeps bugging me with apache crash reports, even though its still running17:23
Volansthis is the one SMF use (and I have patched a little): http://pastebin.com/de828868 note the array_reverse in the FORWARDED FOR section17:24
qense(my apologizes for ther lack of punctuation. typing is hard with one arm in a mitella, coding even harder)17:24
Volanswhen I print the variable I see: [HTTP_X_FORWARDED_FOR] => 87.21.x.x, 127.0.0.19917:24
qensethe website renders horrible in IE6, bt17:25
Volansthe first one (and not the last one) is my ip, while SMF would make the contrary17:25
qenseBUG: can't read page content of main site in IE617:25
Volansqense: javascript enabled?17:25
newz2000can't read it at all?17:25
qensethe footer is halfway over the breadcrumbs17:26
qenseim going to check if js is enbled17:26
newz2000hmm17:26
newz2000that's bad17:26
* newz2000 bangs head on desk17:26
qenseWhy are options considered a tool by MS?17:26
qenseor extra?17:27
newz2000Volans: that's far more complex because it needs to handle more corner cases than I do, but I think fundamentally the same (smf code)17:27
Volansyes, it cover more possibility and probably is more "safe" i something change in the proxy-cache architecture17:28
qensewhere is the javascript option in IE6?17:28
Volansalso newz2000 it excludes all the private ip17:29
Volans172, 192.168. 10, etc...17:29
newz2000well, I'm making an assumption that the last non-127... IP is the public ip address17:29
newz2000based on current server architecture17:30
VolansI think is better to exclude all reserved IPs... is simple and more safe ;)17:31
VolansI can confirm IE6 on XP virualized... the footer cover the content17:31
Volansbut I can copy and paste in an editor17:31
qensenewz2000: img143.imageshack.us/my.php?image=tmpdnp8.JPG17:31
Volansand see the ip :D17:31
qensetmpdn8.JPG*17:31
qenseneed to go now, dinner time17:32
newz2000I'm affrade to look17:32
newz2000thanks qense17:32
qenseill test again after dinner17:32
qensebye!17:32
Volansnewz2000: on VBox I get the wrong IP: 217.123.200.31 -> 31.200.123.217.in-addr.arpa domain name pointer ck523187-a.dokku1.fr.home.nl.17:33
newz2000did you do a shift+reload?17:33
Volansyes many times and is alwais the same17:33
newz2000Volans: are you using IE? in that case I think it's ctrl+F517:34
* newz2000 strrts up vbox...17:34
Volanshitting www.whatismyip.com from VBox say the same IP that I see from the host17:34
Volanstried also ctrl+f517:34
Volanssame as above17:34
newz2000oh, bad news, it works for me in vbox. I hate that.17:36
Volansnewz2000: also for me with oither browsers...17:37
VolansIE6 is the only one atm17:37
Volansand the first IP I see is a 7x something17:38
newz2000that's mine17:38
newz2000so its jst a cache problem17:38
Volansoh17:39
Volansit works now17:39
Volansserver cache problem17:39
newz2000yeah17:39
newz2000ok, so based on our limited testing we have a solution that grabs the correct IP address17:40
Volansand you want to use the ip to make a geolocation?17:42
newz2000yes17:42
Volansmaking a little db where to save those?17:42
newz2000no, I don't need to save them, the geoip database uses a hash lookup table I can use to get the user's country17:46
newz2000so I just need to tell it the ip and it will tell me their country17:46
qenseback17:57
qensewoot! there is FF at the server!17:59
Volansqense: what do you mean?17:59
qensei cant test it with ie, since the site doesnt work there18:00
qenseit seems to work from behind a proxy18:01
qensethe firts ip was right, i even didnt have to reload18:01
Volansok18:04
VolansI have to go now... bye bye18:35
newz2000qense: regarding IE, I can't reproduce nor could I see your screenshot18:38
qenseit was img143.imageshack.us/my.php?image=tmpdn8.JPG , i provided a wrong link18:39
qensewrong link again18:40
qensei think ive lost the link18:42
newz2000no sweat18:42
newz2000I think the solution is the same regardless18:42
qenseswitch!18:43
newz2000I plan to migrate ubuntu.com to the same theme as https://shipit.ubuntu.com18:43
newz2000I've just got to take the time to do the drupal theme18:43
qenseshitit has got a good theme18:43
newz2000he he18:43
qenseoops xd18:44
newz2000I can't tell you how many times I've done that18:44
qensehello nand19:10
nandheya!19:11
qensehow's the mailer configured at ideatorrent.org?19:13
qensei think that the crrent problems i have with the application form are caused by my own system19:14
nandwell, it works (devel.ideatorrent.org sends mail)19:15
nandyou should test locally19:15
qensei cant get postfix t work19:16
qenseit does get to that stage though19:17
qensethe real problem is the mailer19:17
qensesendmail was blocked by spamhaus.org, postfix just doesnt seem to work19:17
nand(I'll be back, dinner time)19:20
qensehave a nice dinner!19:20
nandqense: you can use the code in brainstorm as an example19:39
qenseit's working now19:39
qense:)(19:39
qenseI didn't get the activation mail for the account at the devel version. Are you sure the mailer works?19:44
nandqense: I confirm it's working19:53
nandjust got my replacement email from drupal19:53
qenseok, that's weird19:54
qensecould you try if the application form works at the devel host too?19:54
nandqense: which form?20:00
qensethe form you get when you press apply20:00
qensei made the poster of the first task uncontactable to test that20:00
nandI don't have a "apply" button here20:01
qensereally?20:01
qenseyou are browsing another task than task 1, are you?20:02
qenseand logged in?20:02
nandI *just* updated the bazaar branch20:02
nandSo I guess you are not using http://ubuntu-wanted-devel.ideatorrent.org/20:02
nand*NOW* I get the apply button20:02
qenseI finally got the activation mail20:04
nandme too20:04
qensethe application form works!20:29
qensewell, i'm going to shut down now, bye!20:31
thorwilnewz2000: i have to run now, but just got this up: https://wiki.ubuntu.com/Website/IntrepidCountdownBanners?action=AttachFile&do=view&target=tw_intrepid_countdown_05_spiral.png21:06
thorwilnewz2000: the old ibex shape had to go because of possible copyright issues and a broken right horn21:06
newz2000:-)21:07
newz2000nice work21:07
newz2000I can't believe you've done all of those21:07
thorwilthanks!21:07
thorwilme neither ;)21:07
thorwilnewz2000: take a look at the bottom for the last 2 columns21:07
newz2000what's different about the last two cols?21:09
thorwilnewz2000: the 4th column, turquoise/blue is my personal favorite. tomorrow i would like to know which ones can be offered and whether you need another format21:09
thorwilnewz2000: they get brighter towards the end, to support the sunrise idea21:09
newz2000ah21:10
newz2000I'll show it to a few others21:10
newz2000though they probably won't see it until tomorrow21:10
thorwilnewz2000: oh dang! i just notice i forgot something in 4th column, 14 to 10 days21:10
thorwilthe outer dots have the wrong color21:11
thorwilwell, small fix tomorrow21:11
newz2000yeah, don't sweat it yet21:11
thorwilgood night! :)21:12
ryanakcanewz2000: d'you know of anybody else who could run bzr up for us?21:28
jpdsI've already assigned poor n.g to the task.21:29
newz2000lamont may be able to, though its nearly the end of his day too21:29
ryanakcanewz2000: okies, thanks :)21:30

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!