3 years ago
3 years ago
Got tricky this morning with serverless.yml
```diff
diff --git a/serverless.yml b/serverless.yml
index 82fa9e5..ebe568d 100644
--- a/serverless.yml
+++ b/serverless.yml
@@ -29,6 +29,8 @@ provider:
- dynamodb:DeleteItem
Resource:
- Fn::GetAtt: [ CacheTable, Arn ]
+ - Fn::Sub: '${CacheTable.Arn}/index/*'
```
In order to give my lambda fn permissions to query an index on the dynamo I had to use a cloud formation 'sub' method.
#tech
#aws
#serverless
```diff
diff --git a/serverless.yml b/serverless.yml
index 82fa9e5..ebe568d 100644
--- a/serverless.yml
+++ b/serverless.yml
@@ -29,6 +29,8 @@ provider:
- dynamodb:DeleteItem
Resource:
- Fn::GetAtt: [ CacheTable, Arn ]
+ - Fn::Sub: '${CacheTable.Arn}/index/*'
```
In order to give my lambda fn permissions to query an index on the dynamo I had to use a cloud formation 'sub' method.
#tech
#aws
#serverless
3 years ago
3 years ago
Besides wordle, weβve also been enjoying worldle in family chat https://worldle.teuteuf.fr.
Every morning the chat looks like
π²
Wordle 241 4/6
π©π©β¬β¬π©
β¬β¬β¬β¬β¬
β¬π¨π¨β¬β¬
π©π©π©π©π©
π
#Worldle #25 X/6
π©π©π©β¬β¬
π©π©π©π©β¬
π©π©π©π©π¨
π©π©π©π©β¬
π©π©π©π©β¬
π©π©π©π©π¨
https://worldle.teuteuf.fr
Every morning the chat looks like
π²
Wordle 241 4/6
π©π©β¬β¬π©
β¬β¬β¬β¬β¬
β¬π¨π¨β¬β¬
π©π©π©π©π©
π
#Worldle #25 X/6
π©π©π©β¬β¬
π©π©π©π©β¬
π©π©π©π©π¨
π©π©π©π©β¬
π©π©π©π©β¬
π©π©π©π©π¨
https://worldle.teuteuf.fr
3 years ago
3 years ago
Discovered graphviz today. Super helpful for graphing complex logic flows right from the command line. No GUI!
https://graphviz.org
#tech
https://graphviz.org
#tech
3 years ago
Tough day on the reef. My large Orange Montipora plate and Strawberry Shortcake Acropora decided to go thermonuclear and kill each other. Flesh on both melted away in 42hrs. ππ€―. As a result of the chaos a stylo frag also died. Removed what was left from the tank and refreshed my carbon reactor. Hopefully everything will be fine. Will follow up with a water chance once I get more salt.
#reeftank
#reeftank
3 years ago
Do I know how to write cron statements by heart? No. Do I know about https://crontab.guru yes.
#tech
#cron
#tech
#cron
3 years ago
Starting copper treatment in QT tank. ΠΠ²Π°Π½Π°, Ivana, the brown Scopas Tang has shown no signs of disease/parasites but canβt be to carful.
Original plan was two weeks of copper medication but thinking of reducing that to one as she is so healthy. She is eating pellet food and nori without issue.
#reeftank
Original plan was two weeks of copper medication but thinking of reducing that to one as she is so healthy. She is eating pellet food and nori without issue.
#reeftank
3 years ago
Can't say enough good things about Affinity Photo. You pay once and still get updates years later. Has everything Photoshop does except the ball and chain subscription plan.
https://affinity.serif.com/de/photo/
https://affinity.serif.com/de/photo/
3 years ago
Someone in the Munich Reef Hobbyist WhatApp chat asked about coral glue. This is the one I use: Microbe-Lift Reef Scraper. Rather than a glue it is more of a plastic that melts at ~55Β°C. Applications is pretty easy:
- heat some water in the tea kettle to ~63Β°C
- put in a pinch of the plastic beads or an old chunk from the aquarium. (Yes it is reusable)
- let sit for few min
- it will be nearly translucent when it is ready to set
- wrap the base of your coral and place it on your rock structure holding it in place for ~3-5min. This takes bit of patience, but once it's set it holds incredibly well.
- wait another 10min before turning flow pumps back on to give it time to completely set.
#reeftank
- heat some water in the tea kettle to ~63Β°C
- put in a pinch of the plastic beads or an old chunk from the aquarium. (Yes it is reusable)
- let sit for few min
- it will be nearly translucent when it is ready to set
- wrap the base of your coral and place it on your rock structure holding it in place for ~3-5min. This takes bit of patience, but once it's set it holds incredibly well.
- wait another 10min before turning flow pumps back on to give it time to completely set.
#reeftank
3 years ago
Post on my aquarium controller, Sewa, with pictures as promised: https://travisshears.com/blog/sewa-reef-controller/
#reeftank
#reeftank
3 years ago
Almost ready to put my DIY aquarium controller into use!
code: https://git.sr.ht/~travisshears/sewa-reef-controller
Full blog with pictures and explanation forthcoming.
#reeftank
#tech
#circuitpython
code: https://git.sr.ht/~travisshears/sewa-reef-controller
Full blog with pictures and explanation forthcoming.
#reeftank
#tech
#circuitpython
3 years ago
Brought the Fungia up to the frag rack for closer inspection. Turns out those intruder polyps are more Fungia! Three more! Confirmed with other hobbyist.
I'll place them somewhere else in the rockscape and let them grow out. False alarm.
#reeftank
I'll place them somewhere else in the rockscape and let them grow out. False alarm.
#reeftank
3 years ago
Saw an epic Ragnar Axelsson photo exhibition this week. It documents the ring of nations around the Arctic. Makes me want to do a ski tour expedition to Greenland.
#photography
#art
#alpinism
#photography
#art
#alpinism
3 years ago
3 years ago
Say hello to and awesome gift from my wife, Brown Scopas Tang.
Heβs now in quarantine tank learning how to eat normally before I start copper treatment. Estimate date to add to made tank is February 26th. π€
Really committed good health in QT this time with daily 10% water chances.
#reeftank
Heβs now in quarantine tank learning how to eat normally before I start copper treatment. Estimate date to add to made tank is February 26th. π€
Really committed good health in QT this time with daily 10% water chances.
#reeftank
3 years ago
Back to back steals that led to dunks. π€©π In my eyes Lebron is GOAT. Comparing Michael Jordan who retired at 32 to Lebron who is now 37...
https://www.youtube.com/watch?v=thr7zsYJr8U&t=302s
#nba
https://www.youtube.com/watch?v=thr7zsYJr8U&t=302s
#nba
3 years ago
Page 29 of 51, with 20 posts per page.
Prev Page Next Page