Posts

WUSTL 好课一览

Image
 在华大(不是华盛顿的那个)圣路易斯上了四年,终于在这个学期要毕业了,也算是能深入的讲一下在华大选课是个什么情况了。 选课如何操作 自从SP25还是FL24来着,选课的模式从原来的webstac转到了现在的workday。选课有几个步骤: 1. 在workday 的 academics hub 里面创建一个saved schedule。 2. 在这个find course selection 界面里面填入你选课的学期然后勾选“Graduate” 和 “Undergraduate”。比如:我要选26年春季学期的课程,我就填SP26。(为什么要grad和undergrad都勾选,因为workday里面的500 level的课为grad level) 3. 找到自己喜欢的课程然后点击这个课程加入到你的saved schedule里面。 4. 有了这个saved schedule之后你就可以在你指定注册的时候点击registration按钮然后workday会帮你批量注册所有课程。 听起来是不是很简单?但其实workday的问题挺多的,和之前webstac最大的不同是不能乱注册课程。注意: 1. workday现在不允许直接注册没有满足requirements的课程,这个可以申请一个override,非常简单 2. workday也不允许批量/单独注册两个冲突的课程,所以你在saved schedule里面一定要排好课表。 3. workday当你在12个学分的时候你就不能drop课程了,如果你想swap课的话需要用swap按钮,但如果swap不行,那你就随便加一个课,然后再drop你想drop的课程。 CS到底选什么课? 其实这道题的答案很好解释,你想学什么就选什么。华大cs虽然没有明说,但是民间认为有几个track:通用sde,AI/ML,HCI。 这三个track上的课也都不太一样,但是需要满足相同的pre req条件: 1. CSE 1301 2. CSE 1302 3. CSE 2400 4. CSE 2407 5. CSE 3302 6. CSE 3407 7. CSE 3601 上述的这期门课程是所有cs专业学生必须上的课,换句话说,逃不掉。 另外,需要满足cs毕业要求的,还需要满足下面几个要求: 1. Systems Requirments 这个是上...

5 years: android then vs now.

 I first started developing android apps around 2019-2020. I've written a handful of apps, some of them made the app store and got around 700 downloads. I do consider myself to know what I'm talking about, just barely though.  I'm by no means an expert in Android, I still have a lot to learn, but I still do know a thing or two and I guess I will share my experience here.  What was I doing 5 years ago?  I wrote a couple of apps. Most of them were lost due to me forgetting my Github account password. But I manage to recover most of the lost projects. There were three apps: 1. speedometer Speedometer was the most ambitious project that I took on at the time being a relative newbie at Android. It is a program basically turning your old phone into a trip tracker and live speedometer for your bicycle or e-bike. I uploaded it and many people used it and they were happy that something like this existed. I got over 700 downloads. 2. quick Quick is a notes app that I built in ...

二冲摩托车保养入门

 这篇写一下如何保养二冲摩托车。本文提到的车型均为08年雅马哈的zuma车型,也叫bws。这辆车是50cc二冲机头,强制风冷,无级变速。 我买这辆车一年多一点了,买来之后也跑了将近两万公里(一万六左右英里),全车基本的保养我自己也多多少少做过,这里来介绍一下。 需要的工具 十字头/一字头螺丝刀 内六角工具 扭力扳手 硅油 刹车清理剂 化油器清理剂 二冲机油(我这里买的是motul的scooter expert) 无级变速箱的final drive oil(我这里买的lucas的) 根据你车型匹配的空滤及火花塞 普利珠(根据你的变速箱大小和车型来买) 皮带(根据你的车型来买,注意:cvt的皮带有分短的和长的,注意区分) 保养时间间距 根据雅马哈官方的维修手册,一万公里以内是4000-5000mi一保养,一万公里之后则是6000mi一保养。个人觉得这个保养区间并不是非常靠谱,所以保养还是看自己感觉。 那怎么判断车子需不需要保养呢?可以从几点来看看:  如果极速变慢》检查皮带 如果冷车或者综合抖动厉害 〉检查火花塞 如果加速或者车速反应变慢》检查化油器设定,可能空油比太浓,也可能是空滤问题 如果刹车的free play更长-〉检查前后刹车 如果行车共振或者抖动-》检查final drive oil更换 小保养到底怎么保养? 这是我自己的保养策略,每个人根据你骑车风格和财力不同,可以适当改一改自己的保养策略。 我一般小保养换这些东西: 空滤(一般洗一洗之后晒干了重新用) 皮带(买新的,久的扔掉) 火花塞(新的要自己gap一下) final drive oil  空滤及final drive oil和火花塞,我大概一个季度一换,或者5000mi。皮带,寿命稍微长一点,大概一年一换。 为什么不换机油? 因为这台车是二冲车,发动机不依赖传统的润滑方式来润滑,而是通过直接燃烧机油来润滑。所以,这台车一直加机油,而不换。 变速箱保养 变速箱健康对车的速度,加速和反应极为重要,所以做保养的时候,也建议检查一下变速箱。踏板车的变速箱其实简单来说,由两个部分组成,而真正需要例行检查的是:皮带和普利珠。 怎么看普利珠 先把变速箱的壳拆开,然后你应该就能看到两个圆盘(我不知道他叫什么),中间有个皮带。找一个冲击钻然后把前面的圆盘的螺丝拧松,然后把前面的圆盘拿下来。整...

