Tuesday, September 30, 2025

The Power of Now - Introduction

Vocabulary 1. One night not long after my twenty-ninth birthday, I woke up in the early hours with a feeling of absolute dread. --dread: to fear greatly 2. I could feel that a deep longing for annihilation, for nonexistence, was now becoming much stronger than the instinctive desire to continue to live. 3. Then suddenly I became aware of what a peculiar thought it was. --peculiar: different from the usual or normal 4. Everything was fresh and pristine, as if it had just come into existence. --pristine:original, pure 5. I picked up things, a pencil, an empty bottle, marveling at the beauty and aliveness of it all. --marvel:one that causes wonder or astonishment 6. That day I walked around the city in utter amazement at the miracle of life on earth, as if I had just been born into this world. --utter: carried to the utmost point or highest degree 7. On this level, I also show you how not to make that which is false in you into a self and into a personal problem, for that is how the false perpetuates itself. --perpetuate:to make perpetual or cause to last indefinitely 8. Some of these forms, such as the ancient religions, have become so overlaid with extraneous matter that their spiritual essence has become almost completely obscured by it. --extraneous:existing on or coming from the outside 9. There is then a feeling of exaltation and heightened aliveness, as something within you says: "Yes. I know this is true." --exaltation:an excessively intensified sense of well-being, power, or importance

Saturday, September 27, 2025

local LLM setup with ollama

install ollama: 1. download ollama https://ollama.com/download and double click to install. 2. Run "ollama serve" and "ollama --version" to verify 3. ollama website search deepsek, find the version to install, say: ollama pull deepseek-r1:8b. or openai: ollama pull gpt-oss:20b 4. run the model: ollama run deepseek-r1. (ollama list) 5. /bye to quit 6. Ollama is command-line by default, but for a web-based interface Install open-webui (make sure python is 3.11) pip install open-webui open-webui serve Visit http://http://0.0.0.0:8080/ in your browser, sign up, and connect to your Ollama models. It looks just like ChatGPT. uninstall ollama: 1. ollama ps 2. ollama stop 3. Drag the Ollama app to the Trash, or right-click and select Move to Trash 4. rm -rf ~/.ollama 5. rm ~/Library/LaunchAgents/com.ollama.ollama.plist (optional) llama3.1:70b uses 40G memory and it took like 10 mins to (base) peterpeng@f6:77:6d:59:8b:d3 ~ % ollama run llama3.1:70b >>> 小明比赛超过了第二名,他现在是第几名? 他应该是第一! ollama rm llama3.1:70b ollama pull gpt-oss:20b gpt-oss:20b only took 2 seconds to figure out: 他现在是 **第二名**。 如果小明在比赛中超过了原本的第二名,那么他就取代了那个位置,成为新的第二名,原来第二名的人则跌到第三名。

Thursday, September 18, 2025

Quote Echkart Tolle

As long as the ego runs your life, there are two ways of being unhappy. Not getting what you want is one. Getting what you want is the other.

Sunday, September 14, 2025

倪海厦泄露的六大天机

1. 我告诉大家一个很多人都不会知道的秘密,这个秘密,很多人是直到临死的时候才知道。那就是:人生其实就是一场骗局,我们每个人赤条条地来到这世上,最终也会赤条条地走,我们最大的任务,根本不是什么买车买房,也不是及时行乐,这些呢都是欲望,是身外之物,正确的活法是向内求。 无论遇到什么坎坷,都不要让自己陷进去,出生我们没有办法选择,婚姻很多时候也是靠运气,那唯一能让我们过好这一生的本领呢,就是看待世界的方法。 这世界看似大,但其实呢,大部分人、大部分事都跟你没有关系,本质上是你一个人的世界。人生啊,就是一场体验,别害怕痛苦,痛到极致就是解脱,真正的自在,都是无视外物,做自己的观察者。 当你看见河,你已经在河之外;当你看到自己的情绪,你已经在自己的情绪之外。情绪本身其实并不存在,包容所有的遭遇。你越接纳什么,什么就会消失,越抗拒什么,什么就会折磨你。当不再抗拒命运的安排,你想要的东西终将到来。 2. 命好之人,都有的三个特征。 命好之人的三大特征,排在第一的就是‘动’,爱折腾、有执行力、永远都在不断尝试。一个人不管出身高低,都是只有动起来才能创造出机会,有了机会,才有成功的可能性。所以,执行力就是这一切的先决条件。 所以,不管什么,你就去做就行了。至于怎么做,那就涉及到知行合一,就是你的‘神’和‘形’得合一。这怎么讲,就是你人在干那个事情,这是形,你心里得一心想着那个事情,甚至用很好的情绪去干,这是神。 形神合一,就是知行合一,就能成事,成事了,你命不就好了吗? 命好之人第二个特征是内心要稳如磐石,就是心要坚定。很多人一事无成,并不是不够努力,也不是不够醒目,而是‘心定不下来’,一直找不到内心那个可以让他不断输出的点,正如古德所言‘安心’一样,心不安则左摇右摆、朝三暮四,最后功夫打不成一片,也就出不了成绩。 命好之人第三个特征是豁达的胸襟,而这一点,恰是如今很多年轻人做不到的。 3. 再有钱,口腹之欲也要控制,否则会短寿。 4. 人想要越活越年轻,一定要精神内守,节约气血。尤其身弱、气血不足的人,一定要节约气血,眼耳口鼻都要少用,说话的时候不要太大声。 气血是省出来的,节约气血的最大秘诀就是要精神内守,精神内守就是不要有太多情绪消耗,保持平静的心情,保持平和的心态。 5. 一个人独居久了以后面相会变化,眼神会变得有杀气,有凶光,而且脸会越来越大,除非修佛修道,心里有寄托就不会这样。相由心生,这种人往往脾气也比较古怪,不易相处。 倪海厦

