HNHacker News
TopNewBestAskShowJobs

wgrover

592 karma · joined June 17, 2010

Professor of Bioengineering at the University of California, Riverside

https://groverlab.org

submissionscomments
wgrover··on Identifying fake cosmetics using AI
I think my "cautious optimism" mostly came from the fact that Gemini found subtle problems with the counterfeit packages that I (someone who looks at fakes as part of my job) didn't notice - like mismatched info between the tube and box, and a malformed Irish postal code. If I didn't notice those, then I seriously doubt that a consumer glancing at a package would notice them. In that case, Gemini's insights would be valuable info for a consumer.

Gemini wrongly called an authentic product a fake, but that was mainly because there really were typographical errors in the authentic product's ingredient list. That's more of an indictment of the manufacturer than it is Gemini.

Finally, a lot of the things that Gemini got wrong seemed to me like they could reasonably be attributed to things like optical artifacts in the photos (glare, shadows, stuff like that). Better/more photos might improve that.

All that being said, this is obviously a tiny study of a single AI tool with a single brand of cosmetic product, so it's probably premature for me to optimistic, even cautiously. I've edited the last section of the writeup accordingly.

wgrover··on Identifying fake cosmetics using AI
That's fascinating! If any of your work using AI to identify reproductions is publicly sharable, I'd love to learn more about it (amateur antique collector here). But if not I understand.
wgrover··on Identifying fake cosmetics using AI
Regarding scaling - I think you're right if the AI mostly detects typos, like it did in this work.

I'm hopeful that future AI models (perhaps trained for this purpose, not a general-purpose model like I used here) might be able to identify more subtle variations in e.g. injection molding patterns, the surface finish of a pill, things that would be hopefully a lot harder for counterfeiters to fix than a typo.

wgrover··on Identifying fake cosmetics using AI
Thanks! I'm putting "doing cool stuff with really basic ideas" in my bio... :)
wgrover··on Go 1.27
Your comment makes me think of LabVIEW - if you're not familiar with it, it uses a visual programming language ("G") in which data flows down wires. The color of the wire indicates the wire's data type (blue for ints, orange for floats, green for bools, pink for strings) and the width of the wire indicates the dimensionality of the data (thin line = scalar, thick line = 1D array, double-thick = 2D array). The color is more than decorative or even assistive - it's essential to understanding the program.
wgrover··on Random numbers, Persian code: A mysterious signal transfixes radio sleuths
Fans of the band Wilco will recognize one of the Conet Project's recordings as the source of the woman repeating "Yankee Hotel Foxtrot" in the song "Poor Places" from the eponymous album. Wilco failed to license the sample and the resulting lawsuit gave the Conet Project a portion of Wilco's royalties on that track.
wgrover··on A ternary plot of citrus geneology
Yes! And every day the California Citrus State Historic Park is open for tours and tasting of various citrus varieties:

https://www.californiacitruspark.com

wgrover··on The Old Robots Web Site
And I remember going to Radio Shack at the mall as a kid and wanting that Armatron robot so badly! Being able to get these things now for pretty cheap and fixing them and playing with them with my kids has been such a treat.
wgrover··on The Old Robots Web Site
A parenting tip for those with geeky kids:

You can get some of these (like the smaller TOMY robots) for pretty cheap on eBay. They're usually broken, but the innards of these robots are so interesting, just taking them apart is a learning experience. TOMY was brilliant at making seemingly sophisticated toys that were actually run by a single DC motor; all the movements, sounds, sensing etc. were implemented using gears and cam shafts and other mechanisms. A great way to learn about simple machines, and a bonus if you (or your kid) can repair them and bring a 40-year-old robot back to life.

wgrover··on Frame of preference A history of Mac settings, 1984–2004
In the site's defense, it is emulating like ten different operating systems as you scroll.
wgrover··on The Barbican
Here's a cross-section through the theatre portion of the Barbican showing the complexity of the engineering:

https://www.reddit.com/r/architecture/comments/5w9ep7/cross_...

wgrover··on The Smallest Thing in Go
I'm guessing the title was meant to be a nod toward the meaning of the English word iota, "an extremely small amount".
wgrover··on Can you get root with only a cigarette lighter?
Yup - the first few minutes of one of Technology Connections' videos on electromechanical pinball machines shows this mechanism in action:

https://www.youtube.com/watch?v=E3p_Cv32tEo

wgrover··on So thieves broke into your storage unit again
Your post reminded me of Mark Twain’s very funny short story “The McWilliamses And The Burglar Alarm”:

https://americanliterature.com/author/mark-twain/short-story...

