3,899 karma · joined Apr 5, 2013 (13y ago) · 349 submissions
comment 2y ago · link · parent
Edit: Possible improvements: changing the wording to "this is MORE green" and "this is MORE blue" and randomizing the order in which they are shown, somehow. I realize you're just doing some kind of binary search, narrowing the color range.
This is not to mention color calibration of your monitor, or your eyes adjusting / fatiguing to the bold color over time...
comment 2y ago · link · parent
https://www.michaelfogleman.com/projects/word-warrior/
In the process I discovered all sorts of vulnerabilities (potential cheating vectors). Nothing prevented a malicious client from:
- picking your own tiles (even if they no longer exist in the bag)
- seeing your opponent's tiles
- setting your clock to any value after making a move
- aborting a game at any time without opponent approval
If you exchanged tiles, the number of tiles you exchanged was sent through the # of seconds on your clock. So if you exchanged 3 tiles at a point where you had 1m40s on your clock, it would change to 1m43s or 1m33s or something like that! There was no other way to communicate to the server how many tiles you exchanged.
I never took advantage of any of this. Like I said, I just wanted a nicer GUI to play Scrabble on. But I was pretty shocked at what I discovered in the process.
Not sure if anything has changed since then!
comment 2y ago · link · parent
Curious to hear how a "protein structure expert" would prefer to pose the proteins?
I did sell some of these drawings. Two customers stand out in my memory. One wanted drawings as a gift to his father who had spent most of his career working with some specific protein. The other was someone who had a genetic defect in the family and wanted a drawing of the protein responsible for it.
comment 2y ago · link · parent
I also collaborated with my coworkers during work-sponsored hackathons on some other fun plotting machines. One that could draw on a huge whiteboard with multiple colors and another whose mechanism was based on the Shaper Origin:
https://twitter.com/FogleBird/status/1549798581409824778
https://twitter.com/FogleBird/status/1018296014585978880
Bonus, my favorite tool-path optimization to draw adjacent circles:
42.
Formlabs launches Form 4 SLA 3D printer [video](youtube.com ↗)
8 points · by fogleman · 2y ago · discuss
comment 3y ago · link · parent
I use it to automatically tag pictures that I take. I took up bird photography a few years ago and it's become a very serious hobby. I just run my Python script (which wraps their TF model) and it extracts JPG thumbnails from my RAW photos, automatically crops them based on EXIF data (regarding the focus point and the focus distance) and then feeds it into the model. This cropping was critical - I can't just throw the model a downsampled 45 megapixel image straight from the camera, usually the subject is too small in the frame. I store the results in a sqlite database. So now I can quickly pull up all photos of a given species, and even sort them by other EXIF values like focus distance. I pipe the results of arbitrary sqlite queries into my own custom RAW photo viewer and I can quickly browse the photos. (e.g. "Show me all Green Heron photos sorted by focus distance.") The species identification results aren't perfect, but they are very good. And I store the score in sql too, so I can know how confident the model was.
One cool thing was that it revealed that I had photographed a Blackpoll Warbler in 2020 when I was a new and budding birder. I didn't think I had ever seen one. But I saw it listed in the program results, and was able to confirm by revisiting the photo.
I don't know if they've changed anything recently. Judging by some of their code on GitHub, it looked like they were also working on considering location when determining species, but the model I found doesn't seem to do that.
I can't tell you anything about how the model was actually trained, but this information may still be useful in understanding how the app operates.
Of course, I haven't published any of this code because the model isn't my own work.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
It just uses marching cubes for triangulation but the SDFs are all numpy'd and the SDF is evaluated in batches on multiple threads so it's relatively fast.
I wrote it because I was a little frustrated with OpenSCAD. SDFs make it trivial to do things like rounded corners, for example.
comment 5y ago · link · parent
Anyway, knowing where best to find birds is always a question. eBird is an excellent resource, but I don't think it answers the most important questions as easily as it could.
- What birds can I expect to see in my area at this time of year? (e.g. What SHOULD I be on the lookout for?)
- Where can I best find a particular species in my area?
eBird provides a huge 100 GB data dump. I aggregated it for my purposes down into a 2+ GB SQLite database and created this website. It works for any region. Try it out!
58.
Show HN: Bird Finder(michaelfogleman.com ↗)
2 points · by fogleman · 5y ago · 1 comment