<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fakrii on Medium]]></title>
        <description><![CDATA[Stories by Fakrii on Medium]]></description>
        <link>https://medium.com/@fakrii?source=rss-252bc187195------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9CIWMf85eccdnWFtxN5pdw.jpeg</url>
            <title>Stories by Fakrii on Medium</title>
            <link>https://medium.com/@fakrii?source=rss-252bc187195------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:33:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fakrii/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Transactional: What Happens When the Process Fails?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://fakrii.medium.com/transactional-what-happens-when-the-process-fails-161ac32e900c?source=rss-252bc187195------2"><img src="https://cdn-images-1.medium.com/max/1536/1*FFv7ZkVCRKxqecirEb_-Kw.png" width="1536"></a></p><p class="medium-feed-snippet">[#2] Understand how the system automatically undoes the process when database operations fail</p><p class="medium-feed-link"><a href="https://fakrii.medium.com/transactional-what-happens-when-the-process-fails-161ac32e900c?source=rss-252bc187195------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://fakrii.medium.com/transactional-what-happens-when-the-process-fails-161ac32e900c?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/161ac32e900c</guid>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[jpa]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[spring-boot]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Mon, 30 Jun 2025 02:06:41 GMT</pubDate>
            <atom:updated>2025-07-12T08:54:30.200Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Choosing a Garbage Collector in Spring Boot Effectively for Maximum Performance to Prevent Downtime]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://fakrii.medium.com/choosing-a-garbage-collector-in-spring-boot-effectively-for-maximum-performance-to-prevent-downtime-3836a49a4e08?source=rss-252bc187195------2"><img src="https://cdn-images-1.medium.com/max/2304/1*y-RtwnKexBuBFiZzOn8Yow.jpeg" width="2304"></a></p><p class="medium-feed-snippet">[#1] Exploring how the garbage collector works and how it might impact your services</p><p class="medium-feed-link"><a href="https://fakrii.medium.com/choosing-a-garbage-collector-in-spring-boot-effectively-for-maximum-performance-to-prevent-downtime-3836a49a4e08?source=rss-252bc187195------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://fakrii.medium.com/choosing-a-garbage-collector-in-spring-boot-effectively-for-maximum-performance-to-prevent-downtime-3836a49a4e08?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/3836a49a4e08</guid>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[garbage-collector]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Sun, 12 Jan 2025 15:40:13 GMT</pubDate>
            <atom:updated>2025-07-12T08:55:00.725Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Build a Note App with Jetpack Compose & MVVM architecture: Create a Note (Part 3 of Series)]]></title>
            <link>https://fakrii.medium.com/build-a-note-app-with-jetpack-compose-mvvm-architecture-create-a-note-part-3-of-series-3f55e962231b?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f55e962231b</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Sat, 09 Nov 2024 16:47:01 GMT</pubDate>
            <atom:updated>2025-07-12T09:00:47.222Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/android-ios-engineering-f3760e125bca">Android &amp; IOS Engineering</a></h4><h4>[#3] Exploring how to add room data in the jetpack compose clean architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80phAhotqSikqJbMYgSZ_w.png" /><figcaption>VentNote’s Note Creation</figcaption></figure><p>This is Part 3 of the “Build a Note App with Jetpack Compose &amp; MVVM Architecture” series. In this segment, we will discuss how to create and edit note data using Room and build an intuitive interface to manage notes.</p><p>We’ll cover creating the repository and ViewModel and connecting these layers to a clean, responsive UI built with Jetpack Compose. By the end of this part, you’ll have a fully functional setup for adding notes within your app, enabling seamless data flow from the UI to the database and back.</p><h3>Tutorial Series</h3><h4>Part 2: List of Notes</h4><p><a href="https://medium.com/@syubbanfakhriya/build-a-note-app-with-jetpack-compose-mvvm-architecture-list-of-notes-part-2-of-series-77c333a98244">Build a Note App with Jetpack Compose &amp; MVVM architecture: List of Notes (Part 2 of Series)</a></p><h3>Feature Flow</h3><p>Before we delve into code implementation, it is essential to grasp the entire process starting from the NotesPage abstraction and structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*kAOtmZkI55p7XmgE4gxYHQ.jpeg" /><figcaption>NoteCreationPage Architecture</figcaption></figure><p>The above image represents the abstraction of the layer, emphasizing the separation between the UI and logic. Each arrow indicates that the corresponding instance will be injected along the arrow’s path. By implementing this separation, the code becomes easier to test and mock.</p><h3>Implementations</h3><h4>Packages and File Structure</h4><p>The note_creation package contains 3 main items that are components, ViewModel, and the compose page. Here is the general structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/319/1*I8LmiGEZcgmiQhHVZ3iXjw.png" /><figcaption>Packages &amp; Files Structure</figcaption></figure><p>Each ViewModel comes with three components: a base interface, a mock implementation, and the actual ViewModel. This structure is designed to support Composable previews, as they cannot use the actual ViewModel. By using the mock version of the ViewModel, I can provide dummy data and adjust it as needed, making it easier to render accurate previews of the UI.</p><h4>Dao</h4><p>This layer is responsible for interacting with the database. Here’s a code snippet.</p><pre>// NoteDao.kt<br><br>@Dao<br>interface NoteDAO {<br>    // ...<br><br>    @Insert(onConflict = OnConflictStrategy.REPLACE)<br>    fun insertNote(note: NoteModel): Long<br><br>    @Transaction<br>    fun insertWithTimestamp(note: NoteModel): Long {<br>        return insertNote(note.apply{<br>            createdAt = Date(System.currentTimeMillis())<br>            updatedAt = Date(System.currentTimeMillis())<br>        })<br>    }<br>}</pre><p>There are two main functions: insertNote and insertWithTimestamp. The insertNote function doesn’t automatically set the timestamp if it’s not manually assigned to the note object. Therefore, the insertWithTimestamp function is necessary to ensure that a timestamp is set, adding a reliable creation time for each note when it’s inserted.</p><h4>Service</h4><p>This layer is responsible for interacting with the database dao. Here’s a code snippet.</p><pre>// NoteLocalService.kt<br><br>class NoteLocalService @Inject constructor(<br>    private val proxy: DatabaseProxy<br>) {<br>    // ...<br><br>    fun insertNote(note: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        flow {<br>            val result = proxy.dao().insertWithTimestamp(note) != -1L<br>            emit(Result.success(result))<br>        }.catch {<br>            emit(Result.failure(RuntimeException(ErrorMessage.FAILED_INSERT_NOTE_ROOM)))<br>        }<br>}</pre><p>The result of a database operation from the DAO is processed as a flow of results. If the insertion is successful, it emits true otherwise, it emits an exception to the layer that consumes NoteLocalService. This approach provides a reactive way to handle database operations, allowing the consuming layer to respond to both success and error cases in real-time.</p><h4>Repository</h4><p>This layer is responsible for interacting with the service. Here’s a code snippet.</p><pre>// NoteRepository.kt<br><br>class NoteRepository @Inject constructor(<br>    private val service: NoteLocalService<br>) {<br>    // ...<br><br>    fun insertNote(note: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        service.insertNote(note).map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: false)<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br>}</pre><p>This code is doing a simple job, it just invokes insertNote and maps the results from the service operations.</p><h4>ViewModel</h4><p>This layer will interact with the business logic that will be shown in the UI or processing data that came from the UI. Here is the code snippets.</p><pre>// NoteCreationPageVM<br><br>@HiltViewModel<br>class NoteCreationPageVM @Inject constructor(<br>    private val repository: NoteRepository<br>): ViewModel(), NoteCreationPageBaseVM {<br>    override val loader: MutableLiveData&lt;Boolean&gt; = MutableLiveData()<br>    override val titleText: MutableState&lt;String&gt; = mutableStateOf(&quot;&quot;)<br>    override val descriptionText: MutableState&lt;String&gt; = mutableStateOf(&quot;&quot;)<br><br>    override suspend fun addNote(note: NoteModel): Result&lt;Boolean&gt; = withContext(Dispatchers.IO) {<br>        loader.postValue(true)<br>        try {<br>            repository.insertNote(note).onEach {<br>                loader.postValue(false)<br>            }.last()<br>        } catch (e: Exception) {<br>            loader.postValue(false)<br>            Result.failure(e)<br>        }<br>    }<br>}</pre><p>The addNote function performs the task as its name suggests: it adds a new note by invoking insertNote from the NoteRepository. Using a flow data type, we track the loading state to ensure that the UI reflects when a note is being added. The loader shows a loading state when the operation begins and turns off when the operation is complete or fails.</p><h4>Compose Page</h4><p>Same as the other pages, NoteCreationPage is injected with two parameters navHostController &amp; ViewModel. Here is the code snippets.</p><pre>// NoteCreationPage.kt<br><br>const val TAG : String = &quot;NoteCreationPage&quot;<br><br>@OptIn(ExperimentalMaterial3Api::class)<br>@Composable<br>fun NoteCreationPage(<br>    navHostController: NavHostController,<br>    viewModel: NoteCreationPageBaseVM = hiltViewModel&lt;NoteCreationPageVM&gt;()<br>) {<br>    // ...<br><br>    fun addNote() {<br>        if (viewModel.titleText.value.isEmpty() || viewModel.descriptionText.value.isEmpty()) {<br>            requiredDialogState.value = true<br>        } else {<br>            scope.launch {<br>                viewModel.addNote(<br>                    NoteModel(<br>                    title = viewModel.titleText.value,<br>                    note = viewModel.descriptionText.value)<br>                )<br>                    .onSuccess {<br>                        navHostController.popBackStack()<br>                        snackBarHostState.showSnackbar(<br>                            message = &quot;Note successfully added&quot;,<br>                            withDismissAction = true<br>                        )<br>                    }<br>                    .onFailure {<br>                        snackBarHostState.showSnackbar(<br>                            message = it.message ?: &quot;&quot;,<br>                            withDismissAction = true<br>                        )<br>                    }<br>            }<br>        }<br>    }<br><br>    Scaffold(<br>        topBar = {<br>            NoteCreationAppBar(<br>                descriptionTextLength = length,<br>                onBackPressed = {<br>                    cancelDialogState.value = true<br>                },<br>                scrollBehavior = rememberedScrollBehavior<br>            )<br>        },<br>        snackbarHost = { SnackbarHost(snackBarHostState) },<br>        floatingActionButton = {<br>            ExtendedFloatingActionButton(<br>                onClick = { addNote() },<br>                modifier = Modifier.semantics {<br>                    testTag = &quot;add-note-fab&quot;<br>                },<br>                // ...<br>            )<br>        },<br>        content = { contentPadding -&gt;<br>            Box(modifier = Modifier.padding(contentPadding)) {<br>                Column(<br>                    modifier = Modifier<br>                        .fillMaxWidth()<br>                        .fillMaxSize()<br>                        .verticalScroll(rememberScrollState())<br>                        .padding(bottom = keyboardHeight.value)<br>                ) {<br>                    TextField(<br>                        value = viewModel.titleText.value,<br>                        onValueChange = {<br>                            viewModel.titleText.value = it<br>                        },<br>                        textStyle = TextStyle(<br>                            fontSize = 18.sp,<br>                            fontWeight = FontWeight.Medium,<br>                            color = MaterialTheme.colorScheme.onSurface<br>                        ),<br>                        singleLine = false,<br>                        colors = TextFieldDefaults.colors(<br>                            disabledTextColor = MaterialTheme.colorScheme.surface,<br>                            focusedContainerColor = MaterialTheme.colorScheme.surface,<br>                            unfocusedContainerColor = MaterialTheme.colorScheme.surface,<br>                            disabledContainerColor = MaterialTheme.colorScheme.surface,<br>                            focusedIndicatorColor = Color.Transparent,<br>                            unfocusedIndicatorColor = Color.Transparent,<br>                            disabledIndicatorColor = Color.Transparent,<br>                        ),<br>                        // ..<br>                    )<br>                    TextField(<br>                        value = viewModel.descriptionText.value,<br>                        onValueChange = {<br>                            viewModel.descriptionText.value = it<br>                        },<br>                        textStyle = TextStyle(<br>                            fontSize = 16.sp,<br>                            fontWeight = FontWeight.Normal,<br>                            color = MaterialTheme.colorScheme.onSurface<br>                        ),<br>                        singleLine = false,<br>                        shape = RectangleShape,<br>                        colors = TextFieldDefaults.colors(<br>                            disabledTextColor = MaterialTheme.colorScheme.surface,<br>                            focusedContainerColor = MaterialTheme.colorScheme.surface,<br>                            unfocusedContainerColor = MaterialTheme.colorScheme.surface,<br>                            disabledContainerColor = MaterialTheme.colorScheme.surface,<br>                            focusedIndicatorColor = Color.Transparent,<br>                            unfocusedIndicatorColor = Color.Transparent,<br>                            disabledIndicatorColor = Color.Transparent,<br>                        ),<br>                        // ...<br>                    )<br>                }<br>            }<br>        },<br>        modifier = Modifier<br>            .semantics { testTag = TestTags.NOTE_CREATION_PAGE }<br>            .nestedScroll(scrollBehavior.nestedScrollConnection),<br>        containerColor = MaterialTheme.colorScheme.surface<br>    )<br><br>    // ..<br>}</pre><p>This Composable page consists of three main sections: the app bar, the title, and the description. The description area is expandable, filling the rest of the screen to provide ample space for user input. Once the user has finished entering information, they can press a floating “Save” button, which triggers the addNote function.</p><p>If both the title and description fields are not empty, the addNote function is called within a coroutine scope in the ViewModel. During each function execution, LiveData properties are updated, and the UI observes these LiveData changes to reflect updates in real-time. This setup ensures a reactive interface where users see instant feedback on their actions.</p><h3>Final Results</h3><p>Here is the preview of the feature that we already implemented</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*scAD0JzGAhCcSotvvwdNmQ.gif" /><figcaption>Create Note Final Result</figcaption></figure><p>For the complete source code, you can visit my repository in the last section of this article. Feel free to ask me through email / LinkedIn if there is an issue, question, or collaboration.</p><h3>Last Words</h3><p>Stay tuned for the next article, which will be available soon. As a developer, patience, hard work, and attention to detail are essential qualities that can help you improve your skills and become a better developer.</p><p>If you are interested in the project&#39;s source code, you can find it in my repository. I would appreciate it if you would give it a star to show your support.</p><p><a href="https://github.com/HellBus1/VentNote">GitHub - HellBus1/VentNote: VentNote: taking notes like a breeze. A simple note management app build with native kotlin.</a></p><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as possible and share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong>, </strong><a href="https://twitter.com/Syubban5"><strong>Twitter</strong></a><strong>, or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f55e962231b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Note App with Jetpack Compose & MVVM architecture: List of Notes (Part 2 of Series)]]></title>
            <link>https://fakrii.medium.com/build-a-note-app-with-jetpack-compose-mvvm-architecture-list-of-notes-part-2-of-series-77c333a98244?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/77c333a98244</guid>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Fri, 09 Feb 2024 09:01:22 GMT</pubDate>
            <atom:updated>2025-07-12T09:00:05.309Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/android-ios-engineering-f3760e125bca">Android &amp; IOS Engineering</a></h4><h4>[#2] <em>Exploring how to fetch room data and show as list in the jetpack compose clean architecture</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XaevvI3aX9eyXAw_YZx_CQ.png" /><figcaption>VentNote’s List of Notes</figcaption></figure><p>This is Part 2 of the “Build a Note App with Jetpack Compose &amp; MVVM Architecture” series. In this segment, we will delve into the essential aspects of the project setup using Dagger Hilt, establishing navigation with NavGraph, and the process of injecting the ViewModel, Repository, and Service. It is highly recommended to read this section attentively as it will provide a comprehensive overview of the overall project structure and its dependencies.</p><p>To begin, Dagger Hilt is crucial in simplifying dependency injection in our Note App. By incorporating Dagger Hilt into our project setup, we can efficiently manage and provide dependencies to various components of our application. Next, we will focus on setting up navigation using NavGraph. Navigation is integral to any application, enabling users to navigate between different screens seamlessly and flow.</p><p>Furthermore, we will discuss injecting the ViewModel, Repository, and Service into our app. We can achieve a decoupled and testable codebase by utilising dependency injection, promoting a clean separation of concerns. We will explore the benefits of injecting the ViewModel, Repository, and Service using Dagger Hilt, highlighting how it simplifies the process and improves the overall architecture of our Note App.</p><p>By the end of this article, you’ll have a clear understanding of what to expect from the upcoming parts of the series.</p><h3>Tutorial Series</h3><h4>Part 3: Note Creation</h4><p><a href="https://medium.com/@syubbanfakhriya/build-a-note-app-with-jetpack-compose-mvvm-architecture-create-a-note-part-3-of-series-3f55e962231b">Build a Note App with Jetpack Compose &amp; MVVM architecture: Create a Note (Part 3 of Series)</a></p><h3>Feature Flow</h3><p>Before we delve into code implementation, it is essential to grasp the entire process starting from the NotesPage abstraction and structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*vYDE2GiTcrOwl4dGaeikaQ.png" /><figcaption>NotesPage Architecture</figcaption></figure><p>The above image represents the abstraction of the layer, emphasizing the separation between the UI and logic. Each arrow indicates that the corresponding instance will be injected along the arrow’s path. By implementing this separation, the code becomes easier to test and mock.</p><h3>Implementations</h3><h4>Dependencies</h4><p>Add all the necessary external dependencies (these dependencies may not be included when you initially create the app).</p><pre>// Room<br>implementation &quot;androidx.room:room-ktx:$rootProject.roomVersion&quot;<br>kapt &quot;androidx.room:room-compiler:$rootProject.roomVersion&quot;<br>androidTestImplementation &quot;androidx.room:room-testing:$rootProject.roomVersion&quot;<br><br>// Compose Navigation<br>implementation &quot;androidx.navigation:navigation-compose:2.6.0-rc01&quot;<br><br>// Hilt<br>implementation &#39;com.google.dagger:hilt-android:2.45&#39;<br>kapt &#39;com.google.dagger:hilt-android-compiler:2.45&#39;<br>implementation &#39;androidx.hilt:hilt-navigation-compose:1.1.0-alpha01&#39;<br><br>// Material Icon Extension<br>implementation &quot;androidx.compose.material:material-icons-extended:1.4.3&quot;</pre><p>The room will be used for storage to save the notes into phone local storage, and compose navigation is for navigating between compose screens. The hilt is used for registering a class to be injected into another class that needs it without initialising and passing it every time.</p><h4>Packages and File Structure</h4><p>The packages (folder) structure will be like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*QTfYlFKQtRvfrj-PBEphjQ.png" /><figcaption>General Package Structure</figcaption></figure><p>All util functions or classes will go into commons, components will contain reusable compose (AppBar, Dialog, etc). The data package will contain services and repositories like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*95jqg3Do_d51bR-OnT8NJg.png" /><figcaption>Data Package Structure</figcaption></figure><p>The feature package will contain a compose page and its ViewModel, the structure will be like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*oivmdsG1Qbl-YtkI__RqmA.png" /><figcaption>Compose Component Package Structure</figcaption></figure><p>Module packages will contain hilt injected module. The rest of the packages already represent the content.</p><h4>DAO Setup</h4><p>DAO is the latest recommendation from Google to access to database instead of using raw query (<a href="https://developer.android.com/training/data-storage/room/accessing-data">https://developer.android.com/training/data-storage/room/accessing-data</a>). According to that explanation, this program uses dao to do CRUD into the local database, so the note will be preserved when the app is closed.</p><pre>// NoteDAO.kt<br><br>@Dao<br>interface NoteDAO {<br>    @Query(&quot;SELECT * FROM note_table&quot;)<br>    fun getNotes(): Flow&lt;List&lt;NoteModel&gt;&gt;<br><br>    @Query(&quot;SELECT * FROM note_table&quot;)<br>    fun getPlainNotes(): List&lt;NoteModel&gt;<br><br>    @Query(&quot;SELECT * FROM note_table WHERE id = :id&quot;)<br>    fun getNoteDetail(id: Int): Flow&lt;NoteModel&gt;<br><br>    @Query(&quot;SELECT * FROM note_table WHERE id = :id&quot;)<br>    fun getPlainNoteDetail(id: Int): NoteModel<br><br>    @Update<br>    fun updateNote(vararg notes: NoteModel): Int<br><br>    @Delete<br>    fun deleteNotes(vararg notes: NoteModel): Int<br><br>    @Insert(onConflict = OnConflictStrategy.REPLACE)<br>    fun insertNote(note: NoteModel): Long<br>}</pre><p>Dao class will be injected into the service to be processed further (but the database instance should be made before using the dao).</p><h4>Service Setup</h4><p>Service class will be interacting with database dao directly. The flow of results from dao will be intercepted and divided into two parts, success and failure. If successful, the function will return the Result of success with data otherwise it will emit the Result of failure with exception. Here are the service code snippets.</p><pre>// NoteLocalService.kt<br><br>class NoteLocalService @Inject constructor(<br>    private val dao: NoteDAO<br>) {<br>    suspend fun getNoteList(): Flow&lt;Result&lt;List&lt;NoteModel&gt;&gt;&gt; =<br>        dao.getNotes().map {<br>            Result.success(it)<br>        }.catch {<br>            emit(Result.failure(RuntimeException(&quot;Failed to get list of notes&quot;)))<br>        }<br><br>    suspend fun deleteNoteList(vararg notes: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        flow {<br>            val result = (dao.deleteNotes(*notes) == notes.size)<br>            emit(Result.success(result))<br>        }.catch {<br>            emit(Result.failure(RuntimeException(&quot;Failed to delete list of notes&quot;)))<br>        }<br><br>    suspend fun getNoteDetail(id: Int): Flow&lt;Result&lt;NoteModel&gt;&gt; =<br>        dao.getNoteDetail(id).map {<br>            Result.success(it)<br>        }.catch {<br>            emit(Result.failure(RuntimeException(&quot;Failed to get note detail&quot;)))<br>        }<br><br>    suspend fun updateNoteList(vararg notes: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        flow {<br>            val result = (dao.updateNote(*notes) == notes.size)<br>            emit(Result.success(result))<br>        }.catch {<br>            emit(Result.failure(RuntimeException(&quot;Failed to update list of notes&quot;)))<br>        }<br><br>    suspend fun insertNote(note: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        flow {<br>            val result = dao.insertNote(note) != -1L<br>            emit(Result.success(result))<br>        }.catch {<br>            emit(Result.failure(RuntimeException(&quot;Failed to insert list of notes&quot;)))<br>        }<br>}</pre><p>Service class will be injected/passed into the repository.</p><h4>Repository Setup</h4><p>The repository will be interacting with ViewModel directly. In the repository, the result from the service will be intercepted again and if the result is null, it will change to an empty list or object. The changes are necessary to make the view easily handle the result (ensure the data is always available). Here are the repository code snippets.</p><pre>// NoteRepository.kt<br><br>class NoteRepository @Inject constructor(<br>    private val service: NoteLocalService<br>) {<br>    suspend fun getNoteList(): Flow&lt;Result&lt;List&lt;NoteModel&gt;&gt;&gt; =<br>        service.getNoteList().map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: listOf())<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br><br>    suspend fun deleteNoteList(vararg notes: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        service.deleteNoteList(*notes).map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: false)<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br><br>    suspend fun getNoteDetail(id: Int): Flow&lt;Result&lt;NoteModel&gt;&gt; =<br>        service.getNoteDetail(id).map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: NoteModel(1, &quot;&quot;, &quot;&quot;))<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br><br>    suspend fun updateNoteList(vararg notes: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        service.updateNoteList(*notes).map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: false)<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br><br>    suspend fun insertNote(note: NoteModel): Flow&lt;Result&lt;Boolean&gt;&gt; =<br>        service.insertNote(note).map {<br>            if (it.isSuccess) {<br>                Result.success(it.getOrNull() ?: false)<br>            } else {<br>                Result.failure(it.exceptionOrNull()!!)<br>            }<br>        }<br>}</pre><p>The repository class will be injected/passed into ViewModel.</p><h4>ViewModel Setup</h4><p>The ViewModel will interact with the interface directly, the interface will get the data, change the data, and change the component look-through state in the ViewModel. For fetching data from the database, we need a specific type that will be aware of the Android lifecycle, the LiveData. It will automatically update when there is a change in the source. Here are the NotesPageVM snippets to fetch notes from the database.</p><pre>// NotesPageVM.kt<br><br>@HiltViewModel<br>class NotesPageVM @Inject constructor(<br>    private val repository: NoteRepository,<br>): ViewModel(), NotesPageBaseVM {<br>    override val loader = MutableLiveData&lt;Boolean&gt;()<br><br>    override val noteList: LiveData&lt;Result&lt;List&lt;NoteModel&gt;&gt;&gt; = liveData {<br>        loader.postValue(true)<br>        try {<br>            emitSource(repository.getNoteList()<br>                .onEach {<br>                    loader.postValue(false)<br>                }<br>                .asLiveData())<br>        } catch (e: Exception) {<br>            loader.postValue(false)<br>            emit(Result.failure(e))<br>        }<br>    }<br>    ...<br>}</pre><p>Not only fetch data, but we could also delegate state handling inside the ViewModel. Jetpack composition encourages stateful concepts when handling data and interfaces. The state inside ViewModel will look like this</p><pre>@HiltViewModel<br>class NotesPageVM @Inject constructor(<br>    private val repository: NoteRepository,<br>): ViewModel(), NotesPageBaseVM {<br>    ...<br>    override val isSearching = mutableStateOf(false)<br>    override val searchedTitleText = mutableStateOf(&quot;&quot;)<br><br>    override val isMarking = mutableStateOf(false)<br>    override val markedNoteList = mutableStateListOf&lt;NoteModel&gt;()<br><br>    override fun markAllNote(notes: List&lt;NoteModel&gt;) {<br>        markedNoteList.addAll(notes.minus((markedNoteList).toSet()))<br>    }<br><br>    override fun unMarkAllNote() {<br>        markedNoteList.clear()<br>    }<br>    ...<br>}</pre><p>For me, I prefer to delegate a state inside ViewModel when there is a relation between the state and the data, for example, “isMarking” and “markedNoteList” are the notes that will be deleted when we press the delete button. The rest of the state will be declared inside the compose component.</p><h4>Navigation Setup</h4><p>For the navigation between compose components, we can declare it in the NoteModelParamType.kt which needs a composable annotation, NavHost, and composable component. The complete guide about compose navigation can be found <a href="https://developer.android.com/jetpack/compose/navigation">here</a>.</p><pre>// NoteModelParamType.kt<br><br>@Composable<br>fun NavGraph(navHostController: NavHostController) {<br>    NavHost(<br>        navController = navHostController,<br>        startDestination = Route.NotesPage.routeName<br>    ) {<br>        composable(Route.NotesPage.routeName) {<br>            NotesPage(navHostController = navHostController)<br>        }<br>        ...<br>    }<br>}</pre><p>Every composable component should be passed inside a composable function with its corresponding route name, then we can pass navHostController to the specific compose components. Then, the NavGraph will be used in the MainActivity like this.</p><pre>@AndroidEntryPoint<br>class MainActivity : ComponentActivity() {<br>    ...<br>    override fun onCreate(savedInstanceState: Bundle?) {<br>        super.onCreate(savedInstanceState)<br>        ...<br>        setContent {<br>            VentNoteTheme {<br>                Surface(<br>                    modifier = Modifier.fillMaxSize(),<br>                    color = MaterialTheme.colorScheme.primary,<br>                    contentColor = MaterialTheme.colorScheme.secondary<br>                ) {<br>                    NavGraph(navHostController = rememberNavController())<br>                    ...<br>                }<br>            }<br>        }<br>    }<br>}</pre><h4>Interface Setup (List of all Notes)</h4><p>NotesPage will be injected with two parameters, that are navHostController (for navigation purposes) and viewModel (for data handling purposes). Compose is already lifecycle aware, so we declare interface components, variables etc in the same place. Here are the snippets about NotesPage compose component.</p><pre>@Composable<br>fun NotesPage(<br>    navHostController: NavHostController,<br>    viewModel: NotesPageBaseVM = hiltViewModel&lt;NotesPageVM&gt;()<br>) {<br>    LockScreenOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT)<br><br>    val noteListState = viewModel.noteList.observeAsState()<br>    val loadingState = viewModel.loader.observeAsState()<br><br>    val drawerState = rememberDrawerState(DrawerValue.Closed)<br>    val scope = rememberCoroutineScope()<br><br>    val snackBarHostState = remember { SnackbarHostState() }<br>    val filteredNoteListState = remember { mutableStateOf&lt;List&lt;NoteModel&gt;&gt;(listOf()) }<br>    val loadingDialog = remember { mutableStateOf(false) }<br>    val deleteDialog = remember { mutableStateOf(false) }<br><br>    ...<br><br>    LaunchedEffect(key1 = noteListState.value) {<br>        // Showing error snackBar on error<br>        noteListState.value?.onFailure {<br>            scope.launch {<br>                snackBarHostState.showSnackbar(<br>                    message = it.message ?: &quot;&quot;,<br>                    withDismissAction = true<br>                )<br>            }<br>        }<br>    }<br><br>    LaunchedEffect(noteListState.value, viewModel.searchedTitleText.value) {<br>        // Replace filteredNoteListState value with filtered noteList state<br>        // every searchedTitleText changed<br>        filteredNoteListState.value = noteListState.value?.getOrNull()?.filter { note -&gt;<br>            note.title.contains(viewModel.searchedTitleText.value, true)<br>        } ?: listOf()<br>    }<br><br>    LaunchedEffect(key1 = loadingState.value) {<br>        // Showing loading dialog whenever loading state is true<br>        loadingDialog.value = (loadingState.value == true)<br>    }<br><br>    val deletedMessage = stringResource(id = R.string.note_is_successfully_deleted)<br><br>    fun deleteNoteList() {<br>        scope.launch {<br>            viewModel.deleteNoteList()<br>                .onSuccess { ... }<br>                .onFailure { ... }<br>        }<br>    }<br><br>    NavDrawer(<br>        drawerState = drawerState,<br>        onError = {<br>            scope.launch {<br>                snackBarHostState.showSnackbar(<br>                    message = it,<br>                    withDismissAction = true<br>                )<br>            }<br>        },<br>        content = {<br>            Scaffold(<br>                topBar = {<br>                    ...<br>                },<br>                snackbarHost = { SnackbarHost(snackBarHostState) },<br>                floatingActionButton = {<br>                    ...<br>                },<br>                content = { contentPadding -&gt;<br>                    Box(modifier = Modifier.padding(contentPadding)) {<br>                        LazyColumn(<br>                          ...    <br>                        ) {<br>                            items(items = filteredNoteListState.value) {<br>                                ...<br>                            }<br>                        }<br>                    }<br>                },<br>                modifier = Modifier.semantics { testTag = TestTags.NOTES_PAGE }<br>            )<br>        }<br>    )<br>    ...<br>}</pre><p>Based on the snippets above, the structure of the interface will be like a drawer-encapsulated Scaffold (general interface) encapsulating AppBar &amp; List of Items. For list items, I use a lazy column with items from filteredNoteListState, the state is a custom variable I made to collect data sources from the database then when there is a change or mark to be deleted, it will change the state in this list first.</p><p>If you want to know more about what components are available in the jetpack compose, you can visit this <a href="https://developer.android.com/jetpack/compose/layouts">link</a>.</p><h3>Final Result</h3><p>Here is a short preview of the feature that we discussed before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CkLEkxnDNEXfGdurl-odlQ.gif" /><figcaption>List of Notes Page</figcaption></figure><p>For the complete source code, you can visit my repository in the last section of this article. Feel free to ask me through email / LinkedIn if there is an issue, question, or collaboration.</p><h3>Last Words</h3><p>Stay tuned for the next article, which will be available soon. As a developer, patience, hard work, and attention to detail are essential qualities that can help you improve your skills and become a better developer.</p><p>If you are interested in the source code for the project, you can find it in my repository. I would appreciate your showing your support by giving it a star.</p><p><a href="https://github.com/HellBus1/VentNote">GitHub - HellBus1/VentNote: VentNote: taking notes like a breeze. A simple note management app build with native kotlin.</a></p><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong>, </strong><a href="https://twitter.com/Syubban5"><strong>Twitter</strong></a><strong>, or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77c333a98244" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Your Self-Centeredness & Ignorance Are Holding You Back: The Harsh Truth That You’re Not That…]]></title>
            <link>https://fakrii.medium.com/why-your-self-centeredness-ignorance-is-holding-you-back-the-harsh-truth-that-youre-not-that-9131e5d93f46?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/9131e5d93f46</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[ignorance]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 06:23:33 GMT</pubDate>
            <atom:updated>2025-07-12T08:58:55.543Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/selfdevelopment-a-journal-231f5edb9e37">Self-Development: A Journal</a></h4><h3>Why Your Self-Centeredness &amp; Ignorance Are Holding You Back: The Harsh Truth That You’re Not That Special</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O_efeae2N0eP7HIU" /><figcaption>Photo by <a href="https://unsplash.com/@joicekelly?utm_source=medium&amp;utm_medium=referral">Joice Kelly</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Dave, a man fully immersed in his responsibilities, stands tall as a testament to achievement. With a steady job, a welcoming home, and a devoted family, he appears to have it all. However, beneath this facade of accomplishment lies a transformative tale that reveals a different facet of Dave’s past.</p><p>Dave always felt on top of the world when praises flooded his ears, captivating and mesmerising. For him, life was a stage to garner recognition, even if it meant sacrificing his principles. Unfortunately, Dave didn’t realise how deeply he was sinking into the habit of flaunting every achievement proudly. He never missed a chance to showcase his greatness, even at the expense of disregarding the valuable stories of those around him, including his closest friends.</p><p>Dave’s world seemed to revolve around himself; his mundane job, daily routines. It was as if his world was confined to just that, without paying attention to his friends’ situations — whether they were struggling, in need of help, or just wanting to talk. As long as it didn’t concern him, it wasn’t his business.</p><p>One by one, friends who used to be in Dave’s life chose to distance themselves, feeling that interactions with him were increasingly meaningless and insipid. However, Dave didn’t pay much heed. He was trapped in his perspective. Unbeknownst to him, Dave didn’t grasp the enormity of the impact he would face in the future.</p><h4>Dave’s Struggles</h4><p>At this point, Dave only focused on academic achievements, his job, and occasionally spending time watching shows or playing games alone. As time went on, he felt that everything he did lacked meaning, and the loneliness began to haunt him as he navigated everything alone. He saw his friends having fun, sharing jokes, and exchanging thoughts.</p><p>Dave realised that he wanted those things too. He felt that what he had been doing lacked a clear direction, merely seeking praise and recognition. When all of that faded away, he felt lost in life. Confused and adrift, he searched for ways to overcome his loneliness and confusion.</p><p>Until one day, while watching a stand-up comedy show, Dave was amazed by the comedians’ perspectives on daily life. He was fascinated by how they cleverly crafted premises and punchlines. Unbeknownst to him, this experience began to change Dave’s mindset.</p><h4>Dave’s Transformation</h4><p>In his quest for answers, Dave was connected with three young individuals who were starting a business. He was invited to join their team, which consisted of three characters with distinct personalities: a social butterfly, a passive individual, and a bookworm.</p><p>At one point, Dave engaged in a lengthy conversation about life with these three individuals. At this juncture, Dave started to realise and uncover what had been happening in his life. He realised he had missed out on so much and so many perspectives while being consumed by his thoughts. This conversation became an unforgettable moment that opened his eyes to the perspectives of others.</p><h4>Dave’s Resolution</h4><p>From that point onward, Dave began to revamp his approach to social interactions. He improved his way of speaking, listened better, and became more empathetic. He was no longer obsessed with praise for his achievements; instead, he sought value in connecting with new people and gaining new experiences.</p><p>Gradually, he understood others and became resilient to criticism. Dave became skilled in conversation and could create enjoyable atmospheres. His confidence grew, but without arrogance. He believed that “he wasn’t that significant in other people’s lives; everyone has their ego.” He only wanted to showcase the best version of himself.</p><p>Dave’s circle of close friends grew, little by little. He became trusted and was invited to chat and play. He even met someone who would eventually become his girlfriend. Dave became more certain of the direction of his life while promising to keep learning in the realms of social dynamics and professionalism.</p><p>On his journey, Dave realised that life wasn’t just about personal achievements, but also about connections with others. He found deeper meaning in happiness and friendship. From his story, we can all learn that change isn’t necessarily a bad thing, but rather a crucial step towards growth and maturity.</p><p>I just found a hilarious meme that describes the situations a lot (Dave went through this when he was 21! Bless him 😂).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*mn8DJ0M8LHjF3ufaKs82Jw.jpeg" /><figcaption>9gag meme (source : <a href="https://9gag.com/gag/aXnGX0g?utm_source=copy_link&amp;utm_medium=post_share">https://9gag.com/gag/aXnGX0g?utm_source=copy_link&amp;utm_medium=post_share</a>)</figcaption></figure><h3>The Illusion of Being “Special”</h3><p>The story of Dave highlights the compelling theme of the illusion of being “special.” Dave’s insatiable desire for recognition and praise led him to create an illusion of superiority around himself. He basked in the glory of compliments, mistaking them for genuine connections. This illusion blinded him to the valuable stories and perspectives of those around him, including his close friends. It’s intriguing how the quest for external validation can create a bubble that isolates us from real human connections.</p><p>Dave’s behaviour serves as a cautionary tale about the dangers of deriving self-worth solely from external approval. His relentless pursuit of praise caused him to disregard the significance of empathy and understanding. This theme resonates with the broader societal obsession with appearances and self-promotion, often at the expense of meaningful relationships.</p><h3>The Negative Impact of Ignorance on Personal Growth</h3><p>Dave’s journey also underscores the negative impact of ignorance on personal growth. His ignorance towards the emotional needs of his friends and his single-minded focus on his achievements led him down a path of isolation. Ignorance, in this context, isn’t just about a lack of knowledge but also a lack of emotional intelligence and empathy.</p><p>Dave’s story illustrates how ignorance can hinder one’s ability to adapt, learn, and mature. By neglecting the stories and experiences of others, Dave denied himself the opportunity for personal development. His ignorance prevented him from understanding the value of genuine human connections and prevented him from realising the emptiness of his self-centred pursuits.</p><p>This theme reflects the importance of open-mindedness, active listening, and stepping outside one’s comfort zone for personal growth. Dave’s transformation occurred when he actively sought to understand others and embrace diverse perspectives. It serves as a reminder that personal growth requires acknowledging the limitations of our perspectives and actively seeking opportunities to learn from others.</p><p>In conclusion, Dave’s story encapsulates the cautionary tale of the illusion of being “special” and the detrimental impact of ignorance on personal growth. These themes resonate with the broader human experience, urging us to prioritise authentic connections and continuous learning for a more meaningful and fulfilling life journey.</p><h3>Overcoming the Illusion of Being “Special”</h3><h4>Cultivate Humility and Empathy in Everyday Life</h4><p>Practising humility allows us to connect genuinely with others, acknowledging that everyone has a unique story that is just as valuable as our own. Empathy helps break down the barriers of self-centeredness, enabling us to understand the emotions and needs of those around us.</p><h4>Recognising the Value of Diversity and Open-Mindedness</h4><p>Accepting that we don’t hold all the answers opens doors to personal growth. Embracing diverse viewpoints enriches our understanding of the world and helps us move beyond our own narrow perceptions.</p><h4>Continuous Learning and Self-Reflection</h4><p>Self-reflection allows us to evaluate our actions, motivations, and impact on others. It’s through this introspection that we recognise the need for change and personal growth.</p><h4>Embracing a More Balanced and Compassionate Perspective</h4><p>Embracing compassion towards others and ourselves helps break down the walls of ego-driven behaviours. It’s a reminder that everyone’s journey is valuable, and genuine connections hold more weight than empty praise.</p><h3>Last Words</h3><p>In conclusion, the journey to overcome the illusion of being “special” is a transformative one that requires consistent effort and self-awareness. Cultivating humility, valuing diversity, continuous learning, and embracing compassion are essential steps that lead us away from self-centeredness and toward meaningful connections and personal growth.</p><p>Dave’s journey is still ongoing, and he frequently shares his story with me during his free time. I’ve received a valuable message from Dave: “Just enjoy your life, be grateful for what you have today, and always give your best.” I’m thankful to him for the many lessons I’ve learned from his story.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fac269Ip2wr2stOEruj%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fac269Ip2wr2stOEruj%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fac269Ip2wr2stOEruj%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/a61f084b33db465d0d2f8abba15ec4a0/href">https://medium.com/media/a61f084b33db465d0d2f8abba15ec4a0/href</a></iframe><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can, and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>LinkedIn</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9131e5d93f46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unlocking ChatGPT’s Power: Mastering Personalized Conversations with Context and Custom…]]></title>
            <link>https://fakrii.medium.com/unlocking-chatgpts-power-mastering-personalized-conversations-with-context-and-custom-81e8fe4b40d3?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/81e8fe4b40d3</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[custom-instruction]]></category>
            <category><![CDATA[prompt]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Sun, 20 Aug 2023 12:24:00 GMT</pubDate>
            <atom:updated>2024-11-28T04:53:57.156Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/@syubbanfakhriya/list/llm-for-productivity-d26b6f82c242">LLM for Productivity</a></h4><h3>Unlocking ChatGPT’s Power: Mastering Personalized Conversations with Context and Custom Instructions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5SHMU1P4jYtLYMpI" /><figcaption>Photo by <a href="https://unsplash.com/@siva_photography?utm_source=medium&amp;utm_medium=referral">Levart_Photographer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>ChatGPT is one of the prominent text-based AI services widely known in this era for its capabilities in processing text for various purposes. Users need to input simple commands on the ChatGPT website, which will be processed according to the instructions.</p><p>However, the outcomes of the provided instructions may not always align with our intentions. This can occur due to unclear instructions being given. For example, if we request something like “create a poem about animals,” the resulting poem might turn out to be very extensive. It could end up being overly verbose and so on.</p><p>By contextualizing our instructions to ChatGPT, we can narrow down the desired results and make them more specific. This article delves deeper into the concept of contextualizing prompts. It explains how refining the context of our instructions to ChatGPT can help us achieve more accurate and relevant outcomes.</p><h3>The Power of Personalization and Contextualization</h3><p>If you’re unfamiliar with ChatGPT, you can check out my previous article at the following link.</p><p><a href="https://medium.com/@syubbanfakhriya/boost-your-productivity-with-chatgpt-the-ultimate-tool-for-efficiency-8a49bcf59b18">Boost Your Productivity with ChatGPT — The Ultimate Tool for Efficiency</a></p><p>Personalization is the key to forging meaningful connections between humans and machines. In the context of ChatGPT, personalization refers to tailoring conversations to the user’s preferences, interests, and unique interactions. By acknowledging and responding to user-specific contexts, ChatGPT can provide more personalized and engaging responses, enhancing the overall conversational experience.</p><p>Let’s try an example of a prompt that asks “what is the best of the breaking bad episodes” without providing much context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCKBe1CYsX_g0HK2BmelTQ.jpeg" /><figcaption>Asking best episode generally</figcaption></figure><p>And now, let’s introduce a little bit of context that the answer should based on character development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*JBobBGdu0ClF9wvfO2jRsQ.jpeg" /><figcaption>Adding context that the review should be based on the character development</figcaption></figure><p>The impact of context on the outcome of a conversation becomes evident when we observe how the addition of relevant contextual information significantly refines and narrows down the generated responses. In other words, the result becomes notably more precise and tailored to the subject matter we are engaging with.</p><h3>Constructing Contextualization: Adding System Instruction, Context, and Instruction</h3><p>One method for contextualizing a prompt is by structuring it with the format of system instruction, context, and instruction that we will provide to ChatGPT (we will call it <strong><em>context construction</em></strong>). In this explanation, the <strong>system instruction</strong> contains the role or persona of this ChatGPT, determining what it should be like, for example, as follows.</p><blockquote>1) “You are an elementary school science teacher”</blockquote><blockquote>2) “You are a profesional movie and cinema curator”</blockquote><blockquote>3) “You are a businessman that focused in real estate”</blockquote><p>Next, the <strong>context</strong> contains a description of the previously determined role. This description can consist of the role’s occupation, the format of responses generated by the role, and the topics mastered by the role. An example is as follows.</p><blockquote>“film curator main job is to analyze a film, series etc and make deep overall review about it, especially the significance of character development in it and how it contributes to the quality of the episodes / movie.”</blockquote><p>The content of the context varies according to our creativity and needs as prompters. Finally, for the <strong>instruction</strong>, it contains the instructions we desire from the created persona, as an example.</p><blockquote>1) “What is the best of the breaking bad episodes?”</blockquote><blockquote>2) “Create 2 exercises about gravity concept for 5th-grade student”</blockquote><p>Constructing the three of them can be done as follows.</p><blockquote>*System Instruction**: <br>You are a professional senior Software Development Engineer (SDE).</blockquote><blockquote>**Context**: <br>An SDE specialist in a tech company has a primary job desk of creating/improving new/old software per client request or company product. And as a great employee, each employee must be punctual in meeting and delivering a project. SDE should be good at communicating and negotiating requirements and keeping updated with new applied tech trends.</blockquote><blockquote>**Instruction**:<br> — Create a maximum of 7 items metrics for SDEs KPI <br>— Quantitative measurement scoring on a scale of 1,2,3,4,5 <br>— Score 3 shows meet the requirement/target <br>— Each scoring with a detailed explanation</blockquote><blockquote>**Note**: <br>You could also suggest job desks that suit the SDE role.</blockquote><p>The content of each section can be adjusted according to the needs for more specific results. To improve the outcomes, we can employ the concept of prompt iteration (continuing the discussion / refining the prompt) until the generated text aligns with expectations (this will be discussed in a separate article on prompt best practices 🤘).</p><h3>Introducing a New Feature: ChatGPT’s Custom Instruction</h3><p>OpenAI has introduced custom instructions as a fresh feature, aiming to grant users enhanced authority over ChatGPT’s responses. This functionality empowers users to define their preferences or prerequisites, which will be taken into account by ChatGPT during the response generation process.</p><p>What makes this feature particularly appealing is its seamless application. Once configured, ChatGPT will consistently factor in these instructions for all ensuing conversations, eradicating the necessity of restating preferences or details with each new interaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*cxCUS3OoDJpTwk3l1fbGrw.jpeg" /><figcaption>How to access custom instructions</figcaption></figure><p>To access custom instructions, just click on the horizontal three-dot button located at the lower left-hand side. This will display a layout similar to the image above. From there, select “Custom Instructions.” Within the custom instructions dialogue box, you’ll find two fields as described below.</p><blockquote>“What would you like ChatGPT to know about you to provide better responses”</blockquote><p>We can incorporate a persona in this field, such as: “Where are you located?” “Could you share your profession?” “What hobbies and interests do you have?” “Are there particular subjects you could discuss extensively?” “Do you have any goals in this field?” etc.</p><blockquote>“How would you like ChatGPT to respond?”</blockquote><p>We can incorporate context in this field, such as specifying the desired level of formality or casualness for ChatGPT’s tone. Additionally, we can indicate the preferred length of responses. How would you like ChatGPT to address you? Lastly, should ChatGPT express opinions on subjects or maintain a neutral stance?</p><p>See the following image for the better example</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dg0NqulpDnK3A4OlPVAiSQ.jpeg" /><figcaption>Custom instruction</figcaption></figure><p>Here are the sample differences between a prompt with custom instructions and one without.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hHIw8X8pAEJ-xDmRwF3mVg.jpeg" /><figcaption>Without custom instruction</figcaption></figure><p>And the following image is prompt with custom instructions (refer to the custom instructions image above).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TZVPgNQEXkG-j8gVVcnFeg.jpeg" /><figcaption>With custom instruction (refer to image custom instruction)</figcaption></figure><h3>Last Words</h3><p>Both methods (context construction and custom instructions) are equally effective for conducting personalized conversations and achieving contextualization. In the case of context construction, you need to include it within each prompt. On the other hand, by utilizing custom instructions, you establish them initially, and they will automatically apply throughout the subsequent conversations.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F17125617&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fgood-bye-simpsons-homer-bye-hide-gif-17125617&amp;image=https%3A%2F%2Fmedia.tenor.com%2FXl-paI3WxIAAAAAC%2Fgood-bye-simpsons.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/d65d93dea5e37232bbfd26af5e9d207e/href">https://medium.com/media/d65d93dea5e37232bbfd26af5e9d207e/href</a></iframe><h3>Resources</h3><ol><li><a href="https://openai.com/blog/custom-instructions-for-chatgpt">https://openai.com/blog/custom-instructions-for-chatgpt</a></li></ol><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81e8fe4b40d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Note App with Jetpack Compose & MVVM architecture: Project Setup & Overview (Part 1 of…]]></title>
            <link>https://fakrii.medium.com/build-a-note-app-with-jetpack-compose-mvvm-architecture-project-setup-overview-part-1-of-d3e850457814?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3e850457814</guid>
            <category><![CDATA[mvvm]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Tue, 16 May 2023 18:59:00 GMT</pubDate>
            <atom:updated>2025-07-12T08:59:41.819Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/android-ios-engineering-f3760e125bca">Android &amp; IOS Engineering</a></h4><h3>Build a Note App with Jetpack Compose &amp; MVVM architecture: Project Setup &amp; Overview (Part 1 of Series)</h3><h4>[#1] <em>Set the foundation for a note-taking app with a clean MVVM architecture</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WIswUuFRX4VGheIWmOt7sw.jpeg" /><figcaption>VentNote</figcaption></figure><p>Note-taking apps have become an integral part of our daily lives, both for personal and professional purposes. The increasing demand for such applications has led to a need for developers to create apps that not only provide a seamless user experience but also ensure scalability and maintainability. That’s why, in this guide, we will build a well-architected note-taking app using Jetpack Compose, MVVM architecture, and the MAD guide, which follows the latest trends in Android development.</p><p>Our guide is designed to take you through the entire process of building a note-taking app using the MAD approach. We’ll start with the basics in Part 1 of our series, including setting up your project and creating the necessary files and directories. We’ll also explain the various components of the MAD architecture, including Model-View-ViewModel, Android Jetpack, and Data Binding.</p><p>By the end of this article, you’ll have a clear understanding of what to expect from the upcoming parts of the series.</p><h3>Tutorial Series</h3><h4>Part 2: List of Notes</h4><p><a href="https://medium.com/@syubbanfakhriya/build-a-note-app-with-jetpack-compose-mvvm-architecture-list-of-notes-part-2-of-series-77c333a98244">Build a Note App with Jetpack Compose &amp; MVVM architecture: List of Notes (Part 2 of Series)</a></p><h3>What is MAD?</h3><p>MAD is an acronym for <strong><em>Modern Android Architecture</em></strong>. It is a set of guidelines provided by Google for building Android applications using the latest recommendations and best practices. The main objective of following these guidelines is to create a more stable and robust application that is less prone to crashes and bugs. In addition, MAD aims to improve the overall productivity of developers by reducing the amount of code that needs to be written and maintained. This not only saves time but also helps to create a more efficient codebase.</p><p>To fully comply with the MAD guidelines, developers need to follow several key steps, which include (you can read the complete guide here <a href="https://developer.android.com/modern-android-development">MAD by Android</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2qGdXVpXFacB4HAUqsEAPQ.png" /><figcaption>MAD aspects</figcaption></figure><p>At the end of the day, you can focus on your business and the user experience instead of dealing with messy and complex code</p><h3>Prerequisites</h3><ol><li>Android Studio (Newest if Possible)</li><li>Google Docs / Book if you need to scribble something</li><li>Installed Git (Optional)</li><li>At least 8 GB ram laptop with fast CPU (more is better) because mobile development needs high-end hardware</li></ol><h3>Project Architecture</h3><p>The project architecture follows the MVVM (Model View ViewModel) pattern, effectively separating the business logic. In this pattern, the ViewModel handles the business logic, while the View consumes the results through function calls or LiveData, which are updated whenever there is a change.</p><p>The view in this project is implemented using Compose functions. These functions are organized in separate folders and treated as individual pages, each associated with a ViewModel. Within the ViewModel, functions are implemented to invoke core business logic from the repository. The repository, in turn, incorporates versatile functions responsible for fetching and modifying data, whether from local storage or remote APIs like the Google Drive API and others.</p><p>To provide a more comprehensive understanding of the project architecture, please refer to the accompanying diagram below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*uFs7Kl5KhympMxRrhlT2Og.png" /><figcaption>Project Architecture Diagram</figcaption></figure><p>In the project, every service, repository, and ViewModel is utilized within a single abstraction layer by creating their respective instances. For example, when using the repository, it is necessary to create an instance of the Room Service. However, manually creating these instances can lead to boilerplate code in a centralized location, such as within an activity, resulting in longer and less readable code.</p><p>To address this issue and enable reusability without the need for repeated instantiation, the singleton pattern can be employed. By utilizing the singleton pattern, instances are created only once and can be shared throughout the application. This approach not only reduces boilerplate code but also facilitates easier testing, as the code can be instantiated in the same manner as in the production environment. This concept is inspired by the Dagger website’s recommendations.</p><p>Hilt emerges as a solution to these challenges. With Hilt, developers can annotate the classes that need to be injected into other classes, a technique known as dependency injection. Upon rebuilding the project, Hilt automatically generates the necessary instantiation code, freeing developers from the manual instantiation process.</p><p>By leveraging Hilt, developers can improve code readability, reduce boilerplate, and enhance testability. Hilt’s dependency injection approach automates the instantiation process, allowing developers to focus on the core functionality of their application rather than dealing with manual instantiation code. For more information about the hilt, you can read here. I will elaborate more in the next article.</p><p><a href="https://developer.android.com/training/dependency-injection/hilt-android">Dependency injection with Hilt | App architecture | Android Developers</a></p><p>By leveraging Hilt, you can enhance code maintainability, reduce boilerplate, and improve the testability of your project. Hilt’s dependency injection approach automates the instantiation process, simplifying development and allowing you to focus on building the core functionality of your application.</p><h3>Project Setup</h3><p>To create a new empty initial project as a Compose activity, follow the steps below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nU6pQXecTnBb9UbOwN2_4Q.png" /><figcaption>Empty Compose Activity</figcaption></figure><p>Define the application name, project location, package name (must be unique), and minimum Android version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMwemO9UBOBKAMlz1gE1jw.png" /><figcaption>Project Identity</figcaption></figure><p>There will be an activity called MainActivity with minimum composable function like the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p1upA37N3p0rH-vmSpc7Jw.png" /><figcaption>MainActivity with Single Compose Function</figcaption></figure><p>To use Compose in an existing Android project, you simply need to add the Compose dependency to it.</p><h3>Compose Tooling</h3><p>When developing a page or component, an essential step is to observe how it is displayed on a mobile device. Jetpack Compose provides a fantastic tool called Compose Preview. With Compose Preview, you can preview the entire page or specific parts of it in real time. What makes it even more powerful is the ability to use dummy data to populate the UI for previewing when data is required. Here is a screenshot showcasing this feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cCo2JkEsmx1QY24LEhTo_w.png" /><figcaption>Compose Preview</figcaption></figure><p>For a comprehensive guide on how to use Compose Preview, please refer to my previous article linked below.</p><p><a href="https://medium.com/@syubbanfakhriya/exploring-the-latest-jetpack-compose-preview-a-deep-dive-into-androids-ui-toolkit-ccae158f2254">Exploring the Latest Jetpack Compose Preview —  A Deep Dive into Android’s UI Toolkit</a></p><p>There are multiple tools available for Compose, such as Relay, Recomposition Tracing, Animation Preview, and many more.</p><h3><strong>The Note App Main Features</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OiWNQ53uUu7s4GKhzRJMoQ.png" /><figcaption>App Features</figcaption></figure><ul><li><strong>Displaying the list of notes</strong></li></ul><p>The app displays a list of notes that the user has previously added. If there are no notes, the page will appear blank. Additionally, on this page, users have the ability to filter the notes based on their titles. Another notable feature is the ability for users to select multiple notes and delete them accordingly.</p><ul><li><strong>Create a new note</strong></li></ul><p>The user has the ability to add a new note by providing a title and content for the note. This feature allows users to create personalized notes with specific titles and corresponding content.</p><ul><li><strong>View the note details, share the note, and edit an existing note</strong></li></ul><p>After the user selects a note, the application will display the complete details of the selected note, including the title and description. On this page, the user has the option to either edit the note or share it with multiple applications. If the user chooses to edit the note, the text field becomes editable, allowing the user to modify the content or title as desired.</p><p>Alternatively, if the user selects the option to share the note, a bottom sheet will appear, presenting a list of available applications to choose from for sharing.</p><ul><li><strong>Backup your note in Google Drive</strong></li></ul><p>This feature will be elaborate on outside this series (separate article). The user could back up and sync their database in google drive.</p><h3>Last Words</h3><p>Stay tuned for the next article, which will be available soon. As a developer, patience, hard work, and attention to detail are essential qualities that can help you improve your skills and become a better developer.</p><p>If you are interested in the source code for the project, you can find it in my repository. I would greatly appreciate it if you could show your support by giving it a star.</p><p><a href="https://github.com/HellBus1/VentNote">GitHub - HellBus1/VentNote: VentNote: taking notes like a breeze. A simple note management app build with native kotlin.</a></p><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3e850457814" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beating Extroversion: How Introverts Can Succeed in a World That Favours Outgoing Personalities]]></title>
            <link>https://fakrii.medium.com/beating-extroversion-how-introverts-can-succeed-in-a-world-that-favors-outgoing-personalities-e724e5f98c67?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/e724e5f98c67</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[personality]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Fri, 05 May 2023 17:16:50 GMT</pubDate>
            <atom:updated>2025-07-12T08:57:05.059Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/selfdevelopment-a-journal-231f5edb9e37">Self-Development: A Journal</a></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vdGL24kK1Yzvxn9Z" /><figcaption>Photo by <a href="https://unsplash.com/@andrewtneel?utm_source=medium&amp;utm_medium=referral">Andrew Neel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>From job interviews to social gatherings, it’s no secret that the world seems to favor extroverts. Society has long celebrated those who are outgoing, confident, and naturally charismatic while overlooking the quiet achievers who prefer to work behind the scenes. For introverts, this can be a significant obstacle in both personal and professional settings. However, all hope is not lost. In this article, we’ll explore how introverts can navigate a world that seems to favor extroverts and find success in their own way. Let’s dive in.</p><h3>The Backstory</h3><p>As an introvert, I always believed that extroverts have it easy when it comes to social situations. However, after stumbling upon Hasan Askari’s YouTube video on the benefits of being an extrovert, I couldn’t help but be intrigued. Here is the video if you are interested (the video is in the Indonesian language).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlhJE1OZvq8Y%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlhJE1OZvq8Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlhJE1OZvq8Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b8a362b1f84b7c6e5561f999647be4ef/href">https://medium.com/media/b8a362b1f84b7c6e5561f999647be4ef/href</a></iframe><p>I delved deeper into the topic by researching several related articles to gain a better understanding of the perspective presented in the video. Surprisingly, I found myself agreeing with many of the points made, and it made me reconsider my stance on the matter. While being an introvert has its own set of advantages, it’s essential to recognise and appreciate the strengths of extroverts as well.</p><h3>Introverts or Extroverts by Definitions</h3><p>Let us begin by clarifying the definitions of introvert and extrovert that will be utilised throughout this article. To accurately define these terms, we will refer to expert opinions, specifically the insights of Patricia M. Carrigan, a Michigan State University graduate. Carrigan’s journal provides a comprehensive definition of introversion, which we will use for our purposes.</p><blockquote>Introverts are individuals who draw energy from their alone time, taking the opportunity to recharge and reflect on their own thoughts and emotions. Although introverts may appear reserved and shy, this is not always the case. Carrigan’s 1960 journal posits that introverts are defined by their need for solitude and introspection.</blockquote><p>On the other hand, extroverted personality is described by the following.</p><blockquote>Extroverts exhibit personality traits consistent with the type known as extroversion. These individuals gain energy from social interaction and are often talkative and outgoing. Carrigan’s journal from 1960 characterizes extroverts as individuals who thrive in large social groups and may be seen as adventurous.</blockquote><p>Based on the aforementioned definition and journal, it can be concluded that personality can be classified as either introverted or extroverted. The characteristics of introverted individuals include</p><ol><li>Prefer less stimulating activities such as reading, writing, or meditating that please them. They find solace in quieter environments and activities.</li><li>Focus on one task at a time, analyse situations carefully, and take time to reflect before speaking. They process information internally and are more thoughtful in their responses.</li><li>Need to recharge through introspection and reflection on their thoughts, emotions, and feelings. They prefer to spend time alone or with a small group of close friends.</li><li>Prefer solitude and privacy, and tend to form deeper connections with a smaller group of individuals.</li></ol><p>In contrast, extroverted individuals possess the following traits</p><ol><li>Seek out social interaction to feel energised. They tend to outnumber introverts by a ratio of three to one (Cain, 2012).</li><li>Need to recharge through social interaction and a larger circle of friends. They tend to be more outgoing and adventurous.</li><li>Enjoy verbal expression, engagement with the outside world, and conversation with others. They process information externally and enjoy being around people.</li><li>Have varying levels of extroversion, with some individuals being more extroverted than others. It’s important to note that extroversion exists on a continuum and isn’t a binary trait.</li></ol><p>Having established the definitions of both introversion and extroversion, it is important to note that the main focus of this article is on introversion.</p><h3>The Risk of Being an Introvert</h3><p>Studies have shown that introverts are at a higher risk of experiencing loneliness, depression, and overthinking compared to their extroverted counterparts. This is largely due to their tendency to isolate themselves from society and engage in less frequent and less intense communication with others. When introverts do engage in communication, they may be more likely to misjudge or misunderstand others, which can lead to feelings of social withdrawal.</p><p>Furthermore, introverts often internalise their thoughts and feelings, rather than sharing them with friends or loved ones, which can lead to rumination and overthinking. While it’s important to note that not all introverts exhibit this behaviour, it is a common trait among introverted individuals.</p><p>In contrast, extroverts tend to lead more fulfilling lives and are less susceptible to certain mental health issues. They also have an advantage when it comes to networking, finding job opportunities, and achieving success, thanks to their exceptional communication skills. Extroverts are skilled at conveying their thoughts and emotions both verbally and non-verbally, using body language and facial expressions to build rapport with others.</p><p>However, communication is a skill that can be learned and honed by anyone, including introverts. By actively working on improving communication skills, introverts can overcome the risks associated with isolation and build strong relationships both personally and professionally. For example, introverts can practice active listening, engage in small talk, and participate in group activities to build their social skills and connect with others.</p><h3>Being an Introvert doesn’t mean being a Bad Communicator</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_Vba50YZ_OfPhEk-" /><figcaption>Photo by <a href="https://unsplash.com/@linkedinsalesnavigator?utm_source=medium&amp;utm_medium=referral">LinkedIn Sales Solutions</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Effective communication is a skill that can be developed and mastered by anyone, including introverts. While introverts may naturally be more reserved in their communication style, they can still learn to communicate confidently and effectively through a few key steps.</p><h4>Become a great listener</h4><p>First, becoming a great listener is an essential skill for effective communication. As introverts tend to be more reflective and observant, they can use these qualities to their advantage by actively listening to others and taking in their perspectives. This can help to build trust and rapport with others, which is key to successful communication.</p><h4>Join a Community</h4><p>In addition, joining a community can provide introverts with opportunities to practice and improve their verbal communication skills. This can be through joining a public speaking club, taking part in a debate team, or participating in group discussions. By engaging in these activities, introverts can gradually build confidence in their ability to express themselves verbally.</p><h4>Don’t hesitate to buy books or courses related to speaking</h4><p>Investing in resources such as books or courses related to speaking can also be a valuable tool for introverts looking to improve their communication skills. These resources can provide practical tips and strategies for effective communication, such as how to structure a persuasive argument or how to deliver a compelling speech.</p><h4>Learn more about body language</h4><p>Another important aspect of effective communication is body language. Studies have shown that up to 93% of communication is non-verbal, meaning that body language can have a significant impact on how a message is perceived. By learning more about body language and how to use it effectively, introverts can increase their communication effectiveness by up to 200%.</p><h4>Encourage yourself to engage in small talk</h4><p>Encouraging oneself to engage in small talk can help to open up communication more widely. While small talk may seem trivial, it can be a powerful tool for building connections with others and initiating deeper conversations. By practising small talk with colleagues, acquaintances, and strangers, introverts can gradually build their social confidence and communication skills.</p><h3>Embracing Your Introversion</h3><h4>Know yourself better, what are your strengths and weaknesses?</h4><p>Understanding oneself is crucial for introverts to thrive in a world that may not always cater to their needs. Knowing your strengths and weaknesses will help you play to your strengths while working on your weaknesses to improve your overall personality. Asking for honest feedback from your close circle and taking personality tests like the 16personalities from NERIS Analytics Limited (<a href="https://www.16personalities.com/">https://www.16personalities.com/</a>) can help you understand yourself better.</p><h4>Keep your closest friends and family, and don’t be alone</h4><p>Contrary to popular belief, introverts do not necessarily thrive in complete solitude. While they may need more alone time to recharge, it’s still essential to maintain close relationships with friends and family. Having a trusted support system can provide a sense of belonging and emotional support, which can be vital for introverts.</p><h4>Optimise social media, but not in the addicted phase</h4><p>Social media can be a great tool for introverts to connect with others who share their interests. However, it’s crucial to use it in moderation and not become addicted to it. Instead of spending hours scrolling through feeds, use social media to connect with like-minded individuals and build meaningful relationships.</p><h4>Be a professional in your field</h4><p>Introverts can excel in their fields by leveraging their strengths, such as their hardworking nature and ability to focus deeply. By continuously learning and keeping an open mind to new opportunities, introverts can become experts in their fields.</p><h3>Last Words</h3><p>Introverts need to step out of their comfort zones and engage with the world around them. This doesn’t mean becoming a social butterfly or taking advantage of others, but rather finding a balance that works for them. Introverts deserve to live a happy and fulfilling life, and it’s okay to be misunderstood sometimes. These experiences can be valuable lessons that help us grow. By exploring the world and talking to people, we can gain a wider perspective and learn from their unique life stories. Let’s strive to be better humans by embracing new experiences and connecting with others in meaningful ways.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F17125617&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fgood-bye-simpsons-homer-bye-hide-gif-17125617&amp;image=https%3A%2F%2Fmedia.tenor.com%2FXl-paI3WxIAAAAAC%2Fgood-bye-simpsons.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/d65d93dea5e37232bbfd26af5e9d207e/href">https://medium.com/media/d65d93dea5e37232bbfd26af5e9d207e/href</a></iframe><h3>Resources</h3><ol><li><a href="https://www.simplypsychology.org/introvert-extrovert.html">https://www.simplypsychology.org/introvert-extrovert.html</a></li></ol><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can, and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>LinkedIn</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e724e5f98c67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React Native vs Flutter: Which Framework Reigns Supreme in Multiplatform Mobile Development?]]></title>
            <link>https://fakrii.medium.com/react-native-vs-flutter-which-framework-reigns-supreme-in-multiplatform-mobile-development-8de6ec12cf60?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/8de6ec12cf60</guid>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Thu, 27 Apr 2023 12:26:01 GMT</pubDate>
            <atom:updated>2025-07-12T09:01:21.703Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://fakrii.medium.com/list/android-ios-engineering-f3760e125bca">Android &amp; IOS Engineering</a></h4><h3>React Native vs Flutter: Which Framework Reigns Supreme in Multiplatform Mobile Development? — A Comparative Analysis.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_v8gPRAas_5r8yWsifo0Q.png" /><figcaption>Flutter &amp; React Native</figcaption></figure><p>Hybrid and cross-platform app development are the latest trends in the world of app development. By using a single codebase, developers can create apps that can run seamlessly on multiple platforms, including Android and iOS. This approach not only significantly reduces the development time and cost for businesses but also enables them to reach a wider audience and launch their products more quickly.</p><p>Flutter and React Native are currently the most popular tools or frameworks used to achieve hybrid app development. However, the question arises as to how to choose the one that best suits our needs or which one is better between the two. To help answer this question, a comparative analysis is presented below.</p><h3>Why Should We Go Multiplatform?</h3><ol><li>Developing apps that run on multiple platforms using the same codebase reduces development costs (both in terms of time and money) by requiring fewer developers.</li><li>Maintaining the application is simple because any updates to the framework or language will apply to the entire application.</li></ol><h3>What is React Native?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7-44L2DbMQsWjM-bRpSIdg.png" /><figcaption>React Native</figcaption></figure><p>React Native is a mobile development framework that uses JavaScript and React to build user interfaces. It is an open-source project maintained by the Facebook (Meta) team. With React Native, you can create truly native apps that don’t compromise your users’ experiences. It provides a core set of platform-agnostic native components like View, Text, and Image that map directly to the platform’s native UI building blocks. React Native was first released on March 26, 2015, and its current version as of 2023 is 0.71.</p><h3>What is Flutter?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5eQK8g9BKte2sNeHC9Flew.png" /><figcaption>Flutter</figcaption></figure><p>Flutter is an open-source framework by Google that enables developers to build beautiful, natively compiled, multi-platform applications from a single codebase. The language used by Flutter is Dart, a programming language introduced by Google. The usage of Flutter has broadened to building mobile, websites, and desktop applications. In Flutter, the building blocks are called widgets, and it provides a set of widgets like Containers, Text, and Images. Flutter was first released on May 12, 2017, and its current version as of 2023 is 3.</p><h3>The Trends</h3><p>Here is a collection of graphs that show the trend of React Native and Flutter, provided by various survey sites such as Stack Overflow, Google Trends, and Statista.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*XvbNyEK--GPsydtzo1T_rQ.png" /><figcaption>The latest Stack Overflow survey shows that React Native is below flutter. <a href="https://survey.stackoverflow.co/2022/#most-popular-technologies-misc-tech">Stack Overflow Survey 2022</a></figcaption></figure><p>The above graph shows the percentage of all respondents (including both general and professional) who answered the following question.</p><blockquote>Which <strong>other frameworks and libraries</strong> have you done extensive development work in over the past year, and which do you want to work in over the next year? (If you both worked with the framework and want to continue to do so, please check both boxes in that row.)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKasona0MKZOzSO0JWJHcw.png" /><figcaption><em>Worldwide Flutter (red) and React Native (blue) popularity trend (2018–2023). </em><a href="https://trends.google.com/trends/explore?date=2018-03-19%202023-04-19&amp;q=%2Fg%2F11h03gfxy9,%2Fg%2F11f03_rzbg"><em>Google Trends</em></a></figcaption></figure><p>Examining Google Trends data shows that the competition between the two technologies is still intense. After steadily gaining ground on React Native for more than two years, Flutter surpassed it as the more commonly searched term globally in April 2020 and has maintained this lead worldwide through 2023. The survey description is the following.</p><blockquote>Numbers represent search interest relative to the highest point on the chart for the given region and time. A value of 100 is the peak popularity for the term. A value of 50 means that the term is half as popular. A score of 0 means there was not enough data for this term.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*nZuNQpRO-PWLQeRairMiuw.png" /></figure><p>According to Statista’s latest research, Flutter has emerged as the top cross-platform mobile development framework in 2021, edging out React Native by a margin of 4% (with 42% of respondents favoring Flutter and 38% choosing React Native). However, it’s worth noting that both technologies enjoy considerable popularity and are widely used by developers across the globe.</p><p>If we take the average from all the graphics, we can conclude that Flutter is currently more popular than React Native. However, this conclusion is not fixed and can change over time, and it should be noted that most of the survey respondents are general users and not experts.</p><h3>Flutter &amp; React Native Comparison</h3><p>Here is a comprehensive comparison of all aspects between the two frameworks. Don’t hesitate to leave your thoughts or comments if you feel that the data is not appropriate or if you have any other valuable insights to add.</p><h4>Language</h4><p><strong>React Native</strong></p><ul><li>JavaScript/TypeScript, which is currently one of the most widely used and popular programming languages.</li></ul><p><strong>Flutter</strong></p><ul><li>Dart, which is less popular than JavaScript.</li></ul><h4>Performance</h4><p><strong>React Native</strong></p><ul><li>Use Hermes as its engine, with Hermes the startup time will be improved a lot, decreased memory usage, and smaller app size compared to JavaScriptCore (the default engine). For further development, Hermes will be the default engine for React Native.</li><li>The minimum SDK version is 10+ for IOS and 5.0+ for Android.</li></ul><p><strong>Flutter</strong></p><ul><li>The default rendering engine used in Flutter is Skia, a 2D graphics library that supports complex animations and transitions and is optimized for mobile platforms.</li><li>Skia can be replaced with Impeller, a custom rendering engine built on top of Skia that leverages its ability to redraw only the necessary parts of the screen to improve performance.</li><li>The minimum SDK version is 8+ for IOS and 4.1+ for Android</li></ul><p>Both frameworks have excellent performance, and the only factor that can cause performance issues is poor code design (the Flutter &amp; React native team is working hard to create innovation in their engine).</p><p>When we aim for a benchmark of achieving 60 fps or 120 fps rendering, Flutter emerges as the winner since its code is transpiled to machine code instead of being bridged like React Native. If you are interested in a more comprehensive comparison of their performance, here is the source.</p><p><a href="https://medium.com/swlh/flutter-vs-native-vs-react-native-examining-performance-31338f081980">Flutter vs Native vs React-Native: Examining performance</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FX8ipUgXH6jw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DX8ipUgXH6jw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FX8ipUgXH6jw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/92cb005883158d5a17740e5123013e8f/href">https://medium.com/media/92cb005883158d5a17740e5123013e8f/href</a></iframe><h4>Documentation</h4><p><strong>React Native</strong></p><ul><li>Highly organized, but its documentation may not always provide all the answers, requiring developers to do some research on their own.</li><li>Compact and straightforward website design.</li><li>An interactive code lab called Expo, helps users learn the concepts and components through rendering.</li></ul><p><strong>Flutter</strong></p><ul><li>Highly organized and comprehensive, providing almost all the answers to common questions and issues, including examples and previews of external libraries.</li><li>Eye-catching and modern website design.</li><li>Offers an interactive code lab to help users learn the concepts and widgets using Flutter web.</li></ul><h4>Community Support</h4><p>React Native has around 109k stars on GitHub, with 1.7k open issues, and is considered passively maintained. Despite having servers on various platforms like Discord, Telegram, Twitter, etc., the community seems to be relatively inactive, with fellow members not always available to answer questions.</p><p>On the other hand, Flutter has gained popularity, with around 153k stars on GitHub and around 10k open issues, and is actively maintained. It has a strong and active community spread across various platforms like Discord, Telegram, Twitter, etc. For instance, the Indonesian community is known to be particularly active, with members readily available to help and answer questions.</p><h4>Library support</h4><p>When it comes to React Native, finding third-party libraries, especially strongly typed ones, can be challenging. In some cases, developers may have to create their own solutions, such as customizing date pickers or creating their own icons like Remix. Additionally, some libraries like Markdown may not be readily available.</p><p>In contrast, Flutter has a vast range of available third-party libraries with various use cases. It’s highly likely that developers will find the specific library they need for their project, as the Flutter ecosystem is robust and constantly growing.</p><h4>Platform Supported</h4><p><strong>React Native</strong></p><ul><li>Android &amp; IOS</li></ul><p><strong>Flutter</strong></p><ul><li>Android, IOS, Desktop (Mac, Windows, Linux), and Web</li></ul><h4>Learning Curve</h4><p>Both Flutter and React Native are considered to be beginner-friendly frameworks. They provide a relatively easy learning curve for new developers who are just starting out in mobile app development.</p><h4>Company and Project that use The Framework</h4><p><strong>React Native</strong></p><p>Numerous prominent companies, such as Microsoft, Meta, and Shopify, have used React Native to build their mobile applications. A complete list of these companies and their respective apps can be found on the React Native showcase page. You can find the complete showcase here <a href="https://reactnative.dev/showcase">https://reactnative.dev/showcase</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iaRqyv8CctWMCgOXa-4aFA.png" /><figcaption>Companies that use React Native</figcaption></figure><p><strong>Flutter</strong></p><p>On the other hand, Flutter is widely adopted by small to medium-sized companies and startups, and its usage is continually growing. For instance, GoTo, one of Indonesia’s unicorns, has been known to use Flutter for its research and development efforts. You can find a comprehensive showcase of Flutter’s adoption here <a href="https://flutter.dev/showcase">https://flutter.dev/showcase</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1N2vPW2QyZ7bYT3B287-dQ.png" /><figcaption>Companies that use Flutter</figcaption></figure><h3>Next steps</h3><p>Both technologies are continuously evolving and improving, and there is no clear winner between them. It is important to choose the technology that best fits your needs and requirements, while also considering the specific demands of your business. Evaluating factors such as performance, scalability, ease of development, and community support can help you make an informed decision and achieve your business goals.</p><p>React Native development may take longer than Flutter development because React Native is open-source and maintained by the community, while Flutter is developed and maintained by Google. However, it’s worth noting that React Native also has corporate support from companies like Microsoft and Facebook, which may contribute to its ongoing development and improvement.</p><h3>Resources</h3><ol><li><a href="https://reactnative.dev/">https://reactnative.dev/</a></li><li><a href="https://flutter.dev/">https://flutter.dev/</a></li><li><a href="https://www.freecodecamp.org/news/what-is-flutter-and-why-you-should-learn-it-in-2020/">https://www.freecodecamp.org/news/what-is-flutter-and-why-you-should-learn-it-in-2020/</a></li><li><a href="https://www.nomtek.com/blog/flutter-vs-react-native">https://www.nomtek.com/blog/flutter-vs-react-native</a></li><li><a href="https://www.simplilearn.com/tutorials/reactjs-tutorial/flutter-vs-react-native">https://www.simplilearn.com/tutorials/reactjs-tutorial/flutter-vs-react-native</a></li><li><a href="https://fireart.studio/blog/flutter-vs-react-native-what-app-developers-should-know-about-cross-platform-mobile-development/">https://fireart.studio/blog/flutter-vs-react-native-what-app-developers-should-know-about-cross-platform-mobile-development/</a></li></ol><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8de6ec12cf60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Boost Your Productivity with ChatGPT — The Ultimate Tool for Efficiency]]></title>
            <link>https://fakrii.medium.com/boost-your-productivity-with-chatgpt-the-ultimate-tool-for-efficiency-8a49bcf59b18?source=rss-252bc187195------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a49bcf59b18</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[prompt]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Fakrii]]></dc:creator>
            <pubDate>Sun, 09 Apr 2023 12:07:03 GMT</pubDate>
            <atom:updated>2024-11-28T04:54:06.552Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="https://medium.com/@syubbanfakhriya/list/llm-for-productivity-d26b6f82c242">LLM for Productivity</a></h4><h3>Boost Your Productivity with ChatGPT — The Ultimate Tool for Efficiency</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*zeOleUiSeZZtL0SJARrn9A.jpeg" /><figcaption>From <a href="https://tekno.kompas.com/read/2023/02/20/18010087/cara-mudah-menggunakan-chatgpt-openai-di-hp-dan-laptop?page=all">https://tekno.kompas.com/read/2023/02/20/18010087/cara-mudah-menggunakan-chatgpt-openai-di-hp-dan-laptop?page=all</a></figcaption></figure><p>If you’re seeking to increase your productivity and streamline your workflow, ChatGPT is the ultimate solution. This advanced AI tool is designed to help you stay organized, manage your tasks and optimize your time. Whether you need assistance scheduling meetings, prioritizing assignments, or generating new ideas, ChatGPT has got you covered. Its intuitive interface and powerful functionality make it the perfect tool for individuals seeking to maximize productivity and achieve their goals.</p><p>As someone who has experienced the benefits of ChatGPT firsthand, I can confidently attest to its revolutionary nature and ability to improve work performance. In this article, I will share my insights and demonstrate how ChatGPT can significantly enhance your efficiency, streamline your workflows, and enable you to achieve more in less time. With ChatGPT, you can take control of your productivity and work smarter, not harder.</p><h3>What is ChatGPT?</h3><p>According to the Wall Street Journal (<a href="https://www.wsj.com/articles/chatgpt-ai-chatbot-app-explained-11675865177">link</a>), ChatGPT is an artificial intelligence that can interact in a conversational way on various topics, or all topics. The dialogue format makes it possible to answer follow-up questions, admit mistakes, challenge incorrect premises, and reject inappropriate requests (based on the official <a href="https://openai.com/blog/chatgpt">website</a>).</p><p>ChatGPT’s model is trained on a compilation of articles, images, websites, and real-time conversations by human contractors (if you are interested in the technical aspect of GPT you can read the here <a href="https://www.marktechpost.com/2023/02/27/meet-chatllama-the-first-open-source-implementation-of-llama-based-on-reinforcement-learning-from-human-feedback-rlhf/">link</a>). ChatGPT is one of the products that was developed by a company named OpenAI, which is led by Sam Altman (if you are interested in OpenAI history, follow this <a href="https://www.businessinsider.com/sam-altman-chatgpt-openai-ceo-career-net-worth-ycombinator-prepper-2023-1#in-2014-at-the-age-of-28-altman-was-chosen-by-y-combinator-founder-paul-graham-to-succeed-him-as-president-of-the-startup-accelerator-8">link</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GViT34ctGXdNKieJXrNslA.jpeg" /><figcaption>Some ChatGPT usage images from @openaicommunity</figcaption></figure><h3>How to access it?</h3><p>ChatGPT is free during the research preview (it came with a premium subscription recently), here is the step by step to access it.</p><p>(1) Visit <a href="http://chat.openai.com/">chat.openai.com</a> then press the login button (there is no need to do this if you already logged in).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*E7ro3rJY1X92rLwqxWK3vw.png" /><figcaption>First-time page</figcaption></figure><p>(2) For first-time users, you need to create an account by clicking the sign-up button. You will be required to provide an email address for verification purposes, or you can use an OAuth provider like Google or Microsoft.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*511s79dTYRCR20zSUXH5mA.png" /><figcaption>Authentication page</figcaption></figure><p>(3) After completing the above process, you will be redirected to a page like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqoL_JG4cakNYb3sq33MMw.png" /><figcaption>ChatGPT homepage</figcaption></figure><p>(4) Happy prompting!</p><h3>Maximize ChatGPT Usage to Boost Productivity</h3><p>Here, I will provide you with a few examples of how ChatGPT can be utilized in various roles or tasks. ChatGPT can be a powerful tool in several contexts.</p><h4><strong>Jobseeker (I hope anyone who still finding a job, will get the best job for them)</strong></h4><p>P<strong>racticing Interview</strong></p><p>Preparing for a job interview can be daunting, but ChatGPT can help by <strong><em>simulating an interviewer and providing potential questions that you may encounter during a real interview</em></strong>. By asking ChatGPT to perform as an interviewer, you can practice your responses and feel more confident going into the actual interview. This can ultimately help you stand out as a candidate and increase your chances of being hired.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*piu2upwpk2jdQGqNSacRNQ.png" /><figcaption>Sample of general interview questions</figcaption></figure><p>When practicing for a job interview with ChatGPT, you can also <strong><em>generate sample generic answers</em></strong> to common interview questions. By inputting prompts and criteria for your desired response, ChatGPT can generate a personalized and well-crafted answer that can be used as a reference during the interview. This can help you feel more prepared and confident, ultimately improving your chances of succeeding in the interview process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*bjXsxlht7pmCo9vLWJNoig.png" /><figcaption>Sample of the general interview answer</figcaption></figure><p><strong>Writing and Fixing Resume</strong></p><p>When applying for a job, it is important to submit an ATS-friendly resume that adheres to specific guidelines for formatting and content. These guidelines include how to write about your experiences, background, and skills. Fortunately, ChatGPT can be used to assist in writing an effective resume that meets these requirements. By providing prompts and input, ChatGPT can generate a personalized and ATS-friendly resume that highlights your qualifications and improves your chances of landing an interview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*EhWdMNvJ9yAo071z-RlqpQ.png" /><figcaption>Sample ATS-friendly working experience</figcaption></figure><p><strong>Create Email Template</strong></p><p>By simply asking ChatGPT, you can easily generate a <strong><em>follow-up email</em></strong> after an interview. This can save you time and effort in crafting an effective follow-up message, allowing you to focus on other important aspects of the interview process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*LAMjd4KqUxG5Tv4T9MGBDA.png" /><figcaption>Sample email for following up on interview result</figcaption></figure><p>If you’re <strong><em>applying for a position</em></strong> and need help crafting a compelling email, you can easily provide some context about the job and the company to ChatGPT. It can then generate a personalized email for you to send, which can highlight your qualifications and express your interest in the position, thereby increasing your chances of landing an interview.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*0Vm67dvIi0g8Hm9aYavwmQ.png" /><figcaption>Sample email for applying for a position</figcaption></figure><h4><strong>Programmer</strong></h4><p>As a programmer, I often rely on ChatGPT to generate unit tests for my code, as well as to fix bugs, improve performance, and even explain certain pieces of code (with my intervention to verify the results). With ChatGPT, I can streamline my coding process and improve the efficiency and quality of my work.</p><p><strong>Generate Unit Test</strong></p><p>Unit tests are needed to ensure the quality of program and the error prevention in the future, it was money-saving. We can utilize the ChatGPT to write code for us although the generated unit test sometimes does not work as is; it requires programmer intervention but it was really worth building a basic understanding if you are not sure what should be tested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D1oaoP6PbdFJVbG_9wNX-g.png" /><figcaption>Writing unit tests</figcaption></figure><p><strong>Explain Code</strong></p><p>Here is an example of how we can ask ChatGPT to explain a piece of code that we do not understand. Sometimes when we read the code in documentation, tutorial, or other people&#39;s code in the same project it was confusing (it will be worse when the codebase is messy). So the ChatGPT will come to help.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V1ieSy8H433jGR9cksZW4Q.png" /><figcaption>Explaining code</figcaption></figure><p><strong>Generate Code Skeleton</strong></p><p>Just by providing a few prompts, ChatGPT can generate the code I need, incorporating the technologies, frameworks, and version preferences I’ve selected. This not only saves me a significant amount of time for each project but also helps me to maintain organized and up-to-date documentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jdk_MubssE97F39xmvSdw.png" /><figcaption>Code skeleton</figcaption></figure><h4><strong>Study Assistant</strong></h4><p>If you want to provide a summary of an article or journal, it’s important to not only copy its title but also include relevant parts of its content. By doing so, you can ensure that your summary accurately reflects the key points and arguments presented in the original text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcuoLvZhB3zYKhBnvGA5MQ.png" /><figcaption>Summarizing things</figcaption></figure><p><strong>Writing Quiz</strong></p><p>We can ask ChatGPT to generate questions (and answers) about a book or any source that we have just completed studying, in order to test our understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-QcysdOxwePkcvI5WJZcA.png" /><figcaption>Write quiz to deepen knowledge</figcaption></figure><p><strong>Explaining Things</strong></p><p>Frequently, terms, topics, or other related concepts found in textbooks or articles can be difficult and complex to understand. However, with ChatGPT, it is possible to have these topics explained in a simplified manner, similar to how you would explain it to a 5-year-old or someone who is new to the subject. This feature can be especially helpful for those who are struggling to grasp a certain concept or looking for a quick and easy way to understand it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8mBjOJpLO1lzGQ8s7m4og.png" /><figcaption>Explain topic</figcaption></figure><h4>Daily Assistant</h4><p><strong>Workout Schedule</strong></p><p>If you’re keen to start working out but feeling overwhelmed and unsure of where to begin, ChatGPT can help simplify the process. With its expertise in creating personalized workout schedules, ChatGPT can design a program that is tailored to your specific fitness goals and needs. So instead of feeling lost and unsure about your workout routine, let ChatGPT take the lead and guide you toward a healthier, fitter you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BqdQKY9nJikMGf8YHYQ6qQ.png" /><figcaption>Workout Schedule</figcaption></figure><p><strong>Cook Assistant</strong></p><p>If you’re feeling indecisive about what dishes to prepare for breakfast, lunch, or dinner, and unsure of where to find the right recipes, ChatGPT can come to the rescue. By simply prompting ChatGPT, you can get access to a wide range of recipe options for each mealtime, all customized to suit your dietary preferences and restrictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hx_XgIDXAMfzemyE1fkGqw.png" /><figcaption>Cook Assistant</figcaption></figure><p><strong>Gardening Tips</strong></p><p>If you enjoy spending your free time tending to your garden, ChatGPT can be an excellent resource to help you with everything from preparing your garden to nurturing your plants. With its vast knowledge of gardening techniques, ChatGPT can provide valuable advice on everything from choosing the right plants for your climate to creating a watering schedule that meets your garden’s needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LkukxUu92jLGk7S6Za6KFQ.png" /><figcaption>Gardening Tips</figcaption></figure><p><strong>Breakdown Vehicle</strong></p><p>It’s difficult to imagine the unfortunate scenarios that can occur in our daily lives, such as experiencing a vehicle breakdown in the middle of a busy street. However, with the help of ChatGPT, we can prepare ourselves for such situations and know exactly what steps to take.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6kzldX1zRCoKfAtyKZV-4Q.png" /><figcaption>What should we do when our car a breakdown</figcaption></figure><p><strong>Calculate or Solve Problem</strong></p><p>As a student or teacher, you may encounter moments where you struggle to solve a problem or find yourself short on time when preparing for a test or lecture. This is where ChatGPT can come in handy. ChatGPT can help you quickly and easily find the answers you need for study purposes (use it wisely).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbZ4AE0JkdcgCv76A8j6nw.png" /><figcaption>Solving physics problem</figcaption></figure><h4>And much more things that you can unleash by prompting your creativity in chatGPT</h4><h3>Will AI replace humans?</h3><blockquote>While it is not currently possible, in the future, humans who use AI may replace some human jobs as AI continues to transform industries. Therefore, it is important to use AI wisely. Mastering prompts requires a simple and effective language, particularly English.</blockquote><p>FYI I write this article with little help from ChatGPT too ✌️ (sorry for my English because I think the AI is smart enough to understand my prompt).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*ccL-UJE2Vw3eM4bu37oSWA.png" /><figcaption>Some content writing is assisted by AI</figcaption></figure><p>Here is an interesting story written by medium about AI intervention in their content writing :</p><p><a href="https://blog.medium.com/how-were-approaching-ai-generated-writing-on-medium-16ee8cb3bc89">How we’re approaching AI-generated writing on Medium</a></p><p><strong>Thanks for reading this article. Don’t forget to clap</strong>👏<strong>/recommend as much as you can and also share </strong>📤<strong> with your friends. It means a lot to me.</strong></p><p><strong>Also, Let’s become friends on </strong><a href="https://www.linkedin.com/in/syubban/"><strong>Linkedin</strong></a><strong> or </strong><a href="https://www.instagram.com/syubbanfy/"><strong>Instagram</strong></a><strong>. See you in the next article!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a49bcf59b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>