Search the Community

Showing results for tags 'programming'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Brandon and Book News
  • Events, Signings, & Giveaways
  • Columns and Features
  • Site News
  • Shardcast


  • 17th Shard
    • Introduce Yourself!
    • 17th Shard Discussion
    • The Coppermind Wiki
    • Arcanum Discussion
  • Brandon Sanderson
    • General Brandon Discussion
    • Events and Signings
    • Sanderson Fan Works
    • Arcanum, the Brandon Sanderson Archive
  • Spoiler Zone
    • The Lost Metal (Mistborn Spoilers Only, No Cosmere)
    • Tress of the Emerald Sea (No Cosmere Spoilers)
    • New Cosmere Releases (Lost Metal and Tress Spoilers)
  • The Cosmere
    • Cosmere Q&A
    • Cosmere Discussion
    • Cosmere Secret Projects Previews
    • Stormlight Archive
    • Mistborn
    • Elantris and Emperor's Soul
    • Warbreaker
    • White Sand
    • Cosmere Short Stories
    • Unpublished Works
  • Non-cosmere Works
    • Non-cosmere Secret Project
    • The Reckoners
    • Skyward
    • The Rithmatist
    • Alcatraz
    • Dark One
    • Other Stories
    • The Wheel of Time
  • Related Works
    • Writing Excuses
    • Reading Excuses
    • TWG Archive
  • Community
    • General Discussion
    • Entertainment Discussion
    • Science, Tech, and Math Discussion
    • Creator's Corner
    • Role-Playing
    • Social Groups, Clans, and Guilds


  • Chaos' Blog
  • Leinton's Blog
  • 17th Shard Blog
  • KChan's Blog
  • Puck's Blag
  • Brandon's Blog
  • Darth Squirrely's Blog
  • Tales of a Firebug
  • borborygmus' Blog
  • Zeadman's Blog
  • zas678's Blog
  • The Basement
  • Addy's Avocations
  • Zarepath's Blog
  • First time reading The Well Of Ascension
  • Seshperankh's Blog
  • "I Have Opinions About Books"
  • Test
  • Which actors would you like to see playing the characters of Mistborn?
  • Drifted Mists
  • Jaron's Realm
  • Roshar Speculative Theories
  • ChrisHamatake's Blog
  • Paradox Flint's Blog
  • Deoradhan's Blog
  • Storm Blessed's Blog
  • Elwynn's Blog
  • firstRainbowRose's Blog
  • Rotabush ShardBlog
  • Hoid's Compendium
  • InterContinental Adventures
  • Claincy Creates
  • WoR Thoughts and Questions
  • Blogfalcon
  • David Coppercloud's Blog
  • yurisses' notes and theories
  • Lark Adventures
  • LUNA's Poetry
  • Inspiration Board
  • Trying to be Useful for a Change
  • The Way of Toasters
  • Cosmere Nerd Things
  • Dapper's Music Blog
  • Shhh Spoilers for Ronald.
  • Wyn's Adventures in Geekiness
  • Words With Ene
  • Dapper's Blog
  • Things to talk about, stuff to do
  • Zelly's Healthy-Accountability Blog
  • Even These Acronyms
  • Rhythm of War Liveblog
  • Unnecessarily Overcomplicated
  • Star's Art Blog
  • Weather Reports
  • Axioms Idioms & Adages
  • The Blog of Dubious Copyright Legality
  • Trutharchivist's Rambles
  • 5
  • Xino's corner of insanity
  • The Perfect Space Opera
  • My Journey Through Roshar (A Liveblog)
  • Lost Metal Liveblog by ccstat
  • The cheeseman does worldbuilding.


  • Community Calendar

