leif's recent activity
-
Comment on Seven days in the North Island of New Zealand in ~travel
-
Comment on Day 9: Mirage Maintenance in ~comp.advent_of_code
leif (edited )LinkOnce again, Mathematica feels like cheating: Part 1 Total[InterpolatingPolynomial[#, Length@# + 1] & /@ Import["input.txt", "Table"]] Part 2 Total[InterpolatingPolynomial[#, 0] & /@...Once again, Mathematica feels like cheating:
Part 1
Total[InterpolatingPolynomial[#, Length@# + 1] & /@ Import["input.txt", "Table"]]
Part 2
Total[InterpolatingPolynomial[#, 0] & /@ Import["input.txt", "Table"]]
-
Comment on Game recommendations, specifically in ~games
leif (edited )Link ParentI felt the same about the tank controls in Stephen’s Sausage Roll when I started playing. Eventually I got used to them and I think it was worth it — the game really exemplifies the idea of...I felt the same about the tank controls in Stephen’s Sausage Roll when I started playing. Eventually I got used to them and I think it was worth it — the game really exemplifies the idea of teaching a new technique every puzzle. I tried replaying the start of the game a while ago and found almost all the puzzles trivial, not because I remembered the solutions but because I knew the techniques.
-
Comment on What have you been listening to this week? in ~music
leif I’ve been listening to Rósín Murphy’s Hit Parade (2023). My favourite track is Fader, which has a fantastically busy production and a positive vibe that feels similar to another of my favourite...I’ve been listening to Rósín Murphy’s Hit Parade (2023). My favourite track is Fader, which has a fantastically busy production and a positive vibe that feels similar to another of my favourite albums, The Avalanches’ We Will Always Love You.
-
Comment on Let's talk about computer algebra systems in ~comp
leif (edited )Link ParentThis has been my experience as well, which sucks because Mathematica’s pricing gets expensive quickly — as far as I can tell the cheapest way as a student to get two licenses is to pay 266NZD per...This has been my experience as well, which sucks because Mathematica’s pricing gets expensive quickly — as far as I can tell the cheapest way as a student to get two licenses is to pay 266NZD per year for wolfram one.
-
Comment on <deleted topic> in ~tildes
leif My guess is people get multiple invites, and don't bother replying to the ones they don't use.My guess is people get multiple invites, and don't bother replying to the ones they don't use.
-
How to give brownies a smooth, glossy top
7 votes -
Comment on What games have you been playing, and what's your opinion on them? in ~games
leif (edited )Link ParentAgree on Dead Cells. The combat is fluid and feels good, but not enough changes between runs so going through the same areas again and again becomes boring.Agree on Dead Cells. The combat is fluid and feels good, but not enough changes between runs so going through the same areas again and again becomes boring.
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
leif Outer Wilds is the best game I've played since Dark Souls in 2014. It's a short game but it's absolutely unique in how it makes outer space feel unknown and unforgiving.Outer Wilds is the best game I've played since Dark Souls in 2014. It's a short game but it's absolutely unique in how it makes outer space feel unknown and unforgiving.
-
Sokyokuban, a puzzle game in a non-Euclidean world
17 votes -
Comment on Day 20: Jurassic Jigsaw in ~comp
leif This one was brutal—storing the tiles as sets of coordinates helped a lot.This one was brutal—storing the tiles as sets of coordinates helped a lot.
-
Comment on Day 19: Monster Messages in ~comp
leif (edited )Link ParentTo use a multi-return parser was definitely the way to do this. I didn't, and... part 2 parser data RuleRhs = SubRules [[RuleId]] | Lit Char toParser2 :: IntMap RuleRhs -> Parser () toParser2...To use a multi-return parser was definitely the way to do this. I didn't, and...
part 2 parser
data RuleRhs = SubRules [[RuleId]] | Lit Char toParser2 :: IntMap RuleRhs -> Parser () toParser2 rules = choice $ do n <- [2 .. 10] m <- [1 .. n - 1] pure . try $ replicateM_ n (toParser rules 42) *> replicateM_ m (toParser rules 31) *> eof toParser :: IntMap RuleRhs -> Int -> Parser () toParser rules n = go (rules IntMap.! n) where go (Lit c) = () <$ single c go (SubRules subRules) = choice $ fmap f subRules where f :: [RuleId] -> Parser () f = try . traverse_ (\ruleId -> go $ rules IntMap.! ruleId)
runs in 22ms at least.
-
Comment on Day 12: Rain Risk in ~comp
leif Ooh chucking the directions into an array and rotating by moving between elements is a good idea. I manually wrote down the (x, y) -> (-y, x) transformations for 90 degrees left, 90 degrees right,...Ooh chucking the directions into an array and rotating by moving between elements is a good idea. I manually wrote down the
(x, y) -> (-y, x)
transformations for 90 degrees left, 90 degrees right, etc. -
Comment on What keyboard do you use? in ~tech
leif I use a kinesis advantage. It has the arrow keys just below the index and middle fingers of each hand, so they’re actually usable for navigation. I used to use a planck but nowadays having my...I use a kinesis advantage. It has the arrow keys just below the index and middle fingers of each hand, so they’re actually usable for navigation.
I used to use a planck but nowadays having my hands so close together causes wrist pain.
-
Comment on What's a dish you've made that you're most proud of? in ~food
leif I’ve been in a tiny Tokyo apartment for the last six months without much room to cook, but I managed to make a stew from seared chicken thighs that was quite delicious. I basically followed...I’ve been in a tiny Tokyo apartment for the last six months without much room to cook, but I managed to make a stew from seared chicken thighs that was quite delicious. I basically followed https://m.youtube.com/watch?v=ORcTvgK-vPg , minus the ‘roast’ part.
How do you make your hummus? Whenever I’ve tried making hummus it has always ended up tasting slightly… grainy? Almost like the consistency of curdled milk, if that makes any sense.
-
Comment on Google announces "Stadia", a new game-streaming platform with deep YouTube integration in ~games
leif Here's their website: https://stadia.dev/ They're using Debian on the backend.Here's their website: https://stadia.dev/
They're using Debian on the backend. -
Comment on What are you reading these days? #14 in ~books
leif Which translation? I tried reading Pevear and Volokhonsky's translation of The Brothers Karamazov but couldn't get into it. Now, I'm reading Constance Garnett's translation (formatted and typeset...Which translation? I tried reading Pevear and Volokhonsky's translation of The Brothers Karamazov but couldn't get into it. Now, I'm reading Constance Garnett's translation (formatted and typeset by Standard Ebooks, shoutout) which I think flows much better and is easier to read.
-
Comment on The internet's hidden rules: An empirical study of Reddit norm violations at micro, meso, and macro scales in ~science
leif It seems like Tildes would benefit from a page which clearly explains the intended purpose and use of each of the site's features, like voting. Perhaps as an update to mechanics?It seems like Tildes would benefit from a page which clearly explains the intended purpose and use of each of the site's features, like voting. Perhaps as an update to mechanics?
-
Comment on What’s something that you wish more people would inform themselves about? in ~talk
leif Relevant xkcd. The Wikipedia list of common misconceptions is great.Relevant xkcd. The Wikipedia list of common misconceptions is great.
-
Comment on What’s something that you wish more people would inform themselves about? in ~talk
leif (edited )Link ParentWhat is a good resource to learn more about stretching, muscles, posture, etc.? It seems like most of the information online has no scientific backing whatsoever.What is a good resource to learn more about stretching, muscles, posture, etc.? It seems like most of the information online has no scientific backing whatsoever.
Hot water beach up in the Coromandel is very touristy and I think overrated. There’s imo a nicer hot water beach on the Tarawera trail in Rotorua if you’re going. The best beach doesn’t have any signage on the trail — it’s called ‘Wairua Stream’ on Google Maps and you have to turn left a little bit before you reach the main beach at the campsite. The proper beach at the campsite is way too hot to be comfortable.
If you’re doing an overnight tramp the Pinnacles in the Coromandel definitely gets you the best view per effort. Te Puia hut in the Kawekas has some incredible hot springs to relax in outside the hut but it’s a heinous drive to the start of the trail.
If you like caving the Waipu caves have some great glowworms near the entrance. It’s a well-explored cave and with a headtorch you can go pretty far safely, just make sure you don’t touch the flow stone. The commercial tour with Blackwater Rafting Co into the glowworm caves in Waitomo is surprisingly good too.
Tāwharanui is great for a day trip, make sure to stop at Charlie’s Gelato on the way.