onelinerhub
computer-science
onelinerhub | computer-science | |
---|---|---|
15 | 1,081 | |
788 | 162,970 | |
0.5% | 1.4% | |
10.0 | 7.7 | |
about 2 months ago | 27 days ago | |
PHP | ||
MIT License | MIT 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.
-
Aligning text horizontally and vertically with PHP GD
We use (400 - $p[2])/2 to calculate x coordinate so our text is centered horizontally. Open original or edit on Github.
-
10 Useful vim commands for coders
More useful Vim commands, add your commands on Github.
-
Getting and setting headers in Node.js HTTP server
Open original or edit on Github.
-
3 code pieces to work with file path in Node.js
Original version, improve this code.
-
Help us collect modern Python NumPy code solutions
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.
-
Hacker News top posts: Mar 28, 2022
Help us collect modern Python NumPy code solutions\ (23 comments)
-
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
computer-science
-
My experience on the Public Speaking Challenge
Last year I discovered the DEV Community and since then this has been my favorite place to learn, share my learning journey, participate in challenges, and meet new people. I love to spend time in #discussion, debating about something, on "Welcome Thread" and moderating some novices and beginners posts too. On April 1st, @bekahhw from Virtual Coffee made a post inviting anyone in the community to join a challenge of Public Speaking. The main idea was to choose a topic, develop a well-structured and engaging talk, and present it at the end of the month, all the process was guided by the community with tips and tasks for each week. I loved the idea and was so excited about it. For the first week, I've chosen my topic, I'd like to talk a bit about Linux and open-source projects. Things like studying OS, testing a new distro on my desktop, and completely diving into the OSSU (Open Source Society University) influenced my choices directly. Then, I had to face one of my biggest difficulties, writing an outline with an introduction, development, and conclusion. For this presentation, each participant had 5-10 minutes to a lighting talk and I was afraid of writing something so superficial without connection or with big jumps between subtopics. As a non-native English speaker, I made an immersive month to get even more used to the language, listen to more music, watching even more videos (especially with my boyfriend whose have helped me so much with this and our long talks about OS and Kernels). In the last week, the focus was on delivering and I did my best to don't get nervous and just try to face this as a normal talk. I have to admit that I loved to spend time creating a slide presentation like I did a lot in my Physics Bachelor for countless experiments and projects. I have searched a lot about the Virtual Coffee community and I loved the main idea of mutual support and the meeting styles. Also, I'm on the waiting list and I hope to be in the Lightning Talks in the next year and join more and more challengers. As how I promised, here's my presentation video:
-
Show HN: I made a cheaper alternative to college-level math and physics tutoring
There is a Discord server for the OSSU computer science cirriculum that is pretty active. https://github.com/ossu/computer-science
-
Final project took me longer than expected, but I got there in the end.
For a well-rounded CS knowledge you might want to look into OSSU, which is designed to meet the requirements for univerisity CS courses.
-
Learning coding
There’s also a compiled CS curriculum here: https://github.com/ossu/computer-science.
-
Is codecademy worth it and where else can I learn
OP I hate to double comment and be "that guy who learned to code without going to college who MUST he did it the correct way" cause fuck "that guy". He's annoying, and he never shuts up, and I try really hard not to be that guy.... But I wanna provide some extra reasons I feel you should stay away from Code Academy. And as I said before, not because they're bad courses, so let me be that guy just for a brief moment. In addition to random Youtubers straight up having high quality courses that are much more update date, they often have supplemental tutorials on niche things that aren't covered in a "101 course". But even then, maybe the idea of a certificate on your resume appeals to you... Well, turns out there's more "academic" courses online you can do to get more of those things that self-taught dumbasses like me aren't as strong with because we skipped the "academic" part of learning..... If that's what makes Code Academy appealing (which I don't think they even go over much.... but still)... then here's 2 things I'd look at before pulling out your wallet. Here's Harvards entire introduction to Computer Science courses provided for anyone to take for free (you can pay for a certificate, but its straight up $0.00 to take the classes) Heres a github repo for an Open Source University that a ton of devs have curated to give a simulated full degree program If you want to focus hardcore on being a Web Developer and are frustrated by there not being tutorials that show you exactly how to handle every step from "there's no website on my computer" to "holy shit I made a website", then here you go The Odin Project is an Open Source answer to your cries of frustration. It has curriculum paths that do exactly that. The goal is to go from zero programming knowledge to fully employable as a web developer (by skill level at least, obviously you'll need to build stuff and build a resume)
-
CMV: People should not be referred to as "Engineers" unless they have a degree in the appropriate field
That said, I'm a software developer and I don't see any point in the distinction of calling someone a software or computer engineer based on education (with the exception of electronics engineers that work on hardware, but here I'm talking about software). A BSc or BEng in computer science or software development can give you a headstart but nothing that can't be self taught and in hiring I've been shocked by many postgrad engineers that couldn't answer simple questions and were outdone by self taught engineers. Make no mistake though - education is required (e.g. you're not going to learn data structures and algorithms through osmosis), but it doesn't have to be formalised as a degree.
-
After finishing cs50 python, what’s next? What did everybody do? I see there’s an ai course in python.. but not sure if im ready for that yet..
My plan is to follow the training program that the OSSU (Open Source Society University) provides in order to really delve into the topic and learn more. Check out this link for more info: https://github.com/ossu/computer-science
-
NÃO QUERO FICAR PARA TRÁS!
se vc quer literalmente ficar a frente do seu curso, ent é só usar o ossu/computer-science.
- What is the best low level programming language to learn for someone who knows only python?
-
I want to be a software engineer?
If someone's completed CS50X and W any recommendation where to carry on https://github.com/ossu/computer-science I'm thinking from core maths onwards seems reasonable.
What are some alternatives?
scripts - Collection of useful scripts for Linux (git, docker, LUKS, Archlinux...)
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
high-assurance-rust - A free book about developing secure and robust systems software.
p1xt-guides - Programming curricula
fornjot - Early-stage b-rep CAD kernel, written in the Rust programming language.
coding-interview-university - A complete computer science study plan to become a software engineer.
flower - Flower: A Friendly Federated Learning Framework
CS50x-2021 - 🎓 HarvardX: CS50 Introduction to Computer Science (CS50x)
slickstack - Lightning-fast WordPress on Nginx
open-source-cs - Video discussing this curriculum:
pi-encrypted-boot-ssh - 🔑 Raspberry Pi Encrypted Boot with Remote SSH
missing-semester - The Missing Semester of Your CS Education 📚