Posts tagged with “随笔”

给旅行的43条建议

  1. 心态比目的地更重要。
  2. 旅伴比目的地更重要。
  3. 许多情侣交往几个月后会去旅行,但往往以激烈争吵收场。我觉得这是旅行的“应有功能”——本质上是测试感情的压力承受力。
  4. 只有大家都轻装上阵,轻装旅行才有意义。
  5. 别纠结“我是旅行者,不是游客”这种事,没必要。
  6. 各地文化在很多细节上不同,比如音量大小、排队方式、站多近合适、进商店的礼仪、气味接受度、擤鼻涕的时机等等。要学会适应,既别冒犯别人,也别因为“文化冲突”生气。
  7. 各地有不同的“餐桌规则”,比如点饮料的时机、咖啡的喝法、吃面条能不能发出声音等。这些规则其实没什么道理,但既然身处其中,还是遵守一下吧。
  8. 语言不通时,语气、手势、肢体语言和穿着会更影响别人对你的印象。
  9. 穿得比平时稍微正式一点会更受欢迎。
  10. “旅行专用衣服”看起来很方便(比如能变成短裤的速干裤),但真的穿起来舒服吗?我建议你慎重考虑。
  11. 旅途中用洗手池洗衣服很正常,只是大家不太说而已。
  12. 衣服用体温烘干更快。
  13. 偏僻小店一般会努力让顾客满意,但热门景点旁的餐馆更可能只是想“拉客”,因为游客大概率不会再来。别怪他们,市场环境决定了他们的生存策略。
  14. 主动拉客的餐馆,多半是只想让你进门消费,质量未必靠谱。
  15. 看起来不起眼但人很多的地方,一定有它的优势,比如味道、氛围、价格或地理位置。
  16. 当地人喜欢的店可能食物一般,但总有几样特别好吃的,他们知道点什么最划算。
  17. 菜品质量的差异比人的口味差异更大。
  18. 看餐馆评价时:①按最新排序,②多看照片,③留意评论者的背景,④如果某条评价特别吸引你,可以看看那人的其他评论来“校准”一下。
  19. 有些地方(比如纽约)在线评分很准,有些地方(比如巴黎)就完全随机,不明白为什么。
  20. 旅行不全是享受。除了飞机和机场,人在异地也常会有“格格不入”的感觉,别指望一直开心。
  21. 快乐这种东西,来得快去得也快。
  22. 花大价钱住豪华酒店的确能减少旅行中的烦恼,但你也会发现自己始终待在全球化商业的泡泡里,没真正融入当地。
  23. 澳大利亚人看似无处不在,明明全球人口才 0.3%,但旅游地好像有 10% 是他们。习惯就好。
  24. 别被“强行服务”绑架。酒店门童未经同意就拿你行李,你完全可以不给小费,他们心里有数。
  25. 想避开人潮,去安静的海滩或徒步的话,早点起床。
  26. 旅游指南上的自然景点人山人海,但附近往往有类似的地方,却没什么人知道。
  27. 大风天,海滩上的伞很危险。很多人不会正确固定伞,最好不要站在它们的下风口。
  28. 人喝水就得上厕所,如果接下来长时间没地方上厕所,那就别喝太多。
  29. 带点小药包,装些止痛药、抗过敏药、感冒药、活性炭片、创可贴等,关键时刻能救自己或别人。
  30. 人年纪越大,时间过得越快。旅行会打破这种感觉,因为新鲜感能让时间变慢。
  31. 旅行最大的意义之一是让你重新思考日常生活:为什么这样过?工作是自己想要的吗?是不是该写点东西?这些思考是好事,但好像跟旅行本身关系不大?如果真想激发这种思考,有没有更直接的方式?
  32. 彻底的野外徒步会让你更加珍惜现代生活的便利,但这种感激的感觉很快会消失,长期来看,可能得不偿失。
  33. 除非别人主动问,不然别老讲你的旅行经历。
  34. 不过,如果你去过别人家乡,他们可能会感兴趣。另外,聊共同去过的地方是个不错的话题。(第一名的可靠聊天话题:宠物。)
  35. 有些国家喜欢给外国电影配音,有些则喜欢字幕。大国更倾向配音(摊薄成本?),但也有很多例外。英语国家普遍厌恶配音,可能是因为好电影被配音毁掉的几率更大?
  36. 公交车的风景通常比地铁有趣。
  37. 时差不是“克服”的,而是每天最多调整 1-2 小时。如果可能的话,我更愿意先按原来的时间作息几天,比如早上 4:30 出门走走。
  38. 如果旅行后马上有重要事(面试、婚礼),可以提前调整作息。不然第一天状态可能还行,第二天就开始崩。
  39. 长途飞行最好别喝酒,会让本就糟糕的睡眠雪上加霜。
  40. 大多数人喜欢靠过道的座位,但他们迟早会意识到自己错了。别迟疑,现在就选靠窗的座位。
  41. 真正擅长旅行的人,往往是能沉浸在感官体验里的人,能放下内心的对话,让景象、声音、气味自然流过自己。我本性不擅长这个,但如果刻意去做,体验会很不一样。
  42. 不要把“稀有”误认为“珍贵”。一次真正悠闲美好的公园午后,可能就是人生顶配的享受了。
  43. 旅行揭示了稳定、归属感、规律生活、社区、人际关系和在家做饭的价值。

