Newest Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
143 views

This code requires: tile map exported as .csv file tile set as .png knowing tile size knowing the rows and cols of the tile set .png For example, this tileset has 2 rows and 6 cols ...
0 votes
0 answers
19 views

I put together this Native Messaging performance test to determine based on evidence which programming language, JavaScript engine or runtime, and WebAssembly compiled code is fastest to round trip 1 ...
2 votes
2 answers
553 views

Intro In this post, I will present three (3) non-negative integer encoding techniques: Elias gamma coding Elias delta coding Golomb-Rice coding Code ...
6 votes
3 answers
712 views

I'm working on a replacement for make written in Python. Instead of a Makefile, you create a Wormfile.py. This file gets imported dynamically and a Context object ...
-4 votes
0 answers
45 views

I would like to backup my C:\data folder into my D:\data folder, where D: is an external ...
3 votes
2 answers
389 views

Intro In this post, I will elaborate on A simple method for compressing white space in text (Java). Here, I have incorporated some advice offered by Chris. Also, this version preserves a single new ...
2 votes
2 answers
221 views

Intro A sort is called super linearithmic if its running time is \$\omega(N \log N)\$. For example, \$f(N) = \omega(g(N))\$ means that \$f(N)\$ grows "faster" than \$g(N)\$. In this post, I ...
-2 votes
0 answers
37 views

I'm solving a non-linear ODE with some input signal. The signals consist mostly 0, with 1 at a given frequency up to a given ...
6 votes
1 answer
333 views

I wrote a toy s-expression parser, and I'd like to know if I can make it more Rusty. I'm not terribly worried about the functionality. It's only a Rust exercise for me. ...
4 votes
1 answer
492 views

(The story continues in A simple method for compressing white space in text (Java) - Take II.) Intro Now I have that text space compressor. For example, ...
0 votes
0 answers
23 views

I was facing an issue with changing models on the fly — since we don’t just need isolation based on string or ID, but also data-level differences for each HIMS instance. To handle this, I created a ...
2 votes
4 answers
1k views

Context I'm returning to Python development after a break and actively learning AI/ML. As part of my learning journey, I'm building a dozen pet projects to strengthen my skills. This is my first ...
5 votes
3 answers
928 views

How do I optimise my code more? The goal is to have my code work with more than 200 moving balls, but that takes forever right now and doesn't look smooth at all. Furthermore, I can't get the sizing ...
-5 votes
1 answer
76 views

The java.util.Deque implementation from Object oriented programming deque implementation that consists of three elements linked arrays, each array holding reference ...
user avatar
2 votes
1 answer
126 views

Intro This time, I have implemented the Shannon-Fano coding. Code io.github.coderodde.compression.ShannonFanoEncoder.java ...
0 votes
0 answers
30 views

Native Messaging host using Mozilla SpiderMonkey JavaScript/WebAssembly engine. Documentations Chrome Developers MDN Web Docs Microsoft Edge Developer documentation Messaging between the app and ...
-2 votes
0 answers
34 views

Using P3D + Processing, to achieve random arrangement of boxes as attached below 00:31 https://vimeo.com/143076578?fl=pl&fe=vl Colour/hatching not important, will be completed in post if requires ...
0 votes
0 answers
61 views

