Unanswered Questions
178 questions with no upvoted or accepted answers
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....
5
votes
0
answers
133
views
Production planner
I have a class that creates an object, PlannedYear, and then passes that object into several other classes to manipulate it. The ultimate goal of the class is to ...
5
votes
0
answers
306
views
Using ClientFactory-pattern with Dependency Injection
I initially posted this on Stackoverflow but was recommended to try here instead.
I'm looking for feedback on why the implementation of my
ClientFactory is probably bad, from a Dependency Injection-...
5
votes
0
answers
2k
views
Auto register Func<T> for .net core dependecy injection
The default .net core dependency injection doesn't support building Func<> for injection automatically, see question. I wrote an extension method to go find all the Func in register types ...
4
votes
0
answers
101
views
Determine when a file is no longer being changed by hashing
I have a requirement to essentially scan a filesystem on any kind of filesystem and move a resource whenever it is ready. To do this I have the following code
...
4
votes
0
answers
119
views
Injectable EventLogger for custom application events that are handled differently from normal logs
I am trying to become better at designing classes for dependency injection and IOC in general. It is often not an intuitive concept.
I have the following python interface and implementation for a ...
4
votes
0
answers
201
views
Sharing User Inputs via Dependency Injection
This code solves the problem of how to share user inputs throughout a large application when using dependency injection. To achieve this, I'm using a static (through DI) store and injecting it at ...
4
votes
0
answers
137
views
One interface for multiple CRUD resources
I asked about an abstraction layer for accessing files (link) a couple of days ago (I decided to not call it a follow-up anymore as there are too many changes). I tried to incorporate many of the ...
4
votes
0
answers
130
views
Wrapper for Google_Service_Calendar as a Symfony service
My app interacts with Google Calendar. This Service wraps Google_Service_Calendar:
...
4
votes
0
answers
4k
views
Logging in ASP.Net MVC project
I want to implement a Logger and use Serilog as Provider. My Project is ASP.NET MVC Framework (not core).
Initially I tried to replicate ASP.Net Core Logging framework. I created a ...
4
votes
0
answers
221
views
"Ymbirtt vs The Gilded Rose" Kata
The Gilded Rose Kata is a refactoring challenge, in which some frankly disgusting code is thrown at the developer, and they're told to make a small change to it. For reference, the (truncated) ...
4
votes
0
answers
273
views
In-memory file system context for the behat PHP BDD testing framework
I wanted to come up with a 'utility' context to enable testing of the file system with behat. Specifically this is aimed at helping with the behavioral testing of php command line applications that ...
3
votes
0
answers
44
views
SPA in Symfony UX Turbo
I am currently learning Symfony UX. My focus today was on UX Turbo. I basically wanted to create a very basic Single Page Application.
User can 'login' using a form, submitting the form should render ...
3
votes
0
answers
211
views
Simple Java IoC container for dependency injection
I have come up with a quick and simple IoC container to enable minimal dependency injection support in one of my Java projects.
The container supports services with:
A transient lifetime, meaning, a ...
3
votes
0
answers
98
views
Handling boilerplate tasks via service pipelines
Here's a small experiment about handling boilerplate tasks via service pipelines. It's similar to the HTML pipeline but simpler and multipurpose.
I've updated the question and this is the 2nd version ...