Better HN
topnewbestaskshowjobs
Log inSign up

trane_project

302 karma · joined Jul 3, 2022 (4y ago) · 127 submissions

Trane is an automated learning system for the acquisition of complex and highly hierarchical skills. It is based on the principles of spaced repetition, mastery learning, and chunking.

https://trane-project.github.io

Submissions

comment 1d ago · link · parent

It seems to be a little better than the lite jhana stuff because it’s based on Asanga’s and Kamalaśīla’s 9 stage framework for samatha so it mostly avoids the whole feedback loop stuff and the focus on extreme bliss.

However, I’ve only properly read the introduction in which he says a lot of it is its own ideas because he’s trying to modernize the tradition. His reasoning is that a lot lies buried in commentaries that almost no one understands. I don’t really buy that argument because the framework is transmitted and well understood by many traditional teachers. So better to go to the source.

comment 1d ago · link · parent

If someone’s Buddhist practice resembles this, then they have taken a wrong turn. And if their practice is based on Daniel Ingram’s ideas, the likelihood for such a wrong turn increases by a lot.

Analayo’s article on him is a good starting point for what I mean.

comment 2d ago · link · parent

I can’t read minds so I’ll assume the experiences described here are real and useful. However, it should be pointed out every time this company comes up that they are not teaching the Jhanas and neither do the teachers on which they base their methodology, the so called “lite jhanas”. They themselves admit not really caring about whether what they teach are real jhanas, but are more than happy to keep the association instead of calling it something else.

The full argument is very long but it can be summarized as “Study chapter 8 of Vasubandhu’s Abhidharmakosa with a qualified teacher”.

A summary of that chapter is that the jhanas are achieved by using the natural factor of one-pointedness to focus on a wholesome object upon which an ease of body and mind arises on its own. You progress through the rest of the series when certain mental factors drop off on their own. Specifically, the mental factors that allow you to move your focus from the original object drop off at the second jhana.

The lite jhanas instructions they use invert this sequence. You focus on the bliss sensations constantly monitoring and trying to up them through feedback loops. Which means that at best you are in the first jhana but more likely that very monitoring prevents you from reaching it, let alone moving past it. What they call the higher jhanas appear to be instead variations on the emotional content of the experience, not the dropping off of mental factors.

Of course creating a feedback loop based on a good sensation will induce states of extreme bliss, but the jhanas are about the refinement of one pointedness where the initial ease (which is not really the extreme bliss they mention) drops off eventually.

So if you want to get high feel free to go but if you want to learn jhanas consider studying the chapter mentioned above and finding a teacher whose practice aligns with it.

comment 1mo ago · link · parent

Clearly you should be able to come up with a better process than requesting free labor for an unspecified amount of time all for a job in the 75-150k range.

Glad to be doing my own thing for now and not have to deal with job search. Though who knows if the profession will even be around if I need to find a job.

comment 2mo ago · link · parent

This is similar to how I've come to use them but it's focused too much on the mechanics or writing. I've found them more valuable at role-playing as a specific profile of reader and asking it how they would receive the arguments advanced by the writing and what counterarguments they could present. After some rounds of this process, you either close all the gaps in the argument or realize it's not a strong one.

comment 3mo ago · link · parent

This is the only app I've built for myself: https://apps.apple.com/us/app/the-mirror-timer/id6760243207

It's basically an adaptive timer for remaining oneself to be mindful and aware throughout the day, which is a prerequisite for my main practice. When it rings, it asks you if you were mindful since the last timer and adapts the next interval based on your answer.

I've wanted to do this for a while, but a physical device is beyond my skills and I never wanted to bother to learn mobile development. So having the computer take care of all the nonsense was ideal. Very different experience using LLMs when you don't know the technology, but all the nonsense behind creating and publishing mobile apps did not inspire me to learn it.

comment 5mo ago · link · parent

It's related to this https://trane-project.github.io/generated_courses/transcript... which generates all the individual lessons for each stage in the guide. It has nothing to do with generative AI. The software is not really needed if you just want to jam along your own songs, I just didn't have a better place to put the guide.

comment 5mo ago · link · parent

We would be a much more musically proficient society if we stopped this obsession with teaching music through written notation and just taught music aurally from the beginning, and notation only later for those who need it. It made sense at a time where recordings were not easily available, but that is not the case now.

Western notation makes sense once you know the circles of fifths, but the specifics of the notation is not really what is holding people musically.

comment 5mo ago · link · parent

I highly advice anyone against taking up this type of ear training practice if what they want is just to play music recreationally. I did it for a while, stressed out about it, and I saw very little improvement in what really mattered to me, which was just to be able to play music freely.

If that is also your goal, you would be better served by learning how to play along recordings and use them to improvise along them. Your ear is already good, given that you can hear music, and this relies on using those existing abilities. There is no existing ability to label random sounds out of a musical context. I am still unsure how mastering all of these puzzles turns into actual musicianship, but some people swear by it, so I guess it eventually happens if you do it for long enough.

I wrote a guide on how to do this: https://trane-project.github.io/generated_courses/transcript...

Honestly I have stopped doing anything else and I have seen my actual musicianship skyrocket and I am having 1000x more fun than I did before. It's not that different from how music was taught before notation was widespread with the advantage of now having recordings and easy ways to loop them, slow them down, and change their pitch.

I am hoping to eventually make a product in this space based on this pedagogy once I finish the one I am currently working on. But honestly it's not really needed if you are fine with just doing it with the songs you like without a full curriculum and fancy scheduling.

comment 6mo ago · link · parent

The only religious argument is materialism. It's real because enough people have convinced themselves that it's "scientific". Even though there is no proof whatsoever, no solid hypothesis, no experiments to prove how matter acquires subjective experience, it's incoherent to the very foundations of its position (that matter is dead), and has not made any progress in answering the "hard problem" (which is just someone pointing out the incoherence). It also makes people argue that they don't have a mind, that asserting they have a mind is a religious statement, or that they have some trouble understanding what a mind is.

> How can a pile of sand and rocks smushed together real close play back video? How can it produce a process that understands natural language?

The laws of physics are enough to explain this because no one is arguing that computers are experiencing anything when they play a video or generate a set of numbers that are displayed as natural language.

> At no point did I ever intend to argue any such thing. I suggest you put away the strawman and actually engage with what I'm saying.

Sorry, I phrased that badly by using "you" when I did not mean that. I meant to say that if someone (not you) wanted to argue that simple matter has some sort of experience, then at least the position would make some sense. But materialism assumes that simple matter does not have any subjective experience of any kind.

Anyway, I won't be able to convince you that you have a mind, so I'll peace out.

comment 6mo ago · link · parent

I can't read minds. I know I have one and you know you have one. That's enough for both of us to know that mind is a real phenomenon.

As for why any materialist explanations are unsatisfactory is that even if you managed to map every physical interaction in a sentient being, you are only mapping physical phenomena. Maybe that is enough to account for how that maps into the contents of the experience.

I am not arguing about how the contents are generated though. I am arguing about the "field" of subjective experiencing, which I called a mind. How is that generated from a set of aggregates that has no subjective experience of any kind? The simplest answer is that it is not, even if those material aggregates are deeply involved in how the contents presented to this field are generated.

Maybe you want to argue that salt "tastes" something when it is dissolved in water, but materialism assumes that simple matter does not have any experience of mental events.

comment 6mo ago · link · parent

What is there to explain about psychedelics? There is nothing special to them. They affect the bodily aggregates of a being and cause the contents of the experience to change. So does eating a donut. There is no contradiction with what I said because I already conceded that mind and matter are closely interlinked and that changes in the body affect the contents experienced by the mind.

But the "hard" problem of consciousness has nothing to do with the contents of the experience, but with explaining how experiencing of any kind is produced by aggregates that themselves do not have any such experiences. The simple answer is that mind (experience, consciousness, whatever you wanna call it) is not produced by matter and is a completely different realm of reality.

Maybe if science simply assumed that mind and matter are different things instead they would have made some progress. For once, the "hard" problem of consciousness would be revealed to not be problem at all. As for non-scientific proof that you have a mind, you can just observe that for yourself in every instant of your own personal experience. No magic involved. If people want to deny their own minds that is up to them.