(Refer to the entire repository in GitHub.) How it looks like Intro This time, I present my take on Jump point search that I translated from Javascript (PathFinding.js/src/finders/JumpPointFinderBase....
2 votes
1 answer
66 views

I have been making a deep learning framework modelled after Pytorch in pure Python. I have made good progress but my framework is currently not seamless to use because the end user of the framework ...
-2 votes
0 answers
77 views

Implementation of java.util.Deque interface according to object oriented programming principles - abstraction, encapsulation, inheritance , polymorphism - suitable ...
user avatar
7 votes
4 answers
626 views

I'm a hobby coder at best. I know enough to make helpful programs to assist me with day to day life and work (mostly with PHP/JS, some C#). I'm wanting to learn more about good coding practices. I ...
8 votes
1 answer
92 views

I have recently implemented a Mandelbrot set visualizer, which I used to reacquaint myself with multithreading using pthreads. I'm just wondering whether the way ...
11 votes
5 answers
866 views

I have a utility that updates, transcodes and renames audio files. Previously I used a function that simply yielded every file that was a good match (based on file extension). As some tasks can take ...
it_serf's user avatar
  • 111
10 votes
4 answers
652 views

I've built a Split Flap Clock, and the code has grown quite a lot, and although it does work in its current state, I am wondering if it could be cleaned up. The whole thing runs on an ESP32 and is ...
2 votes
0 answers
141 views

Project I have created a VBA module called Idx which you may find here on GitHub. It is inspired by pluck() and ...
Greg's user avatar
  • 569
0 votes
1 answer
163 views

What I'm asking here is whether do you think the facts there is no type enforcing; there is no indentation enforcing consoles do not syntax highlight consoles do not emphasize multi-line input a-la ...
6 votes
5 answers
1k views

The goal of the following openprocessing.org JavaScript program is to calculate the sum and difference of a pair of numbers and print the 2 results if they are both positive. I want to do the ...
2 votes
2 answers
96 views

I'm implementing a numerical solver for the 1D diffusion (heat) equation using an iterative method. The initial temperature distribution is a Gaussian profile, which should theoretically smooth out ...
8 votes
1 answer
699 views

I'm interested if the code below could be further enhanced for out-of-order execution. Function inputs: rcx = pointer to a 2 by 64 byte table to multiply 64 bytes ...
4 votes
1 answer
258 views

Lightweight Objects implementation in VBA7 (32/64-bit) As shown here, VB* class instance deallocation becomes exponentially slower the more instances of a particular class module there are. Cristian ...
4 votes
2 answers
613 views
4 votes
2 answers
495 views

I'm resolving a problem from CodeForces: C. Beautiful XOR. This is what the code is supposed to do: You have two numbers a and b. You must transform a into b using XOR operations (...
2 votes
2 answers
108 views

I'm calculating the injectors, and I've added the complete calculation code and tested it using pytest. Can you suggest a better way to structure the code so that I ...
6 votes
1 answer
335 views

I've written a MQTT client for embedded system with RTOS (understand not POSIX, generally FreeRTOS). There's no pthread in the system. There's only 32 bits atomic instructions supported. The client ...
3 votes
1 answer
130 views

This is an update to my Simple Random Password Generator. It has been renamed to SecurePasswordGenerator and uses ...
1 vote
0 answers
38 views

There are two versions of the CSV parser. The latter seems to be more performant than the former, although the former's code is easier to read. Variant 1, which parses a string: ...
1 vote
0 answers
34 views

Below is code for a front end calendar event element I have just finished. Though I have been programming in JavaScript for a while, this is the first time I have created a custom class and element, ...
5 votes
1 answer
175 views

A simple random password generator in C#. Looking for any improvements around speed or design. Any char[] can be passed to choose random chars from. The array I ...
6 votes
2 answers
629 views

What do you think about my calculator application in Python? Are there any hidden bugs that I haven't noticed yet? Let me know about them. Note: to be able to run this program you need first to ...
5 votes
2 answers
360 views

I want to begin by sincerely thanking the community for the invaluable feedback on my previous BRESort byte-sorting research. Your insights about enums, named constants, loop optimizations, and test ...
4 votes
1 answer
88 views

Intro (See the full repository here.) A non-uniform undirected hypergraph is a generalization of an undirected graph. It is defined as \$H = (X, E)\,ドル where \$X\$ is the set of vertices and \$E \...
2 votes
1 answer
73 views

I've written a C# API using .NET 9 with the goal of managing a personal investment portfolio – that means, adding funds adding or removing transactions (for ETFs, ETCs, and usual funds) retrieving ...
Daniel's user avatar
  • 353
7 votes
4 answers
656 views

I've created BRESort - an adaptive sorting engine that dynamically selects optimal algorithms based on data patterns. It achieves 3.6-4.2x speedup over stdlib qsort ...
4 votes
1 answer
178 views

We have an API in which we call external service with a tracking id.This first part of the API workflow makes an entry to the DB as SUBMITTED after the call to first external API say /E1 finishes and ...
1 vote
0 answers
112 views

In VBForums I found the following post: Is there a way of retrieving the number of instances of a VB* class from within the class itself? One could store an instance counter in a Public variable in a ...
5 votes
4 answers
754 views

This is a reservations app with linked lists for insertion and BST for search. It uses CSV files for storage, recursion for printing and handles memory allocation for variable growth. I'm looking for ...
4 votes
1 answer
165 views

I have a C# class with a number of properties that are read by and set by multiple threads. I use a simple lock when getting and setting them in order to have a full-fence memory barrier, so member ...
10 votes
2 answers
398 views

This is a follow-up question for SIFT Keypoint Detection for Image in C++. With the detected SIFT keypoints of images, image stitching is possible to perform. In this post, the first step is to ...
-5 votes
0 answers
142 views

On a second thought, the Deque implementation around strategy design pattern changed with a new implementation of retainAll method according to the solution from ...
user avatar
9 votes
4 answers
799 views

The purpose of this code is to find the smallest semiprime \$s = a b\$ satisfying a bunch of conditions stated in the Math.SE question What is the smallest "prime" semiprime?. The conditions ...

15 30 50 per page
1
2 3 4 5
...
1557