HNHacker News
TopNewBestAskShowJobs

meekaaku

253 karma · joined June 12, 2017

submissionscomments
meekaaku··on Edge functions: Node and native NPM compatibility
Does prisma support database level joins now?
meekaaku··on Choose the browser that best suits your privacy needs
Started using Firefox when it was called Phoenix, then it was renamed Firebird, then again to Firefox. It does exactly what I want from a browser, not more not less.

Chrome I only use for debugger.

meekaaku··on PostgresJs: PostgreSQL client for Node.js and Deno
Really wow. Such a basic feature should be available in beta version
meekaaku··on 64-bit bank balances ‘ought to be enough for anybody’?
One can use more than 2 decimal places for rates, but final invoicing has to be two decimal places (atleast in most countries). Banks/tax authorities dont carry anything beyond 2 decimal.

Eg: fuel is usually priced 3 decimal, so 4 gallons x 25.5444 usd/gallon gives = $102.1776 to 4 dp, but will be billed as $102.18

meekaaku··on Programming Language Inventor or Serial Killer? (2003)
Just found out i know more serial killers than programming language inventors
meekaaku··on Show HN: Invoice Dragon – An open source app to create PDF invoices
A bill or an invoice is a document created by the vendor asking the customer to pay. Sometimes you are the vendor and raise an invoice asking the customer to pay. Other times you are the customer, and your vendors send you invoice asking YOU to pay.

It is generally accepted practice in accounting that all outgoing payments should have an invoice from a vendor. Also all incoming payments should have an invoice/receipt raised by you.

Whether something is an expense depends on what you are paying for. If the vendor's invoice is for goods that you are reselling, that is not an expense. That goes to inventory. Similarly when you pay an invoice from your heavy equipment supplier, that is not an expense, that goes to your equipment & machinery. However, when your vendor invoice is for something like janitorial service, utility bills, lawyer fees etc, these are classified as expenses and hence its 'expensed'.

meekaaku··on Intel mulls cutting 16 and 32-bit support, booting straight into 64-bit mode
First 64 bit windows was running on DEC Alpha. Not Intel or AMD
meekaaku··on Bringing the power of AI to Windows 11
What do you mean or? the future is linux and it is here
meekaaku··on The Industrial Hammer Complex
Oh. He is well aware. He created a JS framework called Aurelia. It is actually very good and was doing 'just write js' long before svelte came along. It is not that popular and hence lack the ecosystem.
meekaaku··on Memory Allocation
You mean a bug this deep took one day to debug?
meekaaku··on Using Bun.js as a Bundler
Has any one tried bun with nestjs? I have a nestjs project that uses webpack.
meekaaku··on Retro Computer Museum
Gloucester Southwark (pronounced sutherk) Warwick (pronounced wo-rik)
meekaaku··on Bun 0.6
Just wanted to say thank you for starting and leading the one of the most exciting projects in js landscape.
meekaaku··on WebGPU Fundamentals
I think I would rather have a bloated (but reasonably fast and featureful) browser, than clog my computer with native apps for every app out there. Most of the apps doesnt need much power anyway.

I really dont want to see a repeat of phone apps for every company I interact with.

meekaaku··on The early days of Linux
I wonder how much the overconfidence played in making it a success.
meekaaku··on The early days of Linux
There is a quote somewhere that says Linus names his programs after himself. Freax for freak, and then later git too. Git means an unpleasant person.
meekaaku··on Launch HN: Metal (YC W23) – Embeddings as a Service
Yes static info are mainly product name/code/description/keywords etc. Dynamic ones are price, quantity_available or similar feeds.
meekaaku··on Launch HN: Metal (YC W23) – Embeddings as a Service
Hi, Regarding a product catalog usecase. Say I embed our product catalog consisting of 1000 skus., then is there a way to update a specific field in the product? A product has name, description, sku etc that doesnt change much. But it also has frequently changed info like price, quantity_available, special_offer etc. How do I update these fields only and be able answer a question that customers send to our bot like:

Do you have this product A and what the price?

which means need to get the latest price and quantity_available field.

Is this possible to do with Metal?

meekaaku··on How to start a React Project in 2023
>make a column in the DB to no longer allow NULL values, and we are immediately notified by the TypeScript

Can you elaborate on this? Is this using something like knex/objection or something else?

Is there something that will do this if one is using mostly raw sql with knex?

meekaaku··on Launch HN: Neptyne (YC W23) – A programmable spreadsheet that runs Python
I did try it, but that was ages ago. I remember going wow! and thinking this is the future of spreadsheet. Alas it didnt pan out that way. One thing it had if I recall waell, was defining a function without having to go full VBA style scripting. It was more like a lambda you define in a cell.
meekaaku··on Money Laundering and AML Compliance
Honest question, where does this happen? If you are buying a house, the solicitor or whoever is dealing with legal/deed etc will ask where the money came from, don't they? In the UK atleast that seems to be the case. Lenders are fine as long as you can show your future income (eg by being employed), but not much about how you got your initial deposit money.
meekaaku··on Rewrite, refactor, or reinvent? Lessons from 6 software rewrite stories (2019)
One of the great software rewrite battles that I know of is computer graphics sector. It was mid-90s and Silicone Graphics (it hasnt rebranded to SGI yet) was the dominant hardware, and Wintel were too slow.

