#enumerative
Explore tagged Tumblr posts
Text

Sometimes I'm reminded that undergrad me was unhinged. This was for a grad level enumerative combinatorics class (first grad class I ever took) and I can probably find the problem set, but shall not for now. I assume I generated the tex code with a script but still.
#seven stories#enumerative#i might have started my mathblr that semester. maybe the semester before?
5 notes
·
View notes
Text
<3
30 notes
·
View notes
Text
Ohhhh. Rust is *good*
#rust#programming#doing rustlings in an airport#'you can create enums where each variant is a different type' 🤯#...it might be time to change jobs
23 notes
·
View notes
Text
#this is a whole new world#in the prototype I had like 4 seperate arrays but this way I can compact them all into one enum#codeblr#original post
14 notes
·
View notes
Text
wow, this bottle (Nice_bottle_Entity) is nice as hell. goddamn
#going through the storable enum table to make More tables to upload a ton of images to the wiki for... it's one of ~8 unused items that has#its own texture! most unused items are a white square instead#textures#pathologic#pathologic 2
70 notes
·
View notes
Text
D&D SOMNIS - Dark Speech
Through a series of in-jokes (and accent use), we've basically decided that "elvish" in Rayleigh is just fantasy french. Which... not ALL of the party speaks, but just enough to have some shitpost-tier shenanigans.
(I make no excuses for the cursed joke, and take no liability for collateral damage).
8 notes
·
View notes
Text
hmph. you mongrels would dare use bastard enums to hold your states before my kingly self? looking at your state machine, it's clear that peasants have not learned to code even a little in the 5000 years you've had to practice. what doggerel you've written!
begone, cur.
let the sight of my enum {a, elish} be the last thing you see
#shitposting#fate#fate stay night#gilgamesh#animated gifs#i don't know what i'm saying#this is a cry for help#i thought i was supposed to smash the state#not enum erate it#exorcising the brain worms
12 notes
·
View notes
Text
Points to Remember for Java Enum
Let us see some points to remember for Java Enum:
#java#programming#javaprogramming#code#coding#engineering#software#softwaredevelopment#education#technology#enums#javaenum#enum#javaenums#online
2 notes
·
View notes
Text
People talk about wishing for their art ideas and writing ideas to be projectable from the brain onto canvas. No one talks about the fervent, ardent wish of being able to project an algorithm one has in mind into functioning code the IDE and have it work on the first try.
#me: solves complex algorithm problems#also me: how tf do enums work again?#I should not be coding when my eyes are droopy#admiral’s log
4 notes
·
View notes
Text
My opinion on enums swung so fast you'd think I'd got whiplash
#screaming into the void#don't mind me just nerding out about my major again hehe#me learning about enums: thats so stupid they're basically just glorified ints what's even the point?#me after using them once(1) to clean up code: oh#oh i get it now#also my mouse keeps disappearing for some reason tumblr what are you doing#how are you doing
0 notes
Text
People here are always so goddamn shocked when I say I'm a combinatorialist 😠😒😔
(I keep taking analysis and DEs classes.)
#admittedly I'm actually more interested in other areas of discrete than enumerative combinatorics for the future#but that doesnt change the situation much#part of me feels like some people just straight up dont believe me when i say it#like. thats probably not true? they more likely just forget. which is much less weird#feels especially weird cause i was definitely known to be an aspiring combinatorialist as an undergrad and to a lesser extent grad school v1#tbh this has been a growing irritation. it doesnt matter much but it does cause tiny annoyances every so often#im unsure if anyone has caught onto that#idk what one of my classmate knew on this before today but he asked how the functional exam was going for me#and i think he quickly internalized the idea that I favor discrete based on the sheer sadness of my 'i miss doing combinatorics'#seven stories
3 notes
·
View notes
Text
answer below the cut
0 notes
Text
Understanding C++ Enum Class and Enums: A Complete Guide | Removeload
Enums in C++ provide a convenient way to define a set of named integer constants, improving code readability and reducing errors. The enum keyword has been a part of C++ for a long time, but with the introduction of C++ enum class, developers now have a more type-safe and flexible way to use enumerations. At Removeload Educational Academy, we strive to make programming accessible by offering a free online e-learning tutorial portal that provides live examples to help students learn C++ in an easy and interactive manner. Understanding C++ enum class is essential for writing efficient and maintainable code.
What is C++ Enum Class?
In traditional C++ enums, enumerators are implicitly converted to integers, which can lead to naming conflicts and unintended behavior. To address this, C++ introduced enum class, which provides better type safety by restricting implicit conversions and improving scope resolution.
Here is a simple example of an enum class in C++:#include <iostream> using namespace std; enum class Color { Red, Green, Blue }; int main() { Color myColor = Color::Green; if (myColor == Color::Green) { cout << "The color is Green." << endl; } return 0; }
In this example, Color::Green is explicitly scoped, preventing conflicts with other enumerations or variables named Green. Unlike traditional enums, C++ enum class does not implicitly convert enum values to integers, making the code more robust.
Benefits of Using C++ Enum Class
The key advantages of using enum class over traditional enums include:
Type Safety: Prevents implicit conversions to integers.
Scoped Enumeration: Avoids name conflicts by requiring a prefix (EnumName::Value).
Improved Readability: Makes it clear that values belong to a specific enumeration.
Explicit Underlying Type: Developers can define the underlying data type (e.g., enum class Status : char {}).
For example:enum class Status : int { Success = 1, Failure = 0, Pending = -1 };
This ensures that Status values are strictly integers, enhancing control over memory usage and performance.
Understanding C++ Enums Removeload
Traditional enum types in C++ still have their use cases, especially in legacy systems or scenarios where implicit conversions are beneficial. C++ enums removeload provides flexibility in defining a collection of constants while allowing them to be used interchangeably with integers.
Example of a traditional enum:#include <iostream> using namespace std; enum Days { Monday, Tuesday, Wednesday, Thursday, Friday }; int main() { Days today = Wednesday; cout << "Today is day number: " << today << endl; return 0; }
In this example, Wednesday is automatically assigned the integer value 2, demonstrating how traditional enums implicitly convert to integers.
Choosing Between Enum and Enum Class in C++
While both enum and enum class serve a similar purpose, enum class is recommended for new projects due to its type safety and better scoping. However, C++ enums removeload remains useful for backward compatibility and scenarios requiring implicit integer conversions.
Why Learn C++ with Removeload?
At Removeload Educational Academy, we provide free online tutorials to help students learn programming languages through live examples. Whether you're exploring C++ enum class or understanding C++ enums removeload, our structured tutorials simplify complex topics, making programming more accessible.
Mastering enums in C++ enhances your ability to write cleaner and more efficient code. Keep exploring our tutorials to improve your coding skills and build more robust C++ applications.
0 notes
Text
Do you like items? unobtainable items? intangible items? items that a game calls "storables" instead of items? I just finished the first draft of the Pathologic Modding Wiki's List of storables, it needs item descriptions still but is a thorough list, with images, of all the "storables" you can obtain and especially the ones you can't :-)
#pmw#pathologic#I'm not sure why the mainwiki is missing a ton of the unobtainable ones- presumably they also pulled from the enum table? will add someday
39 notes
·
View notes
Text
D&D Somniatores + Elisthad - Stickers
Wanted to gift our group(s) something for the holidays, so drew up and printed both party characters for each person + 2 of the DM's fav NPCs, as stickers.
Small exception for one of the players, who is part of just one group, so Rasthun gets a double-feature, as the regular outfit and "party mode" bard-barian. And because another's a player in one and a DM in another did both of their Somniatores guys (cause one died, so he had 2).
Kerren and Dara didn't get printed, since they didn't fit the original sheet, but I finished them up anyway as lil keepsakes~
#dnd#d&d#dungeons and dragons#neith#ganihl#ildan#richard#kyre#enum#rasthun#klee#delyra#phil#dyad#kerren#dara#artz
4 notes
·
View notes
Text
gotta love that all the php docs you can find tell you that calling oci_new_descriptor will let you create an empty lob object, which keeps failing, and then i find a random bug report from 2006 about this exact thing not working and it turns out this function does in fact NOT create a valid lob object.
#tütensuppe#just this sort of bullshit all day long#also the part where youre supposed to be able to do a varchar array bind when you use a specific enum#turns out it does NOT convert your string to a varchar array and that method will fail every time#next thing im trying is calling the data update with a function that creates an empty lob#but for now i have to wait bc the database erased my access rights once again lol
1 note
·
View note