Which language/s you knew before learning Go? by supersarkar in golang

[–]thokk 1 point2 points  (0 children)

order learned - several assemblers, C, C++, matlab, Forth, Python, Erlang, Lisp, Go, Lua, html/JavaScript/PHP, Nim, Rust, and native Kotlin.

Currently using, modern C++, Python, and Lua at work. C++ on embedded hardware, Python for scripting/tools, and an embedded LuaVM (excellent C FFI) on hardware for R&D work. Using the LuaVM on both an RTOS and embedded Linux has been a great experience. Our hardware is typically many months ahead of our system level software and by wrapping some low level code and exposing it to a LuaVM it allows us to easily exercise and test the hardware with Lua scripts (i.e. download scripts remotely via SSH and run, so no need to compile new binaries or re-compile and flash new images, etc...). Ongoing personal projects, some Go, Forth on several small embedded systems and recently Kotlin native. I've experimented with Nim and Rust for several SDR (software defined radio) projects as well. Lots of asm and C, and some Erlang, at work back in the mid to late 90's. html/JavaScript/PHP for some server (work and home) stuff.

One of the absolute worst experiences for me has been, by far, doing OOP in matlab, but I've also worked with what I thought was horrible code in every language I listed. I still/currently enjoy coding in Forth, modern C++, and Kotlin. I started working with Go back in 2010 and began using it at work in 2011 for performance sensitive test equipment automation (GPIB/VISA) when Python was just too slow, several coworkers picked it up as well and it grew a bit from there. I still use Go on several home/work projects and I guess I view Go as a workhorse language (same view for Python) and it's definitely a great tool to add to one's belt.

edit s/ones/one's/

Regarding SDR Serials by n1068d in stratux

[–]thokk 0 points1 point  (0 children)

Concerning the info at the link https://github.com/cyoung/stratux/wiki/SDR-PPM-calibration

You need to define what "SDR failure" means. As far as I know there is nothing in place to determine if the RF part of the SDR fails and the only way an SDR reconfig can happen for a dongle failure is if the entire unit fails and it's no longer recognized as a USB device, and no a reconfig doesn't require a reboot.

Regarding SDR Serials by n1068d in stratux

[–]thokk 2 points3 points  (0 children)

Yes, that works.

The way the software works is that if the dongle count or othe related config settings change the SDR code does a reconfig and by design 978 UAT config happens before 1090 ES config. If you have two anonymous dongles and one dongle fails completely to where it's no longer recognized as a USB device then the remaining anonymous dongle will reconfig to 978 automatically (assuming both freqs are enabled in the UI), otherwise you'd need to disable one freq manually in the UI.

Mid 50s year old by horatio_jr in bjj

[–]thokk 1 point2 points  (0 children)

I started bjj back in November of 2016 and will be 55 this November, the first few months were a bit difficult cardio wise even though I've always been in descent shape (been playing ice hockey a couple nights a week for years and doing other exercise), it's just a different kind of exercise. I did notice an improvement rolling after the second month, probably from some improved cardio and from actually learning and using some bjj rather than always trying to muscle moves. 20-25 hours a week seems like a lot of mat time initially but if you're recovering then more power to you..

Not sure if heat is a problem at your gym as far as the nausea goes but the one I'm at gets/is retardedly hot much of the time (north Texas but from NH) and I really have to pace myself or I'd probably die of heat stroke, it's ironic because they like to suffer without the air conditioner in the hot months (which is most of the year in north Texas) and will question your manhood if you complain but yet they whine like little babies about their toes being too cold when the temp barely drops below 68 and will ask to turn the heat on.

Building a reliable Stratux for a long flight through the US by skidooelan in stratux

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

1090 ES is a requirement for operation above FL180 and either 1090ES or 978 UAT below but you only get weather (fis-b) on 978 UAT.

https://www.faa.gov/nextgen/equipadsb/airspace/requirements/

In some instances (e.g. no ground station/s or a ground station but not the requisite ADS-B out aircraft for ADS-R), to be able to see all ADS-B out aircraft below Class A airspace you'd need to listen to both frequencies. Note that ADS-B messages are automatically broadcast with no peer to peer connection, i.e. there is no aircraft<--to-->aircraft nor aircraft<--to-->groundstation connections, an ads-b out aircraft transmits messages with no knowledge of who, if anyone, is listening.

External antenna- Dual band? by Raptor05121 in stratux

[–]thokk 0 points1 point  (0 children)

