-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review of Algorithm #1
Comments
I make this table according to Undergraduate Handbook 2017-2018. We need to design a new algorithm... |
I suggest follows:
The value of the parameter |
@ecwu what do you think about adding a "backend"?
It might be better to mount API on a differnet path, e.g.:
|
@lmy441900 I think @billzhonggz 's idea will work. In addition, we can add a new function (set a little goal for you next semester) for more interaction and fun. |
I don't think we need a back end. JavaScript can do this.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Junde Yhi <[email protected]>
Sent: Monday, July 9, 2018 11:36:38 PM
To: UICHCC/UIC_GPA_Calculator
Cc: Bill ZHONG; Comment
Subject: Re: [UICHCC/UIC_GPA_Calculator] Review of Algorithm (#1)
The calculator can receive HTTP GET with parameters to show a result directly.
@ecwu<https://github.com/ecwu> what do you think about adding a "backend"?
e.g. https://gpacal.uichcc.app/?admission=2017&major=CST¤t=2A&offest=+3&dest=4B
s/offest/offset/g
It might be better to mount API on a differnet path, e.g.:
https://gpacal.uichcc.app/api?admission=2017&major=CST¤t=2A&offest=+3&dest=4B
(I tried REST and it's simply not elegant in this case)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMevzLkEo2AOslhUv8SrQx040__UyTKAks5uE3iGgaJpZM4VGq4i>.
|
Do you mean the app itself can act as a server? |
@lmy441900 HTTP GET provides the data, JS process it. |
JS can take these parameters and do calculation automatically. I have seen this feature in Vue.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Junde Yhi <[email protected]>
Sent: Monday, July 9, 2018 11:44:58 PM
To: UICHCC/UIC_GPA_Calculator
Cc: Bill ZHONG; Mention
Subject: Re: [UICHCC/UIC_GPA_Calculator] Review of Algorithm (#1)
Do you mean the app itself can act as a server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMevzLe39pPkn6kcgCGUbBp5csW6q0WCks5uE3p6gaJpZM4VGq4i>.
|
Alright, I know you guys... Basically providing the calculator parameters. What is the actual use case of this functionality then? Normally people use API for data only, not the web page. |
@lmy441900 Maybe api is not the correct way to name it. |
Weixin sharing, maybe. By having the link, a same result can be produced.
I don't think this is an API, this is not intended to provide any service to third-parties. This idea is designed to make sharing easier.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Junde Yhi <[email protected]>
Sent: Monday, July 9, 2018 11:48:44 PM
To: UICHCC/UIC_GPA_Calculator
Cc: Bill ZHONG; Mention
Subject: Re: [UICHCC/UIC_GPA_Calculator] Review of Algorithm (#1)
Alright, I know you guys... Basically providing the calculator parameters.
What is the actual use case of this functionality then? Normally people use API for data only, not the web page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMevzLWcqaM7OJ0mkHhMYede9hl-J_kHks5uE3tcgaJpZM4VGq4i>.
|
@billzhonggz Alright then. |
@billzhonggz Can you explain the offset parameter? |
Offset is added to the preset credit base on handbooks to indicate any transferred or dropped credits. It can be both positive and negative, and its default value is 0.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Jack Wu <[email protected]>
Sent: Tuesday, July 10, 2018 12:05:49 AM
To: UICHCC/UIC_GPA_Calculator
Cc: Bill ZHONG; Mention
Subject: Re: [UICHCC/UIC_GPA_Calculator] Review of Algorithm (#1)
@billzhonggz<https://github.com/billzhonggz> Can you explain the offset parameter?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMevzFA7WuIEkvkCgwwySbSalBBYoD2Aks5uE39dgaJpZM4VGq4i>.
|
In previous discussion someone (maybe @ecwu ? I can't remember) has raised consideration on the algorithm's generality: different department(programme) may have different semester goals, leading to different algorithm parameters.
Current algorithm is designed for Computer Science and Technology (CST). A review need to be taken to guarantee the accuracy of the calculator.
The text was updated successfully, but these errors were encountered: