support icon indicating copy to clipboard operation
support copied to clipboard

Daily tips repo

Open eddiejaoude opened this issue 5 years ago β€’ 30 comments

Description

What about having a community-tips repo, where people can raise issues or a new json file (ideally daily), with a small tip they learned that day to share with the community

Benefits:

  • Helps the community and sharing tips
  • Helps each person with their GitHub activity and green square 🟩

Note: If a json file, then a GitHub action could update the README with each json file and avoids conflicts

eddiejaoude avatar Aug 18 '20 12:08 eddiejaoude

Green squares πŸ‘‰ 🟩 βœ… 😁

alrifay avatar Aug 18 '20 12:08 alrifay

Thank you @alrifay , I will update my description - I was going to tag you in the brackets where I wrote I know it is a circle .. @alrifay πŸ˜‚

eddiejaoude avatar Aug 18 '20 12:08 eddiejaoude

@eddiejaoude could we use markdown files for this? e.g. we could have a markdown file that would allow us to parse it like

n.b. I can't remember the syntax, but I believe this is how a lot of static site generators work........... something like this...

---
summary: I think EVERYONE should delete 5 lines of their code everyday to reduce bugs.
---

# Example bit of code WITH MARKDOWN SYNTAX HIGHLIGHTING *HOPEFULLY
```typescript
const steveTest = () => {
  return true;
}

More about this

winning

References

stemount avatar Aug 18 '20 12:08 stemount

@eddiejaoude @alrifay clearly this markdown inside a markdown wasn't gonna work very well above, but with markdown, we could parse the "tip" as a summary then you could embed code and references and whatever and click through straight to that MD file (e.g. it would be more like a blog!)

stemount avatar Aug 18 '20 12:08 stemount

@stemount You can add markdown inside <pre><code></code></pre> or three ~ instead of three ` or indent the code block with 4 spaces😁

Example 1:

<pre>
<code>
```typescript
const steveTest = () => {
    return true;
}
```
</code>
</pre>

Example 2:

~~~markdown
```typescript
const steveTest = () => {
    return true;
}
```
~~~

Result:

---
summary: I think EVERYONE should delete 5 lines of their code everyday to reduce bugs.
---

# Example bit of code WITH MARKDOWN SYNTAX HIGHLIGHTING *HOPEFULLY
```typescript
const steveTest = () => {
  return true;
}
```

# More about this
winning

# References
* [BlahLink](https://whatever.com)

alrifay avatar Aug 18 '20 14:08 alrifay

I think EVERYONE should stop being as lazy as I am blaming the markdown formatter ;) @alrifay

stemount avatar Aug 21 '20 14:08 stemount

An update on this topic πŸ˜ƒ. @AllanRegush started this development on EddieBot with tips about open source.

This idea can be iterated upon and moved to a different repo like @eddiejaoude suggested on the issue description. In EddieBot, I think we could add a fetch package, to make an HTTP request and get the tips data (JSON or Markdown format), but again this would change with our implementation decision.

In my opinion, I think we could evaluate how many tips and how frequent contributions this will have. My concern is that we overengineer these tips πŸ˜…, and the resulting code to make it work is harder for newcomers to reason about.

But please let me know your thoughts as well πŸ‘.

BOLT04 avatar Sep 19 '20 20:09 BOLT04

Keeping it simple for contributors is important, finding that balance is always difficult - but we can make small tweaks and review, therefore if we feel it is getting to complex and no benefit, we can pivot.

I dont think we will know the right answer with trying different things, yes some might be more clear than others, I am all for discussing and trying some options πŸ€“

eddiejaoude avatar Sep 19 '20 21:09 eddiejaoude

Stale issue message

github-actions[bot] avatar Nov 19 '20 01:11 github-actions[bot]

Stalebot lets keep this for now πŸ€“

eddiejaoude avatar Nov 24 '20 03:11 eddiejaoude

Stale issue message

github-actions[bot] avatar Jan 24 '21 02:01 github-actions[bot]

This has been opened for quite a while. What does everyone think about the current state of this issue?

Maybe we could use GitHub Discussions on this repo, instead of a new repo (at least for starters). We have the Tips & tricks category so I'd say it fits very well in this topic (plus, we still get 🟩 πŸ˜ƒ).

We could use Discussions to get a feel of how this would work and it's something we can start using today, with markdown support πŸ‘! The downsides IMO are:

  • Harder to integrate with EddieBot to show some tips with the ^tips command
  • No PRs to improve existing tips

BOLT04 avatar Jan 24 '21 16:01 BOLT04

I think you are right @BOLT04 πŸ‘ . Discussions helps us to get moving forwards faster, then we can improve afterwards

eddiejaoude avatar Jan 31 '21 14:01 eddiejaoude

What about a Twitter bot for this which automatically sends the tip of the day as twitter post? πŸ€”

schmelto avatar Feb 03 '21 12:02 schmelto

hmm we could do multiple things with the data and link it to all sorts of fun bots and sites πŸ˜„ .. I think there was a similar idea in discord chat about this

Vyvy-vi avatar Feb 03 '21 14:02 Vyvy-vi

@kcoder63 has built a twitter bot, and is open to tweaking it - can you share a link to the repo?

eddiejaoude avatar Feb 03 '21 15:02 eddiejaoude

Repo of the bot I made?

starlightknown avatar Feb 03 '21 16:02 starlightknown

Yes please @kcoder63 πŸ‘

eddiejaoude avatar Feb 03 '21 16:02 eddiejaoude

[Repo] (https://github.com/kcoder63/Edbeepbot) here's the link

starlightknown avatar Feb 03 '21 17:02 starlightknown

I think there's still some discussion to be had on this stalebot :)

Vyvy-vi avatar Mar 03 '21 11:03 Vyvy-vi

yes I agree @Vyvy-vi πŸ‘

BOLT04 avatar Mar 04 '21 21:03 BOLT04

Can someone remove the no-issue-activity label, please? I guess this will be implemented in the future.

Panquesito7 avatar Aug 08 '21 02:08 Panquesito7

@eddiejaoude Any update on this? I love the idea!

KendallDoesCoding avatar Feb 10 '22 18:02 KendallDoesCoding

We might build this into EddieBot and people can add a role to get random daily tips

eddiejaoude avatar Feb 10 '22 23:02 eddiejaoude

We might build this into EddieBot and people can add a role to get random daily tips

nice.

gptkrsh avatar Feb 11 '22 04:02 gptkrsh

We might build this into EddieBot and people can add a role to get random daily tips

Good idea!

KendallDoesCoding avatar Feb 11 '22 06:02 KendallDoesCoding

We might build this into EddieBot and people can add a role to get random daily tips

best idea. you are really master in open source ideas and public learning

yugborana avatar Mar 08 '23 20:03 yugborana

What is the current state of this? πŸ€” If not this could be a section in linkfree like a blog sorta

gptkrsh avatar Mar 11 '23 05:03 gptkrsh

Interesting idea for LinkFree, we did think about having a daily standup section to hold ourselves accountable and share what we are doing, we could also have a tips section on our profiles πŸ‘

eddiejaoude avatar May 30 '23 04:05 eddiejaoude

Connecting this to Eddie bot and with command /dailytip you get a random tip of one of the folks?

schmelto avatar Jun 02 '23 03:06 schmelto