HNHacker News
TopNewBestAskShowJobs

drbojingle

287 karma · joined September 14, 2016

submissionscomments
drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
Thanks for sharing! How did you find it compared to a monolith?
drbojingle··on Ask HN: Full stack devs, what helped you noticeably reduce development time?
Most people are adding specifics, I want to start in the abstract and move to concrete, mainly to address principles that influence my concrete choices. Bare with me for a paragraph or two.

Ideally, I think we can agree (if we don't please inform) that if we could snap our fingers and have an app that the client wanted that would be preferable to making one for, say, six months. If I had to snap twice I'd do that too. If I had to snap ten times that also wouldn't be so bad. For a week worth of snaps it would be boring but hey, six months work in a week? Why not. If we agree, then we're following the path of least resistance to our goal. We want the greatest reward for the least work. Value to cost ratio as close to infinity as we can get it.

What that means for software development is that when I hit one key, I want an app to appear. If not an app than a service. If not a service than a module. If not a module than a file. If not a file than a snippet. If not a snippet than a command. The most code, the least amount of typing (ie, work). As little guessing, wondering, searching, typing and thinking as possible. As little work as possible. Everything straightforward, familiar, routine, and simple.

For me, this becomes a process of planning, study, action, reflection, measurement. Write your expectations and designs (very high level), google around and see what you can find. Implement. Periodically reflect on your implementation and measure yourself and your work to find inefficiencies, process, and habits that can be improved. I like to use a Pomodoro to keep track of my time and how long it takes to do certain things. If something is taking time I keep a record of it and use my record as a baseline, then I experiment and see if changes I've made to my work produce better results.

Here are a few concrete things to consider:

- Take advantage of sharing (google, check product hunt, look at Awesome lists, aws, etc). Don't re-invent the wheel.

- When green-fielding, Code for as long as you can before you start testing. This is especially true if you're running your code on an emulator (like a mobile app) and it loads slowly. If you make heavy use of mutations and side effects this might be difficult, so try to make your functions stateless and self-contained. It limits the scope of your error to a smaller service area.

- If you're building an app from scratch for a client, consider learning a design took first and getting that stuff out of the way early on without having to code. Framer, invision, adobe xd, and sketch come to mind.

- Compilers are your friend. If you use a language that has a good compiler, you can catch many errors as soon as you save the file.

- If you're doing visual work, live reloading is your friend, especially for styling. If you're using component-based libraries for the web (React is great), you can get a lot done quickly with Storybook, which allows you to isolate individual components and work on them without having to interact with the whole application.

- When you create a project, rely on templates like create-react-app.

- When creating files and functions, also rely on templates and snippets.

- When editing code, personally nothing beats Vim keybindings. Great for combating repetitive strain too. I find I code slower but get the same amount of work done. It's great on the arms.

- Use an ide for autocompletion, snippets, debugging and the like (if you prefer text editors, you can usually get language servers, snippets, and debugging ui as plugins. Even for Vim or Emacs).

- use a debugger

- USE A DEBUGGER

- For backends, services and frameworks go a long way (PHP/Laravel, Python/Django, Ruby/Rails).

- Mouseless navigation with vimium is beautiful.

- if you're a Linux connoisseur, and you're really digging the mouseless thing, I recommend i3. Great, simple, tiled window manager.

drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
Thanks for sharing! I like your approach. I've often seen the 'do everything as a microservice' idea get tossed around. I get the feeling that your approach is pragmatic.
drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
I agree that it's not team size alone. Team size is just the variable I'm most interested in.

Thanks for sharing your perspective!

You reference AWS services and Jenkins jobs making things smoother. Is there anything, in particular, you would say should be considered a pre-requisite before adopting microservices, based on what you've learned?

drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
I liked it! This article is very much along my line of thinking on the subject.

Thanks for sharing!

drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
Out of curiosity, from your perspective, is there anything that the bad teams share that the well run teams don't and vice versa?
drbojingle··on Ask HN: How many developers should you have before you switch to micro services?
Thanks, I appreciate your feedback!

> There's no clear cut off for anything in managing a software team. It's not a science, and individual situations vary too much to create hard and fast rules.

Intuitively, I disagree. There's a lot of nuance for sure but, but there are still patterns that can be noticed.

drbojingle··on Ask HN: Why does front-end development change so often?
Immaturity. think about a time when you changed the most. When was it? Web apps use to be sites with a bit of javascript and they've been growing up these past 18 years. That's it. It's growing pains.
drbojingle··on Ask HN: How do you keep track of your creative thoughts?
I've heard the Leonardo Divinci would use sheets of blank paper so that he could later re-arrange concepts easily and draw.

I know you'll also need habits to make it work, otherwise, you'll write, and never review. I'm having this trouble myself. I use vim wiki to organize but I never do come back to much of it.

Anyways I think the answer is, in the abstract, more of a process than a tool. Something that you can easily form a habit with and something that allows for creative expression (like writing or drawing, or programming or linking). I'm envisioning a digital book where the pages can be drawings or writing or snippets of runnable code. Easy to rearrange, probably you want to track historical changes, and make connections between things. I don't know of anything that does all of that but I think you could get pretty far with a reminder to review stuff and just sheets of paper.

drbojingle··on They Rejected Us
This is an example of and response to the poor state of hiring that takes place in development.

Rarely do I know why I'm rejected, even if I ask but it feels like it could be anything, like a keyword. Applying for jobs is basically Bumble but, less fun. Instead of pics of you on a horse, you have a CV.

I bet if you combined up-front testing (like hackajob) or a boot camp course with short-term contractual work from various companies, you could create a decent hiring funnel too.

drbojingle··on Building a company is fucking hard
Dude should read Candid.
drbojingle··on Not Lisp again (2009)
From my short study, I would guess the uniformity and simplicity of it the syntax and the ability to extend it (thanks in part to the uniformity and simplicity of its syntax).
drbojingle··on Not Lisp again (2009)
It's not backwards. The text is linear, but the code isn't. It's outer most nested function to the innermost nested function.

Makes most sense if you think of HTML

<html> <body> <div> </div> </body> </html>

would compose as

compose( html, body, div )

drbojingle··on Is Vertical Farming Really the Future of Agriculture?
yea. On mars.
drbojingle··on From Java to Go, and Back Again (2016)
Reflection? Lisp dude
drbojingle··on Web Assembly and Go: A look to the future
I think the advantage of wasm (at least eventually) will be for people who know c++ or rust or go and want to make web apps without having to learn a whole new ecosystem.
drbojingle··on Unifying Theories of Psychedelic Drug Effects
I'd like to see this done with good lsd instead of marijuana.
drbojingle··on Microsoft built its own custom Linux kernel for its new IoT service
To bad your statement isn't one of those things.
drbojingle··on Intermediate Vim tips
My vim is pretty customized but I can't say I have any trouble personally with vims that aren't mine.
drbojingle··on Why building a startup is probably your most sensible career path
I don't disagree with you completely, but as a guy working for a start-up I would say that no matter if we find success or failure I'm going to personally walk away with good memories and a hell of an experience. There's more to it than success.
← PreviousPage 9 of 9