frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

It's your fault my laptop knows where I am

https://www.amoses.dev/blog/wifi-location/
44•nicosalm•1h ago

Comments

ralsei•57m ago
Good article, but you could also just use a VPN to trick it.
wsces•45m ago
No, a VPN would only change the source IP of your request which the author specifically states isn't how this system works: the browser uses its host OS' Location Services to self report its location based on GPS or Wi-Fi AP locations.

That said, I hope the service doesn't implicitly trust data sent by untrusted clients like web browsers, otherwise someone could just use something like this to send it a false location: https://chromewebstore.google.com/detail/spoof-geolocation/i...

ralsei•42m ago
Ohh. Yeah I suppose that's what I meant. I thought a VPN also spoofed the location
oceanplexian•33m ago
Even if the browser was super locked down you could trivially spoof a few SSIDs broadcast from the desired area in theory..
DrawTR•30m ago
The SSID (name, like the article mentions) is different than the bSSID (mac address of the access point), so I don't think it would be that easy to spoof.
1bpp•22m ago
Shouldn't be any harder than the name.
bitwize•29m ago
A device can triangulate its own location locally, given the WiFi hotspots around it, and transmit that information via a JavaScript API. A VPN won't flummox this mechanism.
pkulak•50m ago
I use a Firefox preference to pin my location to a spot near, but not at, my house:

user_pref("geo.provider.network.url", 'data:application/json,{"location": {"lat": 45.0, "lng": -122.0}, "accuracy": 128.0}');

I _believe_ this also stops wifi data from leaking anywhere.

denysvitali•37m ago
I've recently vibe-coded "where-am-i", a small CLI that returns your approximate location using the technology described here.

https://github.com/denysvitali/where-am-i

Tbh, I think this geolocation method is amazing, and I'm grateful it exists, because GPS indoor really sucks.

jbmchuck•10m ago
Honest question - what's your use case for needing GPS indoors? I generally know where I am when I'm indoors :)
p1necone•34m ago
Is it common for North American universities to take attendance? Seems like a whole lot of effort to gain little and infantilize your students. They're paying tuition, and if they don't show up to class they get punished by not learning enough and subsequently failing their exams/assessments. And if they don't fail their exams/assessments then clearly mandating lecture attendance for them wasn't necessary anyway.
savanaly•24m ago
If you require attendance to graduate, then your degree signals conformity and grit, and thus has some value to show to employers who care about those stats but can't really measure them any other way.
dataflow•23m ago
I think it's worth pondering why you feel paying tuition enters the assessment of the situation. The justification would seem to stand on its own either way, right? Or would your opinion change if tuition was free?
wrs•23m ago
I was punished by getting into grad school, going to the "meet the faculty" party, and having my Algorithms professor greet me with "oh, you're the one who never came to class". (I can't resist pointing out, now that it's safe, that it seemed like his TA taught quite a few of his classes...)
foltik•19m ago
In my experience it’s common for large intro level classes. While I personally never liked these policies, I do think it’s beneficial to the average student to incentivize attendance. Think 18 year olds who aren’t able to self regulate or fully understand the consequences until it’s too late. A “pick yourself up by your bootstraps” mentality just hurts the average quality of education.
renewiltord•11m ago
You misunderstand. The customer is the government, which pays for student education through 'student loans'. The government is an absentee farmer who pays a farm labourer to produce a crop many years in the future. The labourer would rather take the money and plant nothing, so the absentee landlord farmer wants him to send photos of the seed being planted.

But why won't the crop grow on its own? It is strongly incentivized to live! And yet it does not. So you need to send photos of tilling the soil, planting the seed, watering, so that one day we might come there and see a harvested crop.

ginko•24m ago
Maybe it’s because I studied in Austria where universities generally provide very little handholding to students but I don’t understand the point of compulsory attendance in university lectures. If students think they can pass exams without attending the lectures then they should be able to do that. I certainly did that once or twice when I realized I needed some more credits before the end of the term. It’s a different thing with lab/exercise sessions but your lack of participation there would be noticed anyway.
incompatible•18m ago
My PC doesn't have any wireless connections and the Geolocation API always fails. I guess I'd fail this course (which is apparently correct, as I was supposed to be attending in person with a laptop.)

Edit: Presumably it would be possible to hack the browser to return a false position.

Edit: Make it a convenient browser add-on, perhaps. There must be other applications.

Edit: pkulak points out that you just have to set a Firefox option. Why do I even comment on things I know nothing about.

neilv•4m ago
The root problem is that a lot of higher education is nurturing a culture of cheaters right now.

Your future doctors, scientists, government officials, etc... will have had to compete and gain coveted academic and career opportunities, in an environment that both has been heavily gamified, and is being overrun by cheaters.

Insulting measures like this TopHat practically endorses the culture of cheating, by telling students that they can't be trusted, and turning into yet another cheating challenge/task.

Schools with any integrity should be bending over backwards to find, nurture, and support students of integrity.

And to save those who only got admitted by being sketchy, but first semester is a chance to unlearn the bad lessons from before.

