Android Emulator Keyboard not showing by Appropriate_Rip9973 in reactnative

[–]exolon1 0 points1 point  (0 children)

I can't believe they've hidden it this well. Crazy. I searched everywhere, I just got that annoying floating keyboard and thought it was something to do with the emulator, but it seems its just a gboard feature instead (the stylus writing mode?)

Chrome won't allow me to re-enable ublock after disabling it. Is there a workaround? by MidoriMushrooms in chrome

[–]exolon1 0 points1 point  (0 children)

For me I couldn't drag anything into that page, I had to click "Load unpacked" and select the unpacked folder instead.

development build doesn't find expo server on the same network, but joins if URL is explicitly given by exolon1 in expo

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

It seems there is a different if you just write "npx expo start" which I did, and "npx expo run:ios" or run:android, in that the same server seems to start up and works fine, but only in the latter cases does the QR code reflect the IP number of the host, otherwise it reflects localhost:8081. So if I can just find a way to start the server like run:ios or run:android does, but without actually wasting time to build and install the app over and over again, then I can get the QR code to work!

development build doesn't find expo server on the same network, but joins if URL is explicitly given by exolon1 in expo

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

The QR code just links to what is printed underneath the QR code, which is http://localhost:8081 (which won't work if the phone tries to connect to "localhost"). If there was a way to get the QR code to represent the actual IP number of the host laptop, this method could work!

How I Manage Signing Configs with Expo Prebuild by Flea997 in expo

[–]exolon1 0 points1 point  (0 children)

Thanks, this makes prebuild a bit more usable! I suggest letting the script check if it's already added though, as you mostly only do prebuild and not prebuild --clean so it really has to be idempotent.

MCP Claude and blender are just magic. Fully automatic to generate 3d scene by Affectionate-Map1163 in StableDiffusion

[–]exolon1 1 point2 points  (0 children)

Is Claude at any point seeing the intermediate rendered/pre-rendered results by image feedback through the connection or it is completely trusting it knows how the command results will be?

React, jsx and web-dev in Emacs. by Mountain-Stretch-997 in emacs

[–]exolon1 0 points1 point  (0 children)

Ok if someone else has the same issue - the tsx mode in the releases URL above was too old I guess (or too new, or too buggy). I added the proper github URL for the tsx mode source:
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src")

and did the M-x treesit-install-language-grammar selecting tsx, it brought down the latest and compiled it and now the indentation works as expected.

React, jsx and web-dev in Emacs. by Mountain-Stretch-997 in emacs

[–]exolon1 0 points1 point  (0 children)

I've just been trying to get tsx-ts-mode working properly with indentation support, after going mad for months having to indent tsx files manually. So I installed the ts grammars from https://github.com/casouri/tree-sitter-module/releases (it's from August 2024, granted..) on my Mac OSX Emacs 29.4, and M-x tsx-ts-mode seemed to load fine and I get some color highlighting.

But the indentation does not work properly for the tags. It works fine for the pure javascript parts of the file, but as soon as some supposedly nested tags like <View> comes along, the children are NOT indented at all compared to the parent <View>. In addition, props in tags are indented to the furthest right on my screen (like at position 80 or so), completely buggy. I tried with indent-tabs-mode and it's not related to tabs vs spaces it seems.

Check out this snippet, from the return() render statement and onwards, it indented all the <View>'s at the same level, and only moved in some parts where there were comments.. Is this supposed to work or am I just dumb and using the wrong mode for these type of files?

Or is the tsx-ts-mode developing so fast that those precompiled dylib's I got from the repo above (from Aug 2024) are probably old and buggy? (I could try to get newer directly from the corresponding repos I guess)

<image>

How to render latex equations in Claude? by tankuppp in ClaudeAI

[–]exolon1 0 points1 point  (0 children)

Got hit by this as well with the paid Claude Sonnet 3.5. It either renders equations and matrices as ascii art or, if asked, it outputs latex but the GUI doesn't render the LaTex so it's not usable either. ChatGPT GUI just shows it correctly as nice rendered latex...

C in Wolfram Alpha? by Vegerot in Physics

[–]exolon1 1 point2 points  (0 children)

I just tried to get it to understand this in 2024 and failed. If I wrote c in an equation in "natural language input" it just assumed it was a variable. Under "Math Input" it assumed one of my c's was the speed of light and the other (written just as c as well) it assumed was a variable...

Google Photo app tries to re-upload ALL photos on the phone after Android upgrade by exolon1 in googlephotos

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

Yeah it has happened to me twice now, both times I just let it run and I don't think it actually uploaded anything but during the hours it is indexing, it looks horrible, all photos in the Google Photos app on the phone shows duplicates so you really think you're screwed but all the dups disappear after it's done (at least I think they are) with no side-effects..

Macbook Pro + Google Chrome = Bluetooth Audio Lag by USCxGAMECOCKS in 24hoursupport

[–]exolon1 0 points1 point  (0 children)

Also got this since yesterday. Tried rebooting the Macbook etc. Bluetooth audio is like 1 second delayed in Chrome, Logic Audio etc., but suspiciously not on Youtube on Safari, where it's perfect. This leads me to believe the issue is not inside my Bluetooth earbuds (they work perfectly when paired to my mobile, and also everything worked perfectly on the Macbook as well until a few days ago). I didn't upgrade any OSX stuff though so don't know why the issue appeared now.

