News for hackers. Stuff that matters.

vitohuang

Re:China’s tech sector is in the doldrums on Saturday March 09, 2019 @12:05AM (#19344589)
There are two sides

1. Buy-side - ETF for companies leading in clean water or purification, or the second level that companies provide components for those companies in the first group.

2. Sell-side - bet on the companies will do badly in the situation e.g big polluters.

But the hard thing is timing, you can sit there for decades for the outcome and so many factors can affect your bet between now and then.

Re:A Tiny Hedge Fund Made 8,600% on a Vix Bet on Sunday February 11, 2018 @01:40PM (#16354024)
Ok, I think I get it now.

I never touch naked options, From what you described

1. You get paid the price/premium for selling options (call/put).

2. Selling naked put

3. Selling naked call

Is that right?

I was thinking about debit/credit spreads options, so broker won't lock up $156.41 * 100 * X amount for the options period (e.g $15641 in your previous comment)

Re:A Tiny Hedge Fund Made 8,600% on a Vix Bet on Sunday February 11, 2018 @06:08AM (#16352190)
I'm new to options.

Looking at the AAPL options on yahoo finance, I can't find any puts that cost $156.41, even those in the money 2020 options.

How did you get selling a put cost same as the underlying share price?

I thought one of point of options pricing is you don't need to put up the same amount as owing the shares.

Re:Tmux and Vim – better together on Thursday April 20, 2017 @04:14PM (#14160397)
That's what I have been doing for last couple years.

To make the experience even better, try replace ssh with Mosh

https://mosh.org/

Its perfect for mobile or desktop.

Also changing from bash to fish will make it even better.

Re:Machine learning without centralized training data on Friday April 07, 2017 @02:22AM (#14057561)
It did mentioned a local version of mini TensorFlow, I would guess the data is cleaned up on local devices and only updates are send back to the cloud.
Re:Acing the technical interview on Thursday March 16, 2017 @07:29PM (#13890090)
For those interested and this old piece is classic

https://old.ycombinator.com/munger.html

Re:Tips to Improve Your Mental Math Ability on Thursday February 23, 2017 @07:27PM (#13719475)
'Mathemagics'

https://www.amazon.co.uk/Mathemagics-Genius-without-Really-T...

This is awesome book, it teach you all sort of tricks from 3 digits addition to 3 digits multiplication.

I know its written for school teens, but still pretty helpful life skills.

Re:Look before you paste from a website to terminal on Thursday January 26, 2017 @08:06AM (#13490986)
That's a feature of iTerm2, it try to warn you about convert characters etc.
Re:Interactive Map: The Flow of International Trade on Sunday January 01, 2017 @06:43AM (#13295471)
Yeah, it does look like d3 animation, don't think it will be hand-rolled.

Better approach will be combine d3 with reactive js like React/Vuejs for dynamic data

This is a globe https://bl.ocks.org/mbostock/ba63c55dd2dbc3ab0127

then just provide/change the data

Re:Why You Should Try tmux Instead of screen on Sunday July 03, 2016 @07:05AM (#12025619)
Tmux - the config is so much easier to understand and shortcuts as well