Not by treating them as criminals to be monitored, but by treating them like the respectable people they should aspire to be, and which the school expects and requires that they be.

And, for any hopelessly shitty students, who fail to honor this first semester extension of trust, the school should smack them to the curb. Lost tuition income, lost named buildings/chairs, and expensive lawsuits from helicopter parents, be damned.

The end of progress against extreme poverty?

https://ourworldindata.org/end-progress-extreme-poverty
1•Teever•34s ago•0 comments

A Call for Public Discussion about App Store Oligopoly

https://dkg.fifthhorseman.net/blog/2025-app-store-oligopoly.html
1•pabs3•3m ago•0 comments

Revision 2025

https://canmom.art/adventure/demoscene/revision-2025
1•panic•3m ago•0 comments

AI Diplomacy

https://every.to/diplomacy
1•mooreds•4m ago•0 comments

Memchr: Optimized string search routines for Rust

https://github.com/BurntSushi/memchr
1•klaussilveira•4m ago•0 comments

Stanford AI Club: Jason Wei on 3 Key Ideas in AI in 2025 [video]

https://www.youtube.com/watch?v=b6Doq2fz81U
1•freediver•6m ago•0 comments

DeepSeek Linear-Programming-Based Load Balancer

https://github.com/deepseek-ai/LPLB
3•prydt•10m ago•0 comments

Pairing (Voting Pact)

https://www.parliament.uk/site-information/glossary/pairing/
2•gorgoiler•13m ago•0 comments

Endstorm – A Solo-Dev Automation Engine That Mass-Produces Digital Products

1•EndstormAi•15m ago•0 comments

Lloyds Banking Group to Acquire Curve

https://www.curve.com/blog/curve-is-joining-lloyds-banking-group/
1•dsego•15m ago•0 comments

Using iwd for WiFi in Fedora (2023)

https://nullr0ute.com/2023/01/using-iwd-for-wifi-in-fedora/
1•sipofwater•18m ago•0 comments

Show HN: I made a macOS app to index media and transcribe audio locally

https://meetcosmos.com/resources/cosmos-desktop/
1•correa_brian•19m ago•0 comments

One-line tensor visualization for PyTorch and NumPy

https://github.com/anilzeybek/vizy
1•anilz•22m ago•0 comments

The Endlessly Examined Life: A most chronic depression (2014)

https://thebaffler.com/salvos/endlessly-examined-life
1•bookofjoe•27m ago•0 comments

Low-Cost Biosensor of BDNF in Saliva for Diagnosis of Mental Disorders

https://pubs.acs.org/doi/10.1021/acspolymersau.5c00038
3•PaulHoule•39m ago•1 comments

Building a Hand-Wired Cosmos Dactyl Split Keyboard

https://julianyap.com/posts/2025-11-16-1763340628/
1•todsacerdoti•39m ago•0 comments

Codex Cloud

https://chatgpt.com/codex
1•RyanShook•39m ago•0 comments

A surprise with how ' ' handles its program argument in practice

https://utcc.utoronto.ca/~cks/space/blog/unix/ShebangRelativePathSurprise?showcomments
1•birdculture•40m ago•0 comments

Lix 2.94 "Açaí na tigela"

https://lix.systems/blog/2025-11-18-lix-2.94-release/
2•birdculture•40m ago•0 comments

Ask HN: Why this story has almost the same number of comments and points?

2•carabiner•43m ago•3 comments

Luma AI raises $900M in funding round led by Saudi AI firm Humain

https://www.cnbc.com/2025/11/19/luma-ai-raises-900-million-in-funding-led-by-saudi-ai-firm-humain...
1•lastdong•44m ago•0 comments

Making a Stone Tub (2023) [video]

https://www.youtube.com/watch?v=dFdkO2mlIOM
1•sipofwater•49m ago•0 comments

Disallow code usage with a custom `clippy.toml`

https://www.schneems.com/2025/11/19/find-accidental-code-usage-with-a-custom-clippytoml/
2•todsacerdoti•50m ago•0 comments

The Gut-Brain Connection

https://williamjbarry.substack.com/p/the-gut-brain-connection
2•wjb3•51m ago•0 comments

Axial Flux Motor Powers Supercars to New Heights

https://spectrum.ieee.org/axial-flux-motor-yasa
1•jnord•51m ago•0 comments

Ask HN: Have you directly authored a high-profile bug? How does it feel?

1•ctxc•56m ago•1 comments

World-record MAX-CUT approximation with a physics-inspired optimizer (99.9999%)

https://github.com/Kretski/GravOptAdaptiveE
1•DREDREG•57m ago•1 comments

Show HN: Uncited

https://uncited.org
5•dogancan•59m ago•1 comments

The Business of the Culture

https://sites.harvard.edu/aakaash-rao/job-market-paper/
2•kaven1234•1h ago•0 comments

Show HN: I wrote a book on How to build your own agent framework

https://www.amazon.com/dp/B0G2BCQQJY
1•vykthur•1h ago•0 comments