Wikipedia:Reference desk/Archives/Computing/2012 August 13

{{#ifeq:{{PAGENAME}}|Special:Undelete| |{{#if:|

}} {{#ifeq:{{NAMESPACE}}|Wikipedia|{{#switch:{{NAMESPACE}}|= |
}}|{{error:not substituted|Archive header}}
}}}} {{#if:|
}}
width = "100%"
colspan="3" align="center" | Computing desk
width="20%" align="left" | < August 12

! width="25%" align="center"|<< Jul | August | Sep >>

! width="20%" align="right" |{{#ifexist:Wikipedia:Reference desk/Archives/Computing/2012 August 14|August 14|Current desk}} >

align=center width=95% style="background: #FFFFFF; border: 1px solid #003EBA;" cellpadding="8" cellspacing="0"
style="background: #5D7CBA; text-align: center; font-family:Arial; color:#FFFFFF;" | Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is {{#ifexist:Wikipedia:Reference desk/Archives/Computing/2012 August 23|an archive page|a transcluded archive page}}. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.

__TOC__

= August 13 =

Force http (unsecure) connection.

Firefox redirects me to https, (No, the site doesn't do it), and I'm a bit frustrated, with https I start to get all kind of errors, images load slower, content load slower, captchas don't work, or connection times out (Also, it's easier to debug problems), instead with http, it works just fine, google chrome doesn't force https, so the page I'm working works just fine, I don't mind at all if it's unencrypted, how I can stop this behavior? 190.158.212.204 (talk) 00:08, 13 August 2012 (UTC)

: Firefox doesn't just decide to force you to use https when you and the site say otherwise. I'd guess you have a security-enhancing extension like [https://www.eff.org/https-everywhere/ HTTPS everywhere] - these kind of things typically have exceptions that allow you to disable them for given websites. You can [http://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode run Firefox in safe mode] (with all extensions disabled) to confirm that the behaviour you don't like is the product of an extension. -- Finlay McWalterTalk 00:18, 13 August 2012 (UTC)

::It worked..... That was fast, thank you. 190.158.212.204 (talk) 00:27, 13 August 2012 (UTC)

::Ummm, I disabled all my extensions and quited safe mode, it started using https again, what can cause this? 190.158.212.204 (talk) 00:31, 13 August 2012 (UTC)

::: You may have to enable extensions and plugins one-at-a-time until you figure out which one it is that's "helping" like this. If you're like me you probably have a dozen or two to wade through ;( It's probably one of the security-type ones: perhaps the toolbar associated with an anti-virus product, for example. -- Finlay McWalterTalk 00:35, 13 August 2012 (UTC)

::::Note that if I understand the OP correctly, they disabled all their extensions and ran it without any extentions enabled (but not in safe mode) but it still uses HTTPS. This suggests an extension is not causing the problem but for some reason safemode fixes it, I suspect the bugzilla below describes the problem. If so the solutions seem to be either change browser, or delete all https variants of the site from the history. Nil Einne (talk) 20:19, 13 August 2012 (UTC)

:What extensions do you have installed, and at which site(s) are you having these problems with images loading slowly, etc.? There are pretty good reasons to prefer https in general. -- BenRG (talk) 16:53, 13 August 2012 (UTC)

Actually, Firefox 14 introduced this "feature". Here's the [https://bugzilla.mozilla.org/show_bug.cgi?id=769994 bugzilla report]. From what I can see, they don't seem in any hurry to change it back. Another possible reason for you being forced onto https would be if the site was SPDY enabled. To turn this off, go to about:config in the address bar, search for network.http.spdy.enabled and change it to false. In my test just now this worked in preventing Firefox from forcing a https connection 92.233.64.26 (talk) 17:13, 13 August 2012 (UTC)

:Yes, it did the job. Apparently!! I had to force http using a proxy that only supports http. 190.158.212.204 (talk) 21:31, 13 August 2012 (UTC)

Demonoid

Whatever happened to http://www.demonoid.me/ ? 124.253.63.168 (talk) 06:37, 13 August 2012 (UTC)

:They were [https://torrentfreak.com/demonoid-busted-as-a-gift-to-the-united-states-government-120806/ raided and shut down]; the Demonoid domains have been put [https://torrentfreak.com/demonoid-domains-go-up-for-sale-120812/ up for sale]. --Lexein (talk) 07:00, 13 August 2012 (UTC)

::I ask myself why a government, in the case the Ukranian, needs to launch a DDoS. Wouldn't it be easier to send the police and close the server, even if you only have a ridiculous reason to that? Comploose (talk) 14:22, 13 August 2012 (UTC)

:::What? The link which isn't exactly friendly to the Ukranian government, doesn't even hint that perhaps they were involved in the DDoS or the hacking that allegedly followed. Nil Einne (talk) 20:24, 13 August 2012 (UTC)

::::What what? I didn't say the link say that. I know that the Ukranian government is being accused of the DDoS, probably to deplete Demonoid-backers from funds. Maybe I should have respected the presumption of innocence, and said "possible the Ukranian government." Comploose (talk) 21:12, 13 August 2012 (UTC)

:::::But none of the links provided thus far make the accusation, if you're going to bring random claims in to the discussion which no one else has mentioned yet, it would be best if you bring sources to back it up, this is the RD. Or else make it clear it's your own random thought not something actually discussed in sources (i.e. offtopic) or at least if the thing really did appear in sourced but you can't be bothered linking to them say something to make this clear, particularly when sources have already been provided (sources which would seem conducive to such ideas) which do not discuss the random things you're now bringing in to the discussion. Nil Einne (talk) 19:29, 14 August 2012 (UTC)

[[Glade Interface Designer]] and Python with PyGTK~(or whatever)

Is this combination somehow strange for designing GUIs? All the tutorials that I find are kind of +5 years old, and I wonder if everyone is simply using another route to design platform independent GUIs for Python programs (which is my intention). Comploose (talk) 13:06, 13 August 2012 (UTC)

: It's a perfectly sensible option to just construct the UI with code yourself. Most of the python-gtk utilities shipped with Debian/Ubuntu seem to work this way. -- Finlay McWalterTalk 13:34, 13 August 2012 (UTC)

: For general platform independence, you may consider not using a client gui toolkit, but building the app on a lightweight web framework like web.py running a local web server, and doing the GUI in HTML, CSS, and JavaScript. It's about the same degree of work as doing it in GTK or QT, and you can build a pretty rich UI with a toolkit like Dojo or jQuery. One advantage is that, if you later decide you want it to be network accessible (e.g. remote control from a cellphone) then the GUI is ready for that. -- Finlay McWalterTalk 13:59, 13 August 2012 (UTC)

::Sound like a good idea. I'll take a look at Dojo and JQuery. Comploose (talk) 14:17, 13 August 2012 (UTC)

Best way of passing text/html to JavaScript from php

What could be the best way to store text, or to give text/html to javascript, Should I put them in css hidden