« first day (625 days earlier)      last day (1563 days later) » 

12:58 AM
-1
Q: where is my mistake and how can i correct it?

alexquestion def scalar_mult(sc,v): """ scalar multiplication (scalar * vector) :param sc: a scalar mulitplier :param v: a list - vector :return: sc * v """ my code def scale_mult(sc,v): return [sc * v[i] for i in range(len(v))] Evaluating function scalar_mult: ----------...

 
 
2 hours later…
2:45 AM
0
Q: TSP Brute Force Optimization in Python

Mr. FootsI am currently working on a project which includes solving the Traveling Salesman Problem using different algorithms. I have just written a Brute Force algorithm and I would love some feedback. Now I understand that the number of operations increases by the factorial of the route length so Brute ...

 
 
3 hours later…
5:42 AM
0
Q: mesh generation in Fenics python

user288354I how can I generate the following mesh in Fenics. My domain is [-1,1]*[-1,1]. I trie the following mesh = Rectangle(-1,-1,1,1) but this doesn't work. Any help is appreciated. Thanks.

 
 
1 hour later…
6:52 AM
@QuokMoon little worried
waiting for september-october month salary from last company
hope i get today
 
Why they don't pay ?
 
@QuokMoon ping me on whats app
4 messages moved from Smart Developers' Lab
 
okies.. Will do in lunch.
 
2 messages moved from Smart Developers' Lab
 
 
2 hours later…
8:52 AM
0
Q: Find the Preorder traversal from Inorder and Postorder traversals of a binary tree

aamir23I was solving a problem where I was given Inorder and Preorder traversal and had to find the Postorder traversal of a binary tree with the code below. def printPostOrder(inorder,preorder,n): """The first element in preorder is always root, search it in inorder to find left and right s...

 
 
4 hours later…
1:13 PM
this is episode is nostalgic
 
1:24 PM
1 message moved from Regular Chat
 
 
2 hours later…
3:09 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
#canvassim ,#assistsim{
	position: absolute;
	left: 0px;
	top: 0px;
}
body {
	margin: 0px;
	height:2000px;
	background-image:url(icons/1194989365666493578pattern-dots-square-grid-01.svg.thumb.png);
	background-color:#FFF;
 
1 message moved from JavaScript
 
 
2 hours later…
5:01 PM
0
Q: A python package for testing a network connection

Ricky WilsonI Wrote this package for monitoring the state of a network connection in the terminal because my net connection would go down for a few minutes at a time and come back up but i think it could be used in other applications. I'm looking for any advice on how to improve or extend this package in an...

 
 
2 hours later…
6:36 PM
0
Q: Three Programs in Three Languages

Lost BamI have written three different programs in three different languages that accomplish the same goal. They are each very simple programs but I did them for personal reasons, basically because I was curious I've head a lot of "Oh Python is better" or "Oh Ruby is the best" or "Perl is so much fun" so...

 
6:48 PM
0
Q: Three Programs In Three Languages - Python

Lost BamPython: # #Test program to choose language #Python #creator Lost Bam # import random def welcome(): choices = ["Perl", "Python", "Ruby"] lang = 3 print "Welcome, to the test script, this will test what language you would like to learn.. In order to find out these choices, write thi...

 
 
5 hours later…
11:55 PM
0
Q: Python invalid syntax error? Would appreciate an explanation that is easier to understand

Jericho Devan PopeI'm playing around with the stagefright exploit for android and when I try using python3.4 with the py file that i have downloaded I get this error File "38124.py", line 94 (gdb) 'x/10i __dl_restore_core_regs' ^ SyntaxError: invalid syntax After rem...

 

« first day (625 days earlier)      last day (1563 days later) »