Better HN
topnewbestaskshowjobs
Log inSign up

artemave

486 karma · joined Apr 6, 2012 (14y ago) · 88 submissions

Submissions

comment 1w ago · link · parent

I do exactly the same as op. The amount of times I was totally convinced by an impeccable top comment, only to be convinced otherwise by an equally impeccable reply.

So, I'd say, it's the opposite, actually. Taught me to give my first impression a benefit of a doubt.

comment 2w ago · link · parent

Yes, the header is decoded and re-encoded, and pushes go through that same path. The swap itself happens in the generic inject addon (inject.py), not in the github addon:

    def _decoded(value: str) -> str:
        # git and acli put the token in the password half of Basic auth.
        if value.startswith("Basic "):
            return base64.b64decode(value[len("Basic ") :]).decode()
        return value


    def _substitute(value: str, placeholder: str, secret: str) -> str:
        if value.startswith("Basic "):
            return "Basic " + base64.b64encode(_decoded(value).replace(placeholder, secret).encode()).decode()
        return value.replace(placeholder, secret)

3.

I made sandboxed development feel like local development(artem.rocks ↗)

1 points · by artemave · 2w ago · 2 comments

comment 1mo ago · link · parent

I used tmux for about a decade and wrote quite a bit of automation around it, including tmux_super_fingers. But eventually I got frustrated with project sessions being limited to terminal windows. In particular, the browser tabs belonging to those projects were all mixed up in a single browser window.

So I wrote hop[1], which uses sway workspaces instead of tmux sessions. Terminals, editors, browsers, or any other windows really, can now all belong to the same project.

What I hadn't quite anticipated was how liberating it would feel to use the system's own tools - windows, workspaces, clipboard, scrollback, etc. - instead of tmux's alternatives. No more two layers of window management or competing keybindings.

On top of that, hop has proven to be a great fit for working in sandboxed environments. With tmux, sessions are tied to a tmux server running on a particular machine or inside a particular container. With hop, local, containerized or remote (or both) are all allied under one banner.

I realise most folks won't be able to use it - it requires rather extravagant tool choices (notably, sway) - but it's an interesting experiment nonetheless. And it's been working great for me for months now.

[1] https://github.com/artemave/hop

5.

Show HN: I replaced tmux with sway workspaces(github.com ↗)

1 points · by artemave · 1mo ago · 1 comment

comment 1mo ago · link · parent

If all you want is clipboard integration over ssh, then, perhaps, kitty terminal might be enough.

hop does take it a notch further and allows to `hop open` images (or any binary really) from the remote machine such that they are opened by your host's xdg-open (as well as pasting images from host to remote).

comment 1mo ago · link · parent

One thing you might be missing is better integration between the local desktop and the remote environment. Things like persistent ssh connections, seamless clipboard sharing (including images), port forwarding and file path translation, so that working remotely feels almost indistinguishable from working locally.

I wrote a session manager[1] to handle all that. Linux/sway/kitty only though.

[1] https://github.com/artemave/hop

comment 1mo ago · link · parent

I actually migrated away from tmux because I became tired of using one set of keybindings to manage my terminal windows... and another set for every other os window. I also wanted gui apps being part of the session, not just terminals.

So claude and I grew the replacement over the course of a few months. Really happy with it. Never looked back.

comment 1mo ago · link · parent

> I have never been able to get copy-paste to work 100% of the time

Have you tried Kitty? Its remote clipboard integration works over SSH, including images. Might be worth a look.

comment 1mo ago · link · parent

Except starlink only works over Ukraine (including parts that are occupied). Long range drones into Russia are fully autonomous.

11.

Show HN: Hop – project sessions beyond tmux(github.com ↗)

1 points · by artemave · 2mo ago · discuss

comment 4mo ago · link · parent

You'd be surprised https://github.com/artemave/node-test-runners-performance-co...

comment 5mo ago · link · parent

Very nice! Nitpick: the Moon is tidally locked, so it should always face the Earth with the same side.

comment 5mo ago · link · parent

- replaced tmux as project session manager with https://github.com/artemave/hop (Linux, SwayWM)

- https://github.com/artemave/artwall rotates my desktop wallpaper through random paintings (Linux, SwayWM)

- I get my TILs through https://t.me/daily_bite_sized_fun_fact

- https://t.me/tolmach_forward_bot helps me practice French reading

