HN user

GNOMES

330 karma
Posts1
Comments108
View on HN

I have been testing this as a daily driver since the last big mention on HN to simplify my .bashrc file.

I use it with `eval "$(zoxide init bash --cmd cd)"` so I can continue to use CD due to muscle memory.

    - I like that if there are multiple /foo directories known by Zoxide, say /foo/ and /abc/foo/, that you can do `cd abc foo` to go the path containing both.

    - I am not a fan of having to do `cd foo**` for tab completion to folders outside CWD. I feel it slows me down as a tab complete fanatic.

    - Also don't enjoy if I `cd foo/bar/batz` directly, then try `cd bar`, Zoxide has no reference. You would need to CD into each directory individually to build the database. I have seen scripts kicking around online to put a complete directory structure into Zoxide database by CD'ing to each subdirectory for you.
Not sure if I am officially sold, or I'll go back to aliases and simple tab completes forwards, and backwards (logic I use for tab complete backwards to exact directory name backwards from CWD instead of `cd ../../../etc` https://gist.github.com/GNOMES/6bf65926648e260d8023aebb9ede9...)

I have been tempted to drop tmux locally for native Ghostty panes/tabs, but I prefer the single height tmux status bar with window list only (set -g status-left '' + set -g status-right '') vs the thicker window decorations using macos-titlebar-style = tabs.

I did come up with Ghostty bindings to replicate my tmux settings if it helps anyone (my tmux leader is ctrl + space):

    # clear default bindings + add paste back
    keybind=clear
    keybind=super+v=paste_from_clipboard

    # navigate panes
    keybind=ctrl+h=goto_split:left
    keybind=ctrl+j=goto_split:bottom
    keybind=ctrl+k=goto_split:top
    keybind=ctrl+l=goto_split:right
    keybind=ctrl+space>shift+apostrophe=new_split:down
    keybind=ctrl+space>shift+five=new_split:right
    keybind=ctrl+space>space=equalize_splits
    keybind=ctrl+space>z=toggle_split_zoom

    # navigate tabs
    keybind=ctrl+space>c=new_tab
    keybind=ctrl+space>one=goto_tab:1
    ...
    keybind=ctrl+space>zero=goto_tab:10

I had to do something like this with Ansible's get_url module once.

Was having issues getting module to download an installer from a vendors site.

Played with Curl/WGET, but was running into the same, while it worked from a browser.

I ended up getting both Curl + get_url to work by passing the same headers my browser sent such as User-Agent, encoding, etc

I thought the initial wording/hype was around poorly phrased lawyer speak for "you give FF permission to interact (post/get requests) with a web page as a browser. Don't sue us".

The whole some may consider it "legally selling your data" proves this is not just a Terms of Use change in good faith.

IMG_0001 2 years ago

Seems that views through this site don't seem to reflect?

Found a video that had zero views, watched to completion, then hit back on next video to return to it. Video still had 0 views.

My kiddo has easily spent 500+ on Roblox across birthday/Xmas gift cards/chores.

I can't stand that almost all of the games seem to have a pay to win aspect, or are heavily advertising every chance they get.

As a gamer dad, I try to show my kid better games to play, but because they aren't free, his friends can't play. Just drives him to keep playing and wanting more Robux. It's compounded when his favorite Youtubers play...

Seriously don't understand how Roblox isn't being investigated for predatory practices. I imagine they can hide behind the fact users are making most of the mini games, and they are just providing a platform.

Mourning Google 3 years ago

Curious on your Android would be dead without Samsung comment.

I know the US is skewed towards iOS, but Android is the #1 mobile OS, presumably due to cheap devices.

Is there a stat showing Samsung is largest manufacturer? I found this, but company market cap != number of devices obviously

https://finance.yahoo.com/news/16-biggest-smartphone-compani...

It looks like there are 20+ manufacturers in the Open Handset Alliance: https://en.wikipedia.org/wiki/Open_Handset_Alliance

I was thinking more along the lines of a simple/reversible modification like existing propane conversions. I know there are people doing body off Tesla conversions and the like.

I envision batteries + motor/bio fuel cell in the trunk or something. I believe Mazda is looking into electric motors inside of wheels/hubs and Honda was exploring hydrogen in push rod engines.

I come from a hot rod family, so I understand your point on classics. Perfect example is a T-bucket vs a Model T.

The biggest hurdle for many is the price of a new car + premium for electric.

--

Imagine a fairly priced "off the shelf kit" to convert existing cars:

1) Wide spread adoption of renewable energy, reducing fears of range anxiety, more demand for charging/fuel stations.

2) Dealers can option existing inventory as renewable, possibly increasing sales/profits

3) Would increase jobs/expertise in the mechanic and after market industries.

4) Keeps existing cars out of the scrap yards/land fills. Cut on manufacturing pollution of new cars.

5) Hobbyists and collector car owners could convert their cars as well.

Negatives that kill the idea:

1) Would cut into automaker profits, so I doubt lobbyist support/government incentives

2) Would hurt adoption of new safety features. Insurance companies go womp womp.

I really need to invest more time into Sed/Awk. I typically only use them for find/replace or deleting characters/lines in my shell scripts.