[-] [email protected] 4 points 6 months ago

streets of rage 2!

[-] [email protected] 3 points 6 months ago

This template might also be useful: https://github.com/bitbrain/godot-gamejam - e.g. i read through the savegame stuff before implementing it in my own game.

I saw another template the other day… and my last/next project “dino” is available as well, though it’s pretty crazy in there right now: https://github.com/russmatney/dino - i hope to whip this one into shape by june 1st!

[-] [email protected] 3 points 6 months ago

Thank you, I'm glad you like it! I like pixel art b/c it's so constrained, so it helps me relax and just fit whatever i can in the space. Hope you like the game!

[-] [email protected] 3 points 9 months ago

I’m going to try to use both zig and gerbil. Usually i use clojure, so might fallback to that as well. I started doing puzzles from 2015 this week, and that’s been fun so far

[-] [email protected] 3 points 1 year ago

Just to share a perspective from erlang/elixir: pattern matching to filter for only happy-path inputs and the principle of “letting it fail” (when the inputs don’t match the expected shape) works really well in some paradigms (in this case, the actor model + OTP, erlang’s 9 9s of uptime, etc). In that kind of architecture you can really only care about the happy path, because the rest is malformed and can be thrown away without issue.

[-] [email protected] 2 points 1 year ago

the top games were excellent this year! I think b/c the theme was interesting and expectation-reverseing. i struggled to get something on theme done... most of my ideas implied smart ai/behavior (e.g. interacting with an autonomous player character), which i decided was too big a rabbit hole for 2 days... it's impressive to see how far people got on some of these

[-] [email protected] 2 points 1 year ago

Yesssss tldr is awesome!

[-] [email protected] 2 points 1 year ago

The simple and probably better answer is that you can just vim ~/.zsh_history and search for/delete the lines directly.

Buuuuut! I wrote zsh command for doing exactly that a few years ago (in my dotfiles, but i've pasted it below as well):

################################################################################
# Delete from history via fzf
################################################################################

# https://superuser.com/questions/1316668/zsh-bash-delete-specific-lines-from-history
function delete-command () {
  # Prevent the specified history line from being saved.
  local HISTORY_IGNORE="${(b)$(fc -ln $1 $1)}"

  # Write out the history to file, excluding lines that match `$HISTORY_IGNORE`.
  fc -W

  # Dispose of the current history and read the new history from file.
  fc -p "$HISTFILE" "$HISTSIZE" "$SAVEHIST"

  # TA-DA!
  print "Deleted '$HISTORY_IGNORE' from history."
}

function pick_from_history () {
  history | fzf --tac --tiebreak=index | perl -ne 'm/^\s*([0-9]+)/ and print "$1"'
}

function delete_from_history () {
  delete-command "$(pick_from_history)"
}

It uses fzf to filter and select a command to delete. It's cool but might be slow b/c you're doing it one at a time. It also may depend on your zsh config (i think the history command i'm using there comes from ohmyzsh, but i'm not too sure).

[-] [email protected] 4 points 1 year ago

Interesting, syncing history across machines is pretty cool. While writing this I went looking for my yabai logs helper as an example, but of course, it's on my other machine, haha

Security (sharing secrets from that history) comes to mind, so I feel compelled to mention that adding a space before a command is a pattern for preventing it from being stored in history, though I think I had to opt-in to that in my zsh config: setopt HIST_IGNORE_SPACE

[-] [email protected] 4 points 1 year ago

Nice work!

Tauri is great. I haven't built a proper app with the nice native backend features, but i wrote a wrapper for passing a url on the command line, which lets you run an arbitrary web app like it's a native one: https://github.com/russmatney/clove

Very happy to have something lightweight!

[-] [email protected] 3 points 1 year ago

for sure, here we go with day 2! hoping to get something working quickly today so there's time for polish and level design... tho i'd be happy even to just get some mechanics shipped

[-] [email protected] 2 points 1 year ago

excited for this one, thanks for putting it together! And thank you for not overlapping with the GMTK jam :D

view more: ‹ prev next ›

russmatney

joined 1 year ago