HN user

entitydc

78 karma
Posts0
Comments35
View on HN
No posts found.

This is possibly the best description of my development process I’ve ever seen.

I’d add “staring into the distance” alongside the mumbles (yes, when pacing, that often means I run into corners of walls, couches, etc).

I think of it as iterative development in my head, and it’s often focused on finding the fastest path to proving that an architecture or implementation is wrong; when I find it hard to prove why something won’t work, then I begin to explore in depth the idea and have a pretty big running start on the code, which flows a lot more quickly when I’ve done this than when I just sit down and start typing.

Mostly recording and replaying the network request logs through Chrome and comparing diffs as I clicked around, looking at headers and URL params generated from clicking to get a high level picture for how it all fit together.

They didn’t do anything fancy in terms of auth, etc, so the only thing that was challenging was guessing some additional parameters and formats for things like number of nights, etc., once I had the basic structure.

Once I had a basic search working, the rest of it was pretty straightforward. It works for other hotels that use this booking software as well, but I didn’t bother to go down that rabbit hole much further as I didn’t want to encourage adversarial techniques and I only need to use it a few times a year.

One of my favorite spa/hotels for a weekend retreat for my wife and I has absurd waitlists — takes a few months typically to reserve 2 nights. However, they have a 7 day cancellation policy that leads to a U shaped availability curve for rooms.

The hotel website itself is inordinately difficult to search more than 1-2 nights (each day takes 6-8 clicks to search), but it’s all queryable through an undocumented API, so I wrote a small CLI tool in Crystal that can scan the next 60-90 days (configurable, of course) to see if there have been any sudden openings.

It does it all in parallel, so I can find out within about 10 seconds if there are any rooms available within a 30 (or longer) day range.

It’s already helped booked one wedding anniversary trip and one special getaway for 2 friends. I don’t use it often, but it’s wonderful to have around.

I’ve been developing in Crystal a lot lately, and it’s a very interesting middleground.

You can still monkey patch, but having type safety and compilation gives you guarantees that you don’t get when you do the same thing in ruby. What you get out of the box is flexible, but still doesn’t require “discipline” in the same way Rails is.

The downsides right now are the small community and compilation times are an impediment to new dev UX for sure, but it’s definitely caused me to rethink what I really value from ruby.

Ironic that the current trials will take 5 years, given how many times T1s have been promised that a cure is “5 years away” (seriously, it’s a running joke) — but this does look promising.

Looking toward to talking to my endo about his views on this and for the first time in a long while, feeling slightly hopeful that this may not be a lifelong, incurable disease. Unfortunately if the only viable path for now requires immunosuppression, it’s going to be a non starter for many like myself, but it’s still a legitimate breakthrough that can hopefully lead to other avenues.

There are some interesting hypotheses around microtubules and their potential role in consciousness; this directly ties in with your comments around anesthesia - I've certainly had a similar subjective experience under anesthesia, when compared to other forms of consciousness disruption (sleep, psychedelics, and seizures).

This talk is definitely out on the fringes, but I find it interesting for stimulating thinking about a lot of this: https://www.scienceandnonduality.com/video/a-brief-history-o...

I don't believe it was in bad faith; that said, it was very much an interpretation, and your use and perception of language differs from mine, so we may just have a different reading of the sentence "Why bring it up unless you do?"

I'd note that I wasn't the only person to note the aggression in your tone; I'm not intending to shame you for your choice of language, but instead to point out that there are at least two people here who cared enough to respond to you and let you know that it seemed overly aggressive, and that perhaps there are better rhetorical techniques to achieve the same end.

I'm sure others found your tone perfectly reasonable, but I can only voice my own view of how it came across, and how it seemed harmful, not conducive to, open discussion.

It’s not - it’s your responsibility (IMO) to be civil and constructive, which I’d argue your second sentence wasn’t.

Your first sentence — while the subject isn’t hard to research for yourself — was fine as it added to the potential of the conversation by encouraging people to cite sources; your second was unnecessarily combative and I’d argue intended to induce some shame response in the OC, and didn’t bring any benefit to the community at large.

There are numerous, due to the receptors it activates. Look into research on fenfen or if you’re just looking to take a quick but detailed survey of the info, there’s a lot here: https://www.reddit.com/r/DrugNerds/comments/2mqqww/psilocin_... - this is mostly about psilocybin but they work on (mostly) the same receptors, but at different affinities.

I say this as a huge proponent of psychedelic research and use, but with the qualification that very few things are universally safe for all, so we really should be as open as possible to studying not only the benefits, but also concerns, that come with psychedelic usage.

LSD isn’t still fully understood there, but from what I gather Psilocybin is probably a greater concern (more agonism on HT2B than LSD).

Neither show long term correlation with lower long term health outcomes (typically the reverse) but with microdosing being more prevalent and science being able to study more of this above ground, I’m hopeful we will have a better answer to this eventually.

