HNHacker News
TopNewBestAskShowJobs

roneesh

391 karma · joined October 10, 2011

submissionscomments
roneesh··on Ask HN: What income sources can a developer create outside of work/freelancing?
Thanks for the info, this is something I've always wanted to learn a bit more about, would appreciate any resources you could point me to.
roneesh··on Brunch: Replace gulp, grunt and increase your dev speed
There are few best practices, and the ones we have aren't explicitly stated in one universally agreed upon place.

My advice to you is this:

1. Focus on learning Javascript firs and foremost. Kyle Simpson's "You Don't Know JS" series is amazing: https://github.com/getify/You-Dont-Know-JS

2. Best practices are hard to come by, they essentially are: Crockford's Javascript The Good Parts, The Mozilla JS docs, and some styleguides on Github. Also lint your code through JSLint or JSHint.

3. Don't worry about build tools like Brunch, Gulp, Grunt etc. unless your job forces you to use one. If you're building small sites and apps, you won't need one.

4. When it's time to use a Framework, pick one and stick to it until you know it quite well. Frameworks are very different from one another. Backbone, Angular and Meteor.js are all quite different, but in the end they all do one thing, serve a web app.

roneesh··on Autopsy: Lessons from Failed Startups
I think it would be valuable to do so.

Product-market fit has more nuance than the words suggest. Maybe the product wasn't right for the market they tried (Caviar for rural Kentucky I'd imagine), or the market as a whole never wanted the product (drive thru dog grooming), and then there's the matter of timing, maybe it was right, just not at that moment. It would be interesting to explore those deeper assessments of lack of product-market fit (as assessed by the founders and outsiders) and see which one is most common. I'm sure we'd find some fun surprises.

roneesh··on Emmet – a plugin for text editors which improves HTML and CSS workflow
This is a great plugin, enjoying expanding CSS to markup.

I've perused the site, but didn't see anything on expanding to a pre-processor. Does anyone know if that's possible?

roneesh··on The Hacker Shelf: Collection of free books for the intellectually curious
I want to echo something suggested here already, but it's important: make libraries a part of your life.
roneesh··on Ask HN: A coding test or working for free?
It sounds like a miscommunication between you two, nothing more than that.

I would view this as a blessing though. For me, interviews are a chance to evaluate how well we can communicate. If I can't be relaxed, make jokes and just feel free to talk, then I won't feel that way working for you during the next year, and that to me, is a no go.

I'd say indirectly you dodged a bullet, sounds like you two might be a high risk for constant miscommunication.

roneesh··on Ask HN: Getting stressed out moonlighting
I have a feeling you're overwhelmed because you didn't do the proper work up front to ensure scope creep wouldn't happen, and that you'd always feel compensated for your work. A lot of freelancers publish guides for this type of work, and I think you should read one. Also make sure the contract/tax stuff is handled properly too! So you're not stressing next April.

Try reading this guys book, seems legit, maybe he offers strategies for handling scope creep and such: http://texmexconsulting.com/

Then drink a beer, do some Yoga, and relax before the evenings work!

roneesh··on The Nature of Lisp (2006)
I've read and heard the commonly echoed sentiments about Macros being used to build a language for your application. I'm a bit confused in how this is philosophically different than just writing domain specific classes and functions? Can someone point to an example where the syntax allowed by Ruby or JS produced obfuscated code and a LISP macro produced something really simple comparatively?
roneesh··on The bunny theory of code
This is a good article, I'm sure I'll find myself saying "no bad bunny code" soon.

I've encountered this phenomenon and there are a few situations where it can feel natural or correct to copy and paste code. While I can't say these are great reasons, they do merit being considered.

0. QA concerns. You can't just modify/change logic without triggering a need for QA to re-check. This is in fact, one of the biggest stumbling blocks for code quality in a company. You just can't refactor as needed, it has to be planned for and paid for. There are times when you're basically stuck using bad/logic and just extending it.

1. You're a guest in the code. You're just working on this feature for one iteration, and the other guy who will likely be on the project for the rest of the year wrote the bunny code. I wouldn't change how he does things, I'd instead talk him and let him know there's a better way. I wouldn't implement a second type of fix.

2. It's unclear what direction the primary authors want the codebase to grow in. For instance do you use library level functions to accomplish tasks the language syntax can? (for loops vs an iterator function). Some prefer one over the other. I would just follow the style I see

3. Styleguide logic. E.g. the code should look as much as possible like it's written by one person. While I know this rule applies to indentation and visual appearance. I think it's fair-ish to apply to it to logic as well.

These are a few things to think of, but I agree with the author of the post, be careful, this code will multiply.

roneesh··on JavaScript at 20
I'm really excited for all these new changes in JS. ES6 and onward is beginning to feel like a whole new language.
roneesh··on PlainJS – The Vanilla JavaScript Repository
Clearly, you feel really passionately about this topic, which makes your choice of words all the more unfortunate. If you had made your points kindly, rather than saying "Now you understand how stupid you sound.", I would have loved to engage with you, however now I think I'll take a pass.

Comments like yours not only degrade the HN community, but the coding community in general. I'm not going to engage or dissect your comments any further, rather I'm just going to ask that for the sake of this community and our profession, you hold yourself to a higher standard next time you comment.

roneesh··on Ruby: The Last Eight Years
Chris Pine's Learn to Program! It's a great book that both introduces coding concepts and Ruby really well.
roneesh··on PlainJS – The Vanilla JavaScript Repository
This is a really well done site, and it's a perfect resource for someone learning JavaScript.

Most new devs get it wrong when choosing what to learn. They forgo learning plain JS in favor of jQuery, then they forgo jQuery to learn a front-end framework. It should be the other way around. Do absolutely all you can with plain JS first, then use jQuery as needed (and make sure your copy of jQuery only has what you need), and then only for complex interactions, use a front-end framework, but most interactions on a website aren't complex enough to merit one.

For any site that is mostly content with some interaction, well written pure JS should be the solution you try first.

roneesh··on Ruby: The Last Eight Years
Depends on how you're a newbie!

New to coding - Chris Pine's Learn to Program is THE book. I like it more than Why's guide, or any website.

New to OO - Try Sandi Metz's Practical Object Oriented Design in Ruby, this book should be your second ruby book, as it teaches you how to write good Ruby.

New to Rails - Try the Hartl tutorial or Agile Web Development with Rails

New to Command Line Apps - Build Awesome Command Line Applications in Ruby, it's an O'Reilly book I liked.

Advanced Ruby - Confident Ruby by Avdi Grimm, along with his Ruby Tapas screncasts.

roneesh··on Guide for Technical Development
I write JavaScript for a living, and I often forget if it's one word or two. It doesn't mean you don't know JS. And yes, we all know HTML isn't a programming language, but it's so essential to releasing software nowadays that it's almost a pointless distinction to separate it. One extra list item to point out that it's a markup language? That groaning sound you hear? It's every intro to programming deck having to laboriously expand by one slide for no good reason.
roneesh··on The Single Founder Handbook
On one hand, I really like that developers and other smart people can put out work like this to supplant their income. Also it's a way for us to get boots on the ground knowledge, without the filter of a publisher.

On the other hand, I agree with most of the sentiment here, these are starting to feel like ads and pitches, and I have a feeling the single founder that will benefit the most here is the author.

roneesh··on Take me as an Intern – 19yo student seeking internship
His entire page is a composite of other people's open source work, the achievement isn't in writing anything new, it's just in how well it's been put together.
roneesh··on Lake Michigan Is So Clear Right Now Its Shipwrecks Are Visible from the Air
The Little Traverse Bay is a true treasure, and yes, when I was on it two summers ago, it was crystal clear every day.
roneesh··on SpaceX Stats
Another example of great design married to great content almost totally marred by scroll hijacking.
roneesh··on On Haskell, Ruby, and Cards Against Humanity
I'm not going to doubt that the author has reasons for saying what he's saying, but examples would have been nice.

