Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
meekaaku
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
meekaaku
4y ago
Its a tree. Eg: Expense - Salaries - Rent -- Warehouses -- Retail space - Utilities
92.
▲
by
meekaaku
4y ago
The above looks like $70 was taken from cash and deposited to bank. Thats not whats happening in the real world. Since cash is fungible, one could ignore that. But if it was cheque + bank-transfer or something else that leaves a record, the
93.
▲
by
meekaaku
4y ago
Its not a problem in practice. There might be a way to enforce that through database constraints, but in practice, checking transaction lines sums to 0 in business logic is not that hard. Having said that, you can run accounting entry sanit
94.
▲
by
meekaaku
4y ago
The problem with this will be when you have 3 accounts involved on a transaction. Eg, you take a sales receipt with part bank transfer, part cash. Sales Cr $100 Cash Dr $30 Bank Dr $70 Your approach will have: Sales Cr $70, Bank Dr $70 Sale
95.
▲
by
meekaaku
4y ago
To build a chart of accounts, you can have a parent column in accounts table. Account balances is just: SELECT account.name, SUM(amount) balance FROM account ac INNER JOIN transaction_line tl ON tl.account_id = ac.id GROUP BY account.name
96.
▲
by
meekaaku
4y ago
The heart of double entry accounting is extremely simple. Forget about asset/liability/expense. Money always flows from one account to another. What goes out from account_1 must go into another account(s). Typical tables: account
97.
▲
by
meekaaku
4y ago
Inventory is not a second currency. Multiple currencies are handled using Exchange loss/gain accounts. I will try running your example from scratch. You begin business with $100 capital which is deposited to your bank account. I am us
98.
▲
by
meekaaku
4y ago
> its better to have one row in a table with a debit and credit. No. Some transactions have 3 lines, eg: two debits and one credit. Some examples: - Split payment at a shop, $100 item bought with $70 cheque and $30 cash would be credit s
99.
▲
by
meekaaku
4y ago
The dartboard should be done for the London tube/rail network. It easy to get into central London from periphery (say Bromley to Victoria is 20min by train, 1hr by car), but periphery to periphery is not good if you dont have direct tr
100.
▲
by
meekaaku
5y ago
This looks very nice! I am looking for a spreadsheet like component for a project I am working on. Had evaluated jspreadsheet before. Question I have is, how would one go about integrating formulas and references? The demo doesnt seem to su
101.
▲
by
meekaaku
5y ago
I agree with your basic point. Businesses (the sports teams are) should fund themselves, apart from common things paid for by taxes like roads, bridge and such infrastructure. But London/Paris are well known for their sports teams. Lon
102.
▲
by
meekaaku
5y ago
- Get closer to nature. Just completed PADI Openwater with my son few days ago. So hopefully more of diving/nature stuff. - Shift more to sales/marketing and a bit less on dev in my current work. - Side hustles in SaaS/ecomme
103.
▲
by
meekaaku
5y ago
I have read the John Doerr's Measure What Matters, and trying to implement some. Do you keep all OKR's visible to everyone in the organisation?
104.
▲
by
meekaaku
5y ago
He was doing this kind of hobby work well before. I learnt solving Rubik's cube from his page[0]. [0] http://badmephisto.com
105.
▲
by
meekaaku
5y ago
Problem 2: It is very manaul and error prone to prepare Bill of Quantities/Materials in arch/engineering sector. Most firms rely on Excel. Once the data has been put in excel, there is no way to split/sort/question about
106.
▲
by
meekaaku
5y ago
I have some ideas I believe that, if done well, will be transformative: Problem 1: Architecture/Engineering is still very much traditional. Various distributed teams across cities/countries email CAD (mostly autocad) files back an
107.
▲
by
meekaaku
5y ago
No. Opera from early 2000s atleast had tabbed browsing. It also had gestures, paste-and-go, open non-hyper plaintext links in tab etc.
108.
▲
by
meekaaku
6y ago
How come I rarely see mention of Aurelia when discussing JS frameworks? Aurelia 2 will be out soon, and I find things well thought out even in v1. You basically write just html and pretty much plain javascript. It is batteries included with
109.
▲
by
meekaaku
7y ago
Not post 1700, Luca Pacioli's double entry accounting is simple but extremly effective one.
110.
▲
by
meekaaku
8y ago
"SR similarly wasn't required to explain anything important" Wasnt it the case that no one was able to explain Michaelson-Morley experiment? That speed of light was measured to be the same irresective of observer speed? Ppl c
111.
▲
by
meekaaku
8y ago
This is soo true. One of the best comments I have seen on HN. Thanks.
112.
▲
by
meekaaku
9y ago
Ok. I found a way using factory: ItemMaker = function(data){ return { $cell: true, $type: "h1", style: "font-size: 100px;", $text: data, } } var i1 = ItemMaker('foo'); var i
113.
▲
by
meekaaku
9y ago
This is interesting. I have had a look at the examples. One question that comes to mind, how do you make a reusable component? Say I have: Part = { $cell: true, $type: "h2", $text: "Part No: ", } Part is to be inst