GotoWeb3◱ ◱ (@gotoweb3) • Hey
https://land.philand.xyz/lovenft.eth
Publications
- Drawing the curtains open, the night sky at dawn is crystal clear. Pale moonlight penetrates through thin clouds, spilling over the silent earth.Blurred moonlight filters through layers of misty fog, scattering mottled, illusory rays of light.
A breeze brushes my face, carrying the aroma of foliage. In the far distance, the on-and-off chorus of insects resonates in the empty valley, infusing vitality into the tranquil night. This long, soothing insect choir is like a natural lullaby, revitalizing the spirit.
The crisp air is tinged with the scent of grass. The luminous moon aloft, the gentle breeze, and the persistent insects' crisp chirping compose a serene, alluring scene that refreshes the mind and brings peaceful tranquility.
- Red Bird
a red bird
- function sortArrays(arrays) {
// 按第一个元素排序
arrays.sort((a, b) => a[0] - b[0]);
let sorted = false;
while(!sorted) {
sorted = true;
for(let i = 0; i < arrays.length - 1; i++) {
// 如果相邻两个数组的第一个元素相同
if(arrays[i][0] === arrays[i+1][0]) {
// 就按第二个元素排序
if(arrays[i][1] > arrays[i+1][1]) {
let temp = arrays[i];
arrays[i] = arrays[i+1];
arrays[i+1] = temp;
sorted = false;
}
}
}
}
return arrays;
}
// 测试
let arrays = [[1, 4], [1, 3], [1, 5], [2, 1]];
console.log(sortArrays(arrays)); // [[1, 3], [1, 4], [1, 5], [2, 1]]
主要思路是:
1. 首先按第一个元素排序
2. 检查相邻两个数组的第一个元素是否相同,如果相同则按第二个元素排序
3. 不断重复此过程,直到排序完成这个算法同样适用于任意多维数组的排序。
- Two Cats
Two Cats
- Old Child
A old child
- Sort2:
def sort_arrays(arrays):
# 将数组按照第一个元素进行排序
arrays.sort(key=lambda x: x[0])
# 检查是否需要继续按第二个元素排序
need_sort = True
while need_sort:
need_sort = False
for i in range(len(arrays) - 1):
if arrays[i][0] == arrays[i+1][0]:
if arrays[i][1] > arrays[i+1][1]:
arrays[i], arrays[i+1] = arrays[i+1], arrays[i]
need_sort = True
# 然后按照第三个元素排序
if need_sort:
arrays.sort(key=lambda x: x[1])
- 编程学习之基础:排序算法01
三种常见的排序算法在Python中的实现:
(lenster的编辑器怎么缩进行,没有搞清楚)
冒泡排序
def bubble_sort(nums): for i in range(len(nums)-1): for j in range(len(nums)-i-1): if nums[j] > nums[j+1]: nums[j], nums[j+1] = nums[j+1], nums[j]
选择排序
def selection_sort(nums): for i in range(len(nums)-1): min_idx = i for j in range(i+1, len(nums)): if nums[j] < nums[min_idx]: min_idx = j nums[i], nums[min_idx] = nums[min_idx], nums[i]
快速排序
def quick_sort(nums): if len(nums) <= 1: return nums pivot = nums[len(nums) // 2] left = [x for x in nums if x < pivot] middle = [x for x in nums if x == pivot] right = [x for x in nums if x > pivot] return quick_sort(left) + middle + quick_sort(right)
示例
nums = [5, 3, 1, 4, 2] bubble_sort(nums) print(nums) # [1, 2, 3, 4, 5]nums = [5, 3, 1, 4, 2] selection_sort(nums) print(nums) # [1, 2, 3, 4, 5] nums = [5, 3, 1, 4, 2] quick_sort(nums) print(nums) # [1, 2, 3, 4, 5]
- 桃树就是桃树
从来不是,
也不会是别的树
一定会经历风雨,
只会结出桃子
这便是桃树的本性
宇宙给桃树,
也给你我安排
从来都一视同仁着
找到内置在生命中的本性
放弃其他徒劳的想法
知道自己是谁的那一刻
也就结出桃子
- Wonderful!
- How beautiful!
- Ghost?
- Black cat
- Horse
- Oh
- Playing card?
- Man and news
- 抄大佬笔记:自动翻译字幕工具:https://alexzhangji-firelink-streamlit-webapp-9fdlcc.streamlit.app/
- a
- 抄大佬笔记:自动翻译字幕工具:https://alexzhangji-firelink-streamlit-webapp-9fdlcc.streamlit.app/
- Pure cats
https://lenstube.xyz/watch/0x012877-0x39
- Pure cats
https://lenstube.xyz/watch/0x012877-0x39
- Pure Cats
Pure Cats
- 抄大佬的笔记:大漠按键精灵库,支持各种语言,比如易语言、JAVA和C#等等,可以钩住某个进程,不影响鼠标,支持多开,比“按键精灵”好用多了
- 抄大佬的笔记:大漠按键精灵库,支持各种语言,比如易语言、JAVA和C#等等,可以钩住某个进程,不影响鼠标,支持多开,比“按键精灵”好用多了
- 冰蛙告诉我们:花Gas交互撸毛是漫长的过程,本质还是一种高赔率的赌博,赌博就一定会有输赢,把撸空投当成拿顶级项目一级额度的方式,也可以把撸空投当成一种资产配置,保持一份好的心态,也许才能带来意想不到的收获。
- 冰蛙告诉我们:花Gas交互撸毛是漫长的过程,本质还是一种高赔率的赌博,赌博就一定会有输赢,把撸空投当成拿顶级项目一级额度的方式,也可以把撸空投当成一种资产配置,保持一份好的心态,也许才能带来意想不到的收获。
- 人生啊人生
- 卧槽 太强了 UE5昨天发布的 MetaHuman Animator 能力可以模仿一段视频的人物表情和动作将其换成CG动画。 可以在单台计算机上运行,使用iPhone并可以将视频和开发数据转换为高保真度的性能动画,并具有令人信服的舌头动画。它生成的骨骼可以从仅三帧视频和数据中预测所有面部表情,忠实地复制原始表演
https://lenstube.xyz/watch/0x012877-0x2d
- 卧槽 太强了 UE5昨天发布的 MetaHuman Animator 能力可以模仿一段视频的人物表情和动作将其换成CG动画。 可以在单台计算机上运行,使用iPhone并可以将视频和开发数据转换为高保真度的性能动画,并具有令人信服的舌头动画。它生成的骨骼可以从仅三帧视频和数据中预测所有面部表情,忠实地复制原始表演
https://lenstube.xyz/watch/0x012877-0x2d
- Ai未来已来
卧槽 太强了 UE5昨天发布的 MetaHuman Animator 能力可以模仿一段视频的人物表情和动作将其换成CG动画。 可以在单台计算机上运行,使用iPhone并可以将视频和开发数据转换为高保真度的性能动画,并具有令人信服的舌头动画。它生成的骨骼可以从仅三帧视频和数据中预测所有面部表情,忠实地复制原始表演
- 人性
https://lenster.xyz/posts/0x012877-0x2a
- 人性
人性是一个复杂而又迷人的主题。它包含了我们与生俱来的特质、行为和倾向,这些特质定义了我们作为个体的本质,并指引着我们的行动。
从心理学的角度来看,人性是一个非常有趣的方面,它既包括了我们善良和恶劣两面的本性。我们有着无限的善良、同情和移情之心,但我们也能做出可怕的残忍、暴力和自私的行为。这种二元性反映在我们的历史、文学和艺术中,我们可以看到人类最好和最坏的例子。
另一个重要的人性方面是我们对连接和归属的需求。作为社交动物,我们需要与他人建立关系,并寻求与我们价值观和信仰相同的社群。这种连接的需求可以引导我们做出极其慷慨和合作的行为,但当我们把他人视为我们群体的威胁时,它也会导致冲突和分裂。
此外,人性还受到许多因素的影响,包括遗传、环境、文化和家庭背景等。这些因素可以塑造我们的个性、价值观和信仰,并甚至影响我们的决策过程。
最终,我们对人性的理解不断发展,随着我们对自己和周围世界的认识的不断深入,我们可以更深刻地欣赏人类经验的美丽和复杂性。
- Human nature
https://lenster.xyz/posts/0x012877-0x25
- Human nature is a complex and fascinating subject to explore. It encompasses our innate characteristics, behaviors, and tendencies that make us human. From a psychological perspective, it refers to the fundamental qualities that define us as individuals and guide our actions.
One of the most interesting aspects of human nature is our capacity for both good and evil. We are capable of incredible acts of kindness, compassion, and empathy, but we are also capable of terrible cruelty, violence, and selfishness. This duality is reflected in our history, literature, and art, where we see examples of both the best and worst of humanity.
Another important aspect of human nature is our need for connection and belonging. As social animals, we thrive on relationships with others and seek out communities that share our values and beliefs. This need for connection can lead to great acts of generosity and cooperation, but it can also lead to conflict and division when we perceive others as a threat to our group.
Additionally, human nature is influenced by a variety of factors, including genetics, environment, culture, and upbringing. These factors can shape our personalities, values, and beliefs, and can even impact our decision-making processes.
Ultimately, our understanding of human nature is constantly evolving as we learn more about ourselves and the world around us. As we continue to explore the complexities of human behavior and psychology, we can gain a deeper appreciation for the beauty and complexity of the human experience.
- Human nature is a complex and fascinating subject to explore. It encompasses our innate characteristics, behaviors, and tendencies that make us human. From a psychological perspective, it refers to the fundamental qualities that define us as individuals and guide our actions.
One of the most interesting aspects of human nature is our capacity for both good and evil. We are capable of incredible acts of kindness, compassion, and empathy, but we are also capable of terrible cruelty, violence, and selfishness. This duality is reflected in our history, literature, and art, where we see examples of both the best and worst of humanity.
Another important aspect of human nature is our need for connection and belonging. As social animals, we thrive on relationships with others and seek out communities that share our values and beliefs. This need for connection can lead to great acts of generosity and cooperation, but it can also lead to conflict and division when we perceive others as a threat to our group.
Additionally, human nature is influenced by a variety of factors, including genetics, environment, culture, and upbringing. These factors can shape our personalities, values, and beliefs, and can even impact our decision-making processes.
Ultimately, our understanding of human nature is constantly evolving as we learn more about ourselves and the world around us. As we continue to explore the complexities of human behavior and psychology, we can gain a deeper appreciation for the beauty and complexity of the human experience.
- Oh,AI
- 自我规划:
1、Lens 坚持每天发30张图片,至少33天(S+门槛)
2、ERA 除了官方桥一笔,主要TX集中在sync(没发币)
3、Starknet TX使用 10Kswap,其余的都是垃圾,严重影响效率
4、非必要,跨桥链只使用一次(小飞碟是很贵的)
5、每天晚上坚持锻炼,把肚子上的肥肉变没,要是人没了,白搭
- List
- AI奇点临近
- 20230227日志
https://mirror.xyz/thisweb3.eth/ymnkUKHTT6A7Ni9dS4zXJzdNCE_gI3NUnoxo14M7mn4
欢迎加入DISC一起交流: https://bit.ly/3xkxqjH
推特:https://twitter.com/Zbc11582807
LENS:lenster.xyz/u/thisweb3(有关必回)
- Congrats to @lenster.lens for adding token gated posts too!
Just pushed a change to lensport.io showing the unlock criteria from Lenster posts on LensPort too!
For example, here is a gated post by @yoginth.lens on LensPort: https://lensport.io/p/13_726
Let us know if you experience any problems with the interoperability between Lenster and LensPort gated posts. Working hard to make the Lens ecosystem compatible 🤝
- Introducing Quote Posts on @lensport.lens !
This was inspired by @0xmoe.lens who added Quote posts to @buttrfly.lens
You can now view and quote posts on desktop too!
Features:
- Simple to do, just press the mirror button (UI similar to Twitter)
- View how many quotes a post has
- View all of the quotes of a post
- Compatible with buttrfly Quote Posts
Try it out on this post: https://lensport.io/p/30736_123
- Think it'd a good step towards bringing Lens to the masses. Combined with Account Abstraction there could be many UI/UX improvements. Many people could start their Crypto journey on Lens so getting them set up here would be useful
___
Quoting @stani.lens : lensport.io/p/30736_128
Whats the latest sentiment on Lens on social recovery? Would folks be willing to share portions of their keys with peers?
- 🔥
___
Quoting @0xzelda.lens : lensport.io/p/30736_129
Skrrr skrrr what do you see 👀?? It’s Push Notifications 📳 on @buttrfly.lens 🦋..
@0xmoe.lens 😎 you are amazing!!
#LENS🌿 #LETSKEEPBUILDING💪
- Cool to see @LensPort improving so much over time. Couple of things I would suggest is that creating content could reflect instantly by using the Optimistic Lens API. Second is that the feed could specialize on content that is getting collect traction and make it all about collect economy in feed and recommendations.
- gm
- Want to improve LensPort's design 🎨. What are some criticisms of the current design or improvements you think can be made?
Could be as simple as something looking off or weird
- What’s an Original Collectible on LensPort? 🎗
You may have noticed that some posts now have a name on the bottom next to the “like” button. This is the owner of the post’s Original Collectible
An Original Collectible is the first NFT minted from a post on Lens. It’s the digital equivalent of an artwork’s signed original 🧑🎨
For example, @ryanfox.lens appears here on @grams.lens post as the owner of the Original: lensport.io/p/12908_1872
Each post collection now has a single special NFT (basically a golden egg 1/1), while keeping the rest of the collection’s value! 💎
Stay tuned for some cool uses we have planned for Originals! 👀
- By the way, this feature is one of the major reasons Sound.xyz is successful. The prominent display of collectors encourages a collector culture. We need more of this on Lens and this is a great step in that direction!