CarlZalph

  • Content count

    1,620
  • Joined

  • Last visited

 Content Type 

Profiles

Forums

Downloads

Klei Bug Tracker

Game Updates

Hot Lava Bug Reporter

Status Updates posted by CarlZalph

  1. I've decided it.  I'm going to learn Go as a programming language.

    Installed and things are functional.  Play time.

    1. Show previous comments  10 more
    2. Mobbstar

      Mobbstar

      So... "panic" is just what other programming languages call "throwing an error"? Or does it automatically look for the next Catch in the traceback and skip functions without any?

    3. CarlZalph

      CarlZalph

      They're similar but the cause is different.  You are right in that it will skip all code until it hits a recover if one exists.

      In other languages you'd put the 'unsafe' code in a block and catch errors.  In go you're meant to handle each error explicitly for each function that can have an error, like in C.

      In go you can recover from a panic anywhere so long as you have a function that tries to recover somewhere in the stack.  This allows recursive functions to throw out a panic and to be caught from the start as it unwinds the stack back to the caller.

    4. CarlZalph

      CarlZalph

      Wrote a UDP Proxy for use with Man-in-the-Middle attacking myself.  Already had one written in C, but that's not quite the point of me learning a language!

      Differences:

      • In C you're probably working with BSD-like sockets directly as I was.  In short, it's a lot of setup work to be done to make it work.
        • In go it's cut down a lot of this by having a 'socket' be a 'connection' that you either 'listen' from or 'dial' to.  You then read/write to these connections with all of the underlying socket layer abstracted away.  This is an upside of go.
      • In C buffers are usually malloc'd to remove them from the stack and onto the heap.  Or if your program is performing under memory constraints, then a memory pool is utilized.
        • In go there's no real preallocation- memory management for the programmer is nonexistent.  If go can't allocate the required memory behind the scenes, then the program must terminate and there's no going back.  This is a downside of go.

      Similarities:

      • In C sockets should be placed on their own thread because network read/writes are blocking.  Probably with pthread under *nix-like environments.
        • Go routines.  Threading with low effort and high code readability.  Go does it better since it has innate threading.
      • Performance is about the same after profiling each.  It's a simple task really.
      • Signal handling is *nix-like, and has about the same amount of 'boiler plate' code required to make them function.

      All-in-all I'm quite happy with how much less code was required to write it, but that's more running along the lines of the language itself having such abilities prebaked, and C needing libraries.  Really like the performance being very similar.  Dislike the memory explosion possibility in go where there is no upper bound limits being able to be set before hand- this sort of kills go for anything with high memory constraints.

  2. Too many closed doors.

    1. Show previous comments  1 more
    2. minespatch

      minespatch

      What's the context behind this status?

    3. CarlZalph

      CarlZalph

      Doors.  They let one in or keep one out.  Alas, the last door mentioned closed shut after teasing its contents.

    4. CarlZalph

      CarlZalph

      No, I'm not locked in an enclosed area or suffering from a mental breakdown or what have you.  Couple of people asked me directly on other mediums if I was alright with those specific worries.

      Right place in heart so thanks to those individuals, but allow me to allay future fears.

      The doors are just metaphors for opportunities.  Opportunities when they reveal themselves will either let someone to go into them or shut them out, much like how doors work.

      In my case here there seems to be so many opportunities that I merely cannot access yet, and this was a venting of some frustration of it.  Then my hopes got raised when another similar opportunity came along but alas!  Fidgety little bugger eludes me once more.  This is fine.  More will come along in the future, and I won't let the missed deter me from getting more.

  3. image.png.6bc8c37fe008f3a3c92041be73feeaa7.png

    image.png.daadcefd2d5ecc9372a006114ab81961.png

    image.png.a0d912ead7281a690cb1e1b0fc12fd31.png

    Just posting for the gaggles and jiggles.  And a recorded timestamp for the inevitable to come.

    1. Show previous comments  1 more
    2. Mobbstar

      Mobbstar

      Are you sending skin requests to achieve these things? I don't think a "The World" skin request would work at all. Whatever you do, it's amazing.

    3. Starlogy

      Starlogy

      is that a JOJO reference?

    4. minespatch
  4. Win10's scrollbars.  0xCDCDCDFF on 0xF0F0F0FF.  Minimum 17 height x 15 width pixels.

    Here it is with different colours next to it.

    win10.thumb.png.244e3e73dfa9c7bb18bbffcdbbe7dda7.png

    I hate these things.

    1. Maximum101

      Maximum101

      I guess the color/style could change, but what's so bad about the scrollbars?

    2. Mobbstar

      Mobbstar

      I like the simple design more than he clunky looking WXP ones, but an option to improve contrast would be nice.

    3. minespatch

      minespatch

      What happened?

  5. For those using my file structure for dynamic keybinds, the game update from today put a restriction on a filepath directory.

    Move the 'DST_Scripts' folder into the DoNotStarveTogether folder and edit the root customcommands.lua file to use "../DST_Scripts/" as the path, instead of "../../DST_Scripts/".

     

    I would put this in the thread that has it, but it's so old that it's archived.

    Putting it here so perhaps maybe someone somewhere will see this and find it useful if it's applicable to them.

    1. Mobbstar

      Mobbstar

      ask joew or a moderator like MrL to unlock

    2. ImDaMisterL

      ImDaMisterL

      Ask JoeW if you want, mods still don't have the ability to unarchive topics :(

  6. It's ImDaSisterL, yeah?

    1. ImDaMisterL

      ImDaMisterL

      You almost had it

    2. CarlZalph

      CarlZalph

      Etched in stone it is!

  7. Never realized that the smoke from the Shipwrecked volcano was another overlay until I started messing with the other similar overlays introduced in Hamlet.

    It's been a long time since SW came out and yet neither I saw it nor anyone said anything about it.

    1. Mobbstar

      Mobbstar

      What overlay? You mean the black fx above the zoomed-out volcano?

    2. minespatch

      minespatch

      Can you explain?

  8. 33wQETd.png

    Party noises, I suppose, are appropriate for this event.

  9. It makes me wonder if anyone says 'Warbucks' anywhere on here and JoeW'll be there to keep the peace.

    1. CarlZalph

      CarlZalph

      24h later and the entire subforum is just a swarm of joke threads and vitriol.

      Sorry, JoeW/mods.

    2. minespatch

      minespatch

      Well... Hopefully it calmed down by now.:wilson_dorky:

  10. Sometimes I wonder if Klei made Wormwood not take health damage so that way PeterA can eat all of the red caps he wants to on streams.

  11. Not sure why I feel a desire to help people when they don't ask for it.

    So much time spent on others when I could have merely done it for my own benefit.

    What a waste.

    1. CarlZalph

      CarlZalph

      Note that this isn't an attempt at being passive aggressive, just a venting.

      Please forgive my statements here if you take offense to anything or if I seem very negative.  Just tired of many things.

  12. Steam beta has a new feature that lets you play with other people as if they were also there, using the same input systems as you.  Shared keyboard/mouse/controller.

    More info at: https://steamcommunity.com/games/593110/announcements/

     

    Downside is that it only works for games that are flagged for local coop and have had the a-okay from the publisher to let it be done.

    Well, that's the alleged restriction.

    image.thumb.png.ab785abf6618e15d9863580f2f67ec06.png

    image.thumb.png.4fc532fde3ea15f4dde9bbd0c85c018b.png

    Steam games need some magic applied to function, but non-Steam games are very easy to do.

    1. Mobbstar

      Mobbstar

      But we know, most of you came here for one thing. I think it's to see where we're porting Skyrim next!

  13. Hope all is well.

    You were a large driving force to get me to spew code out in the Mods and Tools subforum before you could do the same.

     

    1. DarkXero

      DarkXero

      All is well.

      Thank you for your kind words.

  14. Merry Christmas, Joe.

  15. People in the ONI subforum gettin' a bit too rowdy, eh?