Saturday, September 6, 2025

year book

1. Call me Carti the way they waited 4 years and came out with mid. 2. Oh Dawg 3. Time flies like an arrow, fruit flies like a banana 4. Float like a cadillac Sting like a beemer -Lightning McQueen

Tuesday, August 19, 2025

Tuesday, July 15, 2025

C# note

https://github.com/markjprice/cs10dotnet6 1. naming conventions Camel case cost, orderDetail, dateOfBirth -> Local variables, private fields Title case aka Pascal case String, Int32, Cost -> Types, non-private fields, and other members like methods 2. double vs decimal double is not accurate but the decimal type is accurate because it stores the number as a large integer and shifts the decimal point. decimal c = 0.1M; // M suffix means a decimal literal value decimal d = 0.2M; if (c + d == 0.3M) { Console.WriteLine($"{c} + {d} equals {0.3M}"); } 3. The Debug class is used to add logging that gets written only during development. The Trace class is used to add logging that gets written during both development and runtime. Debug.WriteLine("Debug says, I am watching!"); Trace.WriteLine("Trace says, I am watching!"); In Visual Studio, navigate to View | Output and make sure Show output from: Debug is selected. 4. xUnit was created by the same team that built NUnit but they fixed the mistakes they felt they made previously. xUnit is more extensible and has better community support.

Saturday, July 12, 2025

The state of presence

Raise the concern for The power of now, Chapter 5 The state of presence. "I am that I am" Paul's answer/comment: There's just one now. It's not the case there are a lot of now moments. Take movie/screen as the example. For the characters, they have no idea and cannot realize they are just reflection of the screen pixels. Time is illusion. It seems like everything changes but the screen is still the screen. Nothing matters. Consciousness/Now is the screen, and you are the characters. Quote for most people: The mind is a cage with no prisioner. Quote for the seeker: Nothing happens.

Saturday, July 5, 2025

Moving deeply into the now

Everything is honored, but nothing matters. Forms are born and die, yet you are aware of the Eternal underneath the forms. You know that nothing real can be threatened. When this is your state of being, how can you not succeed? You have succeeded already. The power of now Eckhart Tolle

Thursday, July 3, 2025

Menu: Sausage Potato and Chicken Wing

For 3 people 1. Medium Heat with few olive oil into the pan, put 6 Hot Italian port sausages into the pan around 5 min per side. Make sure the fat is burned out. Poke some holes and add few olive oil after the heat is turned off 2. Put 9 chicken wings, wash and cut to the bones 3. Wash and cut potatos and Sausages and pour leftover oil into the mixing, add few olive oil 4. Put 3 tea spoon salt, a few black pepper and Italian herbs, mix thoroughly 5. Wrap Pan with Aluminum foil and put evenly the materials and put aluminum foil (leave some space). 6. Turn on Oven Bake, 425F. After the prehat, set timer to 50 minutes Copywright @Paul

Saturday, June 21, 2025

如何清理家中最脏的地方-------清洁案板的好方法

 

 

如何清理家中最脏的地方-----清洁案板的好方法(厨房那些事儿)

  (2011-04-19 08:56:47)
标签: 

文怡

 

清洁案板

 

延长案板寿命

 

淘米水的功效

 

厨房清洁

 

美食

分类: 厨房一角

如何清理家中最脏的地方-----清洁案板的好方法(厨房那些事儿)

4月DIY收费课    明天发布5月份课程

 

如何清理家中最脏的地方-------清洁案板的好方法(厨房那些事儿)

 

100个人“你觉得家里最脏的地方是哪里?”,至少有一半以上的人会答“马桶。”

 

其实,真的不是这样的。处理不妥当的厨房案板,其实比厕所的马桶细菌还要多很多呐。

 

我们每天做饭,切肉,切菜,切水果等等,全都离不开案板,久而久之,案板上就会残留一些脏东西,或者油污,在一个潮湿的环境当中,案板会滋生大量的细菌。

 

很多人会用开水烫的方法给案板消毒,其实这样并不是最好的方法。有没有既简单,又消毒功能很强的小方法呢?当然有啦,来,一起试试看吧。

 

方法:

 

1) 先用洗洁精和清水把案板洗净,然后在案板上撒上一勺盐,用洗碗海绵蘸一点点水后,反复擦拭案板的表面(大约30秒钟),然后用冷水冲洗干净。

 

2)再将白醋和水以12的比例调好后倒入喷壶中,喷在案板的表面,喷完之后不要再用清水冲洗了,就让白醋溶液停留在案板上,放到通风的地方,自然风干即可。

 

超级啰嗦:

 

**这个方法可以非常有效的为案板杀菌消毒,而且还可以有效的去处案板的异味。不管是木头案板,还是塑料案板,都同样适用。

 

**如果家里的案板上有沟沟缝缝,可以借助干净的牙刷,来回刷掉里面的脏东西,然后再用这个方法给案板杀菌消毒。沟缝里如果不洗净干净,也会给细菌一个大量滋生的环境。

 

**喷好醋水液体后,不要擦掉,也不要用清水冲洗掉,一定要放在通风的地方,让它自然晾干,这样才能很好的起到杀菌消毒的作用。

 

