Hacker Newsnew | past | comments | ask | show | jobs | submit | jtoledo's commentslogin

What matters is the journey, what you learn on the way...


But it would sound really sexy to be able to say that "I've build that using Assembly" :)


If you want to be able to say that, you should actually do that: https://asm32.info/fossil/repo/asmbb/artifact/68f9999f296320...

Also, this is a terrible, horrible name, seriously.


I'm pretty sure there there is scant Assembly language content in Assembly.

Picking a short, unused name related to the project is hard.


Not really?

Literally throwing a dictionary on the floor and pointing would work. Or checking whether the name is being used via a 2-sec google search? People avoid start companies with the same name as other companies -- it's not that hard.

In this case, what about Fett? Flask + (D)jango Fett


You may have missed "related", although I suppose use of the Roman alphabet sort of counts.


That was great!


"He didn't know it was impossible, so he did it".

That's one of best motto I've ever heard!


Interesting! How do you keep transaction records?


I use two classes to track accounts and transactions:

  class acct(object):
    # bank and brokerage account
    allacct = []

    def __init__(self, name, balance, holdings=None):
        self.name = name
        self.balance = balance
        self.holdings = holdings
        self.xferamt = 0
        self.accum = 0 # used to track cumulation ad hoc values
        acct.allacct.append(self)

    def buy(self, sec, amt, cost, day):
        rec = trans(('buy', sec, amt), -cost, day, self)
        self.balance -= cost
        if not self.holdings.has_key(sec):
            self.holdings[sec] = [0]
        self.holdings[sec][0] += amt
        self.holdings[sec].append(rec)
  ......

  class trans(object):
    # transaction record object track cash invovled in each transaction

    allrec = []

    def __init__(self, t, amt, day, where):
        try:
            self.type = t
            self.amt = amt
            self.date = date(year, month, day)
            self.where = where

            trans.allrec.append(self)
        except Exception as err:
            print t, amt, year, month, day, where
            raise err            
Then for each data line I just do any of the following:

  SOMEACCT.buy(...)
  SOMEACCT.sell(...)
  SOMEACCT.credit(...)
  SOMEACCT.debit(...)
  SOMEACCT.xfer(...)
  # classified by tax categories:
  SOMEACCT.int(...)
  SOMEACCT.div(...)
  SOMEACCT.fdiv(...)
  SOMEACCT.mint(...)
  SOMEACCT.mdiv(...)
Then it is easy to query and do computations in any way one cares to write a function to do.


Thanks! Today I use Excel to track my accounts, but I've been looking for alternatives... Now I'll evaluate your idea.


You are welcome. This approach has worked well for me with over 10 thousand transactions tracked so far. It is very flexible as you can write your own IIR computation or match capital gains etc.


I've tried Developer's Edition, but gave up when I saw that Vimperator would not work on it.


A long time ago I put some components together and built ProgEdit using Delphi, with resources that reminded me of SideKick Plus.

I've used that editor daily to write source code, mainly in Clipper, and I think some of my coworkers used that too.

But then I moved on and knew vi, and now I can't take my hands from the center row :)

ProgEdit: https://sourceforge.net/projects/cpstools/

SynEdit, the base of the editor: https://github.com/SynEdit/SynEdit (confession: I was only a user of SynEdit, not a developer).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: