雷姬家的阁楼书架
410 subscribers
5.37K photos
121 videos
35 files
12.1K links
Reki的轻博客, 日常生活流水帐和信息见闻&吐槽.

你将在本频道看到包括且不限于以下话题:
菜菜程序员屎山遨游见闻
猎人 · 特工 · 提督 · 雀士 · 猎魔人 · 开位御主 · 期间限定回归
二五仔毒奶观测者
刀客塔沉船记录
财经新闻胡乱精选
生草新闻摘抄 & 分享
频道主突发恶疾
Download Telegram
去翻了一下当年给ip8买的膜,果然人家换上了se3也可以用的宣传语,笑死我了
#校园消息速报
有消息称,
在校方老师与学生的对话过程中,
老师在得知部分在校生目前无需上课的情况后,一瞬爹瘾上身,哀叹此种生活方式,未来将如何自处,
并在学生迟疑的情况下,表示要亲自给没有即时健康申报,即所谓“作息不规律”的同学,打电话给家长,
最后再发一神论,“如果做不到,我会用一切我能用的手段,去处理不申报的同学和不配合工作的班委。不要把我推到你们的对立面。”
「ESP预测调查还实施了一项特殊调查,那就是让经济学家们从2020年9月起,每逢奇数月份列举出三项“经济风险”。到2021年9月为止,第一位的“经济风险”一直是“新冠肺炎疫情”。但在去年11月的调查中,“新冠肺炎疫情”被“中国经济恶化”超过,让出了“经济风险”头名位置,这反映了新冠病毒新增感染者急剧减少的现状。」
https://www.nippon.com//cn/in-depth/d00778/
雷姬家的阁楼书架
https://devblogs.microsoft.com/dotnet/announcing-dotnet-7-preview-2/
Before
public class Foo
{
public Regex regex = new Regex(@"abc|def", RegexOptions.IgnoreCase);

public bool Bar(string input)
{
bool isMatch = regex.IsMatch(input);
// ..
}
}
After
public partial class Foo // <-- Make the class a partial class
{
[RegexGenerator(@"abc|def", RegexOptions.IgnoreCase)] // <-- Add the RegexGenerator attribute and pass in your pattern and options
public static partial Regex MyRegex(); // <-- Declare the partial method, which will be implemented by the source generator

public bool Bar(string input)
{
bool isMatch = MyRegex().IsMatch(input); // <-- Use the generated engine by invoking the partial method.
// ..
}
}
其实我会以为他这个会做成类似js的那种把成员方法单个提出来