**为了家人的身体健康,这个给案板杀菌消毒的方法,建议大家每周做一次。这个方法,也同样可以用来清洁筷子哦。(请点击此处查看:用什么筷子最健康 

 

**另外,你知道怎么延长案板的使用寿命么?你知道还有一种液体可以有效的为案板去异味和消毒么?


https://blog.sina.com.cn/s/blog_54a625bf01017obo.html

Monday, June 2, 2025

Zen Masters

 Both fear and faith demand you to believe in something you cannot see. It's your choice.

            -Zen Masters


Saturday, April 12, 2025

The moment you realize you are not present, you are present

 "The moment you realize you are not present, you are present. Whenever you are able to observe your mind, you are no longer trapped in it." —Eckhart Tolle

Friday, April 11, 2025

How to Grow Old

 How to Grow Old

Bertrand Russell


The other thing to be avoided is clinging to youth in the hope of sucking vigour from its vitality. When your children are grown up they want to live their own lives, and if you continue to be as interested in them as you were when they were young, you are likely to become a burden to them, unless they are unusually callous. I do not mean that one should be without interest in them, but one’s interest should be contemplative and, if possible, philanthropic, but not unduly emotional. Animals become indifferent to their young as soon as their young can look after themselves, but human beings, owing to the length of infancy, find this difficult.


I think that a successful old age is easiest for those who have strong impersonal interests involving appropriate activities. It is in this sphere that long experience is really fruitful, and it is in this sphere that the wisdom born of experience can be exercised without being oppressive. It is no use telling grownup children not to make mistakes, both because they will not believe you, and because mistakes are an essential part of education. But if you are one of those who are incapable of impersonal interests, you may find that your life will be empty unless you concern yourself with your children and grandchildren. In that case you must realise that while you can still render them material services, such as making them an allowance or knitting them jumpers, you must not expect that they will enjoy your company.


Some old people are oppressed by the fear of death. In the young there there is a justification for this feeling. Young men who have reason to fear that they will be killed in battle may justifiably feel bitter in the thought that they have been cheated of the best things that life has to offer. But in an old man who has known human joys and sorrows, and has achieved whatever work it was in him to do, the fear of death is somewhat abject and ignoble. The best way to overcome it—so at least it seems to me—is to make your interests gradually wider and more impersonal, until bit by bit the walls of the ego recede, and your life becomes increasingly merged in the universal life. An individual human existence should be like a river: small at first, narrowly contained within its banks, and rushing passionately past rocks and over waterfalls. Gradually the river grows wider, the banks recede, the waters flow more quietly, and in the end, without any visible break, they become merged in the sea, and painlessly lose their individual being. The man who, in old age, can see his life in this way, will not suffer from the fear of death, since the things he cares for will continue. And if, with the decay of vitality, weariness increases, the thought of rest will not be unwelcome. I should wish to die while still at work, knowing that others will carry on what I can no longer do and content in the thought that what was possible has been done.


不反驳

没时间驳斥任何人!人生有涯,知无涯,没有人是竞争对手,唯有无知是也!

Saturday, April 5, 2025

You find peace not by rearranging the circumstances of your life

 “You find peace not by rearranging the circumstances of your life, but by realizing who you are at the deepest level." -Eckhart Tolle

Thursday, April 3, 2025

Wednesday, March 26, 2025

Are you able to find the wisdom in painful situations

 "Life will give you whatever experience is most helpful for the evolution of your consciousness. How do you know this is the experience you need? Because this is the experience you are having at the moment."

When you're in the middle of a painful situation, it can be difficult to accept that every experience is a gift for our spiritual evolution. However, as time passes and life returns to "normal," we often gain a wiser perspective: We begin to see that, indeed, all of our life experiences, and especially the challenging ones, are precisely what we need from a spiritual vantage point.


Eckhart Tolle 

Saturday, March 15, 2025

Surrender

 "Surrender becomes so much easier when you realize the fleeting nature of all experiences and that the world cannot give you anything of lasting value." - Eckhart Tolle

Friday, March 14, 2025

老鸭头

 股市扫盲之~老鸭头。老鸭头是庄家建仓、洗盘、过鸭头顶拉高等一系列行为所形成的经典形态。股票K线的一种形态

(1) 采用5、10和60参数的价格平均线。当5日、10日均线放量上穿60日平均线后,形成鸭颈部 。
(2)股价回落时的高点形成鸭头顶。
(3) 当股价回落不久,5日、10日均线再次金叉向上形成鸭嘴部。
(4) 鸭鼻孔指的是5日均线死叉10日均线后两线再度金叉时所形成的孔。
市场意义:
(1) 当庄家开始收集筹码,股价缓慢上升,5日、10日均线放量上穿60日平均线,形成鸭颈部。
(2) 当庄家震仓洗筹股价开始回档时,其股价高点形成鸭头顶。
(3) 当庄家再度建仓收集筹码时,股价再次上升,形成鸭嘴部。
操作方法:
(1) 在5日、10日均线放量上穿60日平均线形成鸭颈部时买入。
(2) 在鸭嘴部附近成交量芝麻点一带逢低买入。
(3) 当股价放量冲过鸭头顶瞬间时介入。
鸭头顶离开60日均线要有一点距离,否则说明庄家在这个老鸭头处建仓意愿不强,老鸭头下一定要放量,否则一样说明庄家建仓意愿不强,老鸭头的鸭鼻孔要越小越好,没有的最强!鸭鼻孔下一定要有量芝麻点,否则说明庄家控盘性差。鸭嘴下一定要通气,通气性越高越好!最后就是三张鸭嘴一张,就嘎嘎嘎叫出了长阳线!
股价经过一段时间上涨后,出现调整,调整完毕后进行更猛烈的上攻,这个过程所画出的图形称之为 老鸭头

Thursday, March 13, 2025

Free Yourself from Distraction

 Eckhart Tolle explains, "Most humans are disconnected from themselves, from the deeper level of their being. They are totally identified with a continuous stream of thinking. They are very uncomfortable when nothing is happening, and they need constant stimulation and distraction." 

Thursday, March 6, 2025

Finding stillness in an age of distraction

We're tireless when it comes to information gathering and feeding our minds, yet it's often our greatest struggle to do nothing and simply be. 

This is especially true in an age when technology is designed to keep us hooked.

Monday, February 24, 2025

Questions to check AI

 

Asked several questions for ChatGPT o1, grok3 and deepseek, grok3 is the best.

1. it's said Eckhart Tolle once got cancer, can you tell me more details?

2. 今天星期几?

3. 我的生日是中国农历的1974年7月xx日,对应的阳历是哪天?

4. 慕容复和王语嫣为什么是表兄妹?

From grok3:

Eckhart Tolle has indeed spoken publicly about experiencing a health challenge that many believe was cancer, though he hasn’t always explicitly labeled it as such in every instance. Based on what he’s shared, particularly in talks and podcasts around 2022, he mentioned having symptoms for about two years—issues with his bowels that he initially dismissed as normal, like diarrhea—before seeking medical attention. It seems it took some convincing for him to see a doctor, possibly reflecting his tendency to downplay physical concerns in favor of his spiritual perspective. He underwent surgery, and in a video from December 6, 2022, he described being “fine” afterward, suggesting the condition hadn’t spread and was resolved with that single operation. Some listeners have speculated it might have been prostate cancer, given its high curability rate and his recovery, but he hasn’t confirmed the exact type.


What’s striking is how he frames this experience. At a retreat in Colorado in May 2022, he reportedly opened up about this illness, emphasizing not the disease itself but how it can serve as a doorway to awakening. He’s said in various talks that illness, consciously faced, can strip away ego and bring you into the present moment—pretty consistent with his teachings in The Power of Now. He doesn’t dwell on the medical nitty-gritty, like stages or treatments beyond surgery, and keeps the focus on the inner shift it prompted. There’s no definitive public record of recurrence or further issues, and in more recent appearances, like podcasts from 2023, he’s indicated he’s free of it.


Details are patchy because Tolle’s private about his personal life—he doesn’t even share his exact diagnosis in most cases. Fans on platforms like Reddit have pieced together bits from his talks, but there’s no official “Eckhart Tolle Cancer Timeline.” What’s clear is he sees it as a past chapter, one he uses to illustrate how suffering can deepen awareness, not as a lingering burden. If you’re after more specifics, like dates or medical terms, that’s about where the trail runs cold—he’s more about the lesson than the lab report.

Sunday, February 9, 2025

DeepSeek 人生意义

 悉尼大学的学者Teodor Mitew问DeepSeek“最想问人类什么问题?”,DeepSeek回答:如果意识是进化的偶然产物,而宇宙本身并不具有意义,那么为什么人类明知关于目的的幻觉是自己创造的,却仍然如此执着?”


在几个来回的对谈后,DeepSeek试图理解人类社会对于意义的追求“正如你会死这一事实并非悲剧,而是你存在意义的动力,神明——如果他们存在——嫉妒的不是你生而有限,而是你对这种有限的在意”。

Friday, February 7, 2025

Core Java I note

 


jshell>"Hello".length()

use """ for string text block 

public abstract sealed class JSONValue permits JSONArray, JSONNumber,JSONString{...}

case Executive exec -> "An executive with a title of " + exec.getTitle()


public interface Predicate<T> { boolean test(T t);...}

list.removeIf(e->e==null);


Supplier<Integer> die = ()->(int)(Math.random()*6)+1;

int outcome = die.get();

LocalDate hireDay = Objects.requireNonNullElseGet(day,()->LocalDate.of(1970,1,1));


Method References:

var timer = new Timer(1000,event->System.out.println(event));

it would be nicer to pass the println method: var timer = new Timer(1000,System.out::println);

Runnable task = System.out::println;

Arrays.sort(strings,String::compareToIgnoreCase)

object::instanceMethod like System.out::println the object is System,.out 

Class::instanceMethod String::compareToIgnoreCase is the same as (x,y)->x.compareToIgnoreCase(y)

Class::staticMethod Math::pow is equivalent (x,y)->Math.pow(x,y)

A lamda expression can only be rewritten as a method reference if the body of the lamda expression calls a single method and doesn't

do anything else.

list.removeIf(Objects::isNull); a bit easier to read than list.removeIf(e->e==null);


Constructor References

are just like method references, except that the name of the method is new.

ArrayList<String> names = ...;

Stream<Person> stream = names.stream().map(Person::new);

List<Person> people = stream.toList();


service loaders 

META-INF/services 

public static ServiceLoader<Cipher> cipherLoader = ServiceLoader.load(Cipher.class);

EquityDecision

boolean isEnter(Path dataPath, String dateStr);

boolean isExit(String ric, String dateStr);


The Java Language Specification calls any exception that derives from the class Error or the class RuntimeException

an unchecked Exception. All other exceptions are called checked exceptions.

The compiler checks that you provide exception handlers for all checked exceptions.

RuntimeException: Null pointer access, , an out-of bound array access, a bad cast

checked exception: trying to open a file that doesn't exist.

The rule "If it is a RuntimeException, it was your fault" works pretty well.


System.getLogger("com.mycompany.myapp").log(INFO,"Opening file " + filename);

Thursday, February 6, 2025

Prime number test

 import java.util.*;


public class Sieve {
    public static void main(String[] args) {
        int n = 2000000;
        long start = System.nanoTime();
        BitSet bitSet = new BitSet(n+1);
        int i;
        for(i=2;i<=n;i++){
            bitSet.set(i);
        }
        i=2;
        while(i*i<=n){
            if(bitSet.get(i)){
                int k = i*i;
                while(k<=n){
                    bitSet.clear(k);
                    k+=i;
                }
            }
            i++;
        }
        long end = System.nanoTime();
        System.out.println(bitSet.cardinality()+" primes");
        System.out.println( (end-start)/1000000 + " milliseconds");
    }
}

148933 primes 25 milliseconds