Unanswered Questions
462 questions with no upvoted or accepted answers
16votes
0answers
230views
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 ...
14votes
0answers
992views
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 ...
8votes
0answers
154views
Stable variation of built-in sort
Ruby's built-in sorts are unstable. The stable_sort gem monkey-patches Ruby's built-in library to have stable sorts which include nearly all the functionality of the built-in sorts, but with the ...
7votes
0answers
4kviews
React Native - Rendering different scenes based on application state
I am usingreact-native-router-flux to organize the routes for my application. Using Firebase, I am able to call ...
7votes
0answers
5kviews
spec_helper.rb for RSpec, Capybara, FactoryGirl, Spork and Devise
Having been through hundreds of often-conflicting posts on testing with RSpec, Capybara, FactoryGirl, Spork, Guard and Devise without Cucumber, this is the spec_helper which "seems to" work.I'm ...
7votes
1answer
186views
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/...
CommunityBot
- 1
6votes
0answers
116views
Chapter 8 Challenge: Add employee names to a department
The boring but exciting challenge:Using aHashMap andHashSet, create a text interface to allow a user to add employee names ...
6votes
0answers
68views
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 ...
6votes
0answers
516views
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 ...
6votes
0answers
328views
Generating integer partitions
I've tried to implement integer partition algorithm as described in blogpost below (author implemented it in Python):Generating integer partitionsI'm still trying to learn best practices in ...
6votes
0answers
133views
Read stock files, gets the candles sequence and makes a report - follow-up
My first question: Read, calculate, writeThe 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: ...
6votes
0answers
457views
Solve alphametics puzzles in non-brute-force, iterative manner
The goal: Trying to optimize solution for the alphametics problem on exercism.From the question text: Alphametics is a puzzle where letters in words are replaced with numbers. For example ...
6votes
0answers
2kviews
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 ...
5votes
0answers
309views
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 ...
5votes
0answers
583views
React Context & Hooks custom Vuex like store
I've been experimenting with Hooks lately and looking more into how can I replace Redux withuseContext anduseReduer. For me, ...






