Better HN
topnewbestaskshowjobs
Log inSign up

fogleman

3,899 karma · joined Apr 5, 2013 (13y ago) · 349 submissions

Submissions

comment 1y ago · link · parent

I just downloaded the screensaver pack mentioned by the OP and there's even another one in the pack called "Hopalong"!

comment 1y ago · link · parent

IMO: get rid of the animations

comment 2y ago · link · parent

Add another dropdown so we can color code by Base salary only, Stock only, etc.

comment 2y ago · link · parent

You might like the xkcd color survey:

https://blog.xkcd.com/2010/05/03/color-survey-results/

comment 2y ago · link · parent

I think this is flawed. You quickly end up on a color that's clearly not "blue" or "green" and you're unlikely to keep hitting "this is green" several times in a row, conceding that ok, fine, maybe this is blue, whatever. You're basically measuring how many times people are willing to click the same button in a row.

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

You should really put up some sample images.

comment 2y ago · link · parent

Way back in 2006, I reverse engineered the protocol used between isc.ro and its desktop client so that I could write my own GUI. It was just a fun side project.

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

I love that style from David Goodsell! You did a great job in mimicking it programmatically. Was that tough to get right?

comment 2y ago · link · parent

Definitely didn't expect people on Hacker News to scrutinize this code when I wrote it 7 years ago, hah!

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

Nice! Link? I'd like to see what you made.

comment 2y ago · link · parent

Hey, it's me! Fun surprise.

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:

https://twitter.com/FogleBird/status/1204253487703478274

42.

Formlabs launches Form 4 SLA 3D printer [video](youtube.com ↗)

8 points · by fogleman · 2y ago · discuss

comment 2y ago · link · parent

That first one looks suspiciously similar to OP's.

comment 3y ago · link · parent

Well, there's no way to feed lat/lng or similar into this particular tensorflow model.

comment 3y ago · link · parent

I reverse engineered their stuff a bit. I downloaded their Android APK and found a tensorflow lite model inside. I found that it accepts 299x299px RGB input and spits out probabilities/scores for about 25,000 species. The phylogenetic ranking is performed separately (outside of the model) based on thresholds (if it isn't confident enough about any species, it seems to only provide genus, family, etc.) They just have a CSV file that defines the taxonomic ranks of each species.

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

Yeah, DEET is a plasticizer. It marred the body of my Canon camera after rubbing off of my arm and onto the camera.

comment 3y ago · link · parent

User since 2013. I have nothing flagged.

comment 3y ago · link · parent

I took up bird photography about 3 years ago. I have 400,000+ RAW photos in Lightroom on over a dozen 2 TB SSDs. It's not so much hoarding as it just takes effort to go through and decide what to keep and what to delete. I shoot bursts so it adds up really fast. I could probably get by with 10-20% of the storage if I could just keep up with the pruning.

comment 3y ago · link · parent

Maybe ChatGPT wrote the chat history code.

comment 3y ago · link · parent

lol, she pronounced GitHub like git hoob

Someday the AI will introduce mistakes on purpose to seem more human like.

comment 3y ago · link · parent

extension cord plugged into itself

comment 3y ago · link · parent

Ventura has serious issues with ExFAT volumes (failing to boot with them connected, Finder or other apps not showing all of the files, inability to empty the trash, etc.) I have several 2 TB external SSD's and ended up migrating them all to APFS because of Ventura. If you google "ventura exfat site:discussions.apple.com" you'll see all sorts of complaints. Pretty terrible situation.

comment 3y ago · link · parent

You can change the resolution. A coarse resolution might be adequate for fairly quick feedback. Then you can crank up the resolution when you're ready to generate the final output. Or you could even progressively update the preview. I wouldn't call it realtime though. Like you wouldn't be able to animate a changing SDF.

comment 3y ago · link · parent

Excellent. You might be interested in a Python library that I wrote for generating 3D meshes (STL files) from SDFs : https://github.com/fogleman/sdf

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 4y ago · link · parent

"This isn't just Theranos, this is Walgreens as well."

comment 5y ago · link · parent

Now subtract 32 F and you get 2.7 F which is the delta.

comment 5y ago · link · parent

I took up birding as a new hobby during the pandemic. (Apparently this is a "thing" - aka lots of new "pandemic" birders.) I really got into it, and bird photography is a big part of it as well.

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

comment 5y ago · link · parent

Sure.

comment 5y ago · link · parent

I suppose I should put it on PyPI! There isn't such an API yet but it wouldn't be too difficult to add.
12345
12