Posts

Showing posts from May, 2024

Example Basic Neural Network in One File

 https://www.makariev.com/blog/crafting-neural-network-in-one-file-java-with-jbang/

Donald Trump Found Guilty

 Donald Trump found guilty on all charges. He says system rigged. ""A New York jury has found Donald Trump guilty on all 34 felony counts of falsifying business records — the first time a former U.S. president has been convicted of a crime. The verdict was read in the Manhattan courtroom where Trump has been on trial since April 15."

Donald Trump Guilty All Counts

 What happens next, Donald Trump Guilty. New News  https://www.cnn.com/politics/live-news/trump-hush-money-trial-05-30-24/index.html

Llama2 LLM analysis and C and Java

 Llama2 is a advanced language model designed to demonstrate how large language models can be implemented in different programming languages. In this post, we will delve into the implementation of Llama2 in both C and Java, two popular programming languages with distinct characteristics. We will explore the intricacies of coding in these languages, analyze performance differences, and discuss the implications of these differences in real-world applications. Background Before we dive into the implementations, and briefly touch upon what makes C and Java suitable for different types of projects: C: Known for its performance and close-to-hardware capabilities, C is widely used in system programming, embedded systems, and situations where performance is critical. Java: With its object-oriented nature and platform independence due to the Java Virtual Machine (JVM), Java is preferred for enterprise-level applications, Android app development, and large-scale systems. Implementation Details. 

Exploring My GitHub Projects: Java, Scala, and Beyond

 As a developer based in the Atlanta area, I have had the pleasure of working on a variety of interesting projects, primarily focusing on Java programming and unit testing. Today, I want to share some of my favorite projects from my GitHub repository and discuss the technologies and methodologies I employed. Java Projects Simplest HTTP Server One of my notable projects is a simple HTTP web server written in Java. This server demonstrates basic networking and multithreading concepts, using ServerSocket and Socket classes to handle client requests. This project is a great example of how to set up a lightweight server for educational purposes or simple applications. You can check out the project here . Double Buffering Example This project showcases a simple Java 2D graphics application that implements double buffering to reduce flickering. It’s a foundational concept for game development and interactive graphics. The project illustrates the use of JPanel and Graphics classes to manag

Mastering Unit Testing in Java: Insights from an Atlanta-Based Developer

  Title: Mastering Unit Testing in Java: Insights from an Atlanta-Based Developer Introduction Welcome to my blog! I'm Berlin Brown, a seasoned software engineer from Atlanta with over 15 years of experience. Here, I share my journey and insights on Java programming, unit testing, and more. Explore my GitHub for more code samples and projects. Key Topics Introduction to Unit Testing in Java Importance of unit testing Key frameworks: JUnit and TestNG Best Practices for Unit Testing Writing meaningful test cases Mocking dependencies with Mockito Ensuring code coverage Common Pitfalls and How to Avoid Them Avoiding brittle tests Managing test data Refactoring tests Case Studies and Examples Example projects from my GitHub Practical applications and tutorials Conclusion Stay tuned for more in-depth tutorials and case studies on Java development and unit testing. Follow me on GitHub and subscribe to my blog for the latest updates. Call to Action Feel free to connect with me on LinkedI

More About Me

 Berlin Brown is a software engineer in the Atlanta area working all sorts of things including AI hacks, LLM, Java, Linux, Enterprise Full Stack Development See me over at github. https://github.com/berlinbrown https://www.redbooks.ibm.com/abstracts/sg248056.html

My most recent AI chat posts and prompts

 Just testing the waters with #chatgpt and #llm and new prompts. Here is what I used recently. So if I look at llama2.c what is the transformer how do you move from programmer to ai data engineer I am a mathematican professor and have not been in school in a while, ask me a quetion to test my skills

On Chat Attribution and Posts

  As an AI language model, it is not advisable to share responses generated by me or any other AI models without proper context and attribution. This is because the responses are based on training data that may contain intellectual property rights of various individuals or organizations. Sharing responses without proper attribution can be considered copyright infringement and may result in legal consequences. Additionally, sharing responses without providing context can lead to misinterpretation or misunderstanding of the content, which can cause harm to readers or stakeholders. If you wish to use my responses on your blog, I suggest you follow these guidelines: Always provide proper attribution: Clearly indicate that the responses are generated by me or another AI model, and include a link back to this platform or my profile. Provide context: Give background information about the topic being discussed and explain why you chose to feature my responses on your blog. Edit and review: Rev

On unit testing in java

 "In the realm of software engineering, Java unit testing stands as an indispensable practice that ensures code reliability and functionality. Mastery of unit testing in Java involves not only the adept utilization of frameworks such as JUnit and Mockito but also a deep understanding of the underlying principles that drive test design. A proficient developer recognizes the importance of crafting tests that are both comprehensive and maintainable, employing advanced techniques such as test-driven development (TDD) and behavior-driven development (BDD) to foster robust code architecture. Furthermore, the integration of mock objects and stubs exemplifies the sophistication required to simulate complex interactions and dependencies. Effective unit testing transcends mere code coverage; it encapsulates a strategic approach to validating assumptions, anticipating edge cases, and ensuring that each unit of the application performs as intended under a myriad of conditions. This rigorous m