๐จ LATEST: JPMorgan says Bitcoin's real risk isn't Strategy's sales but blockchain adoption via permissioned infrastructure that bypasses public chains and tokens.
Hi @elizaOS ,
Missed $AI16Z tokens to $ELIZAOS migrate, and they are still in my private wallet.
@elizaos_ai โ Is there any official fallback process, smart contract pool, or manual appeal for holders who missed the cutoff? Appreciate any guidance! ๐
๐ช๐ต๐ฎ๐ ๐ถ๐ ๐๐ผ๐บ๐ฎ๐ถ๐ป-๐๐ฟ๐ถ๐๐ฒ๐ป ๐๐ฒ๐๐ถ๐ด๐ป?
Domain-Driven Design (DDD) is the approach to software development that enables us to translate complex problem domains into rich, expressive, and evolving software. It's how we design applications when the needs of our users are complex.
Conceptualized by Eric Evans, who wrote the bible of DDD (known as the Blue Book), DDD's primary technical benefits are that it enables you to write expressive, rich, and encapsulated software that is testable, scalable, and maintainable.
The main elements of DDD are:
๐ญ. ๐จ๐ฏ๐ถ๐พ๐๐ถ๐๐ผ๐๐ ๐๐ฎ๐ป๐ด๐๐ฎ๐ด๐ฒ
The Ubiquitous Language can only be learned by talking with domain experts. Once agreed upon, it enables developers to connect the software implementation to what occurs in the real world.
๐ฎ. ๐๐ป๐๐ถ๐๐ถ๐ฒ๐
Domain objects that we care to identify. Things like User, Job, Vinyl, Post, Comment, etc. Entities are compared by their unique identifier (usually a UUID or Primary Key).
๐ฏ. ๐ฉ๐ฎ๐น๐๐ฒ ๐ผ๐ฏ๐ท๐ฒ๐ฐ๐๐
Value objects have no identity. They are attributes of Entities. E.g., Name as a Value Object on a User.
๐ฐ. ๐๐ด๐ด๐ฟ๐ฒ๐ด๐ฎ๐๐ฒ
These are a collection of entities bound together by an aggregate root. The aggregate source is the thing that we refer to for lookups. No members from within the aggregate boundary can be referred to from anything external to the aggregate. This is how the aggregate maintains consistency.
๐ฑ. ๐๐ผ๐บ๐ฎ๐ถ๐ป ๐บ๐ผ๐ฑ๐ฒ๐น
Domain and model have their meanings in domain-driven design. Domain refers to the details of the problem you want to solve. The knowledge about the business, its operations, terminologies, rules, goals, and objectives. By knowing all this, the problem is defined.
๐ฒ. ๐๐ผ๐บ๐ฎ๐ถ๐ป ๏ฟฝ๏ฟฝ๏ฟฝ๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ๐
This is where we locate domain logic that doesn't belong to any one object.
๐ณ. ๐๐ผ๐๐ป๐ฑ๐ฒ๐ฑ ๐ฐ๐ผ๐ป๐๐ฒ๐ ๐
Bounded context is a central pattern in domain-driven design that contains the complexity of the application. It handles large models and teams. This is where you implement the code after youโve defined the domain and the subdomains.
Bounded contexts represent boundaries in which a particular subdomain is defined and applicable.
๐ด. ๐ฅ๐ฒ๐ฝ๐ผ๐๐ถ๐๐ผ๐ฟ๐
We use repositories to retrieve domain objects from persistence technologies. Using software design principles like the Liskov Substitution Principle and layered architecture, we can design this in a way so that we can make architecture decisions to switch between an in-memory repository for testing.
๐ต. ๐๐ฎ๐ฐ๐๐ผ๐ฟ๐
We'll want to create domain objects in many different ways. We map to domain objects using a factory that operates on raw SQL rows, raw JSON, or the Active Record returned from your ORM tool (like Sequelize or TypeORM).
#technology #softwareengineering #programming #techworldwithmilan #ddd
Android Developers, I have written a series of blogs on Flow API in Kotlin:
Start here:ย https://t.co/jNyHV9KTCV
Please share for maximum reach ๐
#AndroidDev#Kotlin#Android#Flow
๐ข๐ช๐๐ฆ๐ฃ ๐ง๐ผ๐ฝ ๐ญ๐ฌ ๐๐ฃ๐ ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐ฅ๐ถ๐๐ธ๐
Here is the list of the top 10 API security risks in 2023.
๐ญ. ๐๐ฟ๐ผ๐ธ๐ฒ๐ป ๐ข๐ฏ๐ท๐ฒ๐ฐ๐ ๐๐ฒ๐๐ฒ๐น ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป - APIs tend to expose endpoints that handle object identifiers, creating a broad attack surface of Object Level Access Control issues.
๐ฎ. ๐๐ฟ๐ผ๐ธ๐ฒ๐ป ๐๐๐๐ต๐ฒ๐ป๐๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป - Authentication mechanisms are often implemented incorrectly, allowing attackers to compromise authentication tokens or exploit implementation flaws to temporarily or permanently assume other users' identities.
๐ฏ. ๐๐ฟ๐ผ๐ธ๐ฒ๐ป ๐ข๐ฏ๐ท๐ฒ๐ฐ๐ ๐ฃ๐ฟ๐ผ๐ฝ๐ฒ๐ฟ๐๐ ๐๐ฒ๐๐ฒ๐น ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป - The lack of or improper authorization validation at the object property level.
๐ฐ. ๐จ๐ป๐ฟ๐ฒ๐๐๐ฟ๐ถ๐ฐ๐๐ฒ๐ฑ ๐ฅ๐ฒ๐๐ผ๐๐ฟ๐ฐ๐ฒ ๐๐ผ๐ป๐๐๐บ๐ฝ๐๐ถ๐ผ๐ป - Satisfying API requests require network bandwidth, CPU, memory, and storage resources.
๐ฑ. ๐๐ฟ๐ผ๐ธ๐ฒ๐ป ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป ๐๐ฒ๐๐ฒ๐น ๐๐๐๐ต๐ผ๐ฟ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป - Complex access control policies with different hierarchies, groups, and roles, and an unclear separation between administrative and regular functions, tend to lead to authorization flaws.
๐ฒ. ๐จ๐ป๐ฟ๐ฒ๐๐๐ฟ๐ถ๐ฐ๐๐ฒ๐ฑ ๐๐ฐ๐ฐ๐ฒ๐๐ ๐๐ผ ๐ฆ๐ฒ๐ป๐๐ถ๐๐ถ๐๐ฒ ๐๐๐๐ถ๐ป๐ฒ๐๐ ๐๐น๐ผ๐๐ - APIs vulnerable to this risk expose a business flow - such as posting a comment - without compensating for how the functionality could harm the business if used excessively in an automated manner.
๐ณ. ๐ฆ๐ฒ๐ฟ๐๐ฒ๐ฟ ๐ฆ๐ถ๐ฑ๐ฒ ๐ฅ๐ฒ๐พ๐๐ฒ๐๐ ๐๐ผ๐ฟ๐ด๐ฒ๐ฟ๐ - Can occur when an API fetches a remote resource without validating the user-supplied URI.
๐ด. ๐ฆ๐ฒ๐ฐ๐๐ฟ๐ถ๐๐ ๐ ๐ถ๐๐ฐ๐ผ๐ป๐ณ๐ถ๐ด๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป - APIs and the systems supporting them typically contain complex configurations, meant to make the APIs more customizable.
๐ต. ๐๐บ๐ฝ๐ฟ๐ผ๐ฝ๐ฒ๐ฟ ๐๐ป๐๐ฒ๐ป๐๐ผ๐ฟ๐ ๐ ๐ฎ๐ป๐ฎ๐ด๐ฒ๐บ๐ฒ๐ป๐ - APIs expose more endpoints than traditional web applications, making proper and updated documentation necessary.
๐ญ๐ฌ. ๐จ๐ป๐๐ฎ๐ณ๐ฒ ๐๐ผ๐ป๐๐๐บ๐ฝ๐๐ถ๐ผ๐ป ๐ผ๐ณ ๐๐ฃ๐๐ - Developers tend to trust data received from third-party APIs more than user input and adopt weaker security standards.
Check the details in the comments.
_______
If you like my posts, please follow me, @milan_milanovic, and hit the ๏ฟฝ๏ฟฝ on my profile to get a notification for all my new posts.
Grow with me ๐!
#technology #softwareengineering #programming #techworldwithmilan #api
Faceless TikTok accounts are one of the easiest ways to make money with AI.
Using ChatGPT & Canva you can create hundreds TikTok videos in minutes.
Here's a 3 step guide on how I created 35 TikTok videos in 5 minutes using AI:
(this one is worth bookmarking)
Have you tried the New UI in @androidstudio Giraffe or Hedgehog? The IDE is now 10 years old (!!) and the new theme brings a lot of change. Here are 10 top tips to get you started ๐งต
Copy-paste these 50 prompts to become 10 times more productive than Elon Musk.
[Bookmark to use later]
1. Focus on the most important
Prompt: Act as an expert in [TOPIC.] My goal is to learn [SKILL] as quickly as possible. Make a list of the most important things I need to know that will allow me to master this topic.
2. Define and understand a concept
Prompt: Define [TERM] and provide an example that can be used in everyday life. The definition should be complete but easy to understand, explaining any complicated words if necessary.
3. Relate multiple topics
Prompt: Describe and explain in simple words the relationship between [CONCEPT 1] and [CONCEPT 2.]
4. Consult an expert and ask questions
Prompt: I want you to act as an expert in [TOPIC] and give me recommendations for [SPECIFIC QUESTION.]
5. Learn the most important terms
Prompt: What are some key terms I should know about [TOPIC]? Make a list with a short, simple definition of each term.
6. Create a learning plan
Prompt: I want to learn [TOPIC.] Give me step-by-step instructions on how to learn [SKILL.] Start with the basics and move on to the more difficult ones. Keep in mind that I'm a beginner.
7. Easily understand anything
Prompt: Can you explain the concept of [TOPIC] in simple terms? Summarize the main principles and illustrate with examples to make it easier to understand.
8. Increase your productivity
Prompt: Enhance team productivity in [business] by implementing the SCRUM methodology.
9. Develop a powerful brand
Prompt: Utilize the Golden Circle Model to create a powerful brand for [product or service].
10. prepare a crisis plan
Prompt: Develop a crisis management plan for [business] to effectively respond to and mitigate potential crises, safeguard brand reputation, and ensure business continuity.
11. Spot Career Pitfalls Using AI
Prompt: What are the common mistakes a person makes on the path to becoming [dream career]? Give step-by-step instructions on how to avoid those mistakes, a detailed career path with duration.
12. Consult Elon Musk
Prompt: I will provide you with an argument or opinion of mine. I want you to criticize it as if you were [musk]
13. build your marketing strategy
Prompt: Create a marketing strategy for [my product]. I have about a [available budget] marketing budget and need to reach [target audience]. Build a table with the ROI expectations by channel.
14. Create a social media content plan
Prompt: Generate a creative social media content calendar for the next week for our [product/company] on how [desired outcome of our customers]
15. Emotion-driven Marketing by AI
Prompt: Write a marketing campaign outline that uses [emotional appeal] to persuade [ideal customers] to take action and purchase [product/service].
16. Skillset-Based Money-Making Ideas
Prompt: With [skills] and [budget], give me 5 ideas, budgets, and step-by-step instructions for every idea on how to earn more money.
17. Research Assistance
Prompt: I want you to act as a research assistant and provide me with 5 reliable sources to learn about [topic].
18. Definitions and Explanations
Prompt: I want you to act as a teacher and give me a definition of [term].
19. Answering Specific Questions
Prompt: I want you to act as an [subject] expert and give me recommendations for [specific question].
20. Summarizing Complex Topics
Prompt: Describe the main points of [book] in a few sentences.
21. Learning New Skills
Prompt: Can you provide me with some exercises to practice [skill]
22. Recommending Resources
Prompt: Suggest me 3 apps for learning [ai development]
23. Exploring Related Topics
Prompt: List some other approaches to [topic] that I could explore.
24. Practice Exercises
Prompt: Come up with a multiple-choice exercise to test knowledge of [skill].
25. Construct a memorable tagline or slogan
Prompt: Create a catchy and memorable tagline or slogan for my [brand, product, or campaign] that encapsulates its essence and appeals to the target audience.
26. Efficient Email Drafting
Prompt: Help me draft a clear and concise email to [recipient's name] regarding [subject]. Include necessary details and a call to action, ensuring effective communication.
27. Provide conversation advice
Prompt: Give me three tips for effectively communicating [specific topic or message] in a conversation, presentation, or meeting.
28. Develop persuasive sales copy
Prompt: Create compelling sales copy for my [product or service], focusing on its unique features and benefits.
29. Assist with decision-making
Prompt: Help me weigh the pros and cons of [decision or choice], and provide a suggestion based on the analysis.
30. Craft an elevator pitch
Prompt: Compose a captivating 30-second elevator pitch for my [business, product, or idea], highlighting its main selling points.
31. Outline a step-by-step tutorial
Prompt: Write a beginner-friendly, step-by-step guide on how to [perform a specific task or achieve a certain goal].
32. Test your knowledge
Prompt: Provide a brief quiz that teaches me [desired learning topic].
33. Simplify for Beginners
Prompt: Simplify [subject] for easy understanding. Explain it as if I'm just starting out.
34. Conducting Effective Team Check-ins
Prompt: Suggest a brief and focused format for our regular team check-ins, with a focus on discussing progress, addressing issues, and fostering collaboration. Provide an example of how this format would look in practice.
35. Leverage the Pareto Principle
Prompt: Identify the 20% of [topic or skill] that will yield 80% of the desired results and provide a focused learning plan to master it.
36. Harness the power of visualization
Prompt: Guide me through a visualization exercise to help me internalize [topic or skill] and imagine myself successfully applying it in real-life situations.
37. Utilize the Feynman Technique for deeper understanding
Prompt: Explain [topic or skill] in the simplest terms possible as if teaching it to a complete beginner. Identify gaps in my understanding and suggest resources to fill them.
38. Implement a deliberate practice routine
Prompt: Design a deliberate practice routine for [topic or skill], focusing on my weaknesses and providing regular feedback for improvement.
39. Optimize learning through interleaving
Prompt: Create a study plan that mixes different topics or skills within [subject area] to help me develop a more robust understanding and facilitate connections between them.
40. Use storytelling to enhance memory and comprehension
Prompt: Transform key concepts or lessons from [topic or skill] into engaging stories or narratives to help me better remember and understand the material.
41. Develop mental models for complex concepts
Prompt: Help me create mental models or analogies to better understand and remember key concepts in [topic or skill].
42. Harness the power of active recall
Prompt: Provide me with a series of challenging questions or problems related to [topic or skill] to test my understanding and improve long-term retention.
43. Experiment with different learning modalities
Prompt: Suggest various learning resources (e.g., videos, books, podcasts, interactive exercises) for [topic or skill] that cater to different learning styles.
44. Implement spaced repetition for long-term retention
Prompt: Design a spaced repetition schedule for me to effectively review [topic or skill] over time, ensuring better retention and recall.
45. Focus on the most important
Prompt: Act as an expert in [TOPIC.] My goal is to learn [SKILL] as quickly as possible. Make a list of the most important things I need to know that will allow me to master this topic.
46. Define and understand a concept
Prompt: Define [TERM] and provide an example that can be used in everyday life. The definition should be complete but easy to understand, explaining any complicated words if necessary.
47. Relate multiple topics
Prompt: Describe and explain in simple words the relationship between [CONCEPT 1] and [CONCEPT 2.]
48. Consult an expert and ask questions
Prompt: I want you to act as an expert in [TOPIC] and give me recommendations for [SPECIFIC QUESTION.]
49. Learn the most important terms
Prompt: What are some key terms I should know about [TOPIC]? Make a list with a short, simple definition of each term.
50. Create a learning plan
Prompt: I want to learn [TOPIC.] Give me step-by-step instructions on how to learn [SKILL.] Start with the basics and move on to the more difficult ones. Keep in mind that I'm a beginner.
This is the simplest way you can code like a senior developer
1. Write trash code first but make sure it works
2. Then, paste it into ChatGPT with the prompt:
โRefactor this code just as a L3 engineer at Google would without breaking the functionalityโ
3. Sit back & wait