HNHacker News
TopNewBestAskShowJobs

skzv

682 karma · joined January 6, 2021

https://skz.dev

meet.hn/city/us-San-Jose

Socials: - linkedin.com/in/skzv - github.com/skzv - reddit.com/user/kolmogorovcomplexity - skzv.at.hn - x.com/_skzv

Interests: AI/ML, Entrepreneurship, Fitness, Hacking, Music, Networking, Robotics, Travel

---

submissionscomments
skzv··on GPS
It depends on the GNSS chipset in the phone, but usually it'll be all the GNSS satellites visible in the sky, from all major constellations. The current Android platform supports GPS, SBAS, GLONASS, QZSS, BEIDOU, GALILEO, and IRNSS[0].

Each satellite adds another constraint, which helps, and with more satellites to choose from, you can drop the weakest or worst measurements.

[0] https://developer.android.com/reference/android/location/Gns...()

skzv··on GPS
I think we're doing all sorts of things now that people decades ago thought were simply impossible!
skzv··on GPS
We consider and integrate all kinds of solutions, accounting for building geometry is just one of them, and we do thorough validation to ensure it's actually helping. There's always various tradeoffs being made.

Ideally, clients will be using our Fused Location Provider API [0] which fuses any (or all) of GNSS, WiFi, accel, gyro, mag... with smoothing + filtering to provide the best location possible at any time while automatically managing power compromises; in effect, using WiFi + accel, as you described, along with more signals and filtering. However, some clients still choose to use pure GPS/GNSS, for various reasons.

Part of providing the best location experience possible (while simultaneously minimizing power drain...) is providing high accuracy at every percentile. Some techniques that may improve the average or median percentile error may cause higher errors at the 90% percentile. For example, let's say we check for "impossible" GNSS position jumps, and just ignore those. What if 10% of the time, the position it's jumping to is actually closer to the true position - since suddenly we might have better line of sight - and previously we were stuck at a worse estimate? What might help in one situation might hurt more in another. It's hard to build robust systems to handle every possible scenario and condition (on all sorts of different kinds of hardware from tons of vendors, since anyone can launch an Android device). It's even harder because, as you can image, smartphone grade sensors are magnitudes worse than those you find in survey or military grade hardware.

Also, WiFi-based localization can only be as good as the estimate of WiFi access point location, which isn't always great (and it's usually worse so since WiFi signal strength localization isn't that great), so GNSS is generally higher accuracy under good conditions (and hence rectifying GNSS error wherever we can is one of our goals), and the error of accel/gyro based dead-reckoning grows quadratically/cubically (due to double integration errors), so it doesn't get you very far.

[0] https://developers.google.com/location-context/fused-locatio...

skzv··on GPS
That's exactly what's happening! Please see my other comment (along with the contained blog link)
skzv··on GPS
Yup! This issue, which is commonly described as the "wrong-side-of-the-street" or "wrong-city-block" error, is one of the biggest ones, and is where a lot of the innovation I mentioned is happening today.

This occurs because in "urban canyons", meaning streets with tall high-rises or sky scrapers, there is little or no line of sight to GNSS satellites (GNSS being the generic term for all satellite positioning systems, not just the American GPS). Consequently, what your phone picks up are signals reflected off of buildings, which exaggerates the distance between you and the satellites, and causes the positioning solution to be pushed away- onto the other side of the street or another city block.

One way Google/Android is tackling this is by using Google's trove of 3D building data, the same that is rendered in Google Earth when you use it in 3D. Your phone uses the building data to correct for reflections. Read on here (and note the authour!): https://android-developers.googleblog.com/2020/12/improving-...

And, the device can use various filters and smoothers to minimize sudden jumps, and normally does, but there are edge-cases (for example, an app may be requesting pure "unfiltered" GNSS location returned directly from the GNSS chipset, hence the jumps). But rest assured, we are working on this issue.

Anyway, thanks for the feedback. We're always doing our best to improve location accuracy and reliability for billions of users in all scenarios and environments, and it's no trivial feat!

skzv··on GPS
Amazing work.

I work on the Android location team at Google, and I sent this article out to my team. GPS/GNSS is critical for accurate location/context, and there's still plenty of innovations happening in this field.

One of our directors is Frank Van Diggelen - none other than the professor who taught the Stanford GPS MOOC referenced by the article :) I'm sure he is going to appreciate seeing the course called out there!

skzv··on Milton Friedman’s Interest Rate Fallacy
Milton understood externalities and market failure very well.

