Better HN
topnewbestaskshowjobs
Log inSign up

abfar

8 karma · joined Nov 25, 2018 (8y ago) · 12 submissions

Submissions

comment 3w ago · link · parent

Nice puzzle. Hope you keep it up for a while.

Can you please explain the "how everyone did" table? For example, after I finished the puzzle I got this table:

  2  0  0  0  17
  7  6  5  4  3

comment 1y ago · link · parent

Nice tool, but the calculator executes division before exponentiation. E.g. 2^4/2 is evaluated to 4, not 8. However, it executes exponentiation first before multiplication (e.g. 2^2*3 is evaluated to 12). Is this intentional?

comment 1y ago · link · parent

Indonesia's government also implemented this exact policy in 1950. The policy was called "Gunting Sjafruddin" or "Sjafruddin Cut" after the minister Sjafruddin Prawiranegara. Not sure about the impact though.

This article wrote about it: https://yohanesnuwara.medium.com/most-thought-provoking-mone...

comment 2y ago · link · parent

Oops I messed the formatting for the example. Here we go:

    24feb
    12.5 cash food eating out at xx
    6.5 bank1 phonebill
    25feb
    ...

comment 2y ago · link · parent

I've been using hledger for two years now, and I don't use any exported data from my banks. Here's my workflow:

Everytime I make a transaction, I put a note on my phone. The note is a simplified version of hledger file format. Example:

24feb 12.5 cash food eating out at xx 6.5 bank1 phonebill 25feb ...

and so on. As you can see, each block is started with the date, and each line corresponds to a journal entry. In each entry, the first item is the dollar amount, the 2nd item is the credited account, the 3rd item is the debited account, and the rest will be taken as the entry description.

Every week end, I will parse this note with a Python script that I wrote, and put the output in the actual journal file. The shorthand account names in the note will be converted into actual account name (e.g. 'bank1' to 'assets:bank:bank1'), based on a dictionary file.

I'd then proceed to manually check that all ending balances in hledger match with the actual amount in the real world. (It's pretty satisfying to see the numbers match.)

After I've finished processing the note from my phone, that note will be archvied and I will start with a new note.

comment 7y ago · link · parent

I also just use Vim to write markdowns, but without any markdown plugins (beside the built-in markdown syntax highlighting in Vim) and I compile the document to pdf manually using Pandoc. I rarely need to write markdowns though, and my usage is not advanced at all (like to write simple writeups that sometimes require maths and code blocks, which I only use for myself). So Vim + Pandoc is enough for me.

comment 7y ago · link · parent

I haven't checked the podcast, but the YouTube channel has uploaded some videos featuring him pretty recently, which I found to be very amusing.

comment 7y ago · link · parent

Also IIRC much of the "trade" created by free trade agreements are not trade at all, but movements of goods internal to a company (e.g. US companies produce goods in a factory in Mexico and later move those goods back to US to be sold).

comment 7y ago · link · parent

What if we require that every $1 spent by someone on a political ad must also be balanced by a $1 subsidy for the opponents' ads? Seems fair to me and would reduce the impact of money. (I'm sorry but I forgot who proposed this idea.)

comment 7y ago · link · parent

In addition, the market makers gain profit from this activity by buying at a slightly lower price than the selling price.

comment 7y ago · link · parent

The first settlers of Madagascar are also Austronesians, came from Borneo between 350 BC and 550 AD [1]. If you look at a world map you can see just how far those two islands are.

[1] https://en.m.wikipedia.org/wiki/Madagascar