Jesus4Lyf
Reaction score
397

Profile posts Latest activity Postings About

  • Insanity is just another word for those who make no sense and do completely random things without reason.
    Sometimes this lua stuff can be a real time saver.

    I wrote something that takes an external file, processes stuff like "AHav avatar" into "call Register('AHav' , "avatar")" and imports it into the proper place. Makes making long lists of specific spells cake.
    I was browsing da intranets when I saw someone familiar. Is this as new to you as it is to me?
    I succeeded in only crashing their Warcraft. I made the Soul Gem item called "Sexy Item", "Click and target self for sexy actions!". Then I told them to select their hero portrait to get it back. Then:

    "Waiting for Players:
    [ ] Player XXX"
    Dear Jesus4Lyf,

    I am most upset as to how SoulGem target self and click didn't crash other people computer. My friend told me only I lagged out. God damn him. Everyone else was fine. Lucky I was in windowed mode.

    SO what do I do?

    From Mr. Apple Juice
    Well, I can't really complain if you agree. :p Unfortunately, some in the TheHelper community have wound up obsessed with "performance" and benchmarking things that don't need to be benchmarked. It's like some systemic problem over here.

    Anyway, about benchmarks. I thought you might find it interesting to know that all the work that AutoIndex does when a unit enters the map adds 7% to the amount of time unit creation takes. Each AutoCreate implementation (which adds TriggerEvaluate + function calls + other work) also increases the time by about 2%. If you do some precise benchmarks for AIDS, perhaps we can see what the differences are.
    Any processing capacity in excess of what's required at any given moment is just wasted. Nothing matters until you actually hit the point where framerate goes down, and that is totally impossible to reach for modern PCs without bottlenecks or poor code design. The incredible volume of code my physics engine was able to run on 200 units at 40 updates per second was enough to see that. There's also the corollary of this observation, which is that nothing matters performance-wise unless it's executed periodically (or has some other persistent effect, like increasing memory usage).

    With that in mind, the value of usability vs performance swings distinctly in the favor of usability, and that has big implications on the design of systems. The goal should be to create an awesome API and work backwards from there, without exposing any of the implementation details to the user.
    Even if you got rid of all of those minor "optimizations" and the convoluted coding style in Rain, it wouldn't affect the framerate. In the demo map, it's entirely dependent on the user's graphics card and how many of those rain SFX it can handle onscreen.

    Anyway, this is just indicative of the whole issue. Your code often (not always) compromises its design in order to go after imaginary performance boosts. The only time performance should overrule design is in a very few cases where it will actually affect the user's experience, not just for the hell of it.

    The only reason I bother to flame you is because many of your systems are useful in concept, but they often wind up with a lame API or mangled internal code. I know that you see those design choices as the best compromise to ensure maximum performance, and I used to think along the same lines a couple of years ago, but then I realized that the common fallacy that all these minor opimizations somehow add up is really flawed.
    From grim002 (part 1):

    Your coding philosophy of "mangle the code as badly as possible in the name of efficiency" is insane. The systems you create often have APIs that force the user to jump through hoops just to compensate for the way it's coded.

    The fact is that none of the lengths you to go in the name of 'efficiency' are actually going to increase the framerate that a person playing a map will experience. Since you have never made anything that actually pushes WC3 to its limits performance-wise (like a physics engine), you apparently don't understand what the actual performance bottlenecks are. They certainly aren't the things that you encourage people to worry about.
    From grim002 (part 2):

    Following your efficiency guidelines simply makes it less likely that people will properly finish or maintain a map. Instead they'll double their development time worrying about pointless nonsense like: how to avoid declaring local variables, how to avoid declaring too many triggers, and how to deliberately avoid using higher level features like function interfaces, etc. None of which will actually increase the framerate of the finished map.

    If professional programmers thought like this, it'd take 10 years to develop a game since they'd be doing it in assembly language.
    Hey Jesus4Lyf,

    I was just reading over the "knockback" system that Dr. Jack wrote. In the thread you talked about using Event to fire off triggers at the end of a knockback.

    I was just wondering what you thought the correct way to go about this was.

    I had two options in mind (the first of which I thought was the most sane).

    1.
    JASS:
    local knockback kb = knockback.create(...)
    
    set kb.triggerToBeFired = SomeTrigger


    or:

    2.
    JASS:
    // Some type of global TriggerRegister Type event.
    function TriggerRegisterKnockbackEndEvent takes trigger whichTrig returns EventReg
    
    // Or (Although this one seems stupid):
    function TriggerRegisterKnockbackEndEvent takes trigger whichTrig, knockback whichKnockback returns EventReg


    What are your thoughts on the matter?
    Hey, you reckon you can check in on the last few posts of the Linked List Module thread and suggest improvements, as I am pretty sure you have a better way of doing the things I did.
    I wanted to modify some of the statistics on all of the buildings at once. I used an ObjectMerger lua thing to register all the buildings so that future changes wouldn't need so much time to perform.

    Compiles in the blink of an eye.
    I'm loving this external block lua stuff. It compiles so quickly and makes development so much faster.
  • Loading…
  • Loading…
  • Loading…
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      The Helper Discord

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top