Not necessarily a typo but in the JavaScript abstraction lesson video you mentioned your code works with 0 and negative. Although true for your implementation of the example if the second number is negative it will result in an incorrect value returned. Since it starts less than 0 it skips the loop and returns the value which is initially set to 0.
Well itâs confusing.
In
Understanding If-Else Deeper
there is a quiz.
Question 5 / 5 is:
What code be executed?
It should be
What code will be executed?
On the loops reading assignment.
Exercises is incorrectly spelt.
Question 1 would be better grammar if it said:
- What does looping control flow allow us to do?**********
Tokens, Crowdsales and Airdrops
Crowdsale Part 2 - Creating the contract
@filip You mention the shorthand operators like +=
as common practice, however they are actually vulnerable too an overflow attack, and shouldnât be used when working with balances. Instead SafeMath libraries should be used along with the declaration using SafeMath as uint256;
within the contract scope. Then operations should be done as amountRaised = amountRaised.add(amount);
instead of amountRaised += amount;
.
Regards,
Mitch
typo in âUnderstanding web technology - Hardvard lectureâ⌠i.e. Harvard
Hi, just add the word âfillâ into the lecture heading to read:
This is a perfect and fun lecture from Harvard that will recap everything weâve learned and will fill in some of the gaps you currently might have about HTML.
This link is not working⌠itâs on 'Welcome - Course Support - (forum.toshitimes.com). Cheers, Mark.
Thank you Mitch. Thatâs a very good point and you are completely right. Itâs a mistake on my part not to have included that in course from the beginning. Iâve added a section in the Ethereum Smart Contract section to cover this.
Under âInteger overflow/underflowâ thereâs a couple of spelling mistakes.
âIf you are not careful with how you use integers in your production code, this could result in hacks and lose (should be âlossâ) of funds.â
âThe underflow case is the more common on (should be âoneâ) in my opinion.â Alternatively just say âThe underflow case is more common in my opinion.â
Not a spelling mistake but where it says âYou can check out the library here.â - there doesnât appear to be a link that takes you to the SafeMath libraryâŚ
Hello. In the video âIterating an Arrayâ you said, the dollar sign is for JavaScript instead for jQuery. (time 1:10)
I am writing my forum post answers in HTML format.
The preview it shows me on the right makes everything look perfect, however, when I finally post it, it breaks.
I even copy pasted into atom and opened using chrome and everything looks good.
Check out my answer on the boolean expression reading assignment page to see what I am talking about. My #3 in the ordered list doesnât show a number 3!
Is this something I am doing wrong or is it toshi times?
Have you tried alternate browsers?
<html>
<h1>Works!</h1>
<p>I've tried HTML in a post and it works fine for me...</p>
</html>
Your links and/or images donât seem to be working either?
- Copy and Paste your code.
- Highlight the block of code.
- Click the preformatted text button in the tools above (seen in the image below).
In the NEM introduction quiz, one of the possible answers says: âNormal programs that have executes some of its transaction on a blockchainâ - the word âhaveâ should be removed.
Hi @MitchPierias,
Thanks for the response. I tried opening my code in multiple browsers and it looks good in all of them. It even looks good on the preview to the right. But when I post to forum, my ordered list breaks. Maybe it has to do with Toshi Times forum on a Linux OSâs? Thatâs what I am using. Here is my code:
<ol>
<b><li>What are operators?</li></b>
<p>Simply put, operators do actions on values.</p>
<b><li>What binary operators do you know?</li></b>
<p>All a binary operator is, is an operator that operates on 2 values (or operands) to get a result:
<ul>
<li>+ for addition</li>
<li>- for subtraction</li>
<li>* for multiplication</li>
<li>/ for division</li>
<li>= for assigning</li>
<li>== for comparisons</li>
<li>% for modulus</li>
<li>> for greater than</li>
<li>< for less than</li>
<li>&& for a logical AND</li>
<li>|| for a logical OR</li>
<li>& for bitwise AND</li>
</ul>
<br>
Notice that pretty much all operators, including bitwise, logical, and comparison operators are considered binary operators because they do an operation on 2 operands.</p>
<b><li>What logical operators do you know?</li></b>
<p>
&&, ||, and !
<br>
AND, OR, and NOT are the only 3 logical operators I know.
</p>
</ol>
Hey @ivan,
Thank you for the excellent course!
Small question: is the âOptional: Javascript CS50 Lectureâ placed where it should be?
I think it should be placed later in the course.
Keep up the good work.
Thanks,
Dirk
Chapter 4 exercises has the tasks written twice.