Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
⭐ This post is best experienced in my blog: https://ricostacruz.com/posts/javascript-in-rails-7
JavaScript in Rails 7 will be different: Webpacker is retired, and there are 2 new gems to manage frontend files.
- 🛌 Webpacker is retired — Webpacker 5 will be the last version, as announced on Jan 2022. The Webpacker 6 release candidate is now going to be community-maintained under a new name. (github.com: webpacker readme)
# terrible script for reading the music-uploads-metadata.csv file that Google Takeout includes when you download | |
# Youtube Music 'uploads' (which were Google Play Music songs/uploads). | |
# | |
# tries to identify the corresponding file and add artist/album/track to the mp3 tags | |
# use another tool like MediaMonkey afterward to rename the files, add cover art, etc. | |
# | |
# It's hard to separate tracks with the same name. Deal with them by hand. | |
# | |
# This worked for about 90% of my mp3s. Your mileage may vary. No promises or guarantees. | |
# This is hacked together. Works for me. Use at your own risk. |
tool | |
class_name ShapePolygon2D extends Polygon2D | |
func _get_configuration_warning() -> String: | |
if shape == null: | |
return "Shape resource is null" | |
if shape is ConvexPolygonShape2D and len(shape.points) <= 1: | |
return "ConvexPolygonShape2D has too few points to draw" | |
if shape is ConcavePolygonShape2D: |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// munged from https://github.com/simontime/Resead | |
namespace sead | |
{ | |
class Random | |
{ |
Hello everyone. With Ceb drama getting so much traction, I decided to do what any rational person would do in this situation - download all public matches of all professional dota 2 players and then scan the all-chat for any racism or naughty naughty words, so the j͇͕͙ͣu͒͆s̼̠͍̖̮̳ͮ̃t̫̙̯͎ͬ̇̊̄iͨć̼͓ͬͨ͑ͣe͉̜̫̱̠̘̋̒ͅ can be upheld once and for all.
There are several nuances that stood in my way.
- Many professionals' pubs are kept private.
- Most of the trashtalk happens in ally chat, which isn't saved.
- Some of the trashtalk happens over mic... which again, isn't saved.
- Some of the trashtalk happens on smurf accounts, which I did not include here.
The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the