Hacker Newsnew | past | comments | ask | show | jobs | submit | evilthrow's commentslogin

GET /{username}


You definitely don't need a framework to get the user name out of a URL, you need one line of code.


And what would that line of code be? As far as I am aware you have to parse the URL string, and it only gets more complicated when you add more URL parameters. Which definitely leads to boilerplate code shared across projects.


It's also not especially performant to do the naive (i.e. short) implementation like this, since you'll likely end up parsing/processing path elements left-to-right rather than in whatever order makes the most sense for your loading.


Assuming the url is formatted correctly:

  strings.Split(urlString, "user/")[1]
https://go.dev/play/p/tWi-Ge0CA1X

That's one way to do it.

>more URL parameters

I thought thats what http.Request.ParseForm() was for (assuming correct formatting)


> Assuming the url is formatted correctly

... is like, a core job of an HTTP router? You're not just begging the question, you're beating someone up and rifling through their pockets for it.


> (i.e. the tweets of anybody who has blocked me)

Would you rather have them invade every bit of privacy you have to track you when you are signed out?


I think he's saying he would rather the "block" function not block the ability to read the tweets, just the ability to reply to them.


> This study appears to have been done in Canada, where parasite infection rates in the general population are probably 1% or less. Hence... no demonstrable benefit to using Ivermectin!

"Dr. Mills and his colleagues looked at 1,358 adults who visited one of 12 clinics in the Minas Gerais region of Brazil with Covid-19 symptoms."


To close that circle, apparently parasite infection is quite high in Minas Gerais:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4964320/ > Eleven sites were selected for sampling. Cysts of Entamoeba coli were the most frequently found in this study (50%), followed by Hymenolepis diminuta eggs (27.6%), Iodamoeba butschllii cysts (5.6%), Ascaris lumbricoides eggs (5.6%), Taenia species eggs (5.6%) and hookworm eggs (5.6%). The highest positivity rates were found in the samples drawn from the cafeteria's eating table.

https://pubmed.ncbi.nlm.nih.gov/30050346/ > Results: A total of 216 slides were analyzed [sampled from public bus seats], of which 86 (39.8%) were positive for at least one intestinal parasite.

https://pubmed.ncbi.nlm.nih.gov/29972467/ > The aim of this study was to establish the prevalence of Schistosoma mansoni in indigenous Maxakali villages, evaluating the TF-Test® performance for diagnosis compared to the Kato-Katz technique. Stool samples from 545 individuals were processed by the TF-Test® (1 sample) and Kato-Katz (1 slide). The positivity rate for S. mansoni by Kato-Katz was 45.7%. The rate by the TF-Test® was 33.2%, and 51.9% by the combined parasitological techniques. The amplitude of parasite load was 24 to 4,056 eggs per gram of feces (epg), with a geometric mean of 139 epg.


Sadly, I could find no studies on parasite infection rates in Minas Tirith, however.


The dreaded Morgul Crabs are a known problem.


Minas Morgul wouldn't have been a surprise. Minas Tirith so, I thought they were more open and accessible...


I can't find a link to the actual results. Wondering if they excluded parasitic infection as a confounder, or something.

Alternately if they gave the antiparasitic far enough before the infection, the rather complex causal sequence of "severe Covid -> steroids -> parasites multiply -> Ivermectin to the rescue" might not happen in the first place. Though that should show up by severe cases not having the parasitic reaction to begin with, if the Ivermectin cleared them out.

- So in summary, actually, now that I think about it, in a country with high parasite load, an antiparasitic having no detectable effect on survival rate of a high-stress infection seems pretty suspicious on the face of it! Really could go for a study link.


If I can not pay, I will not pay.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: