#programming
1 messages · Page 364 of 1
Did someone say 3060 12gb?
5050 
Yes I did say 3060 12GB
One of the people I work with has one
Work with as in NeuroSynth
If neuro were to be trained on mass amounts of player replays instead of autos would her osu gameplay be more human ?
You can't exactly train an osu bot like that and expect it to work as efficiently
Reinforcement learning is just the most efficient for that
Also machine learning makes the average of its training anyway so it'd average out the human inaccuracies
Well Neuro's osu bot was made on a 1080Ti if I remember correctly
Could be wrong
wth
It's not an llm, it has much lower requirements
Vedal used a 1080Ti until he eventually just decided to get a 4090
are there any documentations on other other osu/target detection and acquisition bots
I have 3
That's insane
Same VRAM as my 2 GPUs combined as a raw amount
Though of course not as efficient to use
And nowhere near the bandwidth
my 750 ti has 2gb 💔
This is my system
Don't worry about the 20GB VRAM used it's just an LLM for Xoda's school project
It used to be a 1000W PSU but I was having instability so I changed it but that didn't help but now it's on a 1200W PSU
lule
other servers I'm in seems to be looking at implementing OCR to combat the new tactics by the looks of it.
i was going to think of doing the image hashing but given how many samples i looked at, each looks same but they look slightly different for some reason.
could be. i found a message in another server that had a png extension instead.
You could also use a similarity score too
yeah i guess so.
heuristic to trigger -> check images for known hashes -> if not, ocr -> if bad, cache for step 2 and ban
holy mply how many languages died vedal use lol
4 images posted in multiple channels really quickly?
just messages with links/images posted from one user in multiple channels in a quick enough succession
4 images too specific
what if they make it 5
i just tend to take the first image and ignore the rest
c# experts
im running into a common hurdle of asyncs and idk what the C# workaround is
hb!
im overloading a synchronous function but i need to call an asynchronous function from it
how do
offload to thread pool?
vedal names folders like me lol
NetworkIdentity newCharacter = Task.Run(async () => await SpawnCharacter()).Result;

wait 
you can't call any unity functions from outside the main thread?
so you can't call any of them from an async context?
the core issue im having is that
i need to create objects on the server
but the client is the one that triggers that
IIRC when you async stuff you can’t access a lot of things you think you should be able to
Properties of objects and such and at least when I did it it didn’t tell you it was going to fail
but calls to the server with this library can only return void or tasks
does unity not support RPCs for this? I have a feeling it would be better to have some kind of event get sent to the server, and the server calls the function
so if you need the return value, it must be run in an async context
im using purrnet https://purrnet.gitbook.io/docs
sits on top of unity networking
documentation is pretty terrible though
https://purrnet.gitbook.io/docs/systems-and-modules/remote-procedure-call-rpc/generic-rpc looks like there are RPCs
probably i18n
my issue is that the server apparently cannot create the object in an RPC
protected override void OnSpawned(bool asServer)
{
base.OnSpawned(asServer);
if (asServer) return;
Debug.Log("Spawned Character");
NetworkIdentity newCharacter = Task.Run(async () => await SpawnCharacter()).Result;
bindCamera.characterSprite = newCharacter.gameObject;
}
[ServerRpc]
private Task<NetworkIdentity> SpawnCharacter()
{
return Task.FromResult(Instantiate(networkIdentity, transform.position, transform.rotation));
}
No way that number is actually just counting the amount of letters in that one stupidly long word 🤦
yup, same way that kubernetes is called k8s cause there is 8 letters inbetween
Flatbuffer
Ohh I hate this...
happy birthday 
-# you too shiro 🎂
Thanks a lot!
i learned this like twice already
and forgot both times
Yeah, I mean using flatbuffer solves a ton pf headache by abstracting the rpc away
im actually really lost as to why this doesnt work
if i cant call unity functions from RPCs then this is gonna become way more complicated
i'll need to have a main thread handler that pulls from a queue
and have RPCs populate the queue
Well, at least my curiousity has been quenched about that 8.
Kubern8es
No no I’m joking
Kubern80s
That... works... (?)
Just do a hack and perform the RPC on the main thread 
nah i found the issue i think
happy birthday 
Thanks chay!
Now I understand how you feel being a forever birthday boi lmao
and shiro
happy opposite of that

no nevermind
idk what the issue is
or well i do but
i dont know of an easy fix
this must be on the docs somewhere right
no way nobody has ever had to make an object from an rpc
That is what protocol buffer, flatbuffer, and capnproto solves
i would still need a receiving server
that isnt solving any of the issues i already have
does anyone have the firmware for the lava lamp? if it exists
@rare bridge
I'm getting really sick of people doomposting about PC parts.
Most of these people are going to run Minecraft at 1080p and complaining they can't get a RTX 5090
Well, yeah. The server still needs to be developed lol. But, you get a nice reflection and code generation for serialization and deserialization to transfer over the wire
Protocol buffer and capnproto even proides the rpc transport so you don't have to think about it too. But I prefer flatbuffer with something like zeroMQ (or nanomessage next gen)
the problem isn't just the high end stuff tho it's that everything is going up 
What did I say that was filtered?
if i get to the point of making a whole receiving server then my current solution already works
bro thinks i have lavalamp firmware
but ideally i can just write it to work in an RPC
nah, i just figured if you didn't have it then nobody did
true
what you thinking of doing 
you know what would be a funny solution to not having the API for the lava lamp?
Make a library which watches the stream and clips just that corner and samples it to get the color, then sends that to control your off-brand lava lamp
so it seems like the way im supposed to do spawning in this library is to spawn on the client and then have the server validate the spawn 
That's a good thing no? Otherwise people could spawn anywhere where they shouldn't have access to
its good, just not the paradigm i expected
i just rewrote half the client side spawn testing code in expectation of spawning on the server and replicating to clients
now i have to undo it all 

I think having the client request a spawn is also a good thing because you can check for connection issue?
workign on a app that links to home assistant and lets you choose lights you have set up in there, then during stream, the lights change to neuros lavalamp, i started doign tis project as i asked on reddit and it seems a lot of people would love it https://www.reddit.com/r/NeuroSama/comments/1qciy6i/how_would_you_guys_like_a_software_that_changes/ the api would be completely MY SIDE so, im going to somehow make the appication get lava lamp status from a api that i make on my side, and only have the clients get that api. The server would also connect to a phone app, where you can edit the lights that change (i have a google play license and i can use web clip configs for ios) so im looking for a way to actually get the lava lamp color, and im thinking if i use the web requests that the lamp gets to the wifi on my private server, themn have that extend to a api, users will have both a api for lava lamp and a app that lets them automatically change all their lights to it
interesting project. i did think about getting strip lights on my desk to compliment the lavalamp + act as a general way to light up my desk when i've got my light off. unfortunatly currently i don't know how to get the lavalamp color that neuro has set. i know it's possible to control the lamp itself via an API (and i already do this, my lavalamp is in home assistant), but i can't get the color set by neuro unfortunatly
but what you're trying to do here is get the whole "neuro chooses color" thing, i don't really know how that works 
By connecting to the same server that the lamp connects to
that'd be tuya's servers
And either masquerading as a lamp or do a funny mitm
hello yes i am a lavalamp with 8 compute cores and 16gb of ram pls trust 
I mean surely you can read some wire output to get the color and just route that to another light
thought I dont have the lamp so I dont know how much you would need to pull it apart to do that
HW modification is usually not preferred when possible
...what?
So neuro is connected to tuya? Nice to know
Well not exposed but visible
most likely vedal just has an API he can fire requests to which change the lavalamp color
I thought it would've been done by a pubsub server
i think tuya is the pubsub server most likely
Having a universal seed would be my preferred option but you'll need a pubsub anyway
Yeah, I have a developer account on their platform and they do offer pubsub iirc
we can use a pc hotspot and wireshark to listen to the requests the lamp is making maybe?
who here has a lavalamp
That is the funny mitm thing. But if the firmware generator is any competent, they would do tls with cert pinning
Well, this is embarrassing. I for some reason thought win95 could run on less than 125MB storage, but trying to test install it now just proved me wrong.
i mean we can try?
we will need someone weith a lavalamp
Yes, sure. I just don't have a lavalamp myself so I can't experiment much
The LEDs are in the base not the glass so you can just splice the wires
disclaimer
well this guy has one
I'd love to have neuro control my light too
Tip for any UK bros here, if you're sick of Imgur region blocking you
redirects imgur <img> tags via a proxy
Ez proxy script I just found to bypass that
vedal ai and juniper are not responsible for and damage or harm that may come from use of the lavalamp outside of what is described in the manual
^^^\
please tinker responsibly and at your own risk
bigger disclaimer don't try to modify the lavalamp pls i don't want you burning your house down or murdering your lavalamp
Side note, pretty sure the universal adaptor it shiped with don't conform to electrical stnardards
Redirects through duckduckgo
this
you down to help us try get the tuya api?
Nope
Yeah, even when I know what I'm doing, I still don't like it when I do HW mod
lol
Obviously as with most community tampermonkey scripts if you do install it make sure to disable automatic updates
I was just recalling how that was something I did whilst fooling around with electronics
Managed to zap myself a couple of times witha transformer and a 1.5v battery
The Smart Industry Platform actively pushes event data to you through Pulsa......
what is this for?
(Wait you're supposed to do that?
)
holon, i know wher id and secret, but not the url
i know the id and secert
but not the url
The url might be hardcoded so never logged
the secret is in plaintext in the apk
Stops a formerly benign script from being updated with malicious code
Just good practice
Ah yeah fair
Obviously you have to check code before approving updates anyway but most just hit okay without a second thought, and there's usually no reason to update userscripts unless they break regardless
Vedal sent the message to the broker and then the device receive that. That is the API to use on vedal side. The embedded firmware is generated by tuya
not the full key
but its there
i mean i cropped it out
thats what i mean but not full key
icic
i belive that the url is in the js
whoever is good at reading it, please look through it
18MB
I finally figured out how to make my own LLM Model o: I even have it in a discord server im so proud of myself
Ayy congrats
I named her jackie XD
Jackie!
I only have the capabilities of using Ollama with my current pc I think but I want to upgrade her eventually
im trying to figure out how to get her to respond without having to @ her tho
gonna tell you right now
would vedal put the tuya servers in us or eu
going via the app will be a dead end
the app doesn't know the color of the lavalamp when it's in swarm sync mode 
vedal hosts the servers on eu i see
Also I have no idea lol
rare pull from neurocord gamba
Good question I don’t know (yet)
I mean I suppose I can post my code if you wanna take a look at it to see if im making any mistakes
do I screenshot it or just like post entire thing
Oh nah I am doing something similar and genuinely don’t know either 
Damn XD
Just have to do more research
what if we made them look at every message as if it were a command prompt
like saying their name triggered a command prompt that allowed them to see it as if their being @'d
I think you use a classifier system in the middle on every message to determine when to actually prompt the chatbot to look
But I’ve not tried to get it to work yet
This is just null prefix, isn't it? Discord disallows this because listening to all messages becomes a mess.
Hmm then we can specify for them to look at every message that specifically says their name?
can you make it check if you are replying to its message?
you can enable getting message content
Just make their name a prefix, I suppose. It's the same as Sapphire's s?, except just a name.
If you are making a Discord bot, it must be at the start of the message though
there is no limit on requiring a prefix for any sort of interaction if you've enabled message content intents for discord bots
I just don't know how they are pulling this off. I assume they are going with standard Discord bots
yea she's able to be in discord with just a standard discord bot and I hooked my python code to discord so she kept her personality
I love that the first result about message content fetching on StackOverflow is just null prefix command_prefix=""
hey cloudburst can I borrow the first half of your name 
spoilers
Oh it wasnt that, that crashed her I was trying to tweak how she responds to my discord ID and it crashed her XD
Yeah, message content will be the way then. It's much easier to get the full string and extract data from that then bully Discord API when they explicitly advise against null prefixes
we are working on a api to get color of the lavalamp
oh rlly? i was just gonna see if vedal would make it public, but havent gotten a response
i dotn think he is
yeah, me neither, but it doesnt hurt to ask
I assume it'll be the same voice, just trained off Ashleys voice and yeah just nneed to find something expressive
and one i can train off of
Fwaaaaaaaa
I think I have phantom bugs
Sigh I think im gonna have to start jackie over again
got too ahead of myself in trying to put her into discord I think
whos jackie
jackie is great! (who tho?)
my LLM I started and tried to integrate into discord so I could speak to her outside of console
what're you sturggling on in the discord side, i did this a couple days ago
using discord py
I was trying to get her to respond to me without having to @ her like just having a normal conversation without @ing me or me having to her
and it ended up giving me an error I just reverted her before the error but this kinda sucked
python ended up crashing entirely
yeaa I dont have her in voice calls yet
I just made her today basically
also omg its already almost 4pm wtf
I mean the best way I can say is take every chat message that comes in, and send it off to the LLM, and if you want rules like "Only reply if contextually the conversation involves you" then you can write a strict system prompt to do so, only issue is you're prompting EVERY message, but you can always use a keyword to get her to know when to do an LLM call, you can even pass in the past x messages as short term memory sort of
ooh you mean put the message in her memory?
I didnt think about making a short term memory
I only made a long term
I thought the short term would just come automatically for some reason
Put the previous messages in the system prompt, and say
Past Conversation:
{messages_here}
then youve given them context of whats been said
no no, LLMs have no context of previous requests
you have to feed it what you want to get the result you desire
But you can make it so you don't need to @ her by sending EVERY message incoming to the LLM, but like I said thats a request per message, openrouter that i use is pretty cheap so I don't see it as a big issue if you're just messing around and learning so
Wdym llm have no context of previous request? You could just save the session and then append every new user request?
guess im spreading misinfo, didnt realise sessions were a thing, my bad :)
That's how ai chatbot wrappers do, they save chat session and just append every new user message
I'm fairly new to LLMs / AI as a whole too, so take what i sain with a grain of salt
does the provider do the session handling?
No, you need to configure that yourself. Create a mono script for it to save chat session
Well. Jackie is something im creating for a long term project. I kinda wanted her to be like a "Super fan" Of Evil and Neuro XD
Then send those chat session with new appended user message to the ai provider
any docs so I can see what you mean more? I thought you meant that the LLM provider would return a session id you can reuuse
That's for caching
mono script? like unity mono?
bit lost my b
Any language script just one file (mono) to handle the chat session is enough.
What's the use case? I don't know what you guys talking about, i only read the part where you mention llm doesnt know previous message
I was explaining a simple way to give past conversations back from discord, which would be giving the system prompt the previous messages snippet so the next run it has that context
which sounds like what you're explaining but in a stronger way
I feel like this is making sense but idk how i'd get this into my code
but i assume instead of system prompt you ca just send it in the messages=[] part of the openai api ( my reference)
I see, so you need exactly a chat session in order to retain context
Do I just make another folder specifically for short term context?
Basically it will be like this:
Chat Session:
SYSTEM PROMPT
USER PROMPT
AI Response
Save the session then append new
USER PROMPT 2
AI Response
It will then back and forth
This way ai retain contrxt of all chat session
oooh so I gotta string it together then?
Well when you make the request to the LLM you can send a "system" prompt, which tells the LLM, Hey I'm giving these instructions to your system to follow, alongside your "user" request.
In that system prompt you want to send, you just make it say
Here is the previous x messages of this conversation:
Username: message
BotName: Message
Username: Message
You got an example, I assume a chat session is a specific thing? sorry bit sluggish rn and also new to LLMs too
I know chat completions
Chat session is basically a chat history
ohh yeah so a session id here is what you're on about

why not just give it an entirely seperate session id for it to reference each time it needs to remember something and have each session in its own numbered folder?
This is exactly how i want this channel to be
so i figured out how to get the client to request server for spawn auth but there's no way to automatically grant the client ownership over something they spawn
only the server can grant that ownership
oh
but i can't do that without the network id of the thing that was spawned
which doesnt exist at the time of spawn validation


Oh you're talking about PERSISTANT memories, I just meant per session, but persistent memories can easily be a JSON file, but obviously you limit what you send otherwise too much noise, but this is just "chat" history which is a form of memory
yessssss I want it to remember specific things across all sessions so like for example how I can shape its personality with the system prompt can I also make it remember everything through just the JSON file?
You need tools for it, and store the memory in RAG
RAG?
oooh I see
You'd want a RAG database if you're trying to pull relevant memories based on the input you give it, instead of giving the LLM all your messages
look into chromadb if you're using python, pretty easy to use
but read up about using RAG for memories
ahhhh hahaha ok that makes so much sense. im gonna read up more on rag for memories thank you so much
one day little jackie I promise you'll be watching neuro and evil with me in no time lol
https://github.com/kimjammer/Neuro/blob/master/memories/readme.md
Here's where I learnt about it, this readme, this is a specific implementation of one way to do memories which I use but good little read
you guys have been massive help thank you again
You want to recreate your own neuro?
pretty much idk if I wanna have her be a streamer but I am basically trying to create my own neuro
Goodluck 
all good, im in the middle of rewriting my "neuro" like bot, got a v1 prototype, goal is for it to just hang out really and be background entertainment for discord friends for like 2 weeks until i get bored

imo being copied is flattery
Btw that repo is already old, llm right now are exponential so you might need to find new repo for sources
trueee but if I do start having jackie be a little streamer I probably wouldnt use the exact prompt she has rn XD its pretty much just evil
what do you mean exponential?
and yeah its old but its still a decent resource to start from, its not 1:1 ofc but thats not the idea
Its old compare to exponential rate of how llm development is going right now
Yeah not sure how filtering works, I understand its most likely another model trained on being sfw
oh yeah for sure, but its a good basic ground of where to begin imo, good little skeleton
for something basic
Im not worried too much about filter atm I wont worry about it unless I decide I want jackie to be a streamer XD
yeah do small things at a time
Exactly I havent even gotten her designed yet cuz idk how commited I am to her being something I can see outside a text box XD
Will you be fully api based or local model?
Api
I also want her to play video games with me so I want that full API
idk about minecraft levels yet though I was thinking like some visual novels as a start when that happens
honestly if I can get her to play a danganronpa game at the end of the day ill be satisfied with her game playing capabilities XD
so I'm playing a game called stormworks where you can make microcontrollers where you use blocks or lua code to control different stuff like logic, math, video, audio, etc.
i decided it was a great idea to fetch code I dont understand at a time where I am way too tired to fix it and of course I have to resort to barbaric means to accomodate this peculiar situation
so, gaze upon my blocks and weep. all this is doing is taking a bunch of numbers in a composite signal that are 3 spaces apart and putting them in another composite signal but 1 space apart since I dont need all the other values in between. it also quickly pulses the information instead of sending it for like a whole second.
i put this here solely to pain your eyes.
tbh that looks both painful and beautiful too me XD
i am displeased to announce it probably broke something
or maybe it was broken in the first place and this fixed it
XD
how about both
oh yeah something's definitely broken its for a radar graph and it now says its detecting the same reflection for like half of the fov
fah its frida time
now it does nothing new lmao
gonna make a new simpler thing tomorrow anyway just wanted to try a graph. stupid idea cause im making tech that it already automates for me
by simulating the reversal of the automation
Making a circuit for my code is definitely on my bucket list, I need to actually finish said code first before I attempt any circuit making.
one of the sentences of all time thats for sure
Yeah, it sure is
programming is a great way to learn to take precautions and have ways to check yourself and your work to know where you went wrong
on the other hand, it's 1:30AM and I am very impatient
The classic two sides of every programmer
hmm... spend 20 mins setting up some proper way to debug or spend 4 hours fixing a bug that was actually just you being an idiot and forgetting to connect something
this applies to anything in that vein actually. the amount of times I have spent hours trying to fix things in Stormworks only to forget to put a constant "1" on the pump clutch(if i dont it doesnt work) is insane for the amount of time ive had it (like 3 weeks)
I wonder how many times Neuro has crashed before vedal got it right
I need to take my ADHD medicine this is getting hard to focus XD
no idea, but it's been 000 days since somebody tell vedal that there's a problem with my AI
?? neuro's been live after the subathon?
that's what the sign says in her room.
neuro and vedal?
oh lol
AH SHE REMEMBERED ME IN PROMPT
It wasnt entirely killed lets goooo XD
We do a little trolling. So the server pre generate the id, then the data is populated by the client. After it has been authorized, grant it to the client
server can't pre-generate the id
the id originates from a component, which can only exist attached to an object
it's part of the prefab that gets spawned
its ok i found a sketchy workaround ish
the client simply sends an RPC to the server to ask for ownership
I mean the server generate the object itself, id included. The client populate the data after the request to spawn is completed, then authorize
the server cant actually do that many checks on whether the ownership is supposed to be granted if i do it this way
user_input = input("You: ")
File "<frozen codecs>", line 322, in decode
KeyboardInterrupt
what does it mean keyboard interrupted
but for something like a character, the server knows where the spawn locations are and if you already have a character
so im sure its fine

