Better HN
topnewbestaskshowjobs
Log inSign up

slobdell

54 karma · joined Nov 13, 2014 (12y ago) · 18 submissions

Submissions

1.

Show HN: Game of Thrones Music Visualization (RPi, Microcontroller, and LEDs)(youtube.com ↗)

1 points · by slobdell · 8y ago · discuss

2.

Blimp Autopilot Written in Golang: Take Off / Loiter / Waypoint Nav / Land(youtube.com ↗)

1 points · by slobdell · 9y ago · discuss

3.

R Pi, Emlid Navio2: Successful RC Blimp Autopilot Flight Test Written in Golang(scottlobdell.me ↗)

1 points · by slobdell · 9y ago · discuss

4.

Experimental Blimp Autopilot Test Flight with Raspberry Pi and Emlid Navio2(scottlobdell.me ↗)

4 points · by slobdell · 9y ago · discuss

5.

Video demonstrating sensor fusion between GPS and accelerometer(youtube.com ↗)

3 points · by slobdell · 9y ago · discuss

6.

How to Implement an IMU Using an Accelerometer, Gyro, and Magnetometer(youtube.com ↗)

2 points · by slobdell · 9y ago · discuss

7.

Inertial Navigation Unit in Golang Using an Emlid Navio2 [video and Example Code](youtube.com ↗)

5 points · by slobdell · 9y ago · discuss

comment 9y ago · link · parent

alas

9.

1st Attempt at Testing an Autopilot for an RC Blimp with Raspberry Pi[video](scottlobdell.me ↗)

2 points · by slobdell · 9y ago · discuss

comment 9y ago · link · parent

That pun in the first sentence alone made the article worth it.

comment 10y ago · link · parent

thanks!

comment 10y ago · link · parent

thanks for posting...I will try the implementation you linked to and see the effects on performance.

Channels end up locking under the hood as well, so from a purity standpoint I wanted to avoid those...if channels are indeed faster, then clearly I need to rework my approach.

comment 10y ago · link · parent

I agree, these are currently far from efficient (I hope to resolve this). My suspicion right now is that a lot of time is being spent somewhere in spinning loops waiting for progress to be made.

Average runtime of insertion is constant time because the size of the linked list does not grow beyond a certain size, and inserting into the priority queue is constant. The worst case is not infinity because there is always at least one goroutine making progress.

Thank you for the comment about wanting to see posts like this :)

I do not think this implementation is flawed from the standpoint that at least one goroutine is making progress, there are no locks, and results are returned in order if dequeues are not saturated

This is not something that would make it to a white paper because the implementation does not return deterministic results, and I could not explain from a mathematical standpoint how flawed the results are returned because they're not guaranteed to be in order.

I should have also included the profiling results. Currently 25% of time is spent garbage collecting, which is expected because the priority queues effectively use multi-version concurrency control, but this will come in handy when I want to persist data to the hard drive with as little locking as possible (and for general simplicity in avoiding corruption)

Another 15% or so is spent sleeping, which would be the spinning loop part.

14.

Thread-Safe Lock Free Priority Queues in Golang(scottlobdell.me ↗)

92 points · by slobdell · 10y ago · 30 comments

15.

Use Mechanical Turk with Python and Boto to Crowdsource Tasks(scottlobdell.me ↗)

2 points · by slobdell · 11y ago · discuss

16.

Show HN: An automated personal training app (free with code HACKERNEWS2015)(workoutgenerator.net ↗)

3 points · by slobdell · 11y ago · discuss

17.

Show HN: Weight Lifting and Calculating a One Rep Max Using Computer Vision(onerepmaxcalculator.com ↗)

4 points · by slobdell · 12y ago · discuss