My senior dev colleague recommended me this book saying if I want to become a good software engineer, this book is a must. I heard about it from others as well.
It was published in 2008 by the man who has been coding since 1970s, but it seems, the principles he describes are
I have been leetcoding for a few days.
But this time I changed the strategy, so instead of trying to solve random problems, I tackle a set of problems related to a single pattern.
Now its a sliding window pattern, and after a few days of suffering I finally see some light✨
Hats off to the best series on Java Multithreading topic I have ever seen.
It never appeared to me, that such comprehensive concepts could be so well illustrated✨
Those diagrams that show how communication happens behind the scenes, make the external abstractions so easily
@engineering_bae
But honestly I wouldn’t personally compare these 2 books, cause Head First Design Patterns focuses on reusable solutions to common problems in software design, while Clean Code touches the principles of writing clean, maintainable, and understandable code. So they are talking
First you start building Next js fullstack app with
@jsmasterypro
, and then you deep dive into what are the asynchronous callback functions in Javascript. But at this point you already see the real use case of it in front of you and completely understand how it works and used in
Instruction on how to get viral on tech twitter:
1. Choose a programming book that everyone loves and hates at the same time. Just hates is enough as well.
2. Say something nice about it.
3. You got it.
My senior dev colleague recommended me this book saying if I want to become a good software engineer, this book is a must. I heard about it from others as well.
It was published in 2008 by the man who has been coding since 1970s, but it seems, the principles he describes are
Finished AddEditNote screen. It will add notes to default Notes folder if navigating from the main screen. Otherwise, it will go to selected folder.
Today I will be exploring swipe delete functionality in Jetpack Compose.
P.S. the notes divider goes crazy when zooming device
Slow, but steady progress🗒️✨
At some moment I got hung up on exploring different kinds of Flows in Kotlin, and then realized that digging too much into this topic is not crucial for the scope of this project.
💡Striving for perfection is what sometimes might slow you down.
I built a Landmark Explorer app with Google's New AI Gemini! You can now easily integrate the Gemini API into your Android app.
Things you'll need to get started:
- Be in USA or connect to VPN (currently it only works in USA)
- Get an api key from
-
Focus of the day: Android testing with
@plcoding
Before I proceed with building a project on my own, I want to be able to properly test each component, following best practices of Test-driven development (TDD).
I am forced to go to the office twice a week, while nobody from my team will ever be around, cause they live in a different location. It was fun until made mandatory..
Have any of you had such experience, and how did you feel?
I have started working on AppleNotes Clone. As a part of MVP it will have basic functionality and similar design. I will use Todo App project structure as a sample and will add new functionality on top of that.
Today I have been working on Folder screen UI.
I have just finished a simple CRUD Todo App!
What I learned:
- MVVM Architecture
- Kotlin coroutines and flows
- Dependency injection with Dagger Hilt
- Room database
- ViewModel interaction with repository and UI
- Lazy Column in Jetpack Compose to render lists
#androiddev
Soo.. with a bit of trial and error, yesterday I was able to populate initial data via custom RoomDbInitializer, in order to facilitate development and testing. It allows me to focus on one Screen at a time and manipulate the real data upfront.
1.5 hours of Spring security with
@AmigosCode
completed. (actually it took around 4 hrs in total cause I had so many questions to address to my poor AI buddy along the way🥲)
This course is just so great, I not only dive into the security framework itself, but also strengthening
1. Stop watching tutorials.
2. Go start a project on your own, get stumped for months, read random solutions from stackoverflow, cry your eyes out because nothing works as expected and wish you have chosen a different career.
Or…
1. Watch people building real world projects
Not me being back from Croatia and already planning next vacation trip in my head instead of focusing on work💆🏻♀️
Why is it so hard to get back to normal😭
@andreiacribeir
I doubt there is any language out there that hasn’t been hated. Each of them has their goods and bads, at the end, one should focus on which language/stack fulfills their requirements
Good morning everyone! After a long break, yesterday I made some progress with my Notes app. I focused on defining data structure:
- entities
- repositories
- dao
- relation
-dagger hilt injection setup
Started using Github Copilot Chat at work and I love it!
Since it knows the project inside out, the answers are much more precise than in ChatGPT.
Anyone used it already? How do you like it?
If I could start over with my coding journey, I would have never tried to learn a programming language just because it’s cool or popular.
Unless you have an idea of what to build with what you are learning, you will likely stop doing that very soon.
A friendly reminder to my fellow coders:
If you are stuck with some error, or don’t fully understand how things work under the hood, and you feel overwhelmed, your eyes are burning, but you are still trying to see some light… just remember:
IT’S OKAY!
You don’t have to do
Me waiting for my Github Actions workflow to complete, at the same time wondering how I ended up DevOpsing again.
For those who didn’t know, I have been a DevOps for 3 years before becoming a Java dev and waiting for pipelines to complete was the most painful part of that job.
I spend hours to understand a medium level sliding window pattern question on a leetcode. Let alone to solve it completely on my own.
I cannot imagine big companies expect you to solve one and optimize it in 45 minutes.
Or am I just not a leetcode material?🫠
This was the most confusing topic for me in Tailwind…
Like seriously, why would you call it “sm” and then tell people not to think about it as small devices, but “at the small breakpoint”?
I appreciate the null safety in Kotlin. But sometimes I wish I didn’t have to deal with those null checking cases. It’s like waiting to cross a pedestrian line when you are in a hurry and there are no cars on the horizon.
Whenever I can’t get something through my head, I draw a diagram. This is how it looks like, and it reaally helps.
What do you do, when you don’t quite get it?
#learningcode
#androiddev
@andreiacribeir
I find it extremely useful as a personal tutor. I just make sure to never accept any of his answers blindly, but questioning every each of them. Given that GPT-4 now has access to the internet, is it any different from surfing through Google search or stackoverflow?
I decided to learn something new every day. It could be science, history or any other field that is appealing to me at this moment (apart from programming , cause I do this anyways :D) Today it will be a documentary about Alexander the Great.
✨Form validation in Next JS -
(Client Side + Server Side)✨
Client side validation is the first thing that comes to mind when submitting a form. It’s a good practice to do that on a client side before we hit a server.
But.. what if a user has disabled Javascript in a browser?
The great advantage of Composable functions is their reusability. Jetpack has lots of built-in functions, such as different kinds of buttons, textfields, layouts, etc.
But you can also create your custom reusable Composables, and here is how:
Roughly a month ago
@taruza_
showed me how to effectively use Twitter. I could not even imagine to grow so fast in here.
Thank you all for staying with me on this journey 🙌
Today in the morning I was going to start learning Golang Websockets, when one hour later, out of the blue, I changed my mind to start learning microservices with Spring Boot. And I always wondered why I tend not to finish my projects🥲
Ever heard of Strategy Design Pattern?
I recently had a chance to implement it for the validation mechanism at work. There were a few different algorithms to be implemented based on a specific type.
At first I thought its not a bad idea to just "switch" through each type and
Today in a Sprint review I need to present the tasks I finished 2 weeks ago before vacation. Meanwhile, Im trying to recall what our project was about.
The great thing about
#buildinpublic
is that you can track a moment when you stopped being consistent. You can look at your past self and analyze what made you start shifting priorities.
- How many animations would you like to have on the landing page?
- Yes!
Did all that with framer motion, and it's actually super easy to make!
@framer
Today I really enjoyed Java coding at work. Im working on a validation mechanism that involves lots of attributes mapping and iterations through entry sets. And I had a huge mess in my methods logic, so people would definitely have a hard time to understand it. I did some
Have a look at this
Deep down I always wondered why Java makes us do so much to just read a file.
And turns out its a perfect representation of a shallow module🥲
I must admit, I threw away an idea to continue reading Clean Code.
I was too naive assuming that after that amount of hate I will still be able to do it.
Like whatever, I’ll just stay super conscious and will make sure I filter out all the garbage from it, taking only what’s
@Sanji_vals
As long as you understand how things work under the hood, follow best practices of clean and secure code, and not just blindly copy pasting what was suggested, I dont see a reason of not using AI tools in your daily work if it increases your productivity.
Today I spent roughly 3 hours trying to fix something that did not have to be fixed. Simply because my mind led me to completely wrong assumptions, while the answer was already present to me from the beginning…🫠
I am wondering, if it will get any better with years of
Do you like your PRs to be roasted?
I got nearly 30 comments on my last one.
At first it felt annoying, but at the end I realized that it helps me to grow.
A quick approval might feel as a relief, but it certainly does not make you any good in the long run.
The only situation when you are happy to see your test failing is when you see this yellow X icon, cause at this point you realize, it's not about shitty runtime errors anymore, but your assertions.
@LeahTCodes
This often happened to me because the library version mismatch which resulted in some function deprecations. Keeping that always in mind, helps me quickly solve those issues
Errors in your code mean you’re trying to do something cool. No errors = no growth.
Do you have a fear of failures in coding? How do you handle it?
#buildinpublic
Played a bit with Next.js dynamic api routes and react useEffect..
Lesson learned to set session value as a dependency array to useEffect, otherwise (if array is empty), this guy will be executed only once. And as you can see, at first session is undefined.. and I was wondering
Finally I was able to import Airtable data to
@supabase
I had to also setup a many-to-many relationship between tables through the junction table (which will store the relations).
The only challenge I encountered is to fetch data from one table joint with another through that
@andreiacribeir
1. Find videos on youtube where people build real world projects from top to bottom
2. Repeat from them
3. Clone the git repo if available (very often they are)
4. Explore the project, google or gpt things you dont understand
5. Come up with a similar project idea from what you
Today I will review the solutions of leetcode sliding window questions I have been fighting with these days.
I will work on the thinking process and try to explain a solution to myself just on a paper before starting to code.
This seems to me the most essential part of any
Hi everyone! Long time no see…
Hope you are all well and healthy✨
I must admit I haven’t had an impulse to post in here for quite a while, though I have been learning and doing some side projects a lot for these past months, and I have so much to share with you guys! So I am
I feel super productive when working from the office. Under one condition though: there should not be anyone in there who I feel obligated to chitchat with.
I have been cheating on Java with this🥲
What can I say, the immediate feedback does feel good!
And sometimes, changing the direction a bit could save you months of burnout big time.
This one was inspired by an incredible Figma design template. Still work in progress, but I
You need to push a bugfix urgently to the main from your feature branch you are currently working on. But you don’t feel like pushing anything else than a certain commit.
git cherry-pick comes in really handy in such case.
Have you heard of it/used it?
#git
#buildinpublic
Finished Tip Calculator app in Jetpack Compose🚀
What I learned:
- modifier is your friend
- relationship between Composables
- usage of lambdas (aka callback functions)
- state hoisting
Credit to
@buildappswithme
for the outstanding Android dev course🔥
#androiddev
I have got an idea to build a micro SaaS app and I need your help
Before I actually start working on it, I need to understand if it is going to be useful.
Would you help me by answering 3 questions in my survey?
Comment below if interested
#buildinpublic
I recently found out a nice feature in JPA: Entity Graph
With this you can eagerly fetch associations only when needed. It looks like a really nice approach to still overcome n+1 problem and not to be forced to fetch eagerly all the time.
#java
#hibernate
#springboot
#jpa
Key factors worth emphasizing:
- Show up regularly, but don’t spam
- Engage with others
- Follow accounts whose field is similar to yours or to what you are passionate about
- Participate in Space on topics you are interested in
- Share about your learning progress
Does it feel weird to you as well, having a conversation about programming in your native language?
I speak Russian, but I never read any materials or watch any programming content in Russian, and it feels sometimes so alien to hear all those definitions they use to name
Went from 0 to 33 followers in 3 days. Not a bad pace I’d say😃 Thanks to all of you. There is such a strong community vibe here in Twitter, and it is so rewarding!
@gigi_dufresne
Yeah its a bit hard to read it as a novel, so I thought I wont have a goal to finish it from top to bottom but I will keep coming back to it at random topics, whichever is relevant to me at this moment, as if it was a some manual🙂
Corporate mandatory trainings be like:
Question: A customer has transferred $40k to an offshore account with suspected criminal connections.
Do you:
A: Follow company protocol and report the suspicious transaction?
B: See how many bananas you can fit in a standard 2 liter
Hello folks! I have recently started my journey as a Java Developer and I am new to Twitter :) Looking forward to connect to other developers! Say hi in comments, so I can follow you 😉
#buildinpublic
#DEVCommunity
#CodeNewbie