Newest Questions
77,604 questions
3
votes
1
answer
96
views
Validate Microsoft Entra JWT
I am implementing SSO in my application via Microsoft Entra. It has a client application with Cloud APIs.
The Client passes an Entra JWT to the server obtained from the MS Entra libraries. My database ...
4
votes
1
answer
157
views
The Permutations Algorithm using BubbleSort and stack in PicoBlaze assembly language - attempt #2
So, this is improved code from my previous attempt to implement the permutations algorithm in PicoBlaze assembly language.
You can see it live here:
...
7
votes
1
answer
83
views
.net core web API simple app with one endpoint
I am trying to complete a challenge - a simple .net core API with one simple endpoint. This endpoint should validate the user's information
and return a unique ID. He should provide: 1) Name, 2) ...
3
votes
1
answer
156
views
Bulk Text Replacer
I have created a simple text editor with a "replace all" feature. It's meant to be part of a larger project, so it needs to be robust and work reliably across various scenarios. Please ...
9
votes
3
answers
1k
views
Command Line Hangman game
I've completed a Hangman game in Python and was wondering about the formatting of this code. There were several functions that I switched around while making this, and there were several times where I ...
7
votes
5
answers
364
views
Custom hash function as Bash script
I'm looking for a (possibly cryptographic strong) hash function in Bash with the following properties:
The input is only a string with 4 lower-case characters: aaaa to zzzz
The output should be a ...
5
votes
2
answers
113
views
Compare two files in 16-bit DOS assembly
The task is to do a byte-by-byte comparison and print whether the files are equal or not.
Code:
...
4
votes
1
answer
263
views
The permutations algorithm in PicoBlaze assembly language
You can see it live here:
...
7
votes
3
answers
1k
views
Easter day calculator
Here is a simple Easter day calculator in C#.
The results look good for me, but if anyone can check the results.
...
7
votes
1
answer
211
views
bilateral_filter Template Function Implementation for Image in C++
This is a follow-up question for An Updated Multi-dimensional Image Data Structure with Variadic Template Functions in C++. Bilateral filter is implemented in this post. By Wikipedia, the bilateral ...
9
votes
2
answers
312
views
Simple Node.js version manager v2
As a followup to my previous version, I decided to try make this more cross-platform. I considered several languages: C++ is pretty cross platform, Rust is gaining popularity (and the language used by ...
1
vote
2
answers
155
views
Convert binary string to text base64 [closed]
I have a dictionary with a lot of symbols, each of which is encoded in a huffman binary string.
Example:
Symbol
Huffman Code
you
010
shall
0111
not
00111
pass
00001
...
...
Therefore I encode the ...
2
votes
3
answers
2k
views
Fibonacci Sequence Generator generates 1 million numbers
A FibonacciSequenceGenerator in C# looking for speed improvements. Currently generates 1 million numbers in 25.6 seconds.
We must use BigInteger because the ...
5
votes
2
answers
178
views
LeetCode Number 416: Partition Equal Subset Sum
Problem: MLE
I am confused as to why the LeetCode judge reports Memory Limit Exceeded when my solution looks close to the editorial solution. I not too familiar with ...
5
votes
1
answer
314
views
Iterative DFS with Optimized Space Complexity
Background
I can't seem to find an existing answer solving this doubt of mine.
In academic books, it seems that DFS is usually presented in both recursive and iterative forms.
The implementations ...