this post was submitted on 12 Aug 2023
128 points (88.6% liked)

Programming

17503 readers
9 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

What if your dev experience was entirely in the cloud?

These days, launching applications means navigating an endless sea of complexity. We felt this pain at Google, so we started Project IDX, an experimental new initiative aimed at bringing your entire full-stack, multiplatform app development workflow to the cloud.

Project IDX gets you into your dev workflow in no time, backed by the security and scalability of Google Cloud.

Project IDX lets you preview your full-stack, multiplatform apps as your users would see them, with upcoming support for built-in multi-browser web previews, Android emulators, and iOS simulators.

As a Vim fanatic, I can't say I'll ever feel comfortable working in a browser, but some parts of IDX seem interesting. I wonder what the implications are for proprietary code.

I do think it solves an interesting problem where you're working on your desktop and decide to move to your laptop and continue working on the same codebase, but don't want to commit early so you can pull down the changes to your laptop.

It reminds me vaguely of Shells.

you are viewing a single comment's thread
view the rest of the comments
[–] tatterdemalion@programming.dev 12 points 1 year ago (3 children)

I do think it solves an interesting problem where you’re working on your desktop and decide to move to your laptop and continue working on the same codebase, but don’t want to commit early so you can pull down the changes to your laptop.

This has been a solved problem for decades. SSH.

[–] sushibowl@feddit.nl 4 points 1 year ago (2 children)

What's bad about committing early? Do people not know about --amend?

[–] dmrzl@programming.dev 3 points 1 year ago

There is no such thing as committing early.

[–] Spectacle8011@lemmy.comfysnug.space 2 points 1 year ago* (last edited 1 year ago)

It's not so much committing early, but pushing early. You don't want to push early, then rebase your commits, and then force-push to a repository other developers are using too.

But as I've learned from all of the responses in this thread, there are many ways of avoiding this 🙂

[–] Spectacle8011@lemmy.comfysnug.space 3 points 1 year ago (1 children)

Well, it's what I use with Neovim, but not everyone uses a terminal-based editor. But other users had some other suggestions too: https://lemmy.comfysnug.space/comment/620209

[–] firelizzard@programming.dev 5 points 1 year ago* (last edited 1 year ago)

Fortunately for me, VSCode has support for running the backend remotely via SSH.

[–] Mikina@programming.dev 2 points 1 year ago (1 children)

Ever since I've discovered Parsec (or any other remote desktop streaming solution that isn't TeamViewer), I've switched from having to drag around a heavy laptop that still can barely run Unreal to just having a Surface, remotely WoL my desktop at home through a pooling solution that does not require any public facing service (my NAS is just pooling a website API for a trigger. Not efficient, but secure), and just connecting through Parsec.

RDP could also work I'd wager, but then I'd have to set up a VPN and I'm not really that comfortable with anything public facing. But if anyone asks me now for good laptop recommendations, I always recommend going the "better desktop for the same price, and small laptop for remote".

I've yet to find a place where I couldn't work comfortably through Parsec, it being optimized for gaming means the experience is pretty smooth, and it works pretty well even at lower network speeds. You still need at least 5-10Mbps, but if you have unlimited mobile data you're good to go almost anywhere.

[–] sjpwarren@programming.dev 1 points 1 year ago (1 children)

Thanks for sharing about Parsec, it looks interesting. How is the speed? They talk about it being fast but is it?

[–] Mikina@programming.dev 2 points 1 year ago (1 children)

I've never had any issues, it's pretty well optimized and it's miles ahead of TeamViewer. So, in my experience, it is pretty fast - if your net can handle it. And if you have lower bandwidth then it's pretty good at optimizing for speed instead of quality, if that's what you want.

[–] sjpwarren@programming.dev 1 points 1 year ago (1 children)

Turns out it won't share a Linux machine.

[–] Mikina@programming.dev 2 points 1 year ago

Oh, you're right, I've totally forgotten about that. It was one of the (many) reasons why I gave up my last attempt to finally switch away from windows and to Linux.