HNHacker News
TopNewBestAskShowJobs

TTPrograms

1,676 karma · joined January 4, 2014

Background in Physics, EECS, Math. Currently working in algorithms development for compressive sensing and image processing with interests in optimization based approaches.

If it's up to me I'll write a 5 page math derivation before every 50 lines of code - but that code will do some crazy stuff.

submissionscomments
TTPrograms··on Excel as Code
In the past I wrote a simple formula evaluator in Python I used to replicate some multicell calculation - the spreadsheet I had took the form of mostly simple algebra being performed in a scanning pattern against various small windows in time (rows) from a set of columns. I just extracted the cell formula definitions and transformed them.

It may not be that hard to replicate the set of formulas you need to get 90%+ of your excel model.

If someone implements a 90% reimplementation of Excel in Python that would be a really useful library for stuff like this. You could do some neat stuff with dependency identification too.

TTPrograms··on The world must cooperate to avoid colliding satellites and space debris
Kerbal Space Program intuition tells me that the worst case is that you produce a high velocity piece of debris aligned perpendicular to radial vector, e.g. aligned with the existing orbit. I think this is a fairly unlikely direction to transfer energy in a head-on collision (by conservation of momentum arguments). That debris would then traverse a fairly elliptical orbit with frequent passes at the same altitude, likely resulting in relatively rapid de-orbit. The main risk would be inducing chain reaction at higher altitudes during those few passes, which seems unlikely.

Any other debris trajectory induced by collision would hit lower altitudes in less than one orbit time (either going outwards and thus on a much more eccentric orbit, resulting in lower altitude pass in less than one orbit time, or going inwards and immediately passing at lower altitudes). So that debris seems likely to deorbit even more quickly, indicating your intuition is correct.

This all makes sense once you grok why craft need two separate boosts to transfer to a higher geocentric orbit.

Of course there's a transition point where satellites are so dense that even these short-lived trajectories are sufficient to induce a self-maintaining chain reaction of debris. I suspect that's unlikely - the probability of a collision occurring in one or two orbital periods seems negligible.

TTPrograms··on Some Night-Shift Workers May Have a 300% Higher Risk of Car Crashes
It seems like analyzing fault here is important. Maybe driving late at night makes it more likely you will be hit by another driver (e.g. a drunk driver)?
TTPrograms··on Spectrum upset about me using the upload they sold me
I'm not sure that works when you paid for X cheese dogs per hour.
TTPrograms··on Cosmic rays causing 30k network malfunctions in Japan each year
Can you give OOM of any of the improvements? Eg. crash rates halved?
TTPrograms··on TLA+ Action Properties
Would it make sense for the TLA+ source to just be a subset of LaTeX, then? At least some fraction of the potential userbase is already familiar with that.
TTPrograms··on The Dao of DAOs
It seems perfectly viable to distribute revenues to DAO NFT holders - why do think that's not possible now? Are you saying the contract is not legally enforceable? It seems straightforward to have the DAO distribute any incoming tokens proportionally to NFT holders.
TTPrograms··on Grabby Aliens
The Fermi Paradox is not real if you consider the massive uncertainty we have on the parameters of the Drake equation:

https://arxiv.org/abs/1806.02404

TTPrograms··on An Economic Analysis of Ethereum
I feel like I disagree with the bottom-line a bit - a 100/0 split seems to ignore the possibility that a future stable state of the Ethereum network will be capable of supporting stablecoins or other coins with arbitrary monetary policy that are capable of matching or surpassing Bitcoin in all metrics of technical merit. I would not want to be a Bitcoin maximalist in that situation.
TTPrograms··on Reverse-engineering the problematic tail behavior of Fivethirtyeight forecast
Choosing to engage in these sorts of bets systematically exclusively and not individually only makes sense if you're not maximizing expected return. You also don't know if I engage in these sorts of bets systematically.
TTPrograms··on Reverse-engineering the problematic tail behavior of Fivethirtyeight forecast
To you and the other comment - as much as I dislike Taleb's rhetoric, this is precisely the sort of bet he has made a lot of money on. People round rare event probability down to zero, and if you bet against them enough with sufficiently extreme odds you'll eventually (and in expectation) hit a home run.

I would be more than happy to make this bet with anyone willing to take the other side - as in literally, find a modern middle-man system and I'm game.

You may want to be aware that you have provided me a nontrivial arbitrage opportunity, as the odds on predictit are closer to 7:93 : https://www.predictit.org/markets/detail/6611