原文 (I found the following in one's blog, but I couldn't find the link now, will update it with his link shortly)

  1. Mindset matters more than where you go.

  2. Who you go with matters more than where you go.

  3. After seeing each other for a few months, many new couples take a short trip, which often ends in an apocalyptic, relationship-destroying fight. My theory is that’s the trip working as designed—couples do these trips out of an instinctual desire to stress-test their relationships.

  4. There’s not much point in packing light unless everyone is packing light.

  5. Some people have a weird anxiety about tourism— “I’m a traveller, not a tourist” or whatever. Don’t be like that.

  6. Cultures vary in lots of arbitrary ways—how loud to talk, how (or if) to wait in line, how close to stand to other people, how to behave when you walk into a shop, how to smell, when you can blow your nose, etc. It’s good to be aware of these both as a producer of behavior (not offending others) and a consumer of behavior (not being offended when you’re not “supposed” to be).

  7. Different places have different “rules” like if you’re supposed to order drinks before or after food, when you can drink which kinds of coffee, or if you’re allowed (or encouraged) to slurp when eating noodles. After seeing all these variations, it’s hard not to see them as silly, but life is short and I suggest you mostly just conform.

  8. When there’s a language barrier, non-verbal information (tone, gestures, body language, clothes) plays an increased role in others’ judgements of you.

  9. Consider dressing slightly better than you normally do.

  10. Some places sell “travel” clothes, e.g. “travel” pants made of quick-drying nylon with zippers so the pants can convert to shorts. While I maintain you should fly your flag high, I also really, really, really think you might be more comfortable if you weren’t wearing these.

  11. You can wash clothes in the sink. I think basically everyone does this but doesn’t talk about it?

  12. Clothes dry much faster with body heat.

  13. A restaurant in some out-of-the-way neighborhood will likely pursue a make customers happy strategy. But a cafe across the street from the Colosseum will probably use a get people in the door strategy—no matter how good the food is, most people will never come back, so resources invested in making them happy after they’ve committed to pay are “wasted”. Don’t blame them, blame the remorseless market forces they’re trying to survive under.

  14. A place that has staff trying to flag down people walking past is almost certainly pursuing a get people in the door strategy.

  15. A place that looks unappealing but has lots of customers is probably good along some dimension (food, atmosphere, price, location).

  16. Locals might love a place even though much of the food is mediocre because some is really good and they know what to order.

  17. Dishes vary in quality more than people vary in their preferences!

  18. There’s also the get good ratings onlinestrategy. When looking at reviews, consider (1) sorting by new, (2) looking at the pictures (I told you this would be obvious), (3) possibly—umm—possibly taking the ethnicity of reviewers into account, and (4) if one reviewer is really swaying you, checking out their history to calibrate for how effusive they tend to be.

  19. In some cities (New York), online ratings are unnervingly accurate while in other cities (Paris) they seem completely random. I don’t understand this. (I find inaccurate ratings frustrating and accurate ratings dehumanizing.)

  20. Travel isn’t always fun. Obviously, planes and airports aren’t fun. But just being in a foreign place is often kinda alienating. So don’t expect constant fun.

  21. Fun gets old surprisingly quickly.

  22. If you spend a ton of money and stay in very expensive hotels and whatever, you can eliminate almost all of the frustration and uncertainty of travel. But it also feels like you never leave the global capitalist monoculture.

  23. Despite being only 0.3% of the world’s population, Australians seem to make up 10% of overseas visitors everywhere on the planet. Do not be disturbed by this well-known optical illusion.

  24. Don’t be bullied. If you arrive at a hotel and an employee grabs your bag out of the taxi and carries it to the front desk without asking you, you should feel zero obligation to tip. They know exactly what they’re doing.

  25. If you like isolated beaches or hikes, get up early.

  26. In touristy places there are often nature things (hikes, beaches, views) that make it into guidebooks and become insanely crowded while there are almost equivalent things nearby that are nearly empty.

  27. When it’s windy, beach umbrellas are dangerous. Most people don’t know this and have no idea how to secure an umbrella. Avoid being downwind if you can.

  28. The human, after drinking liquids, must pee. So if you’re about to go somewhere where peeing is impossible, maybe don’t drink a lot of liquids.

  29. Get some tiny bags (I like paper foil resealable bags), and put a few painkillers, antihistamines, decongestants, activated charcoal, etc. in one. Put some bandages in another. Keep them with you and be a hero.

  30. Time seems to speed up as you get older. And you wonder—is it biological, or is it because life had more novelty when you were a child? Travel partly answers this question—with more novelty, time slows way down again.

  31. My favorite part of of travel is the perspective it gives on “regular” life. Why do I live the way I do? Is the stuff I do for work what I want to be doing? Should I blog about a “topic” instead of whatever shiny object last caught my eye? These thoughts seem healthy but also… not particularly related to traveling? If you designed an experience to create this kind of perspective, what would that look like?

  32. Brutal week-long backpacking/camping trips are amazing for helping you appreciate modern wonders like roofs and beds and stoves and showers and toilets, but this appreciation seems impossible without deprivation, and at least for me the half-life of improved appreciation is short enough that I’m pretty sure I end up behind on net.

  33. If in doubt, assume people would rather hear less about your trips.

  34. Though, people may like to hear about your visit to their hometown. And places you’ve both visited are top five on the list of reliable conversation topics. (Number one on said list: pets.)

  35. The world needs a theory for why some countries watch foreign-language movies with dubbing vs. subtitles. The overall trend seems to be that larger countries more often favor dubbing—perhaps because they can amortize the cost over a larger audience? But there are many exceptions and in the Anglosphere, dubbing is regarded as a horror that destroys all cultural authenticity. Why? Maybe because Portrait de la jeune fille en feu has more authenticity to destroy than Transformers: Rise of the Beasts?

  36. Buses have much more interesting views than subways.

  37. You can’t beat jet lag—you can only really adjust an hour or two per day. I prioritize being functional so when possible I just live on weird hours for a few days after changing time zones. It’s interesting to get up and take a walk at 4:30 AM.

  38. If you have to do something really important right after traveling (like a job interview or getting married) you can “pre-adjust” your schedule before leaving. If that’s not an option, you might actually be in better shape on the first day than the second due to having more “residual health”.

  39. You’re really, really better off not drinking alcohol on long flights. It screws with your sleep when your sleep least needs to be screwed with.

  40. Most people incorrectly prefer aisle seats to window seats. They’re sure to discover their error sooner or later, but in the meantime, use it to your advantage.

  41. Many of the people who seem “best” at travel seem to be really good at having sensory experiences—at shutting down the internal dialog and letting the sights and sounds and smells wash over them. I am by nature horrendous at having sensory experiences, but if I make a conscious choice, then it’s pretty easy and often quite profound.

  42. Don’t confuse scarcity with value. A really good afternoon in the park (a really good one) is maybe about as good as it gets.

  43. Travel reveals the value of stability, roots, routine, community, relationships, and cooking at home.