His central message was do not think that market failure means the government has the solution: https://youtu.be/Moc7gwMJabM

skzv··on Upwork asking me for a $12.5k refund as the client was using someone else’s card
My friend got scammed in a similar way via CashApp.

He sold something a few weeks ago and received payment via CashApp. Two days ago he's informed that the customer disputed the charge through his bank, and CashApp is taking the money back from my friend. CashApp says there is nothing they can do, they are simply the middleman.

skzv··on Elizabeth Holmes found guilty
It's probably minus the wire fee, so you can round up.
skzv··on Finding your home in game graphics programming
What you seem to be describing is the maximum theoretical efficiency. It's a common thing in lots of fields, and it's valuable because it gives you a goal you can aim for, and know that you have reached the theoretical limit of performance. As a director of mine once put it, it's important to know when to stop [trying to improve something]. For example, the Carnot cycle gives us a theoretical maximum efficiency of a thermodynamic engine, and the Cramér–Rao bound gives us an upper bound on how much accuracy we can extract from noisy measurements.

I don't know what this would be, or how we could determine this, in the graphics world, but it's still a very valuable and interesting idea.

skzv··on How Telegram Messenger circumvents Google Translate's API
Telegram already encourages downloading the APK directly: https://telegram.org/android
skzv··on DoorDash will require all employees to deliver goods
One of the biggest issues I have observed is employees who do not use the products they work on. This opinion will probably offend some, but I believe to make a great product you need to be passionate about it, and if you're passionate about it, you are going to try to use it.

There comes a point in an organization's life where the engineering team is no longer passionate about the product - perhaps just see it as a 9-5 - and the product inevitably stagnates until it's overcome by a group of passionate engineers. FAANG engineers are smart - but nailing the polish on a product requires passion and testing.

skzv··on The Last Soviet Generation
It really hurts your credibility when you mix up distinct Soviet eras.

The Gulag system began to be dismantled immediately upon Stalin's death and was fully dismantled by 1960.

skzv··on Design Patterns in Googles Prediction Market on Google Cloud
> The problem with prediction markets is that information is not equally distributed amongst participants, and vote "weight" needs to be adjusted based upon proximity to information as well as rational, objective decision-making criteria.

This adds unnecessary complexity. Prefer simplicity. The votes are already weighted by bet size, and those with greater proximity to relevant information or insight will tend to bet more. Empirically, prediction markets have done well.

skzv··on Why did Soviet citizens buy things for a lifetime?
Resource consumption can increase in other ways. For example, since my refrigerator uses less electricity now, I might buy another computer, or TV, or second refrigerator...
skzv··on Why did Soviet citizens buy things for a lifetime?
Regarding poor energy efficiency specifically: it has been observed than gains in efficiency of energy consumption actually cause further increases in energy consumption, rather than decreases, which is counterintuitive: https://en.wikipedia.org/wiki/Jevons_paradox
skzv··on Interactive Gradient Descent Demo
I remember seeing this on HN years ago - a big inspiration for me.
skzv··on Interactive Gradient Descent Demo
Thank you!
skzv··on Telegram Ad Platform
Telegram has more than 550 million monthly active users... so yeah, lots of us.
skzv··on Skimpflation: A reason inflation is worse than the government says it is
Yet it is so far from rigorous which makes it ripe for abuse. The "extreme" deviations are defined arbitrarily, evidenced by the fact that different offices of the Fed come up with different inflation numbers. Hence the chairman can choose one which is conveniently on target.
skzv··on Skimpflation: A reason inflation is worse than the government says it is
The Fed massages the inflation rate by throwing out "extreme" deviations.

> Mr. Powell used a gauge from the Dallas Fed that throws out the top 31% and bottom 24% of personal consumption expenditure (PCE) price changes, and was bang on the Fed’s 2% year-over-year target in July, the latest available. An alternative measure from the Cleveland Fed strips out the top and bottom 16% of consumer-price index changes, and was far higher; worse, the monthly rate was unchanged in August from July, giving no support to the idea that inflation is already coming back down. [0]

[0] WSJ: https://archive.md/A7SIh#selection-4683.0-4706.0

skzv··on Berkshire Hathaway (BRK.A) Up 51% in After Hours Trading
I don't think you can place market orders after hours.

It could have been a deliberate limit order to avoid a margin call by raising the mark-to-market value of an account.

skzv··on Long Beach has temporarily suspended container stacking limitations
> Are we not exporting at the same rate?

Yes. To quote JP Morgan's recent article "Dude, where's my stuff?"[0]:

