Complete Guide to Install Android Studio on Linux
https://linuxtldr.com/installing-android-studio/
#AndroidStudio ##Programming #DeveloperTools #TechTutorial #AndroidDevelopment #LinuxTips #AndroidApp #ProgrammingTips #LinuxTutorials #AndroidDev #CodingCommunity
#codingcommunity #androiddev #linuxtutorials #programmingtips #androidapp #linuxtips #Androiddevelopment #TechTutorial #developertools #programming #androidstudio
β INCORRECT:
catch (error) {
// swallow error
}
β
CORRECT:
catch (error) {
// vore error
}
#programmingtips #happyvoreday
Here's a quick #Python recipe for generating a copy of a list with duplicates removed while preserving order in O(n) time.
>>> input_list = ["a", "c", "a", "b"]
>>> list(dict.fromkeys(input_list))
['a', 'c', 'b']
This works because:
Python dictionaries preserve key insertion order (since 3.6).
dict.fromkeys(...) constructs a dictionary where the keys are the values returned from an iterable object.
Iterating over a dictionary returns the keys in order.
Recently, tackled 13 flaky integration tests π². The culprit? 'os.kill(self.pid, signal.SIGTERM)' π§ββοΈ spawning zombies. The fix: just add 'os.wait()' βοΈ. A reminder: sometimes, quirks hide at the OS level. Broaden your perspective to find solutions π . #python #softwareengineering #programmingtips
#python #softwareengineering #programmingtips
You might have extended classes or instances in #Rails, but did you know you can also extend Rails associations? https://www.fastruby.io/blog/rails/how-to-extend-rails-associations.html?utm_source=Twitter&utm_medium=Tweet&utm_campaign=Rails&utm_term=extended-classes&utm_content=association&utm_id= #rubydev #rubyonrails #programmingtips
#rails #rubydev #rubyonrails #programmingtips
π Get ready for a #TechBlogBonanza! π Our latest post delves into the vast universe of programming, optimization, and more. Join us as we navigate through this diverse realm! β¨
https://www.eliza-ng.me/post/thetwosfromthet/
#TechGeeks #ProgrammingTips #OptimizeYourCode #Blogging
#techblogbonanza #techgeeks #programmingtips #optimizeyourcode #blogging
#LifeHack #ProgrammingTips avoid commenting your code in order to save up to multiple nanoseconds of compilation speed and several kilobytes of disk space π
You might have extended classes or instances in #Rails, but did you know you can also extend Rails associations? https://www.fastruby.io/blog/rails/how-to-extend-rails-associations.html?utm_source=Twitter&utm_medium=Tweet&utm_campaign=Rails&utm_term=extended-classes&utm_content=association&utm_id= #rubydev #rubyonrails #programmingtips
#rails #rubydev #rubyonrails #programmingtips
When I'm programming i have to use different cables (micro usb, type c or lightning), i like to use Baseus magnetic cable. Then i just use one to rule all my devices. #programming #programmingtips #ios #android
#programming #programmingtips #iOS #android
Move constants to separate files to make them reusable. Do NOT copy-paste definitions of constants across files. Import of constants from modules prevents from:
- typos
- inconsistencies if you eventually update a value.
The same about functions, classes and other types btw. Constants are just the simplest example
Struggling with Git? If so, check out this comprehensive cheat sheet to help you master Git! #cheatsheet #programmingtips #networkautomation #git https://www.gitkraken.com/pdfs/git-basics-cheat-sheet
#CheatSheet #programmingtips #NetworkAutomation #git
**.NET Dependency Injection** It doesn't hurt.
When using dependency injection in .NET Core, choosing the right lifetime scope is key. Transient services are good for lightweight, stateless services that are created every time they are requested. Scoped services are suitable for services with limited lifetime that are shared within a single request. Singleton services are best for expensive, stateful services that are shared across the entire application. Choose the right scope for your service to ensure optimal performance and functionality. Here is more: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/dependency-injection#DependencyInjection #NETCore #ProgrammingTips #TransientVsScopedVsSingleton
#netcore #programmingtips #transientvsscopedvssingleton
**Different Ways of Mocking in Unit Testing**
Mocking is a crucial part of unit testing, and there are different ways to do it. You can use interfaces for loose coupling, such as mocking external services like a database. Delegates are great for flexibility when you need to pass behavior as a parameter, like sorting or filtering. Virtual methods are ideal for inheritance, like mocking abstract base classes or overwriting methods in a derived class. Each approach has its own pros and cons - which one you choose depends on your specific needs and preferences. #MockingInUnitTesting #ProgrammingTips #InterfacesVsDelegatesVsVirtual #ITExplainer
#mockinginunittesting #programmingtips #interfacesvsdelegatesvsvirtual #itexplainer
Aside from the stated components, a framework also has others like API, toolsets, compilers, and support programs to function properly. Understanding the framework you're using helps you know if it suits your plan.
#programmingtips
#introduction - Explaining complex topics in computer science, coding, hardware and all tech in easy terms for a wide audience - that's our goal! From the latest scientific breakthroughs to intricate technological concepts, we'll break it down in a way that's accessible to all. Stay tuned for fascinating insights that anyone can understand. #SimplifyingComplexity #ExpertExplanations #KnowledgeForAll
#CodeLife
#HardwareHacks
#ProgrammingTips
#TechTalks
#CodeCommunity
#HardwareUpdates
#CodingSkills
#TechSavvy
#HardwareTech
#introduction #simplifyingcomplexity #expertexplanations #knowledgeforall #codelife #hardwarehacks #programmingtips #techtalks #codecommunity #hardwareupdates #codingskills #techsavvy #hardwaretech
You might have extended classes or instances in #Rails, but do you know you can also extend Rails associations? https://go.fastruby.io/97h #rubydev #rubyonrails #programmingtips
#rails #rubydev #rubyonrails #programmingtips
π±π Make it easy to share media from external apps to your #Flutter app with the #share_handler package with multiple flavor support config.
π¨βπ» Check out the latest article on effortless sharing here π
https://saileshdahal.com.np/sharing-media-from-external-to-flutter-app
.
.
.
.
#Flutter #MobileDevelopment #ProgrammingTips #ShareMedia #FlutterTips #share #media #flutterdeveloper #flutterdev #fluttercommunity #android #ios #dart #mobileappdevelopment #hybrid @FlutterComm
#flutter #share_handler #mobiledevelopment #programmingtips #sharemedia #FlutterTips #share #media #flutterdeveloper #flutterdev #FlutterCommunity #android #iOS #dart #mobileappdevelopment #hybrid
ChatGPT meta! Here's how we can access OpenAI endpoints.
Like, share, and remember to follow for more software engineering topics!
#OpenAI #ChatGPT #meta #programming #howto #tutorial #dotnet #dotnetcore #csharp #webapi #programmingtips
#openai #chatgpt #meta #programming #howto #tutorial #dotnet #dotnetcore #csharp #webapi #programmingtips
Did you know JDK is an acronym that means "Just Ducking Kidding"? :) #ProgrammingTIps