圣路易斯住房指南

 继上一篇圣路易斯餐厅指南之后,想写一个圣路易斯租房指南,毕竟房子这件事,每个留学生多少都得租房。在这住了三年,看了不少房子和地区,也算是对圣路易斯和学校周围有个大概的了解,用这篇文章来谈谈圣路易斯租房的情况。 注意:我不是地盘中介,不是律师,我提供的这些信息不是法律意见, 租楼需谨慎,签字请三思。 租房条件 留学生租房无非就是几个需求: 1. 离学校近不近 2. 房子怎么样 (配套设施) 3. 价钱 满足1,2,3的房子几乎不存在,总有一个是满足不了的。  美国楼盘结构 在美国租房,特别是apartment,有这么个术语:XBYB。其中,X,Y指的是数字。XBYB即是:X bed Y bath的缩写。 X指的是房间的数量,比如X=2,就是两房。Y指的是厕所的数量,比如Y=2,就是两个厕所。 所以,当你看到1B1B,就指的是单房,单厕所的户型。 注意:还有个房型叫studio,studio和1B1B不是一种类型。studio只能住一个人,而1B1B法律上可以住两个人,这里参考University City的租房许可条例,即Occupancy Permit。 美国常有的房型为:studio, 1B1B, 2B2B, 2B1B, 3B2B, 3B3B.  地理位置 现在来说说留学生租房最热门的地盘。 1. Delmar Loop (包含Leland,Kingsland,Parkview,Greenway,Washington) 2. Skinker(包含Pershing,Waterman) 3. Forest-Park Debalivere 4. CWE 5. Lindell/Clayton 其中,这五个地区离学校的距离从远到近分别是:CWE > Forest-Park Debalivere >= Lindell/Clayton = Delmar Loop.  其实这么不太好分,因为从地图上看,从学校到1,2,5的距离其实差不多。 交通设施 如果你有车,那你可以随便选。如果你没车,建议住在学校shuttle覆盖的地点,或者metrolink轻铁/巴士覆盖的地点。当然如果你有钱,当我没说。 注意:在选择大众运输覆盖的地区你需要考虑时效性。圣路易斯不是香港,北京或者上海,没有发达的大众运输网络,因此在恶略天气下你需要考虑另外...

圣路易斯餐厅指南

 来圣路易斯上学三年了,总结一下三年吃过的饭。本文会依照离学校远近程度分类,会对餐厅的价格,味道进行评价,及营业小时。 学校旁边的餐厅(Delmar Loop) 1. Chicago Fish Chicken Grill  这家餐厅不多说,外面长得像hood,味道还可以,印度人开的,平均价格15-20,但是能吃上牛排,虽然不是什么好肉,但是牛排还是牛排。推荐他们家的饭,晚上开到11点,白天基本没人去,建议提前grubhub上点单,他们做的比较慢。 https://maps.app.goo.gl/51Red27hMUsE6HNf6  2. Vegas Wok 人称中国留学生食堂,离学校非常近,从图书馆走过去十分钟,高峰时间需要排队,建议打包回家吃,最便宜卤肉饭十块钱一份,饮料自取,分量大划算,人均10-15,不用给小费。开到晚上九点半。 https://maps.app.goo.gl/UDiotuzz4azFaK37A 3. Movoc Hot Pot 非常典型的国内麻辣烫店,刚开没多久,16刀一磅,一磅起买,米饭在那吃免费,打包就2刀一碗。高峰时期人特别多不知道是不是因为新店的缘故,开到晚上十一点,吃宵夜非常划算。人均25-30(看你点多少了),味道还不错,典型国内麻辣烫味道。 https://maps.app.goo.gl/3zd4MViVd7puq9L29 4. Meshuggah Cafe 只去过一次,氛围挺不错的咖啡厅,建议早去要不然找不到位置,咖啡也就那样,但是他们家的三文鱼bagel好吃,人均10刀,可以坐着聊天到中午,他们似乎中午就关门。 https://maps.app.goo.gl/vgZmAamLRtNGabdu6 5. Taste of India 神级印度餐厅,虽然印度同学说并不正宗,但是人均15-20能吃撑,推荐Chicken korma或者Chicken tikka masala,分量特别大,米饭免费能续加,划算的印度餐。 https://maps.app.goo.gl/GNiiFqqEFUiQFqXK9 校车可达距离的餐厅 1. Sushi Ai 这家寿司店虽然质量参差不齐但是是AYCE,自助餐形式。午市拿着学生卡能17刀含税吃到饱,晚市比较贵,接近30刀了。适合刚健完身的人去吃,高峰时间人特别多,但是能排位...

How to use GPS locations in Android

Note: this is just a english translation of an article i wrote a couple of years ago. Recently, I wrote a speedometer program for the car, which required using GPS. In this post, I will document how to use GPS in Android. Step 1: Add Permission to Access Location The first step is to add the following line in your AndroidManifest.xml to request permission to access the device's location: <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> This grants your app permission to access precise location data. Step 2: Define and Initialize LocationManager Next, in MainActivity , define and initialize the LocationManager and locationProvider . Here's how: LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); The LocationManager is responsible for initializing the GPS service, which you will use to get location data. Now, define the locationProvider as a string variable that will stor...

How to get a MO driving permit (Just a english translation of my chinese article)

*Updated on 2022-3-10: I have already received the permit for the card in the mail. Now, you no longer need a letter from OISS to get the driver's license. You can just bring the required documents to the exam center for the test. Documents Required documents: Passport I-20 form If you have an SSN, bring your SSN card. If you don't have an SSN, go to SSA to apply for an SS-5 form, which is also the denial form. I-94 landing permit, you need to print it out in advance A document proving your address, I used a bank statement. Utility bills like phone or electricity bills are also acceptable. *Note: The SSA office in St. Louis is located in downtown, 717 N 16th. It is more convenient to drive, as public transportation (light rail) does not directly reach the location. You can take bus 97. SSA address: ​ ​ Examination Once you have all the documents, you can go for the test. There are several exam centers in the St. Louis area, but the one downtown is only open on Mondays. I went o...