Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 58,409 points

icefyre

Favorite Answers54%
Answers952
  • os.path.getsize() or stat call in Python?

    What's the most efficient way to get a file size in python using a stat cal or os.path.getsize()?

    2 AnswersProgramming & Design8 years ago
  • Serialization and reconstruction of objects in python?

    Hello all,

    I know that by using pickle I can store an object and then reconstruct it later.

    If I serialize my objects using JSON or XML instead, is there a way for me to automatically recreate the object later or do I have to create a function whose whole purpose is to reconstruct the object using the serialized data?

    Example:

    I have a student object with a name and age variable and a list of all the classes the student attends. Is there a way I can say something like

    student = Student(json.load(info_from_json_file)

    Thanks in advance for your help!

    1 AnswerProgramming & Design8 years ago
  • Why doesn't this SQLite query work?

    Trying to run this query:

    select date,high,low from stock where high < '17.5' and low > '17.4';

    It works ok if it's just high > '17.5' but when I put in the second constraint for low the results are completely out of bounds.

    Would appreciate any help.

    thanks!

    1 AnswerProgramming & Design8 years ago
  • W-4 form allowance question?

    Should I enter an allowance for my spouse on the W-4 form? We both work full time and the form says that entering 0 would prevent me from over-withholding. Advice anyone?

    6 AnswersUnited States1 decade ago
  • Is it cheaper to rent a furnished flat in London or an unfurnished one?

    We are looking to move to London soon and we were wondering if it is cheaper to rent a furnished apartment or an unfurnished one? If the apartment is furnished do you have to pay extra to have the furniture removed?

    Would appreciate any insights. Thanks!

    3 AnswersRenting & Real Estate1 decade ago
  • Reversing a linked list recursively?

    Hello everyone,

    I am trying to write a recursive function to reverse a linked list.

    I think I've managed to do it, but I would really appreciate it if you advanced coders out there can review it and tell me if you can find any problems or optimizations (which would still keep it simple and recursive). I tested it out and it seems to work, I just want to make sure I'm not accidentally causing a memory leak, or being massively inefficient. This is a common interview question and I just want to make sure I've got it right.

    Thanks!

    Current Code:

    Node* reverseList(Node* head)

    {

    //if empty list or list with one member we're finished, so return what was passed in

    if (!head || !head->next)

    return head;

    //if list contains two members, reverse them and return the new head of the list

    if (!(head->next->next) )

    {

    Node* newHead;

    head->next->next = head;

    newHead = head->next;

    head->next = NULL;

    return (newHead);

    }

    //reverse a smaller list, store the head of the new list into newHead, attach head of current list to the end of reversed smaller list

    //(which is the original head of the older list)

    Node* newHead = reverseList(head->next);

    head->next->next = head;

    head->next = NULL;

    return (newHead);

    }

    1 AnswerProgramming & Design1 decade ago
  • Ideas for a Master's Thesis in Computer Science?

    Hello everyone,

    I'm currently studying for a Master's degree in Computer Science and I have to write a thesis this year. I am left to my own devices to pick a good thesis topic (meaning my university is giving me virtually ZERO guidance or help). I am interested in the fields of IT security (e.g. application security, network security etc...) and in Software Development. I am also leaning more towards an idea which I can implement rather than a purely theoretical topic.

    I would really appreciate hearing ideas for a good thesis topic. Please keep in mind that the topic needs to be specific rather than general (i.e. attacks on websites would not be a good topic).

    Thanks in advance!

  • Need suggestions for setting up a corporate wiki server?

    I wanted to set up a small corporate wiki server so that the employees of my company can have a place to make informal documentation. I was hoping someone could help me by sharing his expertise. I used Twiki before in a another company but I saw that setting it up is very complex. I was hoping someone could point me towards a simple solution that I could get up and running quickly. I don't need an abundance of features, I just want to have a collaborative documentation server. The server will run either a linux distro or Windows depending on what the easiest solution I find is. If anyone knows of a simple solution I'd really appreciate the help. Keep in mind that I have no idea how to use any scripting languages (I can learn, but I'm shooting for a solution simple enough not to require scripting knowledge)

    Thanks!

    1 AnswerSoftware1 decade ago
  • problems with Java cryptographic extension?

    The line:

    Cipher c = Cipher.getInstance("DES");

    throws a NoSuchAlgorithmException. This line is taken right out of the Java documentation, can anyone tell me what I'm doing wrong?

    These are the imports I'm using:

    import java.security.*;

    import javax.crypto.*;

    import javax.crypto.spec.*;

    import javax.crypto.interfaces.*;

    Would appreciate any help you could offer.

    I'm just trying to encrypt a sting.

    Thanks!

    3 AnswersProgramming & Design1 decade ago
  • Help! downloading ALL mail messages in pop instead of only the newest!?

    Hi, I just switched to using the opera mail client. For some reason when I try to synchronize my mail it starts downloading all 6000 messages in my yahoo account. Is there any way to get it to only donwnload the newest ones? All the yahoo messages are marked as read, is there anyway to make opera mail only download the unread messages??? Please help!

    Thanks in advance!

    1 AnswerOther - Computers1 decade ago
  • setting up a free corporate VPN?

    Hi,

    I'm looking for a free way to set up a secure corporate VPN.

    I know about hamachi, but while it works great for me I can't use a

    VPN based on P2P technologies for business purposes.

    Any ideas? I saw the cisco VPN client is free, does anyone know if I can use it to set up a free VPN? or would I have to pay fees?

    3 AnswersSecurity1 decade ago
  • What is the difference between a hashed password and an encrypted password?

    I was just wondering what the difference is between a hashed password and an encrypted password is.

    1 AnswerSecurity1 decade ago
  • Does anyone know how I can use multiple HTML signatures with Yahoo mail or Gmail???

    I'm looking for a way of adding different HTML signatures to outgoing messages in either Yahoo mail or Gmail.

    There is an extension that allows you to have multiple plaintext signatures to Gmail but I am looking specifically for the ability to add images to my signatures (company logos)

    Thanks!

    2 AnswersInternet1 decade ago
  • What is the best way to clean coffee stains of a white painted wall without damaging the paint?

    Hi,

    I accidently spilled a whole cup of coffee on my newly painted wall, and I was hoping there was a way to clean off the coffee without damaging the wall...

    Anyone know the secret?? I would be sooooo grateful!

    Thanks!

    4 AnswersCleaning & Laundry2 decades ago
  • How do I create independent software applications in VB.net?

    I made a VB.net application which I was hoping to distribute on a website. To my surprise no-one who doesn't have .Net installed seems to be able to run it? Is there any way to compile a VB program on .Net and have it work for people who don't actually have .Net installed???

    2 AnswersProgramming & Design2 decades ago
  • How much sex on average is the norm for a young married couple?

    Just out of curiousity, what do you all think is the average freqency most newly married have sex per week?

    I know it depends on the people, but on average what would u think is too little?

    6 AnswersMarriage & Divorce2 decades ago