Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Scsbot (talk | contribs)
edited by robot: adding date header(s)
Tags: Mobile edit Mobile web edit
Line 144: Line 144:


= November 4 =
= November 4 =
== Program/protocol to resume transfer after a dropout without starting again from the beginning ==
If I have a large file say in terabytes and I want to transfer it from one computer to another computer in the other side of the world using the internet. What program or protocol can I use to avoid restarting the transfer if I have a dropout which last for hours on end? [[Special:Contributions/110.22.20.252|110.22.20.252]] ([[User talk:110.22.20.252|talk]]) 00:12, 4 November 2017 (UTC)

Revision as of 00:12, 4 November 2017

Welcome to the computing section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:


October 29

wi-fi calling

Pl. help me to enable wi-fi calling on samsung Galaxy Tab 3V phone SM-T116NU model. I tried but could find wi-fi properties. Thank you.123.231.104.3 (talk) 00:55, 29 October 2017 (UTC)[reply]

Thank you for your question. Sorry but this is not connected with the Wikipedia encyclopedia. Kudpung กุดผึ้ง (talk) 08:39, 29 October 2017 (UTC)[reply]
... but this is the help desk where we try to help anyone with any question. Any suggestions Wikipedians? Dbfirs 12:01, 29 October 2017 (UTC)[reply]
Yes. There is a plethora of dedicated forums and sites for samsung Galaxy Tab 3V phone SM-T116NU model. When you have found the information, you may wish to start the Wikipedia article on it or add the content to an existing page. Kudpung กุดผึ้ง (talk) 12:26, 29 October 2017 (UTC)[reply]
That's correct. I did try to find the answer to the question there so that I could link it for the OP, but wasn't successful. Perhaps someone more familiar with these forums could provide a link to the answer? Replies here do not need to relate to Wikipedia articles, though sometimes they do lead to improvements. Dbfirs 12:38, 29 October 2017 (UTC)[reply]
Re User:Dbfirs's comment "this is the help desk where we try to help anyone with any question" and User:Kudpung's comment "Sorry but this is not connected with the Wikipedia encyclopedia", This is the reference desk, where we try to help anyone with any question. The help desk (WP:HELPDESK) is for questions about how to use or edit Wikipedia. --Guy Macon (talk) 22:38, 29 October 2017 (UTC)[reply]
Thank you for the correction. That's what I intended to type. Dbfirs 22:43, 29 October 2017 (UTC)[reply]

October 30

sierra wireless aircard 763s

i have a strong feeling i should be able to setup my sierra 763s aircard as a wifi extender for my existing home network, i simply want the 763s to connect to my wifi at home and rebroadcast(wifi repeater) . i understand the intent of these devices is to connect to cellular network through sim card and then broadcast a wifi signal that can be connected to like a router, but i have suspicion this thing has all the hardware and infrastructure to be able to also operate as a wifi repeater(extender) without going thorough the cell network. i know it has port forwarding and peer to peer capability.....i am calling on someone in the big brain community to help me massage this hardware into something i can implement for my desired re purpose.

I only have an averaged size brain, but I'll take a shot at responding. A cursory review of the user guide (here) reveals no indication that this device is has any built-in repeater or extender capability, nor could I find any information on modifying it to make it function as such. While (as you suggested) it almost certainly has the necessary hardware (namely a WiFi band Transceiver and programmable controller), it likely does not have the desired functionality built in to the firmware. Without that built-in functionality, it would be necessary to reprogram the device with new firmware to make it do what you want. This is a far from trivial task, and one that would require a detailed understanding of the hardware, processor capabilities, and IEEE 802.11 protocols. Even if you had updated firmware, getting the device to accept the update may be a problem. It is not uncommon for such devices are to be configured to only accept updates from known trusted sources - i.e., the manufacturer. A big brained person with sufficient skill, motivation and time might be able to take this on, but I wouldn't hold my breath.
We do have an articles on Custom firmware and Hacking of consumer electronics, but they are not very well developed and don't specifically address hacking WiFi hot spot devices. We also have List of router firmware projects, but I don't see anything there that immediately stands out for your needs. -- Tom N talk/contrib 02:27, 31 October 2017 (UTC)[reply]

yup, bit too far outside the box for me as well, even if was custom ddwrt or tomato flash there is no way to get it inside the chipset....no cat5 interface......Hmmmmm — Preceding unsigned comment added by 75.157.162.176 (talk) 01:30, 3 November 2017 (UTC)[reply]

CAS latency for different speeds

Speccy says that my memory is at 800MHz with CL 11-11-11-28. BurnInTest shows that three of my memory sticks are like that but one is 13-13-13-32 at 933Mhz. When the 933 HHz stick is running at 800 MHz, is the CL still 13 or does it drop down to 11? Bubba73 You talkin' to me? 23:49, 30 October 2017 (UTC)[reply]

