Search
829 results for “aoanla”
-
CW: AoC 2025 Day 7 ... pt2 soln
I am surprised to see people deciding that *memoisation* is the correct speedup for pt2 - you can just do pt1 but counting "how many beams" are overlapping (so if splitter 1 and splitter 2 both split into a space, you add the weights from both input beams to get the combined beam weight in that space), Then you just sum the weights at the end.
This was fairly nice in uiua except I forgot about fix and generally had some time working with arrays where I wanted to do different things to different rows/columns/etc.
-
CW: Advent of Code Day 6 in uiua
This was pretty easy - array programming languages are made for this kind of thing - mostly complicated by my deciding to forget about boxes when doing part 2 (and spend time on an overcomplex attempt with dynamic fills instead for a while).
Similar thing with Day 5, where I got most of the way into a solution before realising that I was just reimplementing fold less well...
-
CW: Advent of Code 2025 Day 4 code uiua
And, thanks to #uiua 's built in gif support, it just needed a small edit to keep the history of the grid and a &fwa "out.gif" gif 24 to output this animation of the sequence of barrels being removed:
-
CW: Advent of Code 2025 Day 4 code uiua
More effort needed in parsing and initialising for the fft convolution approach - all this is setup in the "Init" function - but the core logic is pretty dense (and I think could be denser as I get better at using subscripted on/by instead of forks with different selectors to preserve values - Convolve can probably be shorter before the first fft).
If you remove one of the "gaps" at the left of the final line and replace it with an &ims you get a nice b/w image of the final state. (and you can modify the internal loop with a suitabley surrounded ⟜&ims to display the intermediate states if you want).
(This is pt2 - for pt1 most of the same logic applies, but you can just do the bits inside the loop without needing the loop [and the handling is simpler because you don't need to accumulate after the functions])
Parse ← ≡₀°□=@@⊜□⊸≠@\n &fras
Kernel ← [1_1_1 1_0_1 1_1_1]
Pad ← ↻⊙∩⌞(⬚0↙)∩(˙⊂)◡(⌊÷₂⟜(-₁+)∩⧻)Init ← 1 Pad Kernel Parse⟜(0)
Convolve ← ⌵⁅×°fft×∩fft⊃(⊙⋅)(⟜⧻⋅∘)
Mask ← ⊸₂(×⊙⋅∘)<4
Apply ← /+/+⟜₂(⍜⊡(×0)⊚ ⊙◌)
Accum ← ⟜₃(+⊙⋅⋅∘)⋅⋅⋅∘⍢(Accum Apply Mask ◡Convolve◌|≠0) Init "input"
-
CW: Advent of Code Day 4 in uiua
Uiua has a built in fft operator... and this problem can be viewed as a convolution of the barrel map with a 3x3 "0" shaped adjacency kernel.
So, obviously that's how I solved this - with a little finicky work at the start to pad the input and kernel correctly (also made easier than in many languages thanks to uiua's multidimensional "rotate" and "take" operators, and the very useful "fill" as a modifier). -
Is anyone else puzzled by how the #HugoAwards2025 happened several hours ago already, but there's nothing on the official Seattle Worldcon social media or website about the winners (I had to look at Locus's list to find who got them)?
-
Sometimes if you're having a stressful time, what you really need is a pair of headphones, some Keygen Church and the solitaire from Last Call BBS.
-
Sometimes if you're having a stressful time, what you really need is a pair of headphones, some Keygen Church and the solitaire from Last Call BBS.
-
Sometimes if you're having a stressful time, what you really need is a pair of headphones, some Keygen Church and the solitaire from Last Call BBS.
-
CW: Long discussion of Hugo nominees
Now I've caught up with the rest of the non-series written word categories for the Hugos, some thoughts. (I thought all the Short Stories were extremely close to each other)
Novelette:
"The Brotherhood of Montague St. Video" - of all the works in this category, this felt most like a warning of the future. It's quite stylised, and it didn't quite grab me the way some others did, but it has some chilling moments.
"By Salt, By Sea, By Light of Stars" - a story about loss, what teaching is, and growing old I guess. I did like this, but uniquely amongst the Novelettes I felt this would have been better at Novella length.
"The Four Sisters Overlooking the Sea" - I always just like the way Kritzer writes, and as an academic there's a bit that outraged me deeply (as intended)... but it also does telegraph itself a little too much.
"Lake of Souls" - I'm not sure this is the strongest work in the collection this is from even... but Leckie is good, and there's some unexpected twists along with the worldbuilding.
"Loneliness Universe" - horror that takes a little *too* long to get going, and feels like it's trying to make a metaphorical point that doesn't quite hit.
"Signs of Life" - I really did enjoy this, especially the "homely horror" aspects.I think for me this is probably going to be between The Four Sisters... and Signs of Life (and I didn't expect to not have the Leckie in that top 2!).
next, Novella.
-
Maximally annoying #videogames experience: on my first attempt today at Gold ranking a segment of #SayonaraWildHearts I got a score within 100pts of the target. I then failed to get within 2/3s of it for the next 10 goes...
-
Maximally annoying #videogames experience: on my first attempt today at Gold ranking a segment of #SayonaraWildHearts I got a score within 100pts of the target. I then failed to get within 2/3s of it for the next 10 goes...
-
Maximally annoying #videogames experience: on my first attempt today at Gold ranking a segment of #SayonaraWildHearts I got a score within 100pts of the target. I then failed to get within 2/3s of it for the next 10 goes...
-
Maximally annoying #videogames experience: on my first attempt today at Gold ranking a segment of #SayonaraWildHearts I got a score within 100pts of the target. I then failed to get within 2/3s of it for the next 10 goes...
-
Maximally annoying #videogames experience: on my first attempt today at Gold ranking a segment of #SayonaraWildHearts I got a score within 100pts of the target. I then failed to get within 2/3s of it for the next 10 goes...
-
CW: Super Meat Boy short gameplay video
Okay, #videogames #supermeatboy is almost at an end... but after attempting the final (light world) boss level for about 3 hours in total, I still have absolutely no idea how to do the bit I die at in this video. And I mean no idea - I've tried approaching from various angles and I just die on the sawblades on the floor regardless (I might, if lucky, jump them once, but they get me the next time). What am I supposed to do here?
-
A bit disappointed that people don't seem to widely recognise the xorshift prng nowadays...
#AdventOfCode2024 -
CW: Advent of Code 2024 Day 21
I seem to have been the only person who just sat down, thought about what the easiest sequences must be (in terms of "left" being harder than "right" because it's further from the "A"), handwrote a lookup table and then got pt1 perfect, and pt2 off by just one logic error true/false conditions (ironically, in the bit of the lookup table I wrote some code to generate because I was bored of typing).
Sometimes you don't need to throw a DFS at everything!
#AdventOfCode2024 -
bonus thoughts:
Whilst I don't think the language itself was critically important, I was impressed and proud of the work Shahzaib Abbas and Ali Asgha presented on their experience running the first ever Julia workshop in Pakistan, bringing programming and HEP to communities that have less connection to the unevenly distributed world of high-energy physics. (And they're both *Masters* students, self-motivated and using HEP Software Foundation training resources to bootstrap!)
-
So, whilst I'm still processing the emotional journey of 1000xRESIST, I discovered today that you can actually watch The Witch From Mercury for free on YouTube (officially, even). This may or may not be related to the fact I'm on the Discord for the former...
So, I watched the prologue of TWFM for the first time.
...now I have *two* sets of dramatically induced emotional trauma to process.(But, I did stay for the 1st episode proper and wow, yeah, I already see why people immediately spotted Utena references. Which is of course good, because Revolutionary Girl Utena is amazing.)
-
I'm going to try to post some cool things from my 2024 .
Let's start in kinda reverse order with something from betwixtmas - visiting the Kimono exhibition @ Dundee V&AIt's also the first time I have been in the V&A and it's an interesting building- plus they had the Dundee Tapestry on display as well
-
Okay, Fediverse, what am I doing wrong with acrylic nails? Both times I've tried them, after soaking, buffing, cleaning the natural nails... the first acrylic I've applied has stuck for approximately 5 seconds before popping off. I think I'm doing everything right, it just feels like the glue isn't... strong enough? #acrylicnailshelp #acrylicnails
-
Okay, Fediverse, what am I doing wrong with acrylic nails? Both times I've tried them, after soaking, buffing, cleaning the natural nails... the first acrylic I've applied has stuck for approximately 5 seconds before popping off. I think I'm doing everything right, it just feels like the glue isn't... strong enough? #acrylicnailshelp #acrylicnails
-
CW: Slay The Princess spoilers
I've been trying to think about what it is I like about Slay The Princess so much, and, well, it's a lot of things. I'll admit to being a sucker for a metaphysical metaplot with beings that speak in abstract poetry. I also like a plot where we're playing with metaphor and reactivity - that's also where I start to talk about things like #revolutionarygirlutena although in many ways StP is as different from Utena as it is similar.
2/?
-
@wiredprairie C, because I teach it, and #Julia because I basically use it for everything I can. Plus, since spreadsheets count, some Excel; and since #latex3 is a Turing complete language, some of that too.
-
I finally got around to replaying **Slay The Princess** to see the new content in its free "expansion", The Pristine Cut.
It's really very good, even if/because it's had me in tears twice so far (a 100% hit rate for the "new" endings I've seen - The Cage and Happy Ever After).
-
My beef with D&D may be showing, but I am quite pleased by how many of the RPG panels at #worldcon2024 explicitly point out that D&D is a pretty bad starting RPG - it's more complex than it needs to be, and there's lots of things that are more approachable and more interesting than for newbies.
(I'm catching up with stuff on Worldcon's Replay functionality)
-
Some thoughts about #worldcon2024 , a thread.
This was my first WorldCon, and actually essentially my first Con (I turned up briefly to Satellite 4 / Eastercon 65, but on the last day when it seemed like mostly everyone was just tearing down...).
In the best traditions of "learn by doing", it's also the first Con I volunteered at (Discord Mod + "Voice of Online" for several panels), which I Recommend not just morally but also because it helps you learn how stuff works faster.1/?
-
@vpavlyshyn In what order did you learn your languages:
(approx)
1. #BASIC (C128, etc) 1987 - 1994
2. #AMOS (no, it's not quite BASIC) 1988-1996
3. #68kAssembly 1992-1993
4. #BlitzBasic ("object oriented basic"?) 1993-1996
5. #VisualBasic 1995
6. #C 1996
7. #C++ 1997-
8. #QuakeC (yes, it counts!) 1997
9. #Bash 1998
10. #Fortran 1998
11. #Maple 1999
12. #PostScript 2002
13. #Python 2003
14. #Javascript 2003 ?
15. #Haskell 2004 ?
15. #Go 2009
16. #Julia 2014
17. #Rust 2015 (v1)
18. #uiua 2023 ;) -
also, omg, the Hugo Voters packet is once again ridiculously generous this year...