Ruby生态环境缺陷之二

More things abour ruby. Recently I’m trying to fix some issues with bundler. setup a development environment No interactive debuggers. finally there is “byebug”. But it still lacks semantic highlighting. “Pry” can’t do debugging! Also it’s only working on msys shell. Neovim have ruby-lsp which is created by shopify, but when open multiple instances, there are performeance issues. Free ruby threads are shown in Windows process manager, which consumes about 15% of the CPU. sometimes they are hard to kill. ...

November 10, 2024

Digging into Ruby and I found many issues

Recently I’m starting to use Ruby. I found many issues. One thing is the annoying “Terminate batch job (Y/N)?” prompt. I find scoop’s shim useful. I’ve filed a ticket at RubyGems: https://github.com/rubygems/rubygems/issues/8199 I also have a pull request to resolve it but I’m not too familiar with Ruby so I wonder if it’s a good solution. I might need to file a ticket at Ruby core Redmine to see if the shim can be built into Ruby to avoid replying on C extension. ...

November 5, 2024

Beauty in Ruby

Happy Halloween! Google halloween doodle Our job is to solve problems, not spoonfeed compilers, so we like dynamic languages that adapt to us, without arbitrary, rigid rules. We need clarity so we can communicate using our code. We value conciseness and the ability to express a requirement in code accurately and efficiently. The less code we write, the less that can go wrong. (And our wrists and fingers are thankful, too.) ...

October 31, 2024

Read murakami's book

Recently I’m interested in Japanese culture. After I finished some ruby videos, I start to find some book to read. Here is one: Norwegian Wood The first several parts are sweet. Later seems somewhat boring. It’s a pity that Naoko finally leaves. Or just she didn’t want her body to be violated again. Perfect ones need to keep perfect until die. I guess it’s an error for the heroine to want to live with them. ...

October 25, 2024

王者荣耀游戏分析

方法 下载游戏安装包:链接 使用“Android Studio" - Build - Analysis APK 分析 权限 读取安装应用 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 和三方应用互传消息 <queries> <package android:name="com.tencent.mm" /> <package android:name="com.unionpay" /> <package android:name="com.vivo.game" /> <package android:name="com.heytap.market" /> <package android:name="com.tencent.mobileqq" /> <package android:name="com.huawei.appmarket" /> <package android:name="com.xiaomi.market" /> <package android:name="com.ss.android.ugc.aweme" /> 抖音 <package android:name="com.ss.android.ugc.aweme.lite" /> <package android:name="com.ss.android.ugc.live" /> <package android:name="com.tencent.weishi" /> <package android:name="serviceconfig.wsds.cn.appserviceconfig" /> <package android:name="com.tencent.cmocmna" /> 腾讯手游加速器 <package android:name="com.tencent.xriver" /> <package android:name="com.tencent.xfight" /> <package android:name="com.tencent.gamehelper.smoba" /> <package android:name="com.levelinfinite.sgameGlobal" /> <package android:name="com.levelinfinite.sgameGlobal.midaspay" /> <package android:name="com.levelinfinite.sgameGlobal.samsung" /> <package android:name="com.levelinfinite.sgameGlobal.xiaomi" /> <package android:name="com.levelinfinite.sgameGlobal.huawei" /> <package android:name="com.smile.gifmaker" /> 快手 <package android:name="com.kuaishou.nebula" /> 快手 <package android:name="com.sina.weibo" /> <package android:name="com.sina.weibog3" /> <package android:name="com.tencent.qqlite" /> <package android:name="com.duowan.kiwi" /> 虎牙 <package android:name="air.tv.douyu.android" /> <package android:name="tv.danmaku.bili" /> 哔哩哔哩 <package android:name="com.tencent.qqlive" /> <package android:name="com.cmcc.cmvideo" /> <intent> <action android:name="com.huawei.hms.core.aidlservice" /> </intent> <intent> <action android:name="com.huawei.hms.core" /> </intent> <package android:name="com.xingin.xhs" /> 小红书 结论 这些平台通过com.huawei.hms.core.aidlservice相互共享消息。 ...

October 18, 2024

大学回忆

记得同学A经常用小米。 同学B很可爱。A向B求爱,然后成了男女朋友。 但是A还是很喜欢小米。最后他们分手了。

October 17, 2024

王者荣耀

玩王者荣耀有好多年了。 从大学里开始。有了手机。信息时代,人们都用QQ。因此开始玩游戏。 大四的时候,人们都在考研。我感觉被孤立。是王者荣耀陪伴我。 上班之后也经常在玩。渐渐有了全部英雄。因为没有钱充,皮肤只能靠抽。 人们不知道的 主页可以自定义音乐 我的皮肤 小乔 - 青蛇 瑶 - 遇见神鹿 杨玉环 - 遇见飞天 甄姬 - 落雪兰心 对局 不知火舞 其他 以前是大佬的时代。人们很难提升等级。 自从被揭穿(鸡爪流)之后,好像改了。现在游戏文化变了。加上9月左右送王者段位卡,很多人王者N星。 花絮 国庆免费用皮肤。很多人用后羿-黄金射手座,和安琪拉上分。 现在活动没有了。不知道是什么压力,又免费用了,不过都是垃圾皮肤。

October 17, 2024

学习计划

发到网上是因为觉得不会完成。 Update 06/11/2024 learn math, then algorithm OCaml current delayed SQL can be continued in Rails GUI can use css instead, currently learning older learn algorithm, do some practices on codewars, start from simple ones Learn OCaml Do python or ruby projects with SQL For GUI, do some projects on Android Finished finish ruby videos (rubyworld 2016) read full “the mother of all demos” Programming intro (past few years) OS (Linux/Windows) - in Arch, Wicresoft Computer networking - University, Wicresoft Compilers - Lox

October 16, 2024

关于Ruby

我好懒决定不想写。有空再说吧。

October 15, 2024

博客复活了

关于这个网站 从2022年3月起一直没有更新过。后来让我改成spinx/jupyter了。 现在的状况 听了几个Ruby的演讲,发现我一直没有程序员的懒惰精神。 过去的时间 从哪里说起呢。我从3月拿到Python起,开始使用Python。在公司里做了消息模拟器。大成功。新技术才是前进的方向。 我离职了。去IBE。但是那里的情况不是很好。没有人文关怀。这是C++的通病。或许我只是想离开。 这也和住的地方有关。东三旗是一个废墟。墙太薄。空气不好。我果然需要一个高质量的生活环境。 我的新工作 后来去了微创。做英语技术支持。 但我现在已经辞职了。

October 15, 2024