HNHacker News
TopNewBestAskShowJobs

joshfng

104 karma · joined January 21, 2011

submissionscomments
joshfng··on GitLab Pages Security Issue Notification
How so?
joshfng··on GitLab Pages Security Issue Notification
IMO, this is user error. GitLab adding validation on their side at app level is a nice to have feature for sure. Ultimately though, keep your DNS records up to date! If you stop using a service, stop pointing your records to it, simple. If you point any record to a service that matches based on CNAME, A or some other arbitrary value expect squatting/"hijacking" to occur if you delete your reservation of that name.
joshfng··on Ask HN: Is Ruby on Rails still worth it?
Absolutely. If you're building a POC or MVP it's a quick and easy way to get something off the ground. The framework will take you pretty far before you have scaling issues (long enough to know if what you're making is worth it). The community is very knowledgeable and friendly, and gems for almost everything already exist.

If I needed to spin up a new project and get to work right away on something I'd go with rails no question. I've yet to find another language/framework combo that works as well as a Ruby & Rails stack (Laravel and Django are good alternatives too, I'm just more experienced with Ruby). Don't think too far ahead. Premature optimization or thinking about future scaling issues if starting a new project is time that could be spent better. Rails isn't going anywhere anytime soon.

joshfng··on GitLab's Acquired Product GitHost No Longer Accepting New Signups
GitLab acquired GitHost from me a couple years ago [1]. They were able to do more with it than I ever could of. It's a very niche product that probably wasn't worth the engineering effort to keep it feature complete, especially at GitLab's pace of adding new features. GitHost was created before CI/CD was integrated into GitLab core. It was a much simpler product to automate deployments for back then.

[1] https://about.gitlab.com/2015/04/26/gitlab-acquires-githost/

joshfng··on Show HN: Pale Blue Dot – ISS Earth live stream paired with relaxing music
Thanks! I'll work on adding that :)
joshfng··on Show HN: Pale Blue Dot – ISS Earth live stream paired with relaxing music
Pale Blue Dot is based on Hyperlax (hyperlax.tv). Huge thanks to Taylor Crane (https://twitter.com/taykcrane) for letting me modify it for this purpose!
joshfng··on Review my startup: PhantomCI
Any feedback would be great. Particularly interested in hearing what others think of the pricing model.
joshfng··on GitLab acquires Gitorious
If you're looking for hosted GitLab that is private to you or your team/company check out https://githost.io
joshfng··on GitHost: SSL support for custom domains
Yeah it's been highly requested. We just added ssl for custom domains on CI master instances too!
joshfng··on Introducing zero-configuration GitLab CI
Https support will be added to CI instances within the next few days.
joshfng··on Introducing zero-configuration GitLab CI
Also, forgot to mention you can try GitHost for free. There is no upfront billing.
joshfng··on Introducing zero-configuration GitLab CI
VT-x is not enabled in the bios of our cloud images. Is there a specific need to run the build inside of a nested vm, as opposed to running directly in the runner itself? Feel free to email me jfrye [at] githost.io to discuss further.
joshfng··on Introducing zero-configuration GitLab CI
All of our CI instances (coordinators and runners) are based on Ubuntu 12.04 x64 images. You are free to install any sort of software needed to run your builds on the runners.
joshfng··on Introducing zero-configuration GitLab CI
GitLab CI integrates directly with GitLab CE installs, requiring no configuration from the end user. Compared to Jenkins, it will automatically link up with your repo and start builds on commits and pull requests. These are things you have to manually configure with something like Jenkins. As for Travis CI, the integration is just as seamless. GitLab CI talks to GitLab installs via the CE api and automatically pulls in your projects, sets the build status on your repos and assigns runners to perform your builds. The GitLab team has really done an amazing job building a CI offering that integrates really well with their CE repo app.
joshfng··on GitLab – Open Source Git Management Software
If you like GitLab, checkout GitHost (https://githost.io) We provide hosted private GitLab instances. We handle upgrades, security fixes, and backups automatically.
joshfng··on Phpfog "Down for maintenance"
PHP is just as secure as any other language. It's the programmer's best practices (or lack of) and implementation that can make the code secure or insecure. The language is mature, actively maintained, and has a nice standard lib (debatable). Whether or not YOUR program will be secure depends on you the PROGRAMMER not the language.
joshfng··on I think tumblr has a huge security hole
It's been taken care of http://staff.tumblr.com/post/3959106211/update-regarding-sec...
joshfng··on Get Ruby and Rails running on Ubuntu with one command
Just so you guys know this script has changed a lot since I opened it up. It now has way better output formatting, the option to install Ruby from source or RVM, better stdout and stderr redirection to the install.log and even captures signals for things like ctrl-c to kill the script nicely. Thanks for all the input and I hope it's found to be useful :)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
I have updated the script to ask you if you want to build Ruby from source or install RVM (Wayne from RVM pointed me in the right direction)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
It offers the choice now of build from source or RVM
joshfng··on Get Ruby and Rails running on Ubuntu with one command
I have updated the script to ask you if you want to build Ruby from source or install RVM (Wayne from RVM pointed me in the right direction)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
I totally agree that you should become fully comfortable with setting up a box manually. But when you perform the same setup over and over and have the process memorized as I do then writing a little shell script to get the job done never hurts.
joshfng··on Get Ruby and Rails running on Ubuntu with one command
The README advises to run on a fresh install. Install Ubuntu, run railsready, have fun :)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
haha updated to read "A setup script to get Ruby and Rails running on Ubuntu server in one line". The first draft of the script was one command originally.
joshfng··on Get Ruby and Rails running on Ubuntu with one command
extglob is in there for future improvements. I plan to make it robust enough to accept parameters in the future.

When building Ruby the output complained about some missing deps. libffi-dev and libyaml-dev made Ruby stop complaining about them :)

Bundler is installed on the system because you don't have to install Rails on the system. You could simply put Ruby on there, install bundler then when you upload your app and run "bundle" it will pull down Rails and any gems your app depends on. Having Bundler available on the system is needed if you don't install the Rails gem system wide.

Use the script however you see fit and feel free to take from it what you like :)

joshfng··on Get Ruby and Rails running on Ubuntu with one command
Just a FYI I changed the script to install Ruby to /usr/local thanks to some input from a Github user. Also people are forking it and setting it up to install RVM so feel free to check those out as well!
joshfng··on Get Ruby and Rails running on Ubuntu with one command
It's no different that installing RVM bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) or NPM curl http://npmjs.org/install.sh | sh. If you run something without knowing what it does first and brick your system there's no one to blame but yourself :)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
Feel free to read the script before executing it :)
joshfng··on Get Ruby and Rails running on Ubuntu with one command
This isn't meant for huge deployments or rollouts. I use it to setup testing servers that mimic production boxes. And yea it should ready "setup rails with one line"
joshfng··on Get Ruby and Rails running on Ubuntu with one command
This also installs git, I updated the readme. It's a very simple script so if you guys see any ways to improve it let me know.