comment 6mo ago · link · parent

There is no hard problem of consciousness not because of the baffling arguments against it in this article, but because materialism is not true. This article and the entire description around the hard problem just shows the amount of mental gymnastics needed to deny what is front of everyone in every instant of their lives.

Matter and mind are not the same and mind is not produced from matter. That there are correlates between the body of a sentient being and the content of their experience is common sense but not proof that their body is causing the very ability to experience anything.

You would think that absolutely no progress being made on how dead matter somehow produces experience would make people question their assumptions. Instead you get people denying that they have a mind or just coping by thinking that if they map yet another correlation they will finally crack the code.

comment 7mo ago · link · parent

I pasted a blog that I wrote myself and flagged hundreds of patterns. Granted, the article is 15,000 words so some are expected but there are simply too many false positives to make this and any similar tool have any usefulness beyond flagging the most obvious offenders.

And looking at its suggestions, they are not very good. People are better developing their own writing style than trusting generic advice meant for common-denominator writing.

comment 7mo ago · link · parent

No need. You just find someone that has a proper transmission, meaning that they were taught by a teacher that also had transmission, and so on. It's sort of like medical school. Your doctor was trained by doctors that trained under other doctors and so on.

People are free to take whatever they want from Buddhism and practice and teach it, even if completely unqualified. There is no dharma police to call. I was just making the point that calling teachings that reject core tenants of Buddhism by the same name is often just done to help them associate with whatever "clout" the word Buddhism has in the popular imagination.

Mindfulness-Based Stress Reduction is an example of how to properly go about this process without overstating what it really is.

comment 7mo ago · link · parent

If it's any consolation, they are full of shit. In the second jhana and above, the factors of initial and sustained attention disappear. In practical terms, this means you cannot direct your thoughts away from the object of concentration once you enter such state. You have to decide beforehand how long you will be in that state and give yourself a mental timer. See Dipa Ma's biography for a case of someone actually entering higher jhanas that way.

This is the reason that anything beyond the first dhyana is not encouraged in Mahayana, as it is impossible to apply vipasyana in a state of concentration so deep that you cannot direct your mind.

The teachers popular in the SF scene are inflating their own achievements and the ones of their students by using very lightweight criteria. I had that experience when I attended a TWIM retreat before their founder died. According to them, I reached the fourth or fifth jhana. I can assure you I did not.

comment 7mo ago · link · parent

There is plenty of proof, just not the type of proof likely to be accepted by people looking for a measurement from an external device, which precludes scientific proof until consciousness can be measured. Given that science cannot identify consciousness in live organisms at this time, you are going to have to wait a long time.

In general, there are three commonly accepted methods in Buddhist epistemology to know if something is true: perception, inference, and testimony. For the specific case of rebirth, common proofs use either perception, or inference.

- Perception: You train in states of concentration and use those to gain direct knowledge of past lives. Maybe some people would find this unconvincing even if they had the experience. Certainly not something likely to be accepted as scientific as Ian Stevenson's research has shown, even if the case presented was iron-clad.

- Inference: This uses Buddhist logic and an understanding of dependent origination. This specific argument comes from Dharmakīrti.

- Every moment of consciousness must have a substantial cause.

- Physical matter can serve as a cooperative condition for consciousness, but it cannot be consciousness's substantial cause, because matter and mind are fundamentally different in nature. Matter is extended, non-luminous, non-aware and consciousness is luminous and aware. If you are a scientific materialist, you will not accept this, but it must be noted that there is no scientific evidence of any kind for dead matter gaining awareness.

- Therefore, each moment of consciousness must arise from a preceding moment of consciousness of similar type.

- Then you trace this chain to the first moment of your present life. The chain must have been preceded by a moment of consciousness of similar type. The same logic applies to the last moment of your present life.

- Therefore, consciousness must be a stream that transcends physical birth and death.

Again, I am aware many people won't find this convincing, but to say that Buddhism does not attempt to prove rebirth and karma is not true.

comment 7mo ago · link · parent

"But the cost of the mindfulness revolution has been Buddhism’s lost monopoly on many of its core concepts. Very few of those using Buddhist practices will ever become Buddhists in a religious sense. California Buddhism is one of the most successful cultural syntheses of the last century; but as far as conversion goes, it seems that it is Buddhism that has embraced California rather than the other way around."

Pretty much. Sad state of affairs. I don't care if people find something positive in Buddhism and offer their own takes, but too many people call their offerings "Buddhism" for the clout. Finding a qualified teacher becomes very difficult if you are actually interested in Buddhism.

On the positive side, I don't actually agree with the first sentence. You still have to find a proper Buddhist teacher if you want to be taught the good stuff. Even if you found the instructions somehow, it either requires proper motivation (at which point you are a buddhist) or a transmission for those methods to actually work.

comment 8mo ago · link · parent

I mostly work with existing codebases so I didn't really want to vibecode for real.

The only vibecoded thing was an iOS app and I didn't follow this process because I don't know iOS programming nor do I want to learn it. This only works if you know at least how to define functions and data structures in the language, but I think most PMs could learn that if they set their minds to it.

comment 8mo ago · link · parent

It's mostly rust projects so error handling is writing `?` and defining the signatures as either Option or Result for the most part.

comment 8mo ago · link · parent

I've been trying codex and claude code for the past month or so. Here's the workflow that I've ended up with for making significant changes.

- Define the data structures in the code yourself. Add comments on what each struct/enum/field does.

- Write the definitions of any classes/traits/functions/interfaces that you will add or change. Either leave the implementations empty or write them yourself if they end up being small or important enough to write by hand (or with AI/IDE autocompletion).

- Write the signatures of the tests with a comment on what it's verifying. Ideally you would write the tests yourself, specially if they are short, but you can leave them empty.

- Then at this point you involve the agent and tell it to plan how to complete the changes without barely having to specify anything in the prompt. Then execute the plan and ask the agent to iterate until all tests and lints are green.

- Go through the agent's changes and perform clean up. Usually it's just nitpicks and changes to conform to my specific style.

If the change is small enough, I find that I can complete this with just copilot in about the same amount of time it would take to write an ambiguous prompt. If the change is bigger, I can either have the agent do it all or do the fun stuff myself and task the agent with finishing the boring stuff.

So I would agree with the title and the gist of the post but for different reasons.

Example of a large change using that strategy: https://github.com/trane-project/trane/commit/d5d95cfd331c30...

22.

Show HN: Prepare for coding interviews via deliberate practice(interviewtraner.com ↗)

1 points · by trane_project · 8mo ago · discuss

comment 8mo ago · link · parent

I think full literate programming is overkill but I've been doing a lighter version of this:

- Module level comments with explanations of the purpose of the module and how it fits into the whole codebase.

- Document all methods, constants, and variables, public and private. A single terse sentence is enough, no need to go crazy.

- Document each block of code. Again, a single sentence is enough. The goal is to be able to know what that block does in plain English without having to "read" code. Reading code is a misnomer because it is a different ability from reading human language.

Example from one of my open-source projects: https://github.com/trane-project/trane/blob/master/src/sched...

24.

Show HN: Prepare for coding interviews via deliberate practice(interviewtraner.com ↗)

2 points · by trane_project · 8mo ago · discuss

comment 9mo ago · link · parent

Tried to use Show HN for my new project a couple months ago with almost no traction. It's a software literacy tutor, so I guess it's not the right audience, but my intuition aligns with this. For reference, an earlier post showing the practice engine that powers the literacy tutor did pretty well back in 2023 and it was my first post. I've had more success getting sign ups trying to do just the tiniest bit of SEO.

Trane (good post): https://news.ycombinator.com/item?id=31980069

Pictures Are For Babies (lame post): https://news.ycombinator.com/item?id=45290805

comment 10mo ago · link · parent

This is completely incorrect. The process of Tukdam has nothing to do with diet.

I can’t say what the actual process involves with too many details because it’s not appropriate to share with outsiders, but it involves meditating through sleep, which is considered a similar process to death.

The people doing this are good enough to practice through the night that they recognize a certain part of the death process and temporarily abide in it. When they stop, they die for real and their body decomposes.

12345