« first day (784 days earlier)      last day (1404 days later) » 

3:00 AM
My friend enabled privacy setting in fb as only friend of friend can send friend request. So, I sent request to their friends. Once they accepted I sent friend req to my friend. My question is, if I un friend their friends, request sent to my friend will be cancelled or it will be there ?
 
 
3 hours later…
6:18 AM
0
Q: grading program in Python won't work

user1030This question about the Python coursera assignment 3.3 was already asked but that user had a different base to start that's why I'm asking again. Here is the assignment: Write a program to prompt for a score between 0.0 and 1.0. If the score is out of range, print an error. If the score is betw...

 
 
2 hours later…
8:04 AM
1 message moved from Teenage Programmers Chatroom
 
 
6 hours later…
1:54 PM
0
Q: Python GUI graphics/ writing to and reading from a file

Hassan SillahI want to be able to take user input and write the input to a file in python graphics and as well as read from the file in order to display the content of the file in graphics as well. Please how do i go about it? below is the code snippet I am currently trying out. def main(): taking input in...

 
 
1 hour later…
3:20 PM
0
Q: First time writing test case

Huy VoI have a list of input, a greedy method and a dynamic programming method. I wrote a unittest script to test my two methods with input list but I don't know if I'm writing it right: import unittest from land_selling import Offer, Seller class LandSellingTest(unittest.TestCase): offers1 = [ ...

 
 
1 hour later…
4:44 PM
0
Q: Optimize simulation of elastic collisions

cromodFollowing this SO post, I implement this small script to simulate physics of elastic balls. The Ball class enable to define the physical behaviour of each ball. I'm using a temporary storage for velocity of next step. We consider the world as a square. I define 2 functions for the step solver b...

 
 
1 hour later…
6:12 PM
0
Q: How to generate a score to allow a range search on a sorted set

OrbiterFleetUsing a sorted set (ZADD) of IDs (representing scheduled emails). I want to use the score element to get all the ID's in the range that are ready to be sent that day. My problem is, what methods are available to generate the score based on a timestamp i.e. 2016-04-16T14:43:44.269Zwhich then allo...

 
 
1 hour later…
7:35 PM
0
Q: Sliding tiles solver in Python

jinaweeI've implemented the sliding blocks puzzle in Python to solve it using different algorithms. I'd like to know if the class "Sliding_blocks" is nicely designed or if I am missing concepts of OOP. I think that the indices of the blocks are a bit obfuscated, because I mix tuples, lists and arrays ...

 
 
2 hours later…
9:39 PM
0
Q: how to use "clipboard" in PhantomJS with Selenium without X-server on Linux

NamodnarIm using firefox and Selenium, and i run copy-paste with: element.send_keys(Keys.CTRL + 'c') and element_two.send_keys(Keys.CTRL + 'v') in my Python scripts. Where element = all html page, and element_two - just input form. I would to get html-page and paste to another form. On Firefox its...

 
 
2 hours later…
11:32 PM
 
1 message moved from SO Close Vote Reviewers
 

« first day (784 days earlier)      last day (1404 days later) »