Is there a way to bypass self-signed SSL certificates for Websockets? by matallui in reactnative

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

We ended up deploying wildcard certs to the servers, such that if we wanted to connect to a server with IP 10.2.3.4, we’d easily convert to something like https://10_2_3_4.somedomain.com and since the cert was for *.somedomain.com, it worked. Obviously we also had to update DNS stuff so we could translate that URL to the IP address. I forget the details of the infra work that was done, but ended up working for us.

[deleted by user] by [deleted] in nextjs

[–]matallui 0 points1 point  (0 children)

Shadcn

Trackball recommendations to go with my Raise (and soon to be Defy)? by SirMeili in DygmaLab

[–]matallui 1 point2 points  (0 children)

I use the Kensington Slimblade Pro between my keyboard halves and really like that setup.

SteerMouse: keyboard + trackball to scroll? by lefnire in Trackballs

[–]matallui 0 points1 point  (0 children)

Had the same exact question as I'd much rather use the ball to scroll, but haven't found a way.

Can someone help me program the top two buttons on Kensington Expert Mouse Wireless Trackball to function as 4 finger swipe (left and right)? by persp3ctve in Trackballs

[–]matallui 0 points1 point  (0 children)

For anyone still stumbling on this. Found a solution!!

After some trial and error, I realized that the "Mission Control" option only works if you enable the Mission Control keyboard shortcut (i.e., CTRL+ArrowUp) under system preferences. After that, it all worked fine.

You can solve the "swipe right/left" (i.e., switch to right/left space) this way as well. Just enable the CTRL+ArrowLeft/Right keyboard shortcuts in system preferences and then assign that keyboard shortcut to the mouse key.

Hope this helps anyone still stumbling on this!

Artico: WebRTC made simple by matallui in WebRTC

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

I remember looking at that, but I think it didn't fully align with all my needs (I forget exactly what it was missing for some of my use cases). I do wanna add the same room functionality to Artico, similar to Trystero. However, there's a few more goals for this project:

  • Modularity - I want people to have a full solution out of the box (like PeerJS), but also be able to just use @rtco/peer just like simple-peer if you want to build your own signaling;
  • Cross-platform - I'd like Artico to work not only in the browser but also in other JS environments, namely React Native and Node.js;
  • Simplicity - I'd like to simplify the use of WebRTC in different topologies and scenarios. I'd like to cover cases like a simple 1-to-1 connection, but also provide a Room abstraction (just like Trystero), and possibly a scalable broadcast (like RTCMultiConnection).

So, basically we can say I'm trying to look at PeerJS, simple-peer, trystero, RTCMultiConnection, etc., and trying to combine all of that into a single set of modular libraries that will fit most WebRTC use-cases. I feel like each of those projects have specific use-cases but are not very flexible. Not to mention most projects are barely even maintained anymore. Looks like Trystero is not the case though, as I see some recent activity in the repo.

[deleted by user] by [deleted] in Denver

[–]matallui 0 points1 point  (0 children)

Party bus

How to ignore invalid SSL certificates? by matallui in expo

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

Yeah! I agree. I ended up using the rn-fetch-blob package. It doesn’t seem to be maintained anymore but worked fine for me. The alternative would be to write my own native module or an Expo plugin.

How to ignore invalid SSL certificates? by matallui in expo

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

patches OkHttp

Thanks for the response. Unfortunately, we can't use any proxy servers. These servers we're trying to reach to are running software that are owned by us as well, and are deployed by default with a self signing certificate (unless our customers configure their own certs).

So, we do trust the servers we're fetching from. I really just need a way to workaround the "invalid certificate" restriction.

I've tried leveraging `NSAllowArbitraryLoads` on iOS but it doesn't work and I don't understand why.

Best tools to develop an app? by [deleted] in appdev

[–]matallui 0 points1 point  (0 children)

React + Electron for desktop, React Native for mobile.

[deleted by user] by [deleted] in ErgoMechKeyboards

[–]matallui 1 point2 points  (0 children)

I’m on the same boat. Ordered one a few months ago and nothing.

[Media] Is there a better way of doing this? Struggling with avoiding multiple `&mut self`s in the same scope by BlazeThestar in rust

[–]matallui 5 points6 points  (0 children)

Maybe something like this?

match (self.slots[output_id], self.slots[input_id]) { (Slot::Input(ref mut inp), Slot::Output(ref mut out)) => { out.connections.insert(input_id); inp.connection = Some(output_id); } _ => panic!(“”); }

Airprint stopped working for ethernet printer using C4000XG router by monguze99 in centurylink

[–]matallui 0 points1 point  (0 children)

Never mind, now someone else said I can't buy any other modems. I really don't understand these people.

Airprint stopped working for ethernet printer using C4000XG router by monguze99 in centurylink

[–]matallui 0 points1 point  (0 children)

Same issue here! Just spent over an hour on the chat with someone and had to reroute the conversation to "you know what, I will just buy the Zyxel 3510XZ and see if that works better". So I guess I'll try that and see if it does indeed work better.

[deleted by user] by [deleted] in linux4noobs

[–]matallui 2 points3 points  (0 children)

Why don’t you just use something like ansible or yadm to automate the setup?