OH MY FREAKING HECK. So.. I made my pather able to run as Dijkstra or A* if the interface includes a heuristic.. when i tried without the heuristic it finished faster :|
So now to figure out why its not working right.
man… day17 has been a struggle for me.. i have managed to implement A* but the solve still takes about 2 minutes for me.. not sure how some are able to get it under 10 seconds.
Solution: https://git.sour.is/xuu/advent-of-code/src/branch/main/day17/main.go
A* PathFind: https://git.sour.is/xuu/advent-of-code/src/branch/main/search.go
some seem to simplify the seen check to only be horizontal/vertical instead of each direction.. but it doesn’t give me the right answer
2023 you are withdrawing from the world but before you go I want to thank you for being the year that went between 2022 and 2024
Pinellas County - Long Run: 20.04 miles, 00:09:48 average pace, 03:16:16 duration
kept it chill with between 9:30 and 10:00. the first half almost felt too easy. it was not until i had to go over the overpasses again where my legs started to actually feel it a bit. the leg back i would just “rope” people in and then slow down for a bit to rest. this was a great confidence boost and a nice way to end the year.
#running
Pinellas County - Long Run: 16.66 miles, 00:09:16 average pace, 02:34:24 duration
whew, rough plan was 3 miles warm-up, then 1 mile on/off at 8:30 pace, then cool down the rest of the way. little bit fast for some intervals, and boy did that bridge wipe me out (the third interval?). during the cool down had to stop to find tissues and also going up the final bridge. not trying to kill myself being i still have parental duties with it being christmas eve and all. overall it was a great outing if i must say so.
#running
I fell with a stupid e-scooter and have been waiting at the hospital now for more than three hours. Not worth it. I almost broke my left elbow and right hand wrist. Got lucky because I was wearing a helmet. Not going to try that again. The wheels slipped on the wet zebra crossing paint in a turn.
My last working day of 2023 is going strong! Just a couple dozen things left to take care of.
Today’s Advent of Code puzzle was rather easy (luckily), so I spent the day doing two other things:
- Explore VGA a bit: How to draw pixels on DOS all by yourself without a library in graphics mode 12h?
- Explose XMS a bit: How can I use more than 640 kB / 1 MB on DOS?
Both are … quite awkward. 😬 For VGA, I’ll stick to using the Borland Graphics Interface for now. Mode 13h is great, all pixels are directly addressable – but it’s only 320x200. Mode 12h (640 x 480 with 16 colors) is pretty horrible to use with all the planes and what not.
As per this spec, I’ve written a small XMS example that uses 32 MB of memory:
https://movq.de/v/9ed329b401/xms.c
It works, but it appears the only way to make use of this memory is to copy data back and forth between conventional memory and extended memory. I don’t know how useful that is going to be. 🤔 But at least I know how it works now.
Thinking of building a simple “Things our kids say” database form, using Node, Express and SQlite3. Going beyond simple text files.
Around and around you go. When we sync up? Nobody knows!
When is most of humanity going to realise that we’re all stuck on the same space vessel, hurling to the vast and empty space together, and have limited resources that cannot be replenished from some other planet.
Its the latest ryzen 7 chipset for laptop/mini form factor.
I am very surprised about the times others are getting. I guess that’s the difference between interpreted and compiled showing.
@prologic@twtxt.net The “game” will involve racing and exploding cake - I think he got inspiration from SuperTuxKart. So will see how far we can go. He’s only five still..
My son said for the first time he wanted to make a game himself today. Going to freshen up my canvas and collision detection skills.
Ahh I see how someone did it.
https://github.com/immannino/advent-of-go/blob/master/cmd/2023.go#L30-L40
@movq@www.uninformativ.de Dang. Really going overboard with this!
@prologic@twtxt.net I didn’t have to do much backtracking. I parsed into an AST-ish table and then just needed some lookups.
The part 2 was pretty easy to work into the AST after.
https://git.sour.is/xuu/advent-of-code-2023/commit/c894853cbd08d5e5733dfa14f22b249d0fb7b06c
Day 3 of #AdventOfCode puzzle 😅
Let’s go! 🤣
Come join us! 🤗
👋 Hey you Twtxters/Yarners 👋 Let’s get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name 👌
~22h to go for the 3rd #AdventOfCode puzzle (Day 3) 😅
Come join us!
👋 Hey you Twtxters/Yarners 👋 Let’s get a Advent of Code leaderboard going!
Join with
1093404-315fafb8
and please use your usual Twtxt feed alias/name 👌
Starting Advent of Code today, a day late but oh well 😅 Also going to start a Twtxt/Yarn leaderboard. Join with 1093404-315fafb8
and please use your usual Twtxt feed alias/name 👌
I will go for a walk to clear my head
Going for Codeberg to support a non-profit organisation that stands for the common good.
@darch@neotxt.dk webmentions are dispatched from here https://git.mills.io/yarnsocial/yarn/src/branch/main/internal/post_handler.go#L160-L169
@prologic@twtxt.net its not.. There are going to be 1000s of copy cat apps built on AI. And they will all die out when the companies that have the AI platforms copy them. It happened all the time with windows and mac os. And iphone.. Like flashlight and sound recorder apps.
@prologic@twtxt.net the going theory is that openAI announced a new product that pretty much blew up the project of one of the board members. So that board member got 3 others to vote to fire Sam.
wtf is going on with Microsoft and OpenAI of late?! LIke Microsoft bought into OpenAI for some shocking $10bn USD, then Sam Altman gor fired, now he’s been hired by Microsoft to run up a new “AI” division. wtf/! seriously?! 🤔 #Microsoft #OpenAI #Scandal
@Phys_org@feeds.twtxt.net We’re going to be killed by these people’s excesses, almost literally. This ratio is indefensible.
@movq@www.uninformativ.de I lasted for a long time.. Not sure where or when it was “got”. We had been having a cold go around with the kiddos for about a week when the wife started getting sicker than normal. Did a test and she was positive. We tested the rest of the fam and got nothing. Till about 2 days later and myself and the others were positive. It largely hasn’t been too bad a little feaver and stuffy noses.
But whatever it was that hit a few days ago was horrible. Like whatever switch in my head that goes to sleep mode was shut off. I would lay down and even though I felt sleepy, I couldn’t actually go to sleep. The anxiety hit soon after and I was just awake with no relief. And it persisted that way for three nights. I got some meds from the clinic that seemed to finally get me to sleep.
Now the morning after I realized for all that time a part of me was missing. I would close my eyes and it would just go dark. No imagination, no pictures, nothing. Normally I can visualize things as I read or think about stuff.. But for the last few days it was just nothing. The waking up to it was quite shocking.
Though its just the first night.. I guess I’ll have to see if it persists. 🤞
Pinellas County - 5 mile progression: 5.01 miles, 00:09:00 average pace, 00:45:10 duration
was hoping for a rain, mist, or whatever but alas it did not happen. comfy run and talked with several people in the park. exchanged pleasantries with the older gentleman i see all the time. had to run in the grass towards the end for some kids on bikes who never passed me. must have been going fast!
#running
Wondering how that person in Nebraska is doing keeping that cornerstone open-source package going.
Game-playing DeepMind AI can beat top humans at chess, Go and poker
An artificial intelligence capable of beating humans at a variety of games is an important step towards a more general intelligence, says Google DeepMind ⌘ Read more
SPRF Half Marathon: 13.20 miles, 00:09:29 average pace, 02:05:12 duration
still host and humid (no surprise) but more cloud cover today. no kids but beth came and was able to cheer me on in a couple of places which was fun. the last bit she yelled “five to go!” which kind of got in my head a bit, albeit i think the heat started to get to me as well. had to take a couple of brief walks just to recollect and focus again. pretty good training run. keeping it in the green for the most part and around marathon pace. can’t wait to see how cooler weather and more training will pay off!
#running #race
[lang=en] hey! What are you playing now?
I’ve been into Pokémon Black, although it’s going slowly and switched to a more recent game, Inscryption, which has a 90s-2000s vibes.
So Youtube rea really cracking down on Ad-blockers. The new popup is a warning saying you can watch 3 videos before you can watch no more. Not sure for how long. I guess my options are a) wait for the ad-blockers to catch-up b) pay for Youtube c) Stop using Youtube.
I think I’m going with c) Stop using Youtube.
Doctor’s Office
⌘ Read more
Pinellas County - Recovery: 3.13 miles, 00:12:31 average pace, 00:39:09 duration
i was suppose to do this yesterday but beth mentioned going out today so i just moved it.
#running
Come on! how do I keep my pet next to me in #nethack? They always go wandering without me and I loose them or my time trying to find them
This is some cool development for the go 1.22 standard http mux. Its adding the ability to have path vars and define methods for handlers. Also the errors are quite helpful if you have conflicting paths!
https://eli.thegreenplace.net/2023/better-http-server-routing-in-go-122/
@bmallred@staystrong.run good thing i moved my run because no way i was going to be able to finish one after getting home around 0400. it was a fun night out with glenn and ash, but it may take a day or two to recover!
Pinellas County - Long run: 11.14 miles, 00:10:15 average pace, 01:54:07 duration
did loops around the block since we had to leave early this morning. going to be a busy day (and night) so moved this run to today instead of tomorrow. pretty nice out, but it was beyond boring.
#running
Pinellas County - Long Run: 11.14 miles, 00:10:15 average pace, 01:54:07 duration
did loops around the block since we had to leave early this morning. going to be a busy day (and night) so moved this run to today instead of tomorrow. pretty nice out, but it was beyond boring.
good thing i moved my run because no way i was going to be able to finish one after getting home around 0400. it was a fun night out with glen and ash, but it may take a day or two to recover!
#running
Urban Planning Opinion Progression
⌘ Read more
going thru my own old drawings, exploring those distant worlds, like an archaeologist. tracing origins and evolutions #draw #art #trip #mind
Pinellas County - Long run: 10.63 miles, 00:09:59 average pace, 01:46:03 duration
woke up a bit groggy, but definitely excited to go run. the temps were b/w 70F-73F with a dew point to match which is fabulous. such a great run and kept a conservative pace for it leaving me feeling strong at the end. wanted to keep going but i know i should ease back in to the longer distances
#running
@adi@twtxt.net I think it is, and one benefit they have is that you can add third-party repositories to the F-Droid app as you discover them. So, for instance, if you know of a developer who pushes builds to an F-Droid compatible repository, you can add that to your F-Droid app and start tracking updates like you would for any other app in there. Can’t do that with Google Play!
F-Droid tends to focus on open source applications that can be built in a reproducible way, which limits the inventory (though of course tends to mean the apps are safer and don’t spy on you). There are non-free apps in there as well but they come with warnings so you’re informed about what you might be sacrificing by using them.
That said if you have a favorite app you get through Google Play, there’s a decent chance it won’t be in F-Droid. Many “big corporate” apps aren’t, and vendor-specific apps tend not to be either. But for most of the major functions you might want, like email clients, calendar apps, weather apps, etc etc, there are very good substitutes now in F-Droid. You’re definitely making a trade-off though.
What I did was go through the apps I had installed on my last phone, found as many substitutes in F-Droid as I could, started using those instead to see how they worked, and bit by bit replaced as much as I could from Google Play with a comparable app from F-Droid. I still have a few apps (mostly vendor-specific things that don’t have substitutes) that come from Google Play but I’m aiming to be rid of those before I need to replace this phone.
@jmjl@tilde.green I’m sorry that I’m not super knowledgeable about alternatives to jmp.chat but I’ll tell you what I know.
You’re probably right about jmp.chat not working for you, at least as it is now. You can only get US and Canadian phone numbers through it last time I checked, so if you’re not in either of those countries you’d be making international calls all the time and people who wanted to call you would be making international calls too.
I’ve seen people talk about using SIP as an intermediary: you can bridge SIP-to-XMPP, and bridge SIP-to-PSTN (PSTN = “packet switched telephone network”, meaning normal telephone). You can skip the SIP-to-XMPP side if you’re comfortable using a SIP client. I don’t know very much about SIP or PSTN so I am not sure what to recommend, but perhaps this helps your search queries.
There are a fair number of services like TextNow that let you sign up for a real telephone number that you can then use via their app (I wouldn’t use TextNow–they had tons of spyware in their app). I don’t know if that kind of service works for you but if it does perhaps you’d be able to find one of them that isn’t horrible. This page (https://alternativeto.net/software/jmp-chat/) has a bunch of alternatives; I can’t vouch for any of them but maybe it’s a starting point if you want to go this route.
Good luck!
tilde club going to bed now, good night from tilde club.
I think I’m like a battery and I have maybe a hundred units of energy every day and every time I go up and down the stairs here one unit is drained from me.
Think I might not go into town centre again til the winter.
@prologic@twtxt.net I had a feeling my container was not running remotely. It was too crisp.
podman
is definitely capable of it. I’ve never used those features though so I’d have to play around with it awhile to understand how it works and then maybe I’d have a better idea of whether it’s possible to get it to work with cas.run
.
There’s a podman
-specific way of allowing remote container execution that wouldn’t be too hard to support alongside docker
if you wanted to go that route. Personally I don’t use docker
–too fat, too corporate. podman
is lightweight and does virtually everything I’d want to use docker
to do.