TTPrograms··on Reverse-engineering the problematic tail behavior of Fivethirtyeight forecast
For a post on a blog presumably focused on statistics the author seems oddly concerned with a model that predicts odd events as being "possible". The difference between "possible" and "impossible" is \eps << 1 - there's no real distinction to be made there in practical statistical terms.

Likewise asserting that California with a 3% chance of going Trump is absurd is an unreasonable degree of overconfidence. Assuming maximizing expected return, the author is implying that they would be willing to take a bet that Trump would lose California with odds >> 97::3, i.e. presumably they would take a bet where I bet $1 to every $99 they bet. To be critical of a model based on outcomes it predicts with tiny probability you need truly remarkably biased priors.

TTPrograms··on Why traditional reinforcement learning will probably not yield AGI [pdf]
I think you are hiding a key assumption - that an AGI must be capable of performing optimally on a task with Archimedean measure. This is a very strong assumption - performing eps-close to optimal may certainly fall in the definition of AGI, and this might be achieved by a non-Archimedean approximation. Defining AGI as performing optimally on any set of tasks is problematic from a computational theory perspective in general - even with real reward signals.

Furthermore, infinite rewards are not compatible with human behavior. Humans never optimize for a single event at infinite expense w.r.t. other goals.

TTPrograms··on How to put machine learning models into production
You only get 80% of the gains if your data distribution is stationary and/or you can construct a non-ML solution with near 80% of the ML one. If a non-ML solution is that close to non-ML then I would just stick with that - the advantages in terms of predictability and ease of maintenance would likely outweigh small performance gains.

A model that can't be continuously trained inevitably rots due to data, interface or environment changes (and the code is typically very difficult to maintain across team members - if the author leaves it's often a ticking time bomb). If you're OK with the model rotting then it wasn't that important to your business to begin with. This is not true for all businesses.

TTPrograms··on Magicimport.py: Python code that fetches its dependencies without complaining
This is a toy/neat experiment that someone made and they explicitly say you should not use it for production. This sort of criticism is inappropriate (or at best, poorly framed). This is Hacker News, and this is a Hack.

If I made a bot that drives cars around in GTA would you make a post ridiculing how dangerous my lane detection algorithm would be for a self-driving car in snow?

Furthermore, the point OP makes about L5 cars being presumably achievable while "L5 software" is not is a 100% valid point - why should we not aspire to that level of consistency and effectiveness in our systems? Maybe achieving this is actually possible and projects like this inspire the approaches that actually deliver those capabilities in a production-mature form.

TTPrograms··on Dissecting Lemire's nearly divisionless random number generator
That's called "Two's Complement" - here for 64 bit integers.

https://en.wikipedia.org/wiki/Two%27s_complement

Say x = (2^64 - s) in a 64 bit integer. Then (x + s) = 2^64 = 0 (as 2^64 rolls over to 0). So for the purposes of addition etc. you can say -s = 2^64 - s.

TTPrograms··on TSMC plans to halt chip supplies to Huawei in 2 months
In a postnuclear world this comparison is absurd.
TTPrograms··on There is one, and only one strain of SARS-CoV-2
I'd say that behavior is similar to if an individual in, say, a school or assembly, shouted "FIRE" upon witnessing a chemistry demonstration involving a controlled flame. If that somehow caused a stampede resulting in loss of life they might be held accountable by the courts. These acts on social media can be quite similar philosophically, so one would expect that the legal treatment should be similar (albeit perhaps adjusted proportionately for impact and reasonableness of the held belief).

I don't necessarily think that's what should be done in practice, but it seems consistent with how western society responds to this behavior in other settings.

I don't necessarily think there is a good solution, either - I just mean to say that people who do that, even if they are well-meaning, are behaving unethically. That's because they believe in their own perspective with 100% probability, but that's obviously unreasonable from a Bayesian perspective. If they accounted for even a small probability that they are wrong then their behavior would change dramatically.

TTPrograms··on There is one, and only one strain of SARS-CoV-2
The problem is that you have every Jane and Joe who's ever put a line through a set of points making graphs and arguments that conflict with the consensus of epidemiologists/social statisticians. It's fine (and good!) to investigate that sort of thing and share your results, but then you should be sharing "I did this sort of analysis, it seems to conflict with all these other analyses, does anyone know why? Maybe X?". Instead you have "OMG when you do this it looks like Y, the powers that be are lying to us!".

For a non-critical issue this would lower the quality of discourse slightly, but it's not an exceptional problem. In the case of critical major issues involving active disinformation this is highly irresponsible behavior.

