SkillsC#, C++, Java, Kotlin, Python
Joined devRant on 10/3/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I'm studying Databases and I'm getting confused about Foreign Key.
A Foreign Key made reference to Primary Key of another table. But what's the point? Can't I simply use a value and select requested data where TableA value is equal to TableB value?
Sorry if I didn't explain it well, I'm so confused lmao7
In Flutter I have to display in a ListView all the days of the current month, but starting from current day
I was thinking to get the number of days and the corresponding day (Monday, ecc.) saving them in an Array and then create the widgets dynamically in the ListView.
But I have no idea on how to achieve the corresponding day.
I need something like in the image
I was watching some mobile coding stuff and I've discovered Flutter.
I've seen a lot of people hyped for this framework, so I've downloaded a couple apps made with it.
Amazing UI and animations, but everything feels laggy.
Then I've tried it, and I don't see why all this hype. I fell better build mobile app on the "classic" way (Kotlin/xml). Is it me, or Flutter is overrated?7
I have a question about Android dark theme
I've added dark theme support for my application using 2 different themes declared in styles.xml.
On official android developer site:
"In order to support Dark theme, you must set your app's theme (usually found in res/values/styles.xml) to inherit from a DayNight theme"
and this is what I've done. I've also created colors-night.xml to avoid modifying colors that cannot be modified in styles.xml by coding and this works too: when dark mode is activated from device system, colors changes automatically.
At this point, I was wondering which is the best way to implements dark theme: creating 2 different themes, using colors-night (and drawable-night) or a combination of these 2 ways?
I have a question about UI/UX
I have multiple settings that user can toggle on/off.
Those settings are used to customize notifications (it's an app that saves notes to notifications)
I was wondering if I should use checkboxes or switch18
The next year I have to choice University faculty. I don't know if pick up computer technology or computer engineering.
What are the main differences and which is more "convenient"?4
Test the project pre-release -> everything works well
Release the project -> new bugs comes out, features are not working anymore, some files are corrupted, your PC is ready to explode and a black hole is going to destroy everything1
Just a question, is possible in Android Studio to display a fractions using strings?
For example, instead of (m1 + m2) / v2 use a fractions2
*based on a true story*
Co-worker: Let's release it
Me: Wait, I want to add just a little feature
Co-worker: Is it necessary?
Me: Trust me
*5 minutes later*
Co-worker: So, have you finished implementing your "little feature"?
Me: Yeah, well, it's done. Maybe.
Co-worker: What the hell have you done?
Me: MAYBE I've added 647 lines of codes to the file to implement my little feature, MAYBE it doesn't works and MAYBE the entire project is compromised
Just switched from Windows 10 to Manjaro Linux
Glad to see that I can do something (like web search) without bugs, crash, freeze and lag10
Create the project of your billionaire app idea -> spend 1 week working on it -> realize that actually sucks -> repeat5
Developer: we have a problem
Manager: remember, there are no such things as problems, only opportunities.
Developer: Well then, we have opportunity to recreate the entire project we're working on 2 years2
One week ago I've made a work plane to divide features development day by day, obviously procrastinating
This morning I realized the project release was today
I made an entire mobile app with a plethora of features without bugs in an afternoon.
Never worked so hard in a so limited time without problems.
Short story of a developer
0) Don't know how to do something
1) Search for hours on internet
2) Find only crappy codes
3) Try a crappy code
4) Realize that it works only for who created the code (What the hell...)
6) Ask on forums
7) Get downvote without any reason
8) Receive useless answer
9) Delete project6
Co-worker: Why are you deleting this piece of code?
Me: It's deprecated and it can be made in a better way. Don't worry, I know what I'm doing
Also me: OH SHIT THE ENTIRE PROJECT IT'S RUINED4
Friend: So, you can program
Friend: nice, can you hack a Facebook profile?