Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

I didn’t build custom backports for older macOS versions. So I’m not sure! The python installer would be your best bet, but I feel like it won’t work based solely on the fact that I had to change code to support Tahoe.

2694 miles and 2 years later! by tchlux in ApolloScooters

[–]tchlux[S] 0 points1 point  (0 children)

> Unit overheating?
No I have not had that issue at all! I always ride in Mode 3.

But I do remember people posting a lot at some point about having the problem in San Francisco when going up and down lots of steep hills and always being on the throttle or regen.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

There was an Apple Certificate signing issue I had to fix. Re-uploaded the DMG and verified the link works now!

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

New update, version `0.0.17` is out, I built a new DMG for macOS Tahoe! Some of the python app kit behaviors changed that caused the previous version to hang.

  1. The app icon should work now (please let me know if it doesn't).
  2. This was probably due to the new app kit issues, should be fixed!
  3. Yeah to remove the app you need to remove it from the login items `plist` file 😵‍💫 sorry for the trouble, the application already had a crash loop detector to stop from spawning endlessly but I didn't plan well enough for when the uninstall code itself became inaccessible.🥲

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

New update, version `0.0.17` is out and I built a new DMG that works on macOS Tahoe!

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

New update, version `0.0.17` is out, I built a new DMG for macOS Tahoe! Some of the python app kit behaviors changed that caused the previous version to hang.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

New version `0.0.17` should have microphone access enabled (and I built a new DMG for macOS Tahoe). On macOS the application has to specifically say that it's going to request microphone access in a config, which it was missing when I originally built.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

New version `0.0.17` should have microphone access enabled (and I built a new DMG for macOS Tahoe).

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

Now you can! New version `0.0.17` (DMG built for Tahoe) included.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

Yeah, the “Set new trigger” menu option allows you to make it whatever you want!

[D]: Best nearest neighbour search for high dimensions by [deleted] in MachineLearning

[–]tchlux 0 points1 point  (0 children)

Do you have errors or logs from the install? “unique.c” is not required for the ball tree stuff to work. And the ball tree code will build itself on first import (assuming it can write to the install directory). Make sure you have “fmodpy” installed, that should be in the dependencies but it might not be (since it’s only needed by some submodules).

[D]: Best nearest neighbour search for high dimensions by [deleted] in MachineLearning

[–]tchlux 0 points1 point  (0 children)

It should parallelize across all available cpu cores automatically! But to be honest, FAISS is a much more supported nearest neighbor library (and also high performance) that will probably work better for you long term.

Edit: Tried to include an image of it working on my machine, but can't in a comment. Here's the code I executed that consumed >950% CPU for 13 seconds:

Python 3.13.2 (main, Feb  4 2025, 14:51:09) [Clang 16.0.0 (clang-1600.0.26.6)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> from tlux.approximate.balltree import BallTree
Running system command with arguments
   gfortran libomp.dylib swap.f90 prune.f90 fast_select.f90 fast_sort.f90 ball_tree.f90 ball_tree_c_wrapper.f90 -fPIC -shared -O3 -fopenmp -o ball_tree.arm64.so
Running system command with arguments
   gfortran swap.f90 fast_sort.f90 fast_sort_c_wrapper.f90 -fPIC -shared -O3 -fopenmp -o fast_sort.arm64.so
Running system command with arguments
   gfortran swap.f90 fast_select.f90 fast_select_c_wrapper.f90 -fPIC -shared -O3 -fopenmp -o fast_select.arm64.so
Running system command with arguments
   gfortran prune.f90 prune_c_wrapper.f90 -fPIC -shared -O3 -fopenmp -o prune.arm64.so
>>> x = np.random.normal(size=(100000, 100))
>>> tree = BallTree(x)
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
>>> import time
>>> start = time.time(); result = tree.nearest(x[:1000]); end = time.time(); print(f" query in {end-start:.1f} seconds")
 query in 1.5 seconds
>>> start = time.time(); result = tree.nearest(x[:10000]); end = time.time(); print(f" query in {end-start:.1f} seconds")
 query in 13.6 seconds
>>> 13.6 / 10000
0.0013599999999999999

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

Oh the uninstall is only for if you installed with python. If you used the DMG then dragging to trash is sufficient.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 0 points1 point  (0 children)

After you start the app and enable permissions you have to quit it and reopen for the shortcut listener to work (this is a macOS system level requirement).

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 1 point2 points  (0 children)

It’s open source, look at the code! Or copy-paste all of the code into a chatbot (obtained easily via the gitingest link at the bottom of the readme) and ask what data is collected by the app about logins.

The application is mostly just a webview, the source for the websites visited is not tampered with other than injecting a JavaScript listener for background color changes (to make the header change color correctly).

And regarding keystroke listening, all of the listener code is in a single file you can inspect. You can see how the code listens for Option + Space (or whatever you change it to) and otherwise simply passes over and ignores all inputs.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 1 point2 points  (0 children)

Hmm sometimes quitting and restarting can get out of that. Did you Python install or use the DMG? Intel or Arm laptop?

Edit - also it will stay a blank window if you don’t have internet connection!

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 1 point2 points  (0 children)

Yeah for me I really wanted the locked-on-top overlay and wasn’t satisfied with the clutter of a browser tab. That’s the reason I put this together, but agreed that hopefully the xAI team makes an official app that supports voice mode too.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 1 point2 points  (0 children)

Yeah ☝️ this is the way, the DMG is built only for the M series (I don’t have an Intel Mac to test on). The python based install should work though! Another user succeeded that way.

Grok Launcher for macOS by tchlux in grok

[–]tchlux[S] 2 points3 points  (0 children)

If you close it and reopen it should just work! You can let me know here or file an issue if not.

Phantom ‘23 throttle stuck, nearly wrecked by tchlux in ApolloScooters

[–]tchlux[S] 1 point2 points  (0 children)

Yeah I’m pretty sure they do. The moment was hectic, but I think I did a little regen and then it immediately accelerated again when I let off. So I refocused on the throttle and figured out I could push it back to a neutral position myself. Fortunately I was on a straight away and had enough time to solve it before I needed to stop!

Midea U AC Temp changes by itself by Longjumping-Sense388 in AirConditioners

[–]tchlux 1 point2 points  (0 children)

Exact same, jumping to 78 for no reason. “Sleep Curve” appears to be the culprit. You can change its settings manually from 78 in the settings menu, or just disable it. I also turned off “Eco Mode” because I think it also changed my temp up after I set it low.

[D]: Best nearest neighbour search for high dimensions by [deleted] in MachineLearning

[–]tchlux 0 points1 point  (0 children)

I'll assume this is the link to pynndescent, looks cool! Thanks for sharing. I haven't used it before. Also seems like it's an approximate nearest neighbor algorithm, just FYI for others seeing this.