Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Unanswered Questions

Ask Question
697 questions with no upvoted or accepted answers
23votes
0answers
761views

Multiplying big numbers using Karatsuba's method

The Karatsuba algorithm, first published in 1962, aims to speed up the multiplication of big numbers by reducing the number of 'single-digit-multiplications' involved.Because of its complexity (...
17votes
0answers
911views

Let's register that Django user

Short introSo, I've been using Django for a while now and thought it would be nice to start a simple application. In an ideal World, each app must have a way of letting its users register and that's ...
10votes
0answers
1kviews

Cyther: The Cross Platform Cython/Python Compiler (Take 2)

I recently posted an earlier version of this code on Code Review, and now with the given suggestions and many other improvements, I am back. I included the description of exactly what Cyther is ...
9votes
1answer
418views

Metropolis Monte Carlo Sampler in Rust

the following is an implementation of the standard Metropolis Hastings Monte Carlo sampler. You can read more about it here.At the end I am going to give you a link to the Rust playground, so you ...
8votes
0answers
201views

Implementing Simple Diff in Rebol

I've taken a crack at implementing Simple Diff in Rebol (versions 2 and 3). Simple Diff works by finding the longest common sequence in two series, then recursively applies itself either side of this ...
7votes
0answers
5kviews

Cubic spline interpolation in Python from scratch

I implemented the cubic spline interpolation explained inhttps://en.wikipedia.org/wiki/Spline_interpolation as a Python class. Of course, such an interpolation should exist already in some Python ...
7votes
0answers
293views

Selection sort with reduced comparison count: Python iteration 2

Follow up to Selection sort with reduced comparison count - semi-final Iteration?My goal (and excuse not to tag reinventing…) is to have presentable code to argue the viability of reducing the number ...
7votes
0answers
564views

A* Algorithm in F#

Inspired by this post I looked up A* on wikipedia and went on with my own implementation as seen below where I try to mimic the pseudocode on Wikipedia but in a recursive manner. I would like any ...
6votes
0answers
153views

A Python script that creates n-flakes

I have written a simple Python script that generates n-flakes using matplotlib.Wikipedia article on N-flake.I wrote two functions, one function generates pentaflake, the other generates hexaflake, I ...
6votes
0answers
342views

Thread Art Generation that Creates Embroidery Files

I have made a thread art generator that creates thread patterns from images. Mine is a bit different as it outputs an embroidery file (It embroiders quite nicely, though the settings need a lot of ...
6votes
0answers
185views

Efficiently generate distinct subsets which sum to a particular value

Related: Find all distinct subsets that sum to a given numberThis code is supposed to efficiently generate all subsets of a list such that the subset's values sum to a particular target value. For ...
6votes
0answers
147views

K nearest neighbours algorithm

Here is a project that I worked on for a few days in June 2020. Since the algorithm is extremely slow, I looked into methods in order to parallelize operations but did not obtain any satisfactory ...
6votes
0answers
134views

Showing a Wikipedia article's changes as Git commits

I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
6votes
0answers
2kviews

Fibonacci heap in Python

I have this implementation of the Fibonacci heap in Python:...
6votes
0answers
9kviews

Example of multithreading in Python3 / PyQt5 using QThread

I wanted to make a simple example of multithreading with QThread in PyQt5 / Python3. The script generates a set ofQLineEdits and buttons to start and stop a set of ...

153050per page
1
2345
47

Unanswered Tags

python × 352
javascript × 151
performance × 79
java × 64
graph × 36
programming-challenge × 26
beginner × 25
object-oriented × 25
express.js × 25
c++ × 23
tree × 21
numpy × 21
mongodb × 20
tkinter × 19
multithreading × 18
recursion × 18
pandas × 17
pathfinding × 17
c# × 16
image × 16
rust × 15
asynchronous × 15
web-scraping × 14
machine-learning × 14
design-patterns × 13
more related tags

[8]ページ先頭

©2009-2025 Movatter.jp