- https://mini-meet.artem.rocks/ was an attempt to circumvent RKN (russians) blocking video calls; not a complete success, but works for some people

- counted the number of dudes in Big Lebowski with https://github.com/artemave/super_video_grep (https://www.youtube.com/watch?v=V7EUtIbOd1w)

comment 7mo ago · link · parent

Aren't these just examples of sunk cost fallacy?

comment 9mo ago · link · parent

And I built e-commerce for my wife's micro-bakery https://thonon-les-pains.fr/ (most of it - like product and order management - is behind auth).

I don't think it's useful to anyone - not white label, not open source - but still funny :)

comment 1y ago · link · parent

Another (neo)vim+tmuxer chiming in. One major missing feature (compared to vscode) is opening file links from the terminal back in vim. It was such a major pain to me, so I ended up writing a tmux plugin to solve it. I thought you might find it useful - https://github.com/artemave/tmux_super_fingers

comment 1y ago · link · parent

My brain inadvertently changed the title to My Perl Half Life

comment 2y ago · link · parent

I have a better version (in the sense that it automatically names sessions after the current directory):

  if [ -z "$1" ]; then
    name="$(basename $PWD)"
    name="${name//\./-}"
  else
    name=$1
  fi

  tmux has -t "=$name" && tmux attach -t "$name" && exit

  tmux new-session -d -s "$name" -n shell

comment 2y ago · link · parent

SEEKING WORK | RAILS, NODE.JS, REACT | REMOTE

Hey there! With over fifteen years of web development experience, I specialize in all things Rails and Node.js. Whether you're starting from scratch or need help untangling a legacy stack, I'm here to lend a hand!

Drop me a line at hello@artem.rocks , and let's get the ball rolling!

META:

Technologies: Node.js (javascript/typescript), Rails, React, Flutter

Location: France

Remote: only

Language: English fluent, French intermediate

Availability: right now

Website: https://artem.rocks/

comment 2y ago · link · parent

SEEKING WORK | WEB DEVELOPER | REMOTE

Technologies: Node.js (javascript/typescript), Rails, React, Flutter

Location: France

Remote: only

Language: English fluent, French intermediate

Availability: right now

Website: https://artem.rocks/

Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.

I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.

comment 2y ago · link · parent

SEEKING WORK | WEB DEVELOPER | REMOTE

Technologies: Node.js (javascript/typescript), Rails, React, Flutter

Location: France

Remote: only

Language: English fluent, French intermediate

Availability: right now

Website: https://artem.rocks/

Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.

I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.

comment 2y ago · link · parent

Years ago I switched from Firefox to Chrome and I was badly missing "translate on mouse hover" from Google Toolbar plug-in. Ended up writing it: https://github.com/artemave/translate_onhover/

I also spent years searching for a way to open file links in vim (all within a tmux session). Ended up writing it: https://github.com/artemave/tmux_super_fingers

comment 2y ago · link · parent

SEEKING WORK | WEB DEVELOPER | REMOTE

Technologies: Node.js (javascript/typescript), Rails, React, Flutter

Location: France

Remote: only

Language: English fluent, French intermediate

Availability: right now

Website: https://artem.rocks/

Hello, I am a seasoned full-stack web developer with over fifteen years of experience. Throughout my career, I've mainly gone back and forth between Rails and Node, with occasional forays into SPAs. I worked with a variety of clients - from small startups to enterprises.

I like to understand the business before coding. I like to translate this understanding into automated scenarios and tests. I prefer clear over clever. I like to deploy fast, small, and often. I like to know about problems in production before the users. I like to talk to the users. I like to talk to the business. I like to talk to the colleagues and pair programming. And, above all, I like coding - it's not just a job, it's a passion.

comment 3y ago · link · parent

I followed some advice about posting to HN which basically says: keep posting. I also assumed that it's unlikely that the same people would read it, as new posts fade away so quickly. That was clearly the wrong assumption. Apologies for all that, I will post no more.

comment 3y ago · link · parent

Links:

[1]: https://starlogs.dev/ (the domain has changed since the original post)

[2]: https://www.reddit.com/r/programming/comments/1c72lb/starwar...

27.

R/programming: how a post went from 1k upvotes to a ban in 10 years

1 points · by artemave · 3y ago · 5 comments

comment 3y ago · link · parent

Ah. I was looking in the pinned rules post.
123