Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 1, 2019 06:01 pm GMT

Hacktoberfest Has Finished. Thanks to All Those Who Took Part!

Another great Hacktoberfest is concluded.

This was the first time the event had us, DEV, as co-presenters. It was great to work with DigitalOcean to make the event as inclusive and community-oriented as possible.

Contributing to open source is a tremendous chance to learn a lot, meet new people and challenge yourself. It's also such an important part of maintaining accessibility to the most powerful software in the world. We sometimes take for granted that anyone can use the most remarkable software in the world. This was not always the case.

Open source is only possible because we get together and do it. No technology endeavor is a pure universal good, but open source is an area where a lot of good can happen. We're so happy to be a part of that.

This Hacktoberfest, the DEV repo saw 500 pull requests opened in the month. We merged 276 of them can continue to work through a backlog of non-merged pull requests. Of course, some were closed along the way for one reason or another.

The DEV team is plugging away at our goals and we will be publishing an update on our future plans of providing this platform as re-usable community-building software which we hope will eventually empower thousands of positive, constructive communities across the web.

Straightforward pull requests like this one march us towards the goal...

GitHub logo Add ability to set favicon through environment variable #4665

nadiyaka avatar
nadiyaka commented on Oct 30, 2019

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] Documentation Update

Description

For generalization of the platform, technical administrators would now be able to provide a URL to a custom favicon of their choice.

Related Tickets & Documents

Resolves #4659

Added to documentation?

  • [ ] docs.dev.to
  • [ ] readme
  • [x] no documentation needed

Thanks to @nadiyaka for making that happen.

Another small pull request I really liked was this one which adds a custom focus outline to the site's main search bar, which improves accessibility and design. Only a couple new lines of code and we have brand new functionality.

GitHub logo Adds border styling for homepage search bar on focus #4668

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [x] Feature
  • [ ] Bug Fix
  • [ ] Documentation Update

Description

As described in #4663, the homepage search bar should be styled when it's focused in order to better indicate that fact. The example in the issue suggests using a different background color, however i want to propose a solution where we use the border for on focus styling. This i think is more in line with the default browser styling and the styling found in many websites (so it's a pattern familiar to users). I used the same color used in the border for the nav controls. Screenshots below.

Related Tickets & Documents

#4663

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

  • Default Theme:Oct-30-2019 22-23-08

  • Other Themes:

Screenshot 2019-10-31 at 11 57 48

Screenshot 2019-10-31 at 11 59 28

Screenshot 2019-10-31 at 12 00 15

Screenshot 2019-10-31 at 12 02 16

Added to documentation?

  • [ ] docs.dev.to
  • [ ] readme
  • [x] no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

rainbox

Thanks to @emi_codes for that one.

Of course, these are only a couple of the 276 merged pull requests this month, but we have plenty more to do.

One new issue ripe for many contributions is this project from our team member @molly_struve.

GitHub logo Move All Uses of Memcache to Redis #4670

mstruve avatar
mstruve commented on Oct 31, 2019

Why We Are Moving To Redis

Memcache is a bit of a black box when it comes to caching. It is very hard to tell what is in it and how we are using it. For this reason, we have chosen to switch to using Redis for our application cache. Redis will allow us more insight into how we are using the cache and give us more control over our cache keys. It also has nice features such as background deletion and Lua scripts to handle complicated logic. Plus, if we ever want to use a worker/job service such as Sidekiq it can act as a datastore for that.

Strategy For Moving Keys

In order to move to Redis, we will be doing it one key at the time for the most part. This will ensure that a large cold cache doesn't slow things down. This will also help us to evaluate how we are using the cache and ensure that each use is still needed.

In this PR I set up a second cache store RedisRailsCache that behaves just like Rails.cache but instead points to Redis. The goal will be to replace all Rails.cache calls with RedisRailsCache and then eventually switch Rails.cache to point at Redis.

How You Can Help!

There are a lot of cache keys that need to be moved and I would rather move them one by one to minimize risk which is why I would love help with this project. Feel free to grab a cache key and roll it over to Redis!

Considerations for moving a key

  • Can this cache safely become cold?
  • Does this cache key make sense? Is there a better/more clearer one?
  • Should this be a cache at all? There might be places where we can live without a cache and simply removing it might be the best move rather than switching it to Redis.
  • Does the current expiration make sense?

Example PRs

https://github.com/thepracticaldev/dev.to/pull/4684https://github.com/thepracticaldev/dev.to/pull/4685

If you are looking for more ways to contribute to DEV, that one has lots of surface area.

Badges coming

Participation in Hacktoberfest 2019 will result in DEV profile badges! These will ship as soon as the waiting period for pull request validation is over in a few days. If you authenticated to DEV via Twitter, you need to add GitHub authentication as well in your settings in order to get credit for your participation.

Happy coding!


Original Link: https://dev.to/devteam/hacktoberfest-has-finished-thanks-to-all-those-who-took-part-2fbj

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To