TTPrograms··on Why a Data-Security Expert Fears U.S. Voting Will Be Hacked
Are they really both significant issues? A successful cyber attack could enable a single individual to decide multiple elections. A voter id attack could enable at most, what, 10 votes per conspirator? An undetected voter id fraud changing the outcome of an election seems absurd.
TTPrograms··on Tiers of answers to half-baked questions
I often encounter (especially among academics) people who are quick to refute questions or ideas on trivial grounds based on trivial formal description errors of the type described in this post. To any non-expert the intent of the ideas or questions is clear, but the formal thinkers are often quick to dismiss based on these trivial inconsistencies. I have a strong aversion to being dismissive or mean to people, especially in public, so by default I reinterpret in those cases - "If by X you really mean Y (where the difference between X and Y is only clear to an expert well-versed in formal descriptions of the subject matter) then yes, that is an interesting idea - the pros and cons are as such...". 99% of the time they actually mean Y, but they're just not quite well-versed enough to phrase it that way - or, upon knowing that swapping from X->Y converts their statement from trivial to meaningful, they would often be happy with Y capturing the sentiment they wish to convey.

I have started proselytizing this approach to my colleagues, because some of them are simply too formally minded to "pull themselves out" enough to interpret such statements generously. I do think some subset do use this sort of denigrating approach to cement their authority, which I find silly.

TTPrograms··on YC S20 Remote Batch
It's sort of crazy to make such a sweeping decision based on one case - especially when remote collaboration tools are improving on a quarterly basis.

Of course statements like this are just rationalizations - not arguments employed to arrive at objective conclusions.

TTPrograms··on Paul Graham’s thoughts, discoveries, and tricks on parenthood
Interestingly, this perspective (which I also subscribe to, broadly speaking) resolves one of the core paradoxes with utilitarian philosophies - if you believe the moral value of existing has any positive value with respect to not existing, then you would have a moral obligation to have as many children as possible. This is resolved if you believe that existence is at least capable of having less "moral value" than non-existence for some life experiences.
TTPrograms··on Mosh
I would also love this feature, but I understand the argument that it's major feature-creep for this project - as I understand, with mosh as implemented it would be difficult to integrate. IIRC they would have to roll some kind of TCP over UDP? I'm not sure, it's been a while since I looked at it. I'm willing to accept a good tool missing features over a poorly maintained tool that at some point had all the features I care about.

And realistically $600 is a pittance compared to the long-term cost of maintaining a feature that has the potential to dramatically increase the size of the code base.

TTPrograms··on Covid-19 Rapid 15 minutes Test Kit
Why does this company sell N95 masks as well? For a company selling 3 products that's a strange combination - unless this company is just some sort of distributor. In the latter case, why is this news?
TTPrograms··on Social distancing is the only way to stop the coronavirus
Do you get vaccines? After all, vaccines can have adverse outcomes. The overall mortality rate for mumps is .01%, so why bother inconveniencing yourself if the impact is going to be so negligible?

A German report that came out today indicated that there is significant pre-symptomatic viral shedding. So you could be not showing any symptoms yet unknowingly pass the disease on to the people around you that you care about. This is, of course, not an issue if there are not people around you that you care about...

TTPrograms··on Am I Unique?
A better solution would be to scramble parts of this fingerprint for each domain.
TTPrograms··on How much innate knowledge can the genome encode?
How much confidence do we have that the literal base pair encoding of DNA encodes the entirety (or even the majority) of the information needed to construct an individual, anyway? As the author mentions, you have things like histone dynamics as well as other potentially relevant variations in the many organelles that make up the cell. Eggs in particular are chock full of proteins that are directly passed down from the parent that could have important implications for gene expression frequency. These effects would either have to be self-propagating in some way via further protein synthesis or their effect would be primarily early-developmental, but they could still have large effects on grown individual.

As evidence for this we know there are all sorts of heritable epigenetic effects. It would also partially explain the partial failure of GWAS to pinpoint all an individual's features as was previously hoped before the human genome project completed.

It seems like there's a process called Somatic Cell Nuclear Transfer that might make possible to evaluate aspects of this, but it doesn't appear to have been performed sufficiently many times with different individuals to draw major conclusions.

TTPrograms··on YouTube’s Rabbit Hole of Radicalization [pdf]
Which formerly moderate views do you believe are being de-normalized by "editors and academics with agendas"?
TTPrograms··on CDC Confirms a THC Additive, Vitamin E Acetate, Is Culprit in Most Vaping Deaths
I'm not sure the addition of white vinegar should be of any particular concern...

https://en.wikipedia.org/wiki/Acetic_acid https://efsa.onlinelibrary.wiley.com/doi/abs/10.2903/j.efsa.... - "The substance readily hydrolyses" https://en.wikipedia.org/wiki/Lipid_pneumonia

← PreviousPage 2 of 20Next →