> The surge in US import demand has led to a sharp rise in eastbound freight rates (see charts for Shanghai->LA and Shanghai->Rotterdam). However, westbound freight rates have not risen nearly as much, leading to an odd and problematic phenomenon: incentives for container owners to move them back to China empty to accelerate receipt of eastbound freight rates, instead of waiting for containers to be refilled to earn westbound freight rates as well. This further exacerbates supply chain issues, since US goods (i.e., grains) that were supposed to depart US railcars and warehouses for export remain in place, occupying space that US imported goods were destined for.

[0] https://am.jpmorgan.com/us/en/asset-management/institutional...

skzv··on Financial Secrecy Index
Not too surprising to me, honestly.

Wealthy Russians and Chinese are hiding their money in the West (UK, US, Canada) precisely for that reason. London (AKA Moscow-on-the-Thames) is famous for happily taking in and protecting that dirty money.

skzv··on Huawei CFO Wanzhou Meng Admits to Misleading Global Financial Institution
Thank you for the clarification!
skzv··on Huawei CFO Wanzhou Meng Admits to Misleading Global Financial Institution
The United States considers any transaction in USD within their jurisdiction.

Huawei and Iran should have been doing business in a different currency, and frankly I don't understand why they weren't.

skzv··on Tim Cook Faces Surprising Employee Unrest at Apple
I'd be really happy to see we are accommodating people with disabilities.

A reminder to me that if I lost my eyesight, hearing, or mobility, I won't be left behind.

skzv··on Steve Wozniak Appears to Be Launching a Space Garbage Company
How is Woz involved? These days, it seems Woz is paid to endorse, or otherwise put on the board to bring attention to a lot of projects, without much involvement: https://medium.com/@pabischoff/steve-wozniak-walking-billboa...

This recently launched: https://efforce.io/team/steve-wozniak

The token is "WOZX". Clearly they're attempting to capitalize on his name.

skzv··on Steve Wozniak – “A Private space company is starting up, unlike the others.”
What I took this to mean is that this company will not be tied to any nation's military complex or government funding.

I'm eager to learn what Woz means by this.

All I could find so far was this:

> a 3D printing site reported Wozniak's company appeared to be using a printer for high-strength titanium — and suggested the company might have something to do with cleaning up space junk. [0]

[0] https://3dprint.com/283866/apples-steve-wozniak-to-clean-up-...

"Not like the others" could also allude to it being a company that removes junk from space instead of putting it there.

skzv··on American parents are sending their kids to 'Russian math' (2017)
When I started high school in Canada, my math grades were pretty bad. Probably in the 60%s (a C letter grade). I remember staring at a quadratic equation, struggling to understand why those 3 terms drew a curve. I had no intuition for it.

The summer before 11th grade, my father decided he had enough. It was time to learn math, Soviet style. He sat me down for a few hours each morning with problems from 6th and 7th grade Russian math textbooks - which was strange to me of course because I was about to start 11th grade. One important rule was that a calculator was not allowed.

Everyday he had a list of questions ready for me that he had judiciously picked. Back in Ukraine he was a regional physics Olympiad winner, and a gold medal winner (in the Soviet Union, the top graduates from each high school were awarded a gold medal - goes to show how they valued academics I suppose). I can pull up some photos if anyone is interested.

The questions were very clever and pedagogical. You developed intuition by solving them. And you couldn't solve them if you didn't understand the underlying principles. And of course, there's the word problems. I could barely read Russian at the time, so I had to take my time, but they bridge the gap between theory and application. And without a calculator, you are forced to develop techniques for manipulating equations and numbers. You get really good at it.

I aced math and physics for the rest of high school (and later graduated with a degree in Engineering Physics).

The western education system really fails us. My dad sitting me down with those elementary Russian math textbooks and enforcing a no calculator rule was one of the best things he could have ever done for me. The Soviet mathematic curriculum was designed by some brilliant mathematicians who understood the importance of developing intuition. That importance seems to be lost here. People think that quantitative intuition doesn't matter as long as you can plug your equation into Wolfram Alpha. But when you approach math that way, you don't develop an analytical and quantitative lens.

Photos: [My father and my grandmother on the way to university in the 80s - https://photos.app.goo.gl/Tgv2gpy428rKs2GS8

Gold medal - https://photos.app.goo.gl/KsisSEvb4fbNEE419

Physics Olympiad diploma with translation - ]https://photos.app.goo.gl/b3hw6HXmQN25iXay9]

← PreviousPage 3 of 5Next →