Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
briHass
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
631.
▲
by
briHass
10y ago
That's how I do it with mutual fund shares, which would be a similar situation to Bitcoins due to it all technically being one "pot". If you use a tax-lot specific accounting method FIFO/LIFO/highest cost/other
632.
▲
by
briHass
10y ago
The short answer is that there is no cutoff. There are certain cases based on the time you held the asset (long-term) and you having a low income, but most likely, tax is due on all capital gains, and regardless, they must be reported. htt
633.
▲
by
briHass
10y ago
For the hardware side: "Code" by Charles Petzold. https://www.amazon.com/Code-Language-Computer-Hardware-Softw...
634.
▲
by
briHass
10y ago
I suppose what you're saying is that Johnson (3%), Stein (1%) and other (0.7%) means that not everyone in the country voted for one of the two. While true, the relative difference between the two main contenders is what matters. Accord
635.
▲
by
briHass
10y ago
> Trump lost the popular vote by a significant margin I'm not sure the facts support that statement. As of this comment: Trump: 59,341,446 Clinton: 59,578,989 That's a difference of just 237,543 votes, out of about 125 million
636.
▲
by
briHass
10y ago
I actually have just, over the past few months, been playing all the Final Fantasy/Square games that I never experienced. I played them in the following order: FF4 (USA FF2), FF6 (USA FF3), Secret of Mana, Chrono Trigger, FF5, and FF7.
637.
▲
by
briHass
10y ago
The sources mentioned in that article are ALA, which have conversion rates to the desired DHA/EPA that vary greatly between individuals [1]. Typically, something like 5% of ALA is converted to EPA and even less is converted to DHA. It&
638.
▲
by
briHass
10y ago
Part of the issue is their desire to keep the product vegan. Instead of using known-safe, health-promoting sources of polyunsaturated (O3/O6) fats like fish oil, they use algal sources, which have very little data supporting them as sa
639.
▲
by
briHass
10y ago
Query parameters are encrypted if you are using HTTPS. The domain/host name (e.g. news.ycombinator.com) obviously is not protected, since the DNS lookup is required and the server (resolved IP) may host multiple sites. Seeing the hostn
640.
▲
by
briHass
10y ago
To some degree, this looks like premature optimization. That query (on the normalized tables), with the proper indexes and decent hardware, should be plenty fast, even with millions of rows. I would potentially start my optimization by cons
641.
▲
by
briHass
10y ago
If you're looking for a cookbook, this one is good for some ideas: https://www.amazon.com/Ketogenic-Cookbook-Nutritious-Low-Car... Personally, I'm not a huge by-the-book cooker. For my keto/very-low-carb diet
642.
▲
by
briHass
10y ago
The situation is almost entirely the opposite of what you stated. Modern cars make more power while using less fuel [1][2], are way safer [3], more reliable [4], and are cheaper, relatively, than ever [5]. "Fun to drive" is subjec
643.
▲
by
briHass
10y ago
> In many US jurisdictions, not generally the case. The ones with a strong "castle doctrine" are notable because this is not the norm. Unless I'm misunderstanding your statement, it's actually the other way around. Mo
644.
▲
by
briHass
10y ago
To be fair, that small-town SE in Tennessee probably won't have much trouble saving for a house. On the contrary, making $100K, or just under, in Tennessee is going to make you comparably very well-off. The median home price in Nashvil
645.
▲
by
briHass
10y ago
The brackets, maybe. Preferences for brackets for single lines vary. I personally don't like them, but many code style guides (including MS's) recommend them. The LINQ version should be allowed almost everywhere that has a good de
646.
▲
by
briHass
10y ago
Generally, unless you have a specific medical condition that warrants restricting salt (kidney disease, high blood pressure), there's no need to worry about normal doses of salt in the diet. In fact, too little salt can actually be ver
647.
▲
by
briHass
10y ago
This is not really ideal either, because the hash becomes the password. If an attacker got the hashes from your DB, he would only need to send the stolen hash to the server to authenticate. The ideal way to deal with passwords would be some
648.
▲
by
briHass
10y ago
> Only Walmart and private prisons benefit from this; everyone else is worse off. That seems a little hyperbolic. Stealing less than $100 in FL is a 2nd degree misdemeanor, usually just punished by a fine and probation. No private prison
649.
▲
by
briHass
10y ago
What, exactly, should Walmart's response to shoplifting be? The article seems to make a point of the low dollar-value of some of the items stolen vs. how much the police spend arresting the subjects. I fail to see why the value of the
650.
▲
by
briHass
10y ago
It's easy to forget just how well some modern artists fine-tuned the hit song production process. Everyone thinks of The Beatles, but Mariah Carey, Rihanna, and Beyonce (if we include her Destiny's Child time) all beat them for we
651.
▲
by
briHass
10y ago
Yep. Open requested link in a new tab, change the previous tab to some autoplay video or fake chat interface. It's not phishing exactly, but it is certainly devious.
652.
▲
by
briHass
10y ago
Right, you just buy low, and sell high. It's so simple, I don't know why everyone doesn't do it. In reality, there's nothing statistically inconsistent with a 5 sigma outlier like Buffett.
653.
▲
by
briHass
10y ago
This is basically a restating of William Sharpe's famous 1991 paper that basically started the whole discussion. "Properly measured, the average actively managed dollar must underperform the average passively managed dollar, net o
654.
▲
by
briHass
11y ago
It is said enough to be a cliche at this point, but heavy weight lifting. Having a fit, well-muscled physique will dramatically improve how other men view/treat you. It seems silly, but the evolutionary hard wiring of size/strengt
655.
▲
by
briHass
11y ago
Near the top. They were informally audited by a university research team, and the few issues they found have long since been corrected. The fact that it is offline, open-source, and (on Windows) uses the standard Win crypto libraries gives
656.
▲
by
briHass
11y ago
Sure. I ordered: APU2C4 http://pcengines.ch/apu2c4.htm case1d2blku http://pcengines.ch/case1d2blku.htm (black cases run cooler) http://pcengines.ch/ac12vus2.htm (power plug) db9cab1 http:&
657.
▲
by
briHass
11y ago
I had trouble getting a hold of one of those C1037U boxes from China. The seller would 'run out of stock' frequently if I found one for a decent price. I ended up going with the APU2B4 board (an upgrade from the APU1D mentioned in
658.
▲
by
briHass
11y ago
Octopus Deploy also has a small tool, DBUp, which can run migration scripts. I've been using it for years with no issues. https://dbup.github.io/
659.
▲
by
briHass
11y ago
Yeah, that would only be evaluated once, since the value of n doesn't change inside the loop.
660.
▲
by
briHass
11y ago
It doesn't matter much for his test, because the compiler won't optimize it, but one can simplify the loop to only go from 2...n/2+1 e.g. change the line to: for(int a=2; a<n/2+1; a++) That would be the obvious optimi
More ›