import '/features/architecture/logging.dart'; | |
class CachedQuery<T> { | |
final Duration invalidation; | |
final Future<T> Function(String key) fn; | |
CachedQuery( | |
this.fn, | |
this.invalidation, | |
); |
I get asked pretty regularly what my opinion is on merge commits vs rebasing vs squashing. I've typed up this response so many times that I've decided to just put it in a gist so I can reference it whenever it comes up again.
I use merge, squash, rebase all situationally. I believe they all have their merits but their usage depends on the context. I think anyone who says any particular strategy is the right answer 100% of the time is wrong, but I think there is considerable acceptable leeway in when you use each. What follows is my personal and professional opinion:
# Make sure you have Anaconda installed | |
# This tutorial assumes you have an Nvidia GPU, but you can find the non-GPU version on the Textgen WebUI github | |
# More information found here: https://github.com/oobabooga/text-generation-webui | |
conda create -n textgen python=3.10.9 | |
conda activate textgen | |
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 | |
git clone https://github.com/oobabooga/text-generation-webui | |
cd text-generation-webui | |
python -m pip install -r requirements.txt |
dev: | |
quarkus dev | |
jshell: | |
#!/usr/bin/env jbang --jsh | |
//DEPS com.github.javafaker:javafaker:1.0.2 | |
var faker = new com.github.javafaker.Faker(); | |
println(faker.nation().nationality()); | |
java: |
- Nature of Code Additional videos (as challenges?)
- Elastic Collisions (Chapter 6 reference)
- Exercise 5.8 - image flow field
- Exercise 5.13 - group path following
- Dragon Curve (unfoloding) - chapter 8
- Exercise 8.9 and 8.10 - animating / physics trees?
- Slime Mold (related to chapter 5?)
- ml5.js new tutorials
Thank you for attending our 2nd Kintone x React workshop!
Use the following files to follow along!
Click here or the button on the upper right corner for all the code & slides you need for our workshop!
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
if ($host.Name -eq 'ConsoleHost') | |
{ | |
Import-Module PSReadLine | |
} | |
#Import-Module PSColors | |
#Import-Module posh-git | |
Import-Module -Name Terminal-Icons |
Thank you for attending our Kintone x React workshop!
Use the following files to follow along!
Click here or the button on the upper right corner for all the code & slide you need for our workshop!
https://app3.prismacloud.io/legacy/signin
User: panwlabs-prismacloud@panwlabs.io
Password: uyccgtV0+
Accessing the Capture the Flag Game