Skip to main content

Unanswered Questions

412 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
0 answers
4k views

React Native - Rendering different scenes based on application state

I am using react-native-router-flux to organize the routes for my application. Using Firebase, I am able to call ...
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
59 views

React state management design pattern new approach thoughts

Hey people on the internet! I do not know where to share my new npm package so I am asking you do you know of a good place to share my package? Also I would really appreciate if you take a look on it ...
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
572 views

React Context & Hooks custom Vuex like store

I've been experimenting with Hooks lately and looking more into how can I replace Redux with useContext and useReduer. For me, ...
5 votes
0 answers
55 views

React and D3 Alignment Histogram

I'm reasonably new to D3, and I've put together a class based React component which outputs a genomic alignment visually. The ...
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? ...

15 30 50 per page
1
2 3 4 5
28