从一句话看男女成长的双重困境

世上所有的女人最终都活成了她们母亲的样子,这是她们的悲剧。而男人不会,这是他们的悲剧。

当我第一次读到这句话时,立刻发现了其中的含糊之处。"男人不会"——究竟是说他们不会活成父亲的样子,还是不会活成母亲的样子?这种含糊激起了我的好奇心,我忍不住想要弄清这句话到底想要表达什么。

不论在东方还是西方,男性往往不自觉地复制父亲的行为模式。他们在成长过程中潜移默化地吸收父亲的处事方式、继承父辈的价值观,自然而然地选择相似的人生道路。从这个角度看,大多数男人真正"不会"的,或许应该是理解并接纳身为女性的母亲的样子。

这种"不会"是几千年来父权社会统治世界的结果。从小,男孩就被告知要坚强、勇敢,不能表现得"像女孩子"。这种教育不仅限制了男性表达情感的能力,也暗含着对女性特质的轻视,不可避免地造成性别冲突。

类似地,这世界上大部分的女性最终通过活成了母亲的样子,进而理解了身为女性不得不对生活做出诸多让步,这是一种清醒的悲剧;而男性却从小被刻意培养得不去理解女性,这是一种傲慢的悲剧。女人的悲剧在于"不得不理解",而男人的悲剧则是"不能理解"。

