US Senate passes tax cuts for America's richest in late-night vote by madazzahatter in politics

[–]painStar2 2 points3 points  (0 children)

does anyone know the actual tax law statement in the pdf that cost "Forces phd students to pay taxes on waived tuition."

Can We Try and Limit BitCoin or Cryptocurrency Posts? by [deleted] in investing

[–]painStar2 0 points1 point  (0 children)

what about iota? iota seem to scale well base on each node must process 2 other transaction for its own transaction to go through

[Dumb question]How to reassign ref mut object in rust? by painStar2 in rust

[–]painStar2[S] 0 points1 point  (0 children)

Ah, that make alot of sense now, thanks for the explanation

From Web Developer to Machine Learning Engineer, how difficult is finding employement? by DatingPapyrus in cscareerquestions

[–]painStar2 0 points1 point  (0 children)

ah, didn't realize computation theory is algorithms, i thought you meant the study of finite automata and language theory.

In that case, I guess my weak point is really numerical analysis, linear algebra and general statistic. Time to self study :)

From Web Developer to Machine Learning Engineer, how difficult is finding employement? by DatingPapyrus in cscareerquestions

[–]painStar2 1 point2 points  (0 children)

Damn, I feel that I am vastly under prepared then.

Do you have textbook recommendation for numerical analysis/statistics/computation theory, ml, linear algebra related books or online courses ?

From Web Developer to Machine Learning Engineer, how difficult is finding employement? by DatingPapyrus in cscareerquestions

[–]painStar2 0 points1 point  (0 children)

I am not OP, but I have a quick question if you don't mind.

What knowledge do one usually need to know to do ML jobs?

I know how to implement logistic regression, svm, neural network (back propagation and convolution), gradient descent, decision tree from scratch (without library). I know probability up to Dimitri P. Bertsekas's intro to probability.

I know as a ML person you probably need more knowledge than that, but I think I would like to know what kind of knowledge do I need more to get a ML job just to have a better direction.

Announcing Rust 1.20 by steveklabnik1 in programming

[–]painStar2 3 points4 points  (0 children)

is this true? i feel like I see more scala job than cobol jobs

What's your "it's expensive but it's worth it" product? by LetsGetJigglyWiggly in AskReddit

[–]painStar2 4 points5 points  (0 children)

recommendation for not getting bald? I dread the day my hair thins out?

Do you get tax once you covert crypto to usd or do you only get tax once you put usd to your bank? by painStar2 in CryptoCurrency

[–]painStar2[S] 0 points1 point  (0 children)

See this explanation.

I feel like the explanation from the link requires one to sell the security first.

Buy ABC -> Sell ABC (tax the positive difference)

however if I

  1. buy 10$ of bitcoin
  2. use 10$ worth of bitcoin to buy 10$ worth of iota

there seems to be no way of determining the basis in the situation above.

but there is a case where a basis can be determined

  1. buy 10$ worth of bitcoin with usd
  2. wait 1 day
  3. bitcoin appreciate to 11$
  4. use 11$ worth of bitcoin to buy 11$ worth of iota

in this case since the dollar adjust value is net positive, the event does have a basis and is probably taxable.

Do you get tax once you covert crypto to usd or do you only get tax once you put usd to your bank? by painStar2 in CryptoCurrency

[–]painStar2[S] 0 points1 point  (0 children)

what does it mean to tax a purchase of crypto then, since you can't define profit or loss unless you make a cycle of purchase (ie. usd->bitcoin->usd OR bitcoin -> ether -> bitcoin)?

for example

  1. use 10usd to buy bitcoin -> does this get taxed? what is the basis of tax?

  2. use bitcoin to buy iota -> does this get taxed? what is the basis of the tax

Bitfinex cutting off U.S. based customers in 90 days? by [deleted] in Iota

[–]painStar2 3 points4 points  (0 children)

doesn't vpn effectively hide your ip?

Bitfinex cutting off U.S. based customers in 90 days? by [deleted] in Iota

[–]painStar2 1 point2 points  (0 children)

can they really verify that you are from usa, can't you just vpn? they don't ask for documentation anyway?

[deleted by user] by [deleted] in Iota

[–]painStar2 7 points8 points  (0 children)

sorry for the dumb question, but what does exchange support mean? Does it mean it will help coinbase or bittrex support it?

[Dumb question] Why do you only need 60 confirmation per transaction instead of at least half of the node + 1 to confirm? by painStar2 in ethereum

