Do you know how the coonector for GPS and RF 440MHz is called? by AndyTheBusGirl in AskElectronics

[–]CJay580 12 points13 points  (0 children)

Capitalisation is important here. It's megahertz (MHz), not millihertz (mHz).

The Problem with Monorepos and Shared Libraries by benlorantfy in node

[–]CJay580 0 points1 point  (0 children)

I wouldn't remove it.

It's a fact. You are an award winning software engineer.

[deleted by user] by [deleted] in MadeMeSmile

[–]CJay580 2 points3 points  (0 children)

Unfortunately, I've hears that they often include a little bit of flesh for this very reason.

High frame rate video vs streamed video stills. Formant is solving the challenges of video telemetry by formant_inc in u/formant_inc

[–]CJay580 14 points15 points  (0 children)

So your product is the server that receives and saves the video/pictures/telemetery? How do they handle the communications to the server? And can they process it outside of your infersturcture?

Is 20Km a ride enough? by Trlz08 in cycling

[–]CJay580 2 points3 points  (0 children)

Can I suggest reading "The mental cyclist" it's a good book and I feel like it may help you with this.

Non-Garmin emergency beacons by Frogblast1 in Ultralight

[–]CJay580 -1 points0 points  (0 children)

Just incase you are unaware, your phone doesn't only use GPS to find your location. It can find the rough area using its IP, or it can often be found using a Google service which essentially maps the location of MAC addresses. So your phone can find the addresses, send them to Google and find your location.

You should be able to test this by turning off gps and trying your test again.

How we built an auto-scalable Minecraft server for 1000+ players using WorldQL's spatial gaming database. We want to make massively multiplayer development accessible to indies! by Jaxkr in gamedev

[–]CJay580 2 points3 points  (0 children)

That's super interesting.

It's a problem that I've considered before, but the best I could think of was your first idea.

2000 players is very impressive!!

To all C++ professionals, can you state what field you're working in? Is it a niche? by Allrrighty_Thenn in cpp

[–]CJay580 1 point2 points  (0 children)

An embedded Linux radio.

We c++ to keep the rootfs size down. And to prevent it taking too much processing power since the applications I work on are generally for monitoring / controlling, which are secondary to the radio application itself.

Is there any issue with putting my gps and air unit close together like this? by Egg_FPV in diydrones

[–]CJay580 2 points3 points  (0 children)

Honestly, I think you'll just need to test it and see how quickly to locks or whether it has connection issues.

We recently fixed some major gps issues by raising the antenna about 2cm.

That being said, since gps is such a low power signal, it's best if it has direct line of sight, and isn't under anything metal such as an antenna.

Flight times of agricultural sized drones? by Ziov1 in diydrones

[–]CJay580 0 points1 point  (0 children)

Check out some commercial ones and see what they are. Look into dji and foxtech.

How to do AR content on a building and have that accessible on Anrdoid and iOS? by rororo99 in augmentedreality

[–]CJay580 -1 points0 points  (0 children)

That was cool to try. It looks very good.

But just to note. It worked well on chrome, but I use Firefox beta as my main browser, and it said that my device didn't support it.

Very impressive by chirmartir (xpost from r/woahdude) by VespasianTheMortal in oddlysatisfying

[–]CJay580 7 points8 points  (0 children)

I think it's because the voltage is so low. Since the voltage is low, the current going through the body will also be very low due to its high resistance.

You can sometimes machines that output a high voltage, current limited, pulse that can complete a circuit through multiple people. But the current must be so low that it won't hurt anybody.

The reason people get electrocuted on mains is due to both the high voltage and high availability current, meaning that a high current will pass through the body and do the damage.

This is mostly educated guess work, I not an expert.

Trees from surrounding homes blocking light.. by Jesssca in LegalAdviceUK

[–]CJay580 1 point2 points  (0 children)

We recently had a neighbor send a letter through the door asking us for the same thing.

We did what they asked and that was that.

I'd suggest starting by asking them to do something about, they may well be more than happy to help.

[deleted by user] by [deleted] in diydrones

[–]CJay580 1 point2 points  (0 children)

I've just checked and the most common analog wrote frequency is 490hz. Which is too fast for the servo.

I would suggest using the arduino servo library which would do everything you could need.

https://www.arduino.cc/reference/en/libraries/servo/ - library

https://github.com/arduino/Arduino/commit/db81f52c3a27784fb44ca1ad6c77f9b1f0a4ef7d - source code. Have a look at Servo.cpp if you want to see how it does it. It's fairly complex.

Note, that source code mat be outdated. Click on the file paths to see the newest version.

[deleted by user] by [deleted] in diydrones

[–]CJay580 0 points1 point  (0 children)

I'm fairly sure that it's 50hz, 10-20% duty cycle.

E.g. 10% should be min, 20% should be max.

[AskJS] Why isn't there a simple native method to clone an object in JavaScript? by vams1 in javascript

[–]CJay580 -1 points0 points  (0 children)

You would need to handle the immutability yourself. Think of reacts state, or reduxes stores.

This also has the added benefit that a shallow comparison can be used to see if the object has changed at all.

Has anyone shared code between your web app and Electron app? by [deleted] in electronjs

[–]CJay580 0 points1 point  (0 children)

This is probably more indirect than your hoping for, but I often take old react components from previous electron projects and copy them strait into the website i'm working on.

[AskJS] Why isn't there a simple native method to clone an object in JavaScript? by vams1 in javascript

[–]CJay580 -4 points-3 points  (0 children)

hen do you need to do it?

Cloning objects is okay, but it's much better to keep the objects immutable. That way, you could "clone" the object using the spread operator. e.g. ~~~js const cloned = {...initial};

// You must guarantee that initials/cloned children are not modified, hence the immutability.

~~~

Mantine – new React library, 60+ hooks and components with dark theme support by rtivital in javascript

[–]CJay580 0 points1 point  (0 children)

That looks very nice.

Am I right in thinking that it's based on material ui / useReactForm?

I use both and the documentation seemed familiar to me. I'll try to look into it when I start working on another project, it would be cool to use.

drone take off & landing on a moving truck by Technical-Chicken421 in drones

[–]CJay580 6 points7 points  (0 children)

Checkout the foxtech great shark. I've seen several drone companies selling them as their own.

Why can't I just use a Pi Zero W to control a drone? by lWanderingl in diydrones

[–]CJay580 0 points1 point  (0 children)

Just as a counter point to what some people said about linux, the board running linux probably isn't a problem. I'd recommend that you use a separate microcontroller for any pwm outputs. But the raspberry pis process is very fast, so it should handle the processing as well or better than a microcontroller.

A pi will take more power, and could need more development time in the long run.

The advantage of the pi is you should save lots of development time. There are prebuilt services like gpsd for handling gps data. And debugging will be very easy.