不论男人还是女人,终其一生都渴望自己成长为一个尽可能完整的人。多元化的社会价值观让人们认识到,人的成长不应被刻板印象所束缚。女权运动的发展不仅为女性带来更多可能性,也使男性有机会学会尊重、理解女性特质,而非本能地排斥它们。社会在进步,这样的悲剧并非不可避免。

看看我自己,我在传统文化环境中长大,喝了足够多的狼奶。幸运地,好奇心促使我阅读,阅读拓宽了我的知识面和视野,进而促使我反思和调整自己的观念。我明白,身为男性,理解和尊重女性不仅对女性有益,也能让自己成为一个更完整的人。

希望这篇短文能让这个世界变得更好一点点。

网友语录 - 第20期 - 别犹犹豫豫,先上路,路上缺啥补啥。

这里记录我的一周分享,通常在周六发布。


萧覃含 别犹犹豫豫,先上路,路上缺啥补啥。


Marskay 我父亲总是对我说:「如果你想跑步,就去跑,不用一定要等着有人陪你一起。因为只要坚持跑下去,迟早在你第五次或第二十次跑步的时候会有志同道合的人找到你,来到你身边。」直到最近我才意识到,这个道理其实在人生的很多方面都适用。


第三夏尔 人就是这么奇怪的动物:时间有限时,还能不断地给自己找事做,当时间趋近无限时,反倒会失去一切动力。 https://thirdshire.com/boreout/ 聊聊 Boreout:工作太闲也会生病 过劳的反面

…more

利用正则表达式精准匹配 Markdown 中的 Tag

在 Markdown 文档中,我们经常会使用 # 来标记标签(tag)。例如,#todo#feature 都可以作为标记嵌入文本中。然而,在 Markdown 中还存在另一种情况:代码块。代码块通常由单个或连续三个反引号(```)包裹,并且代码块内部可能会出现类似 #ff0000 这样的颜色值。如果不加以区分,就会把这些颜色值也识别为标签。