Assuming you aren't overclocking, that depends what the SPD (or XMP or AMP if itp has one) says for the stick running at 800Mhz. Although the motherboard may choose to relax the timings etc with such a mixed configuration. If reliable software says the memory is running at 800Mhz with CL 11-11-11-28 then that's what it's running at. Remember that few memory controllers support running memory with different frequencies or timings so all memory will be running at that those setting. (In other words, use software which tells you what settings your memory is running at, not software which simply reports the SPD values for your memory. Well technically the software will simply be reporting something like what the memory controller is using, but there's no magic way the memory can be doing something different from the memory controller so unless there is a bug in the memory controller which makes it faile to accurately report what settings it's running at, you can assume it's accurate.) Nil Einne (talk) 06:22, 31 October 2017 (UTC)[reply]
Thanks. I'm not overclocking. I don't know what SPD is. I suspect that BurnInTest is only reporting what the memory stick says and not what the speed at which it is actually running. I ran GeekBench on three other computers, which are similar to each other, except for the memory. One has two sticks of CL 9, one has two sticks of CL 11, and the third one has one of each (it actually has a newer chip set, I think). The CL 9 and CL 11 were just about the same (no significant difference). The one with the CL 9 and 11 mixed was about 4% slower on memory test (and other tests). Bubba73 You talkin' to me? 14:55, 31 October 2017 (UTC)[reply]
I assume that you are talking about DDR3? In addition, if Speccy does not show SPD info, you can use other software like CPUZ. Ruslik_Zero 20:37, 31 October 2017 (UTC)[reply]
Yes, DDR3. I have CPU-Z now (on the first-mentioned computer), but I don't know how to interpret it. The Memory tab says 799MHz and 11-11-11-28. The SPD tab (I don't know what SPD is) for the first slot shows JEDEC#5 through #8. Under those it shows frequencies of 685, 761, 838, and 888 MHz. Under that it shows CAS 9, 10, 11, and 13. The other slots are different - they show different JEDEC numbers (slot2: #3-#6), frequencies 609, 685, 761, &800, and CAS 8, 9, 10, & 11. So does that mean that at 800MHz, CL is 11; at 761MHz CL would be 10, etc? Bubba73 You talkin' to me? 02:39, 1 November 2017 (UTC)[reply]
The single stick reports via the Serial presence detect that it can run at CL11 on 838 Mhz, CL10 on 761Mhz etc. The motherboard in collobration with the memory controller on the CPU should then choose what settings to run the memory at. Since your other memory is only reporting it capable of running at 800 Mhz maximu with CL11 the motherboard has chosen to run at 800 Mhz with CL11, as the first stick should be capable of running at this speed (if it's capable of 838Mhz with CL11) as per the memory tab. If you can choose to run at 761 Mhz or lower without manually setting the timings, the motherboard will most likely run them at CL10, and probably they will work fine with these settings. Nil Einne (talk) 03:15, 1 November 2017 (UTC)[reply]
OK, so the memory returns data in a certain number of nanoseconds, and the number of cycles of latency depends on the clock speed, right? Bubba73 You talkin' to me? 03:56, 1 November 2017 (UTC)[reply]

October 31

How that thing is called?

In pageviews tool (and of course millions of other places), there is that inputbox for article titles (where currently "Dog" and "Cat" are). If you enter something and start entering something else, those two things will be separate entries. The question is: how that thing is called? Want to do some reading... But you have to know, how that's called :) --Edgars2007 (talk/contribs) 08:18, 31 October 2017 (UTC)[reply]

Please see input box.--Shantavira|feed me 08:45, 31 October 2017 (UTC)[reply]
if you mean specifically an input box that collects user input in tag-like buttons, there doesn't seem to be an established term, but implementers variously call it multi-select box, pillbox, tags input box. 78.53.24.144 (talk) 15:50, 31 October 2017 (UTC)[reply]
@Edgars2007: A bit of code searching, and a bit of Googling and it looks like it's called Select2 - X201 (talk) 16:26, 31 October 2017 (UTC)[reply]
Thanks, X201 and 78.53.24.144. That bootstrap solution looks more what I was trying to find. X201, you posted the same link as 78.53.24.144 :). --Edgars2007 (talk/contribs) 16:49, 31 October 2017 (UTC)[reply]

November 2

PHP question

My code for login page handling for multiple concurrent users is failing miserably at the password_verify() funtion line with message Catchable fatal error: Object of class stdClass could not be converted to string in E:\xampp\htdocs\codd\c30.php on line 22

<?php 

$dsn = "mysql:dbname=userdetails;host=localhost;port=3306";
$username2 = "%";$password2 = "";


try
{
$userid=$_POST["username"];
$password=$_POST["password"];
$secpass=password_hash($password,PASSWORD_DEFAULT);
$con5=new PDO($dsn, $username2, $password2);
$con5->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$con5->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);$con5->beginTransaction();
$stmt7=$con5->prepare("SELECT password FROM user_data WHERE userid='$userid'");
$stmt7->execute();
$result['password']=$stmt7->fetch(PDO::FETCH_OBJ);$con5->commit();
if(password_verify($secpass,$result['password'])&& isset($_POST['Login']) && isset($_POST['username'])&& isset($_POST['password']))
{
	echo "your password matches";
}
else
{
   echo "youhavetologin again";
}
}
catch(ErrorException $e)

{
    $e->getMessage();
}

	finally{

unset($_POST['Login']);unset($_POST['username']);unset($_POST['password']); $con5=NULL;
	}
?>

Replacing if(password_verify($secpass,$result['password']) with if(password_verify($secpass,$result->password yields Warning: password_verify() expects parameter 2 to be string, object given in E:\xampp\htdocs\codd\c30.php on line 19 youhavetologin again Please provide substitute code suggestion — Preceding unsigned comment added by Wrought2 (talkcontribs) 09:56, 2 November 2017 (UTC)[reply]

The problem is that you're not handling the return value from $stmt7->fetch correctly. The fetch method returns an array (indexed by column name), but you're assigning it to an element of $result, not to $result itself. Try instead:
$result=$stmt7->fetch(PDO::FETCH_OBJ);$con5->commit();
and keep your original code for the call to password_verify. The relevant page of the PHP manual is here. Tevildo (talk) 17:30, 2 November 2017 (UTC)[reply]
A quick follow-up:
$result=$stmt7->fetch(PDO::FETCH_ASSOC);$con5->commit();
will explicitly return an array rather than an anonymous object, which will be a better match to the rest of your code. Tevildo (talk) 17:35, 2 November 2017 (UTC)[reply]

November 3

Portable device with SSH and Wi-Fi

What's the simplest device which is portable, has Wi-Fi, can connect to a server using SSH?B8-tome (talk) 13:41, 3 November 2017 (UTC)[reply]

You say "Simplest", are you looking for a device with a keyboard and a screen? Or just a chip?
I won't say it's the most simple, but a literal answer to your question is a ESP8266. Here's a dev board.
If you're looking for a device with more features, I think we'll need to know your requirements a bit more. ApLundell (talk) 15:45, 3 November 2017 (UTC)[reply]
Cool device ApLundell . But I wanted one with a keyboard and screen. Not need for fancy colors, just typing text on it would do it. --B8-tome (talk) 18:37, 3 November 2017 (UTC)[reply]
I'm not aware of a portable device that is purely a terminal. I wish I was, I'd pick one up if it was cheap.
One alternative is "PocketCHIP" [1]. It's a pocket linux machine that's designed to be hackable. Their marketing focus is education and games, but it would make a handy terminal. It even has pins for a UART port. "Turn Your PocketCHIP Into a Badass On-The-Go Hardware Hacker’s Terminal"
ApLundell (talk) 20:11, 3 November 2017 (UTC)[reply]

How does the motherboard translate Assembly language?

12.130.157.65 (talk) 14:45, 3 November 2017 (UTC).[reply]

(I assume you mean Machine code, which is built (or 'assembled') from the Assembly code.)
It happens on the CPU chip.
Machine code is stored in memory and the CPU can interpret it. In the simplest form, the CPU can load an instruction from memory into an instruction buffer. Remember that data takes the form of tiny elements that are either electrically charged (1) or not electrically charged (0), and then there's circuitry in the chip that's connected to that buffer and reacts differently depending on which bits of the instruction are turned on. Then every so many clock-ticks, that buffer is flushed and a new instruction is loaded.
That's a hugely simplified explanation, though. (So simplified it's almost wrong.) If you want to learn how the CPU interprets machine code, the subject you want to read about is Microarchitecture. This is a vast topic. People get their PhDs studying this subject.
You may find it's easier to first try to understand Digital logic. That's sort of the building blocks that go towards making a CPU.
As usual, I know I'm not being too informative here. But if you read those articles you'll find they're very in-depth. If you have more specific questions on this topic we can try to answer them.
ApLundell (talk) 15:39, 3 November 2017 (UTC)[reply]
If you do mean assembly language and not machine code then a program called an assembler is required to translate from the assembly language to machine code which can then be executed by the CPU. The assembler must be installed like other programs. The translation is one-to-one and not like higher level languages where the translater (called a compiler) must figure out how to put machine code instructions together to get the wanted result. PrimeHunter (talk) 15:54, 3 November 2017 (UTC)[reply]

November 4

Program/protocol to resume transfer after a dropout without starting again from the beginning

If I have a large file say in terabytes and I want to transfer it from one computer to another computer in the other side of the world using the internet. What program or protocol can I use to avoid restarting the transfer if I have a dropout which last for hours on end? 110.22.20.252 (talk) 00:12, 4 November 2017 (UTC)[reply]