Unanswered Questions
807 questions with no upvoted or accepted answers
20
votes
0
answers
5k
views
How to stream data directly from the database through a 3 tier architecture
The problem: generating a CSV file that is too large be stored in memory in a 3 tier architecture, without the complexity of saving the file to storage.
The solution: I've managed to write something ...
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 ...
13
votes
0
answers
3k
views
Socket application using TPL
This is an application I wrote that allows multiple TCP clients to share a single TCP connection to a remote server (hosted project, and a demo). Traffic generated by the server is forwarded to all ...
10
votes
0
answers
2k
views
Geode Contents Predictor StardewValley Mod
The goal
I really enjoy the game Stardew Valley. One of the things that the game has are geodes. Much like real-world geodes, these geodes can be cracked open, and you can find some fun things inside....
10
votes
0
answers
760
views
Sieve32FastV2 - A fast parallel Sieve of Eratosthenes
I’ve created a much cleaner, better designed version to my parallel sieve. I’ve implemented most of EBrown’s micro-optimizations but also revamped the code on my own (that is not in direct response ...
7
votes
0
answers
444
views
C# Generic high performance vectorized math operations
I'm writing a library which simplifies the usage of intrinsics in C#.
It's a generic library which supports all numeric types.
The goal of this library is to perform these operations at the highest ...
7
votes
0
answers
758
views
Unity3D shader for rendering 2D sprites with a pseudo-glitch effect
I'm making a puzzle game in Unity with sprite-based graphics. When the game is paused, I want to hide most game elements, because I don't want the player to be able to pause and leisurely think about ...
7
votes
0
answers
682
views
Chaining JSON transformations with visitors
I have currently two use-cases that require JSON transformations before it can be deserialized.
The first use-case requires changing the custom short type property name from ...
7
votes
0
answers
260
views
Scheduler built with observables v2 (follow-up)
It would probably be too easy if the old Scheduler worked as intended being that simple. But an eye-openig review showed that from time to time it'll miss one ...
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
150
views
Replacing tags in email
I have multiple tables and multiple email templates which will need tags replacing. The data for the tags depends on the recipient id as the data will need to be fetched from different tables.
I have ...
6
votes
0
answers
535
views
Parsing indented text into a tree structure in C#
My goal is to take an input stream (text file), and then parse it into a tree node based on each line's indentation.
My rules are
Lines can be indented using either tabs or spaces, but the file must ...
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
262
views
dotnet - creating db records in bulks in a background job
UPDATE: I found the namespace Channels, and this does exactly what I want to do, but in a much more stable way. Please don't use my code for anything important! :)
Use case
I have a site that (at peak ...