[{"data":1,"prerenderedAt":374},["ShallowReactive",2],{"project-35427343":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":44,"post_text":45,"what":46,"said":99,"maker_in_thread":201,"shape":212,"grid":215,"attempts":336,"same_week":337,"maker_shows":39,"maker_hidden":366,"reader_version":367,"card":368},"35427343","Hocus","self-hosted alternative to GitHub Codespaces using Firecracker","title","Show HN: Hocus – self-hosted alternative to GitHub Codespaces using Firecracker","https:\u002F\u002Fgithub.com\u002Fhocus-dev\u002Fhocus","github.com","hugodutka",1680541242,2023,291,53,156,3109,6,"legend","dev_tools","cloud dev environments","web_app",[24,25,26,27],"self-hosted dev environments","github codespaces alternative","firecracker","devcontainer","mixed",0.024,{"positive":31,"neutral":32,"mixed":33,"critical":34},5,12,1,7,25,{"pricing":37,"design":40,"idea":41,"performance":43},{"positive":38,"critical":39},0,2,{"positive":38,"critical":38},{"positive":39,"critical":42},3,{"positive":38,"critical":38},[42,38,33,33,33,38,38,38,38,38,38,38,42,33,38,42,31,42,31,42,38,33,33,33,42,38,38,42,38,42,42,38,42,38,38,42,42,31,31,31],null,{"problem":47,"audience":57,"pricing":69,"motivation":78,"time_to_build":45,"stack":85,"openness":96,"stage":97,"team_size":98},{"value":48,"source":49,"evidence":50},"Setting up and running consistent cloud development environments, including running Docker and Kubernetes inside them, without relying on a vendor's hosted service","maker",[51,54],{"id":52,"by":11,"text":53},"35428499","We use Firecracker to provider greater isolation and more capabilities in dev envs. For example, one thing you often want in your dev env is to run Docker containers, but to do…",{"id":55,"by":11,"text":56},"35428047","Coder lets you describe a set of Terraform templates for your development environments. Your team members then manually spin up new VMs on e.g. AWS from these templates. With…",{"value":58,"source":59,"evidence":60},"Development teams who want to self-host dev environments","inferred",[61,65],{"id":62,"by":63,"text":64},"35430427","cpa","I believe this kind of service is the way forward when it comes to developer tooling. But paying $39\u002Fmo\u002Fuser for having the right to deal with the deployment myself for a tool…",{"id":66,"by":67,"text":68},"35438887","inhumantsar","For a self-hosted solution that pricing is a complete non-starter. I have a team of 30 devs, so it would be $1,200\u002Fmo. That's on par with GitHub's enterprise plan plus Codespaces…",{"value":70,"source":49,"evidence":71},"Free for up to 3 users; seat-based licenses for larger teams",[72,75],{"id":73,"by":11,"text":74},"35430795","Thanks! The pricing is there mostly to set expectations for the future. The current release works (for the most part) for individual users and it would not support a team well.…",{"id":76,"by":11,"text":77},"35428662","A hosted offering is not on our radar right now. Currently we want to monetize by selling seat-based licenses for larger teams.",{"value":79,"source":49,"evidence":80},"Provide greater isolation and capabilities than Docker-based dev environments, and a self-hosted option",[81,82],{"id":52,"by":11,"text":53},{"id":83,"by":11,"text":84},"35429922","Thanks! 1. GitPod doesn't officially support self-hosting anymore - https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=33907897. When they did, it was extremely hard to set up. In fact we…",[86,90],{"value":87,"source":49,"evidence":88},"Firecracker",[89],{"id":52,"by":11,"text":53},{"value":91,"source":49,"evidence":92},"Docker (control plane and agent deployment)",[93],{"id":94,"by":11,"text":95},"35428606","That's right! Docker is used to simplify deployment, so other components, like the agent, are also containerized.","open_source","beta","unknown",{"praise":100,"objections":120,"requests":143,"questions":162,"alternatives":178},[101,113],{"value":102,"source":103,"evidence":104},"Useful idea for setting up dev environments and running integration tests","commenter",[105,109],{"id":106,"by":107,"text":108},"35427448","enedil","This is actually something I wish we had at my previous company. Setting up the environment was a pain, and very few people knew how to run all the tests (integration tests…",{"id":110,"by":111,"text":112},"35427671","notamy","This looks excellent! I have to try spinning it up in my homelab to see how well it works for my needs.",{"value":114,"source":103,"evidence":115},"Authors are strong engineers",[116],{"id":117,"by":118,"text":119},"35427546","cube2222","Ah, great to see this here! Disclaimer: Know the authors, who are extremely bright engineers. Based on my discussions with one of them, Hugo, re the architecture a couple weeks…",[121,126,133],{"value":122,"source":103,"evidence":123},"Per-seat pricing ($39\u002Fuser\u002Fmonth) is too high for self-hosted software",[124,125],{"id":62,"by":63,"text":64},{"id":66,"by":67,"text":68},{"value":127,"source":103,"evidence":128},"Uses a custom environment standard instead of devcontainer or Devfile",[129],{"id":130,"by":131,"text":132},"35430706","emptysongglass","I really wish you had used one of the existing standards in place like .devcontainer or a Devfile. Frustrating to see a solution emerge that uses its own declarative devenv…",{"value":134,"source":103,"evidence":135},"Auto-rebuilding on every commit makes builds non-repeatable",[136,140],{"id":137,"by":138,"text":139},"35429884","donmcronald","I didn't look at it thoroughly, but it looks really cool and I'll probably give it a proper try at some point. Judging by your comment only... > watches your repository for new…",{"id":141,"by":138,"text":142},"35431103","> It would only break if your old dev env can no longer be built, for example if it depended on some external resource which is no longer available on the internet. That's what I…",[144,151,158],{"value":145,"source":103,"evidence":146},"Support GPU machines",[147],{"id":148,"by":149,"text":150},"35429696","itay","Pretty nice, I have two questions: 1. Comparing to something like GitPod (which lets you run on your own instances as well), where do you think Hocus shines? 2. Given you're…",{"value":152,"source":103,"evidence":153},"Pre-baked development templates",[154],{"id":155,"by":156,"text":157},"35430048","0cf8612b2e1e","Very intrigued. With the real VM isolation, I wonder if I could use this as a way of dipping my toe into the Nix pool. Have you given any thought to offering pre-baked…",{"value":159,"source":103,"evidence":160},"Scheduled prebuilds instead of per-commit",[161],{"id":137,"by":138,"text":139},[163,171],{"value":164,"source":103,"evidence":165},"How it compares to Gitpod and Coder",[166,167],{"id":148,"by":149,"text":150},{"id":168,"by":169,"text":170},"35427686","yewenjie","How does this compare to https:\u002F\u002Fcoder.com?",{"value":172,"source":103,"evidence":173},"Relation between Firecracker and Docker",[174],{"id":175,"by":176,"text":177},"35428120","politelemon","I see Docker listed as a requirement, and I am familiar with Docker. The repo mentions using Firecracker, a microVM that I've only ever heard of. What is the relation, if any,…",[179,183,187,194],{"value":180,"source":103,"evidence":181},"Gitpod",[182],{"id":148,"by":149,"text":150},{"value":184,"source":103,"evidence":185},"Coder",[186],{"id":168,"by":169,"text":170},{"value":188,"source":103,"evidence":189},"GitHub Codespaces",[190],{"id":191,"by":192,"text":193},"35437909","jlkuester7","Ah that is poor wording on my part! By \"flavor of the month\", I was referring to the many VS Code variants (e.g. VSCodium, GitHub Codespaces, etc). For better or worse VS Code…",{"value":195,"source":103,"evidence":196},"devspace on Kubernetes",[197],{"id":198,"by":199,"text":200},"35433119","throwawaaarrgh","You can get close to this without licensing\u002Ffees by standing up a K8s cluster and running devspace",{"comments":202,"answered":203,"key":204},13,8,[205,206,209],{"id":73,"text":74},{"id":207,"text":208},"35439078","Hocus is more cost-efficient when you need larger instances. If you need 8 CPU cores ($0.72\u002Fhour on Codespaces) and a single dev uses their IDE for 4 hours a day on average,…",{"id":210,"text":211},"35438862","We made these custom deployment scripts to walk the user through the installation process and make it more organized. We could just use plain docker compose but then we would…",{"commenters":213,"max_depth":34,"maker_replies":202,"first_comment_mins":18,"lifespan_hours":214},30,32,[216,218,220,222,224,226,230,233,235,238,240,244,247,250,253,256,257,261,264,266,270,271,273,274,275,277,279,281,283,285,286,287,290,291,294,296,299,300,303,307,309,312,314,316,318,321,322,324,326,327,330,333,334],[62,38,42,217,63,38],"project\u002Fmixed\u002Fpricing",[73,38,38,219,11,33],"maker\u002Fneutral\u002Fpricing",[66,38,33,221,67,38],"project\u002Fcritical\u002Fpricing",[207,38,38,223,11,33],"project\u002Fneutral\u002Fpricing",[225,38,33,221,67,38],"35448021",[227,38,33,228,229,38],"35431582","project\u002Fcritical\u002Fnone","benatkin",[231,38,38,232,192,38],"35433808","other\u002Fneutral\u002Fnone",[234,38,38,232,229,38],"35433976",[236,38,38,232,237,38],"35434062","esafak",[239,38,38,232,229,38],"35434118",[241,38,38,242,243,38],"35435910","commenter\u002Fneutral\u002Fnone","Kwpolska",[245,38,38,232,246,38],"35434934","KronisLV",[248,38,38,242,249,38],"35435802","foepys",[251,38,38,232,252,38],"35437215","manojlds",[254,38,38,232,255,38],"35437497","KyeRussell",[191,38,38,242,192,38],[258,38,42,259,260,38],"35437829","project\u002Fneutral\u002Fnone","michaelmior",[262,38,33,228,263,38],"35436592","danwee",[265,38,38,242,260,38],"35437822",[267,33,42,268,269,38],"35433577","project\u002Fneutral\u002Fdesign","vanillax",[210,33,38,268,11,33],[117,39,31,272,118,38],"maker\u002Fpositive\u002Fnone",[148,42,42,259,149,38],[83,42,38,259,11,33],[276,42,31,272,149,38],"35433175",[168,278,42,259,169,38],4,[55,278,38,280,11,33],"project\u002Fneutral\u002Fidea",[137,278,33,282,138,38],"project\u002Fcritical\u002Fidea",[284,278,38,280,11,33],"35430537",[141,278,33,282,138,38],[130,278,33,282,131,38],[288,31,42,259,289,38],"35428418","guywithabowtie",[76,31,38,223,11,33],[292,31,38,232,293,38],"35431451","ezekg",[295,31,38,242,11,33],"35438936",[297,31,42,280,298,38],"35429337","capableweb",[198,18,42,259,199,38],[301,18,38,242,302,38],"35437644","gorbak25",[304,34,42,305,306,38],"35433728","project\u002Fneutral\u002Fperformance","gravypod",[308,34,38,305,11,33],"35438900",[310,203,42,280,311,38],"35430666","itissid",[313,203,38,259,11,33],"35430916",[175,315,42,259,176,38],9,[317,315,38,232,289,38],"35428363",[319,315,38,320,289,38],"35428384","other\u002Fneutral\u002Fperformance",[52,315,38,268,11,33],[323,315,42,259,176,38],"35430206",[325,315,42,268,118,38],"35428530",[94,315,38,268,11,33],[106,328,31,329,107,38],10,"project\u002Fpositive\u002Fidea",[110,331,31,332,111,38],11,"project\u002Fpositive\u002Fnone",[155,32,31,329,156,38],[335,32,38,280,11,33],"35430379",[],[338,343,348,352,357,361],{"id":339,"name":340,"points":341,"category":342},"35419771","Unknown Pleasures",661,"creative",{"id":344,"name":345,"points":346,"category":347},"35370284","StratusGFX",483,"games",{"id":349,"name":350,"points":351,"category":20},"35440552","e2b",369,{"id":353,"name":354,"points":355,"category":356},"35387160","CoScreen",350,"productivity",{"id":358,"name":359,"points":360,"category":20},"35371469","Gut",314,{"id":362,"name":363,"points":364,"category":365},"35447288","Cheetah",301,"ai",false,"v2",{"id":369,"name":5,"line":6,"ai":366,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":370,"top":18,"kw":371,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":372,"url":9,"mix":373,"praise":102,"objection":122,"sub":21},35427343,0.02,[24,25,26,27],"3011100000003103535301113003033030033555",[31,32,33,34],1794036633501]