Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.
I have been writing Haskell code all on my dedicated server (more performant than my laptop). I switched to nvim + coc-vim for ghcide support. I must say the IDE feedback comes up rather instantaneously with no visible lag (which is common place with vscode on my laptop).
The server uses NixOS; so everything is declaratively configured. I can always spin up a new one without manual legwork, say after 1-2 years when upgrading to a better CPU.
That's another benefit of using dedicated servers + NixOS for dev; being able to upgrade whenever you want.
How much does it cost compared to more powerful laptop/desktop?
~ 200 CAD per month for this configuration: https://www.ovh.com/ca/en/dedicated-servers/infra/infra-limited-edition-2/
My thinkpad cost me ~$4500
Which is roughly the same as 2 years of renting this server.
I don't envision generally using the laptop for development more than 4 years. So I could see it being twice as expensive.
on what project size are you using ghcide?
ghcjs apps using obelisk -- such as zeus
for me, even on something like hlint which i would say is no longer in "toy size", it worked with tolerable (<0.1-0.2s) delay on my x220
referring to "display type information"*
I imagine that this style of development might facilitate more varied lifestyle -- like working more from coffee shops without worrying about portability of device.
Hmm, I get pretty responsive HLS on desktop that could be considered powerful in 2016 - though I came from 600€ laptop, so :big_smile:
Yea, desktops are great - but my lifestyle is such that I don't want to own anything I can't carry in a flight (standing desk + 5k monitor is an exception right now)
I have a Thinkpad P71, fwiw.
I use this server to host apps and internet exposed services as well. This was the original reason for renting it. One NixOS machine to conquer them all.
Haha, that laptop basically matches specs of my desktop :big_smile:
I'm currently considering some medium config of XPS 13 or equivalent ThinkPad for programming "on-the-go"
yup, but it still is way slower (when compiling haskell) compared to the dedicated server which is on AMD Ryzen 7 3700 PRO
if next year, something faster for same/cheaper price comes along - i can 'jump ship' without thinking much.
I'm still on a T450 :sweat_smile:
But the desktop I'm streaming from is a might bit more powerful.
Do you re-create your server each time you want to develop, or do you leave it up? I snapshot and destroy my development vps each time I leave it, and then restore the snapshot when I come back. This is because snapshot storage is cheaper than leaving the server up. All that back-and-forth is a bit tedious however, so I wrote a small utility to help with that https://github.com/danidiaz/thrifty-sailor
I was doing something somewhat similar. I bought a pretty beefy (at the time) desktop PC (for ~300$, refurbished lol), got a free domain, setup dynamic dns for it, and set it up as an ssh server. Then I bought a refurbished chrome book.
I liked this setup because Chromebooks have great battery life. I was spending a lot of time out of the house each day, so I was able to get both powerful specs, and good battery life, and at a pretty nice price too
I do the same, but from home. Ryzen 3600 workstation and laptop with touchscreen, working over ssh, very comfy
I have a pixel slate. It is too small though. I future I would ideally get a nice Chromebook that has thunderbolt. Hope google releases a Pixelbook 2.
This is what I'm trying to have in the next couple of months. @Sridhar Ratnakumar do you ever consider cloud service (compute optimized) so you can switch on and off ?
Transient Cloud VMs could work if their performance / price point is comparable to dedicated servers, but I doubt it?