HN user

brown-dragon

551 karma
Posts38
Comments59
View on HN
theproductiveprogrammer.github.io 6y ago

HTML – In – JavaScript

brown-dragon
3pts0
github.com 7y ago

Show HN: My Log Database Project

brown-dragon
2pts1
github.com 7y ago

Show HN: Weekend Project – My first blockchain wallet. Comments welcome

brown-dragon
8pts2
github.com 7y ago

Show HN: Weekend Project – A Stellar blockchain wallet on the command-line

brown-dragon
3pts7
theproductiveprogrammer.blog 9y ago

How to start using Big(O) to understand algorithms

brown-dragon
1pts0
theproductiveprogrammer.blog 9y ago

Should Programmers learn Typing?

brown-dragon
1pts0
www.theproductiveprogrammer.blog 9y ago

Meditation Lite: A Quick and Powerful Technique

brown-dragon
2pts0
www.facebook.com 9y ago

Mark Zuckerberg: Building Jarvis

brown-dragon
1pts0
www.theproductiveprogrammer.blog 9y ago

A Quick Guide to Org-Mode TODO's

brown-dragon
3pts0
www.theproductiveprogrammer.blog 9y ago

Agile TODO's

brown-dragon
2pts0
www.theproductiveprogrammer.blog 9y ago

What's the best music for programming?

brown-dragon
3pts0
gitlab.com 9y ago

What would you do if you had full authority of DevOps?

brown-dragon
2pts0
medium.com 9y ago

10 Modern Software Engineering Mistakes

brown-dragon
2pts0
9to5mac.com 9y ago

Apple removes gender pay gap

brown-dragon
2pts0
news.ycombinator.com 10y ago

Ask HN: What non-technical skill would help you most in your career in 2016?

brown-dragon
47pts72
news.ycombinator.com 10y ago

Ask HN: What do you want to learn in 2016?

brown-dragon
63pts125
retractionwatch.com 10y ago

Another set of scientific papers retracted due to review fraud

brown-dragon
2pts0
www.talater.com 10y ago

UpUp: Offline First Web Pages

brown-dragon
8pts0
github.com 10y ago

Play victory music on resolving Git conflicts

brown-dragon
1pts0
venturebeat.com 10y ago

Deep Linking

brown-dragon
1pts0
github.com 10y ago

Vieux – Interesting framework architecture

brown-dragon
4pts0
www.infoq.com 11y ago

Manifesto for Responsible Software Development

brown-dragon
1pts0
arstechnica.com 11y ago

Moore's Law starting to falter?

brown-dragon
9pts0
qz.com 11y ago

Time is not money

brown-dragon
2pts0
m.facebook.com 11y ago

Kent Beck: Idea to Impact

brown-dragon
1pts0
acko.net 11y ago

Storms and Teacups (2013)

brown-dragon
1pts0
highscalability.com 11y ago

The Unreasonable Effectiveness of IT

brown-dragon
76pts42
www.reddit.com 11y ago

(Advice) What are early warning signs to look out for trouble in life?

brown-dragon
2pts0
www.centolodigiani.com 11y ago

Animations - The Illusion of Life

brown-dragon
2pts0
jama.jamanetwork.com 11y ago

The 2015 US Dietary Guidelines: Lifting the Ban on Total Dietary Fat

brown-dragon
40pts48

Hi HN,

I'm looking for feedback on my distributed log db project. It's a part I pulled out of a stochastic time tracking system that we are building. I think it's a neat idea and has a lot of potential and I haven't found anything like it yet.

Yep - that's exactly been my experience.

(off-topic) Org mode is really amazing. I've transitioned almost completely from Emacs to Vim over the last few years but I still have Emacs on my dock only because of `org-mode`. I've tried substitutes in vim but nothing really works.

(back on topic) Another advantage of writing comments is coming back to the code becomes so much easier. I can re-read the comments and understand what's going on much faster.

To do this properly I've developed a simple system of 'categories' that allow me to structure the comments properly. I think they works really well. For anyone curious - here's an example in my last weekend project: https://github.com/theproductiveprogrammer/luminate

Check out the comments in the code (`main.js`). I think they make the code much easier to understand and maintain. It's almost an alternative to TDD - Comment Driven Design (CDD!)

Hi HN! I've been working with the Stellar blockchain recently and I found it hard to get a simple, open and transparent wallet that would let me keep my accounts on my local machine. So I wrote my own and made it available for everyone. I've tried to keep the code simple and clean and I would appreciate any feedback. The goal is it should be a simple, powerful wallet that any dev can pick up - be confident how it works and be able to hack in 5 minutes.

28 years! It frightens me and boggles my mind how something like this can happen after being married for so long. Looking back do you have any idea why? I'm sorry for your loss and I hope it'll get better for you soon. As others have said it's perfectly normal to feel depressed at such a life altering event and it probably does take a year or two to recover.

