Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Taniwha
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
250 ms
·
2521.
▲
by
Taniwha
13y ago
In the US capital gains are by default taxed as income, you can claim a special lower capital gains tax rate if you hold an asset for greater than a minimum time (2 years?)- stock options are a bit special in that you don't actually &#
2522.
▲
by
Taniwha
13y ago
I'm a Kiwi - I travel a lot - it's pretty terrifying to us too - we're all pretty flabbergasted by this news story - I expect there's going to be a big fuss tomorrow Normally NZ customs care most about biosecurity issues
2523.
▲
by
Taniwha
13y ago
Well the answer to 1 is that you owe tax on the increase of value from 10c to $2 (your option price and the current value of the stock when your bought it at 10c a share - if you have 10k shares you might pay $1k to exercise the options and
2524.
▲
by
Taniwha
13y ago
I'm sure there's lots of pithy oaths used by programmers over the years, I know I've used a few
2525.
▲
by
Taniwha
13y ago
having been through this a bunch of times my simple rule is: - if you can afford, and think it's a good bet it buy the stock when it is granted to lock in the capital gains and avoid income tax - otherwise go the exercise and sell rout
2526.
▲
by
Taniwha
13y ago
that doesn't really help me - I have an HDMI-only home setup - multiple HDMI sources switched by the AV receiver drive a single TV, I'd have to somehow create a parallel composite switch from all the video sources - Bunnie Huang&#
2527.
▲
by
Taniwha
13y ago
The question that didn't get answered for me was "will it work with encrypted HDMI?" one hopes it does use one of the leaked keys and sniffs the stream .... if it does I want one .... otherwise it's not useful for me
2528.
▲
by
Taniwha
13y ago
simply yes - but as I mentioned in our case by far the most most were going to be pixel burbles - you'd likely see one in the lifetime of your video card - the chances of the more serious sort of jabbering core sort of meltdown are muc
2529.
▲
by
Taniwha
13y ago
so not even mentioned here is metastability - basically signals that cross clock domains within traditional clocked logic where the clocks are not carefully organized to be multiples of each other can end up being sampled just as they chang
2530.
▲
by
Taniwha
13y ago
(I should add - it's an x86, you're really register poor - sometimes you do have to do stuff like that - but if you have a register "mov reg, a;jmp (reg)" is better than "push a;ret")
2531.
▲
by
Taniwha
13y ago
depends on the CPU - but it's relatively trivial thing to build (especially because unlike other caches it's a stack) on x86s return nominally is ALWAYS a bad pipe bubble: a pop followed by an indirect jump - the pop gets resolved
2532.
▲
by
Taniwha
13y ago
I worked on serious x86 clone once - we took a lot of real-world trace and ran it through our various microarchitectures to see how it would fly - dynamic C++ dispatch was interesting normally you expect something like mov r1, n(bp) ;
2533.
▲
by
Taniwha
13y ago
no, all suspects are innocent until proven guilty - the problem here is that the proving has been done in error so they are still innocent until proven guilty
2534.
▲
by
Taniwha
13y ago
Did something similar in 6800 assembly, left recursion of course limits you even more - but it helps fit that tiny tiny compiler into 2k. I actually like yacc/bison - they're good for most purposes and deliberately designing a non
2535.
▲
by
Taniwha
13y ago
kids these days, when I wrote my first compiler I had to write my own yacc equivalent, and parser FYI: My generator allowed for dynamic resolution of shift/reduce conflicts which allows you to compile some languages yacc wont let you (