Comparing 3 Methods Public, Protected, Private In Rails

Tram Ho

Overview Of Public, Private, Protected First, when it comes to encapsulation (encapsulation) in languages ​​we imagine these methods. The public, protected and private methods are specific to OOP encapsulation, which refers to the accessibility of the methods. By default, all...

Read more

Practice Task Management Series with Backlog – P.4

Tram Ho

Save the information in the wiki Take over and help new members join During project implementation, you will certainly accumulate the knowledge in the project, as well as the techniques needed to build the environment at work. If these useful...

Read more

New feature of ES2020

Tram Ho

Hello everyone, 2020 is here and let's find out the latest things earlier this year. That new version of ECMAScript has been released! Good news for ECMAScript lovers. In the previous version of ECMAScript , many interesting features and useful...

Read more

CORS – Convenient but also very risky

Tram Ho

I. General concepts For developers, using CORS to share resources between domains is a very normal job, but not everyone knows how to apply CORS safely. CORS allows us to share resources easily but also a place for attackers to...

Read more

Pairwise Testing

Tram Ho

1 Definition Define Pairwise Testing or double testing is a special case of testing all combinations. A double test only requires each value pair of (xi, xj), 1≤ I ≠ j ≤ n to appear in a certain test case....

Read more

Python Lambda Function (Translate)

Tram Ho

The article is translated from the original Python Lambda Function of Python Geeks The Lambda function is an anonymous function. Meaning no function name as usual. In this article, the author presents the syntax and usage of lambda functions through...

Read more

The tag in HTML

Tram Ho

At the top of every HTML file we usually see a line like this [crayon-662e803a5a27b652535712/] So what does this line mean? And why is this line needed? 1. Document type declaration Translation from wiki : Document type declaration (DTD) is...

Read more

[Write-up] Programming 01 & Blockchain – WhiteHat Grand Prix 06 – Quals 2020

Tram Ho

Programming 01 Threads [crayon-662e803a5d15c099233566/] The answer Connect test we get the following screen: [crayon-662e803a5d174967837876/] [crayon-662e803a5d17b469840823/] [crayon-662e803a5d180954925352/] then try to run with small N (4, 5, 6, 7, ...), then the following sequence: [crayon-662e803a5d187012778127/] Google tried this sequence and the result...

Read more