nus-cs2103-ay1819s2 / forum Goto Github PK
View Code? Open in Web Editor NEWCS2103/T discussion forum
CS2103/T discussion forum
Dear Students,
Please take note of the following:
A. Week 8 Project and Tutorial (after recess week)
Check the website’s Project tab under weeks 8 for required submissions before the tutorial day, 23:59 (https://nus-cs2103-ay1819s2.github.io/cs2103-website/schedule/week8/). Note that you are required to:
follow the instructions found under Project mid-v1.2: https://nus-cs2103-ay1819s2.github.io/cs2103-website/admin/project-w08-mid-v12.html. You will receive automatically-generated feedback from our bot. Use this feedback to improve for graded milestone v1.2 in week 9.
attempt the exercises and read the information under Topics and Tutorial tabs for week 8 before attending the tutorial.
B. We mentioned at the lecture that you should not have an excessive number of PRs per week. You may try to have one PR per team member, or one PR for each important feature (partially) completed. 3-7 PRs per week would be a reasonable number. This is not a strict rule, you are free to make as many PRs as you need every week.
Best regards,
Cristina.
During the tutorial on Wednesday I was able to fork the repository to my github.
I implemented the 3 TODO: tasks. I am not sure what "permissive validation" means. I understood it as we should loosen the requirements and make them less strict for the values to be entered.
I tried to push to my github account but I keep getting an error I do not know how to fix. It says:
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Permission to nus-cs2103-AY1819S2/addressbook-level1.git denied to PhilipPhil.
fatal: unable to access 'https://github.com/nus-cs2103-AY1819S2/addressbook-level1.git/': The requested URL returned error: 403
Pushing to https://github.com/nus-cs2103-AY1819S2/addressbook-level1.git
Completed with errors, see above.
I am not sure what I'm doing wrong.
I also noticed the test folder does not have any JUnit or other testing classes. I'm not sure how we should go about testing the code for this assignment.
In the projects list, the Travis-CI build emblems are broken for my team, and for some others too.
It seems like the issue is in the naming of our organizations, where my team has our org name as cs2103-ay1819... instead of CS2103-AY1819, as assumed in the script that built that page.
Should we rename our organization? Github does warn that it may cause various issues especially with the CIs.
How should we coordinate in updating diagrams in our DG? Some diagrams are generic enough that multiple people may be working on it simultaneously. However as we were told to not have more than 1 PR/week, it will be rather time-consuming to deal with ppt merge conflict.
So should we just let 1 person do the final update on all the generics ppt and diagrams? Outside of GitHub, we will collaborate on the update, just that on paper, it seems like only one person is making the update. Is this okay? Or is there a better way to do this?
Dear Students,
This is a reminder to complete the CS2103/T pre-module survey (compulsory) in LumiNUS under Survey before today, Mon, 21 Jan, 23:59. Through this survey we collect information about your Github account. This information is essential for grading later on.
Best regards,
Cristina.
I don't know if I can ask about this, but if it's possible, can I get pointers on how best to handle asynchronous Command
s?
For example, there might be a Command
that involves fetching data from the Internet, but it should return first to keep the UI
responsive while a background task does the fetching and updates the Model
. However, this isn't possible currently because the LogicManager
only saves the AddressBook
to disk upon command execution, and also the ResultDisplay
is only updated upon command execution.
There must be many possible ways to go about it, but I'm asking because it looks like there was an EventsCenter
in the past that would seemingly make all these much easier, but has been removed now. I wonder if this removal is for practical or pedagogical reasons? Would it be better to spend effort reimplementing something like EventsCenter
to prevent future headache or try to work around the limitations of the current design? Thanks.
Dear Students taking CS2103,
Since there are only 58 students in class, we will open 3 tutorial slots, as follows:
Please note that the tutorial slots scheduled on Wed, 12pm and Fri, 9am will be canceled.
There is no change for students taking CS2103T.
Best regards,
Cristina.
Hi everyone, I am trying topics of week2, PUSH part. I met with one problem shown as below, when clicking PUSH in SourceTree.
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Permission to se-edu/samplerepo-things.git denied to JillWangJill.
fatal: unable to access 'https://github.com/se-edu/samplerepo-things.git/': The requested URL returned error: 403
Pushing to https://github.com/se-edu/samplerepo-things.git
Completed with errors, see above.
I check git config --list
, and user.name & user.email are correct github information.
I tried method here https://stackoverflow.com/questions/15381198/remove-credentials-from-git. Open Credential Manager and delete Generic Credential, but still it shows the failed message.
Any step I missed? Thanks in advance!
Will it violate the incremental updates constraint? Current I am trying to morph my project by changing Person to another name. This requires updating 2121 lines of code, which I can do in one go using Intellij's refactoring feature. I don't see how I can break this update down any further since the Person name is so inextricably interlinked throughout the project.
I have changed the image file name to github username.png, but the photo is still not shown on the project list. Anyone knows what happened?
Dear Students,
A very warm welcome to CS2103/T! The first lecture will take place on Fri, 18 Apr, 2pm in iCUBE Auditorium (I3-AUD). The lecture slides will be published after the lecture.
Tutorials start in week 2. Please attend your pre-allocated tutorial slot (for CS2103T students), or any other tutorial slot (for CS2103 students) for week 2. Starting from week 3 when the project teams are formed, it is mandatory to attend your allocated tutorial slot.
The module website is: https://www.comp.nus.edu.sg/~cs2103. This website is the prime source of information, both subject matter and deliverables.
A few things to note:
Disclaimer: LumiNUS platform is in BETA (not fully developed and tested), and many of the features are not fully comprehensive. The platform loads slowly, and we understand that there are unavailability periods. Please fill in bug reports and ask questions for any problems you might encounter related to LumiNUS at the following link: https://cithelp.nus.edu.sg/servicedesk/customer/portal/8 (CIT NUS)
Best regards,
Cristina
On behalf of CS2103/T teaching team
What is the best way to update the test cases? Should I just add input at the bottom of the txt input file and copy and paste what the output should be on the expected file? Or is there a more precise way to update the tests?
Hi!
Under Week 4 Project instructions we're supposed to create a GH organization, set up our repo, etc. and make a PR to nus-cs2103-AY1819S2/addressbook-level4.
I got stuck at this step, because I'm unable to make a PR to that repo - it doesn't exist as an available base repo to make a PR to.
Am I missing something?
Hello,
In the online textbook W2.2b, it says that "the repository is the database where the meta-data about the revision history are stored", which to me seems like it refers only to the meta-data folder. Instead, from what I know, it refers to the entire directory of the project + the meta-data about the history and revisions.
It seems a bit misleading to me.
Are we allowed to make optimizations for this week's participation points?
Hello,
I ran systemtests in AB4 and obtained 3 assertion errors similar to this:
These errors also caused Travis to fail its build.
After that, I changed the variable SEARCH_PAGE_URL to the following:
Now systemtests works fine and Travis' build passed as well.
Hope this helps anyone who had the same issue!
Regards,
James
Dear Students,
Please take note of the following:
CS2103-AY1819S2-[TEAM_ID]
. e.g. CS2103-AY1819S2-W12-1
. Team PRs should be named using the following convention: [Team ID] Product Name
e.g., [T09-2] Contact List Pro
.Best regards,
Cristina.
Dear Students,
Please take note of the following:
Finally, we wish you a happy Chinese New Year!
Best regards,
Cristina.
I've been trying to figure out how to fix this problem when I try to run the test. I don't know what to do. I've been trying to read stack exchange and find videos but nothing is helping.
AB4 is designed to not allow duplicate entries in the book. However, the following sequence of commands result in a strange exception being thrown:
add n/aaa p/123 e/[email protected] a/address
Output: "New person added: aaa Phone: 123 Email: [email protected] Address: address Tags:" (expected)
add n/aaa p/234 e/[email protected] a/address
Output: "New person added: aaa Phone: 234 Email: [email protected] Address: address Tags:" (expected)
edit 8 p/123
Now an exception is thrown
Caused by: seedu.address.model.person.exceptions.DuplicatePersonException: Operation would result in duplicate persons
at seedu.address.model.person.UniquePersonList.setPersons(UniquePersonList.java:94)
at seedu.address.model.AddressBook.setPersons(AddressBook.java:50)
at seedu.address.model.AddressBook.resetData(AddressBook.java:60)
at seedu.address.model.AddressBook.(AddressBook.java:40)
at seedu.address.model.VersionedAddressBook.commit(VersionedAddressBook.java:28)
at seedu.address.model.ModelManager.commitAddressBook(ModelManager.java:163)
at seedu.address.logic.commands.EditCommand.execute(EditCommand.java:87)
at seedu.address.logic.LogicManager.execute(LogicManager.java:52)
at seedu.address.ui.MainWindow.executeCommand(MainWindow.java:182)
at seedu.address.ui.CommandBox.handleCommandEntered(CommandBox.java:101)
Is this a AB4 bug or is this the intended behavior?
Dear all,
The PR bot will be enabled for this module soon. If you encountered GithubUsernameRequested
label applied to your pull request and you believe it is incorrect, please reference the pull request here.
Dear Students,
Unfortunately nus-se-pr-bot was not updated with the latest naming conventions on time. As such, your PRs might get wrongly labeled FormatCheckRequested
with a wrong message asking you to change the format of the name.
Please continue to use the format [WEEK_ID][TEAM_ID]Your Name
for your individual PRs and ignore the comment from the bot.
We will rectify the problem for the next weeks.
Best regards,
Cristina.
Can you recommend any any Java linter we can use with Travis to follow your coding style?
I keep getting the following error:
ERROR:src/main/java/seedu/address/model/person/Note.java:9:
trailing whitespace.
ERROR:src/main/java/seedu/address/model/person/Note.java:13:
trailing whitespace.
I've manually checked and remove all whitespaces + replaced them using linebreak, but IntelliJ still highlights that there are trailing whitespaces.
Anyone else facing this issue too?
Make your requests to use third-party libraries here.
Hi, everyone.
I am trying week 6's topics, JavaFX part 1 Scene Builder.
I ensure that IntelliJ Configurations has been down. After all the steps, when I click to run, it gives the warning as follow.
WARNING: Loading FXML document with JavaFX API of version 10.0.1 by JavaFX runtime of version 9.0.4
I searched online and find this link, https://stackoverflow.com/questions/35210120/javafx-fxml-api-version-warning. I follow the instruction to change line 14 in PersonOverview.fxml
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" >
into
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" >
But the warning still exist.
Any step I miss? Thanks in advance!
Hi,
Upon importing the addressbook-level3 project, I faced the 'javax.xml.bind does not exist' error. I then found out it is because from Java 9 onwards it has been removed. Does anyone have any ideas how to solve this error without having to switch back to jdk8?
Thanks!
I found out that and few of my friends and myself are facing the problem of auto-grouping of import statements from the same package with '*'. Refer below for the tips:
Go to Settings (Ctrl – Alt – S) -> Editor -> Code Style -> Java. Under the imports tab, enter a high value, e.g. 999, for “Class count to use import with ‘*’.
Cheers!
Dear Profs/All
This is the question I asked in the Lecture in week 6.
How is navigability shown in class/object diagrams?
As seen from the first photo taken from the lecture slides, it was mentioned that the navigability is different as indicated by the label's direction. However, according to the CS2103T website topics lecture notes, the label's direction has nothing to do with navigability and just describes the meaning of the association and the direction it is read.
Instead, the navigability should be shown by the direction of the arrowhead as shown in the 2nd photo. If so, then for the lecture note's example, the navigability should be the same (that is, only Student is aware of Book and Book is not aware of Student)
Can someone confirm this? :) Thank you!
Dear Students,
Please take note of the following:
[WEEK_ID][TEAM_ID]Your Name
. For this week, WEEK_ID
is W5
(week 5). If you are in tutorial W14
(i.e. Wednesday 2pm) and team 1, [W5][W14-1]James Yong
.CS2103-AY1819S2-[TEAM_ID]
. e.g. CS2103-AY1819S2-W12-1
. Team PRs should be named using the following convention: [Team ID] Product Name
e.g., [T09-2] Contact List Pro
.Best regards,
Cristina.
Dear Students,
Please take note of the following:
A. Week 7 Project and Tutorial (after recess week)
B. Request permission for using third- party libraries in your project.
You need to request permission to use a third-party library in your project. Not doing so will result in marks being deducted for non-compliance. Use this issue to make a request: #37
C. Peer feedback for your team mates
We opened the peer feedback on TEAMMATES. You should have received an email regarding this.
Participation marks will be awarded to you only if you submit your peer feedback. Complete your peer feedback by Fri, 8 March, 23:59.
Best regards,
Cristina.
Hello all,
I would like to know if we have to fork the main
repository under our organisation to the new, external account for Travis CI to recognise it as a repository. This is because although I have allowed admin rights to the collaborator, I cannot see the repository in Travis CI.
This is with regards to the Travis CI and auto-publishing documentation.
Thank you,
Ian Wu
When I was trying to setup the team repo, these were the steps 5 and 6:
5. Enable Travis CI for the team repo.
6. Set up auto-publishing of docs. When set up correctly, your project website should be available via the URL https://nus-cs2103-ay1819s2-{team-id}.github.io/main e.g., https://cs2103-ay1819s2-w13-1.github.io/main/. This also requires you to enable the GitHub Pages feature of your team repo and configure it to serve the website from the gh-pages branch.
Unfortunately, both of these links are broken and I do not know what to do.
Any advice?
I have a FormatCheckRequested address book level 2. I fixed it but it didn't go away.
Hi all, may I check if the PDF on v1.0, does every team member need to submit or would one submission for the team be sufficient?
Thank you!
Dear Students,
Due to a change in the URL, some tests fail on Travis for addressbook-level4 repo.
This has been fixed in the following commit: nus-cs2103-AY1819S2/addressbook-level4@231b72b
You can either sync changes from the semester fork of AB4 or make the necessary change based on the commit in your organization repository.
Best regards,
Cristina.
@thomastanck @qjqqyy @epicfailname @rlrh
We would like to request the use of these third-party libraries (ranked by priority):
Thank you.
Dear Students,
You may find our comments for your UG submission under Luminus folder UserGuide Drafts with Review
.
Let your tutorial TA know if you have any questions.
Best regards,
Cristina.
I am not able to auto-generate these files. Can someone point me to the correct link or guide me?
Dear Students,
Please take note of the following:
Read about the topics on the website (https://nus-cs2103-ay1819s2.github.io/cs2103-website/schedule/week3/index.html - Topics tab),
Attempt the exercises found nested among the topics
Achieve the requirements mentioned under Tutorial and Project tab.
Creating pull requests (PRs) to addressbook-level1 repository is optional for this week.
We will automatically check your forks for your Github username (mandatory task), and your TA will review any PRs by Mon, 3 Feb.
Best regards,
Cristina.
I forgot my laptop charger in the tutorial room. Black lenovo charger has a Cad plug to Sing plug converter on the tip. I really need it back if someone could pick it up to me. I sit at the table closest to the door
After I clone the addressbook-level1 on my computer and built the project in IntelliJ, when I tried to run AddressBook, the following error appeared.
Error: Could not find or load main class seedu.addressbook.AddressBook
Caused by: java.lang.ClassNotFoundException: seedu.addressbook.AddressBook
I've tried most methods listed in https://stackoverflow.com/questions/10654120/error-could-not-find-or-load-main-class-in-intellij-ide such as editing configuration, rebuilding project, check project compiler output path, reinstalling IntelliJ, recloning project and even reinstalling java 9. So far nothing works. Could someone help me with this issue?
My project was running fine. I tried changing the name of a class from Type to Clothing Type. After that the entire thing wouldn't run. I couldn't just click edit undo so I tried reverting to a previous commit. For some reason SourceTree was saying that is not allowed so I decided to just delete and re-download the entire Main project. When I did this I changed 2 classes but didn't run the project before pushing to GitHub because I assumed it would work since it did in my first implementation before everything broke. Well now my project won't run at all! I do not know why so I tried to revert my project back to the version that worked. But that didn't seem to get rid of the code I wrote but just added more! Now I have no idea how to get back to a working version and I am totally confused and a about several hours of coding was deleted. Please help :(
In particular, is it acceptable if our final product cannot support the undo/redo features (assuming that we appropriately remove them from the user guide)?
Is the naming scheme CS2103-AY1819S2-TEAM_ID
or NUS-CS2103-AY1819S2-TEAM_ID
? The org setup extract uses the former but in the repo setup extract, it assumes the latter naming scheme. Normally I'd prefer the first scheme, but in this case it makes more sense to use the latter scheme as it has an NUS-
prefix that helps prevent possible conflict with other courses, and is also more consistent with the module's organisation's own naming schemes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.