onelinerhub
Chyrp Lite
Our great sponsors
onelinerhub | Chyrp Lite | |
---|---|---|
15 | 5 | |
783 | 359 | |
1.1% | - | |
10.0 | 9.8 | |
9 days ago | 2 days ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
onelinerhub
-
Best Websites For Coders
Library or micro code solutions : Community library of micro code pieces for popular issues.
-
Hacker News top posts: Mar 28, 2022
Help us collect modern Python NumPy code solutions\ (23 comments)
-
Help us collect modern Python NumPy code solutions
https://github.com/Onelinerhub/onelinerhub/issues/1378#issue...
Actually concerning visualization tasks I don't see a sense in one line solution
The code quality seems questionable. A few examples:
Repository claims modern code, but uses Python 2 (end of life January 1, 2020) https://github.com/Onelinerhub/onelinerhub/blob/main/python/... Copied from https://wiki.python.org/moin/Powerful%20Python%20One-Liners
Incorrect indentation causing unnecessarily large memory usage https://github.com/Onelinerhub/onelinerhub/blob/main/python/...
Undefined behavior for i = 31 https://github.com/Onelinerhub/onelinerhub/blob/main/c/bits_...
Printing of uninitialized memory https://github.com/Onelinerhub/onelinerhub/blob/main/c/set_v...
Undefined behavior https://github.com/Onelinerhub/onelinerhub/blob/main/c/swap_...
The suggested solution https://github.com/Onelinerhub/onelinerhub/blob/34467e427cc6... still runs out of memory with many files.
I believe the original intention behind using mode="a" was to append to the output file while reading the input files at the same time. This way, there is no need for an ever-growing string array.
But there are still many other issues like using default platform string encoding instead of detecting it properly or at least using utf-8, checking for ".txt" anywhere in the path instead of at the end, and not closing the input files with a context manager like the output file, which suggests that this code is just pierced together from various sources.
A robust solution would require many more lines.
-
Many thanks to all of you – new UI onelinerhub.com
Thank you all for great support in helping our ad-free non-profit code library project.
We've launched new UI today (thanks to your support and sponsoring!), please help us test it and make sure everything works fine. Please leave feedback using Github issues: https://github.com/nonunicorn/onelinerhub/issues
Chyrp Lite
-
best way to selfhost a Blog?
Chyrp Lite https://chyrplite.net/
What are some alternatives?
Solo
Noddity - It's a blog, it's a wiki, it's a fast CMS!
Chyrp - The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Antville - The Queen Mum of Weblog Hosting Systems – written in server-side JavaScript since 2001.
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.
Blog - Lightweight self-hosted facebook-styled PHP blog.
htmly - Simple and fast databaseless PHP blogging platform, and Flat-File CMS
Wagtail - A Django content management system focused on flexibility and user experience
Bludit - Simple, Fast, Secure, Flat-File CMS
PluXml - A CMS to create lightweight websites with ease and without database.
Canvas - Publishing on your own terms
scripts - Collection of useful scripts for Linux (git, docker, LUKS, Archlinux...)