Wikipedia:Reference desk/Archives/Computing/2017 May 12

From Wikipedia, the free encyclopedia
Computing desk
< May 11 << Apr | May | Jun >> May 13 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


May 12[edit]

.apk file[edit]

I require a battery monitoring .apk that displays the following information:

Design capacity (in mAh).

Current capacity (in mAh as well as the percentage symbol)

Full charged capacity (in mAh).

Battery wear level (in percentage symbol).

43.245.122.155 (talk) 04:31, 12 May 2017 (UTC)[reply]

Google account “I accepting” issue[edit]

I logged into my smart phone, everything was ok, all of a sudden an “I accept”, “Later” and/or “Decline” function button appeared with information. I accidentally pressed “I accept”, and now I’m annoyed. I believe it’s going to retrieve my datas from my smart phone usage, plus, other website accounts too.

What do I do? — Preceding unsigned comment added by 43.245.122.155 (talk) 04:32, 12 May 2017 (UTC)[reply]

Without either of us knowing what you accepted it's hard to know. Do you know which application it was for and can you confirm it was for your Google account? It's probably not serious enough to worry about or go into hiding over... Thanks Jenova20 (email) 12:43, 12 May 2017 (UTC)[reply]

Wikipedia .apk[edit]

Could you provide the correct link for downloading please? 43.245.122.155 (talk) 04:37, 12 May 2017 (UTC)[reply]

You can get it here.
But if possible, I strongly recommend you get it from the google play store, or if your device doesn't support the Google Play store, install the Amazon app store and get the app from Amazon.
Installing the APK manually means that it won't auto-update when a new version comes out.
ApLundell (talk) 16:17, 12 May 2017 (UTC)[reply]

Battery software[edit]

What are the correct measurements? What are wikipedians thoughts? Please review the “Accu-Battery v1.1.7.”

With Computers, I usually re-charge after it reaches to 50%. But with smart phones, the software states other way round…

43.245.122.155 (talk) 04:38, 12 May 2017 (UTC)[reply]

Buttons[edit]

Coding JavaScript in HTML. Using the <button> element, can one button change the labels on other buttons? For example, can a button labeled ODD/EVEN change a series of other buttons from 0 2 4 6 8 to 1 3 5 7 9?    → Michael J    12:19, 12 May 2017 (UTC)[reply]

@Michael J: Yes, it can. Quick Googling for javascript change push button label returns for example http://permadi.com/tutorial/jsInnerHTMLDOM/ and http://stackoverflow.com/questions/10671174/changing-button-text-onclick among first hits. --CiaPan (talk) 12:52, 12 May 2017 (UTC)[reply]
One suggestion, though, is to have all buttons displayed, and dim out those not currently active. This avoids the possibility of hitting a button, expecting it to do what it was formerly labelled, and being surprised by what the new label does. I have an issue like this here on Wikipedia, where the controls at the top of the page load one at a time, and I sometimes try to hit one button only to hit another that pops up in it's place. I suspect that some sites do this intentionally, to get me to pick ads. StuRat (talk) 16:02, 12 May 2017 (UTC)[reply]
I'm certain that Wordpress is designed to change and move buttons as soon as it senses that you are in the process of clicking a button. Perhaps Wikipedia is the same. 209.149.113.5 (talk) 19:44, 12 May 2017 (UTC)[reply]

hfc cable colour[edit]

Hi, as before, I'm looking to get hfc cable internet. Does the cable come in only one colour (black)? It would seem to me to be sensible to have it available in white (it would go much better in most people's homes). But I've never heard of this being available. Thanks in advance, IBE (talk) 13:54, 12 May 2017 (UTC)[reply]