It's fiiine 
is the source released anywhere? how does it work?
ah ok ok
what info does tuya provide? does it just look at the stream and find the color? or is it more advanced
You may also want to check out tuya convert to see other device existing firmware packet capture
idk, vedal has a api on tuya that has the color, we are just finding it
Tuya is a white label company. They provide all in one solution from hw manufacturing to infrastructure for IoT device
yeah, i know about that api, just unable to find it
They even have a mobile app generator that you could just plop your brand and ship it to google play / app store
i going to use frida to grab all the keys
well i wait to see your results! would love to use this in my project
im working on a application to change all of your lights to the lava lamp
neuro controls your ceiling light lol
if it doesnt work out i will release an api that just takes the colour from the stream, but that might be slow and wouldnt work on every stream, such as the 3d ones
My roommate is considering trying out Linux 

Because Mint is based on Ubuntu, does it do that thing where if you use apt get, it defaults to snap packages?
Hmmm, Neuro API that lets Neuro control stuff for her viewer (or at least subscriber) would be wack
thats a thing, just she can control only lava lamps because the api is closed source
Yeah, what I meant is that an API that the swarm could use
all the issues with player input were because of a ! that wasn't supposed to be there
would need to be (a) opt-in, and (b) something that didn't really matter. with those hurdles to development, i don't think anyone would bother.
Of course it is opt in. You should register yourself after all to get the token for authenticating. A public API would overload the message broker real quick
you could just make something where she only has to visit page A or page B and have that control something. i think she has limited webpage reading access now?
And for point B, since this is an API, I assume someone knows what they are doing when giving neuro control over it
heres the repo of my api, nothing done so just being posted for visibility, any contributions are also appreciated
whats up there
The physics or the geometry?
using wrong functions?
Oh so the physics. Yeah, unity physics tends to do that
there is also 2d collider and normal collider
and if you use normal collider functions on 2d collider it doesnt work
it was working until i tightened the network rules 🥲
They are numerically unstable
yes im using 2d colliders for my 2d game
smart 
So one wrong optimization can indeed eff shit up
how does it even work? who is processing it, server or clients?
server should be
is server side visualized somehow
You mean the executable can perform as both client and server when needed?

Noice
tho i wont be distributing the host version
at least not unless i open source or something

