Tumgik
#myclassic
eddiethehunted · 8 months
Text
maybe if orgo and my other class do not kill me i will upload this snippet thats been sitting in my drafts
8 notes · View notes
bl00doodle · 2 years
Note
Just wanted to say I'm happy to exist at the same time as you, Captain Boodle :]
ANON...!!!!!!!!!!! THANK U.................... !!!!!!!!!!!!!!
Tumblr media
12 notes · View notes
klug · 1 year
Text
I fucking forgot I have to upload a video presentation of my poster tonight too if I want it to be judged ahh fuck fuck fuck
0 notes
comaso · 1 year
Photo
Tumblr media
The virtual classroom, where the only thing louder than the teacher is your background. -> https://comaso.app #coaching #coachinglife #tuition #education #fintech #edtech #cms #coachingdevida #myclass #smartclass #studyfromhome #newnormal #youth #teenagers #12th #10th #onlinestudy #onlinecoaching #onlinetuition #onlinestudy #teacher #ssc #hsc #khansirmemes #physics #chemistry #maths #commerce #pcm #pcb (at Noida) https://www.instagram.com/p/CpRs2e7P6b9/?igshid=NGJjMDIxMWI=
0 notes
taconafide2 · 1 year
Text
gahhhhhh i need to go back home :||||
0 notes
alttplink-moved · 1 year
Text
the match is being played in myclass rn. we're all in fucking shambles <3
10 notes · View notes
thegiallo-en · 1 year
Text
#Devember 2022 - The flu and a shaker
So, my devember started with 4 days of delay because I was on vacation. Not a big deal.
On the first day I just opened Godot and started to poke around. Exploring the editor. A lot of strange things.
I began reading the Godot introduction guide and watched a video of introduction for Unity users. I sadly had a long and strong flu, so I lost a ton of days.
I aimed to implement a button that makes a text shake. This is what I've learned in the process.
A Scene is composed out of nodes
Node is the base class, everything else is deriving from that. It has nothing. Yes, no useless transform on empty nodes. Yay!
A node can have a single script attached to it.
To add functionalities to a node one has to create a new node class, extending from some other Node class. Usually this is not required though.
The normal thing is that you add nodes, maybe base ones, and add a script to them.
You can expose things in the inspector via the export keyword.
To get another node from the inspector you have to expose a NodePath and get the node like this: onready var my_node : MyClass = get_node( that_nodepath ) as MyClass. Node the onready keyword, that makes this execute after the nodepath and scene is ready.
You can save and reuse scripts, or you can leave them unnamed and internal to the scene. To name a class you have to use class_name MyClass. If you use class MyInternalClass it would be another class, interal to your file and not the class of the script. I've lost a good hour on this.
You can wire callbacks via the inspector, except they are called signals. You can use the "Node" tab, where you'll see all signals, divided by class hierarchy. If you double click one of them a chooser window will pop-up. If you have some signals connected on a node, a wifi-like icon will appear on the scene hierarchy next to it.
Ah, every node structure you can save as a resource, and it's still called a Scene. So a Scene of Godot is like a prefab in Unity. I don't think you can have variants though, but I'm not sure. You can have local modifications of a Scene assets inside another one. So maybe its feasible to get something similar working.
Here is the video of what I managed to get working today.
Tumblr media
In the next days I'll try to understand better the positionong and layouting of UI stuff. Fonts are another thigs that I didn't get. It seems to me that you have to make a font asset for each size you want to use.
7 notes · View notes
adetheenby · 10 months
Text
day
its a day today and im bored so im gonna start journaling on tumblr because i have nothing better to do. was sick yesterday lost my appetite and dont feel sick after not eating  but i would throw up from  smelling food  now ive actualy eaten .
Saled is GOOD like normally its tomato cucumber cottage cheese and vinegar but we didnt fuckin have that so i used paprika olives avocado and olive oil and it  wasnt bad actually pretty good. i should really brush my hair and i have to go to fucking church tmmr for SCHOOL like wtf just i know i am going over i only failed frech why do i have to go to church to hear everyone who fails and goes over like i dont care like actually i dont get along with anyone here . thats a fucking lie actually i just have trust issues bc teengirls think they are the meangirls sm and its like im the openly queer kid so everyone thinks i should be hated but nah i get along with a few of the kids in myclass and actually befriended this one girl but she is gonna do the year over i really hope kids arent assholes to her because ill actually throw boiing water on their faces anyhow so theres the spidersona trend right im making some ever after high spidersonas but raven is a bitch to design and find a good post for bye
1 note · View note
techwebdevelopment · 22 days
Text
Test Your JavaScript Skills : ES13 (JavaScript 2022) – 36
IntroductionNamaste, In this blog I will discuss 10 code scenarios on Javascript . Identify the output of the below program class Myclass { static eno; static name=”ram”; }; console.log(Myclass.name); a.ram b.undefined c.error d.null e.1 Answer:a Reason:The public static field can be accessed. Identify the output of the below program class Myclass { #eno=10; #ename=”ram”; static […] The post Test Your JavaScript Skills : ES13 (JavaScript 2022) – 36 appeared first on TECH - WEB DEVELOPMENT NEWS. https://tech-webdevelopment.news-6.com/test-your-javascript-skills-es13-javascript-2022-36/
0 notes
lastfry · 3 months
Text
Understanding Serialization in Java: A Comprehensive Guide
Serialization in Java is a fundamental concept that allows objects to be converted into a byte stream, enabling them to be easily stored, transmitted, or reconstructed later. This mechanism plays a crucial role in various scenarios such as network communication, persistence of object state, and distributed computing. In this article, we'll explore what serialization is, how it works in Java, its advantages, and some best practices to follow.
What is Serialization?
Serialization is the process of converting an object into a stream of bytes, which can then be stored in a file or sent over a network. This serialized form contains the object's data along with information about its type and structure. Deserialization is the reverse process where the byte stream is converted back into an object. Java provides built-in mechanisms for both serialization and deserialization through the java.io.Serializable interface.
How Serialization Works in Java
To enable serialization for a class in Java, it must implement the Serializable interface. This interface acts as a marker, indicating to the Java runtime that instances of the class can be serialized. Here's a basic example:
javaCopy code
import java.io.Serializable; class MyClass implements Serializable { // class members and methods }
Once a class implements Serializable, instances of that class can be serialized and deserialized using Java's serialization API. The core classes involved in serialization are ObjectOutputStream for writing objects to a byte stream and ObjectInputStream for reading objects from a byte stream.
javaCopy code
import java.io.*; public class SerializationExample { public static void main(String[] args) { try { // Serialization MyClass obj = new MyClass(); FileOutputStream fileOut = new FileOutputStream("object.ser"); ObjectOutputStream out = new ObjectOutputStream(fileOut); out.writeObject(obj); out.close(); fileOut.close(); // Deserialization FileInputStream fileIn = new FileInputStream("object.ser"); ObjectInputStream in = new ObjectInputStream(fileIn); MyClass newObj = (MyClass) in.readObject(); in.close(); fileIn.close(); } catch (IOException | ClassNotFoundException e) { e.printStackTrace(); } } }
Advantages of Serialization
Persistence: Serialized objects can be stored in files or databases, allowing data to persist beyond the lifetime of the Java application.
Interoperability: Serialized objects can be easily transmitted over a network and reconstructed by applications written in different languages or running on different platforms.
Object Cloning: Serialization can be used to create deep copies of objects by serializing them and then deserializing the byte stream.
Best Practices for Serialization
Versioning: When serializing classes, it's important to consider versioning to maintain compatibility between different versions of the class. This can be achieved by defining a serialVersionUID field or using externalizable interfaces.
Security: Be cautious when serializing sensitive data. Implement proper security measures such as encryption or using custom serialization mechanisms if necessary.
Transient Fields: Fields marked as transient are not serialized, which can be useful for excluding sensitive or unnecessary data from the serialized form.
Externalization: For more control over the serialization process, consider implementing the Externalizable interface instead of Serializable. This allows you to define custom serialization logic for your class.
Conclusion
Serialization is a powerful mechanism in Java that allows objects to be converted into byte streams for storage, transmission, or other purposes. By implementing the Serializable interface and using Java's built-in serialization API, developers can easily serialize and deserialize objects. Understanding the principles of serialization, its advantages, and best practices is essential for building robust and efficient Java applications.
for more please visit analyticsjobs.in
0 notes
racke7 · 4 months
Text
Spent like four hours this morning creating a "guess the random number" game from scratch in C#.
It argued with me basically the entire way (this is the first program I've really created, so not very surprising), but the worst part was trying to track down a way to get a "random number", because everything I looked into either didn't work or did something different.
Finally managed to modify one idea and create a method (1 random number, between 1-100), which I'm recording here for future (emergency) reference:
class MyClass { public int GenerateRandom () { Random randomNumber = new Random(); for (int ctr = 0; ctr <= 0; ctr++); return randomNumber.Next(101); } }
Is it the best way? No idea. But it's the only way that worked, and it works pretty okay? So, I'm pretty happy with it.
1 note · View note
bellisajean · 4 months
Text
파이썬 코딩할 때 중요한 규칙과 룰은 다음과 같습니다:
들여쓰기 (Indentation): 파이썬은 들여쓰기를 통해 코드 블록을 구분합니다. 들여쓰기는 일관되게 사용해야 하며, 보통 4개의 공백 문자를 사용합니다. 들여쓰기를 잘못하면 코드가 작동하지 않을 수 있으므로 주의해야 합니다.
코드 가독성 (Readability): 파이썬은 가독성이 좋은 코드를 중요시합니다. 변수와 함수의 이름은 의미를 알기 쉽게 짓는 것이 좋습니다. 주석을 사용하여 코드를 설명하고, 긴 줄은 여러 줄로 나누어 읽기 쉽게 만들어야 합니다.
예외 처리 (Exception Handling): 예외 상황을 처리하기 위해 try-except 블록을 사용하세요. 이렇게 하면 예외가 발생해도 프로그램이 멈추지 않고 graceful한 방식으로 처리할 수 있습니다.
명명 규칙 (Naming Conventions): 변수는 소문자로 시작하고, 여러 단어를 연결할 때는 underscore를 사용합니다 (예: my_variable). 클래스 이름은 대문자로 시작하고 CamelCase를 사용합니다 (예: MyClass). 상수는 대문자와 underscore만 사용하며, 변경되지 않아야 합니다 (예: PI = 3.14159).
함수 (Functions): 함수는 코드를 모듈화하고 재사용 가능하도록 만듭니다. 함수는 하나의 기능을 수행하도록 작성하고, 함수명은 동사로 시작하는 것이 좋습니다 (예: calculate_sum()).
모듈 (Modules): 코드를 여러 파일로 나누어 모듈화할 수 있습니다. 모듈은 다른 파일에서 import하여 사용할 수 있습니다.
리스트 컴프리헨션 (List Comprehension): 리스트 컴프리헨션은 리스트를 생성하는 간결하고 효율적인 방법을 제공합니다.
가상 환경 (Virtual Environment): 프로젝트마다 가상 환경을 생성하여 의존성을 격리시키고 버전 관리를 할 수 있습니다. 가상 환경은 venv 모듈을 사용하여 만들 수 있습니다.
코드 스타일 가이드 (PEP 8): PEP 8은 파이썬 코드의 스타일 가이드로, 파이썬 커뮤니티에서 널리 사용됩니다. PEP 8 가이드를 따라 코딩 스타일을 유지하는 것이 좋습니다.
데이터 타입: 파이썬은 동적 타이핑 언어이므로 변수의 데이터 타입은 자동으로 결정됩니다. 그러나 데이터 타입에 주의하여 적절하게 사용하는 것이 중요합니다.
이러한 규칙과 룰을 준수하면 코드의 가독성이 좋아지고 유지 보수가 쉬워집니다. 또한 파이썬 커뮤니티에서 적극적으로 지지하는 규칙들이므로, 협업 시에도 도움이 될 것입니다.
0 notes
tccicomputercoaching · 5 months
Text
C++ is a powerful and versatile programming language that is widely used in the development of various software applications. In C++, constructors represent special member functions that are used to initialize class objects. They are essential for creating and setting up objects with valid initial values, and play a serious role in managing memory allocations and resources.
Tumblr media
In C++, constructors are primarily used to initialize the data members of a class when an object is created. They are automatically called when an object is instantiated, and can have different functionalities and access specifiers. There are several types of constructors in C++, each serving a specific purpose in the initialization of objects. The main types of constructors in C++ include:
1. Default Constructors: A default constructor is a constructor that does not take any arguments. It is used to initialize the object with default values when no explicit initialization is provided. If a class does not have a user-defined constructor, the compiler automatically generates a default constructor.
For example:
class MyClass
{
public:
MyClass()
{
// Default constructor code here
}
};
2. Parameterized Constructors: Parameterized constructors take one or more arguments and are used to initialize the object with specific values. They allow the user to provide initial values based on their requirements.
For example:
class Point
{
public:
int x, y;
Point(int a, int b)
{
x = a;
y = b;
}
};
3. Copy Constructors: Copy constructors are used to initialize an object with the values of another object of the same class. They are called when an object is passed by value or returned by value. Copy constructors take a reference to the object of the same class as a parameter.
For example:
class Circle
{
public:
int radius;
Circle(const Circle &c)
{
radius = c.radius;
}
};
4. Constructor Overloading: Constructor overloading allows a class to have multiple constructors with the same name but different parameter lists. It provides flexibility in object initialization and allows the user to choose from multiple ways of initializing an object based on their requirements.
For example:
class Rectangle
{
public:
int length, width;
Rectangle()
{
length = 0;
width = 0;
}
Rectangle(int l, int w)
{
length = l;
width = w;
}
};
Constructors in C++ are essential for the initialization of objects and play a important role in object-oriented programming. They enable the creation and setup of objects with valid initial values, and provide flexibility in object initialization.
By understanding the different types of constructors in C++ and their significance, programmers can effectively utilize them to build robust and efficient software applications.
TCCI provides the best training in C++ through different learning methods/media is located in Bopal Ahmedabad and ISCON Ambli Road in Ahmedabad.
For More Information:                                    
Call us @ +91 9825618292
Visit us @ http://tccicomputercoaching.com
0 notes
cssmonster · 6 months
Text
Excluding a Class in CSS: A Comprehensive Guide
Tumblr media
Introduction
Welcome to our comprehensive guide on excluding a class in CSS. As web developers, understanding how to selectively apply styles or exclude certain elements from styling is a crucial skill. In this blog post, we will delve into the world of CSS classes and explore various methods to exclude specific classes from styling rules. Whether you are a beginner or an experienced developer, this guide aims to provide insights, examples, and best practices for effectively managing and manipulating styles in your web projects.
Understanding CSS Selectors
Tumblr media
CSS selectors play a pivotal role in styling web elements, allowing developers to target and apply styles selectively. Before delving into class exclusion, let's review some essential concepts related to CSS selectors. Basic CSS Selectors Recap: CSS selectors define the elements to which a style rule should apply. Common selectors include element selectors (e.g., p for paragraphs), class selectors (e.g., .myClass), and ID selectors (e.g., #myID). Now, when it comes to excluding a class, understanding the notation for exclusion becomes crucial. The primary method for this is using the :not() pseudo-class. Introduction to the Notation for Excluding Classes: The :not() pseudo-class allows you to select elements that do not match a specified selector. This powerful tool enhances the precision of your styles by excluding specific classes from the styling process. Let's break down the syntax: SelectorDescription:not(selector)Matches every element that is not a specified selector. This notation provides a flexible way to define exceptions in your style rules. For example: CSSp:not(.exclude) { /* Styles for paragraphs excluding those with the class 'exclude' */ color: #333; font-size: 16px; } ul li:not(.no-style) { /* Styles for all list items except those with the class 'no-style' */ color: #333; font-size: 16px; }
Common Use Cases
Understanding how to exclude classes in CSS opens up a world of possibilities for creating more flexible and dynamic styles. Let's explore some common use cases where excluding classes becomes particularly valuable in web development. 1. Styling Exceptions in Responsive Design: Responsive design is a crucial aspect of modern web development, and excluding classes plays a significant role in creating tailored styles for different screen sizes. For instance, you might want to apply a specific style to most elements but exclude certain elements from that styling on smaller screens. The :not() pseudo-class allows you to achieve this with precision, ensuring a seamless user experience across devices. 2. Optimizing Code and Improving Performance: Excluding unnecessary styles for specific elements can contribute to code optimization and improved performance. By selectively applying styles, you reduce the overall size of your stylesheets and enhance page loading times. This is particularly important in large-scale projects where efficient code can lead to a smoother user experience. 3. Theming and Customization: When creating themes or customizable components, excluding classes becomes invaluable. Users may customize certain elements while keeping others consistent. For example, a theme switcher might change the color scheme for most elements but exclude specific elements like buttons or headers. This level of customization is achievable by leveraging the power of class exclusion. 4. Conditional Styling for User Interactions: Interactive elements on a website often require conditional styling. Excluding classes allows you to define styles for elements based on user interactions while excluding others. This is commonly seen in dropdown menus, modals, or form elements where specific styling is applied when the user interacts with the element. By incorporating class exclusion into these use cases, you can create more maintainable and efficient stylesheets, leading to a better overall user experience. In the next section, we'll delve into best practices for utilizing class exclusion in your projects.
Best Practices
While the ability to exclude classes in CSS provides powerful styling flexibility, it's crucial to adopt best practices to ensure clean, maintainable, and efficient code. Let's explore some guidelines for utilizing class exclusion effectively in your web development projects. Clean and Maintainable Code Guidelines: - Organize your stylesheets logically, grouping related styles together. - Use meaningful class names to enhance code readability and maintainability. - Avoid excessive nesting and prioritize flat, straightforward style rules. Performance Implications: - While class exclusion can optimize code, be mindful of its impact on performance. - Avoid overusing the :not() pseudo-class for numerous elements, as it may lead to complex and less performant selectors. Testing Across Browsers: - Test your styles across different browsers to ensure consistent rendering and behavior. - Be aware of potential compatibility issues, especially when using advanced CSS features. Documentation and Comments: - Document your code, providing clear comments for complex or unconventional styling decisions. - Include information about excluded classes and the reasoning behind those decisions. Version Control and Collaboration: - Utilize version control systems like Git to track changes and collaborate effectively with other developers. - Clearly communicate any class exclusion strategies within your team to maintain consistency. Continuous Learning and Experimentation: - Stay updated with the latest CSS features and best practices. - Experiment with class exclusion in different scenarios to deepen your understanding and improve your skills. By incorporating these best practices into your workflow, you'll not only harness the power of class exclusion for efficient styling but also contribute to a more robust and collaborative web development environment. In the final section, we'll address frequently asked questions (FAQ) related to excluding classes in CSS.
FAQ
Explore the answers to frequently asked questions about excluding classes in CSS to enhance your understanding of this powerful styling technique. Q: How Does Class Exclusion Impact Page Load Times? A: Class exclusion itself has minimal impact on page load times. However, it's essential to be mindful of the overall size and complexity of your stylesheets. Excessive use of complex selectors, including the :not() pseudo-class, may contribute to longer loading times. Always prioritize clean and optimized code to ensure optimal performance. Q: Are There Any Limitations to Excluding Classes? A: While class exclusion is a versatile tool, it's essential to consider browser compatibility. The :not() pseudo-class is well-supported in modern browsers, but older browsers may exhibit unexpected behavior. Always test your styles across different browsers and versions to ensure a consistent user experience. Q: What Are Common Mistakes to Avoid When Using Class Exclusion? A: One common mistake is overusing the :not() pseudo-class for numerous elements, leading to complex and less performant selectors. Additionally, using overly generic class names can result in unintended exclusions. It's crucial to choose meaningful class names and use class exclusion judiciously to maintain code clarity and avoid styling conflicts. These frequently asked questions provide insights into key considerations when working with class exclusion in CSS. As you navigate through your projects, keep these answers in mind to create efficient and maintainable stylesheets.
Conclusion
Congratulations on completing our comprehensive guide on excluding classes in CSS. We've explored the fundamental concepts of CSS selectors, delved into the :not() pseudo-class, and examined various methods for excluding classes in different scenarios. Understanding how to selectively apply styles is a valuable skill for any web developer. From common use cases like responsive design and theming to best practices for clean and maintainable code, you now have a solid foundation for leveraging class exclusion effectively. By following the guidelines outlined in this guide, you can enhance your coding efficiency, optimize performance, and contribute to a seamless user experience. Remember to test your styles across different browsers, document your code for clarity, and stay curious about new CSS features and best practices. The world of web development is dynamic, and continuous learning is key to staying at the forefront of industry trends. As you apply these principles in your projects, don't hesitate to experiment and find creative solutions. Class exclusion is a powerful tool that, when used judiciously, can elevate the visual and functional aspects of your web applications. Thank you for joining us on this journey, and happy coding! Read the full article
0 notes
comaso · 1 year
Photo
Tumblr media
Enroll Now, and we'll make sure you don't need to Google everything. -> https://comaso.app #coaching #coachinglife #tuition #education #fintech #edtech #cms #coachingdevida #myclass #smartclass #studyfromhome #newnormal #youth #teenagers #12th #10th #onlinestudy #onlinecoaching #onlinetuition #onlinestudy #teacher #ssc #hsc #khansirmemes #physics #chemistry #maths #commerce #pcm #pcb (at Noida) https://www.instagram.com/p/CpM15TRvqm1/?igshid=NGJjMDIxMWI=
0 notes
georgecunt · 6 months
Note
I wish myclasses starter later I shouldn't be made to witness this many horrors at 10 am
but if you have them early that means you're done with them early also!! and u get to enjoy the evening ^^
0 notes