In Australia you can get them in green (Unless that's a stock photo). I suppose you could spray the cable? Or hide it behind furniture like most people have to? Thanks Jenova20 (email) 14:44, 12 May 2017 (UTC)[reply]
Another option is to use white conduit. This is plastic tubing with a slit down the side, that you put around your ugly wires to hide them against white walls. Any home supplies store should have it. You can save some money by only using it where the wires are exposed, and leave them uncovered behind the couch, etc. There's also a version of this conduit designed to be walked over, for when the wires need to cross a walking path. Here it's flat at the edges, but with a raised hollow area in the center for the wires. This type of conduit is more likely to be made out of a rubber-like material. Note that there can be an issue, with electrical power lines, that putting them in such a conduit can allow them to get dangerously hot. However, the power level on a wire or cable only sending a data signal is so low that this is not a concern. StuRat (talk) 15:45, 12 May 2017 (UTC)[reply]

As far as I know, the premise wiring for HFC in Australia, is as with most countries, simply RG-6 or RG-11 of some sort suitable for the installation (e.g. rated for external installation if needed) [1]. You can almost definitely get this in many different colours. Whether any particular colours are provided as part of the standard installation will depend on the installers involved and company who hired them and any legal or other such requirements they were working under. It isn't uncommon that the options are very limited for the standard installation and you will need to pay more if you want something unstandard. In some cases this may include cable colouring.

As with your previous question, if you want more details for you particular case, your best bet is to either speaker to your contact point for the installers (this may not be the installers themselves but the ISP, and yes to be fair for more complicated questions their answers may be useless but I'd hope they can at least get available cable colouring right), or in some place where there are likely to be people familiar with the norms for your locale (telco, installers etc).

For example, here in NZ I will and have gotten much better info on UFB installations by asking at geekzone.co.nz than I would ever expect here. And in NZ things are actually a lot simpler since there is only one dominant network provider (Chorus) and while installers can vary a bit from locale to locale, mostly they follow the same shitty standards set by Chorus or more commonly don't actually follow them properly. Given our population spread, a big percentage of people including me are in Auckland anyway. (If you do happen to be on one of the other networks, it is a bit more difficult.) In Australia, the NBN plans seem a lot more messy, and what applies in some part of Sydney may very well be different in another part of Sydney let alone some part of Melbourne.

Nil Einne (talk) 02:28, 13 May 2017 (UTC)[reply]

"yes to be fair for more complicated questions their answers may be useless but I'd hope they can at least get available cable colouring right" ... lol I like it. Hmm, not sure all the same, although I'll try my luck. Incidentally, just for those who are curious, all of the installing is handled by the Nbn company. Your provider (Optus/Telstra/iinet/whoever takes your money) sets up the installation appointment, but they do not handle, nor do they really know anything about, the installation. And you can't necessarily get info about it in advance - they just rock up and tell you on the spot. Seems to differ case by case, so there's nothing much but to sit and wait. cheers, thx IBE (talk) 10:23, 13 May 2017 (UTC)[reply]
Another reason I like the conduit option. This allows you to cover up whatever butt-ugly color cables they leave behind. No cooperation from them required. And a bonus is that you can reuse the conduit, should you ever replace them with another company. StuRat (talk) 13:25, 13 May 2017 (UTC)[reply]

Learning a programming language just got the libraries?[edit]

Is our worth to learn a programming language just to get access to the libraries? Do professional programmers do it? For example, perl is getting out of fashion, but it has a tone of libraries. — Preceding unsigned comment added by 31.4.149.67 (talk) 20:39, 12 May 2017 (UTC)[reply]

Professionals learn languages they think will be useful to them.
Often because they need them for a specific project. At least because they have a particular type of project in mind.
You really need to have a goal in mind before you can make these kind of decisions. The number of libraries might play into it, perhaps as a rough measure of how well supported a language is, but it's more important how suitable it is for your goal.
Comparing programing languages by "number of libraries" on its own is pretty meaningless.
ApLundell (talk) 21:11, 12 May 2017 (UTC)[reply]
What matters more than the number of libraries is whether those libraries help what you're doing. A language with a bunch of math libraries might make cryptography easier, but a language with a few good cryptography libraries would make it much easier. ᛗᛁᛟᛚᚾᛁᚱPants Tell me all about it. 22:52, 12 May 2017 (UTC)[reply]