okay yall i suck at coding and am very new, can anyone tell me the best way to analyze a twitch stream and grab a color hex from a certain area [neuro's lava lamp] i think ill do it in python but if thats not the best language then id accept other ideas
Easiest way is just perform screen capture every now and then
Code bullet on youtube will show you how to NOT do that properly
will it look bad because colors are changing slowly
a video stream is a super complicated state machine
getting image data from that is not trivial
even worse if live
yeah, that seemed like the best way, but if the lamp updates quickly and fluidly then it might look bad
but that requires the video stays in the same place. better would be to stream the video from discord and sample frames from the stream. once you have a frame you can use opencv probably to analyze it.
yeah... i know this isnt the best way but its kinda the only way
unless tutel changes something
If you want to grab the stream directly, you're in for a ride. You need to know how twitch performs the auth, then you need to make the client to send the right request, and then parse those, and only then you get a frame
Unless twitch provides an API
isnt the app available to everyone
swarm sync?
you don't need to sign in to watch
yes
yes but i dont have a lava lamp, i missed the preorders so i want to make my own
imagine ad pops up and your lavalamp takes random colors because of that
But I bet they still have some measure to protect the stream itself
you need a web browser.
id figure out how to prevent against that ig if i dont give up because this doesnt look very feasible
Okay so update on my path tracing saga, I've found it can actually look amazing with one big caveat
I have to disable frame gen
Is the video stream paused when it is not in focus?
Turns out the big thing that was causing the image instability I was complaining about the other day was frame gen doubling the persistence of existing artefacts from dlss performance and ray reconstruction
omg
im gonna lose it
the physics debugger only works for 3D colliders and rigidbodies, not 2D
When running at 60fps these artefacts are unnoticeable but they appear as fizzling and wobbling with frame gen on
Of course what that then means is I have to deal with sample and hold motion blur if I want a good image while using path tracing 
and if you can do it with a web browser, you can do it with python code. it doesn't have to be a real web browser. just something which can make requests and read responses with some processing to choose what to ask for and how.
so you don't get ads or "not in focus". you only need like a 144p stream to check the color
and you only really need it every few seconds probably
if you are subbed to vedal thats a non issue
yeah you have to be subbed or the source where you take the video from has to be subbed
okay this seems actually possible now
then he moves the lavalamp or it disappear and it stops working
this solution will never be good enough
That's... what I'm saying? You need to figure out how twitch make the request. They could also have some DRM for the stream itself hence why I said some form of authentication
If you want to emulate a browser anyway, it's best to just use a browser automation like selenium or pupeteer
maybe if the swarm sync app makes calls to the tuya api you could get those with wireshark? seems like the best implementation but also the hardest
But then the question become, does the videostream get paused if the window is not in focus?
Sure audiostream may still work, but the video? I do not know because I never do it before. I can deduce that audio still works for obvious reason that I can still hear the audio even when I switch to another program
if there is no real window, that's up to you. it only pauses because the window sends an "i lost the focus" message.
id assume so because if im coding and watching stream the video still plays
Is the lava lamp connected to the internet directly or does it need to connect to your phone via bluetooth at stream?
Welp I am about to end up giving myself (what I consider) "Vedal brain rot" AKA request timing data logging to reduce perceived latency across my project stack
i think when it connects to your phone it connects to the internet, so that wouldnt work, but if the app for some reason makes calls seperate from the lamp it could work, though i dont know why it would
If the lava lamp is connected directly to wifi, and only use the phone to enter the wifi credential, then the firmware is the client and you cannot capture the packet easily
yes thats my point, it wouldnt be for the light, which is why calls are unlikely, so its an if
or is it something different
it looks like it takes stream
and some colors from it
yeah it does, i might base my implementation off that

The firmware performs some crypto handshake with the built in id when doing OTA. So you can't just capture it easily (see the tuya convert project). But I don't know if they do the same for the pub/sub connection, I assume it would be the same (at least mtls + certificate pinning)
I wouldn't trust gpt with anything code related
i think its a good tool as long as you know what its actually writing and if its reliable
It was ok when 5.0 first came out but I legit have to check codex line for line because it will edit files without reading... Claude is far better at just working
oof. yeah thats not great...
what does it mean 
oh i get it 
can you calculate collides manually 
do you have all collider dimensions and positions and
oh you want physics 
How tf could they mess it up that badly lmao
what if you make distance very close to 0
maybe it skips collision moment and just clips through
Make the distance -Inf for funsies. Or NaN
what a shitass engine
figured it out?
if i knew nothing would work i would've gone with rpgmaker 
no
doesnt make sense to me at all

Me every time gpt goes schizo because my project violates most of its guardrails but doesn't do anything technically wrong
Godot 
does rpgmaker support multiplayer 
let me try undoing that change and see if it fixes itself 
If it doesn't, either you are schizo or unity is gaslighting you
still broken
idk what those rules are but maybe it started filtering something important for collisions
then its not the rules that broke it 
I love programs gaslighting you
where the client can do anything
So which is it? 
Neuro lamp doesn't accurately show the irl colour on screen to be clear
Theres some varriation
it'll still work but won't be 100% accurate is all
ughhhhhhh why is this so hard tutel please just release itttt
It is not trivial to implement pub/sub for a large audience
Nor is it cheap
you probably need real lavalamp to reverse engineer it and its still not guaranteed to give results
2$ a month for api access. seems doable
Same
Yep, hence my idea to tie it to twitch subs since that is tied to discord already
you can probably sniff whats lavalamp doing and connect your pc pretending its lavalamp
but i wouldnt know details
That's my plan for pixmob rfid fobs for an event
what is that way, sorry if its a stupid question or joke because im dense as tungsten
if you have lavalamp it's actually quite simple to get the colors from it
No, if they use mtls with certificate pinning, they would refuse to connect
That is mitm
thats the issue though. i dont
oh
i wouldnt need to do this if i had a lava lamp
how 
Splicing the wire is opening up the lava lamp and get the rgb signal from the wire directly
i dont own it but im curious
oh, yeah. dont have one. sadly
Its an LED so theres 4 wires, 3 for each of the colours and 1 ground
so you can just hook up to the three and read the votlage to figure out the colour
Have you checked it?
i remember they had a feature that was very important: turn it off if it's been on for 10 hours.
Unless Vedal used a completely proprietary LED thats how it'll work
Yup
Not impossible, but unlikely
It can be common cathode or common anode
Or it could be one of those WS2818
Thats true I guess, but the proceedure is roughly the same
you can use tinytuya in python script on pc to ping lamp and ask for current state info (this includes light color and such)
tinytuya requires some info to setup, but the only thing i had trouble with was the local key, which can be obtained through the debug output in the swarm app
you can be connected in the swarm app while also having tinytuya access as far as i know
unless some wonderful person wants to do that and make it public i have to figure out another way
The problem is, does neuro still able to control the color when connected to the local network?
that i did not specifically test for, but i believe it's possible
probably requires you to not set anything from the tinytuya side
uhhh no not really, it acts over local wifi network
api calls are only to find the device as far as i know
i do think you can have it use api calls instead
No, your device (the lava lamp) does not connect to tinytuya
tinytuya instead make a request to the lava lamp. The lava lamp itself is still connected to the tuya infrastructure
let me test this real quick by unplugging the wifi usb
So Neuro, theoretically can still control the color since that comes from the tuya pub/sub, and you can poll for the current color via tinytuya through your local network. The lava lamp act as a server
okay, for anyone with a lavalamp, what happens to the color duing 3d streams? ditto with when evil is on
but you need real lavalamp to establish connection first...
can this be bypassed
Wdym? A lava lamp?
wifi usb
Nope
but i'm confused now because i don't think i have the wifi capabilities passed through
and you cannot sniff whatever lavalamp is sending to the server and just copy it?
or the key id is only issue
@mossy fossil YES, my friend! You can, in fact, run win 9x on DOSBox-x.
key id is solved issue
can you reuse the key for multiple connections
The point of tinytuya is to act as an api gateway. That is why tinytuya need the IP, device ID and local key of the lava lamp. They make the request on the local network (with the lava lamp acting as a server from tinytuya POV)
the local key is unique to the tuya device (in this case, the lava lamp)
ah that fits
i see now
anyways
problem: i need to buy a router to deal with college network bullshit so i can actually use a smart lamp i got
question: what do i look for in a router, and are they good/cheap if i buy used
is this 100% the case here
Don't ask me, I use a nsa6650 and a ubiqui ap
i dont understand how its mitm if you just make unique connection to the server
ew expensive
but why expensive
i do not understand
Doing a homelab and lazy I imagine
Ding Ding Ding! Can't be bothered to set something up manually
Just my deduction due to minimal amount of resources online
Are you talking about tinytuya or having a tuya server emulated on the local network?
the issue: i am on a college network, and some smart devices i want to set up connect to the network and then don't expose their ips, so i cannot automate them via script
i cannot obtain the ips because i have no control over the college network
i could maybe phone the IT department and ask them to look up the IP associated with the specific MAC address of the device, but the ips for these kinds of things tend to change, as i've observed with the tuya bulbs, and phoning them every few weeks sounds like a hassle for both parties here
above message is in response to this
Do an arp-scan 
i tried :)
Dangit
If the IT team is remotely comptent, I'd expect they'd lock down the network to prevent new routers from being added
wait seriously
yall are the questions i ask annoying and bothersome? sorry i just have to get this off of me because i tend to overthink about things and am not the most educated in this matter... sorry if this is weird
How would one block a router from joining a network? Genuinely curious as I don't study networking much
You would just prevent new unapproved ethernet devices from being assigned an IP
Nah, technical questions are fine here
And how would the admin knows it is a router?
oki. just sometimes feel like im being stupid and asking useless questions
I would expect them to just block ethernet connections as a whole
Whitelist some MAC addresses
and just block
I use to manage college networks. Comptent is not a word that I would use to describe their teams
Thats fair
I see, yes that is plausible. I was thinking one of those router that connects to other network via wifi thing (bridge)
Just do what some of the american internet companies are doing and just have a wireless upstream 
Wtf
Fixed wireless is better than dsl or satellite if available
i have an ethernet connection from my PC to the wall right now, and i have a way to register MAC addresses on the network so they'll work
Then you might be fine
I work with several wisps
you could also just call up IT to check
Oh, P2P style? But then again, bad weather could mean no internet too
i suppose
On my own network, I can see that the other router we have plugged in is identified differently as it has a permanent assigned IP
Identified during the inital communication protocol if anything
oTHER HAVE a leased time
Same goes for sat, fixed wireless is less susceptible though
I wish I knew myself, but if you only need like 100mbps connection at home then it is fine for those people.
That's true I suppose. But nothing beats physical wire
Hey,can somebody explain why the heck does the phone have a slowed internet connection at night ? Even though I have full data.
Maybe congestion due to how many people are using it at the same time
So you, your neighbour, their kids, and everyone else hit the same cell tower at the same time
Oh.
everyone just scrolling through reels 
100% agree but fiber to a fixed antenna is better than dsl or nothing at all
i live in India.
The 4K VOD watcher:
So,does that affect the connection ?
don't the full connection bars only mean that you're not dropping any packets sent between phone and the big antenna?
that's just the avarage netflix enjoyer
Idk
signal strength and congestion are different
I know man.
I don't know anything about that. My theory is congestion because if they have full data and good signal at daytime, the only other culprit is too many people is using jt
if you're right by antenna it'll show full bars no matter how slowly the antenna is handling your connection
probably congestion
The amount of resources the internet towers have isn't infinite, so everyone trying to do stuff at once will be too much for it eventually
people all using phone more at night sounds likely unless this is at 3am or something
Peak vs offpeak sounds about right to mne
Most likely watching all forms of video content
(mods dont airstrike me ping was turned off)
Example of people getting home from work and using the internet
If ping is turned off he won't see it unfortuantely
it doesnt show the little
thing?
Nope
Best you could do is a silent ping
which still sends the red without a notification noise
done by attaching @silent to the start of the message
ah
like this
@silent test

What version of discord are you using
latest, vanilla
one more try, lemme restart it
as your langauge or differnet

tinytuya is your best bet
You don't directly interact with her. She change the lava lamp color, and you can get those color
But you can't send anything to her
yes, like how would i get the color
There you go
ok ill send it to vedal again
tinytuya. Technically you just ask the lava lamp "hey, what is your current colour?"
any updates? would love to use this, maybe could be paid or integrated with a twitch sub
Better not lol
silent ping
what i do 
Ping vedal 
i asked mods and they said its fine with silent ping
okii srry
Have you seen this diagram?
really? you don't need any key?
yes
You do, but the process to get the key is not that hard
enlighten me 
anyoen down to help me get the api?
You make a tuya developer account, pair the lava lamp with the smart home app (not the swarm sync), and get the local key there. It's in the tinytuya repo
we still need tohe api for the color of the lava lamp
okay, without a lava lamp though, i cant really get it. also, what proot said, also, i don't know what id do to make my esp32 to make those calls
oh, do i need a special library for tinytuya?
sorry if this is an obvious question, im new
It'll be easiere with onee
ooh that repo looks helpful
Just saw "microsoft java"... Wow.
who wants to help me find the api
wish i knew how, best i can do is wish you luck in finding it! 
anyone have a lavalamp device id i can use?
You make the call to tinytuya. Or you can see how tinytuya make the call to the local device
But yeah, you cannot have neuro control anything without owning a lava lamp first
yeah... 
Unless someone is generous enough to share their API and provide it. But that would violate tuya ToS real quick I think lol
In conclusion having now played a few hours with the new settings sample and hold was a mistake, frame gen sucks, DLSS 4 performance mode is black magic at 4k and path tracing with RR looks really nice on it if you don't throw frame gen on top
i just realised i can use proxy man on my phone lol
you need like 80 base frame rate for frame gen to be potentially good
yeah, read tos, doesn't explicitly say it but implies it
way too much like screen tearing below that
but some people aren't sensitive to that...
the app doesnt like having a vpn on
found a router to buy, really hoping there aren't any more surprises with this damn smart bulb
Screen tearing is a non-issue if you have variable refresh rate
My problem with it was that the generated frames were drastically exacerbating DLSS artifact persistence and temporal accumulation time
Artefacts are shown for twice as many frames and so where they're normally unnoticeable, they become very visible, and when ray reconstruction is accumulating it takes double the frames to do so and the presentation is more unstable since frame generation will be bridging between different levels of ray accumulation

