Show Idle (>14 d.) Chans

← 2021-09-20 | 2021-09-22 →
asciilifeform: $ticker btc usd
busybot: Current BTC price in USD: $40657.39
mats: rip
asciilifeform: 4$ when!
mats: remembers to harvest applicable capital loss offsets
asciilifeform: mats: ianal but doesn't this only work if you actually ~took~ the loss (i.e. sold at loss) ?
mats: yes
mats: its one of the few benefits of extreme price volatility in btc
mats: but it'll probably go away once the house votes on the bill this time next year
asciilifeform: mats: maybe i'm thick, but where the 'benefit' ? dontcha have to demonstrate that you actually lost money, to get (a fraction of it) back as tax writeoff ?
asciilifeform: (where 'money' means concretely usd)
asciilifeform: i.e. if you have 1btc, but you bought it in 2012 for fiddybux, it doesn't do much for you if tonight falls from 40k to 20k, if yer intent on selling it will still show massive gain, not loss, and get taxed
mats: right, i bought bitcoins recently
asciilifeform: aite, but why wouldja sell any in the dip ?
mats: to buy back right away, and bank the offsets
asciilifeform: wouldntcha end up eating the spread then ?
mats: yeah, i lose some money to egregious broker fees in the process
mats: still worth it
asciilifeform: seems to suggest the broker aint charging enuff, then, if this is somehow +ev for mats
asciilifeform wonders what the 'brain cpu time' cost of this operation is
mats: err, once the house votes on the bill this time next week*
asciilifeform: mats: what concretely is the loophole that's to be closed ? (if i understand the implication of 'house votes..' that is)
mats: i'm lazy and i don't bother unless the price slips >10%, costs ~0 time
asciilifeform: mats: ty
mats: $ticker btc usd
busybot: Current BTC price in USD: $41888.96
asciilifeform: mats: outta curiosity, what's yer plan if usg goes 'aah you paid x $, mats ? but actually you owe 5x, plox by next tues., k bye'
mats: talk to a tax attorney and then do what i'm told
asciilifeform won't be esp. surprised if retroactive tax increases, officially or otherwise
mats: i'm excited to see this vote expand the welfare state
mats: hopefully usg's credit rating gets downgraded in a couple years
asciilifeform: mats: it's already a work of fiction, it aint as if they paid bonds in gold or btc
asciilifeform: sure, will pay a++ on time, by printing
asciilifeform: mats: re tax writeoffs, they're specifically the mechanism of elite boot stamping on human face in usg reich, so they'll be abolished some time after hell freezes over
asciilifeform: ( e.g. asciilifeform doesn't get to write off anything substantial. taxed at effectively ~50%. because working, rather than dividend-drawing , doesn't borrow money, doesn't speculate )
mats: thats your own fault, you could've got a mortgage
asciilifeform: mats: 'mp's plan for wealth'(tm)(r) ?
mats: mp aside, it makes sense for some people
asciilifeform: mats: 'underwater' mortgage borrower is more firmly bound to his cardboard box than anyone was in e.g. su.
asciilifeform: i suppose for some value of 'make sense', just about anyffin 'makes sense for some people'. stuffing pine cone up own arse prolly makes sense for someone.
mats: i'm also mildly allergic to making use of nontrivial amts of credit, but at some level of interest rates it becomes rational
asciilifeform: ( would mats consider the pine cone if it came with a 10% tax deduction ?!111 )
mats: if its not worth the unpeace of mind, i get it
asciilifeform: mats: it's rational if yer personal arse is 100% insulated from the up-and-down of it. e.g. you're trump and the money is other people's (or even your own, but it aint your last nor next-to-last 100$M)
asciilifeform: mats: one of your mortgaged houses burns down, and insurance refuses to pay ? say hello to paying $M for nonexistent house for the rest of yer life
asciilifeform: y'know, rather like asciilifeform personally knew several folx who were paying for car which had years before gone to the junkyard
mats: yeah, lack of gap insurance will burn a nontrivial number of people who bought cars at a premium this year
asciilifeform: mats: not even speaking of 'lack of insurance'
asciilifeform: mats: ever try to actually get dough outta car insurer , for 100% legit damage ?
mats: yes, i never had a problem
asciilifeform: ( not even to mention, suppose you were dumb enuff to buy ~new~ auto , which is worth 30-40% than what borrower owes 5min after he gets in it and drives home from the dealer ! )
asciilifeform: *less than
asciilifeform: mats: life is great when at no point do you have a problem, eh.
mats: you know that gap insurance is a separate thing right
mats: i mean, not separate, but it is an optional rider
asciilifeform: then at some point you have problem. and maybe even fixable if you could budget the time & energy to 'fix properly' but may so happen that you can't.
mats: for auto and homeowners insurance
asciilifeform: mats: interesting re auto. asciilifeform would be excited if he weren't partial to 'disposable' cars
asciilifeform: mats: iirc 'homeowner' insurance in usa is a quasi-scam tho
asciilifeform: ( expensive, and will perma-drop you for life if you make so much as 1 claim )
mats: title insurance is the real scam
mats: in other news, cosmic crisp apples are otherworldly. i cut one up a couple days ago and its hardly browned at all
asciilifeform: 1992-2017 asciilifeform 'i liked apples, as a boy, not so much nao' then went to ro, to timis town market, had ~proper~ one, after this now again 'i used to like apples...'
asciilifeform: fucking hate this blighted continent. where if you want real apple, or tasty mushroom, or genuine milk, you gotta find a black marketeer to fly these things in for you
mats: have you been to whole foods
asciilifeform: mats: in fact i buy errything there that aint in season at market
asciilifeform: it aint this. 'real' apple doesn't distance-transport and you won't find it in a mass shop.
mats: maybe that's why i don't really care for apples
mats: they tend to be too sweet
asciilifeform: is why. asciilifeform's pet also 'didn't care for apples', then in ro suddenly 'holy shit'
asciilifeform: or the raw milk vending machine there... 'let's buy moar milk.' '??' 'to drink. right here.'
asciilifeform: genuine milk: 100% banned in reich. like cocaine.
mats: haven't had raw milk yet
asciilifeform: entirely other world.
thimbronion: asciilifeform: I am not clear on how to use the nonce in the red packet. I had been thinking it would be passed as the iv argument to the encryption function - then I realized - it's also needed for the decryption function, but it's not clear to me in the current scheme how the decryptor gets the iv.
asciilifeform: a glass of it almost feels like a meal
asciilifeform: thimbronion: i've been waiting for someone to ask!!
asciilifeform: thimbronion: 'iv' is an aesism. what we'll be doing instead is ct_0 := serpent_e(pt_0); ct_1 := serpent_e(pt_1 ^ ct_0); ct_2 := serpent_e(pt_2 ^ ct_1); .... ctn := serpent_e(pt_n ^ ct_n-1) .
asciilifeform: thimbronion: lemme know if makes sense to you.
asciilifeform: ( will illustrate this, and the decryption, in the spec appendix . )
asciilifeform: ct_n -- ciphertext block n ; pt_n -- plaintext block n
asciilifeform: ( 16byte blox )
thimbronion: and ^ is XOR?
asciilifeform: this is standard 'cipher block chaining'(tm)(r) but for some reason (well, cuz aes explicitly requires) heathens carry a separate 'iv' around as plaintext
asciilifeform: ^ is always xor.
asciilifeform: pt_0 so happens is our nonce.
thimbronion: Ok - I have enough to go on at least.
asciilifeform: thimbronion: 28 blox in total to en/decrypt.
dulapbot: Logged on 2021-09-19 19:30:52 asciilifeform: 448 == 16 * 28
asciilifeform: thimbronion: lemme know if any part of this unclear.
asciilifeform must bbl
punkman: << you don't need to write your own CBC, just use iv=0
dulapbot: Logged on 2021-09-20 21:37:10 thimbronion: Ok - I have enough to go on at least.
asciilifeform: punkman: he asked how the nonce is used, asciilifeform answr'd algorithmically, not knowing what kinda libs thimbronion intends to use, nor whether they're correctly implemented, or contain cbcism, etc
dulapbot: Logged on 2021-09-20 21:30:32 thimbronion: asciilifeform: I am not clear on how to use the nonce in the red packet. I had been thinking it would be passed as the iv argument to the encryption function - then I realized - it's also needed for the decryption function, but it's not clear to me in the current scheme how the decryptor gets the iv.
asciilifeform: ( e.g. the ancient ada serpent asciilifeform dug out in era2 gave only three functions -- key eater, encrypt(16bytes), decrypt(16bytes) )
dulapbot: (trilema) 2017-10-18 asciilifeform: fwiw there is a quite short ada serpent existing, passes the test set ( and branch-free ).
thimbronion: asciilifeform: punkman is correct, I think. I'm not quite clear on why the result of the xor is being anded with 0xffffffff, however:
asciilifeform: thimbronion: me neither !
asciilifeform: thimbronion: this is why asciilifeform doesn't like 'just use library!' approach
punkman: can also think of it as new_iv = encrypt(red_packet[:16], iv=0) then encrypt(red_packet[16:], new_iv)
punkman: I think X and 0xFF gives you last 8 bits if X is larger than 8bits
punkman: I'm writing Go prototype, just now compiled without errors! doesn't do anything yet though
punkman: good exercise for learning Go
asciilifeform: lol punkman , didja pick up oddball lang just for the occasion ? or habitually used ?
asciilifeform: incidentally, anyone ever used 'd' ?
dulapbot: (trilema) 2017-07-05 asciilifeform: interestingly 'golang' is a pretty straight ripoff of 'D' (by digital mars co.)
asciilifeform recently did megatonne of commercial work in 'd'. aint bad, vaguely like an ad-hoc orcish ada w/ better string handling
punkman: asciilifeform: just learning it now, never used. most of career has been shitscript langs
asciilifeform is no one to discourage folx from use of 'puzzle langs' but cannot guarantee that he will try $proggy if it's in cobol for vms or golang or similar
thimbronion is currently doing a project in BrightScript - yes Roku has its own lang!
asciilifeform has genuinely nfi what ^ is
asciilifeform: thimbronion: seems to resemble lua ?
thimbronion: asciilifeform: I'm not familiar with lua at all, so perhaps. Roku is a set top box thing.
asciilifeform: thimbronion: would ask 'why does tv box need own proprietary interpreter lang' but can guess.
punkman: thimbronion: is it android box?
shinohai: lol fluffypony released from the Fed's AirBnB
asciilifeform: eh, i was hoping he'd get the chair
shinohai: Must have sold watch, or gave seekrit Monero backdoor to NSA finally.
asciilifeform: shinohai: moar likely they simply wanted some btc (perhaps to refill waterfall, hence yest.'s -xx% dump)
shinohai: teh timing ....
thimbronion: punkman: I suspect not - otherwise I'd be using Java, probably. Actually don't know what the OS is.
shinohai: heh Roku's run some sort of proprietary linux, I had one briefly but not a tv person ....sp
jonsykkel: << is not doubly redundant since Stack(SP) alredy guaranteed to be 0000000 after Push; + FZ_Random() overwrites Stack(SP)?
← 2021-09-20 | 2021-09-22 →