In hollywood the flagship products were Alias PowerAnimator, Wavefront Visualiser, Thomson Digital Exploer, Softimage 3D for animation, Sidefx Prisms for particles/effects. PowerAnimator had the best modeling tools like NURBS. Softimage had best animation tools. None of these ran on Windows and all were running on SGI's own IRIX. Microsoft bought Softimage in 94 and ported it to Windows NT. Suddenly Silicon Graphics saw Wintel as serious threat. So they bought and merged Alias,Wavefront, TDI to form Alias|Wavefront and began to write Maya which would combine the technologies from all three. Softimage also started to write its new one codenamed at that time Sumatra which would eventually release as XSI. The race was on, and the two big giants SGI and Microsoft were having a proxy war now. Everyone was keen on seeing who is going to come out first and best product.

Meanwhile Sidefx was also writing something new from scratc which they eventually released as Houdini in Dec 96. Sidefx has always been a smaller niche player and has stayed true to that till today.

Maya 1.0 came out in Feb 98 and it was immense success. A lot of hollywood studios migrated to Maya because Sumatra was nowhwere near release. Eventually XSI came out around 2000 I think and it was too late, but not too little. XSI still had more powerful animation capabilities but they had lost a lot of ground to Maya interms of mindshare and customers.

Eventually Microsoft sold Softimage/XSI to Avid. In the mean time 3D Studio from Autodesk was not a serious player when it came to hollywood stuff. So Autodesk bought Softimage from Avid. Unfortunately SGI also had real financial trouble due to Intel finally catching up interms of speed. They also sold Alias|Wavefront to Autodesk. So now Autodesk had the two major 3D graphics packages used in hollywood. Autodesk eventually killed XSI and continued Maya at their high end, and 3D Studio Max as their lower/medium end product.

meekaaku··on Choosing a Postgres primary key
Standard accounting practices require that invoices/receipts have sequential numbers. So it has to be integer, or some kid of sequential alphanumeric.

Even if one uses UUID as primary key, it should have separate invoice_no (in whatever formatting they require such as 2023/001, or 1001,1002...) which is the human readable and referenced number.

This is especially important if you are developing a multi-tenant system where the invoice number, say 2023/001, may exist for more than one tenant.

meekaaku··on Ask HN: How to learn business being a software engineer?
I think getting basics of accounts/finance will go a long way. Being able to read a balance sheet/profit & loss statement/cashflow statements will help you understand the health of business.

Next I would say, reading up on basic marketing/consumer psychology will help develop/acquire product and sell it.

Since you mentioned being CTO, I am assume you have development/programming background. This series [1] is good read targetted to developers who want learn a bit of accounting and finance.

[1] https://www.moderntreasury.com/journal/accounting-for-develo...

meekaaku··on Moving from React to htmx
I do case (a) like this with SPA. Call to /orders (or any endpoint) will check roles/permissions and runs the proper query. A normal user will get [{name, email}], but a manager will get [{name, email, num_orders}]. A normal user call will not have the COUNT(*) from orders part anyway in SQL query (which is expensive). Only a manager's call will have that part. Most likely number of managers will be less than users, so the users get faster results. The results are returned to front end and if the {num_orders} column exists, it is rendered. Front end doesnt have to bother with any access control logic.

For the server-side rendered page, what seems to me is you are running same query for normal users and managers, which is fine too, but removing that num_orders column.

Ultimately in both cases, the access control logic happens on the server, and frontend don't have complicated access control logic anyway. My point is, with SPA also we can get the same server-side benefits, atleast in this case. Or am I missing something?

meekaaku··on Ask HN: How to validate a startup idea whilst employed?
Forgive my ignorance, can you tell what these SEO tools are?
meekaaku··on Accounting for Developers, Part II
-ve i used to denote credit, not necessarily to indicate increase/decrease. In accounting terms, if you sales increase, your entries on the credit side of sales account increase. In my implementation it means larger negative number. Hope that explains.
meekaaku··on A 14kb page can load much faster than a 15kb page
Nice site. I am also in a similar position, now rewriting our website to make it modern and fast. Like your site that its snappy, but found something odd.

Delivery in 78 years [1,2]

[1] https://bowtieduck.com/traditional/kurimu-x-the-bow-tie-duck...

[2] https://ibb.co/W5B50d8

meekaaku··on Accounting for Developers, Part II
No. In the real world it is a single sale. In the accounting/finance domain it is single sale, so it should be represented as such. It also matters when you look at KPI like avg order size, num orders for customer, not to mention it is one invoice at the time of invoice creation, but payment collected in multiple methods.
meekaaku··on Accounting for Developers, Part II
negative and positive for credit and debit respectively. Eg: an entry of -$100 is a credit entry.
← PreviousPage 3 of 4Next →