user_pinger_2
LeetCode
user_pinger_2 | LeetCode | |
---|---|---|
12 | 571 | |
8 | 91 | |
- | - | |
5.4 | 3.5 | |
about 1 month ago | 2 months ago | |
JavaScript | C++ | |
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.
user_pinger_2
-
Discussion Thread
I think I could significantly speed up User Pinger by using async PRAW to send all the ping messages concurrently but I don't really understand how to embed an asynchronous task within a larger synchronous function
Yeah, in this case probably the only reason I didn't get hacked was because the example config file I have publicly online doesn't include the mistake I made
It was the result of people saying that they had a difficult time clicking on the links before. I can change it any time, because now the bot uses proper text templating 😌
That's what I'm thinking. I already have the API grabbing data from Reddit to determine whether someone is a mod, so it wouldn't be much additional work to return the comments of a thread as a JSON object
For user_pinger_2 I define a list of "recoverable errors" and have the bot run in a while True loop that restarts if it throws one of those. See the bottom of this file. Those are Reddit-side errors, but you could presumably add specific client side ones if you know which are safe
-
I made a history page for User Pinger
The code is available on GitHub here https://github.com/neoliberal/user_pinger_2/
- Heads up - Reddit's access tokens seem to be changing format
- Add feature to receive pings after "!ping" comment receives net 10 upvotes
- User Pinger 2
LeetCode
-
Things you should do in your dev journey 🖥️👩💻
Practice Regularly: Utilize coding challenge platforms such as LeetCode and HackerRank to practice coding regularly. Additionally, websites like Project Euler offer mathematical challenges that can sharpen your problem-solving skills.
- Ask HN: How do you find employment opportunities in 2024?
-
Lessons from leetcode: 347 Top K Frequent Elements
As a self-taught dev, learning the ins-and-outs of Python usually happens as I am solving problems on leetcode or writing random programs in replit. This post is more for myself to remember what I've learned. If you're still interested in reading, then I hope this helps you!
-
20 Things You Should Consider When You Grow as a Developer
Regularly engaging with problem-solving and algorithm challenges on platforms such as LeetCode, HackerRank, or CodeSignal can significantly sharpen this ability.
-
Why learn Data structures and Algorithm
Leetcode
-
Build Binary Tree from Array
If you are interested in algorithms, data structures, and building efficient solutions or just preparing for the coding interview, you are aware of LeetCode and similar websites. Here, I will talk about a data structure called Binary Tree and the ways to build it using the array representation. LeetCode has dozens of such problems to practice with this data structure.
-
The Definitive Programming Roadmap: From Novice to Expert
LeetCode: Offers a wide range of problems to practice data structures and algorithms.
-
Collection of resources to get started on your programming journey
Additional Platforms - HackerRank - Coding challenges in various languages. - LeetCode - Practice coding problems and prepare for interviews.
-
Feel like killing myself
here is a website to cure ur depression: https://leetcode.com/
-
Consejo para un FullStack??
Haga preguntas/ejercicios aqui https://leetcode.com
What are some alternatives?
user_pinger - Pings users from a group
codewars.com - Issue tracker for Codewars
mastodon-e2ee-specification - Soatok's Proposal for End-to-End Encryption in Mastodon
leetcode-anki - Anki cards generator for Leetcode
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Exercism - website - The codebase for Exercism's website.
Big-Omega-Extension - Big Omega extension - Enhance Leetcode Experience
project-euler - My solutions for Project Euler problems in Python, C, C++, C#, F#, Go, Haskell, Java, JavaScript, PHP, Ruby, SQL
leetcode-patterns - A pattern-based approach for learning technical interview questions
Visual Studio Code - Visual Studio Code
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.