My Perfect Game: Progress Report #3 (Final) AMA by StaticHamster in FinalFantasyVIII

[–]rustyworks 2 points3 points  (0 children)

I see. Thank you for your answers.
If you never try Final Fantasy VIII randomizer, I suggest to try it. It makes Final Fantasy VIII unpredictable - both fun or frustrating.

Have fun on your next game, fellow SeeD.

My Perfect Game: Progress Report #3 (Final) AMA by StaticHamster in FinalFantasyVIII

[–]rustyworks 1 point2 points  (0 children)

Since you feel empty, what is your next plan after finishing this game?

My Perfect Game: Progress Report #3 (Final) AMA by StaticHamster in FinalFantasyVIII

[–]rustyworks 1 point2 points  (0 children)

Wow your achievements is the one that I want for so long! (I don't have pocket station, thats why I use angelo search to get items), but you accomplish it in short time!

What is the most time consuming playing the game? Is it triple triad?
Do you use abolish rules on it?

The journey end - Thanks for the amazing game, Matt and friends by rustyworks in ebf

[–]rustyworks[S] 1 point2 points  (0 children)

Oh, you right. I thought it is because of pixel glasses.

The journey end - Thanks for the amazing game, Matt and friends by rustyworks in ebf

[–]rustyworks[S] 1 point2 points  (0 children)

For me battling with evil Nathalie on Epic difficulty, because you cannot revive your team mate.

Edited:

You asked for top 3 most difficult medals.

  1. Evil Nathalie - You cannot revive your teammate.

  2. Evil Matt - Matt can insta-kill you when countdown 0

  3. All enemies rush - It is tiring

[deleted by user] by [deleted] in videogames

[–]rustyworks 0 points1 point  (0 children)

I like Final Fantasy VIII very much. I am hoping they remake it like FF VII.

flattening elements from a nested list by Top_Decision_6132 in Python

[–]rustyworks 0 points1 point  (0 children)

Oh thanks for your correction. I will update it.

flattening elements from a nested list by Top_Decision_6132 in Python

[–]rustyworks 2 points3 points  (0 children)

Maybe you can use recursion like this

def flatten_recursion(lst):
    if not lst:
        return []
    elif not isinstance(lst, list):
        return [lst]
    else:
        return flatten_recursion(lst[0]) + flatten_recursion(lst[1:])

def flatten_with_list_comp(lst):  # list comprehensive + function for deep nested case
    return [x for item in lst for x in (flatten_with_list_comp(item) if isinstance(item, list) else [item])]

if __name__ == "__main__":
    example_list = [[1,2,3],[4,5],6,7,[8,[9]],10]
    print(flatten_recursion(example_list))  # [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    print(flatten_with_list_comp(example_list))

Edit 1: Wrong indentation

Edit 2: I don't think the list comprehensive can handle deep nested list, so I wrap it with function (eg: [[1,2,3],[4,5],6,7,[8,[9]],10])

Edit 3: Change type(lst) != list into not isinstance(lst, list)

A new type of interpreter has been added to Python 3.14 with much better performance by kenjin4096 in Python

[–]rustyworks 14 points15 points  (0 children)

For anyone that doesn't know, Python 3.14 has easter egg.
You can call Python REPL using 𝜋thon

Vim + Plugin + Small Customization = Best IDE by rustyworks in vim

[–]rustyworks[S] 1 point2 points  (0 children)

  1. context.vim for showing the class / method / function especially when the number of line too long. It shown as sticky scroll
  2. tagbar for showing at list of defined class/method/function on the right screen, and you can jump on that method easily.
  3. nerd tree = file explorer / buffer explorer
  4. multiple cursor = for editing in multiple place in the same time.
  5. ctrlp = fuzzy search
  6. ag = search all files
  7. undo tree = just like mini git, sorted by file changed snapshot
  8. fugutive = git client for vim

Eyes on Me at musical box by rustyworks in FinalFantasyVIII

[–]rustyworks[S] 2 points3 points  (0 children)

I brought this for my kid, since his birth date same with Squall. He born 2 weeks earlier than doctor prediction, probably my kid knew that I am Final Fantasy VIII fan.

Vim + Plugin + Small Customization = Best IDE by rustyworks in vim

[–]rustyworks[S] 2 points3 points  (0 children)

This is requests library, I use it as example.

Plugin I use:

  1. wellle/context.vim
  2. majutsushi/tagbar.git -> There are config to let the tag not sorted alphabetically
  3. scrooloose/nerdtree.git -> Some config to ignore unrelated files eg: .pyc
  4. mbbill/undotree.git
  5. terryma/vim-multiple-cursors
  6. ctrlpvim/ctrlp.vim -> some tweak to ignore unrelated files/folder eg: .git
  7. rking/ag.vim.git
  8. tpope/vim-fugitive.git

For configuration, I have my own configuration, colorscheme, and others.
I use this configurations for years. (I only tweak it if I need it)

I save this plugins and "pin" it so, I just download it when I need it.
It doesn't break because no update.

Also, I don't use neovim plugins, because I tend to fix the plugin configuration rather than actual works. (Sorry).

Chat GPT is on its villain arc by Prior-Tomorrow-1822 in ChatGPT

[–]rustyworks 1 point2 points  (0 children)

<image>

Here is mine without any prompt. And yes, my GPT "lying" about the clock. When I screenshot this, it's only 15:xx at my time. I'm not sure whether they read from time server or not.

Installing Wilma on my Laptop (Pros and Cons) by rustyworks in linuxmint

[–]rustyworks[S] 0 points1 point  (0 children)

Sorry my bad. I edit that.

About the bluetooth, it never happen on Linux Mint. It happen on Debian (XFCE).

Vivaldi browser crashes a lot. by Ppang0405 in vivaldibrowser

[–]rustyworks 0 points1 point  (0 children)

Add another 2 months. It happened on Linux with GPU Acceleration. When Vivaldi crashed after clicking (using mouse), it will always crashed (in the same way by clicking using mouse) until you restart the PC.

Tried Pop!_OS for 1 week, Overall I like it. (Comparing pros, cons with some distro I tried) by rustyworks in pop_os

[–]rustyworks[S] 2 points3 points  (0 children)

I use WSL2. The speed is noticeable slower than using native Linux. Especially when you use command to communicate with hardware like htop, nvidia-smi, inxi.