For instance most API design is based off the standard Rails scaffold command, and an explanation about what's wrong about that would have been nice, and elevated this article from kind of a screed, into something informative and worthy of study.

roneesh··on Existential crisis at Railsconf
> It's shocking how many Ruby developers are architecturally ignorant about anything not applied by Rails, and it's biting many companies in the ass.

On the contrary, I started in web development by learning Rails, and it's simple, streamlined way of responding to an HTTP request has allowed me to pick up other architectures quite quickly. By being so simple, it gives me an easy point of comparison, and then I can appreciate other architectures differences.

roneesh··on A Tale Of Two Latino Areas In Miami And San Francisco
There's a chain restaurant called The Melting Pot, so I'd say that's our melting pot.
roneesh··on Code Inflation [pdf]
A good and informative read. While I'm new to programming, I have began to judge my productivity in terms of lines of code I remove, not add to a project.
roneesh··on Free Ebook: How to Code in HTML5 and CSS3
Certainly true, and when I teach I try and make sure the distinction is respected. However as time goes in, it's worthwhile to highlight the ways markup is slowly becoming like coding. Semantic markup acts a lot like an instruction for the crawlers reading pages. CSS and its robust pre-processor eco-system now allow variables, mixins and includes which make it a great introduction to programming concepts for those totally new.
roneesh··on Ask HN: How do you deal with professional jealousy and getting older?
One technical aspect you didn't consider:

The work you wish you'd done sooner (1 to 6 years ago), would have been done with that year's tech. Starting an app 6 years ago, whatever idea, would have been harder to do. Early versions of mature frameworks we enjoy now weren't as easy to deal with. In the last few years things have gotten much faster.

It's easy to see how easy work is to do today and look back and say, "If only I had those lost years!" but that's not the case, that work would have been different by it's nature, due to the tech.

If only you'd started your app 15 years ago! You could have gone through the fresh hell of flash, php, hand writing deployment and basically being a sysadmin!

roneesh··on Show HN: Crudlet.js – A common, streamable interface for synchronizing data
Echoing other comments, this does look pretty cool.

Would appreciate a comment from OP on what the use case is with this library? Maybe an example app or ideal use case?

roneesh··on Amazon Home Services
Right now I work in the largest company in this field, Sears Home Services. And we're moving to Seattle... so this should be interesting!

I think anyone's first thought when Amazon gets into a business is that it's dominance is inevitable. Not so sure in this case, I've made tons of marketing pages just like this, hardly a guarantee of success. They'll have to do the hard work of convincing people they can provide quality service. You can't just return a home renovation if it goes wrong.

roneesh··on Four Solutions to the JavaScript Problem
Recently as an exercise I worked through the examples in Sandi Metz's "Practical Object-Oriented Design in Ruby" using Javascript. To approximate her examples I did have to do a few pretty unintuitive things (for example use .call to invoke parent constructors, whereas in Ruby the native syntax allows it). But it wasn't anything that mind-bending to wrap your head around, and it was learned in just a few minutes (learn is a strong word, remember, realize or connect the dots might be more applicable).

That I suppose is the core of the "I hate JS" arguments, to get it to do what you want, it has a slightly unintuitive non-syntactical way of solving it's problems. That of course, is only the case if you intend to replicate the programming styles the syntax of other languages gives you. I don't think you should. And now with ES6, we have those other styles in our syntax, so it's even less of a problem. Hate on JS all you want, but it's probably not so amenable to you because you're using a metal file when you really need a belt sander, close but not quite right.

roneesh··on Study: Teen Cannabis Users Have Poor Long-Term Memory in Adulthood
You know son, when I was younger, I kept to the straight and narrow, and it made me who I am today. looks back on life with regret
roneesh··on Study: Teen Cannabis Users Have Poor Long-Term Memory in Adulthood
This from the medical journal "Duh".
← PreviousPage 3 of 4Next →