Unanswered Questions
461 questions with no upvoted or accepted answers
17
votes
0
answers
879
views
Let's register that Django user
Short intro
So, I've been using Django for a while now and thought it would be nice to start a simple application. In an ideal World, each app must have a way of letting its users register and that's ...
10
votes
0
answers
1k
views
Cyther: The Cross Platform Cython/Python Compiler (Take 2)
I recently posted an earlier version of this code on Code Review, and now with the given suggestions and many other improvements, I am back. I included the description of exactly what Cyther is ...
7
votes
0
answers
5k
views
Cubic spline interpolation in Python from scratch
I implemented the cubic spline interpolation explained in
https://en.wikipedia.org/wiki/Spline_interpolation as a Python class. Of course, such an interpolation should exist already in some Python ...
6
votes
0
answers
140
views
A Python script that creates n-flakes
I have written a simple Python script that generates n-flakes using matplotlib.
Wikipedia article on N-flake.
I wrote two functions, one function generates pentaflake, the other generates hexaflake, I ...
6
votes
0
answers
107
views
Chapter 8 Challenge: Add employee names to a department
The boring but exciting challenge:
Using a HashMap and HashSet, create a text interface to allow a user to add employee names ...
6
votes
0
answers
319
views
Thread Art Generation that Creates Embroidery Files
I have made a thread art generator that creates thread patterns from images. Mine is a bit different as it outputs an embroidery file (It embroiders quite nicely, though the settings need a lot of ...
6
votes
0
answers
2k
views
Fibonacci heap in Python
I have this implementation of the Fibonacci heap in Python:
...
6
votes
0
answers
271
views
Selection sort with reduced comparison count: Python iteration 2
Follow up to Selection sort with reduced comparison count - semi-final Iteration?
My goal (and excuse not to tag reinventing…) is to have presentable code to argue the viability of reducing the number ...
6
votes
0
answers
9k
views
Example of multithreading in Python3 / PyQt5 using QThread
I wanted to make a simple example of multithreading with QThread in PyQt5 / Python3. The script generates a set of QLineEdits and buttons to start and stop a set of ...
6
votes
0
answers
3k
views
Real-time bitcoin data feed and storage using websocket framework
I'm trying to create data feed script for real time bitcoin data for OkCoin exchange using their websocket API (documentation) and a database manager for storing.
There are two channels I am ...
5
votes
0
answers
67
views
Message-free flow-oriented logger
Today, I've got a small FlowLogger for you to review. The idea is not to log pure messages, but focus on the flow of the app that might contain such items as:
<...
5
votes
0
answers
205
views
@lazylist - Converts a Python Generator to a List without evaluating every element
Inspired by a blog I read, I made a LazyList class that can wrap an iterable (list, generator etc.) and turn it into a ...
5
votes
0
answers
533
views
Process Injector using ctypes and the Windows API
To get some practice with the Windows API and ctypes, I decided to write a program capable of injecting and running shellcode inside of another specified process.
...
5
votes
0
answers
831
views
Selecting child contours in OpenCV
I'm really new to OpenCV. :) I have been working on this for almost an entire day. After hours of sleepless work I would like to know if I can further improve my code.
I have written some code to ...
5
votes
0
answers
115
views
Dealing Synchronous Request in Asynchronous Code
Problem
I am trying to convert my synchronous code to an asynchronous implementation. Using aiohttp I was able to almost get where I want. My problem is how to ...