« first day (802 days earlier)      last day (1386 days later) » 

12:15 AM
1
Q: Storing hashed passwords

scottI'm a beginner and am self taught and was hoping I could get help from others more educated than me to show me what bad practices I might be forming before I go on further. P.S. This program is just for me to learn, I'm not actually storing passwords with it. #!/usr/bin/env python # -*- coding:...

 
 
1 hour later…
1:44 AM
0
Q: very rudimentary text adventure

Argun0print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print("welcome to the castle of doom!") print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") print("remember few who enter ever return.") print("e to enter n to not.") door = input ("> ") if door == "e": print("You enter and feel a dark presence watching you.") print("you...

 
2:34 AM
0
Q: settings.py for Google App Engine webbapp

Programmer 400I have a Google App Engine webapp and would like you to review my settings file. Isn't it better to keep secret keys and provider data in the datastore or in a properties file rather than the code? But this way is way faster; just putting the settings loose in a file with a rather large settings...

 
 
3 hours later…
5:34 AM
Hey do not say c++ is for fags loud here please
 
They're mad cuz I started girl only buses in china
 
 
1 hour later…
7:03 AM
0
Q: High execution of LCS length program in Python2

Sidharth SamantI was trying to solve the LCS problem on a HackerRank exercise - https://www.hackerrank.com/challenges/common-child. It's quite simple and straightforward, just print out the length of the LCS. I submitted this code : s1 = raw_input() s2 = raw_input() lcs = [[0 for j in xrange(len(s2)+1)] for ...

 
7:23 AM
0
Q: Checking convergence of 2-layer neural network in python

userI am working with the following code: import numpy as np def sigmoid(x): return 1.0/(1.0 + np.exp(-x)) def sigmoid_prime(x): return sigmoid(x)*(1.0-sigmoid(x)) def tanh(x): return np.tanh(x) def tanh_prime(x): return 1.0 - x**2 class NeuralNetwork: def __init__(self, l...

 
 
2 hours later…
9:39 AM
0
Q: Effective Python 2/3 two-dimensional array initialisation

vegiRecently I noticed that the idiomatic python two-dimensional array initialisation is extremely slow. I am wondering, is there a good, proper way of doing this simple task fast? Also, are those two variants equivalent? here some code snippets using timeit import timeit A = 5000 B =...

 
 
3 hours later…
12:33 PM
game mari che P:
 
ha ha game mari j chhe
 
12:54 PM
dada tu v bol na
bengali me bol
 
nehi
 
PomeGranate
hey jungs
how to get the value from a file input field with selenium?
SELENIUM!
 
1 message moved from HTML / CSS / WebDesign
 
tere liye 1 app banaya hai
 
hey jungs
how to get the value from a file input field with selenium?
SELENIUM!
 
12:56 PM
sag sabzi ka kolkata ke liye ghar baithe order dena
 
Aarshi nagar dekha?
ghar kolkata me nehi hai
 
1 message moved from HTML / CSS / WebDesign
 
haa 1 no movie hai
dekh liya maine
okay siliguri me v chalega
wo app
 
siliguri me bhi nehi hai ghar
 
jane de fir bed luck
bolta me use business increase kare
waise kaha hai tera
job to klkata me hai
howrah me hi hai na
2-3 hour to hai
 
1:08 PM
haan howrah
 
1:30 PM
Trump should die raped by thousand somalians
 
1 message moved from C#
 
1:43 PM
/chut chut
 
1 message moved from [[iOS][Android][ChaosOverFlow]](chat.stackoverflow.com/rooms/26424/iosandroidchaosoverflow)
 
1:59 PM
0
Q: slicing a big numpy array

blueI have a function that takes a four-dimensional numpy array M and, for each value i of its second index, takes all of M without the i-th "column", evaluates the product over all other columns, and stacks the results so that the array returned has the same shape as M. In other words what I want to...

 
2:53 PM
Customer Information Control System (CICS®) is a family of mixed language application servers that provide industrial-strength, online transaction management and connectivity for mission-critical applications on IBM Mainframe systems under z/OS and z/VSE. CICS is middleware designed to support rapid, high-volume online transaction processing. A CICS transaction is a unit of processing initiated by a single request that may affect one or more objects. This processing is usually interactive (screen-oriented), but background transactions are possible. CICS provides services that extend or replace...
Customer Information Control System (CICS®) is a family of mixed language application servers that provide industrial-strength, online transaction management and connectivity for mission-critical applications on IBM Mainframe systems under z/OS and z/VSE. CICS is middleware designed to support rapid, high-volume online transaction processing. A CICS transaction is a unit of processing initiated by a single request that may affect one or more objects. This processing is usually interactive (screen-oriented), but background transactions are possible. CICS provides services that extend or replace...
 
user47589
6 messages moved from C#
 
4:32 PM
0
Q: why isn't a dictionary being populated? automate the boring stuff excel census chapter

user104616New to all of this. Using linux, python 3.4 and openpyxl and doing the exercises from ATBS. Why am I not getting a fully populated dictionary? I am only getting the results from one row. The excel file was taken from the Automate TBS website. the new .py file gives me: allData = {'WY': {'We...

 
 
1 hour later…
5:33 PM
1
Q: Finding a string whose MD5 starts like the digits of π

guestI tried to make a program to find a string whose MD5-hash starts like the digits of pi, where dot is omitted. Is there a faster way to do it than this: import hashlib import random import string n = 1 while True: word = ''.join(random.choice(string.ascii_lowercase) for _ in range(20)) if...

 
 
1 hour later…
6:40 PM
0
Q: 2D Grid search in larger 2D Grid

willredington315The goal is to return a boolean as to whether the 2D search area exists in the larget 2D grid. My logic is as follows: Find the first occurance in the grid that equals the target grid Find all connecting cells that exist and are in target grid If the test grid doesn't have the current cell a...

 
 
3 hours later…
9:15 PM
0
Q: How can I make this Python function run faster?

Artem KorolFunction findMinimal() receives a tuple from a list which contains 171 tuples, each of them go in to the function one by one and for each tuple it searches the best pair via "minimalTscore" out of those that match by "industry" (approx. 20 names, for each one). How can I make the function to run ...

 

« first day (802 days earlier)      last day (1386 days later) »