此外,为了避免误判,转义的反引号(\`)也不应被当作真正的分界符。为此,我们需要设计一个既能排除转义反引号,又能将连续的三个反引号作为一个整体处理的正则表达式。

挑战与需求

  • 处理代码块边界:Markdown 支持用单个反引号表示行内代码、用三个反引号表示多行代码块。正则表达式需要区分这两种情况,确保在代码块中的 # 不会被误认为标签前缀。
  • 转义字符的处理:例如 \` 这样的转义反引号不应计入反引号的配对判断中。
  • Tag 匹配规则:标签由 # 开头,后跟 1 至 32 个 Unicode 字母、数字或下划线,且必须在正确的边界下出现。

正则表达式解决方案

经过多次改进,我们最终得到了下面这个正则表达式:

(?=(?:(?:[^`]|\\`)*(?<!\\)(?<delim>```|`)(?:[^`]|\\`)*(?<!\\)(\k<delim>))*(?:[^`]|\\`)*$)(?<=(?:^|[^\\])#)[\p{L}_\p{N}]{1,32}(?=[^\p{L}\p{N}_]|$)

让我们逐步解析这条表达式的关键部分:

1. 保证反引号成对出现

表达式的开头部分使用了复杂的正向前瞻:

(?=(?:(?:[^`]|\\`)*(?<!\\)(?<delim>```|`)(?:[^`]|\\`)*(?<!\\)(\k<delim>))*(?:[^`]|\\`)*$)
  • 核心思想:通过匹配一系列非反引号或转义反引号的字符,再加上捕获组 (?<delim>```|)`,我们捕获了第一次出现的“分界符”——它可能是单个反引号,也可能是连续三个反引号。
  • 反向引用:利用 \k<delim>,确保后续匹配的分界符与前面捕获到的完全一致。这样,无论遇到的是行内代码还是代码块,都只视作一个整体。
  • 成对匹配:整个正向前瞻确保了目标区域内所有未转义的反引号都是成对出现的,避免了误将代码块内部的内容当作标签判断依据。

2. 确保标签前缀正确

接下来的部分:

(?<=(?:^|[^\\])#)
  • 作用:这个正向后查断言确保了标签必须由一个 # 开头,而这个 # 不能被反斜杠转义(即不应为 \#)。

3. 匹配 Tag 内容

标签的主体部分由下面这段完成:

[\p{L}_\p{N}]{1,32}(?=[^\p{L}\p{N}_]|$)
  • 匹配范围:这里 [\\p{L}_\\p{N}] 表示 Unicode 字母、数字以及下划线。{1,32} 限定了标签的长度为 1 至 32 个字符。
  • 边界条件:紧跟的正向查找断言 (?=[^\p{L}\p{N}_]|$) 确保标签后面紧跟的是非单词字符或已经到达字符串末尾,防止匹配到类似 #todoing 这种不完整的标签。

小结

这条正则表达式综合了多种复杂情况,既能处理 Markdown 中单反引号和三反引号的代码块,又能排除转义反引号的干扰,同时严格匹配标签格式。对于开发者来说,这样的表达式在解析 Markdown 文档、提取标签或进行格式化处理时非常有用。

当然,正则表达式的可读性和维护性是一个平衡点。虽然这条表达式在处理边界情况时表现出色,但在实际应用中可能还需要根据具体场景做出微调。希望这篇文章能为你在 Markdown 文档解析方面提供一些灵感和帮助。

年终读书盘点 2024

在2024年,跟往年一样,没有计划,纯粹跟着兴趣读,我一共读完了37本书,其中有两本书是重读的。

  • 毛泽东私人医生回忆录
  • 辉煌信标-美国灯塔史
  • 倭寇 海上历史
  • 汉文与东亚世界
  • 老滇缅路
  • 天生幸存者
  • 一个美国女孩在中国
  • 红色赌盘
  • 暗淡蓝点
  • 接触
  • 蒋介石的美国顾问-欧文拉铁摩尔回忆录
  • 宇宙 -- 从大爆炸到毁灭
  • 地图三千年
  • 世界上的鸟儿(套书共5本)
  • 人间相亲故事
  • 三星堆文化大猜想
  • 回到石器时代
  • 何伟的中国纪实
  • 寻路中国
  • 抱歉,我动了你的脑子
  • 别逗了费曼先生 (重读)
  • 费曼手札—不休止的鼓声
  • 当呼吸化为空气(重读)
  • 解码40亿年生命史
  • 140亿年宇宙演化全史
  • 掌控习惯
  • 超级生物探寻指南
  • 草民
  • 写在基因里的食谱
  • 远去的胜利 - 德国前线将领二战回忆录
  • 长乐路
  • 范妮 希尔

不算很好的成绩,也不算很坏。希望我的2025能多读几本书!