https://www.reddit.com/r/DrugNerds/comments/2mqqww/psilocin_... - which has a ton of assumptions in it, but is very forthright with those, is one of the better analyses I’ve seen on this topic, but if there’s more out there I’d love to see it.

The gist that I’ve gathered so far is that for most people, going with a Fadiman-esque approach (2x/week dosing), combined with anecdotal data gathered from researchers conducting surveys, seems to suggest that it’s not egregiously unsafe, at the least. But still certainly worth paying attention to - a big part of the reason I cycle in and out of microdosing - it’s too helpful for depression, anxiety and disconnection to abandon completely, but there’s no such thing as a free lunch.

I think the "outside of mental illness" is a pretty important qualifier here. I've never hit the point personally where I'd prefer death to diabetes, but I've certainly been close, and were it not for a pretty fortunate life - good insurance, ability to afford a good doctor who is knowledgable in this field, ability to afford a CGM and never have to worry about paying for testing strips (another ridiculous expense - frankly far worse than insulin given how much larger of a population it impacts) - I could certainly see myself in their shoes.

They aren’t toxic or poisonous, but psilocybin does have a nauseating effect on many people. The cell walls of the mushrooms can be hard for some to digest as well, which is why many people make a tea or tinctures. You’d have to consume an absolutely insane dose of them — so much so that the current lethal dose isn’t known — for safety to be a concern at a toxicological level. Emotionally and mentally, different story.

In fact, they are typically considered the safest recreational drug, both in terms of its pharmacology but also in terms of reported ER incidents: https://www.theguardian.com/society/2017/may/23/study-halluc...

I’m in the US, and all of the advice I’ve recovered from every doctor and nutritionist is to limit carbohydrates. You can “cover” as you put it, and you’re trained to be able to do that when the situation arises, but the baseline diet that I was given is certainly low carb by comparison to typical diet recommendations (not ketogenic, but far from “eat whatever you want”).

While I’m sure there are plenty of nurses and doctors out there giving rushed and questionable advice, I’d be surprised to find that this advice is “common” (though many patients may “hear what they want” so to speak).

You’d be off base in questioning any of that, at least as the central premise that “X person didn’t have Y effects because they ate too much Z macro.”

Keto, when strictly followed, provides a great reduction to bolus needs (in personal experience, 80-90% reduction, depending on protein intake), and a lesser, but still significant, reduction to basal needs (30% in my case); however, both types of insulin are absolutely still needed to prevent high blood sugars in an environment with no insulin, which is a significant risk of DKA (and death). Protein metabolizes into excess sugar in the blood stream as well, so unless you’re eating a pure fat diet, you will still need insulin. In addition to that, there are hormones (cortisol for sure), and other non-macro nutrients and alkaloids (a common report is caffeine, but this very much depends on individual biochemistry) that can cause rises in blood sugar, which require insulin to compensate for.

A type 1 diabetic without honeymoon insulin production will still die after a period of even the strictest of ketogenic diets. It was the treatment prior to the introduction of insulin, and was effective at extending the lives of diabetics; they would typically be able to live up to 3 or 4 years post-diagnosis before eventually dying.

For the record, my body enters keto at or around 45g/day, as measured by the presence and amounts of ketones; anyone who says “you need exactly N grams per day or it isn’t keto” is extrapolating from generalized experience at best.

The problem with keto isn’t that it isn’t effective for some things, it’s that people go a long way to oversimplify both the science behind it and the impacts it can have on other conditions by over applying that lens of simplification. It’s a good diet for some, but it isn’t a free lunch (pun not intended) - and it’s far from something that can eliminate the needs of insulin in type 1 populations, as this article alludes to.

It’s not without tradeoffs. There’s a substantial overlap between T1 and CHD, and the impacts of keto on CHD in non-normal populations (hyper-responders, metabolic patients) are even more poorly understood than they are in the general population.

Lowering carbs is one thing; LCHF is an entirely different beast (and I say this both as a T1 and a T1 who tried LCHF for nearly a year).

It’s an option for some, but billing it as “remission” is going to make people think it’s a cure-all, when it’s far from that, and isn’t exactly “new” for the treatment of T1 - it’s both part of the general instruction set (“reduce carbs”) and even prior to insulin therapy, was the only treatment for T1, and it had a pretty poor success rate.

Curious if they have any clearer definition of what they mean by “recently diagnosed.”

Based on the article, it looks like all patients were in their honeymoon period, which certainly makes for a substantial difference from what most would think of as remission - the difference between “clinical remission” and “clinical remission in very controlled circumstances while patients were still capable of producing some insulin.”

It’s pretty well known that LCHF reduces overall insulin requirements, and it’s not surprising that in new patients who are still capable of some production that LCHF would be enough to effectively lengthen the honeymoon period, but in any case I’d argue that the word remission is a pretty poor choice of words for describing the effect seen.