frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

How does anybody test phone applications that do location tracking?

https://twitter.com/LyleMakes/status/2063784301594853657
2•lylejantzi3rd•1h ago

Comments

lylejantzi3rd•1h ago
I ran into some interesting limitations when trying to test a friend's trip tracking application.

I can record a sequence of events that includes just about anything the phone can do: lat/long changes, speed, orientation, changes in motion state (idle, walking, driving, etc), geofencing, bluetooth state changes, wifi state changes, etc. Everything timestamped.

But, how do you play this sequence back in a way that makes the app think you're taking the same trip again? I was hoping the OS (iOS and/or Android) would provide a mechanism for this. And it does, but only lat/long. Nothing else.

The missing information is very important when trying to debug what's going on in my application on any particular trip. Now, I know I can create my own version of CLLocation that will generate these events whenever I want them, but I was hoping to find a solution that didn't require changing application code to support. I would like to take my findings and create a product that can help people do this sort of testing and requiring them to switch out CLLocation everywhere it's used in their application is a difficult sell.

jschveibinz•1h ago
Some important things to consider:

1. Location estimates are noisy--you have to integrate over many samples to get a statistically significant result

2. Location estimates are 2-dimensional. The noise and statistics for lat are not the same as those for lon

3. Location estimates are dependent upon the spatial environment--radio signals are directional and they are affected by amplitude variations, antenna location, antenna visibility, changes in the immediate environment, etc.

4. Location estimates are affected by the quality and availability of reference signals and other factors like you mentioned: speed, orientation, changes in motion state (idle, walking, driving, etc), geofencing, etc.

You will need to include all of these factors in your testing to be able to determine the quality of your measurement tool.

Dopamine Fracking

https://igerman.cc/blog/dopamine-fracking/
2•igmn•4m ago•0 comments

New Medicaid work rule worries patient advocates, states

https://www.politico.com/news/2026/06/07/how-sick-is-sick-enough-new-medicaid-work-rule-worries-p...
1•petethomas•5m ago•0 comments

Show HN: Authmeta.dev – the OAuth inspector you wish you had

https://authmeta.dev/
1•buildwithdennis•6m ago•0 comments

Letter complaining about delay in postal delivery in Victorian London-8 May 1881

https://www.victorianlondon.org/communications/frequency.htm
1•thunderbong•8m ago•0 comments

When Trump Jawbones the Market, Bet Against Him at Your Peril

https://www.wsj.com/economy/when-trump-jawbones-the-market-bet-against-him-at-your-peril-92825a3e
1•petethomas•13m ago•0 comments

Show HN: TeardownHQ, teardowns/playbooks of how indie startups grew

https://teardownhq.io
4•arogers17•14m ago•2 comments

Barcelona's Sagrada Família Nears Completion–and Inflames a Tourism Backlash

https://www.wsj.com/world/europe/barcelonas-sagrada-familia-nears-completionand-inflames-a-touris...
1•petethomas•15m ago•0 comments

Jeff Bezos Is Funding a Wild Hunt for the Brain's 'Core Algorithm'

https://www.wired.com/story/jeff-bezos-is-funding-a-wild-hunt-for-the-brains-core-algorithm/
2•uxhacker•22m ago•0 comments

Cremona Art Week

https://0100101110101101.org/show-cremona-art-week/
1•jruohonen•22m ago•0 comments

Israel says it has struck Iran after taking missile fire

https://apnews.com/article/iran-us-ceasefire-hezbollah-israel-c16dc4917512f7436a3921a4b044b98b
2•JumpCrisscross•26m ago•0 comments

Sunset of the Consumer Version of Gemini Code Assist on GitHub

https://developers.google.com/gemini-code-assist/docs/deprecations/consumer-code-review
1•tvvocold•33m ago•0 comments

The coming rise of anti-AI populism

https://www.ft.com/content/b4429ea0-4a0a-4a28-96f5-debf4f3eb339
1•1vuio0pswjnm7•33m ago•1 comments

A New Ad Campaign Tries to Make A.I. A Little Less Scary

https://www.nytimes.com/2026/06/04/style/chatgpt-advertising-campaign-artificial-intelligence.html
2•1vuio0pswjnm7•36m ago•1 comments

Painting the Internet: A Different Kind of Warhol Worm [pdf]

https://cspages.ucalgary.ca/~aycock/papers/artworm.pdf
1•jruohonen•41m ago•0 comments

Texas grid flags risks as data centers, crypto sites fail voltage tests

https://www.reuters.com/business/energy/texas-grid-flags-risks-data-centers-crypto-sites-fail-vol...
14•1vuio0pswjnm7•41m ago•0 comments

April in Servo: new Android UI, focus, forms, security fixes, and more

https://servo.org/blog/2026/05/31/april-in-servo/
1•maxloh•42m ago•0 comments

The source of economic shocks matters for their political outcomes

https://journals.sagepub.com/doi/10.1177/20531680251379914
4•PaulHoule•44m ago•0 comments

Tech sell-off widens as South Korea index plunges

https://www.ft.com/content/2f0f727b-5315-445c-b8f1-6aa65bd7474c
5•JumpCrisscross•46m ago•0 comments

Yoti denies reporting GrapheneOS user, says screenshots may be fake

https://discuss.grapheneos.org/d/36134-grapheneos-user-reported-to-authorities-for-using-graphene...
3•Cider9986•46m ago•1 comments

Earthquake of magnitude 7.8 strikes off southern Philippines

https://www.reuters.com/business/environment/earthquake-magnitude-73-strikes-mindanao-philippines...
1•JumpCrisscross•47m ago•1 comments

Algorithmic Monocultures in Hiring

https://algorithmichiring.github.io/
7•drchiu•52m ago•0 comments

NPM-Scan: Detecting Six Major NPM Supply Chain Campaigns (June 2026)

https://www.npmjs.com/package/@lateos/npm-scan
2•lateos-ai•54m ago•0 comments

Show HN: ARouter – drop-in OpenAI/Anthropic proxy that cuts cost and fails over

https://github.com/sricola/arouter
1•sricola•57m ago•1 comments

What it costs to run a one-Rails-app SaaS per month

https://www.railsreviews.com/articles/what-it-costs-to-run-a-rails-saas
2•doppp•1h ago•0 comments

President says Netanyahu will have 'no choice' but to accept a deal with Iran

https://www.ft.com/content/a0ce59f9-fbde-49e8-9158-fba3d4079859
2•Jimmc414•1h ago•1 comments

Force-sensing mobile microrobotic grippers for gentle and precise bioassembly

https://pubs.aip.org/aip/apb/article/10/2/026103/3388070/Force-sensing-mobile-microrobotic-grippe...
2•PaulHoule•1h ago•0 comments

New drug 'functionally cures' many hepatitis B virus infections

https://www.science.org/content/article/new-drug-functionally-cures-many-hepatitis-b-virus-infect...
12•gmays•1h ago•1 comments

Show HN: Preseason.ai – Open-source benchmark of devtool choices, ranked by LLM

https://www.preseason.ai
2•widenrun•1h ago•0 comments

DeepSeek V4 Pro beats GPT-5.5 Pro on precision

https://runtimewire.com/article/deepseek-v4-pro-beats-gpt-5-5-pro-on-precision
60•yogthos•1h ago•5 comments

Phonestheme

https://en.wikipedia.org/wiki/Phonestheme
3•davidbarker•1h ago•0 comments