cuckoo
osqp
cuckoo | osqp | |
---|---|---|
8 | 4 | |
813 | 1,565 | |
- | 1.6% | |
4.3 | 8.1 | |
6 months ago | 5 days ago | |
C++ | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
cuckoo
-
mCaptcha: Open-source proof-of-work captcha for websites
Asymmetric PoW algorithms, such as Cuckoo Cycle [1] or the poorly named Equihash [2] (which is not a hash function) do not lend themselves to password hashing, since a given instance can have 0 or 1 or many solutions.
[1] https://github.com/tromp/cuckoo
[2] https://en.wikipedia.org/wiki/Equihash
-
Crypto: My Part in Its Downfall
The full technical report describing the LOCKSS forerunner to bitcoin may be downloaded at [1]. Interestingly, LOCKSS used a memory bound Proof-of-Work, where both prover and verifier perform a random walk in a 1GB table. But the prover had to do this many times, to obtain some final hash with many leading zeroes. This was before the invention of asymmetric PoW systems like Cuckoo Cycle [2] where the PoW can be verified with no memory use.
[1] https://www.researchgate.net/publication/31869581_Preserving...
[2] https://github.com/tromp/cuckoo
-
Is it possible a PoW that runs arbitrary algorithms?
A non-hashcash-style PoW scheme is Cuck(at)ooCycle.
-
POW Captcha: a lightweight, self-hosted proof-of-work captcha
The use of scrypt as underlying hash function is a rather poor choice though, as scrypt's memory hardness makes PoW verification unnecessarily expensive.
It's perfectly possible to make a memory hard PoW that's instantly verifiable, by using something other than hashcash. Examples include Cuckoo Cycle [1], and Equihash [2].
[1] https://github.com/tromp/cuckoo
[2] https://en.wikipedia.org/wiki/Equihash
-
Memory-bound trapdoor proof of work
Non-Solution #8: Cuckoo Cycle https://github.com/tromp/cuckoo Why: At least a few people have looked at it, and any attacker is far more likely to directly attack the blockchain itself, than my server (which doesn't get involved with the blockchain) Why not: The "mathematical specification" https://github.com/tromp/cuckoo/blob/master/doc/mathspec is woefully inadequate, their "C spec" focuses more on ASCII art than actual readability https://github.com/tromp/cuckoo/blob/master/doc/spec and as https://handshake.org/files/handshake.txt points out, cannot be easily adjusted in difficulty. Also, I would need to implement it from scratch, but I guess I'll have to do that anyway.
- IBM Creates First 2nm Chip
-
Ask HN: What Kind of Threat Does Quantum Computing Pose to Bitcoin?
The hashcash proof-of-work scheme that bitcoin uses is vulnerable to Grover's quantum search algorithm, that can find a solution in the 2^76 search space for the current target difficulty in roughly sqrt(2^76) = 2^38 quantum hashing steps, for a 2^38 factor speedup.
Other proof-of-work schemes (e.g. finding cycles in graphs [1]) are not vulnerable to quantum speedup.
[1] https://github.com/tromp/cuckoo
-
Theoretically, how much hashing power could a 'quantum computer' generate? And is any superpower close to having one yet, that we know of?
[1] https://github.com/tromp/cuckoo
osqp
-
Best/Any Convex Optimization Solver for Rust?
There's also two bindings for the osqp library (which is written in C), osqp published 2 years ago and osqp-rust published 3 months ago. I don't know what are the differences between them, but they both target osqp 0.6.2 (released in 2021) while the last released version is osqp 0.6.3 which was released last week.
-
Cvxpy probs
Cvxpy is overkill for a standard quadratic program. I’d recommend trying OSQP https://osqp.org which can take advantage of sparsity.
-
Ask HN: Do you use an optimization solver? Which one? Why? Do you like it?
I have been using OSQP [1] quite a bit in a project where I needed to solve many quadratic programs (QPs). When I started the project, OSQP didn't exist yet; I ended up using both cvxopt and MOSEK; both were frustratingly slow.
After I picked up the project again a year later, I stumbled across the then new OSQP. OSQP blew both cvxopt and MOSEK out of the water (up to 10 times faster) in terms of speed and quality of the solutions. Plus the C interface was quite easy to use and super easy (as far as numerics C code goes) to integrate into my larger project.
[1] https://osqp.org/
-
What's the industry standard "fast" library for optimization methods?
For quadratic programming—which is a class of problems in convex optimization, which is a sub-field of numerical optimization in general—a solver that is frequently used is OSQP. Although it is implemented in C++ you can also use it in Python thanks to its bindings. If your goal is to use a solver that's state-of-the-art and relatively versatile it is a good pick. If your goal is to find the best solver for a given problem, then there is no one-stop-shop. For example in this benchmark OSQP was the best-performing solver for sparse problems but quadprog performed better on dense problems.
What are some alternatives?
nodeeditor - Qt Node Editor. Dataflow programming framework
MControlCenter - An application that allows you to change the settings of MSI laptops running Linux
aperture - ⚡️L402 (Lightning HTTP 402) Reverse Proxy ⚡️
HiGHS - Linear optimization software
vroom - Vehicle Routing Open-source Optimization Machine
quadprog - Quadratic Programming Solver
2captcha-php - PHP package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
golomb-solver - Create Golomb rulers with constraint programming
LDOGE - LITEDOGE - Proof of Stake: 2.0 Proof, of work: Scrypt
Atomic - denis bider's Atomic library (C++, for Windows)
python-mip - Python-MIP: collection of Python tools for the modeling and solution of Mixed-Integer Linear programs