There could be bugs, of course, but the library is open source and developed by the Stellar network team.

Of course you are right in a sense - the core team also should not be blindly trusted. But, because your account is managed by the wallet and stays local to your machine, there is nothing much the library _can_ do IMHO.

One trick I've learned is to write out, (in a structured comment), what I am going to do an how I'm going to do it _before_ actually writing the code.

It seems redundant but it actually forces me to do a quick think-through of what's happening. Plus distractions get a lot easier to handle: I just need to read what I've written down to reload the context.

Paradoxically, I've found that this method of typing out _more stuff_ actually helps me finish much faster.

The Stellar network is a new-ish blockchain network managed by https://www.stellar.org/

They provide a REST API for interacting with the network itself and JS/Go/Python/Java standard libraries that can be used. Of these, the JS library is the most developed which is why I picked it.

Using the standard stellar library to connect with stellar is secure and transparent enough. What the wallet does is encrypts and protects your account keys (which are what give you control over your accounts). It does this using `scrypt`(https://www.npmjs.com/package/scrypt) for PKDF and sodium (https://www.npmjs.com/package/tweetnacl) for the actual encryption. Having access to the code should show you that there are no backdoors built in, no information being sent across to any third-parties, and so on. This is what people care about when protecting their accounts.

Your second question is also very insightful. Creating accounts is at the heart of Stellar. You cannot start performing any transactions on the network without first creating an account. And, in order to create the account, it needs to be be funded. This is why the wallet allows you to create (and fund) a new account on the network. You can read more about it here: https://www.stellar.org/developers/guides/get-started/create...

Hi HN! I've been working with the Stellar blockchain recently and I found it hard to get a simple, open and transparent wallet that would let me keep my accounts on my local machine. So I wrote my own and made it available for everyone.

I've tried to keep the code simple and clean and I would appreciate any feedback. The goal is it should be a simple, powerful wallet that any dev can pick up - be confident how it works and be able to hack in 5 minutes.

Nim is a great little language - it is enjoyable to work in and small enough to learn easily. It's neat for little utility programs that are "too big for bash" and "too small for java/C". Sometimes I think of it as an alternative to python.

I have so many things that I need a system to keep me productive. Plus, it's fun to get things done and be confident in not having missed anything important.

Productivity is about getting the right results for the least effort!

I found this advice on negotiating to be most helpful:

1. Always stay polite. Getting emotional works against you in most cases.

2. Don't give ultimatums. Saying "I want this and this" is fine - don't add "or else...".

3. In your current situation, you have lost some negotiating leverage (your previous salary, your experience) but it's not unsalvageable. Simply bring them up and counter them yourself:

* Your previous salary is not relevant - only what you want to accept now. HR has a desire to lowball you so you should counter with a higher-than-market request.

* Your experience is not an issue. If they want you for the job then you are qualified for the salary that job entails.

4. Use the fact that you are _already_ giving them something by accepting an offer one level below! Make this a big deal and ask for compensation for doing a higher level job.

5. Pick a price that is 10% above market value and have a list of reasons you want it (new house, car, ...). Do not be afraid to stick to your ask. After all, they need you to do the job just as much as you need their job.

6. When picking a number do not pick a round number (numbers like 30% sound like you have not given it much thought. Numbers like 101,300/- sound like you have figured out your finances and have a good reason for your ask).

7. Be patient and remember you both want something out of this.

Good luck!

Edit: The Lightning Guide to Software Resumes has a short section on negotiating that is a good summary. A better book is "Never split the difference" by Chris Voss which is, I think, the best book on the subject.

Schedule. Schedule. Schedule.

It's very important that you allocate some time to each area - upto 2 hr blocks of time for coding and architecture, 20 minutes for management tasks and a block of time for firefighting/reacting.

Also schedule in time for exercise, sleep, and just general downtime. All of which are very important.

Lastly, drop anything that's not important and delegate whatever you can. From your description it looks like you will be getting new hires to help you out soon. Just ride it out until you get support and make sure you don't burn out along the way. All the best!

I've found the HubSpot Sales blog to be surprisingly good. It can get a little "spammy" feel at times but I got a lot of good advice overall.

I don't know how their marketing blog is - never tried it but you could check it out.

Oh man! I _so_ identify with this problem. I've been struggling with it for ages. Lately I've been trying some voice exercises and they have helped a bit but I still slip back when I'm not thinking about it.

Nodejs is actually pretty easy to pick up. Any reason you don't want to get into it?

Elixir and Clojure are also fascinating to me. Is there anything in particular you feel would help you more than the existing tutorials? Projects/quizzes/follow-ups/...??