Newest Questions
                77,841 questions
            
            
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                22
            
            views
        
        
            
            
        A simple method for compressing white space in text (Java) - Take II
                    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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                37
            
            views
        
        
            
            
        Benchmarking in Java some super linearithmic sorting algorithms
                    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
        
        
            
                33
            
            views
        
        
            
            
        Is this comb-filtering behavior genuine or a result of aliasing? [closed]
                    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 ...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                301
            
            views
        
        
            
            
            
        S-expression parser in Rust
                    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
        
        
            
                411
            
            views
        
        
            
            
        A simple method for compressing white space in text (Java)
                    (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
        
        
            
                21
            
            views
        
        
            
        Working on HIMS SaaS using MEAN stack
                    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
        
        
            
                3
            
            answers
        
        
            
                1k
            
            views
        
        
            
            
            
        Build datasets larger than GPT-1 & GPT-2 with ~200 lines of Python with textnano
                    Lightweight text dataset builder for ML with zero dependencies
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 ...
                
            
       
        
            
                5
            
            votes
        
        
            
                3
            
            answers
        
        
            
                892
            
            views
        
        
            
            
            
        Moving ball simulation within a donut
                    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 ...
                
            
       
        
            
                -4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                56
            
            views
        
        
            
            
        Object oriented programming deque implementation (after second thought)
                    The java.util.Deque implementation from Object oriented programming deque implementation that consists of three elements linked arrays, each array holding reference ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                111
            
            views
        
        
            
            
            
        ShannonFanoEncoder.java - computing prefix codes in Java
                    Intro
This time, I have implemented the Shannon-Fano coding.
Code
io.github.coderodde.compression.ShannonFanoEncoder.java
...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                25
            
            views
        
        
            
        SpiderMonkey JavaScript engine Native Messaging host
                    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
        
        
            
                33
            
            views
        
        
            
        P3D + Processing - Java Support [closed]
                    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
        
        
            
                60
            
            views
        
        
            
            
        Jump point search in Java for faster pathfinding in grid mazes
                    (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
        
        
            
                65
            
            views
        
        
            
            
        Managing a global backend/device state when making a deep learning framework
                    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
        
        
            
                69
            
            views
        
        
            
            
        Object oriented programming deque implementation [closed]
                    Implementation of java.util.Deque interface according to object oriented programming principles - abstraction, encapsulation, inheritance , polymorphism - suitable ...
                
            
       
        