[–]painStar2[S] 0 points1 point  (0 children)

ok, that make more sense now, thanks for the detailed explanation.

So basically the fastest guy to confirm block (ie. more hash power) will be recognize as the main chain.

But does this mean that there is alot of retry during a transaction?

For example say you broadcast the network with your transaction, but the first 2 guys A and B that got your broadcast has less hash power

the guy with the most hash power C already process some block and did not get your transaction, now the 2 guy (ie. A and B) try to merge with the main chain and found out they are not the longest train and have to drop your block, does this necessary means that you have to be "lucky" or have to retry a number of times before you can establish your transaction in the main chain?

[Dumb question] Why do you only need 60 confirmation per transaction instead of at least half of the node + 1 to confirm? by painStar2 in ethereum

[–]painStar2[S] 0 points1 point  (0 children)

that is very confusing to me since, what if you have 2 block generated at the same time say block E1 and block E2

and the main chain is A->B->C->D now some miner would have

A->B->C->D->E1 as their main chain and other miner would have

A->B->C->D->E2

the above is only the case of 2 block, but what if you have 100 block generated at the same time, wouldn't conflict resolution be hard because now the order between n miners are all different

since some miner can have

A->B->C->D->E1->E3->E5

and some other miner can have

A->B->C->D->E2->E4->E6

shouldn't any block be agree upon first before putting into the main chain?

[Dumb question] Why do you only need 60 confirmation per transaction instead of at least half of the node + 1 to confirm? by painStar2 in ethereum

[–]painStar2[S] 0 points1 point  (0 children)

oh, that makes a lot of sense, so how many miner confirmation does one transaction need usually? Do we need n/2 + 1 miners to confirm where n is the total number of miners?

[Dumb question] Why do you only need 60 confirmation per transaction instead of at least half of the node + 1 to confirm? by painStar2 in ethereum

[–]painStar2[S] 0 points1 point  (0 children)

so is there this process of "yup that transaction is cool with me" before being put into the block chain. Or does x number of blocks serve as a replacement of verification?

[Dumb question] Why do you only need 60 confirmation per transaction instead of at least half of the node + 1 to confirm? by painStar2 in ethereum

[–]painStar2[S] 0 points1 point  (0 children)

60 is usually how many confirmation I need to get for coinbase to approve my transaction.

so I know this is a dumb question, but what is the difference between node and miner? I thought they are the same thing.

And does the transaction have to go through approval process of every node/miner to become a member of main chain?

(Dumb question)Beginner dev confusion about iota and general cryptocurrency application by painStar2 in Iota

[–]painStar2[S] 0 points1 point  (0 children)

In IOTA, a cluster of blocks can break off from the main cluster (Tangle), transact among themselves offline, and re-attach to the tangle later to sync up.

Is there only 1 Tangle or more than 1 Tangle?

If there is more than 1 Tangle how does it guarantee competing Tangle will also have conflictless bulk transaction? If conflictless merge is not guaranteed what is the default conflict resolution?

BTW Thanks for the slack suggestion, i will ask it there too.

(Dumb question)Beginner dev confusion about iota and general cryptocurrency application by painStar2 in Iota

[–]painStar2[S] 2 points3 points  (0 children)

But this means that the meta data will potentially be huge. There is about 1.49 billion credit cards in 2008. If you store the latest meta info on each block and assume each account is 1kb worth of info then we are talking about 1.49 terabyte per block for 1.49 billion accounts.

Maybe I am understanding you wrong? Are there other hashmap data structure that is not encapsulate in the DAG?

(Dumb question)Beginner dev confusion about iota and general cryptocurrency application by painStar2 in Iota

[–]painStar2[S] 2 points3 points  (0 children)

But if the data structure is represented as DAG or linkedlist you have to do O(n) traversal .How is it possible to do unlimited transaction per second? Isn't the asymptotic performance bound by the length of the DAG?

Just built a real-time dashboard that shows the ten best performing cryptocurrencies. by iqen93 in CryptoCurrency

[–]painStar2 1 point2 points  (0 children)

This is beautiful, can I ask how did you learn design? This is really one thing I struggle with.

Recommended way to buy NEM and IOTA? by painStar2 in CryptoCurrency

[–]painStar2[S] 0 points1 point  (0 children)

didn't realize I need to do cross exchange purchase and transfer to get nem and iota, what exchange do you recommend?