Skip to main content

C'est la Z

Advent 2023 Day 08 - Ghost paths

Today's puzzle was just what I needed this morning. Made me think, but not too much :-). You can find the problem here. Part 1 was pretty straightforward. You had a set of locations and for each location you could go left or right. So, for example, if node AAA is defined as AAA = (BBB,CCC) then, if your next instruction was L or left, you'd go to BBB, if it was R, then CCC.
# COMMENTS

Advent 2023 Day 06 - multiple approaches to a problem

I haven't and probably won't write up problems 2 through 5 and to be honest, don't know how many days I'll go on solving this year. I thought that today's problem was interesting enough for a write up so if you're interested, keep reading. Here's a link to the problem: https://adventofcode.com/2023/day/6 And my solution(s) are here. What I liked about today's problem is that there are various, let's say levels to the solution(s).
# COMMENTS

Advent of Code 2023 Day 01

It's that time again. Advent of Code 2023. A new two part programming problem each day from now through December 25th. Since 2015 I've looked forward to the event, taken part, and posted at least a few write ups here on my blog. I figured this year would be the same. Of course, it does end up putting a crunch in my routine. Usually each morning I wake up, work out, usually a run unless the weather's bad, have my coffee, do the puzzle, read blogs and other content over breakfast and then I'm ready for the rest of my day.
# COMMENTS

Learning Elisp 15 - cleaning up our minor mode

Today we're finishing off our emoji project. This video covers two quick things. The first is how we can make the mode use either of our replacement methods - one that actually replaces the text with the emoji and the other that uses text properties to overlay the emoji without changing the text. This is done with a variable that we can set telling us which function to call. We used one named emoji-replace-by-insert.
# COMMENTS

Bringing Politics to your classroom?

While perusing Reddit this morning, waiting for the stuffing to bake, I came across this post. Apparently there was a todo at Berkeley involving a CS instructor. Specifically a grad student teaching their data structures course. You can link from the first post to the Berkeley subreddit post and can listen to the video if you want. It seems that this was the last day of class and the instructor decided to end class early, announce that he was going to share some of his own views so students should feel free to leave and then proceeded to give a very one sided diatribe on the Israel/Palestine situation and to say one sided is me being nice.
# COMMENTS

Learning Elisp 14 - defining a minor mode

Another short one today. We're taking the code we already wrote and making a minor mode out of it. In Emacs, a minor mode is a set of functionality that you can turn on (or off) in a buffer (or globally). For example, the built in auto-fill-mode can be turned on in a buffer will automatically add newlines when your line gets "too long." You can see the modes that you currently have on using the describe-mode function, usually bound to C-h m.
# COMMENTS

Repl.it, Coding Rooms and Twitter - the loss of free services

A number of months ago, the K12 CS Ed community was abuzz. It seems that Coding Rooms - an online collaboration and coding platform was closing their free teacher tier. I was going to write about it then but didn't get to it. Some time later, I noticed some complaints about teacher throttling. Again, meant to write but it didn't happen; The other day though, there was another disturbance in the force as teachers started commiserating about Repl.
# COMMENTS

Learning Elisp 13 - Text Properties

Today's a short 10 minute video as we continue to work on the emoji project. In the last episode we replaced text in the form :emoji-name: with the emoji. This time, we're doing it a little differently - we're going to overlay the text with the emoji. This way we see the emoji but the underlying text is still present. This is kind of like when programming in a language that supports lambda, in many editors you can type lambda but it appears as the symbol: λ (note that the previous symbol is not an emoji but was entered using the RFC1345 input method).
# COMMENTS

Should we be using printed textbooks?

A couple of weeks ago a friend posted to Social media asking for a text book recommendation. As it happened, the one he had been using for his class was no longer going to be published. One of the replies was strongly against using printed text books stating that online resources are superior. I thought this was worth exploring. First thing worth discussing is cost. For public K12 students this generally isn't an issue.
# COMMENTS

Israel, Palestine, and antisemitism

I was born and bred in NYC. Went to public school and worked mostly in the public sector. I've lived my life among one of the most diverse populations in the world. As a Jew, I've also only lived in a communities pn which Jews, though a minority, are accepted and frequently assimilated. Throughout my life I've rarely faced antisemitism personally and feel that even in the greater USA, public occurrences of antisemitism have been relatively infrequent.
# COMMENTS