还没有笔记
选中页面文字后点击「高亮」按钮添加
1 Welcome! #1
大家好,
我们正在使用Ed Discussion进行课堂问答。
这是提问课程(无论是课程内容还是行政事务)的最佳场所。您将在这里从教职员工和同学那里获得比通过电子邮件更快的答复。
这里有一些提示:
发帖前先搜索
为您认为有用的问题和答案点赞
回答您有信心回答的问题
与教职员工和同学分享有趣的课程相关内容
避免发布私密帖子,以便所有人都能从回复中受益
有关Ed Discussion的更多信息,您可以参考快速入门指南。
我将在周二下午2:00 - 3:30在CEPSR 625主持答疑时间。欢迎随时过来,即使只是打个招呼!
祝大家本学期一切顺利!
B博士
Hi everyone,
We're using Ed Discussion for class Q&A.
This is the best place to ask questions about the course, whether curricular or administrative. You will get faster answers here from staff and peers than through email.
Here are some tips:
Search before you post
Heart questions and answers you find useful
Answer questions you feel confident answering
Share interesting course related content with staff and peers
Avoid making a private post so that everyone can benefit from the response
For more information on Ed Discussion, you can refer to the Quick Start Guide.
I'll host office hours on Tuesday from 2:00 - 3:30 P.M. in CEPSR 625. Feel free to stop by, even just to say hi!
All the best this semester!
Dr. B
2 Time sensitive: GitHub username survey #2
大家好!
希望你们开学第一天过得顺利!
如你所见,HW0 将于本周五到期。这是一个简短的入门作业,旨在让大家熟悉提交流程并登录我们将使用的课程服务器。
本次课程的所有作业,包括 HW0,都将在 GitHub 上进行。如果你还没有 GitHub 帐户,请创建一个(你可以使用你的个人帐户进行此课程)。
要访问 HW0,你必须在 Canvas 上的“quizzes”下完成 GitHub 用户名调查,或点击此处的直接链接。
如果你有任何问题,请随时发帖。
提醒一下,我们的第一次讲座将于明天在 Schermerhorn 501 举行(第一部分下午 4:10,第二部分下午 5:40)。我们非常激动见到大家!
— AP 教学人员
Hello everyone!
Hope your first day of classes is going well!
As you may have seen, HW0 is due this Friday. This is a short introductory homework designed to get you comfortable with the submission process and log in to the class server we'll be using.
All homework assignments for this class, including HW0, will be on GitHub. Please create a GitHub account if you don't have one already (you can use your personal account for this class).
To get access to HW0, you must complete the GitHub username survey on Canvas, under "quizzes", or click here for a direct link.
If you have any questions, feel free to make a post.
As a reminder, our first lecture is tomorrow in Schermerhorn 501 (4:10 PM for section 1, 5:40 PM for section 2). We're super excited to see you all!
— AP Teaching Staff
Carl von Bonin
员工
7小时前
您将在今天或明天收到一封邀请您加入 GitHub 组织和仓库的电子邮件。
-Carl
1
Carl von Bonin
STAFF
7小时前
You will receive an email today or tomorrow inviting you to the GitHub organization and repository.
-Carl
1
Allen Chen
7小时前
Bonin 先生您好,
非常感谢您的回复。我将留意今天/明天的邀请。
此致,
Allen Chen
Allen Chen
7小时前
Hello Mr. Bonin,
Thank you very much for the response. I'll keep an eye out today/tomorrow for the invite.
Sincerely,
Allen Chen
2 Time sensitive: GitHub username survey #2
大家好!
希望你们第一天的课程顺利!
你们可能已经看到,HW0将于本周五截止。这是一份简短的入门作业,旨在让你们熟悉提交过程并登录我们将使用的班级服务器。
本课程的所有作业,包括HW0,都将在GitHub上进行。如果您还没有GitHub帐户,请创建一个(您可以使用您的个人帐户用于本课程)。
要访问HW0,您必须在Canvas上的“quizzes”下完成GitHub用户名调查,或点击此处直接链接。
如果您有任何问题,请随时发帖。
提醒一下,我们的第一次讲座将在明天Schermerhorn 501举行(第一节是下午4:10,第二节是下午5:40)。我们非常高兴见到大家!
—— AP 教学人员
Hello everyone!
Hope your first day of classes is going well!
As you may have seen, HW0 is due this Friday. This is a short introductory homework designed to get you comfortable with the submission process and log in to the class server we'll be using.
All homework assignments for this class, including HW0, will be on GitHub. Please create a GitHub account if you don't have one already (you can use your personal account for this class).
To get access to HW0, you must complete the GitHub username survey on Canvas, under "quizzes", or click here for a direct link.
If you have any questions, feel free to make a post.
As a reminder, our first lecture is tomorrow in Schermerhorn 501 (4:10 PM for section 1, 5:40 PM for section 2). We're super excited to see you all!
— AP Teaching Staff
Allen Chen
7小时前
Bonin 先生您好,
我昨天在 Canvas 上完成了用户名调查,但是当我尝试访问 HW0 时,这是我看到的唯一文件内容:
Allen Chen
7小时前
Hello Mr. Bonin,
I completed the username survey on Canvas yesterday, but when I try to access the HW0, this is the only file content that I see:
Carl von Bonin
STAFF
7小时前
您将在今天或明天收到一封电子邮件,邀请您加入 GitHub 组织和仓库。
-Carl
1
Carl von Bonin
STAFF
7小时前
You will receive an email today or tomorrow inviting you to the GitHub organization and repository.
-Carl
1
Allen Chen
7小时前
Bonin 先生您好,
非常感谢您的回复。我今天/明天会留意邀请。
此致,
Allen Chen
Allen Chen
7小时前
Hello Mr. Bonin,
Thank you very much for the response. I'll keep an eye out today/tomorrow for the invite.
Sincerely,
Allen Chen
3 "Authenticity of host can't be established" #4
当我执行 ssh uni @bsb.cs.columbia.edu 时,我的控制台返回:
The authenticity of host 'bsb.cs.columbia.edu (35.223.68.220)' can't be established.
ED25519 key fingerprint is SHA256:SY[rest of key].
This key is not known by any other names.
这是预期行为吗?我应该对“Are you sure you want to continue connecting?”回答“yes”吗?谢谢!
如果这有帮助,我使用的是 ARM macOS 26 终端和 zsh
When I did ssh uni@bsb.cs.columbia.edu my console returned
The authenticity of host 'bsb.cs.columbia.edu (35.223.68.220)' can't be established.
ED25519 key fingerprint is SHA256:SY[rest of key].
This key is not known by any other names.
Is this intended behavior, and should I respond yes to Are you sure you want to continue connecting? Thanks!
If it helps, I'm using an ARM macOS 26 terminal with zsh
这是一个正常的安全检查。SSH 告诉你它以前没有见过这个服务器,并想确保你信任它。你可以直接回答“yes”,之后它就不会再为此服务器提示你了。
告诉我这是否有效。
This is a normal security check. SSH is telling you that it hasn't seen this server before and wants to make sure you trust it. You can just respond yes, and it should not prompt you again for this server.
Let me know if that works.
Hanyang Liu
2小时前
有效,非常感谢!
Hanyang Liu
2小时前
It works, thank you so much!
4 "Connection refused" #9
嗨!当我尝试访问服务器时,我收到“ssh: connect to host bsb.cs.columbia.edu port 22: Connection refused.”。我该如何排除故障?谢谢!
Hi! When I try to access the server, I get "ssh: connect to host bsb.cs.columbia.edu port 22: Connection refused." How should I go about troubleshooting this? Thank you!
由于安全原因,服务器在多次登录尝试失败后会阻止您10-15分钟。请稍后重试,并确保您输入密码正确。要在终端中粘贴,只需右键单击(您将看不到密码,只需按回车键)。
The server will block you for 10-15 minutes after too many failed login attempts for security reasons. Please try again later and make sure you type the password correctly. To paste in the terminal, simply right click (you won't see the password, just press enter).
Jasmine Ma
15小时前
等待后进入了,谢谢!
Jasmine Ma
15小时前
Got in after waiting, thanks!
4 "Connection refused" #9
你好!当我尝试访问服务器时,我收到“ssh: connect to host bsb.cs.columbia.edu port 22: Connection refused.”。我该如何解决这个问题?谢谢!
Hi! When I try to access the server, I get "ssh: connect to host bsb.cs.columbia.edu port 22: Connection refused." How should I go about troubleshooting this? Thank you!
出于安全原因,服务器会在多次登录尝试失败后阻止您 10-15 分钟。请稍后再试,并确保您输入的密码正确。要在终端中粘贴,只需右键单击(您将看不到密码,只需按回车键)。
The server will block you for 10-15 minutes after too many failed login attempts for security reasons. Please try again later and make sure you type the password correctly. To paste in the terminal, simply right click (you won't see the password, just press enter).
Jasmine Ma
15小时前
等待后已进入,谢谢!
Jasmine Ma
15小时前
Got in after waiting, thanks!
5 HW0 + Teaming megathread #10
你好!
所有提交了 GitHub 用户名调查并接受了 GitHub 邀请的人现在都应该可以访问 HW0。如果您在访问时需要帮助,请单独发帖询问。
提醒一下,HW0 的书面部分截止日期是本周五晚上 11:55。此外,您必须在 1 月 26 日星期一晚上 5:30 之前提交团队表格(HW0 说明中链接)。即使您打算单独工作,也必须提交表格。
如果您正在寻找队友,请随时在下面的帖子中发表评论。请记住在找到队友后将您的评论标记为已解决。请注意,HW0 必须单独完成。HW1 之后会有重新组队的机会。
很快再见!
Hello!
Everyone who submitted the GitHub username survey and accepted the GitHub invitation should now have access to HW0. If you need help accessing it, please ask in a separate post.
As a reminder, the written part of HW0 is due this Friday at 11:55pm. Additionally, you must submit the team form (linked in the HW0 instructions) by Monday, Jan 26th at 5:30pm. You must submit the form even if you intend to work alone.
If you're looking for a teammate, feel free to post a comment in the thread below. Please remember to mark your comment as resolved when you've found a teammate. Note that HW0 must be completed individually. There will be regrouping opportunities after HW1.
See you soon!
Alex Morales
21分钟前
未解决
嘿,正在寻找队友。联系 am6766 @columbia.edu!
Alex Morales
21分钟前
未解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Rafia Hossain
7小时前
已解决
你好,我正在寻找队友。如果你有兴趣,请随意回复!
Rafia Hossain
7小时前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
3小时前
嘿 Rafia,你还在找队友吗?
Eugene Kim
3小时前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
2小时前
是的。如果你有兴趣,可以给我发电子邮件 rh3272 @barnard.edu!
Rafia Hossain
2小时前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Rafia Hossain
11小时前
已解决
你好,我正在寻找队友。如果你有兴趣,请随意回复!
Rafia Hossain
11小时前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
6小时前
嘿 Rafia,你还在找队友吗?
Eugene Kim
6小时前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
6小时前
是的。如果你有兴趣,可以给我发电子邮件 rh3272 @barnard.edu!
Rafia Hossain
6小时前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Brittney Lilly
前天
谢谢。我收到了。但是我没有收到带有“组织邀请”的电子邮件。我该如何获取?
Brittney Lilly
前天
Thank you. i got it. however i didn't receive an email with the "organization invitation". how do i get this?
Carolyn Lee
前天
已解决
大家好!我目前正在寻找队友!如果您有兴趣,请发邮件给我 yyl2127 @columbia.edu!
Carolyn Lee
前天
已解决
Hey everyone! I'm currently looking for a teammate! Please email me at yyl2127@columbia.edu if you are interested!
Asia Genawi
前天
刚刚发了邮件!
Asia Genawi
前天
Just emailed!
Isabelle Xiao
前天
已解决
大家好!我刚加入课程,仍在寻找队友。如果您有兴趣,请随时给我发邮件 yx3053 @barnard.edu :)
Isabelle Xiao
前天
已解决
Hi everyone! I just joined the course and am still looking for a teammate. Feel free to email me at yx3053@barnard.edu if you’re interested :)
Fara Rasikh
前天
已解决
大家好!如果有人还在寻找队友,请随时通过 fr2559 @columbia.edu 联系我。
Fara Rasikh
前天
已解决
Hey everyone! If anyone’s still looking for a teammate, feel free to reach out to me at fr2559@columbia.edu.
Arthur Roshal
3天前
已解决
嘿!我也在寻找队友。如果您有兴趣,请随时给我发邮件 ar4857 @columbia.edu
Arthur Roshal
3天前
已解决
Hey! I am also looking for a teammate. If you are interested, feel free to email ar4857@columbia.edu
Solon Sun
3天前
你好,刚给你发了邮件。
1
Solon Sun
3天前
Hi, just sent you an email.
1
Alex Morales
3天前
已解决
嘿,正在寻找队友。联系 am6766 @columbia.edu!
Alex Morales
3天前
已解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Asia Genawi
3天前
你好!刚刚发了邮件。
Asia Genawi
3天前
Hi! Just emailed.
Rafia Hossain
3天前
已解决
你好,我正在寻找队友。如果你有兴趣,请随意回复!
Rafia Hossain
3天前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
3天前
嘿 Rafia,你还在找队友吗?
Eugene Kim
3天前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
3天前
是的。如果你有兴趣,可以给我发电子邮件 rh3272 @barnard.edu!
Rafia Hossain
3天前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Brittney Lilly
前天
已解决
你好,我已完成 github 用户名调查。我何时能获得 hw0 的访问权限?
Brittney Lilly
前天
已解决
Hello, I've complete the github username survey. when will i receive access to hw0?
Sharanya Chatterjee
STAFF
前天
您应该会在 15-20 分钟内自动收到邀请。
1
Sharanya Chatterjee
STAFF
前天
You should automatically be invited in 15-20 minutes.
1
Alex Morales
4天前
已解决
嘿,正在寻找队友。联系 am6766 @columbia.edu!
Alex Morales
4天前
已解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Asia Genawi
4天前
你好!刚刚发了邮件。
Asia Genawi
4天前
Hi! Just emailed.
Rafia Hossain
4天前
已解决
你好,我正在寻找队友。如果你有兴趣,请随意回复!
Rafia Hossain
4天前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
4天前
嘿 Rafia,你还在找队友吗?
Eugene Kim
4天前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
4天前
是的。如果你有兴趣,可以给我发电子邮件 rh3272 @barnard.edu!
Rafia Hossain
4天前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
5 HW0 + Teaming megathread #10
大家好!
所有提交了 GitHub 用户名调查并接受了 GitHub 邀请的人现在都应该可以访问 HW0。如果您需要帮助访问,请另发帖子提问。
提醒一下,HW0 的书面部分截止日期是本周五晚上 11:55。此外,您必须在 1 月 26 日星期一 下午 5:30 之前提交团队表格(在 HW0 说明中链接)。即使您打算单独工作,也必须提交表格。
如果您正在寻找队友,请随时在下面的帖子中发表评论。请记住,找到队友后请将您的评论标记为已解决。请注意,HW0 必须单独完成。HW1 之后会有重新组队的机会。
再会!
Hello!
Everyone who submitted the GitHub username survey and accepted the GitHub invitation should now have access to HW0. If you need help accessing it, please ask in a separate post.
As a reminder, the written part of HW0 is due this Friday at 11:55pm. Additionally, you must submit the team form (linked in the HW0 instructions) by Monday, Jan 26th at 5:30pm. You must submit the form even if you intend to work alone.
If you're looking for a teammate, feel free to post a comment in the thread below. Please remember to mark your comment as resolved when you've found a teammate. Note that HW0 must be completed individually. There will be regrouping opportunities after HW1.
See you soon!
Alex Morales
21分钟前
未解决
嘿,关于队友寻找。联系 am6766 @columbia.edu!
Alex Morales
21分钟前
未解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Rafia Hossain
7小时前
已解决
你好,我正在寻找队友。如果你有兴趣,请随时回复!
Rafia Hossain
7小时前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
3小时前
嘿 Rafia,你还在找队友吗?
Eugene Kim
3小时前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
2小时前
是的。如果你有兴趣,可以发邮件给我 rh3272 @barnard.edu!
Rafia Hossain
2小时前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Rafia Hossain
11小时前
已解决
你好,我正在寻找队友。如果你有兴趣,请随时回复!
Rafia Hossain
11小时前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
6小时前
嘿 Rafia,你还在找队友吗?
Eugene Kim
6小时前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
6小时前
是的。如果你有兴趣,可以发邮件给我 rh3272 @barnard.edu!
Rafia Hossain
6小时前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Brittney Lilly
前天
谢谢。我明白了。但我没有收到“组织邀请”的电子邮件。我怎么才能收到呢?
Brittney Lilly
前天
Thank you. i got it. however i didn't receive an email with the "organization invitation". how do i get this?
Carolyn Lee
前天
已解决
大家好!我目前正在寻找队友!如果您有兴趣,请发送电子邮件至 yyl2127 @columbia.edu!
Carolyn Lee
前天
已解决
Hey everyone! I'm currently looking for a teammate! Please email me at yyl2127@columbia.edu if you are interested!
Asia Genawi
前天
刚发了邮件!
Asia Genawi
前天
Just emailed!
Isabelle Xiao
前天
已解决
大家好!我刚加入这门课程,还在寻找队友。如果您有兴趣,请随时发送电子邮件至 yx3053 @barnard.edu :)
Isabelle Xiao
前天
已解决
Hi everyone! I just joined the course and am still looking for a teammate. Feel free to email me at yx3053@barnard.edu if you’re interested :)
Fara Rasikh
前天
已解决
大家好!如果还有人正在寻找队友,请随时通过 fr2559 @columbia.edu 联系我。
Fara Rasikh
前天
已解决
Hey everyone! If anyone’s still looking for a teammate, feel free to reach out to me at fr2559@columbia.edu.
Arthur Roshal
3天前
已解决
嘿!我也在找队友。如果你有兴趣,请随时发邮件给我 ar4857 @columbia.edu
Arthur Roshal
3天前
已解决
Hey! I am also looking for a teammate. If you are interested, feel free to email ar4857@columbia.edu
Solon Sun
3天前
你好,刚给你发了邮件。
1
Solon Sun
3天前
Hi, just sent you an email.
1
Alex Morales
3天前
已解决
嘿,关于队友寻找。联系 am6766 @columbia.edu!
Alex Morales
3天前
已解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Asia Genawi
3天前
你好!刚发了邮件。
Asia Genawi
3天前
Hi! Just emailed.
Rafia Hossain
3天前
已解决
你好,我正在寻找队友。如果你有兴趣,请随时回复!
Rafia Hossain
3天前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
3天前
嘿 Rafia,你还在找队友吗?
Eugene Kim
3天前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
3天前
是的。如果你有兴趣,可以发邮件给我 rh3272 @barnard.edu!
Rafia Hossain
3天前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
Brittney Lilly
前天
已解决
你好,我已经完成了 GitHub 用户名调查。什么时候能获得 HW0 的访问权限?
Brittney Lilly
前天
已解决
Hello, I've complete the github username survey. when will i receive access to hw0?
Sharanya Chatterjee
STAFF
前天
您应该会在 15-20 分钟内自动收到邀请。
1
Sharanya Chatterjee
STAFF
前天
You should automatically be invited in 15-20 minutes.
1
Alex Morales
4天前
已解决
嘿,关于队友寻找。联系 am6766 @columbia.edu!
Alex Morales
4天前
已解决
Hey, on the teammate search. Contact am6766@columbia.edu!
Asia Genawi
4天前
你好!刚发了邮件。
Asia Genawi
4天前
Hi! Just emailed.
Rafia Hossain
4天前
已解决
你好,我正在寻找队友。如果你有兴趣,请随时回复!
Rafia Hossain
4天前
已解决
Hello, I am looking for a teammate. If you're interested, feel free to reply!
Eugene Kim
4天前
嘿 Rafia,你还在找队友吗?
Eugene Kim
4天前
Hey Rafia, are you still looking for a teammate?
Rafia Hossain
4天前
是的。如果你有兴趣,可以发邮件给我 rh3272 @barnard.edu!
Rafia Hossain
4天前
Yes I am. You can email me rh3272@barnard.edu if you’re interested!
6 SSH minimized #13
假设服务器是故意最小化的,这正确吗?
我们应该安装任何额外的软件包,还是保持原样就好?
Is it correct to assume the server was intentionally minimized?
Should we install any additional packages, or is it fine to leave it as it is?
这是故意的,你应该已经安装了所有需要的软件包。
It's intentional, you should have all packages you need already installed.
Arthur Roshal
11小时前
明白了,谢谢!
Arthur Roshal
11小时前
Got it, thanks!
7 Unable to access HWK 0 #17
嗨!我在 cs3157-borowski-hw GitHub 组织中,用户名为 tahalahlou,但我还没有看到 HW0 仓库的访问权限。如果我这边还需要做些什么,请告诉我,谢谢!
Hi! I’m in the cs3157-borowski-hw GitHub organization under the username tahalahlou, but I don’t see access to the HW0 repository yet. Let me know if anything else is needed on my end thanks!
您应该很快就会收到一封邀请您加入您自己的 hw0 仓库的电子邮件。如果您在接下来的 20 分钟内没有收到,请告诉我。
You should get an email soon inviting you to your own hw0 repository. If you don't get it in the next 20 minutes, please let me know.
Taha Lahlou
10小时前
我现在看到了,谢谢
Taha Lahlou
10小时前
I see it now thank you
8 teammate question #18
我们可以和不同班级的同学组队吗,还是说我的队友必须和我同班?
Can we partner with someone who is in another section of the class, or does our teammate need to be in the same section as me?
你好,沈韵,
你可以和任何班级的同学组队。两个班级做的是完全相同的作业。
Hi Shenyun,
You may partner with someone in either section. Both sections do exactly the same assignments.
沈韵
10小时前
明白了,非常感谢您的快速回复!
Shenyun Cao
10小时前
understood, thank you so much for your quick respond!
9 github access #19
下午好,
我刚刚提交了我的 GitHub 帐户,抱歉迟了。请您在有空的时候将我添加到 HW0。
good afternoon,
I just had my github account submit, sorry for the late. please add me to HW0 whenever you are avialble
您应该会在接下来的 20 分钟内自动收到邀请
You should automatically be invited in the next 20 minutes
Yutong Wu
3小时前
您能也把我添加到 HW0 吗?抱歉迟交了。
Yutong Wu
3小时前
Could you please also add me to HW0? Sorryf ro the late submission.
Carl von Bonin
STAFF
3小时前
您应该会自动收到邀请。请稍等几分钟。
Carl von Bonin
STAFF
3小时前
You should be invited automatically. Give a few minutes.
10 unable to access hw0 #20
嗨,我无法访问 HW0,我的用户名是 sarahaiii。有人能帮我解决这个问题吗?非常感谢!
Hi I'm cannot access HW0 and I'm under the username sarahaiii. Could someone help me fix that? Thanks so much!!
在我这边看来,你已经被添加到仓库中了。假设你已经登录 GitHub,你可以从这里访问它。
On my end it looks like you've been added to the repository. Assuming you're logged in to GitHub, you can access it here.
11 Today's Recording #23
你好,
今天的录音稍后会提供吗?它尚未在视频库中在线提供。
谢谢
Hi,
Will today's recording become available later? It's not yet available online in the video library.
Thanks
是的,它将在今天晚些时候提供。录音上传大约需要一个小时。
Yes, it will be available later today. It takes about an hour for the recording to upload.
Mateo Patino
6小时前
谢谢!
Mateo Patino
6小时前
Thanks!
12 Recitation #1: Bash & Setup #24
大家好,
B 教授和助教团队将于下周五,1 月 30 日下午 2 点举行一次 Zoom 答疑课,时长最多 1 小时。我们将讲解 Bash 基础知识,并协助设置服务器访问/配置。
请提问!
https://columbiauniversity.zoom.us/j/97336529100?pwd=aEmFgnALVXNUNqne45L47L5sJk8TNB.1
会议 ID: 973 3652 9100
密码: 688298
稍后见,
AP 教学团队
Hi all,
Dr. B. and the TA team will hold a Zoom recitation next Friday, January 30th, at 2 P.M. for at most 1 hour. We will cover bash basics and help with setting up server access/configurations.
Please ask questions!
https://columbiauniversity.zoom.us/j/97336529100?pwd=aEmFgnALVXNUNqne45L47L5sJk8TNB.1
Meeting ID: 973 3652 9100
Passcode: 688298
See you later,
AP Teaching Staff
Veer Chopra
6小时前
会录音吗?
1
Veer Chopra
6小时前
Will this be recorded?
1
Jasmine Pan
6小时前
^^ 我有课和这个时间冲突。
1
Jasmine Pan
6小时前
^^ I have a class that conflicts with this time
1
Amit Aharoni
STAFF
6小时前
是的,会录音。
2
Amit Aharoni
STAFF
6小时前
Yes, it will be recorded
2
13 Git clone via HTTPS vs. SSH #25
你好,
在克隆 GitHub 仓库时,HTTPS 和 SSH 部分提供的链接有什么区别?我指的是下面的这个链接,以及如果我点击 SSH 会显示的链接。
在 BSB 服务器上,当我使用 HTTPS 链接进行 git clone 时,系统会提示我输入 GitHub 用户名和密码,然后出现身份验证错误。如果我使用 SSH,就不再需要这些信息了。这是故意的吗?
谢谢
Hi,
What is the difference between the links provided in the HTTPS and SSH sections of GitHub when cloning a repository? I am referring to this link below and to the link that would show up if I clicked on SSH.
In the BSB server, when I do git clone with the HTTPS link, I get prompted to write my GitHub username and password and then get an authentication error. If I use SSH I no longer get asked for that information. Is that intentional?
Thanks
你好 Mateo
这个链接会有帮助:https://docs.github.com/en/get-started/git-basics/why-is-git-always-asking-for-my-credentials。基本上,由于你已经使用 BSB 服务器设置了 SSH 密钥,Git 不会再次询问这些凭据。然而,HTTPS 链接直接与你的 GitHub 账户身份验证交互,这在 BSB 服务器上是行不通的。以后请只使用 SSH 链接。
Hello Mateo
This link would be helpful: https://docs.github.com/en/get-started/git-basics/why-is-git-always-asking-for-my-credentials. Basically, since you have already set up the SSH keys with the BSB server, Git won't ask for those credentials again. However, the https link interacts directly with your GitHub account authentication, which would not work with the BSB server. For future reference, please use the SSH link only.
GitHub 很久以前就不再接受用户名和密码了。如果你不使用 SSH,就必须使用令牌。
Github stopped accepting usernames and passwords a while ago. You have to use a token if you’re not using ssh.
14 Double-check on h/w format #27
你好!
我只是想再次确认一下,这样我就不会因为格式而丢分了。
我在我的 written.txt 中输入了以下内容:
姓名:Arthur Roshal
学号:ar4857
专业、学院、年份:计算机科学,哥伦比亚工程学院,2026
这是预期的格式吗?我的意思是,它从未要求填空,但我觉得这样有意义。
Hello!
I just want to double check, so that I do not lose any points for format.
I put in my written.txt the following:
Name: Arthur Roshal
Uni: ar4857
Major, School, Year: computer science, Columbia Engineering, 2026
Is this what was expected? I mean, it was never written to fill the blanks, but I though that makes sense.
是的,这个格式对我来说看起来没问题。你已经把你的回答放在每行冒号后面了。
请把你的帖子公开,这样所有人都能从答案中受益。
Yes, this format looks ok to me. You have placed your response after the colon on each line.
Please make your post public, so all can benefit from the answer.
Arthur Roshal
2小时前
完成,谢谢!
Arthur Roshal
2小时前
Done, thank you!
Sophia Huang
6小时前
内容是需要双倍行距吗,意味着每个条目之间有一行空行,总共有5行?
1
Sophia Huang
6小时前
Is the content meant to be double spaced, meaning there is one blank line between each entry for a total of 5 lines?
1
Brian Borowski
员工
6小时前
这真的不重要。这个文件不是通过脚本评分的。
这次作业的目的是练习使用 git。
Brian Borowski
STAFF
6小时前
It really doesn't matter. This file is not graded by script.
The purpose of the assignment is to practice using git.
2
Arthur Roshal
20小时前
完成,谢谢!
Arthur Roshal
20小时前
Done, thank you!
14 Double-check on h/w format #27
你好!
我只是想再次确认一下,这样我就不会因为格式问题而扣分了。
我在我的 written.txt 中填写了以下内容:
Name: Arthur Roshal
Uni: ar4857
Major, School, Year: computer science, Columbia Engineering, 2026
这是预期的吗?我的意思是,从来没有要求填写空白,但我觉得这样有道理。
Hello!
I just want to double check, so that I do not lose any points for format.
I put in my written.txt the following:
Name: Arthur Roshal
Uni: ar4857
Major, School, Year: computer science, Columbia Engineering, 2026
Is this what was expected? I mean, it was never written to fill the blanks, but I though that makes sense.
是的,这个格式对我来说可以接受。你已将回复放在每行的冒号之后。
请将你的帖子设为公开,这样所有人都能从答案中受益。
Yes, this format looks ok to me. You have placed your response after the colon on each line.
Please make your post public, so all can benefit from the answer.
Arthur Roshal
2小时前
完成了,谢谢!
Arthur Roshal
2小时前
Done, thank you!
Sophia Huang
6小时前
内容是否应该双倍行距,意味着每个条目之间有一个空行,总共5行?
1
Sophia Huang
6小时前
Is the content meant to be double spaced, meaning there is one blank line between each entry for a total of 5 lines?
1
Brian Borowski
STAFF
6小时前
这真的不重要。这个文件不是通过脚本评分的。
这个作业的目的是练习使用 git。
2
Brian Borowski
STAFF
6小时前
It really doesn't matter. This file is not graded by script.
The purpose of the assignment is to practice using git.
2
Arthur Roshal
20小时前
完成了,谢谢!
Arthur Roshal
20小时前
Done, thank you!
Arthur Roshal
昨天
完成了,谢谢!
Arthur Roshal
昨天
Done, thank you!
14 Double-check on h/w format #27
你好!
我只是想再次确认,以免因格式问题扣分。
我在 written.txt 中输入了以下内容:
姓名:Arthur Roshal
学号:ar4857
专业、学院、年级:计算机科学,哥伦比亚工程学院,2026
这就是预期的吗?我的意思是,它从来没有要求填空,但我认为这样做有道理。
Hello!
I just want to double check, so that I do not lose any points for format.
I put in my written.txt the following:
Name: Arthur Roshal
Uni: ar4857
Major, School, Year: computer science, Columbia Engineering, 2026
Is this what was expected? I mean, it was never written to fill the blanks, but I though that makes sense.
是的,这个格式对我来说没问题。你把你的回答放在了每一行的冒号后面。
请把你的帖子公开,这样所有人都能从答案中受益。
Yes, this format looks ok to me. You have placed your response after the colon on each line.
Please make your post public, so all can benefit from the answer.
Arthur Roshal
2小时前
完成了,谢谢!
Arthur Roshal
2小时前
Done, thank you!
Sophia Huang
6小时前
内容是需要双倍行距吗,也就是说每条之间有一个空行,总共5行?
1
Sophia Huang
6小时前
Is the content meant to be double spaced, meaning there is one blank line between each entry for a total of 5 lines?
1
Brian Borowski
STAFF
6小时前
真的没关系。这个文件不是通过脚本评分的。
这个作业的目的是练习使用 git。
2
Brian Borowski
STAFF
6小时前
It really doesn't matter. This file is not graded by script.
The purpose of the assignment is to practice using git.
2
Arthur Roshal
20小时前
完成了,谢谢!
Arthur Roshal
20小时前
Done, thank you!
Arthur Roshal
昨天
完成了,谢谢!
Arthur Roshal
昨天
Done, thank you!
15 'Connection closed' #30
你好!
在尝试连接到我的BSB服务器账户时,输入密码后出现了“连接关闭”错误。这也是因为我输入了错误的密码吗?
Hi!
When trying to connect to my BSB server account, a 'connection closed' error occurred after me entering the password. Is it also because i entered the wrong password?
你好,Yiwei,
如果你认为你可能输入了错误的密码,请在仔细输入正确密码后再次尝试。请务必在系统提示你输入密码后立即输入,以避免任何超时问题,因为这些问题也可能导致连接关闭。
Hi Yiwei,
If you think you may have input an incorrect password, try again after carefully inputting the correct password. Be sure to input your password immediately after you are prompted to to avoid any timeout issues, as these can also cause a connection close.
你好,Yiwei,
我同意John的看法!此外,如果你连续3次输入错误的密码,服务器会把你锁定10-15分钟。我建议你稍等片刻,然后再试。
Hi Yiwei,
I agree with John here! Additionally, the server will block you out for 10-15 minutes if you input an incorrect password 3 times in a row. I'd just wait a bit and then try again.
Yiwei Tan
8小时前
明白了,谢谢你们两位的帮助!
Yiwei Tan
8小时前
Got it, thank you for both of your help!
15 'Connection closed' #30
嗨!
在尝试连接到我的 BSB 服务器账户时,输入密码后出现了“连接关闭”错误。这也是因为我输入了错误的密码吗?
Hi!
When trying to connect to my BSB server account, a 'connection closed' error occurred after me entering the password. Is it also because i entered the wrong password?
嗨,Yiwei,
如果你认为可能输入了错误的密码,请在仔细输入正确密码后再次尝试。请务必在系统提示你输入密码后立即输入,以避免任何超时问题,因为这些问题也可能导致连接关闭。
Hi Yiwei,
If you think you may have input an incorrect password, try again after carefully inputting the correct password. Be sure to input your password immediately after you are prompted to to avoid any timeout issues, as these can also cause a connection close.
嗨,Yiwei,
我同意 John 的看法!此外,如果你连续输入错误密码 3 次,服务器会阻止你 10-15 分钟。我建议你等一会儿再试。
Hi Yiwei,
I agree with John here! Additionally, the server will block you out for 10-15 minutes if you input an incorrect password 3 times in a row. I'd just wait a bit and then try again.
Yiwei Tan
8小时前
明白了,谢谢两位的帮助!
Yiwei Tan
8小时前
Got it, thank you for both of your help!
16 BSB Server General Questions #42
各位助教和B博士,你们好!
我在BSB服务器上玩了玩C语言编程,有几个问题:
使用服务器时我遇到的问题列表:
像sudo shutdown now或任何“sudo”命令听起来都很有破坏性,因为sudo基本上是获取完全控制权(据我所知)。这样的命令仍然可行和可以吗?
使用这个服务器创建我自己的C文件(就像我刚刚创建的那个)可能会占用空间。这会占用所有使用BSB的人的空间吗?(我猜实际上是这样)如果是这样,有没有可能所有人的空间都用完了?如果我在BSB服务器上的自己的实例运行一个有100个堆栈的递归,而显然每个人都想在BSB上尝试这样做,它可能会耗尽RAM或任何类型的内存。会发生什么?我们会收到错误消息吗?服务器会崩溃吗?
使用这样一个私密的、少于200人的服务器有什么一般准则?有什么特别需要担心的事情吗?
Hello TA's and Dr.B!
I played around with C Programming on the BSB server, and I had a few questions:
List of Questions I had using the server:
Commands like sudo shutdown now, or any "sudo" command sounds pretty destructive, as sudo is basically assuming full control (from what I know). Are commands like that still viable and okay?
Using this server to create my own C files like the one I just created probably takes up space. Does it take up space for EVERYONE using BSB? (Im assuming that's true actually) If so, can there be an incident where everyone runs out of space? If my own instance on the BSB server runs a recursion with a 100 stacks, and apparently everyone wanted to try that on BSB, it will probably run out of RAM or any type of memory. What would happen? Would we get an error message? Would the server bust?
What are some of the general guidelines to using such private sub200 people server? Any super scary things we should worry about?
嗨,Jae,
祝你好运!
Hi Jae,
Memory-wise (not storage space), if you get into deep recursion and start to overload the server, the system will kill your process and disconnect you from the server. Please don't attempt to do this on purpose. We also have memory and cpu limits per user, so no student can really monopolize the whole server.
Good luck!
Jae Sung Hwang
4小时前
知道了!谢谢!
Jae Sung Hwang
4小时前
Duly noted! Thank you!
16 BSB Server General Questions #42
各位助教和B博士好!
我在BSB服务器上玩了玩C语言编程,有几个问题:
使用服务器时我遇到的一些问题列表:
像 sudo shutdown now 这样的命令,或者任何“sudo”命令听起来都很有破坏性,因为 sudo 基本上是假定完全控制(据我所知)。这样的命令仍然有效并且可以使用吗?
使用这个服务器创建我自己的C文件(就像我刚才创建的那个)可能会占用空间。这会占用所有使用BSB的人的空间吗?(我猜这是真的)如果是这样,会不会发生所有人都用完空间的情况?如果我在BSB服务器上的自己的实例运行一个有100个堆栈的递归,并且显然每个人都想在BSB上尝试这样做,那很可能会耗尽RAM或任何类型的内存。会发生什么?我们会收到错误消息吗?服务器会崩溃吗?
使用这样一个不到200人的私有服务器有什么一般准则吗?有什么我们应该特别担心的事情吗?
Hello TA's and Dr.B!
I played around with C Programming on the BSB server, and I had a few questions:
List of Questions I had using the server:
Commands like sudo shutdown now, or any "sudo" command sounds pretty destructive, as sudo is basically assuming full control (from what I know). Are commands like that still viable and okay?
Using this server to create my own C files like the one I just created probably takes up space. Does it take up space for EVERYONE using BSB? (Im assuming that's true actually) If so, can there be an incident where everyone runs out of space? If my own instance on the BSB server runs a recursion with a 100 stacks, and apparently everyone wanted to try that on BSB, it will probably run out of RAM or any type of memory. What would happen? Would we get an error message? Would the server bust?
What are some of the general guidelines to using such private sub200 people server? Any super scary things we should worry about?
嗨,Jae,
在内存方面(不是存储空间),如果您进入深度递归并开始使服务器过载,系统将终止您的进程并断开您与服务器的连接。请不要故意尝试这样做。我们还为每个用户设置了内存和CPU限制,因此任何学生都无法真正垄断整个服务器。
Hi Jae,
Memory-wise (not storage space), if you get into deep recursion and start to overload the server, the system will kill your process and disconnect you from the server. Please don't attempt to do this on purpose. We also have memory and cpu limits per user, so no student can really monopolize the whole server.
Good luck!
Jae Sung Hwang
4小时前
duly noted! Thank you!
Jae Sung Hwang
4小时前
Duly noted! Thank you!
17 Generate SSH key for hardware security #46
嗨!
我已按照说明操作,并按照下面链接的指南完成了所有步骤,包括生成密钥、将 SSH 密钥添加到 ssh-agent 以及将 SSH 密钥添加到 GitHub。但是,我是否需要执行最后一步,即为硬件安全密钥生成新的 SSH 密钥?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
谢谢!
Hi!
I have followed the instructions, and on the guide linked below, I followed all the steps including generating the key, adding the SSH key to the ssh-agent, and adding the SSH key to Github. However, do I need to the final step, which is generating a new SSH key for a hardware security key?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
Thank you!
不,你只需要遵循“生成新的 SSH 密钥”下的步骤即可。
No, you only need to follow the steps outlined under "Generating a new SSH key".
Lisa Liu
2小时前
明白了,谢谢!
Lisa Liu
2小时前
Got it, thank you!
Lisa Liu
2小时前
如果我之前已经完成了将密钥添加到 ssh-agent 的步骤,可以吗?
Lisa Liu
2小时前
Is it ok if I did the step of adding the key to the ssh-agent earlier?
Carl von Bonin
STAFF
2小时前
可以
Carl von Bonin
STAFF
2小时前
Yes
Lisa Liu
1小时前
回复 Carl von Bonin
谢谢!另外,对于下一步,[Your Name] 部分是你的真实姓名还是 GitHub 用户名?
git config --global user.name "Your Name"
Lisa Liu
1小时前
Replying to Carl von Bonin
Thank you! Also, for the next step, is the [Your Name] part your real name or GitHub username?
git config --global user.name "Your Name"
Carl von Bonin
STAFF
1小时前
回复 Lisa Liu
首选真实姓名
Carl von Bonin
STAFF
1小时前
Replying to Lisa Liu
Real name is preferred
Lisa Liu
1小时前
回复 Carl von Bonin
好的,谢谢!
Lisa Liu
1小时前
Replying to Carl von Bonin
Sounds good, thank you!
17 Generate SSH key for hardware security #46
你好!
我已经按照说明操作,并按照下面链接的指南完成了所有步骤,包括生成密钥、将SSH密钥添加到ssh-agent以及将SSH密钥添加到Github。但是,我需要执行最后一步,即为硬件安全密钥生成新的SSH密钥吗?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
谢谢!
Hi!
I have followed the instructions, and on the guide linked below, I followed all the steps including generating the key, adding the SSH key to the ssh-agent, and adding the SSH key to Github. However, do I need to the final step, which is generating a new SSH key for a hardware security key?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
Thank you!
不需要,你只需要遵循“生成新的SSH密钥”下的步骤即可。
No, you only need to follow the steps outlined under "Generating a new SSH key".
Lisa Liu
2小时前
明白了,谢谢!
Lisa Liu
2小时前
Got it, thank you!
Lisa Liu
2小时前
如果我提前完成了将密钥添加到ssh-agent的步骤,可以吗?
Lisa Liu
2小时前
Is it ok if I did the step of adding the key to the ssh-agent earlier?
Carl von Bonin
STAFF
2小时前
可以
Carl von Bonin
STAFF
2小时前
Yes
Lisa Liu
1小时前
回复 Carl von Bonin
谢谢!另外,对于下一步,[Your Name] 部分是你的真实姓名还是GitHub用户名?
git config --global user.name "Your Name"
Lisa Liu
1小时前
Replying to Carl von Bonin
Thank you! Also, for the next step, is the [Your Name] part your real name or GitHub username?
git config --global user.name "Your Name"
Carl von Bonin
STAFF
1小时前
回复 Lisa Liu
建议使用真实姓名
Carl von Bonin
STAFF
1小时前
Replying to Lisa Liu
Real name is preferred
Lisa Liu
1小时前
回复 Carl von Bonin
好的,谢谢!
Lisa Liu
1小时前
Replying to Carl von Bonin
Sounds good, thank you!
17 Generate SSH key for hardware security #46
嗨!
我已经按照说明操作了,并且在下面链接的指南中,我遵循了所有步骤,包括生成密钥、将SSH密钥添加到ssh-agent以及将SSH密钥添加到Github。但是,我需要执行最后一步,即为硬件安全密钥生成新的SSH密钥吗?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
谢谢!
Hi!
I have followed the instructions, and on the guide linked below, I followed all the steps including generating the key, adding the SSH key to the ssh-agent, and adding the SSH key to Github. However, do I need to the final step, which is generating a new SSH key for a hardware security key?
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent?platform=linux
Thank you!
不需要,您只需要遵循“生成新SSH密钥”下的步骤即可。
No, you only need to follow the steps outlined under "Generating a new SSH key".
Lisa Liu
2小时前
明白了,谢谢!
Lisa Liu
2小时前
Got it, thank you!
Lisa Liu
2小时前
如果我之前执行了将密钥添加到ssh-agent的步骤,可以吗?
Lisa Liu
2小时前
Is it ok if I did the step of adding the key to the ssh-agent earlier?
Carl von Bonin
STAFF
2小时前
可以
Carl von Bonin
STAFF
2小时前
Yes
Lisa Liu
1小时前
回复 Carl von Bonin
谢谢!另外,对于下一步,[Your Name] 部分是您的真实姓名还是GitHub用户名?
git config --global user.name "Your Name"
Lisa Liu
1小时前
Replying to Carl von Bonin
Thank you! Also, for the next step, is the [Your Name] part your real name or GitHub username?
git config --global user.name "Your Name"
Carl von Bonin
STAFF
1小时前
回复 Lisa Liu
建议使用真实姓名
Carl von Bonin
STAFF
1小时前
Replying to Lisa Liu
Real name is preferred
Lisa Liu
1小时前
回复 Carl von Bonin
好的,谢谢!
Lisa Liu
1小时前
Replying to Carl von Bonin
Sounds good, thank you!
18 Homework(s) Submission #57
这可能是一个愚蠢的问题,但我只是想确认我是否理解正确。在附图中,[class] 服务器在哪里出现——具体来说,我们实际在什么时候使用它?
This might be a silly question, but I just want to check whether I’m understanding this correctly. In the attached diagram, where does the [class] server come in—specifically, at what point do we actually use it?
嗨 Amlakbekalu,
所以你需要使用服务器来“测试”你的代码,使其与评分环境相同。
一旦你通过 Multipass 编写代码并进行 git push,你就可以登录到服务器,在那里 git pull 你的代码,并确保你编写的代码在服务器上按预期运行,以检查它在该环境下的工作情况。我们还计划制作一个视频来展示这个工作流程(适用于 Mac 和 Windows),所以如果有点困惑,不用担心,我们会解释一切!
希望这能讲得通并为你澄清一些事情。谢谢!
Hi Amlakbekalu,
So you want to be using the server to "test" your code on the same environment as it will be graded on.
Once you write your code via Multipass and git push, you can log in to the server and git pull your code there and make sure what you have written runs as intended on the server to just check that it works on that environment. We are planning on doing a video to show a walkthrough of this workflow as well (for both Macs and Windows), so if it is a little confusing, don't worry we'll explain everything!
Hope that makes sense and clears some things up for you. Thanks!
Multipass 用于轻松连接到本地 Linux 实例,这样你就不需要互联网连接,也不必在编写代码时费力连接到服务器。
服务器用于执行测试,以确保你的代码在我们评分的环境中正常工作。在服务器中进行最终测试很重要,因为不同 Linux 发行版编译和运行 C 文件的方式有所不同,这样你就不会因此而失分。
由于你从本地 Multipass 实例和服务器都与 GitHub 建立了活动连接,你可以从服务器或 Multipass 提交(推送)你的最终代码。
希望这有帮助。
Amit
Multipass is used to easily connect to a local instance of Linux, so you won’t need an internet connection or the hassle of connecting to the server while you write you code.
The server is used to perform testing to make sure your code works in the environment that we will grade your code. It is important to do the final testing in the server since there are changes in the way C files are compiled and ran in every Linux distribution, so you wouldn’t lose points.
Since you have an active connection to your GitHub from both your local Multipass instance and the server, you can submit (push) your final code from either the server or Multipass.
Hope that helps.
Amit
Amlakbekalu Achule
前天
谢谢!
Amlakbekalu Achule
前天
Thanks!
Amlakbekalu Achule
前天
谢谢!
Amlakbekalu Achule
前天
Thanks!
20 Quizzes question #80
嗨!我看到CourseWorks上有一些测验,但我想知道这些测验是否会和作业一起到期,或者会怎样?(我找不到这些测验的截止日期)
另外,第一个和第二个测验有什么区别呢?例如,我看到有一个测验1和一个测验1a?
谢谢!
Hi! I saw that there are quizzes to take on CourseWorks but I was wondering if those will be due with the homeworks or how that's going to be? (I couldn't find due date for those)
and also what would be the difference between the first one and the second one, for example I see there is a Quiz 1 and a Quiz 1a?
Thank you!
嗨 Larissa,
这些只是练习测验,目的是让你们熟悉考试中可能出现的题目类型。它们不会计入你的成绩。
谢谢,
Veer
Hi Larissa,
These are just practice quizzes for you guys to get familiar with what kind of questions could come on the exam. They won't count towards your grade.
Thanks,
Veer
Larissa Silva Martins
前天
明白了!谢谢您的快速回复!
1
Larissa Silva Martins
前天
Got it! Thank you for the quick response!
1
21 HW0 Grades Released #82
嗨,AP!
我们已经在 Courseworks 上发布了关于作业0的成绩和评论。这份作业只占2分,所以它对您的期末成绩影响很小。如果您没有获得2/2分,请查看评论并确保您理解在哪里失分。未来的作业对于提交错误将几乎不予宽容。
作业1将于周一晚上发布,请务必在截止日期前(周一晚上5:30之前)提交您的团队信息。
一如既往,如果您有任何问题,请告诉我们。
— AP 教学人员
Hi AP!
We have released grades and comments on Courseworks about HW0. This assignment only counted for 2 points, so it will have little effect over your final grade. If you didn't get 2/2, please review the comments and make sure you understand where you lost points. Future assignments will show little to no leniency regarding submission errors.
HW1 will be released on Monday night, so make sure to get your Team info submitted by the deadline (Monday before 5:30 PM).
As always, please let us know if you have any questions.
— AP Teaching Staff
Carl von Bonin
员工
1小时前
如果您因未接受组织邀请而被扣分,请在发送到您 GitHub 帐户关联邮箱的邮件中搜索主题为“carl-vbn invited you to cs3157-borowski-hw”的邮件,否则您将无法访问作业1。
Carl von Bonin
STAFF
1小时前
If you got deducted for not accepting the organization invitation, please search for an email with the subject line "carl-vbn invited you to cs3157-borowski-hw" sent to the email tied to your GitHub account, or you won't get access to HW1.
Jae Sung Hwang
1小时前
感谢您对邮件的澄清。如果我没有通过邮件接受邀请,会有很大的不同吗?说明中是否明确指出要通过邮件接受邀请?
Jae Sung Hwang
1小时前
Thank you for the clarification regarding the e-mail. Does it make a huge amount of difference if I didn't accept the invitation through e-mail? Did the instruction clearly state to accept the invitation through e-mail?
Jae Sung Hwang
1小时前
我直接通过 GitHub 接受了邀请,我想这就是我失分的原因
Jae Sung Hwang
1小时前
I accepted the invitation via github directly, and I think that's why I lost points
Carl von Bonin
员工
1小时前
回复 Jae Sung Hwang
嗨,Jae,你没有接受组织邀请,只接受了仓库邀请。你所属的组织会显示在你的个人资料下,而你现在不属于任何组织。请查找邮件并接受它。
Carl von Bonin
STAFF
1小时前
Replying to Jae Sung Hwang
Hi Jae, you did not accept the organization invitation, only the repo invitation. Organizations you are a part of will show under your profile, and you are not part of any organization right now. Please look for the email and accept it.
Jae Sung Hwang
1小时前
回复 Carl von Bonin
我明白了...!!!!谢谢!
Jae Sung Hwang
1小时前
Replying to Carl von Bonin
I see...!!!! thank you!
Jae Sung Hwang
1小时前
回复 Jae Sung Hwang
我明白了,我之前没有意识到还有一个组织邀请。谢谢!
Jae Sung Hwang
1小时前
Replying to Jae Sung Hwang
I see, I hadn't realized there was another invitation for the organization. Thank you!
Hashim Abdullahi
19小时前
有没有办法收回这些分数,我现在已经完成了。
Hashim Abdullahi
19小时前
Is there a way to receive our points back for this, I have done it now.
21 HW0 Grades Released #82
大家好,AP 助教!
我们已经在 Courseworks 上发布了 HW0 的成绩和评论。本次作业仅计 2 分,因此对您的最终成绩影响甚微。如果您未获得满分 (2/2),请仔细阅读评论,确保您理解扣分原因。未来的作业对提交错误将几乎不予宽容。
HW1 将于周一晚上发布,请务必在截止日期前(周一晚上 5:30 之前)提交您的团队信息。
一如既往,如有任何问题,请告诉我们。
—— AP 助教团队
Hi AP!
We have released grades and comments on Courseworks about HW0. This assignment only counted for 2 points, so it will have little effect over your final grade. If you didn't get 2/2, please review the comments and make sure you understand where you lost points. Future assignments will show little to no leniency regarding submission errors.
HW1 will be released on Monday night, so make sure to get your Team info submitted by the deadline (Monday before 5:30 PM).
As always, please let us know if you have any questions.
— AP Teaching Staff
Carl von Bonin
教职工
1小时前
如果您因为未接受组织邀请而被扣分,请在与您 GitHub 帐户绑定的电子邮件中查找主题为 "carl-vbn invited you to cs3157-borowski-hw" 的电子邮件,否则您将无法访问 HW1。
Carl von Bonin
STAFF
1小时前
If you got deducted for not accepting the organization invitation, please search for an email with the subject line "carl-vbn invited you to cs3157-borowski-hw" sent to the email tied to your GitHub account, or you won't get access to HW1.
Jae Sung Hwang
1小时前
感谢您对邮件的澄清。如果我没有通过电子邮件接受邀请,会有很大的影响吗?说明中是否明确指出要通过电子邮件接受邀请?
Jae Sung Hwang
1小时前
Thank you for the clarification regarding the e-mail. Does it make a huge amount of difference if I didn't accept the invitation through e-mail? Did the instruction clearly state to accept the invitation through e-mail?
Jae Sung Hwang
1小时前
我直接通过 GitHub 接受了邀请,我想这就是我被扣分的原因
Jae Sung Hwang
1小时前
I accepted the invitation via github directly, and I think that's why I lost points
Carl von Bonin
教职工
1小时前
回复 Jae Sung Hwang
你好 Jae,你没有接受组织邀请,只接受了仓库邀请。您所属的组织会显示在您的个人资料下,而您目前不属于任何组织。请查找该邮件并接受它。
Carl von Bonin
STAFF
1小时前
Replying to Jae Sung Hwang
Hi Jae, you did not accept the organization invitation, only the repo invitation. Organizations you are a part of will show under your profile, and you are not part of any organization right now. Please look for the email and accept it.
Jae Sung Hwang
1小时前
回复 Carl von Bonin
我明白了...!!!! 谢谢!
Jae Sung Hwang
1小时前
Replying to Carl von Bonin
I see...!!!! thank you!
Jae Sung Hwang
1小时前
回复 Jae Sung Hwang
我明白了,我之前没意识到还有一个组织邀请。谢谢!
Jae Sung Hwang
1小时前
Replying to Jae Sung Hwang
I see, I hadn't realized there was another invitation for the organization. Thank you!
Hashim Abdullahi
19小时前
有没有办法把我的分数补回来,我现在已经完成了。
Hashim Abdullahi
19小时前
Is there a way to receive our points back for this, I have done it now.
24 TA OH tmrw #87
嗨 - 想知道明天的助教答疑课是否在线,如果是,链接是什么?
Hi - was wondering if tomorrow's TA OH will be online and if so, what the link is?
嗨 Rebecca,
谢谢你的提醒,我们稍后会发出 Zoom 链接。
Grace
Hi Rebecca,
Thank you for the reminder we will send out the zoom in one moment.
Grace
嗨 Rebecca,
我只能代表我自己说,我的答疑课明天会在线上。你可以在我的 #88 帖子或课程日历上找到链接。
Hi Rebecca,
I can only speak for myself, but my OH will be online tomorrow. You can find the link in my post #88 or on the course calendar.
Grace Xu
STAFF
21小时前
这是我们答疑课的链接。
主题:Grace + Tejas 答疑时间:2026年1月26日 晚上08:30 (美国东部时间)加入 Zoom 会议 https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
会议 ID:815 1195 2974 密码:Dp6Tfc
Grace Xu
STAFF
21小时前
This is the link to our office hours.
Topic: Grace + Tejas OH Time: Jan 26, 2026 08:30 PM Eastern Time (US and Canada) Join Zoom Meeting https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
Meeting ID: 815 1195 2974 Passcode: Dp6Tfc
24 TA OH tmrw #87
您好 - 想知道明天的助教答疑课是否在线,如果是的话,链接是什么?
Hi - was wondering if tomorrow's TA OH will be online and if so, what the link is?
您好 Rebecca,
感谢您的提醒,我们马上就会发送 Zoom 链接。
Grace
Hi Rebecca,
Thank you for the reminder we will send out the zoom in one moment.
Grace
您好 Rebecca,
我只能代表我自己说,我明天的答疑课会在网上进行。您可以在我的 #88 帖子或课程日历上找到链接。
Hi Rebecca,
I can only speak for myself, but my OH will be online tomorrow. You can find the link in my post #88 or on the course calendar.
Grace Xu
工作人员
21小时前
这是我们答疑课的链接。
主题:Grace + Tejas 答疑课 时间:2026年1月26日 晚上8:30 东部时间(美国和加拿大)加入 Zoom 会议 https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
会议 ID:815 1195 2974 密码:Dp6Tfc
Grace Xu
STAFF
21小时前
This is the link to our office hours.
Topic: Grace + Tejas OH Time: Jan 26, 2026 08:30 PM Eastern Time (US and Canada) Join Zoom Meeting https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
Meeting ID: 815 1195 2974 Passcode: Dp6Tfc
25 Online OH Tommorow #88
大家好,
由于下雪,我的答疑课明天将在线进行。链接在此:https://meet.google.com/bai-eqit-mwo。您也可以在课程日历上找到它。
此致,
Koral
Hi all,
My OH will be online tomorrow due to the snow. Here's the link: https://meet.google.com/bai-eqit-mwo. You can also find it on the course calendar.
Best,
Koral
26 Grace and Tejas Online OH Tomorrow #90
这是我们1月26日办公时间的Zoom信息!到时候见!
主题:Grace + Tejas 办公时间:2026年1月26日 晚上08:30 (美国和加拿大东部时间)加入Zoom会议 https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
会议ID:815 1195 2974 密码:Dp6Tfc
Here is the zoom information for our office hours 1/26! See you there!
Topic: Grace + Tejas OH Time: Jan 26, 2026 08:30 PM Eastern Time (US and Canada) Join Zoom Meeting https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
Meeting ID: 815 1195 2974 Passcode: Dp6Tfc
Tejas Tirthapura
STAFF
36分钟前
新链接:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
STAFF
36分钟前
New link:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
STAFF
昨天
新链接:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
STAFF
昨天
New link:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
26 Grace and Tejas Online OH Tomorrow #90
这是我们1月26日办公时间的Zoom信息!到时候见!
主题:Grace + Tejas OH 时间:2026年1月26日晚上8:30(美国和加拿大东部时间) 加入Zoom会议 https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
会议ID:815 1195 2974 密码:Dp6Tfc
Here is the zoom information for our office hours 1/26! See you there!
Topic: Grace + Tejas OH Time: Jan 26, 2026 08:30 PM Eastern Time (US and Canada) Join Zoom Meeting https://us05web.zoom.us/j/81511952974?pwd=Am05eOi2Vw5xvOuqTY9A6pnNakxwQx.1
Meeting ID: 815 1195 2974 Passcode: Dp6Tfc
Tejas Tirthapura
教职工
36分钟前
新链接:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
STAFF
36分钟前
New link:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
教职工
昨天
新链接:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
Tejas Tirthapura
STAFF
昨天
New link:
https://us05web.zoom.us/j/83763681408?pwd=lCD60V8VuZamlMXQuTyaf6aqKjRt9B.1
27 Software for Macs #92
我有点困惑我的 Mac 应该下载哪些可选软件。我应该只下载 multipass 还是需要下载所有 3 个(oracle virtualbox、virtualbox image 和 multipass)?如果这听起来像个愚蠢的问题,我很抱歉!
I'm a bit confused on which optional software to download for my Mac. Should I just download multipass or do i need to download all 3 (oracle virtualbox, virtualbox image, and multipass)? sorry if this seems like a dumb question!
只需 Multipass。
如果您不介意,请取消此帖子的私密设置,以便其他学生可以看到此信息。
Just Multipass.
If you don't mind, please un-private this post so other students can see this information.
Ijenna Okonkwo
9小时前
谢谢!!我会的
Ijenna Okonkwo
9小时前
thank you!! and will do
28 HW1 Released #101
嗨,AP!
我们刚刚在 GitHub 上发布了 HW1。截止日期是 2 月 3 日星期二晚上 11:55(你可以使用延迟提交天数,直到 2 月 5 日星期四晚上 11:55)。
提前截止日期:25 年 2 月 2 日晚上 11:55 (+2)
标准截止日期:25 年 2 月 3 日晚上 11:55 (+0)
延迟截止日期:25 年 2 月 4 日晚上 11:55 (-1)
最终截止日期:25 年 2 月 5 日晚上 11:55 (-2)
如果您已接受 HW0 中 GitHub 组织的邀请,可以通过访问 https://github.com/orgs/cs3157-borowski-hw/repositories 访问您团队的仓库。
如果您没有接受 GitHub 组织的邀请,您应该会收到一封来自 GitHub 的电子邮件(您注册 GitHub 时使用的电子邮件),标题为“carl-vbn invited you to cs3157-borowski-hw/hw1-X”,其中 X 是您的团队编号。您必须按照该电子邮件中的说明接受仓库邀请。
如果您没有收到这些邀请中的任何一个,则说明您未提交一个或多个表格,或向我们提供了不正确的 UNI 或 GitHub 用户名。如果是这种情况,请在 Ed 上发布私有帖子与我们联系。将来,您必须提交准确的信息才能按时开始作业。
此外,我们将在本帖中以评论的形式提供任何澄清,因此强烈建议您点击“关注”选项以获取我们更新的电子邮件通知。如果您对澄清有任何疑问,请另开一个帖子,不要在公告下方评论。
团队作业已在此处发布。您只能与您的队友协作。
祝 HW1 好运!
Hi AP!
We just released HW1 on GitHub. It is due on Tuesday, February 3rd, at 11:55 p.m. (you may use late days until Thursday, February 5th, at 11:55 p.m.).
Early Deadline: 2/2/25 11:55 p.m. (+2)
Standard Deadline: 2/3/25 11:55 p.m. (+0)
Late Deadline: 2/4/25 11:55 p.m. (-1)
Hard Deadline: 2/5/25 11:55 p.m. (-2)
If you have accepted the GitHub organization invitation as part of HW0, you can access your team's repository by going to https://github.com/orgs/cs3157-borowski-hw/repositories.
If you did not accept the GitHub organization invite, you should have received an email from GitHub (the email you signed up for GitHub with) titled "carl-vbn invited you to cs3157-borowski-hw/hw1-X" where X is your team number. You must follow the directions in that email to accept the repository invite.
If you did not get either of these invites, you did not submit one or more of the forms or gave us an incorrect UNI or GitHub username. If this is the case, please reach out to us by making a private post on Ed. In the future, you must submit accurate information to start assignments on time.
In addition, we will provide any clarifications as comments on this thread, so it is highly recommended that you click the "watch" option to get email notifications about updates we make. If you have any questions about the clarifications, please make a separate thread and do not comment under the announcement.
Team assignments are posted here. You may only collaborate with your teammate.
Good luck on HW1!
Carl von Bonin
STAFF
6小时前
小更正:#105
Carl von Bonin
STAFF
6小时前
Small correction: #105
28 HW1 Released #101
各位同学好!
我们刚刚在 GitHub 上发布了第一次作业(HW1)。截止日期是2月3日星期二晚上11:55(你可以使用延期天数直到2月5日星期四晚上11:55)。
提前截止日期:25年2月2日晚上11:55(+2)
标准截止日期:25年2月3日晚上11:55(+0)
延迟截止日期:25年2月4日晚上11:55(-1)
最终截止日期:25年2月5日晚上11:55(-2)
如果你已经接受了第一次作业(HW0)中的 GitHub 组织邀请,你可以通过访问 https://github.com/orgs/cs3157-borowski-hw/repositories 来访问你团队的仓库。
如果你没有接受 GitHub 组织邀请,你应该会收到一封来自 GitHub 的邮件(你注册 GitHub 的邮箱),标题为“carl-vbn invited you to cs3157-borowski-hw/hw1-X”,其中 X 是你的团队编号。你必须按照邮件中的指示接受仓库邀请。
如果你没有收到这些邀请中的任何一个,说明你没有提交一份或多份表格,或者提供了不正确的 UNI 或 GitHub 用户名。如果是这种情况,请通过在 Ed 上发布私有帖子联系我们。将来,你必须提交准确的信息才能按时开始作业。
此外,我们将在本帖中提供任何澄清,因此强烈建议你点击“关注”选项以获取我们更新的电子邮件通知。如果你对澄清有任何疑问,请另开一个帖子,不要在公告下评论。
团队分工已在此处发布。你只能与你的队友合作。
祝你第一次作业顺利!
Hi AP!
We just released HW1 on GitHub. It is due on Tuesday, February 3rd, at 11:55 p.m. (you may use late days until Thursday, February 5th, at 11:55 p.m.).
Early Deadline: 2/2/25 11:55 p.m. (+2)
Standard Deadline: 2/3/25 11:55 p.m. (+0)
Late Deadline: 2/4/25 11:55 p.m. (-1)
Hard Deadline: 2/5/25 11:55 p.m. (-2)
If you have accepted the GitHub organization invitation as part of HW0, you can access your team's repository by going to https://github.com/orgs/cs3157-borowski-hw/repositories.
If you did not accept the GitHub organization invite, you should have received an email from GitHub (the email you signed up for GitHub with) titled "carl-vbn invited you to cs3157-borowski-hw/hw1-X" where X is your team number. You must follow the directions in that email to accept the repository invite.
If you did not get either of these invites, you did not submit one or more of the forms or gave us an incorrect UNI or GitHub username. If this is the case, please reach out to us by making a private post on Ed. In the future, you must submit accurate information to start assignments on time.
In addition, we will provide any clarifications as comments on this thread, so it is highly recommended that you click the "watch" option to get email notifications about updates we make. If you have any questions about the clarifications, please make a separate thread and do not comment under the announcement.
Team assignments are posted here. You may only collaborate with your teammate.
Good luck on HW1!
29 Course Notetaker Needed for COMS W3157 #104
大家好,
请查看下方来自 CARDS 的消息,如果您对此机会感兴趣,请直接与该办公室联系。
此致,
B 博士
无障碍资源与残疾服务中心 (CARDS) - COMS W3157.001 - 高级编程(CRN: 12346)需要课程笔记员
此消息旨在通知您,有位同学需要笔记员。如果您愿意做笔记(并成功受聘),CARDS 可以为每门课程支付每学期 250 美元的津贴。如果您感兴趣,可以直接通过我们的 AIM 数据库注册(点击主屏幕上的“sign up as note-taker”):https://hood.accessiblelearning.com/Barnard/
登录为笔记员后,请点击屏幕顶部的“Note-taker”选项卡。然后您可以输入您希望为其做笔记的每门课程的 5 位数 CRN(每个框中输入一个 CRN)。CRN 可以在 CU 课程目录中找到。
提交笔记员申请后,CARDS 要求申请人提交两份样本笔记以供审查,作为申请过程的一部分。点击此处提交样本笔记!我们感谢您为您的同学提供的帮助!
Hi all,
Please see the message below from CARDS and interact directly with that office if you are interested in the opportunity.
Best,
Dr. B
Center for Accessibility Resources & Disability Services (CARDS) - Course Notetaker Needed for COMS W3157.001 - ADVANCED PROGRAMMING (CRN: 12346)
This message is to notify you that a classmate is in need of a note-taker. CARDS is able to pay a $250 stipend per course for the semester if you are willing to take notes (and are successfully hired). If you are interested, you can sign up directly through our AIM database (by clicking "sign up as note-taker" on the main screen): https://hood.accessiblelearning.com/Barnard/
Once you sign in as a note-taker, please click the Note-taker tab at the top of the screen. You can then enter the 5-digit CRN for each class for which you'd like to apply to take notes (one CRN should be entered per box). CRNs can be found on the CU Directory of Classes.
After you have submitted your note-taker application, CARDS requires applicants to submit two sets of sample notes for review as part of the application process. Click here to submit sample notes! We appreciate your assistance for your fellow classmate!
30 HW1 Enquiry #105
你好!我只想澄清一下这一点(“问题”标题下的说明 6):
“注意:带有警告的执行(如 4 所示)应使用成功退出代码。”
这应该是 3 而不是 4 吗?警告示例显示在说明 3 中(其中 notfound1.txt 和 notfound2 会产生警告),而不是说明 4 中(它讨论了使用 -l 标志列出文件)。我只是想确认一下此说明指的是哪个部分。谢谢!
Hi! Just want to make a clarification of this (instruction 6 under title "Problem"):
"Note: An execution with warnings (as shown in 4) should use the success exit code."
Should this be 3 instead of 4? The warnings example is shown in instruction 3 (where notfound1.txt and notfound2 produce warnings), not instruction 4 (which discusses listing files with -l flag). Just wanted to confirm which section this note is referring to. Thanks!
是的,没错,感谢指出!如果你不介意的话,请将你的帖子公开,以便其他人查看。
Yes that's correct, thanks for flagging! Please make your thread public if you don't mind for others to see.
Jason He
8小时前
感谢您的澄清!当然,我已经公开了。
1
Jason He
8小时前
Thanks for your clarification! Of course, I've made it public.
1
30 HW1 Enquiry #105
嗨!只是想澄清一下这个(“问题”标题下的说明 6):
“注意:带有警告的执行(如 4 所示)应使用成功退出代码。”
这应该是 3 而不是 4 吗?警告示例显示在说明 3 中(其中 notfound1.txt 和 notfound2 会产生警告),而不是说明 4(它讨论了使用 -l 标志列出文件)。只是想确认一下此注释指的是哪个部分。谢谢!
Hi! Just want to make a clarification of this (instruction 6 under title "Problem"):
"Note: An execution with warnings (as shown in 4) should use the success exit code."
Should this be 3 instead of 4? The warnings example is shown in instruction 3 (where notfound1.txt and notfound2 produce warnings), not instruction 4 (which discusses listing files with -l flag). Just wanted to confirm which section this note is referring to. Thanks!
是的,没错,谢谢指出!如果您不介意的话,请将您的帖子设为公开,以便其他人看到。
Yes that's correct, thanks for flagging! Please make your thread public if you don't mind for others to see.
Jason He
8小时前
感谢您的澄清!当然,我已经将其设为公开。
1
Jason He
8小时前
Thanks for your clarification! Of course, I've made it public.
1
31 General Question with VsCode #108
大家好,这个问题与作业 1 没有直接关系,但我想知道 VS Code 远程 SSH 是否允许在服务器 bsb.cs.columbia.edu 上使用?
谢谢!
Hi, this question isn’t directly related to Homework 1, but I was wondering whether VS Code remote SSH is allowed on the server bsb.cs.columbia.edu?
Thank you!
正如第一次讲座中讨论的那样,bsb 服务器不允许使用 VSCode SSH。原因是它的实现方式是,使用 SSH 扩展连接时,会首先在服务器上安装一个 VSCode 副本(包括 chromium runtime),该副本会在整个连接期间保持运行,占用大量资源。
请仅在本地使用 VSCode(使用 multipass 或 lubuntu 进行本地测试),并使用 scp 或 git 将您的更改上传到 bsb 进行最终测试。
As discussed during the first lecture, VSCode SSH is not allowed on the bsb server. The reason is that the way it is implemented, connecting using the SSH extension first installs a copy of VSCode on the server (including the chromium runtime), which stays running during the entire connection, taking up a ton of resources.
Please use VSCode locally only (using multipass or lubuntu for local testing) and upload your changes to bsb using scp or git for final testing.
我尝试在 VS Code 中连接它,但似乎每次我建立连接时,远程端的 VSCode 服务器都会自动终止。
I tried to connect to it in VS code, but it seems like every time I establish connection, the vscode server is automatically killed on the remote side.
31 General Question with VsCode #108
您好,这个问题与作业1没有直接关系,但我想知道bsb.cs.columbia.edu服务器是否允许使用VS Code远程SSH?
谢谢!
Hi, this question isn’t directly related to Homework 1, but I was wondering whether VS Code remote SSH is allowed on the server bsb.cs.columbia.edu?
Thank you!
32 Out of curiosity #109
你好,
出于好奇,我可以在虚拟机上运行 sudo rm -rf / 而不会破坏我的宿主机吗?
我的理解是虚拟机与我的实际笔记本电脑完全隔离,所以把虚拟机搞得一团糟应该对我的机器没有任何影响。这是对的吗?
谢谢
编辑:我想 Ubuntu 有安全措施可以阻止我删除某些文件,即使我使用了 sudo,但这些安全措施应该可以以某种方式禁用,对吗?
Hi,
Can I run sudo rm -rf / on the VM (out of curiosity) and not break my host machine?
My understanding is that the VM is entirely isolated from my actual laptop, so messing up the VM really bad should have no effect whatsoever on my machine. Is that correct?
Thanks
Edit: I suppose Ubuntu has safeguards that prevent me from deleting certain files even if I use sudo, but I suppose these safeguards can be disabled somehow, right?
好问题!简短的回答是,你的宿主机(很可能)会完全没事。这仍然可能不是一个好主意,因为你的虚拟机可能通过共享文件夹等方式访问宿主机文件系统的一部分。
话虽如此,我认为你问题的核心更像是“我的虚拟机到底有多隔离?”答案是:非常隔离。从概念上讲,你应该把虚拟机看作一台独立的计算机。不过,如果你发现自己在 shell 中输入“sudo rm -rf /”,我建议你重新考虑一下这个操作。
Great question! The short answer is that your host machine would (most likely) be completely fine. It is still probably not a good idea, as it is possible that your VM could have access to part of the host machine's file system via something like a shared folder.
That being said, I think the spirit of your question is more along the lines of "just how isolated is my VM?" and the answer is: very. Conceptually, you should think about a VM as a separate computer. Still, if you ever find yourself typing "sudo rm -rf /" into a shell, I would suggest rethinking that line of action.
Mateo Patino
18分钟前
是的,我想知道虚拟机与宿主机隔离的程度,但我也很好奇如果你尝试 sudo rm -rf /,一个环境会如何反应。那么,作为后续问题,宿主机和虚拟机之间的共享文件夹是我可以同时影响的唯一东西吗?还有没有其他类型的资源或数据是两个环境都可以访问的?
Mateo Patino
18分钟前
Yes I wanted to know to what extent the VM was isolated from the host, but I am also really curious to see how an environment reacts if you try sudo rm -rf /. So as a follow up, are shared folders between the host and the VM the only thing I can influence from both the VM and the host? Is there any other kind of resource or data that both environments can reach?
Veer Prasad
STAFF
前天
我认为共享文件夹可能是虚拟机和宿主机之间唯一“共通”的东西。我猜想在运行 sudo rm -rf / 时,共享文件夹的内容也会被删除(但这只是我的猜测)。
Veer Prasad
STAFF
前天
I think that the shared folder is probably the only "common" thing between both the VM and the host machine. And my guess is that when running the sudo rm -rf / is that the contents of the shared folder also get deleted (but this is just a guess).
33 Multipass Question #111
根据 Multipass 设置指南:
“您的整个 macOS 主目录会自动与 Ubuntu 访客虚拟机共享... cd Home 进入您的 macOS 主目录”
当我 cd Home 然后 ls 时,什么都没有显示 (ls -l 显示总计 0)
这是预期的吗?
According to the Multipass Setup guide:
"Your whole macOS home directory is automatically shared with the Ubuntu guest virtual machine... cd Home to move into your macOS home directory"
When I cd Home, then ls, nothing shows up (ls -l gives total 0 )
Is this expected?
你好,Sophia,
你是否严格按照指南中列出的步骤操作了?
我刚在我的 Mac 上试了一下,它似乎挂载成功了。
Hi Sophia,
Have you followed the exact steps listed in the guide?
I just tried it on my Mac and it seemed to mount it.
你好,Sophia,
你是否严格按照指南中列出的步骤操作了?
我刚在我的 Mac 上试了一下,它似乎挂载成功了。
Hi Sophia,
Have you followed the exact steps listed in the guide?
I just tried it on my Mac and it seemed to mount it.
Brian Borowski
STAFF
前天
@Amit 你能尝试挂载一些东西来确认我的指示吗?
Brian Borowski
STAFF
前天
@Amit Can you try mounting something to confirm my directions?
Amit Aharoni
STAFF
前天
我的在创建实例时自动挂载了:
amitaharoni @Amits-MacBook-Pro-2432 mult-pass % multipass launch lts --name primary --cpus 4 --memory 4G --disk 12G
Launched: primary
Mounted '/Users/amitaharoni' into 'primary:Home'
但是,是的,我也能够从我的 mac 挂载一个目录到我的实例:
amitaharoni @Amits-MacBook-Pro-2432 mult-pass % multipass mount /Users/amitaharoni/Programming/Columbia/AP/shared primary
amitaharoni @Amits-MacBook-Pro-2432 mult-pass % multipass shell
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-90-generic aarch64)
...
ubuntu @primary:~$ ls
Home shared snap
ubuntu @primary:~$ cd shared/
ubuntu @primary:~/shared$ ls
class_files learning week1
ubuntu @primary:~/shared$ exit
logout
amitaharoni @Amits-MacBook-Pro-2432 mult-pass % cd ../shared
amitaharoni @Amits-MacBook-Pro-2432 shared % ls
class_files learning week1
amitaharoni @Amits-MacBook-Pro-2432 shared % pwd
/Users/amitaharoni/Programming/Columbia/AP/shared
Amit Aharoni
STAFF
前天
Mine just mounted automatically when creating the instance:
amitaharoni@Amits-MacBook-Pro-2432 mult-pass % multipass launch lts --name primary --cpus 4 --memory 4G --disk 12G
Launched: primary
Mounted '/Users/amitaharoni' into 'primary:Home'
But yes, I was also able to mount a dir from my mac to my instance:
amitaharoni@Amits-MacBook-Pro-2432 mult-pass % multipass mount /Users/amitaharoni/Programming/Columbia/AP/shared primary
amitaharoni@Amits-MacBook-Pro-2432 mult-pass % multipass shell
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-90-generic aarch64)
...
ubuntu@primary:~$ ls
Home shared snap
ubuntu@primary:~$ cd shared/
ubuntu@primary:~/shared$ ls
class_files learning week1
ubuntu@primary:~/shared$ exit
logout
amitaharoni@Amits-MacBook-Pro-2432 mult-pass % cd ../shared
amitaharoni@Amits-MacBook-Pro-2432 shared % ls
class_files learning week1
amitaharoni@Amits-MacBook-Pro-2432 shared % pwd
/Users/amitaharoni/Programming/Columbia/AP/shared
Brian Borowski
STAFF
前天
太好了,所以如果需要,这是另一个选择。
谢谢!
Sophia,试一下!
Brian Borowski
STAFF
前天
Great, so this is another option, if necessary.
Thanks!
Sophia, give it a try!
Sophia Huang
前天
回复 Brian Borowski
谢谢你们,两位!看来成功了
(base) sophiahuang @Sophias-MacBook-Pro ~ % multipass mount ~ primary
(base) sophiahuang @Sophias-MacBook-Pro ~ % multipass shell
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-90-generic aarch64)
...
ubuntu @primary:~$ ls
Home snap sophiahuang
ubuntu @primary:~$ cd sophiahuang/
ubuntu @primary:~/sophiahuang$ ls
Sophia Huang
前天
Replying to Brian Borowski
Thank you, both! it seems like it worked
(base) sophiahuang@Sophias-MacBook-Pro ~ % multipass mount ~ primary
(base) sophiahuang@Sophias-MacBook-Pro ~ % multipass shell
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-90-generic aarch64)
...
ubuntu@primary:~$ ls
Home snap sophiahuang
ubuntu@primary:~$ cd sophiahuang/
ubuntu@primary:~/sophiahuang$ ls
Amit Aharoni
STAFF
昨天
回复 Sophia Huang
太棒了!很高兴听到这个消息
Amit Aharoni
STAFF
昨天
Replying to Sophia Huang
Great! Glad to hear
Brian Borowski
STAFF
昨天
回复 Sophia Huang
不错!
Brian Borowski
STAFF
昨天
Replying to Sophia Huang
Nice!
Amit Aharoni
STAFF
前天
回复 Sophia Huang
太棒了!很高兴听到这个消息
Amit Aharoni
STAFF
前天
Replying to Sophia Huang
Great! Glad to hear
Brian Borowski
STAFF
前天
回复 Sophia Huang
不错!
Brian Borowski
STAFF
前天
Replying to Sophia Huang
Nice!
34 Removing a folder from itself? #115
出于好奇,我尝试在一个文件夹的终端中删除该文件夹,但我不明白为什么即使删除了该文件夹,pwd 和该文件夹的父目录 (..) 仍然没有改变。然而,如果删除后,我 cd 到父目录,被删除的文件夹就不再是子目录了。那么当使用 rmdir 删除一个文件夹时,它是否只断开父目录到子目录的连接,而不是子目录到父目录的连接?这个问题可能有点令人困惑,所以附上了终端命令
/ag5250$ mkdir test
/ag5250$ cd test
/ag5250/test$ rmdir ../test
/ag5250/test$ pwd
/mnt/disks/students261/ag5250/test
/ag5250/test$ cd ..
/ag5250$ cd -
-bash: cd: /mnt/disks/students261/ag5250/test: No such file or directory
So out of curiosity I tried deleting a folder while being in the folder's terminal and don't particularly understand why even after deleting the folder the pwd and the parent (..) of the folder doesn't change. However, if after deleting, I cd to the parent directory, the deleted folder is no longer a child. So when deleting a folder using rmdir, does it only break the connection from the parent to the child and not from the child to the parent? This question might be a bit confusing so attached the terminal commands
/ag5250$ mkdir test
/ag5250$ cd test
/ag5250/test$ rmdir ../test
/ag5250/test$ pwd
/mnt/disks/students261/ag5250/test
/ag5250/test$ cd ..
/ag5250$ cd -
-bash: cd: /mnt/disks/students261/ag5250/test: No such file or directory
好问题!就这门课而言,当一个目录被删除时,你可以认为它确实被完全删除了,并且不再可访问。
那么为什么你的 shell 仍然可以将其作为工作目录呢?首先,bash 没有收到文件夹被删除的通知,所以对它来说,什么都没有改变,即使底层文件夹已经不存在了。这就是为什么你仍然在提示符中看到路径。但是,如果你尝试做任何依赖于该文件夹存在的事情,比如在里面创建一个新文件,操作就会失败。当你 cd 出目录并尝试 cd 回去时,bash 会尝试重新打开该目录,这会失败,并显示该错误。
有时你可能会进入一种奇怪的状态,ls 仍然像目录存在一样工作。这是由于目录条目缓存造成的,你可以在操作系统课程中了解更多。一个简单的 cd-out/cd-in 通常会刷新状态,使其干净。
Good question! For the purposes of this class, when a directory gets removed, you can assume it actually gets fully deleted and is no longer accessible.
So why can your shell still have it as its working directory? First, bash doesn't get notified that the folder got deleted, so for it, nothing changed, even if the underlying folder doesn't exist anymore. That's why you still see the path in the prompt. However, if you try to do anything that depends on this folder existing, like creating a new file inside, the operation will fail. When you cd out of the directory and try to cd back, bash will try re-opening the directory, which fails, and it shows that error.
Sometimes you can get into a weird state where ls still works as if the directory still existed. This happens as a result of directory entry caching, which you can learn more about in OS. A simple cd-out/cd-in will usually refresh the state to be clean.
Anay Garodia
22小时前
谢谢!
Anay Garodia
22小时前
Thanks!
35 Lecture #3 Question Thread 1/28/2026 #117
大家好,这里是你们在今天讲座期间提问的地方!
过程很简单,有问题吗?在这里发布,你就会收到目前在听你讲座的助教的回复。
Hello, this will be a place for you to ask questions during today's lecture!
The process is simple, have a question? Post it here and you'll get a reply from the TA who is currently sitting in on your lecture.
匿名大黄蜂
22小时前
已解决
第一个 ENDOFTEXT 之后的 \n 和第二个 ENDOFTEXT 之前的 \n 会发生什么?它们也传递给 cat 了吗?
Anonymous Hornet
22小时前
已解决
What happens to the \n after the first ENDOFTEXT and the \n before the second ENDOFTEXT? Are they passed to cat as well?
Koral Wheeler
STAFF
22小时前
不,当这段文本用 cat 打印时,块之前或之后似乎没有换行符(就像在 Lorem 之前或 aliqua 之后一样,因为这会导致一个空行)。
当你在终端中看到输出时,那些技术上存在的换行符是为了将 cat 的输出与提示行分开。这些换行符是由 shell 放置的;它们不是来自此处文档。
编辑:我忘记在我的回答中考虑 shell 的换行符,所以我为其他人更新此内容。我深表歉意。
1
Koral Wheeler
STAFF
22小时前
No, when this block of text is printed with cat, there appears to be no newline before or after the block (as in right before Lorem or right after aliqua, as this would cause a blank line).
The newlines technically present when you see the output in the terminal are there to separate cat's output from the prompt lines. Those newlines are put there by the shell; they don't come from the here document.
EDIT: I forgot to consider the shell's newline in my answer, so I'm updating this for others. My apologies.
1
Koral Wheeler
STAFF
22小时前
这是作业中的示例。你可以看出输出前后都有一个换行符,因为输出没有与命令行提示符连接在一起,但这并非来自此处文档,所以你无需担心。
1
Koral Wheeler
STAFF
22小时前
Here's the example from the homework. You can tell there is a newline before and after the output because the output does not appear concatenated with the command line prompts, but this does not come from the here document, so you don't have to worry about that.
1
35 Lecture #3 Question Thread 1/28/2026 #117
大家好,这里是大家在今天的讲座中提问的地方!
过程很简单,有问题吗?在这里发布,您将收到正在旁听您讲座的助教的回复。
Hello, this will be a place for you to ask questions during today's lecture!
The process is simple, have a question? Post it here and you'll get a reply from the TA who is currently sitting in on your lecture.
匿名大黄蜂
22小时前
已解决
第一个 ENDOFTEXT 之后的 \n 和第二个 ENDOFTEXT 之前的 \n 会发生什么?它们也传递给 cat 了吗?
Anonymous Hornet
22小时前
已解决
What happens to the \n after the first ENDOFTEXT and the \n before the second ENDOFTEXT? Are they passed to cat as well?
Koral Wheeler
STAFF
22小时前
不,当这段文本用 cat 打印时,块的前后似乎没有换行符(就像在 Lorem 之前或 aliqua 之后,因为这会导致一个空行)。
当你在终端中看到输出时,技术上存在的换行符是为了将 cat 的输出与提示行分开。这些换行符是由 shell 放置的;它们不是来自 here document。
编辑:我忘了在我的回答中考虑 shell 的换行符,所以我正在为其他人更新此内容。我深表歉意。
1
Koral Wheeler
STAFF
22小时前
No, when this block of text is printed with cat, there appears to be no newline before or after the block (as in right before Lorem or right after aliqua, as this would cause a blank line).
The newlines technically present when you see the output in the terminal are there to separate cat's output from the prompt lines. Those newlines are put there by the shell; they don't come from the here document.
EDIT: I forgot to consider the shell's newline in my answer, so I'm updating this for others. My apologies.
1
Koral Wheeler
STAFF
22小时前
这是作业中的示例。你可以看到输出前后有一个换行符,因为输出没有与命令行提示符连接在一起,但这并非来自 here document,所以你不用担心。
1
Koral Wheeler
STAFF
22小时前
Here's the example from the homework. You can tell there is a newline before and after the output because the output does not appear concatenated with the command line prompts, but this does not come from the here document, so you don't have to worry about that.
1
36 Learn Bash through Gaming! #118
想学习更多关于 Bash 的知识?对 cd 和 ls 感到困惑?喜欢通过游戏学习吗?
GameShell 就是适合你的游戏!
这是一个很酷的基于终端的游戏,你可以使用 Bash 命令探索一个充满宝藏的世界。
游戏已安装在 bsb 服务器上,你只需在主目录中运行 gameshell,它就会将你的游戏进度保存在你的目录中!
你可以在这里了解更多信息或在本地机器上安装它:
https://github.com/phyver/GameShell/
玩得开心!
附注:提醒一下,我们将在周五下午 2 点举办 Bash 和设置复习课。我建议在会话前安装 VirtualBox (Windows) 或 Multipass (Mac),以便做好准备!
Multipass Setup Guide
Virtual Box Link
Wish to learn more about Bash? Confused about cd and ls? Like learning through games?
GameShell is the game for you!
It's a cool terminal-based game where you explore a world full of treasures using Bash commands.
The game has been installed on the bsb server, all you need to do is run gameshell in your home directory, and it will save your game progress in your directory!
You can learn more about it here or install it on your local machine:
https://github.com/phyver/GameShell/
Enjoy!
P.S.: Reminder that we'll host a Bash & Setup review session on Friday at 2 pm. I recommend installing VirtualBox (Windows) or Multipass (Mac) before the session so you're prepared!
Multipass Setup Guide
Virtual Box Link
Rafia Hossain
5小时前
谢谢,复习课是线下还是线上?
1
Rafia Hossain
5小时前
Thank you, will the review session be in person or virtual?
1
Amit Aharoni
STAFF
5小时前
线上
Amit Aharoni
STAFF
5小时前
Virtual
Sebastian Sartor
17小时前
谢谢 Amit!
1
Sebastian Sartor
17小时前
Thank you Amit!
1
37 Students Requesting Access to .ova File #119
大家好,
我了解到有时巴纳德学院的学生无法访问存储在哥伦比亚大学 Google Drive 上的数据。如果需要访问,请务必使用您的哥伦比亚大学账户登录 Google。我不得不拒绝了一些来自个人电子邮件地址的请求。
此致,
B 博士
Hi all,
I understand that sometimes Barnard students do not get access to data stored on Google Drive at Columbia. If you need access, be sure to login to Google with your Columbia account. I had to deny a few requests that were sent from personal email addresses.
Sincerely,
Dr. B
38 HW1: Question about behavior #120
你好,
我们有一些关于第一次作业的问题。首先,如果主目录下有一个名为 .junk 的文件而不是目录,该怎么办?是应该报错还是应该删除这个现有的 .junk 文件?其次,如果有多个标志,但其中一个标志是 -h,是应该像 -h 那样输出帮助信息,还是因为有多个标志而报错?
感谢你的帮助。
Hi,
We had a few questions regarding hw1. First, if there were a file not directory called .junk in home, what should be done? Should there be an error or should this existing .junk file be deleted? Second, if there are multiple flags, but one of them is the -h flag, should it output the help like -h or an error for multiple flags?
Thanks for your help.
你好,Henri,
首先,如果主目录下有一个名为 .junk 的文件而不是目录,该怎么办?
mkdir 将会因以下信息而失败:
mkdir: cannot create directory ‘/home/user/.junk’: File exists
用户需要手动纠正这个问题。
其次,如果有多个标志,但其中一个标志是 -h,是应该像 -h 那样输出帮助信息,还是因为有多个标志而报错?
$ ./junk.sh -hlp
Error: Too many options enabled.
Usage: junk.sh [-hlp] [list of files]
-h: 显示帮助。
-l: 列出已废弃的文件。
-p: 清除所有文件。
[list of files] 如果没有其他参数,则废弃这些文件。
告诉我这是否有帮助。
-B 博士
Hi Henri,
First, if there were a file not directory called .junk in home, what should be done?
mkdir will fail with the following message:
mkdir: cannot create directory ‘/home/user/.junk’: File exists
The user would have to manually correct the problem.
Second, if there are multiple flags, but one of them is the -h flag, should it output the help like -h or an error for multiple flags?
$ ./junk.sh -hlp
Error: Too many options enabled.
Usage: junk.sh [-hlp] [list of files]
-h: Display help.
-l: List junked files.
-p: Purge all files.
[list of files] with no other arguments to junk those files.
Let me know if this helps.
-Dr. B
39 Expected parent directory of src directory in bsb server? #121
硬件规范说工作必须在 src 目录中完成。在 bsb 服务器中,"cs3157" 目录应该是 src 目录的父目录吗?或者一个名为 "hw1-96" 的目录需要成为 src 目录的父目录吗?
谢谢
The hw spec says work must be done inside the src directory. In bsb server, is the "cs3157" directory supposed to be the parent of the src directory? or Does a directory called "hw1-96" need to be the parent of the src directory?
Thank you
你需要克隆 hw1 仓库。里面有一个 src 目录,这就是规范所指的。
You need to clone the hw1 repository. There is a src directory inside, that's what the spec refers to.
40 Deleting with symlinks? #122
如果 .junk 文件夹包含软链接,当我们运行 ./junk.sh -p 时,我们应该只删除软链接本身还是也删除软链接指向的文件?
If the .junk folder contains a symlink, when we run ./junk.sh -p, should we delete only the symlink or also the file which the symlink links to?
只删除软链接本身;不要追踪它。
Only delete the symlink itself; don't follow it.
41 Bash resource #123
我想分享这个我看了几次的 YouTube 频道,它涵盖了不同的 Bash 项目以及 Bash 语法/特性
https://youtube.com/ @yousuckatprogramming
I wanted to share this YouTube channel I've watched a couple times that covers different Bash projects and Bash syntax/features
https://youtube.com/@yousuckatprogramming
42 HW1 testing & shellcheck #125
两个问题:
我在我的终端上运行了示例运行时场景,但是我还没有在 GitHub 上这样做。我应该在 GitHub 上运行它吗,如果应该,怎么运行?
我还在本地运行了拼写检查(这是额外要求部分的一部分),它是干净的,但当然,提交时没有证明。这重要吗?
two questions:
I have ran the sample run time scenario on my terminal, however, I haven't done this on GitHub. Should I run this on GitHub, and if so how?
I also ran spellcheck here (which is part of the additional requirements section) and it was clean, but of course, there is no proof of this when submitting. does this matter?
你好,Adriano,
所以没有在 GitHub 上“运行”这个。我假设你一直在你的本地机器上编写代码,并且你已经将最终版本推送到了 GitHub。接下来你应该测试它的地方是 BSB 服务器。你应该将一个副本 git clone 到 BSB 服务器并在那里测试它,因为这是助教将运行你的代码的环境。如果你对这个工作流程有任何其他问题,请告诉我。
对于 shellcheck,我们不要求你提交任何运行过 shellcheck 的证明,因为我们可以在你的代码上自行运行它。
Hi Adriano,
So there is no "running" this on GitHub. I assume you've been coding on your local machine and you've pushed your final version to GitHub. Where you should be testing it next is on the BSB server. You should git clone a copy to the BSB server and test it there since this is the environment that TAs will run your code in. Let me know if you have any more questions about that workflow.
For shellcheck, we don't require you to submit any proof that you ran shellcheck, as we could run it on your code ourselves.
Veer Prasad
STAFF
3小时前
另外,补充 Koral 的观点,我们明天会在答疑课上详细讲解这个特定的工作流程以及如何在 BSB 服务器上测试你的代码。所以我建议你届时参加!
Veer Prasad
STAFF
3小时前
And also to add to Koral's point, we will be going over this specific workflow tomorrow during recitation and how to test your code on BSB server as well. So I would recommend tuning in for that!
Adriano Saettone Prado
4小时前
太棒了,谢谢!
Adriano Saettone Prado
4小时前
great, thank you!
42 HW1 testing & shellcheck #125
两个问题:
我在终端上运行了示例运行时场景,但尚未在 GitHub 上运行。我应该在 GitHub 上运行吗?如果应该,如何运行?
我还在这里运行了 spellcheck(这是附加要求的一部分),并且它是干净的,但当然,提交时没有证据。这重要吗?
two questions:
I have ran the sample run time scenario on my terminal, however, I haven't done this on GitHub. Should I run this on GitHub, and if so how?
I also ran spellcheck here (which is part of the additional requirements section) and it was clean, but of course, there is no proof of this when submitting. does this matter?
嗨,阿德里亚诺,
GitHub 上没有“运行”这一说。我假设你一直在本地机器上编写代码,并且你已经将最终版本推送到 GitHub。接下来你应该在 BSB 服务器上测试它。你应该将一份副本 git clone 到 BSB 服务器并在那里测试它,因为这是助教运行你代码的环境。如果你对这个工作流程有任何疑问,请告诉我。
对于 shellcheck,我们不要求你提交任何运行 shellcheck 的证据,因为我们可以在你的代码上自己运行它。
Hi Adriano,
So there is no "running" this on GitHub. I assume you've been coding on your local machine and you've pushed your final version to GitHub. Where you should be testing it next is on the BSB server. You should git clone a copy to the BSB server and test it there since this is the environment that TAs will run your code in. Let me know if you have any more questions about that workflow.
For shellcheck, we don't require you to submit any proof that you ran shellcheck, as we could run it on your code ourselves.
Veer Prasad
员工
3小时前
另外,补充一下 Koral 的观点,我们明天会在答疑课上讲解这个具体的工作流程以及如何在 BSB 服务器上测试你的代码。所以我建议你届时参加!
Veer Prasad
STAFF
3小时前
And also to add to Koral's point, we will be going over this specific workflow tomorrow during recitation and how to test your code on BSB server as well. So I would recommend tuning in for that!
Adriano Saettone Prado
4小时前
太棒了,谢谢!
Adriano Saettone Prado
4小时前
great, thank you!
43 DS Seeks Note-taker #126
大家好,
请查看以下消息,如果感兴趣,请联系提供的电子邮件。
此致,
B 博士
---------------------------------------
残疾服务中心正在为您的课程寻找一名笔记员,要求其能坚持上课,并拥有整洁的手写笔记或打字笔记。该办公室正在寻找组织良好、详细且最能满足学生需求的笔记。
选定的笔记员将获得报酬:250 美元(每学期)
请注意以下资格标准:
• 如果您是哥伦比亚大学的在职全职员工,则没有资格被聘为笔记员。
• 如果您持有 A1 签证,则没有资格担任笔记员。
• 如果您是国际学生,则必须持有有效的 F1 签证和哥伦比亚大学签发的 I-20 表格才能被聘为笔记员。
如果您被选中,您需要将学期开始至最后一次上课的所有笔记与您的第一次提交一并提交。
有兴趣的学生必须填写随附的表格,并通过电子邮件将本课程的笔记样本(仅限 PDF 或 WORD 文件,不得为图片或 Jpeg 文件)发送至 odsnotes @columbia.edu。
将选择最能满足学生需求的笔记。
Hi all,
Please see the message below and reach out to the email provided if interested.
Best,
Dr. B
---------------------------------------
Disability Services is looking for a note-taker in your course who attends class consistently and has neat handwriting or typed notes. The office is looking for notes that are well organized, detailed and best meet the needs of the student(s).
The selected note-taker will be compensated for their services: $250 (for the semester)
Please note the following eligibility criteria:
• If you are a current full-time employee of Columbia University, you are not eligible to be hired as a note-taker.
• If you have a A1 visa, you are not eligible to be a note-taker
• If you are an international student, you must have a valid F1 visa AND I-20 form issued by Columbia University to be hired as a note-taker.
If you are selected, you will expected to submit all notes from the beginning of the semester up to the last class attended with your first submission.
Interested students must complete the attached form and send a sample set of notes (PDF or WORD only-no pictures or Jpeg files) from this course via email to odsnotes@columbia.edu.
The notes which best meet the student's needs will be selected.
Exit with success.
大家好,
昨天下课后,有学生发现了 search.sh 的一个极端情况。
假设你在家目录的 Music 文件夹中创建一个指向 Music 文件夹父目录(即家目录本身)的软链接。
~/Music$ tree
.
└── up -> ..
2 directories, 0 files
[ -d "$file" ]` 和 `[ -h "$file" ] 都将返回 true。如果你递归进入这个特定的软链接,你将会有“无限”递归。
最简单的修复方法是根本不递归进入软链接。否则,我们必须跟踪所有访问过的目录,这很麻烦。
请看下面的更新:
#!/bin/bash
###############################################################################
Hi all,
After class yesterday, a student found an edge case for search.sh
Suppose you create a symlink in the Music folder in your home directory to point to the parent of the Music directory, which is indeed the home directory itself.
~/Music$ tree
.
└── up -> ..
2 directories, 0 files
Both [ -d "$file" ] and [ -h "$file" ] will return true. If you recurse into this specific symlink, you will have "infinite" recursion.
The easiest fix is to simply not recurse into symlinks. Otherwise, we'd have to keep track of every directory visited, which is cumbersome.
Take a look at the update below:
#!/bin/bash
###############################################################################
45 Guide: Setting up VSCode for Multipass #131
大家晚上好,
我写了一份关于如何设置 Visual Studio Code 以便与 Multipass 协同工作的指南。本质上,它允许你在 VS Code 中,在你的 Ubuntu 虚拟机上编写作业代码,这比使用 vim/nano 更容易。
它与其它指南位于同一仓库中:
https://github.com/cs3157-borowski/guides/blob/main/multipass_vscode.md
尽管本指南是为 macOS 上的 Multipass 编写的,但对于其他系统上的其他代码编辑器来说,步骤非常相似,只需稍作修改。
在尝试本指南之前,请务必先设置好 Multipass:
Multipass Setup.pdf
由于班级规模和 VS Code 服务器安装的开销,这在 BSB 服务器上将无法工作。
如有任何问题或需要澄清的地方,请随时在此处发帖。
Good evening all,
I've written a guide for setting up Visual Studio Code for working with Multipass. Essentially, it lets you write your homework code on your Ubuntu Virtual Machine on VS Code, which is easier than working with vim/nano.
It is in the same repository as the other guides:
https://github.com/cs3157-borowski/guides/blob/main/multipass_vscode.md
Although this guide is written for Multipass on macOS, the steps are very similar for other code editors on other systems, with some small changes.
Make sure to set up Multipass first before attempting this guide:
Multipass Setup.pdf
This will NOT work on the BSB server due to the size of the class and the overhead that the VS Code server installs.
Feel free to post here any questions or clarifications needed.
Example: If your drive is named "T7", replace YOUR_SSD_NAME with T7
sudo mv /var/root/Library/Application\ Support/multipassd /Volumes/YOUR_SSD_NAME/multipassd
Note: If you get an "Operation not permitted" error, go to System Settings > Privacy & Security > Full Disk Access and verify that Terminal is added and toggled ON.
Step 3: Create the Link
Now we create a "shortcut" (symlink), so Multipass thinks the folder is still in the original place.
sudo ln -s /Volumes/YOUR_SSD_NAME/multipassd /var/root/Library/Application\ Support/multipassd
Step 4: Restart Multipass
Turn the background service back on.
sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist
Step 5: Verify
Launch a test instance to make sure it works.
multipass launch --name test-vm
If this works, your VM is now running off the external SSD! You can delete the test VM afterwards (multipass delete test-vm and multipass purge).
If you ever want to uninstall Multipass or stop using the SSD, you must undo the link (unlink) or you might leave your system in a confused state where Multipass tries to find a drive that doesn't exist.
我正在设置 multipass,在说明中看到它将占用大量存储空间。我的机器上没有那么多可用空间,是否可以将其重定向到我的 SSD?我知道 multipass 的下载无法重定向,但对于虚拟机创建来说可以吗?
I was setting up multipass and I saw in the instructions the amount of storage it will take up. Is it possible to redirect it to my SSD since I don't have that much space free on my machine? I know the download of multipass can't be redirected, but for the vm creation.
你好 Hailia,
是的,这完全可能。请参阅以下说明:
如何将 Multipass VM 存储在外部 SSD 上
先决条件:每次使用 Multipass 时都必须插入您的外部 SSD。如果您在 VM 运行时拔下它,VM 将崩溃。
步骤 1:停止 Multipass 后台服务
打开您的终端并运行此命令以停止 Multipass 守护程序(后台进程)。
sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
(您需要输入您的 Mac 登录密码。输入时它不会显示在屏幕上,只需输入并按 Enter 即可)。
步骤 2:移动 Multipass 数据文件夹
我们将把现有的数据文件夹从您的 Mac 内部驱动器移动到您的外部 SSD。
将 YOUR_SSD_NAME 替换为您的驱动器的实际名称(如果名称包含空格,请用引号括起来,例如“My Passport”)。
Hi Hailia,
Yes, this is totally possible. Please see the instructions below:
How to Store Multipass VMs on an External SSD
Prerequisite: Your External SSD must be plugged in every time you use Multipass. If you unplug it while a VM is running, the VM will crash.
Step 1: Stop the Multipass Background Service
Open your Terminal and run this command to stop the Multipass daemon (the background process).
sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
(You will need to type your Mac login password. It won’t show up on screen as you type, just type it and hit Enter).
Step 2: Move the Multipass Data Folder
We will move the existing data folder from your internal Mac drive to your external SSD.
Replace YOUR_SSD_NAME with the actual name of your drive (if the name has spaces, put it in quotes like "My Passport").
Hailia Sommerville
23小时前
谢谢!
Hailia Sommerville
23小时前
Thank you!
47 Bash Scripting Ability/Knowledge for Exams #135
您好,我想询问关于我们即将进行的考试中对 Bash 脚本的预期熟悉程度。
学生应该能够轻松地/从头开始实现我们大纲中提供的函数(例如 search.sh、parseargs.sh 等),还是仅仅对脚本的语法和整体行为有深入的理解就足够了?
我个人认为前者是理想的,但我只是想确认我们为在考试中取得好成绩所需的预期能力水平。
非常感谢您的帮助!
附:如果您认为值得分享,我绝对可以解除此帖的私有状态!
Hello, I would like to ask on the expected level of familiarity with bash scripting in terms of our upcoming exam(s).
Should students be able to implement the sort of functions we are provided with in the syllabus (search.sh, parseargs.sh, etc) with ease/from scratch, or is it sufficient to have a strong understanding of the syntax and overall behavior of the scripts?
I would think the former would be ideal, but I just wanted to confirm our expected level of ability to do well on the exams.
Thank you very much for your help!
p.s. I can definitely un-private this if you feel it's worth sharing!
你好 Thomas,
Canvas 上有一些练习测验,可以让你了解考试中会出现的题型。我也会在临近考试日期时发布一份模拟试卷。
你需要通过简短的回答来填空,以展示对命令行使用和 Bash 的熟练掌握。你不需要从头实现一个完整的脚本,甚至一个函数。
希望这有所帮助。
-B 博士
Hi Thomas,
There are some practice quizzes on Canvas to give you an idea of the types of questions you will see on the exam. I will also release a practice exam closer to the exam date.
You will have to fill in the blanks with short responses to demonstrate mastery of command line usage and bash. You will not have to implement a full script or even a function from scratch.
Let me know if this helps.
-Dr. B
Thomas Kourakos
7小时前
Borowski 博士,
非常感谢!这些练习测验我似乎错过了。我非常感谢您的回复。
此致,
Thomas K
Thomas Kourakos
7小时前
Dr. Borowski,
Thank you very much! These practice quizzes seemed to have slipped from my view. I really appreciate your reply.
Best,
Thomas K
Brian Borowski
教职工
6小时前
没问题!
Brian Borowski
STAFF
6小时前
No problem!
Allen Chen
7小时前
Bonin 先生您好,
我昨天在 Canvas 上完成了用户名调查,但是当我尝试访问 HW0 时,我只看到了这些文件内容:
Allen Chen
7小时前
Hello Mr. Bonin,
I completed the username survey on Canvas yesterday, but when I try to access the HW0, this is the only file content that I see: