unmaintainable-code
gmp-wasm
Our great sponsors
unmaintainable-code | gmp-wasm | |
---|---|---|
58 | 38 | |
9,859 | 12 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | over 3 years ago | |
C | ||
- | GNU General Public License v3.0 only |
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.
unmaintainable-code
-
Alan Moore: Every aspiring writer should read terrible books (2022) [video]
Many useful lessons can be learned on what not to do: https://github.com/Droogans/unmaintainable-code
-
whyRubItIn
Reminds me a bit of this old gem - How To Write Unmaintainable Code
- C'est quoi le secret de Polichinelle de votre profession ?
-
In your experience how true are the studies that claim that on an average 8 hour work day, people are only productive for around 2 hours and 50 mins?
I think it can be true for coding, but in this line of work some people can output in 2 hours and 50 mins what other people require a week to do. Also it is possible for someone to create more work through their actions - a sort of anti-work (not to be confused with the subreddit). Sometimes the anti-work can create entire worker-years of work. Actually, anti-work is sort of an art form - here is a guide: https://github.com/Droogans/unmaintainable-code
- How to make intentionally bad code?
-
Spaghettify - Making code worse with AI
This is the future of the classic essay 'How to write unmaintainable code': https://github.com/Droogans/unmaintainable-code
-
Show HN: Spaghettify – A VSCode Extension to make your code worse with AI
Two thoughts:
* This is ridiculous. Why would you do this? Which made think of this quote: "Which is ridiculous and unnecessary but when has that ever stopped programmers?" from one of my favorite Tom Scott videos: https://www.youtube.com/watch?v=gocwRvLhDf8
* How to Write Unmaintainable Code: https://github.com/Droogans/unmaintainable-code
- How To Write Unmaintainable Code
-
How do you deal with coworkers who refuse to take your code review suggestions?
My go-to is this one: https://github.com/Droogans/unmaintainable-code
-
Struggling to read coworkers code
Here's a handy style guide for how to write proper code.
gmp-wasm
-
Sourcehut and Codeberg are both currently experiencing a DDoS attack
I wondered about Drew's "antagonism" last year when he claimed that Google was DDoS'ing Sourcehut, which is why sr.ht blacklisted the Go module mirror; see https://news.ycombinator.com/item?id=34310674 .
I concluded he was right after I read about ongoing problems with the GMP project, at https://gmplib.org/ : "The GMP servers has been under serious load due to a barrage of clone requests from Microsoft/Github. ... In effect, Microsoft's computer cloud performed a DDoS attack on the GMP servers. ... Our servers are fully available again, but that's the result of us adding all participating Microsoft network ranges to our firewall. We understand that we are far from the first project to take such measures against Github."
Also, you can't build projects like Sourcehut by being only an antagonist, and I can think of some pretty antagonistic CEOs of billion dollar companies.
-
A Linear Algebra Trick for Computing Fibonacci Numbers Fast
There are "bignum" implementations for every language. Though I never tested the performance impact on closed-form Fibonacci when a defined double precision >64bit is used.
https://gmplib.org/
Your code has an accidentally quadratic runtime (instead of linear). Since the array is appended to, the code regularly increases the memory region and has to move all the previous data over.
You could pre-allocate the memory as n is known ahead.
-
Under the hood: The Importance of sizeof in C and C++
Different data types can take up varying amounts of memory. Take an integer as an example, this data type usually takes up 4 bytes of memory (DWORD in x86 architecture), while a floating-point data type can take up 8 bytes (or more, depending on what compiler you are using, on that offers a lot of flexibility is GMP)
-
Microsoft's GitHub under fire for DDoSing crucial open source project website
I also disagree, and they were DDOS, so technically Microsoft broke a law.
>Granlund was not entirely satisfied with Blacker's explanation, nor the implied feebleness of the project's server(s)
So, every project needs to have a multi-million USD server Farm ? GMP is probably pulled by various Linux distros and the BSDs, along with other Misc projects. So no need for a huge server farm.
For people who do not know what it is:
https://gmplib.org/
- The GMP library's repository is under attack by a single GitHub user
- The GMP library's website is under attack by a single GitHub user
-
GMP servers are under DoS attack from Microsoft[-owned IP addresses]
The front page of https://gmplib.org/ has two other undated updates that the current server is too slow because of meltdown and they're going to replace with it with an epyc server in mid April.
-
Having trouble with gmp library
Ive been trying to use the gmp library but I keep getting errors. Ive noticed that the last release was from 2020 and was wondering if there was any newer versions anywhere else. I'm currently running Fedora 38 and using VSC as my editor. This is the error I get:
-
Top 10 largest GNU manuals
You also left out GNU Smalltalk, whose PDF manual is 138 pages, and GMP, whose PDF manual is 152 pages.
-
How to deal with large numbers in c++?
If you are using the GCC, it was (probably) built with the GNU Multiple Precision Arithmetic Library. You just have to compile your program with the library specified like: g++ mycxxprog.cc -lgmpxx -lgmp where gmp is the GNU MP library and gmpxx contains the C++-specific functions.
What are some alternatives?
Monocypher - An easy to use, easy to deploy crypto library
snes-apu - A Super Nintendo audio unit emulator.
COBOL.now - Now is the time to COBOL!
mathlib4 - The math library of Lean 4
kona - Open-source implementation of the K programming language
ibig-rs - A big integer library in Rust with good performance.
ioccc-obfuscated-c-contest - IOCCC International Obfuscated C code contest entries
Random - Repository of Random, Useful, or Novel Functions
FuckIt.py - The Python error steamroller.
Rust-CAS - Rust Computer Algebra library
libnest2d - 2D irregular bin packaging and nesting library written in modern C++
rust-phf - Compile time static maps for Rust