Found 5 results

  1. I'd like to introduce my pet project is a character generator for Mistborn Era 2. Minor spoilers for abilities and characters revealed up to Bands of Mourning. Just input a name and gender and find out what Metallic Arts your character can use! I've shared it on /r/Mistborn yesterday, and 3700 characters have already been generated If you're unhappy with the default probabilities, there is also a page where you can tweak them! (Characters generated with non-default probabilities cannot be saved.) This is also a fully open source Haskell and Elm project for anyone interested. Please let me know if you find any issue! - Tam
  2. So I noticed the button for "code", and there are options for JavaScript and Python, and several other types of coding. I was wondering what cool amazing things the people of the Shard can do with this option. I once had a Web Design class where we learned HTML, but I've forgotten how to do it... <header> I forgot how HTML works
  3. This is a topic about my signature, and because said signature is not so artsy, but still a creation, I put the topic in this forum A couple of users expressed curiosity about my signature and asked about how it works etc. So, to avoid repeating myself I decided to explain everything in one place and also tell you what else I'm planing to do with it. So, what's do special about this signature? As you may have noticed, my signature changes depending on the topic you're viewing it in. It contains the title of said topic and page number. It also contains a more or less accurate approximation of where the user seeing it physically is. In the future it may contain even more fun stuff. As a result, every user sees a different text in my signature. How is that possible? Images are frequently included in signatures here on 17th Shard. Most of them are just static files, available at some address on the Internet. They are stored on some server and sent to everyone wishing to display them. The Polandball in my description is like that, it's just a small PNG file on a server. The part of my signature that has text in it is different. It too is an image, because that's the only way our forum allows me to include something that I control in the signature. However, this image is not stored anywhere. It is created from scratch every time you wish to see it. Your browser asks my server about a file called "sig.png" and instead of just sending a file from it's disk, my server creates it using information it gathers while your browser waits for response. How does it know what topic you're viewing? When your browser asks my server about the image it tell's it on what webpage this image will be displayed. Having the address of the topic you're viewing, my server takes a peek on that page and looks for the title and page number. Then it quickly writes what it found out on the returned picture. How does it know where you live? It doesn't know where you live When you ask my server about a picture, you establish a connection. For a connection to work, both sides have to know the address of the other side. This means IP address. This part get's a bit complicated, so I'll spare you technical details, but what you need to know is that in most cases you are hidden by your internet service provider. My server receives some IP address, that is frequently shared by a lot of other clients of your ISP. That's why location provided by my signature is often incorrect. How does IP address translate to physical location? That's simple, there are free, open databases that provide such information. I use GeoLite2. Those free databases aren't too accurate and because your ISP can have a huge inner network, the location can be wrong. Often, location is not even available and I have only a country. You can also hide your location using VPN. Remember! Just because I can't pinpoint your location, doesn't mean that FBI can't Can I track your movements on 17S? Currently my software can distinguish two different 17S users asking for my signature, but it doesn't know who is who. I plan to change it however, and code a way for it to learn your usernames. Lets say that I can identify who is asking for the signature. Then it would be possible to log information about part of your movements on the Shard. HOWEVER! This would only include pages of threads that I've posted in. If you view a page where my signature is not present I have no idea about it. I believe that you can disable my signature to prevent any communication with my server. Also, I'm not interested in spying on you. What else do I plan to do? Well, I want to do two things next. First, I'll try to teach my software to recognize users using information from this page. That will allow me to address you by usernames in my signature Second, I'm gonna create something that everyone can use I will make a picture displaying what I've listened recently, based on what's visible on my profile. I'll make it so everyone else will be able to display data from their profiles too Sooo, any questions? Comments?
  4. So I've been taking a coding course recently and when I get code that I don't understand what's wrong with it, I naturally turned to the awesome people on the 17S Discord server. From there I was advised to start a thread on here. So after looking around, I didn't see a thread that was related to helping out with programming help. So I figured I would start this, and if people either need help or are willing to give it, they could (hopefully) come here. So that's pretty general, but hopefully it works out. Recently I've been trying to figure out jQuery, and to test it I have a bunch of checkboxes and radiobuttons. I'm trying to get it so that one is selected, the background turns a different color. I have the html and the css all set up, so I think it's a problem with the code. $('.left, .computers input').click(function(){$(this).parent('.input').toggleClass("formfocus");}); The code isn't inside a (document).ready, but it is inside a <script> element at the end of the <body>. So I was hoping some of you guys who are more experienced with jQuery could tell me what I did wrong. Debuggers haven't been able to help and the tags are all proper, so I'm pretty stuck right now.
  5. It has taken a while, but I've finally decided to delve into the inner workings of the Cosmere and immerse myself in Realmatic Theory. I've already read both Kurkistan's and Satsuoni's impressively thorough musings on the matter, and I think I'm ready to share my thoughts. Inspirations behind this theory include the MEC, Satsuoni's Realmatic theory, Wan ShaiLu's Realmatic lectures in TES, and... the object-oriented programming (OOP) paradigm. You see, this lowly skaa is also a lowly code monkey in real life. I read and write code everyday, so it can't be helped that certain programming concepts intrude in my mind even when I'm not thinking about work. I've found that this can sometimes help me understand strange and alien concepts using terms I'm familiar with. So, here I will try to use OOP as an analogy to help fellow programmers understand Brandon's fictional cosmology. It will not be a perfect analogy, I know, but I'm gonna have to work with what I have. Alright! Here we go! *crosses fingers* Table of Contents Part I: Objects and the Three Realms Part II: Investiture, Shadesmar, and Metaprogramming Part III: Realmatic Integration Testing Appendix I: Realmatic Interactions Part I: Objects and the Three Realms Summary: In OOP terms, the Spiritual aspect is the set of an object's methods the class definition[1] of the object, the Cognitive aspect is the set of values of an object's runtime attributes, and the Physical aspect is the set of an object's publicly accessible members (i.e. its public interface). Everything in the Cosmere is made up of "objects". By "object", I mean an entity that has both a set of constituent parts and a set of instructions detailing its behavior. Brandon is probably more familiar with the philosophical definition of the word, but since I'm just a code monkey and not a philosopher, I'll stick to my somewhat oversimplified OOP-based definition. The behavioral specification (In OOP, the "class definition"[1]) of an object allows it to interact with itself and with others, and is basically the Spiritual aspect of the object, its soul. This jives with Satsuoni's theory that the Spiritual Realm is responsible for connections and interactions, as well as with Kurkistan's idea of "motive force". Now, when we talk of an object "interacting with itself", what do we mean by that? The "Self" (or Spiritual Identity) exists because the different parts of the object (which are themselves objects) have started grouping their spiritual aspects into a single unit. In OOP, defining the identity of the object is the job of the constructor and setter methods. Identity determines what is in the object and what is outside of it, and in the Cosmere, this separation between "self" and "others" creates consciousness. This coming together of separate objects to view themselves as a single conscious entity was already described by Shai, and she also explains that how an object views itself is basically its Cognitive aspect. In OOP, objects can have fields containing other objects that act as its attributes and properties. The Cognitive aspect would encompass everything that the object views in itself: its attributes, its constituent components, its thoughts, its sensory perceptions, etc. Speaking of the senses, normal objects can only sense other objects in a limited way. In Realmatic terms, Object A can only sense Object B if Object B's Spiritual aspect specifies the possibility of interacting with Object A. In OOP terms, this involves two things: Object B needs to have public methods or attributes. Object A must be in a position to access those public members (i.e. Object B should be within its scope). The sum total of all the publicly accessible methods and attributes of all the objects in the Cosmere is what we call the Physical realm. This includes the fundamental forces of nature like gravity and electromagnetism that all objects use to interact with each other, as well as the attributes changed by such interactions. Remember that in the Cosmere, physical forces (e.g. gravity) are actually dictated by the Spiritual realm, while physical attributes (e.g. position, shape, structure, etc.) are stored in the Cognitive realm. The Physical realm therefore comes from the interaction between the Spiritual and Cognitive realms. I suppose I ought to give some examples. Certain objects like bowling balls, jagged shards of glass, and human body parts have the ability to exert force (in the Newtonian sense of the word). In the Cosmere, these forces originate from the Spiritual realm (in OOP, the class definition)[1]. Such objects also have special kinds of properties like shape, color, structure, momentum, position in spacetime, etc., that are affected by forces exerted on them. The interaction of those forces (Spiritual) and those properties (Cognitive) is called Physics, which is why we call these objects Physical entities. Another example would be thoughts and perceptions. These things would not have Spiritual methods to exert physical force. In fact they would just have the minimal amount of Spiritual presence to allow conscious objects to store, retrieve, analyze, or destroy them. Other than that, thoughts and perceptions would be mostly composed of attributes, like "truth-value". "clarity", "usefulness" etc., making these objects Cognitive entities. Lastly, there would be objects that have behavioral instructions but have very few (if any) perceivable attributes. Examples are forces and spirits. They may "do things", but they have very little in terms of defining characteristics. These would be what we call Spiritual entities. Here is how an object gains presence in all three realms: An object must always have a Spiritual aspect, even if it's just a tiny one, for the simple reason that all objects must manifest at least one behavior: the action of existence. As long as an object exists, it is in the Spiritual realm. The more actions an object can perform, and the more complex those actions are, the stronger its Spiritual aspect. Complex lifeforms have a strong Spiritual presence, but so do cosmic forces like the Shards of Adonalsium. Objects with the strongest Spiritual presence might be called omnipotent. An object gains a Cognitive aspect the moment it achieves Spiritual Identity (i.e. the moment it sees itself as a separate entity). The more distinctly this identity can be sensed by itself and others, the stronger the Cognitive aspect. This is usually achieved by increasing its number of unique attributes, especially attributes related to sensory perception (e.g. sensory organs). Intelligent beings have a strong Cognitive presence, and omniscient beings have the strongest Cognitive presence of all. An object gains a Physical aspect when it allows its attributes to potentially become affected by the actions of other objects. Objects with a bigger number of attributes exposed to outside influence have a stronger Physical aspect. Mass is one of these attributes, so massive objects have a strong Physical presence, especially super-massive black holes. (To be continued in Part II: Investiture, Shadesmar, and Metaprogramming) Edit (Footnote [1]): Satsuoni and Kurkistan (who both inspired this theory) have convinced me in the discussion below that "methods" are the wrong analogy to use for the Spiritual realm. Rather, "classes" would be better. Note the corrections I made above to reflect this change in the theory. Update(2016-12-31): Fixed the links in the table of contents. Reading this again after three and a half years, and knowing what we know now about the cosmere, I now find this to be little more than an amusing attempt to frame Realmatics in programming terms. Serious Cosmere theorists are better off speculating on what the Realms are, rather than what they can be compared to. For a more serious theory, consider this other one, instead.