
FE/Full-stack @HingeHealth ✝️
New York, NY
Joined March 2011
- Tweets1.6K
- Following85
- Followers146
- Likes1K
Replying to @Cryptomator
@Cryptomator Hi, I bought a license through the website, but I didn't realize I can't use Google Drive through the F-Droid APK. Is there anyway to enable it?
1
Replying to @beekeeperdata
@beekeeperdata Is there a way to have multiple databases open in a single window? I have to open many databases across various services and having a window for each is cumbersome
Replying to @supabase
@supabase_io Hey! Was looking for Supabase's blog's RSS feed and found this, supabase.io/new/rss.xml
Is this official? Or could it go down at some later point?
1
Replying to @cassidoo
@cassidoo maxNum solution
maxNum = (n, m, k) =>
parseInt(
n
.concat(m)
.sort((a, b) => (a <= b ? (a === b ? 0 : 1) : -1))
.slice(0, k)
.join(""),
10,
);
skoshy.com/r/cassidoo-maxnum
1
Replying to @cassidoo
@cassidoo
pascals solution
Runner: skoshy.com/r/cassidoo-pascal…
Optimizations could be made to factorial, to cache calculated values for instance
1
Replying to @cassidoo
@cassidoo
numberOfCans = (r, c, feats = []) => {
const rSqFt = (r.length * r.height + r.width * r.height) * 2;
const fSqFt = feats.reduce((acc, f) => {
acc += f.height * f.width;
return acc;
}, 0);
return Math.ceil((rSqFt - fSqFt) / c);
}
skoshy.com/r/cassidoo-number…
1
Replying to @cassidoo
@cassidoo Returning new str + num deletions
everyOther(s) {
let curr = '',
newStr = '',
numDel = 0
s.split('').forEach(c => {
if (c === curr) {
return numDel++
}
curr = c
newStr += c
})
return {
newStr,
numDel,
}
}
Runner: skoshy.com/r/cassidoo-everyo…
1
Replying to @cassidoo
@cassidoo Here's my solution for makeSentence (too long to fit in the body of the tweet 🙁)!
TS code/runner can be found in the link
skoshy.com/r/cassidoo-makese…
1
Replying to @cassidoo
@cassidoo Newsletter solution!
class ProductList {
list = []
add = n => this.list.push(n)
product = lastN => this.list
.slice(-1 * lastN)
.reduce((acc, n) => acc * n, 1)
}
Interactive runner: skoshy.com/r/cassidoo-produc…
1
Replying to @cassidoo
@cassidoo StockQueue Answer:
stockQueue = (snap) => {
const map = new Map()
snap.forEach(stock => {
map.delete(stock.sym)
map.set(stock.sym, stock)
})
const arr = []
map.forEach(val => arr.push(val))
return arr
};
playcode.io/731756
1
Pretty crazy to see how someone can be so dedicated to learn programming and bettering themselves in prison, despite learning materials being banned. Kudos to Garry!
pca.st/podcast/2c22bfa0-cecf…
1
Can't stop laughing to this video by @krazamtv youtube.com/watch?v=y8OnoxKo…
1
1
@AskAtlassian How do I turn off Slack messages from the Jira app? I can't find any option to mute or turn these off unless I uninstall the Slack app entirely.
Replying to @microdotblog
@microdotblog I've gotten quite a few emails from micro.blog but none of them have an unsubscribe link. How do I unsubscribe from these emails?
1