wgrover··on Getting my daily news from a dot matrix printer
Here's a Python script I wrote that generates storage bin labels and prints them using a cheap 2" by 3" label printer:

https://github.com/wgrover/jamie

The name 'jamie' is in honor of Mythbuster Jamie Hyneman's meticulously labeled storage bins at M5 Industries.

The code uses a brute-force search to fit the specified text on the label using the largest possible font size.

wgrover··on Aerc: A well-crafted TUI for email
I miss Pine too. I could read/file/delete scores of plaintext emails in seconds using single keystrokes.

Every email client I've used since Pine has been better at dealing with all the stuff we've bolted on to email (HTML, attachments, calendar invites...) but none of them have been as efficient at the core tasks of email as Pine was.

wgrover··on Make your electronics tamper-evident
Thanks for the suggestion - I looked into music recognition algorithms early on but struggled to adapt them for image use. But I'll revisit them.
wgrover··on Make your electronics tamper-evident
Thanks! There are related structures in electronic circuits called physical unclonable functions (PUFs) that find uses in cryptography - you might find them interesting: https://en.wikipedia.org/wiki/Physical_unclonable_function
wgrover··on Make your electronics tamper-evident
Here's some work I did a couple years ago using some of these principles to fight counterfeit medicines: https://www.nature.com/articles/s41598-022-11234-4

A side note: I think there's an unmet need for algorithms that can convert photos of these random patterns into text (or something similar) that can be stored in a database and searched quickly for matching patterns. I've tried image similarity algorithms like the ones used by e.g. Google Reverse Image Search, but they seem poorly suited for this task. I ended up writing my own crude algorithm in the paper above that converts a pattern into a set of strings, and it works OK, but surely there are better ways to do this.

wgrover··on Light characteristic
You might also find moiré-effect navigation beacons interesting, like the one that Tom Scott visits here: https://www.youtube.com/watch?v=d99_h30swtM
wgrover··on Bitten by the black box of iCloud
Can anyone recommend a backup strategy for iCloud? Specifically, my Macs' hard drives aren't big enough for any one computer to store everything locally, so some documents end up living only in iCloud which is clearly asking for trouble. My ideal solution would be to regularly mirror iCloud's contents on my NAS (which is big enough to store everything locally) but I've never seen anyone implement something like that.
wgrover··on John McCarthy’s collection of numerical facts for use in elisp programs
http://www-formal.stanford.edu/jmc/future/mars.pdf
wgrover··on Dining like Darwin: When scientists swallow their subjects (2015)
I had the same thought. BTW, the movie is titled "The Pirates! In an Adventure with Scientists!" in the UK (same as the book it's based on). The studio changed the title for Americans [1], perhaps assuming we'd be less interested in a movie with scientists, shudder...

[1] https://en.wikipedia.org/wiki/The_Pirates!_In_an_Adventure_w...

wgrover··on Ask HN: Could you share your personal blog here?
https://groverlab.org/hnbfpr

Random musings of a professor of Bioengineering at the University of California, Riverside. A few highlights:

- https://groverlab.org/hnbfpr/2017-12-10-csu.html - My investigation into a fictitious California university and its link to predatory academic journals.

- https://groverlab.org/hnbfpr/2019-08-19-gene-roddenberry-ucr... - Looking into filming locations for Gene Roddenberry's TV show pilot "Genesis II" that was filmed at UC Riverside in 1972.

- https://groverlab.org/hnbfpr/2019-08-06-stereo-records.html - How stereo phonograph records work.

wgrover··on Curta
https://www.simplify3d.com/3d-printing-the-curta-calculator-...

And a fun video of Adam Savage playing with Marcus Wu's 3D-printed Curta: https://www.youtube.com/watch?v=j9uRckJLqLk

wgrover··on Detecting unauthorized physical access with beans, lentils and colored rice (2021)
Lovely work. Here's a similar project where I showed that randomly-placed multicolored candy particles (nonpareils) can be used to confirm the authenticity of pharmaceuticals: https://www.nature.com/articles/s41598-022-11234-4
wgrover··on Fibers under the magnifying glass [pdf]
Based on the title, I was expecting something quite different...
wgrover··on The Apollo Affair
I suspect you're right, so we can assume that it was never all in one piece or we would have known about it!
wgrover··on The Apollo Affair
For a sense of scale, 93 kg of uranium would occupy a space a little smaller than one soccer ball: https://www.wolframalpha.com/input/?i=volume+of+93+kg+of+ura...
wgrover··on Show HN: I've built self-opening trash bin, I relax myself feeding garbage to it
Ah, good point. I was imagining office waste like paper, but if you're putting in kitchen scraps and dirty diapers, ignore my suggestion...
Page 1 of 4Next →