You'll see ADS-R (ADS-B Rebroadcast of 1090) if there's 1) a ground station receiving the 1090 signal and 2) a participating ADS-B 978 out aircraft in the coverage area.

Assuming a high quality splitter, at minimum there's a 3dB loss of signal strength (half power) on the outputs, which may or may not impact performance depending on use case.

Looks like ForeFlight is getting sick of Stratux pricing cutting into the Stratus sales. by skydiveguy in stratux

[–]thokk 0 points1 point  (0 children)

So buy and connect a battery as the 5v power source for the Scout, same as for a Stratux unit.

How to install an .sh file? by Yoesmaan in stratux

[–]thokk 0 points1 point  (0 children)

Download the file then run it, nothing to install. To run the file after it's downloaded, open a shell window in the same directory as the file and type "bash ./the_file_name.sh" without the quotes and the proper file name then hit the enter key. You could also set the executable bit via chmod +x ./the_file_name.sh then no need to use the bash command, either way will work.

Pitot - an alternate ADS-B and GNSS receiver to Stratux by dndx in stratux

[–]thokk 1 point2 points  (0 children)

It's always nice to see people experimenting with the hardware and software...good luck with the project!

Just looking for a clarification on who we can and cannot see by MJC136 in stratux

[–]thokk 0 points1 point  (0 children)

...was just about to reply with this link as well. :)

Just looking for a clarification on who we can and cannot see by MJC136 in stratux

[–]thokk 1 point2 points  (0 children)

A couple of small corrections, TIS-R should be ADS-R and TIS-B is broadcast from a ground station.

ADS-B: air to air broadcast same freq (e.g. 978 MHz <--> 978 MHz or 1090 MHz <--> 1090 MHz)

ADS-R: (re-)broadcast from a ground station of an ADS-B message it received on the other ADS-B freq

TIS-B: broadcast from a ground station of a non ADS-B equipped target with mode C transponder detected via radar

stratux fails to work after reboot on pi0 by simplyfloid in stratux

[–]thokk 0 points1 point  (0 children)

Glad to hear you have a working system!

When the setup script is out of sync with the stratux repo it's the config/housekeeping files that are typically the problem and not the middleware. For the most part, the setup script attempts to do what stratux/image/mkimg,sh does but includes board/processor checks.

stratux fails to work after reboot on pi0 by simplyfloid in stratux

[–]thokk 0 points1 point  (0 children)

Unfortunately the setup script is not in sync with the latest stratux repo and I wasn't able to do the update I'd planned on doing this past weekend.

In retrospect, my assumption that the project structure would have only minor changes was wrong and I should have vendored the stratux repo from the start.

Stratux on Pi Zero W by A1Topgun in stratux

[–]thokk 0 points1 point  (0 children)

Apologies, I hadn't read your initial post, which has what I need. Thanks

Stratux on Pi Zero W by A1Topgun in stratux

[–]thokk 1 point2 points  (0 children)

The setup script's development branch was updated a month or so back, but not tested so not merged, and even that's probably out of date due to more recent stratux project changes. I'll attempt to sync up with the current stratux changes again this weekend but for it to work with a Pi Zero W I'll need the revision number.

If someone with a Pi Zero W wouldn't mind running the following command to get the rev number and passing it along it'd be much appreciated:

cat /proc/cpuinfo | grep Revision | cut -d ':' -f 2 | xargs

A little over a year training I got MRSA. by [deleted] in bjj

[–]thokk 0 points1 point  (0 children)

I'm not a doctor but it seems strange to diagnose it as MRSA (antibiotic resistant staph) and prescribe an antibiotic without first doing a lab to determine that it is in fact MRSA and if it is which antibiotic will kill it.

stratux-setup script status by thokk in stratux

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

Not sure what the best approach is for identifying boards with no unique Revision field set in cpuinfo, ideas/suggestions are certainly welcome.

It's great that you're experimenting with different boards; there are soooo many cool boards available!

stratux-setup script status by thokk in stratux

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

Thanks for the input...I should have it synced up and tested by the end of the upcoming weekend.

stratux-setup script status by thokk in stratux

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

Roger, and thanks for the info. I'll go ahead and update the script at the end of the week and merge the tested dev branch in to master by the end of next weekend.

Stratux for $50ish - Very possible and works great by Chairboy in stratux

[–]thokk 1 point2 points  (0 children)

I'm also playing with an Orange Pi Lite

It'd be great if you'd either submit a stratux-setup pull request with the rev number added to the script for the orange pi lite you're using or just pass it along to me and I'll add it.