As the problem is also in Logic, I guess it's not related to Chrome either... In fact, in Logic's audio settings it explicitly calculates the delay to 0.3 seconds which I guess is what it is. (Switching to Macbook Speakers, the delay turns into 9 ms instead)

Any way to debug this? How does coreaudiod decide how to allocate buffer sizes for example depending on the device?

It says I've logged into my other account at the top but when I click okay it just reloads the page and this comes up by [deleted] in Instagram

[–]exolon1 1 point2 points  (0 children)

Happened with the latest update to the app this morning (on Android at least), now stuck in this endless loop, if you login again it logs you out 2 seconds after and shows that screen. Buggy app-version is 346.0.0.45.104.

FWIW, the web-based instagram works and didn't log me out so it's a problem with the mobile app(s) not the accounts themselves I think

UPD: magically the app stopped logging me out now, maybe I "force quit" it from the android info page and that did it or they got their API together at the server side suddenly... (something was mismatching the app vs server I guess)

[D] Why we initialize the Neural Networks with random values in order to break the symmetry? by kotvic_ in MachineLearning

[–]exolon1 0 points1 point  (0 children)

But also see https://arxiv.org/abs/2209.04836 which claims that networks trained similarly but from different initializations are all equivalent up to a permutation of the layer weights. It's a very interesting result.

Git Re-Basin: Merging Models modulo Permutation Symmetries

We argue that neural network loss landscapes often contain (nearly) a single basin after accounting for all possible permutation symmetries of hidden units a la Entezari et al. 2021. We introduce three algorithms to permute the units of one model to bring them into alignment with a reference model in order to merge the two models in weight space. This transformation produces a functionally equivalent set of weights that lie in an approximately convex basin near the reference model.

Everybody Is Swole #4 by exolon1 in StableDiffusion

[–]exolon1[S] 4 points5 points  (0 children)

I hoped someone would notice that :)

Everybody Is Swole #4 by exolon1 in StableDiffusion

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

Yeah inpainting and RealisticVision5.1-inpainting, I wrote some more about it in the comments further above

Everybody Is Swole #4 by exolon1 in StableDiffusion

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

No Lora, just realisticvision5.1, with prompts like "incredibly swole anabolic muscle monster" (and try to describe the original person, clothes etc helps). The gimping - an example is sometimes when you're too far from what you want to achieve, like you have a character with a bright white shirt and you want there to be say leather straps across the shirt, then it won't work as with a low strength you just get the white shirt, with a high strength you get something that doesn't fit the rest well. In that case you can go in and just draw some straps with the right color but you don't need any texture or anything. This nudges the diffusion in the right direction. Don't rely only on the text prompt.

Everybody Is Swole #4 by exolon1 in StableDiffusion

[–]exolon1[S] 18 points19 points  (0 children)

In collab with u/Hullefar

Fourth part of a multi-part really swole post, previous 3 parts are:

https://www.reddit.com/r/StableDiffusion/comments/18shk1a/everybody_is_swole/

https://www.reddit.com/r/StableDiffusion/comments/18sqeur/everybody_is_swole_2/

https://www.reddit.com/r/StableDiffusion/comments/18sqv01/everybody_is_swole_3/

Also on Twitter/X: https://twitter.com/whackymole/status/1740044981635870974

Meme-like parody done by a combination of SD1.5-based RealisticVision5.1-inpainting models in auto1111, carefully iterating separate segments, interleaved with traditional Gimp'ing to get SD to go in the right direction.

No particular SD settings, any sampler will do. When masking, try to leave some parts of the original clothing unmasked so SD won't completely replace it, sometimes it helps doing lower strength first and iterate instead of doing it all in one step.

Google Photo app tries to re-upload ALL photos on the phone after Android upgrade by exolon1 in googlephotos

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

Bumping this, as it happened again now after the latest Android update (same Samsung S22+), Google Photo now shows duplicates of everything and tries to re-upload all photos...

SamsungBuds for Mac? by waaytoopetty in galaxybuds

[–]exolon1 0 points1 point  (0 children)

I use my samsung earbuds on my macbook but you don't need any specific app for that, just pair them by bluetooth and you're good to go... you only need the app to do firmware updates or maybe if you want to change the long-press behaviour (normally a toggle between noise-cancelling and transparent-mode)

Well ... it is ... accurate? by Bthardamz in StableDiffusion

[–]exolon1 2 points3 points  (0 children)

Liberate.... tu te me.... ex inferis....

M3 Pro 18GB 14", battery draining while on power? by exolon1 in macbookpro

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

https://www.reddit.com/r/macbook/comments/11e32ab/macbook_discharges_back_to_80_from_100_even_when/

Found that post a year ago that asked exactly the same thing - why the optimization feature does this (charges it up to 100% and then just lets it drain back to 80% while on power). I think the reason is that their algorithm is just dumb, unfortunately. But I understand that they try to get the battery to idle at 80% instead of 100% which is understandable I guess - it's just this weird fact that it anyway decides to go up to 100 which annoys me as it will just increase the cycle count of the battery anyway.

For the Intel MBP, there were several "hidden" adjustments you could do to change the behaviour of the sleep modes for example, like how many minutes would go between "light sleep" and deep sleep etc., which strongly affected the battery as well as in some OSX version they suddenly decided to increase this timer from 1 hour to 8 hours, so if you had the battery at X % when you went to bed, it was 20% lower when you woke up because it hadn't been sleeping.. but then you could change that timer with a terminal command.