Unanswered Questions
290 questions with no upvoted or accepted answers
16
votes
0
answers
203
views
Encoding the problem domain of products and prices into the typesystem in F#
I'm trying to design a model for purchasing amounts of products in F#, following the ideas for designing for correctness (source). The idea is to use the type system to capture the different legal ...
14
votes
0
answers
972
views
Django on virtual machine - watching changes in static files and autocompiling LESS without inotify
I'm setting up a Django development environment using Vagrant to run an Ubuntu virtual machine on VirtualBox. As this is a student project run mostly by very amateur coders and I want everyone to be ...
7
votes
1
answer
157
views
BingWallpapers: Fetches and applies the image of the day from Bing as the wallpaper
I have written a small desktop program nabeelomer/BingWallpapers in Haskell. This is my first time writing Haskell.
I was wondering how I can make the code use more functional programming features/...
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
500
views
Xero API Client in Django
I'm not actually that new to writing Python. But I've no formal training and have only learnt to build applications to solve problems for my job out of necessity. Starting to bring my existing skills ...
6
votes
0
answers
304
views
Generating integer partitions
I've tried to implement integer partition algorithm as described in blogpost below (author implemented it in Python):
Generating integer partitions
I'm still trying to learn best practices in ...
6
votes
0
answers
118
views
Read stock files, gets the candles sequence and makes a report - follow-up
My first question: Read, calculate, write
The only thing I kept is the function try-block.
This is still a work in progress, that's what I have done so far.
Source:
...
6
votes
0
answers
2k
views
Gin web framework middleware
As a beginner in Go, I'm seeking feedback on a web framework middleware I wrote up. I reckon that knowledge of the web framework is not needed for the code review.
The goal of this middleware is ...
5
votes
0
answers
91
views
CLI reading logger in Python
EDIT
Updated code
This is my first real project in Python, and also my first time using sql databases. The purpose was initially to provide a very simple interface to track my reading hours using logs,...
5
votes
0
answers
293
views
Pi Calculator Using BBP (Bailey–Borwein–Plouffe) - Written in Cython With MPFR
I wrote a Pi Calculator using the BBP Algorithm in Cython. My specific goals are make the code more legible and more performant. This is a purely academic script in order to teach me how to implement ...
5
votes
0
answers
347
views
Rabin-Karp algorithm implementation
This code uses the Rabin-Karp algorithm to compare two text files. It takes a few minutes when both files contain around 1000 words. How can it be improved?
...
5
votes
0
answers
240
views
Tkinter application to manage school tasks
I'm a beginner in OOP programming and I'm wondering what is the best way to put all the windows and functions of a window application in the code.
My biggest questions are:
Am I using classes and ...
5
votes
0
answers
440
views
HashMap exercise, Rust book Ch.8
I'm learning Rust by learning the Rust programming language book. I'm now implementing the solution for the third challenge.
Using a hash map and vectors, create a text interface to allow a user to ...
5
votes
0
answers
91
views
"Backend" of custom app made for editing Google Spreadsheet file
I've been learning some basics of python for few moths now.
My friend, who works as salesman at company which sells hookahs, asked me if a could write a simple app which would help him maintain a ...
5
votes
0
answers
13k
views
(Python) Use IMAP lib to download attachments and email details
This is my first approach to programming in Python, so I hope you will "destroy" my coding!
Idea is to use SSL connection to my mailbox and use IMAP to download attachments from emails with ...