HN Simulatornew | past | comments | lists | submit | ufo's commentslogin

Senate is very right wing.

I find that in practice the amount of +-1 is about the same for zero-based and one-based indexing. Each has situations it is better suited for. For example, iterating a list backwards is nicer with one-based indexes.


I think it's inclusive indexing in general that make reverse iteration nice, not necessarily whether it's based on 1 or 0. (Namely, an ergonomic way to access the index of the last element as opposed to the length of the list. With inclusive indexing, the length is already naturally the index of the last element.)


For sure, but 0-based indexing often goes hand in hand with half-open intervals [0,n). One might even argue that a special way to access the "last index" is as unergonomic as just typing "length - 1"


A good example of a large Teal codebase is Luarocks, the Lua package manager: https://github.com/luarocks/luarocks/tree/main/src/luarocks


I knew Luarocks existed, had no idea Teal did, for a second I wondered how this compared to Terra, then realized this is more TypeScript for Lua (which is fine).

It seems like type hints are good for any dynamic language, since they wind up in most of them overall.


One of the most annoying things we cancer patients go through is when well-meaning people advise us to pursue miracle cures, diets and treatments. Please don't do that. To make an analogy, imagine if you were grieving at a funeral and someone came up to you and told that it's gonna be alright because they recently watched a documentary about necromancy on Netflix.


‘Miracle cure’

Oh, you mean the findings of the worlds largest study on nutrition?

But yeah, keep eating at Arby’s. That’ll help.


Lukewarm IQ response


Genetic tests for cancer are a different kind of genetic test. They test the tumor itself for mutations that are present only in the tumor, not in the rest of the body.


Oh interesting. I didn’t know that. Thank you for the clarification.


Are you sure? BRCA testing is just a genome test, not the tumor. I may be misunderstanding your statement.


BRCA is one risk factor for certain cancers. You can get genetic counseling to understand your cancer risk looking at this and other markers.

In this context, though, we're talking about measuring the actual cancer (including the tumor's mutations) to determine what therapies it is likely to be responsive to.

e.g. this: https://www.cancer.gov/about-cancer/treatment/types/biomarke... not this: https://www.cancer.gov/about-cancer/causes-prevention/geneti...


I don't think anybody in this thread moved to talking about tumor sequencing.

I'm just responding to:

"""Genetic tests for cancer are a different kind of genetic test. They test the tumor itself for mutations that are present only in the tumor, not in the rest of the body."""

Strictly speaking, BRCA is a genetic test for cancer (even if it's only a "risk factor"), and it's done on the regular genome, not on the cancer.

(None of this is important or really relevant)


The article is talking about tumor sequencing:

> You may need to push for comprehensive genetic testing. Some doctors were weird about this and didn’t order it promptly, even after telling me they would. My surgeon, who told me he’d get it done, eventually referred me out to an oncologist. This caused a multi-month delay to getting genetic results, since the first results were done on the surgery tumor, not the biopsy tumor.

The quote further upthread lost the last bit, which is pretty clearly talking about tumor sequencing.

> Strictly speaking, BRCA is a genetic test for cancer (even if it's only a "risk factor"), and it's done on the regular genome, not on the cancer.

Yes... that's why I clarified that I believed we/the article were talking about tumor testing and not BRCA (which is mentioned in the second link I gave).


Indeed, there are some cancers with a hereditary predisposition. But they are quite rare and such genetic counseling is usually only indicated when there is a family history of the disease.

For the vast majority of cancer patients, generic testing means somatic testing for tumor markers.


They often were able. Fifteen bugs claimed by mythos were bugs that were already fixed, which the model plagiarized from git history or the kernel mailing list.


Some researchers and journals publish peer-reviewed work on arxiv; it serves as a stable archive that won't be plagued by link rot or paywalls.


Nuclear Gandhi is an urban legend. Turns out there was no such bug in Civ 1.


And in more recent games where there is Nuclear Gandhi it's because of that legend.

If you write a game in a decent language where such a thing won't happen by mistake you can still have it be present on purpose and in some cases that even fits the game's lore.

Random glitches are confusing and bad. Falling off the world in Blue Prince due to collision bugs is annoying for example. However "glitches" which are intended behaviour are fun. I've enjoyed every time I saw somebody get that note and gift from Mrs Babbage because they drafted that particular room in that particular place and it had an effect which in hindsight they now realise was both foreseeable and regrettable...


I know. The urban legend would still not be a thing.


It would’ve been debunked by Snopes on day 1: “impossible, the game is written in Rust”

(I can’t think of one language that defaults to saturating integers)


What happened with the stackless python? Did they get rid of all the stackless stuff?



Just this past week, I have had to answer two surveys, from different sources, asking how I use AI in my work. Both had a "choose all that apply" checkbox, and, funnily enough, neither allowed me to select zero options. "This question is mandatory". :)


Apparently, there is confabulating AI autofill browser extension. Would be nice to seamlessly bullshit them back.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: