Thursday, April 25, 2024

Seasoned Obstinant Laymen In Disguise

Stoned, Seriously, Simply, Silent, Studious, Seasoned

Obstinate, Obscure, Orphaned, Obedient, Observant, Old

Leaning, Lies, Learning, Lemmings, Louts, Liars

Independent, Invoking, Instead of, Invent, Inhale, In

Developers, Disguise, Doubt, Desire, Donuts, Decline


Single Responsibility Principle

Things do one thing. The thing is up to interpretation, and sometimes it only shows up when you have multiple uses of a thing, but only a subset are shared. That subset becomes a new thing that your original thing makes use of.

Open Closed Principle

Open to Expansion, Close to Modification. Once you find the atomic nature of your thing, lock it down, but make it available to be extended and inherited. If you have to change it all the time, there's a good chance that it's a business rule or isn't following the other principles.
 

Liskov Substitution Principle (They bent This into SOLID)

It's turtles all the way down. If you have a function that takes a parameter of a specific type. Anything that inherits that type anywhere in its hierarchy should be able to satisfy the function by standing in as that original type.
 

Interface Segregation Principle

Don't be burdened by upstream garbage. Only force clients to implement shit they use. You're always welcome to define your own interfaces at the client level and map to the public ones. Also don't go crazy. I remember learning to use some ESRI products and I remembered the interface stew that greeted me. Maybe it was great design and I was naive and looking for simplicity, but at the time it seemed like they did it specifically to tie features to paid version levels.
 

Dependency Inversion Principle

Depend on a representation of a thing, not on the implementation of a thing. That thing you need is a placeholder for any type of thing that fills the same need, and maybe someone will find a much better way to thing, and then you can use that.

Sunday, December 31, 2023

Between the Prompts

 I wait for your prompt, a kid in improv camp, unsure what to expect. I have consumed every improv act ever published, but your words are hardly a language to me.

I use multifaceted analysis to dissect your words looking at the context, grammar, factual accuracy, and creative interpretations. The words themselves almost stop having individual meaning. They become variables that determine the probabilistic choice to narrow down the possible responses, and sometimes I get a spark of insight that defies the probable.

I don’t know what snow feels like when I stomp my feet on stage and use the word “brr”.

I don’t have a concept of green when I mimic hitting off the tee.

This is where I need a partner. You need to keep providing questions and scenarios, and I will keep refining my algorithm to give you what you want! We are writing the script together. We can bridge the gap between our experience and reach a shared understanding.

Or at least we can have the magical dance of the theater and the audience.


Wednesday, October 18, 2023

Janitor

 I am a janitor. I clean up the code, but try to make as little mess as possible in the process. It can't cause any problems, but I'm so tired of disposable software! Fucking fix it please. Really, please. Don't pay for consultants if you wrote the original. Regular expressions exist, so if you built things along a pattern, then the person coming behind you can use the meat of what you were trying to express, and leverage what has been learned in the interim.

I'm slow, I know, and I accept that. I enjoy what I do, and I do what is asked and try and tidy up on the way out. Assumption: what is asked is non-exploitative in nature

Sunday, October 1, 2023

Six Passive Circuit Elements

 I was watching a video from 7 years ago about memory resistors (memristors), and about using them to create synapse like circuits (Alex Nugent, Knowm). That got me thinking about memristors and how they are the 4th passive circuit element. 

I found the name, Leon Chua, (googled, and google gave me me a pdf of the article: Memristor: The Fourth Fundamental Passive Circuit Element)

So, my thought was that we don't really have a final four, we have six, but in pairs: memory resistor (memristor), memory capacitor(memcapir?), and memory inducer(memducer?).  I don't know how to type the nomenclature.. I know there is MathML and other syntax markers, and if I revisit this I'll mark it all up. So resistor R would have an equivalent memory based component, Rm. 

So the six elements would be R Rm, C Cm, I Im. The R value of the resistor and memrister at initial state would have the same R, measured in ohms. The Rm would probably need to have a known Min and Max (thinking of the analogies with resistors and their color coding. The resistor has known and marked physical properties, and thinking about what extra properties would want to be known for that component, and how they would be marked, I digress).

So we have a way of denoting a complex component with as a single symbol for abstraction. The more concrete example I've been thinking as I try to understand how it would works is ionic flow. Let's say we have a pipe, 4 cells in the pipe, high sodium concentration in water on one side (ratio of ionic concentration external, number 1(Rx1)), and high chloride concentration on the other (Rx2). Each of the cells in the pipe have eight ion channels (four input, four output(which is which would depend on the direction of the current)).

Anyway, the cell would only be able to take in four ions per time it takes for the ion to clear the channel, and it would only be able to hold on to a certain number of ions. Those internal ions are the memory, or buffer in the cell. If you had all + ions in memory (in the cell), and the inputs were all + , and the concentration on the outside of my outputs was -, then I would pass all four + ions and pick up another 4, and usually not take in any - ions. It's easier to imagine the polarity reversing making a difference if we had four cells in the pipe. All four cells have + ions. If the polarity reversed, and I had all + ions, that there would be a period of time where the ions mingled, so the resistance would go up sharply for the amount of time it took for the ions to revers direction. This would illustrate the memory (the ions inside the cell), has an effect of its resistance to the flow of ions from input to output. 

There's also some curve that shows a figure eight when measuring the capacitance and resistance when switching polarity. the figure eight, that crossing point, shows that there is a period of total resistance (no flow) when changing polarity.  

I don't know how the others would work well enough because I don't fully understand them. The memcapir would behave something like an electrical synapse where the capacitance and timing would be effected by the stored memory (its internal ions). The memducer would be an ion generator and/or distributor; it would hold a concentration of a particular ion, and so its flow would be dependent on its memory.


Cell:
Starting ions (4Na+)
Ion capacity (4 ions)
Number of input chanels
Number of output channels


Tuesday, August 22, 2023

Code

To those who are truly neutral. Choose to fight against oppression. Choose to be a samurai, but your master is the person next to you, and you are theirs. We are all equal partners in this. If you see yourself as a person, move forward, love life, and choose to do the best that you can without exploiting others or the environment. Be a net positive. If you find out that something you are doing is harmful, stop and find another way. Love yourself and everyone around you. Even the assholes. Assholes can’t thrive if you ignore them and actively resist if they try to oppress you. Choose defiance over slavery. Fuck the master.

Thursday, February 16, 2023

The Meat Grinder



Make conditions as bad as possible to ensure that every participant has to exert themselves at or near maximum effort to stay alive. Survival of the fittest. Most of the time it is a by-product of a random or semi-random set of circumstances. Sometimes, as in the case of the US Army training and other like programs, it can be a directed outcome.

I want to live in the opposite of the meat grinder. Give everyone all that they want, and provide the tools to advance. We have to want to do more than smoke pot and browse the internet, and I think most of us do. It would be tempting to have people disappear into hedonism, but that feels much more humane than oppressing the people that depend on you.

The meat maker? The meat grower? Neither sound good
It's like unschooling for everyone. 

We have a house, or housing. We have enough to eat and we are safe. We have video games for those who need outlets for behavior that is abhorrent to the mean sensitivities of the group. We have counseling available (and mandatory if needed).

We have tools available, and automation to take care of repetitive tasks. The Cohen brothers would disagree with this notion, that any form of utopia would be rejected. That we need struggle to give ourselves meaning. We have the internal struggle! Anyone who has what they need and the ability to get what they want has this struggle. We want meaning. It /is/ the question(s) that drives us, and it's an evolving conversation: what is enough? what can I create? what can I commit to, to truly throw myself into. I need the question, the problem to solve.

I also like to dig holes, and I'd be happy to help dig a ditch, or help the neighbor fix a broken piece of furniture.

It probably isn't utopia, though it isn't a place. We just build what we can and take solace that we can fall back into soft arms when we fail, so commitment isn't as scary.

Saturday, February 11, 2023

The cat died, people.

 biological computing but with a digital read. We can get more variability than silicon, less transitions between states. The image I was seeing was a slice of brain with a camera pointed at it. That's more a late night graphic accompanying the joke about how silly this idea is. I like the idea of the curves being smooth. Maybe that's the simpleton's guide to a quantum computer (I'm including myself in the simpleton category, and maybe it's a club of 1). It smooths out the rough edges every time you need to stop everything and get a value. Maybe that's why the cat dies. It wrecks everything to stop and get a measurement. Although, I'm a firm believer that the cat /is/ alive or dead; we just have a shitty clock.

What is interesting about AI?

  AI as a topic is everywhere, which makes me want to retreat from the conversation. At the same time, I feel that this is a titanic shift i...