Better HN
topnewbestaskshowjobs
Log inSign up

queuebert

3,149 karma · joined Mar 12, 2021 (5y ago) · 1,201 submissions

Submissions

comment 3y ago · link · parent

Do these extensions track the dislikes externally, or do they somehow bring it back on YouTube's side?

comment 3y ago · link · parent

Yes, why not?

comment 3y ago · link · parent

Which graphics library would you use? Or would you still tie into SDL2, which is written in C. ;-)

comment 3y ago · link · parent

Rust is the worst systems programming language, except for all the others.

comment 3y ago · link · parent

Also, being installable with cargo is slick.

comment 3y ago · link · parent

Exactly...

  int oops[10];
  oops[69] = 420;

comment 3y ago · link · parent

People said that about Cobol. I would expect C++ to be around for another century at least.

comment 3y ago · link · parent

In programmer parlance this is known as "giving them the D".

comment 3y ago · link · parent

Fleming was involved in Operation Mincemeat.

https://en.wikipedia.org/wiki/Operation_Mincemeat

comment 3y ago · link · parent

Reading his books makes you feel like you are performing espionage in order to uncover the hidden plot.

comment 3y ago · link · parent

Title should say "The Discrete Fourier Transform, explained in one sentence".

comment 3y ago · link · parent

This is why banks fail. Just kidding.... :-P

Estimated Sharpe for a trade would be what you think the return should be (e.g. fair market value - current price) divided by the estimated future variance. This is what you estimate for VAR and compare to your risk tolerance. The eventual accuracy of the estimates will determine whether it's a ho-hum trade or a black swan that wipes you out. Black swans are essentially situations in which variance estimates were completely wrong (as opposed to return estimates).

Variance is a function of a bunch of things (and correlated with every damn thing). Simply taking historical variance and assuming it will be the same in the future is the laziest possible solution. Black Swan events have woken people up to platykurtic Gaussians and the fact that many real life distributions aren't even Gaussian. This is why you use Monte Carlo, because it doesn't need to assume a kurtosis or even Gaussianity, but is more computationally intensive, but not terribly so, but also suffers from low sample number at the tails, so it's not that accurate in extreme situations either. An additional red flag is that, if you have to use MC, then you don't know the distribution underlying the process, and if you don't know that there might be other things you don't know.

Crypto is one of the newest markets, so we understand a lot less about its extreme conditions and the tails are very uncertain. Even with Monte Carlo I wouldn't trust crypto Sharpes one iota.

Sorry if you know all this stuff. Thought I should clarify where we probably actually agree but may be thinking of it differently.

comment 3y ago · link · parent

That is a backward/ex-post Sharpe ratio. Bankroll management requires knowing the forward Sharpe ratio for VAR. You can't know VAR without knowing the forward expected variance. This is why black swan events wipe out traders who think they know their risk but really don't.

comment 3y ago · link · parent

The problem is no one can calculate a Sharpe ratio for crypto. The variance is not well understood.

comment 3y ago · link · parent

Isn't #derive a syntactical sugar for a bare impl?

comment 3y ago · link · parent

That's why I said "flavor". It's not exactly inheritance obviously, but provides some of the same functionality. There are many ways to skin an OO cat.

Traits describe the methods implemented, and you can override with specific implementations or inherit the default, from a level up.

comment 3y ago · link · parent

Rust has a flavor of inheritance through Traits and #derive.

comment 3y ago · link · parent

Mapping to 'x' is dangerous since on a system where you don't have your vimrc you'll get the original behavior of 'X'. Ideally you'd map 'X' to deliver a small electric shock. ;-)

comment 3y ago · link · parent

rsync.net works well with borg, fwiw.

comment 3y ago · link · parent

I would add that I/O in Haskell is pretty sub-optimal, so that hinders its adoption.

But I feel you in that I'm an average-ish developer, and I write Rust with a constant fear that I'm "doing it the dumb/noob/wrong way". For example, maybe I just want to write a print method for an object, but I know the Right Way is to impl Display, so I do that so I won't be ridiculed.

comment 3y ago · link · parent

The hidden copy of UT resonated deeply with me. We spent many hours playing Doom and Quake in the high school computer lab when the teacher was out of the room. Every time we were discovered we had to hide it somewhere else.

comment 3y ago · link · parent

#c-jeopardy is great fun as well.

comment 3y ago · link · parent

21st Century C: https://www.oreilly.com/library/view/21st-century-c/97814493...

comment 3y ago · link · parent

Yes, the F-150 has really undergone radical design changes in the last 10-20 years. /s

comment 4y ago · link · parent

I always wonder whether the heat calculations are correct. For example, if you compute the equilibrium temperature in a room on a table, then you get a cooler temp than when sitting on a lap that is 98.6 F. If the temperature sensor is near the CPU (i.e. one boundary of the heat equation solution), then it might not see more than a degree or two difference in very different external environments.

comment 4y ago · link · parent

Covid has killed millions. How many have died of myocarditis? While I agree with your sentiment, it's hyperbolic to claim the vaccine has done "exponentially more damage than the virus".

comment 4y ago · link · parent

Levered losses?

comment 4y ago · link · parent

All of you AI people reading this should work on predicting side effects and outcomes from these therapies. That would help decrease the cost tremendously.

comment 4y ago · link · parent

General aviation is quite a ways behind where cars are right now. There are new planes like the Cirrus SR22 that have made advances, but they are far from ubiquitous. Most GA planes are like driving a 57 Chevy except if the engine dies, you die.

comment 4y ago · link · parent

Hollywood is dying because reality is so much more entertaining.
1
252627
41