User Profile

Collapse

Profile Sidebar

Collapse
aryankanse6
aryankanse6
Last Activity: Feb 15 '21, 04:52 PM
Joined: Jun 17 '20
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Is there a better way to log and debug objects in Node?

    I am developing a server-side app that cannot run in the browser, and therefore I cannot debug with DevTools.

    If I want to debug an object I need to print the object to shell using

    JSON.stringify OR require('util') .inspect
    These work okay but it's not anywhere near as good as a browser's DevTools.

    So, I am wondering, is there a better way to debug objects? Is there some sort of DevTools like shell...
    See more | Go to post
    Last edited by Niheel; Feb 14 '21, 03:31 PM.

  • Why is C++ so terrible when it comes to date/time manipulation?

    This is just a rant, but I love C++, and its such a massive and influential language, but why is it that while most other major programming languages have nice, convenient built in libraries for things like parsing a datetime string, or printing a datetime as a string (even C has strftime and related functions), with the STL we have to wait until C++20 before anybody even considers adding date and time functionality to chrono (and who knows if that...
    See more | Go to post
    Last edited by Niheel; Feb 14 '21, 03:32 PM. Reason: remove link

  • aryankanse6
    started a topic Allocators, I don't know what I'm talking about.
    in C

    Allocators, I don't know what I'm talking about.

    Hello Der,

    I'm trying to make a ECS in c++ and started exploring the existing material a little, going down the rabbit hole I ended up finding out about special allocators.

    I think I get the theory behind the allocators, and have seen multiple (around 5) videos from cpp con and one from code::dive 2018 about allocators, and I do get that using allocators<type name> is bad and that you should use std::pmr::datat ype<typename,...
    See more | Go to post
No activity results to display
Show More
Working...