UnitsNet
Towel
Our great sponsors
UnitsNet | Towel | |
---|---|---|
8 | 10 | |
2,128 | 700 | |
- | - | |
8.6 | 0.0 | |
15 days ago | 4 months ago | |
C# | C# | |
MIT No Attribution | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
UnitsNet
-
Java opensource projects that need help from community.
If engineering/scientific projects appeal to you, Units of measurement implementations for Java are woefully behind when compared with the likes of UnitsNet for C#.
-
Strong typedefs
Check out EngineeringUnits (https://github.com/MadsKirkFoged/EngineeringUnits), or UnitsNet (https://github.com/angularsen/UnitsNet)
-
General feedback on my first python script
https://github.com/angularsen/UnitsNet is sort of an extreme example of this, and their https://github.com/angularsen/UnitsNet/blob/master/Common/UnitDefinitions/Length.json gives an example of how to allow multiple names for units.
-
TypeDef for C#?
Just FYI: https://github.com/angularsen/UnitsNet
-
What is it about C# that you do NOT like compared to other languages?
(I occasionally use https://github.com/angularsen/UnitsNet/, but it's not quite the same as doing it at the compiler level.)
-
With all the new features and the upcoming features can I inherhit from int yet?
UnitsNet does this for common units of measure, and for a more general solution, there's also ValueOf
-
Preview Features in .NET 6 - Generic Math
Have you looked into using UnitsNet instead of rolling your own physical quantity library? I've used it before and it's pretty nice.
-
Recipes, conversions, and fractions; or how I wrote part of my C# app.
What would be best is if there was a library to use to convert things to and from measurements. This was what I first attempted, using The UnitsNet library. This library is excellent, and I recommend it to many people. The issue I have with it, is that it was far more in depth than what I need it to do.
Towel
-
What your hidden nuget gems ?
Towel - Throw in the towel! data structures, algorithms, mathematics, metadata, extensions, console, and more - https://github.com/ZacharyPatten/Towel
-
More C# Console Games
PacMan is... a PacMan clone in the console. Get the dots. Dodge the ghosts. It's not intended to be very faithful though. I didn't research the AI of the ghost, I just came up with my own AIs that worked. Here is what I did for the ghost AIs: - Ghost a: follows you via Dijkstra Path Finding and updates every 6 frames (faster) - Ghost b: randomly moves and updates every 6 frames (faster) - Ghost c: follows you via Dijkstra Path Finding and updates every 12 frames (slower) - Ghost d: randomly moves and updates every 12 frames (slower) Note: for this game I pulled in a reference to my nuget package Towel because it includes generic versions of the Dijkstra Path Finding algorithm.
-
Best data structures and algorithms packages?
Can you give an example? BCL covers the most common algorithms and data structures, so...? There's also a whole pack of additional algorithms and data structures by u/ZacharyPatten: https://github.com/ZacharyPatten/Towel
-
SLazy<T> (a struct alternative Lazy<T>)
Unit Tests
-
SLazy<T> (a struct alternative to Lazy<T>)
Source Code
-
DSA and time complexities
I have a GitHub project with generic data structures and algorithms here: https://github.com/ZacharyPatten/Towel It has 18 of the common comparison-based sorting algorithms.
-
Mathematics/Scientific computing libraries
I don't know specifically what you are looking for, but I have a project called Towel that has generic vectors. If interested: https://github.com/ZacharyPatten/Towel.
-
What I learned about C# from job interviews
https://github.com/ZacharyPatten/Towel/blob/070d454f3fcdc5c632bf68547911718b324cf6ae/Examples/DataStructures/Program.cs#L247
-
Random Generation (with efficient exclusions)
Notice how algorithm #1Pool Tracking is dependent on the range of possible values while algorithm #2 Roll Tracking is not. This means if you have a relatively large range of values, then algorithm #2 is faster, otherwise algorithm #1 is faster. So if you want the most efficient method, you just need to compare those runtime complexities based on the parameters and select the most appropriate algorithm. Here is what my "Next" overload currently looks like: See Source Code Here
-
How to parse console app arguments and auto create help pages
Here is an example if interested: https://github.com/ZacharyPatten/Towel/blob/master/Examples/CommandLine/Program.cs All I have to do is add the [Command] attribute onto the methods and call "HandleArguments".
What are some alternatives?
ShareX - ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
C# Algorithms - :books: :chart_with_upwards_trend: Plug-and-play class-library project of standard Data Structures and Algorithms in C#
unlib - a light-weight, header-only, dependency-free, C++14 library for ISO units
Algorithmia - Algorithm and data-structure library for .NET 4.5.2+/Netstandard 2.0+. Algorithmia contains sophisticated algorithms and data-structures like graphs, priority queues, command, undo-redo and more.
Papercut - Papercut SMTP -- The Simple Desktop Email Server
awesome-software-architecture - A curated list of awesome articles, videos, and other resources to learn and practice about software architecture, patterns, and principles.
NodaTime - A better date and time API for .NET
xaml-math - A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
csharpier - CSharpier is an opinionated code formatter for c#.
Akade.IndexedSet - A convenient data structure supporting efficient in-memory indexing and querying, including range queries and fuzzy string matching.
CodeHub - CodeHub is an iOS application written using Xamarin
Cocona - Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.