Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
A LogSubscriber for Rails that modifies controller logs with emojis to represent performance (๐ข, ๐, ๐) and http status codes (๐ง , โ , ๐, โ, ๐ฅ, โ).
Inspired by an episode of the Syntax podcast.
I wrote this really nice little handy middleware... that analyzes all my requests as they go, just timing them - and based on how long the request takes it gives me different emoji. So if the request is really fast it's a ๐, if it's kinda fast it's a ๐, if it's slow it's a ๐ข. ...In my console while I'm just browsing the site I can just see - and it has what type of request, what path it was too, and it's just like at a glance I can see - 'oh I'm in turtle time right now - these requests to this page are all slow for some reason let me take a look'
Scott Tolinski Syntax Podcast, Episode 570 - https://syntax.fm/show/570/node-js-cjs-esm
config.after_initialize do
EmojiLog.slow = "๐ข"
EmojiLog.average = "๐"
EmojiLog.fast = "๐"
EmojiLog.slow_threshold = 1000
EmojiLog.average_threshold = 500
EmojiLog.fast_threshold = 150
EmojiLog.info = "๐ง "
EmojiLog.success = "โ
"
EmojiLog.redirect = "๐"
EmojiLog.bad = "โ"
EmojiLog.error = "๐ฅ"
EmojiLog.cancelled = "โ"
end
Add this line to your application's Gemfile:
gem "emoji_log"
And then execute:
$ bundle
Or install it yourself as:
$ gem install emoji_log
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that emoji_log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.