Fixing Hallucinations in LLMs
Why LLMs hallucinate, approaches for mitigation, challenges with evaluation datasets, and moreImage generated by Stable DiffusionGenerative Large Language Models (LLMs) can generate highly fluent responses to various user prompts. However, their tendency to hallucinate or make non-factual statements can compromise trust.I think we will get the hallucination problem to a much,
Read moreVision: the often missing leadership ingredient
Why having a vision is critical to team success and how to assess itContinue reading on Better Programming »
Read moreWhy we should stop using labels
The harm we cause by describing things poorly and how it traps us into repetitive and unhealthy thought patternsContinue reading on Better Programming »
Read moreAdvanced Swift Actors: Re-entrancy and Interleaving
Understand actor behaviour with a real-world use caseContinue reading on Better Programming »
Read moreSwift: High-Performance Dictionary Keys
I improved Factory’s dictionary lookup performance by over 500%! Can you do the same in your app?Continue reading on Better Programming »
Read moreCurvature at Cairo
I was flipping through Gravitation [1] this weekend and was curious about an illustration on page 309. This post reproduces that graph. The graph is centered at Cairo, Egypt and includes triangles whose side lengths are the distances between cities. The triangles are calculated using only distances, not by measuring
Read moreCalculating the intersection of two circles
Given the equations for two circles, how can you tell whether they intersect? And if they do intersect, how do you find the point(s) of intersection? MathWorld gives a derivation, but I’d like to add the derivation there in two ways. First, I’d like to be more explicit about the
Read moreUnity3D + Amazon GameLift: Focus on The Realtime Script
Write your own script and take control over the game server!In a previous article, I showed how to build an entire real-time multiplayer game with Amazon GameLift and Unity3D. The process implicates creating game sessions and player sessions with Lambda, guest access to the services with Cognito, and a game server
Read moreMy experience at Medium Day
I look forward to more!Continue reading on Better Programming »
Read moreVerifying the Origin of Media in an Algorithmic World
A walkthrough of the C2PA content authenticity specification and its Rust SDK1970s Transamerica building in San Francisco. Midjourney.Distinguishing authentic human-produced media from deepfakes or other algorithmically generated media is notoriously difficult. Existing tools produce a probability that given media is generated, but certainty is elusive. In the coming years, verifying the
Read more