4 ms·
>A USB nerf gun that shoots at the developer who broke the Jenkins build Anywhere I can read any more about this?
by timlyo 10y ago
>A USB nerf gun that shoots at the developer who broke the Jenkins build
Anywhere I can read any more about this?
- trampi 10y agoI think it was on HN some time ago: https://github.com/codedance/Retaliation https://github.com/codedance/Retaliation
- manyxcxi 10y agoThat's pretty much what mine was, but isn't mine (and probably better?)
- manyxcxi 10y agoI always mean to write up my projects but never do. The gist is really, through trial and error I was able to map developer's desks to coordinates and elevation angles to get to their seat and just made a flat file that had their username, X, Y, and Z values in it. The main loop was just the standard socket server you'd find in a Ethernet module example and I wrote a Jenkins plugin that would connect on break and send the offending username over the socket. There were at the time a number of examples showing how to control the USB launcher from Geekwire w/ an Arduino that I pretty much just copied.
- ayuvar 10y agoYou probably could have done some basic artillery calculations. Then again, you might work in one of those weird offices where trying to measure the distance from your desk to theirs is more awkward than repeatedly attempting to shoot your coworkers while you fine-tuned the numbers. Neat project!
- manyxcxi 10y agoActually, having someone sit at their desk while I continued to shoot closer and closer to their face was probably the most fun of the entire project. I tried some basic calculations, but as you could guess with a nerf dart, building HVAC, and all the other things going on it wound up being faster and easier (and again, more fun) just shooting until I was on target a couple of times. After the first few desks it was pretty easy to get close on the first shot because you could generally know that 4ft left or right was about an adjustment value of +/- whatever from the last coordinate you had dialed in.
- soylentcola 10y agoPlus then they can build defense fortifications and start an arms race!
- fapjacks 10y agoPrecisely. I immediately started thinking about Arduino-powered counter-battery fire.
- pat_space 10y agoPlease!
- flamedoge 10y agoI keep throwing money at the screen, but I don't get the nerf gun.
- rjeli 10y agothis is not reddit, please comment as such.
- screature2 10y agoHere's another similar Jenkins/USB/NerfDart gitblame launcher project... https://github.com/codedance/Retaliation https://github.com/codedance/Retaliation