That’s one thing I miss in AoC compared to Project Euler and others, there’s no “Aha!” moment when solving the challenges, no particular insight gained from thinking about and coming up with the solutions. Seems like I should treat this more like a replacement for a mini-project one might do to learn a language, with straightforward code (which still takes work, just not the focused, creative type of mental work that coding challenges usually require), rather than as tricky puzzles with interesting solutions.
I just completed “Handheld Halting” - Day 8 - Advent of Code 2020 #AdventOfCode https://adventofcode.com/2020/day/8 in #JuliaLang.
Spent way too long on Part 2 thinking there must be an interesting non-bruteforce way to solve it. reddit also seems to be concluding there’s no neater way of solving it, just straight up try everything, which is disappointing.
@freemo
The Legal notice and Privacy policy links at the bottom of https://cloud.qoto.org/ don’t seem to work. They just open a new tab with https://cloud.qoto.org/# as the URL.
There are a bunch of Content Security Policy messages in the browser console, about inline scripts being blocked - which may or may not be related.
(This is all on the latest Firefox.)
I just completed “Handy Haversacks” - Day 7 - Advent of Code 2020 #AdventOfCode https://adventofcode.com/2020/day/7 in #JuliaLang.
I wanted to do something interesting using Julia’s multiple dispatch, making each outer bag a function and the inner bags the parameters, but it would have needed too much macro munchkinry and ended up in the “too clever for its own good” type code. I’m not trying to be Mel the Real Programmer after all.
Julia feels really good. Multiple ways of doing things, so I can choose what’s appropriate for each context. Lots of useful little tools built into the language, neat syntax, and the REPL is really useful for messing around and figuring things out before writing them into a program.
I just completed “Custom Customs” - Day 6 - Advent of Code 2020 #AdventOfCode https://adventofcode.com/2020/day/6 in #JuliaLang.
Every day, while implementing Part 2, I end up with a more elegant neater way of doing Part 1. Never occurs to me while doing Part 1 itself - probably because I come up with an idea while reading the question and rush to implement it, not stopping to think of other ways of doing it .
toy prog challenge solution
Did the subset sum challenge today, in #JuliaLang. Code here. I used to get stuck with dynamic programming problems, finding them hard to reason about, so it was pleasant to find that with this one the logic flowed nice and easy. Typing in the test cases and getting the test setup going took up more time than actually solving the problem itself!
Tried a #toyprogrammingchallenge today, was pretty fun. @namark thanks for recommending these! I expect I’m gonna spend a lot of hours on these in the next few weeks.
I just completed “Toboggan Trajectory” - Day 3 - Advent of Code 2020 #AdventOfCode https://adventofcode.com/2020/day/3 using #JuliaLang
Lessons (re-)learnt:
I just completed “Password Philosophy” - Day 2 - Advent of Code 2020 #AdventOfCode https://adventofcode.com/2020/day/2 using #JuliaLang.
Day 2 was kind of a letdown. The problems felt particularly pointless, and there was no thinking or creative problem solving required; just look up some functions in your language’s manual and then it’s just nitty gritty work.
Let’s hope Day 3 has something fresh and interesting!
I just completed “Report Repair” - Day 1 - Advent of Code 2020 #AdventOfCode in Julia.
Thanks to https://repl.it/ for enabling me to do that despite my local OS being borked (and so not having a usable Julia). Pretty good online coding experience for minor projects like this.
Found an answer in the Announcement post when Markdown was introduced to Qoto:
Keep in mind that while many other fediverse serves will view the rich text not all servers can or will and the formatting will be converted into html in a best-effort to remain compatible. For examples vanilla Mastodon instances reject all special formatting, but links from markdown should still be correctly rendered, but bold and other formatting will be filtered out on Mastodon. Pleorma and other software which allows rich-text should properly render the markdown.
So basically, it seems like links should likely work everywhere without a problem, it’s just fancy text rendering that’s likely to get stripped out elsewhere.
So, communication among Fediverse instances isn’t as seamless as I thought, it seems. Opening my profile on other Fedi servers, one server thinks my last toot was two weeks ago, another seems to be picking up one toot every few days and dropping the others. Neither showed the above toot in the page, so I still don’t know how the Markdown thing works. (Mobile clients seem to support the mardown/richtext more commonly than I expected, which is nice.)
What happens when links done in Markdown syntax here encounter interfaces that can’t handle Markdown? Are they displayed as the syntax itself (which would be fine, you can still access the URL), or does it just turn into normal text, the URL gone?
Here’s a great video about how the HIV works on the body, for a test.
Although this post was mainly meant as a jab against Facebook, here's Amazon and MS to round out the pack:
Amazon
Cons: treats massive number of workers like expendable robots, slowly destroying all competition in the "everything" industry, AWS is an overpriced hot mess that somehow makes them all the money
Pros: They aren't kidding about the whole "customer obsession" thing
Microsoft
Cons: Has too many sins to count due to long history
Pros: Helps keep the relatively open PC platform popular
Pros and Cons of various tech companies
Apple
Cons: Ridiculously high prices, perfected the walled garden, anti-repair
Pros: Major industry trendsetter (iPhone, M1, etc.), better on privacy than competition
Google
Cons: Extremely creepy surveillance, slowly destroying Internet standards, can't rely on them
Pros: Accurate search results, Android is less of a walled garden
Facebook
Cons: The worst possible surveillance, buys up and corrupts promising competitors, destroying democracy
Pros: ???
She has had the problem with this explained to her, with varying degrees of gentleness, by hundreds of #ActuallyAutistic people, but her only responses have been "I have good intentions" and "Maybe autistic actors are just bad at acting"
If you're not in the know because you've got my retweets turned off: Sia is making a movie(?) about autism!
She got all her info from Autism Speaks (an abusive hate group) and cast no autistic actors.
Teacher, trainer, developer.
Interested in books, tech, pets, being less wrong, and having my mind blown every now and then.
I'm also @Sundar where I'll be posting Julia tips, resources, etc.
#programming #education #training #learning #julialang #julia
#science
#webfiction
#meditation
#fedi22