well, it makes me think of screen tearing
it's basically just parts of the screen breaking up
is it just over?
"from a mailing list" uh huh
do i give up on the project?
colliders are pretty mandatory
if unity colliders are just not working anymore then like..?
idk what to do?
I realize this is the programming channel and I should be more technical 
jimbo jambo space continuum quantum particles
steal someone else's project with colliders and just mod it into what you want
there must be a way

when did it break
you said it worked before then stopped
something broke it

no i still have no idea

no wait maybe i do
i cant decide

no actually i might know what it is

make new empty project make colliders from scratch
currently how its working is
if works - compare
im sure an empty project will work
i dont actually think unity colliders are broke
i think it is a networking thing
is it only broke with multiplayer or if you try to detect collisions locally it works?
currently the movement is done on the client and then replicated to the server through this NetworkTransform component
the movement does replicate as expected
and is visible to other clients
however, im not sure if movement through this component actually invokes the physics engine to reassess the colliders
Godot is whispering into your ear
can you make colliders visible somehow
for everyone
i can look at them in unity
and its very obvious that they are intersecting
i also confirmed this with code
vedal please drop us the lavalamp api
who says this - server or client?
server
Maybe during the transform the geometry isn't translated very well
But then again, the SDF said negative 
my suspicion is that it's more of a "teleport" than a movement
why is distance negative
distance is the shortest distance between the points of either collider
oh
it's negative because they are overlapping
That could be it. The physics engine struggle because maybe they use a differential somewhere
The discontinuity from teleport broke that
BUT THE SDF 
how do you get "can collide" 
love that embed
Should I use Unity or Unreal?
unreal
Alrighty then
(source: i use unity)
C# and unity
UE is trash with TAA imo
Oh
are you sure unreal doesnt have other even more bizzare problems
ifu want blury gross games, use UE
I CANTQAJSFKAFAISF ASRFFFIND THE FUCKCING APIIIIIIIIIII\
but it worked before
How do you check is colliding?
i knowwwwwwwwwwwwww
Is unreal that bad?
TRASH, thanks why AAA games looks blurry and trashy
C# is easier to code right ?
Oh yeah the blur, I hate that too
also linus torwards hates C++
It is important to understand that checking whether colliders are touching or not is performed against the last physics system update; that is the state of touching colliders at that time. If you have just added a new Collider2D or have moved a Collider2D but a physics update has not yet taken place then the colliders will not be shown as touching. This function returns the same collision results as the physics collision or trigger callbacks.
Does the physics run?
filter 
its supposed to do that on its own
do you do it with no filter
That is still an assumption. Remember screeps time running forward? 
VEDAL PLEASE HELP ME
i use the other signature

but this is different
trying to find this goddamn api
one can collide with the other
neither are lying
im tempted to ping vedal atp

ill jsut work on the app part for now ig
okok no filter
what if that library is designed for 3d
and uses some 3d functions
What about checking the overlap? Does it shows up?
If it does shows up, then it would be hilarious lol
if i have still somehow not convinced you they are overlapping
same thing if you come from outside?
If the collider shows that it is overlapping with the collider that you check, then that would be funny
going to try moving from the serverside instead of synchronizing it through NetworkTransform
But if it is not colliding yet overlapping, then maybe it was the physics
hear me out: logarithms should be formatted like c++ type casts (at least for ascii notation)
Why not log5(x)?
As in logbase(number)
less clear
i cant believe it was something this stupid
Nah, log5 is cleaner
Lmao
even for a 2D scene with only 2D colliders
log<5> x?

Why tf lol
why did it work before
i have no idea
or were you not using this library yet when it worked
Nope, log5(x)
since the host is both server and client, i used to just load the scene locally, which would load it for the server as well
i switched to doing it over the network because it seemed a bit less hacky and better practice for if i was tightening networking rules
oh so it wasnt checked over actual network
log<5>(x) better and this is #programming so it makes more sense to use syntax from a programming language
and only then did i have to add the physicsMode parameter
i picked 2D because of course! it's a no-brainer!


If we were coding then yeah, log<5>(x) is better
But for everyday use just log5(x) is good enough
log5(x) could be confused with log(5) * x
would be hard to do
but
Well, x is just the number. So log5(10) for example
hence log(5) * 10

not the serialization issue


Damn it







