News for hackers. Stuff that matters.

rickr

Michael Hartl's Rails tutorial (https://www.railstutorial.org/) is a great example of this.

It'll run you through building a twitter clone and introduce you to git, heroku, a bit of CSS/HTML, and even goes into AJAX a bit.

I can't recommend it enough to people looking to get into rails.

I've been working on creating a platform for a non profit to get veterans coding (http://operationcode.org/). We're a slack based community and have been rolling out some home grown slack bots and we currently have a rails app hosted on heroku. Managing and keeping track of the different apps was getting unwieldy so in an effort to consolidate our apps and reduce costs I evaluated a few different options. I ended up going with rancher and after working with it a bit I'm pretty happy.

I have github hooked up to travis. When a new PR (or commit) is pushed travis shoves the app into its container, and runs the test suite inside the container.

If that passes AND the branch is master we push the image to docker hub. As of now we manually update the app inside of rancher but I think automating that will be a simple API call. Once we get more stable I'll be investigating that.

I still haven't quite figured out secret management but outside of that and a tiny learning curve it's been pretty smooth sailing.

An example travis config: https://github.com/OperationCode/operationcode_bot/blob/mast...

Re:Ask HN: Who needs contributors? (October 2016) on Monday October 03, 2016 @11:01AM (#12627848)
Operation Code (http://operationcode.org)

Operation Code is an open source project that helps military, guard & reserve troops, veterans and their families get coding and building software to change the world.

We're overhauling the signup flow to make it easier for software mentors, new signups and contributors to get started.

HTML/CSS, JavaScript, Ruby on Rails

https://github.com/operationcode/operationcode

https://github.com/OperationCode/operationcode/blob/master/C....

MIT

Re:Ask HN: Who needs contributors? on Thursday September 01, 2016 @11:02AM (#12405744)
Operation Code (http://operationcode.org)

Operation Code is an open source project that helps military, guard & reserve troops, veterans and their families get coding and building software to change the world.

We're overhauling the signup flow to make it easier for software mentors, new signups and contributors to get started.

HTML/CSS, JavaScript, Ruby on Rails

https://github.com/operationcode/operationcode

https://github.com/OperationCode/operationcode/blob/master/C...

MIT

Re:Cloud9 Acquired by Amazon on Thursday July 14, 2016 @10:58AM (#12094370)
Using Firefox/Chrome on a linux box doesn't really compare to getting a dev environment setup.

For a rails app it's not a stretch to have to install postgres, rvm, ruby, some compiled gems, and redis. Then you need to make sure postgres and your rails server are running.

These aren't insurmountable and we can write documentation around it but compare that to 'Log into c9.io, copy this workspace and work on a ticket'.

I work with people that want to learn how to program and I hear feedback that getting an environment setup is overwhelming somewhat regularly. These online IDEs look like they can really combat that.

Re:People suck at technical interviews (2014) on Friday June 10, 2016 @10:58AM (#11876802)
As long as they didn't state you can't use external libs it IS a good solution.

Their response lets their team dynamic and environment shine through. They came across an unexpected but valid solution and instead of accepting their question was beaten within the rules they rejected it. I'd wager they didn't fix the wording of the question afterwords either.

Re:The Slack Platform Roadmap on Friday April 08, 2016 @01:02PM (#11456136)
FYI your page is empty of any content with ghostery enabled.
Re:Smoking Meat with the Internet of Things on Thursday October 29, 2015 @08:09PM (#10475401)
My team at a recent Startup Weekend did this.

RasPI with a PID loop turning a fan on (increase heat)/off (decrease heat). The RasPI fed this into a backend server via websocket. We through a front end on to graph the temp, humidity etc. We could even set the temp and turn the fans on/off via the site.

Re:Phoenix 1.0 on Friday August 28, 2015 @01:46PM (#10136862)
I haven't done much with Phoenix but I think there are a few libraries out there. I think addict is the front runner:

https://github.com/trenpixster/addict

https://github.com/opendrops/passport

Also here's a nice blog post that was in the elixir newsletter that may help!

http://nithinbekal.com/posts/phoenix-authentication/

Re:Ask HN: Time to update my skills. What should I do? on Tuesday August 11, 2015 @02:35PM (#10043369)
Learning a functional language (and way of thinking) was pretty enlightening to me.

I've also been looking into learning a bit about machine learning and data science via https://www.kaggle.com/. They run contests with some very interesting problems.

I don't know if these are the next 'big things' but i certainly don't regret learning them.

Re:Show HN: Publicize – PR for Startups on Monday August 03, 2015 @12:28PM (#9997374)
You've got a weird issue with your text/register button:

http://imgur.com/zbhpFY3

(FF 39 on a MBP)

LeMons racer? That's the first application I thought of but when are you ever alone on track?

You could throw one or two of these in common passing places and combine that feed with in car video. You could get some really neat video.

Re:Ruby Is Defined by Terrible Tools on Wednesday July 08, 2015 @03:13PM (#9853972)
I've just started messing with elixir. It's a functional language that runs on the Erlang VM but it's syntax is ruby-ish.

I'm a newbie but I've been impressed by the tooling so far. And once you change how you think about everything the learning curve isn't too bad. =)

It has a rails-y framework that I haven't heard much about (and nothing particularly bad):

https://github.com/phoenixframework/phoenix

Is there a compatible browser list?

Found it on github:

    IE10+  
    Latest Stable: Firefox, Chrome, Safari  
    iOS 6+
If you've got a basic prototype and something you can show people you should be out talking to potential customers seeing if they'll buy it. In talking to a bunch of potential customers you'll find out a ton of actionable info. What your competition doesn't do, why they're not interested in your competition, other closely related services they would pay for.
Not exactly what you're wanting but there was a poll a little while ago asking what people prefer:

https://news.ycombinator.com/item?id=8815512

Re:Choosing good names on Sunday June 28, 2015 @12:00PM (#9793962)
Why do you think it's too much? I think it could probably be named a bit better but what's the downside to having a ~25 char method name?
Interesting idea!

Some UI feedback - the 'I agree/disagree' buttons on your mission component are kind of weird. I clicked on both just to see what would happen.

I think the CTA to sign up as an expert was a bit hard to find - perhaps due to the colors?

I'm also not sure why I would want to become an 'expert'. What's in it for me?

Re:Ask HN: To Bootstrap or Not to Bootstrap? on Monday June 22, 2015 @04:55PM (#9761132)
I've been using bootstrap for a while now too and lately I've been trying out new libraries just to see if anything is better yet. On feel alone I didn't love foundation.

For a project that required pretty heavy customization I ended up using skeleton/react (http://getskeleton.com/) and enjoyed it.

I saw Semantic UI on here the other day and I may end up trying that out on my next project: http://semantic-ui.com

Re:Asciinema on Sunday June 21, 2015 @06:43PM (#9755293)
I added an RPM package to a project that used a Makefile to spin up a docker container which then built various packages via FPM:

https://github.com/jordansissel/fpm

I didn't use the build system heavily and it may be more overhead than you'd like but I thought it was a pretty neat way of doing things. Repo is here:

https://github.com/tutumcloud/tutum-agent

Re:Ask HN: I have ssh, they have ssh, how can we chat? on Sunday June 14, 2015 @08:47PM (#9716899)
talk has been around for like...30 years now:

https://en.wikipedia.org/wiki/Talk_(software)

If you don't mind me asking - how do you manage that? Do you use inline CSS a la https://speakerdeck.com/vjeux/react-css-in-js?

Older »