Code Monkey home page Code Monkey logo

Comments (15)

dreamwhite avatar dreamwhite commented on May 27, 2024 1

Sure, take your time. No hurry on that

from about-this-hack.

MDNich avatar MDNich commented on May 27, 2024 1

Ok thank you so much for that. I will have to look into how to access the number of slots nicely with @0xCUB3, and as default we will show it all the time.
Thanks again, will keep you posted on progress.

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 27, 2024

Yeah, we've actually been working on RAM. Unfortunately, since all the stats come from terminal commands, there isn't a simple terminal command for RAM type and speed, since they're stored differently for different Macs for some reason. I'm not sure how apple gets its data from. If you know, I'd appreciate knowing

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

Hi thanks for the reply. I think you can actually base the whole app using IOKit API which is way faster than executing terminal commands

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 27, 2024

Really? Can you share an example of an app that uses it? I'm intrigued

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

I'm not a Swift developer neither a IOKit expert but TINU uses some IOKit API calls to retrieve infos such as disks and so on

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

Hi @0xCUB3 any update on this issue?

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 27, 2024

Hi @0xCUB3 any update on this issue?

I haven't had much time to work on the app because of the school year, but it's a feature that will be added when I get back to work on this app

from about-this-hack.

MDNich avatar MDNich commented on May 27, 2024

@dreamwhite Looking into this a bit; we will try to add another tab with memory similar to the traditional Mac one.
We will likely address primarily total memory and number of slots and what size, though the UI may be a bit difficult to replicate.

Do you happen to know what the criteria for memory tab showing is? That way we can replicate that even more...though it's ok if not.

Thanks so much for your interest in the project! :)

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

Hi! Thank you so much for giving such effort for the project. Actually the criteria should match at least the default behaviour of macOS such as depicted below:

image

where

  • you should find a way to retrieve the total amount of memory and place it inside the blue box (e.g. 10 GB installed)
  • A text like Your Mac contains N memory slots, each of which accepts a MEMORY_SPEED MHz MEMORY_TYPE memory module
  • If every memory slot is used display a text like All memory slots are currently in use otherwise N_OF_USED_MEMORY_SLOTS memory slots in use, N_OF_UNUSED_MEMORY_SLOTS available as depicted below:
    image

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

I don't know if you're planning to use IORegistry keys or not, but in case it becomes helpful:

ioreg -p IODeviceTree -n memory gives you the necessary info to parse, such as the slot names and dimm speeds

from about-this-hack.

MDNich avatar MDNich commented on May 27, 2024

Sounds good thx!! Will probably use that.

from about-this-hack.

MDNich avatar MDNich commented on May 27, 2024

Haven't forgotten about this @dreamwhite, will work on it soon

from about-this-hack.

dreamwhite avatar dreamwhite commented on May 27, 2024

Good morning. Nice to hear that! I'm willing to test it whenever you want

from about-this-hack.

0xCUB3 avatar 0xCUB3 commented on May 27, 2024

For now I will close this as "will not fix". This is too big of a project for the initial stable release. I will reopen if/when I start thinking about implementing this.

from about-this-hack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.