News for hackers. Stuff that matters.
Re:WiFi without internet on a Southwest flight by dag11 on Thursday September 28, 2023 @12:05PM (#37691621)
Hi fellow Alaska frequent flier.

So about that! There's this iOS app called Flightly that does a brilliant little hack where the app updates itself in (almost) real time on the "free messaging" plan. The way it works (according to a friend) is that their servers send your phone a push notification every couple of minutes from take-off until landing, containing some serialized info such as lat,long,alt,eta,etc. And then the app immediately swallows the notification and deserializes its content without you ever seeing it. The notification works because in order for Alaska to give you notifications at all for your messaging apps, it needs to give you access to _all_ push notifications as they all get sent over an encrypted connected through Apple's server and it can't pick and choose which apps' notifications it lets through.

I've often wondered if it'd be possible to pipe any sort of internet over notifications but I'm not sure if e.g. inline responses are viable, and also that'd probably be heavy enough usage of push notifications I'm sure it's violate someone's TOS.

Re:WiFi without internet on a Southwest flight by dgellow on Thursday September 28, 2023 @12:34PM (#37692051)
Really hoping someone implements this, it’s the funniest project idea I’ve seen in a while :)
Re:WiFi without internet on a Southwest flight by ardit33 on Thursday September 28, 2023 @12:36PM (#37692091)
It is just 8 bucks for the full service... just buy the internet bro. It is actually pretty good.
Re:WiFi without internet on a Southwest flight by s3p on Thursday September 28, 2023 @12:42PM (#37692173)
You're not understanding the point of the comment. The Flighty team did some amazing engineering work for anyone who doesn't pay.
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @12:57PM (#37692423)
> amazing engineering work

This strikes me as HN’s own unique style of toxic positivity.

They’re using push notifications. That’s not amazing engineering work. It’s literally a built-in, supported, documented feature:

“Pushing background updates to your App — Deliver notifications that wake your app and update it in the background.”

https://developer.apple.com/documentation/usernotifications/...

The payload supports custom keys that may contain arbitrary application data.

It’s also the trivial, obvious approach to anyone who asks the question “how can I push data to the application when it’s not running.”

Re:WiFi without internet on a Southwest flight by mynameisvlad on Thursday September 28, 2023 @01:11PM (#37692619)
They're using push notifications in a novel way to provide the app the necessary information to update itself without needing to be connected to the full internet. That's quite a bit beyond "They're using push notifications" and no other app does that AFAIK. Almost all will use the push notification as a notification and trigger an update on app open which would fail.
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @01:17PM (#37692705)
Tons of apps do that. It’s a built-in, supported use-case!

It’s also the trivial, obvious approach to anyone who asks the question “how can I push data to the application when it’s not running.”

Re:WiFi without internet on a Southwest flight by mynameisvlad on Thursday September 28, 2023 @01:38PM (#37692967)
Give me one example, then. Of an app which uses a notification as an actual app data source and not just as a notification which opens the app. And which also updates the primary app view to reflect this new information.

No other app has updated its app state based on the content of notifications. Slack/Discord/Teams et al (the ones that aren't allowed on free messaging plans) will show you previously cached messages and then an infinite spinner when you open it. Fastmail/Gmail/Outlook et al will show you existing emails but not load the new ones.

Could other apps do this? Surely. Do they? No.

Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @01:42PM (#37693025)
Slack/Discord/Teams? Those are desktop web applications hosted via Electron. Failing to leverage basic platform functionality is practically their telos.

All it requires is reading the two pages of documentation for this supported feature:

“Pushing background updates to your App — Deliver notifications that wake your app and update it in the background.”

https://developer.apple.com/documentation/usernotifications/...

> No one is asking for a survey of apps that do this. You’re making the claim that it’s far from rare, so you have enough knowledge to make this claim. Share with us the smallest piece of your knowledge by naming one single other app that does this. It’s the least you can do since you’re making the claim. Please, I’m very curious!

I can’t share that information.

It’s a trivial, documented, supported, long-standing API for a common use-case.

It is widely used, as documented, for its intended purpose.

Re:WiFi without internet on a Southwest flight by constantly on Thursday September 28, 2023 @02:08PM (#37693354)
No one is asking for a survey of apps that do this. You’re making the claim that it’s far from rare, so you have enough knowledge to make this claim. Share with us the smallest piece of your knowledge by naming one single other app that does this. It’s the least you can do since you’re making the claim. Please, I’m very curious!
Re:WiFi without internet on a Southwest flight by s3p on Thursday September 28, 2023 @02:58PM (#37694031)
I'm curious as well.
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @03:58PM (#37694949)
Why?

Do you genuinely believe it’s uncommon for applications to leverage this useful, trivial, long-standing platform API for its intended and explicitly documented purpose?

I can’t imagine why you’d believe that, but another commenter already provided the requested single example up-thread.

Re:WiFi without internet on a Southwest flight by mynameisvlad on Thursday September 28, 2023 @04:00PM (#37694984)
Uh, all those apps have mobile counterparts.

> I cannot share information about specific applications.

So you don't have an example of an app using such a basic and widespread feature? Ok.

Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @04:16PM (#37695209)
A mobile webapp is still a webapp, and “I cannot share” does not mean “I do not have”.

You’re the one with an extraordinary claim here — that applications aren’t using such a basic, documented, widespread feature.

It’s patently silly and I have no idea why you’re so self-assured in your ignorance.

Re:WiFi without internet on a Southwest flight by nickf on Thursday September 28, 2023 @05:37PM (#37696235)
I really think you’ve missed the point. Opening any of those apps after receiving the notification requires a network connection to then update. It’s not done via the push notification itself. I have never seen that happen in my experience. Flighty does, hence why it’s deemed clever.
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @05:49PM (#37696354)
I have not missed the point.

Background notifications can and do carry arbitrary application data, and are used to update the application state in the background.

This is their intended purpose, it’s what they’re documented to do, it’s how Apple intends them to be used, and it’s common application behavior.

This is literally a plainly documented feature of the platform. It’s not clever or unique or unusual — it’s a simple feature that Apple specifically documents.

I cannot even begin to fathom why people are confused about this, and it’s truly mind-boggling that this has required a thread at all.

Slack/Discord/Teams are non-native applications that do not leverage the platform’s support for updating application state via notifications. That does not mean the use of background notifications is unusual or rare. It is not.

Re:WiFi without internet on a Southwest flight by TehShrike on Thursday September 28, 2023 @02:29PM (#37693662)
Podcast players like Overcast use push notifications to learn about new episodes of podcasts that should be downloaded in the background. Presumably text-based RSS readers do the same.
Re:WiFi without internet on a Southwest flight by Gormo on Thursday September 28, 2023 @07:00PM (#37697073)
Where are the push notifications originating from? Does Overcast have a cloud service that polls the RSS feeds and then sends the notification? I use AntennaPod on Android, and it definitely doesn't do anything like that -- the feed list is stored locally, and the feeds are polled locally.
Re:WiFi without internet on a Southwest flight by TehShrike on Wednesday October 04, 2023 @11:38AM (#37766736)
Yeah, Overcast has a service written in Go that polls RSS feeds and then use iOS push notifications to send new episodes to clients.
Re:WiFi without internet on a Southwest flight by interestica on Thursday September 28, 2023 @01:46PM (#37693068)
What other apps do this?
Re:WiFi without internet on a Southwest flight by tomrod on Thursday September 28, 2023 @01:08PM (#37692582)
I build AI/ML systems. I think delivering digital content through alternative pipes is amazing work. It has applicability far beyond simple aerospace wifi paywalls.
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @01:11PM (#37692609)
I build operating systems, compilers, and formally verified systems. What’s the relevance?

Push notifications aren’t some odd “alternative pipe” and conveying data via push notifications is a known and supported use-case.

Re:WiFi without internet on a Southwest flight by teaearlgraycold on Thursday September 28, 2023 @01:04PM (#37692526)
Why is that toxic?
Re:WiFi without internet on a Southwest flight by catiopatio on Thursday September 28, 2023 @01:17PM (#37692697)
A cognitive filter that misrepresents reality is toxic.
Re:WiFi without internet on a Southwest flight by teaearlgraycold on Thursday September 28, 2023 @07:25PM (#37697291)
That’s how all thought works.
Re:WiFi without internet on a Southwest flight by turquoisevar on Thursday September 28, 2023 @11:35PM (#37699007)
I don’t know what you have against Flighty but you through considerable lengths in the thread below to spend time on letting everyone know how unimpressed you are about their efforts.

Your lack of amazement is duly noted, I suggest you don’t waste any more time on it.

That said, I, like others, are indeed impressed for a couple of reasons.

For starters because of the simple fact that they’ve found a novel way to use background notifications to provide users without unrestricted internet access with flight updates.

Contrary to what you imply, and subsequently fail to substantiate, there aren’t many, if any, other apps that use background notifications in such a novel way, certainly not in a way to circumvent restrictions and limitations on data connections.

Moreover, I have never seen background notifications being used to push concrete data to apps. This is because there are severe payload size constraints on notifications, including background notifications.

Typically when background notifications have been used, it simply contains an instruction to download data from a remote server, something that wouldn’t work on a limited connection.

Instead, Flighty uses the minimal payload size to push the actual concrete data used by the app.

Additionally there are some limitations in how often a background notification gets delivered to the tune of a few times per hour, worse yet, delivery of these notification is inconsistent because it’s beyond the app’s control of they get delivered at all.

To account for this, Flighty will use the background notifications to update the data where it can and make estimations in times it cannot not until the next time it can receive an update.

I’d go as far as call that amazing engineering.

You might not and I don’t know your qualms with Flighty, but you’re doing a poor job of convincing people to see it your way.

Re:WiFi without internet on a Southwest flight by catiopatio on Friday September 29, 2023 @02:27AM (#37699978)
You’re right, I see that as embarrassingly trivial engineering — calling out using a supported API as “amazing engineering” says something about the limited engineering background of the readership on this particular thread.

I have nothing against Flighty, but background notifications are trivial and all apps can and should be using them to solve this type of problem — it’s detrimental to have folks mistakenly operating under the belief that this is complex or unusual.

Sure, the payload size is limited, but it’s not impossibly small, and custom keys with arbitrary payload are explicitly and obviously documented as supported.

Do you work on Flighty? I truly cannot understand where on earth this level of effusiveness for using a simple API — as documented and designed — is coming from. It’s inane.

Re:WiFi without internet on a Southwest flight by el_benhameen on Thursday September 28, 2023 @12:42PM (#37692175)
Sure. But you’re on a site called “Hacker News”. I’m not sure that there’s a more perfect topic of discussion for a site with that name.
[dead]
Re:WiFi without internet on a Southwest flight by el_benhameen on Thursday September 28, 2023 @12:57PM (#37692419)
I think the spirit of the comment was “here’s an interesting technical question” versus “how can I get eight bucks of free shit”.
Re:WiFi without internet on a Southwest flight by arcanemachiner on Thursday September 28, 2023 @01:03PM (#37692516)
Re:WiFi without internet on a Southwest flight by acka on Thursday September 28, 2023 @03:48PM (#37694813)
"Oh no, not again..." quoted from (not stolen, not infringing any copyright because of fair use) from The Hitchhiker's Guide to the Galaxy by Douglas Adams.

This nonsense has to stop. Copying a movie, or using the internet on someone else's plan is not piracy is not theft.

Quoting from memory from my old Webster's dictionary which I have owned since I was a student a long time ago:

Theft: The act of taking property and removing it so that the rightful owner is no longer in possession of it.

Piracy: the practice of attacking and robbing ships at sea.

Equating copyright infringement or violation of terms of service with theft or piracy is completely unwarranted messing with definitions of terms that have served their purpose for centuries.

Worse yet, the abuse of these terms in recent times misdirects people's attention away from the underlying flaws: artificial scarcity and the inability to enforce restrictions on use; you can not steal data (unless you steal the physical medium the data is stored on) nor can you pirate a service.

Making unauthorized copies or violating the terms of use of a service may be deemed objectionable but these actions are most certainly neither theft nor piracy.

Re:WiFi without internet on a Southwest flight by jstarfish on Thursday September 28, 2023 @12:58PM (#37692445)
Hahaha. Reminds me of a savings "hack" my brother once shared at the dinner table with a straight face:

Just take any adhesive label off of the "clearance" meat at the supermarket, and apply it to the cut you wanted to buy. Instant savings!

Re:WiFi without internet on a Southwest flight by lapetitejort on Thursday September 28, 2023 @01:16PM (#37692680)
"Wait, why did my Amazon account get banned?"
Re:WiFi without internet on a Southwest flight by capableweb on Thursday September 28, 2023 @01:24PM (#37692803)
Or: Hey, why did my AWS production server for my startup suddenly go down and I cannot access my account anymore?
Re:WiFi without internet on a Southwest flight by pmarreck on Thursday September 28, 2023 @06:42PM (#37696895)
This is probably the least-intelligent comment on this entire page. I would literally buy downvotes to bury this obnoxious stupidity into oblivion.

There's a significant contextual, moral and ethical difference between "exploring a lock" and "opening it and stealing whatever it's holding from you".

Also, you're another one who apparently needs to read the domain name of this site aloud to yourself again.

Re:WiFi without internet on a Southwest flight by renewiltord on Thursday September 28, 2023 @08:14PM (#37697724)
> I would literally buy downvotes to bury this obnoxious stupidity into oblivion.

How much will you pay me to delete it? I can send you an Ethereum address.

Re:WiFi without internet on a Southwest flight by pmarreck on Friday September 29, 2023 @07:40PM (#37711414)
/eye roll emoji
Re:WiFi without internet on a Southwest flight by dheera on Thursday September 28, 2023 @01:07PM (#37692572)
Tomorrow it'll be 8 bucks to drink water, 8 bucks to use the bathroom, ...

Yeah, you can argue internet isn't a necessity. Neither is the bathroom, you can use a poo bag and a diaper. But we're a civilized society. So we provide bathrooms to anyone that needs them. And internet access.

Re:WiFi without internet on a Southwest flight by zeroonetwothree on Thursday September 28, 2023 @01:38PM (#37692964)
This seems like a poor slippery slope argument. It’s not as if charging for internet is new, it’s been what? 20 years? And yet they still don’t charge for water
Re:WiFi without internet on a Southwest flight by jrms on Thursday September 28, 2023 @02:12PM (#37693411)
Still
Re:WiFi without internet on a Southwest flight by Martinussen on Thursday September 28, 2023 @02:13PM (#37693428)
Is that an American thing? Absolutely paying for the water here.
Re:WiFi without internet on a Southwest flight by ShadowBanThis01 on Thursday September 28, 2023 @02:43PM (#37693854)
On planes? Seriously? Where?
Re:WiFi without internet on a Southwest flight by gruturo on Thursday September 28, 2023 @03:17PM (#37694325)
Lufthansa, or Luftwaffe as I call them due to the... military kindness they often display.

No food and no water. Most recent data point: April 2023, Standard Economy (not Basic Economy). International, 4.5 hours flight (Germany to Tenerife) (and back). The flight had a LH code, although operated by Eurowings which according to Wikipedia is a wholly owned subsidiary of LH (https://en.wikipedia.org/wiki/Eurowings).

Re:WiFi without internet on a Southwest flight by mvdwoord on Thursday September 28, 2023 @02:59PM (#37694052)
Recently on a 3 hour flight with ROM air I had to pay for water... not even a single glass for free.

Was quite shocked.

Re:WiFi without internet on a Southwest flight by dheera on Thursday September 28, 2023 @04:53PM (#37695682)
Not only that but at the Beijing airport there were no water refill stations and the bottle of water I bought at the airport POST-security was confiscated upon boarding. Fortunately I was boarding an airline with free water, though.
Re:WiFi without internet on a Southwest flight by Gormo on Thursday September 28, 2023 @07:04PM (#37697114)
And public restrooms seem to be paywalled everywhere in continental Europe too -- not sure about the airlines, since I usually fly US carriers, but every restaurant or shopping mall I visited in Italy, Germany, and the Netherlands required a euro or so to enter the toilet. I've never seen a pay toilet anywhere in the US.
Re:WiFi without internet on a Southwest flight by dheera on Thursday September 28, 2023 @08:04PM (#37697654)
On the other hand, my experience has been that a lot of toilets in US are "customers only" for males but free for females
Re:WiFi without internet on a Southwest flight by dheera on Thursday September 28, 2023 @04:31PM (#37695391)
Checked bags, carry-on bags, and meals used to be free, and they are all now not free.

There are budget airlines outside the US that are charging for water (which I think is unethical IMO, since people avoiding drinking water could lead to an increase in medical emergencies).

Re:WiFi without internet on a Southwest flight by pmarreck on Thursday September 28, 2023 @06:40PM (#37696866)
If you really think the folks here do this to save a few bucks, you both 1) don't realize what the average pay of people here is, and 2) are completely tone- and context-deaf.

Look at the domain name of the site you're posting on and read it out loud. FFS dude. LOL

Re:WiFi without internet on a Southwest flight by dang on Friday September 29, 2023 @02:27AM (#37699982)
We detached this subthread from https://news.ycombinator.com/item?id=37691621.
Re:WiFi without internet on a Southwest flight by el_benhameen on Thursday September 28, 2023 @12:43PM (#37692198)
I’ve always wondered why I get slack and email notifications when I’m on a Southwest flight with free messaging without paying for wifi. You’ve finally solved my mystery!
Re:WiFi without internet on a Southwest flight by keanebean86 on Thursday September 28, 2023 @12:47PM (#37692247)
I had an idea to use Facebook messanger as a proxy. Specifically to use the cheap messaging plan on a cruise ship for real internet access. My home computer would be a gateway that monitors fb and fetches/returns websites. I never even tried because it just sounds like a violation of multiple ToSes. Not to mention message size limitations, throttling, my fb messages being pages of encoded text, etc.

I feel like it would need to work like Opera mini to maybe be usable. Even then interactions would be uncomfortably slow.

https://en.m.wikipedia.org/wiki/Opera_Mini

Re:WiFi without internet on a Southwest flight by ddalex on Thursday September 28, 2023 @03:20PM (#37694361)
Check out https://github.com/aleixrodriala/wa-tunnel tunnel over whatsapp
Re:WiFi without internet on a Southwest flight by amalcon on Thursday September 28, 2023 @01:14PM (#37692652)
This reminds me of the old tools that tunnel more or less whatever over DNS. I.e. behind the scenes, the tool would look up "base64encodedpacket.domainyoucontrol.example.com", and it would respond with encoded data going the other way. This is because captive portal WiFi often permitted DNS to pass through unimpeded, for various reasons.

I always appreciated the hack, even though I could never bring myself to use it due to the obvious cache pollution problem on the various DNS servers.

Re:WiFi without internet on a Southwest flight by fragmede on Thursday September 28, 2023 @01:31PM (#37692875)
Also Internet over ICMP, for when captive portals used to let those through.
Re:WiFi without internet on a Southwest flight by xeromal on Thursday September 28, 2023 @01:21PM (#37692750)
This reminds me of a web browser years ago that would use MMS to transfer web pages to the user without using internet service. This was in the early days. I think it was a Java app for the Motorola razor IIRC
Re:WiFi without internet on a Southwest flight by interestica on Thursday September 28, 2023 @01:44PM (#37693055)
> There's this iOS app called Flightly

I guess it's Flighty (https://apps.apple.com/us/app/flighty-live-flight-tracker/id...)

I love that people are into this. In the days before iPhones, I had "Microsoft Streets and Trips" + a USB GPS unit + Laptop. It was fun having it on a flight and seeing movement data in realtime. It was less fun answering questions from people who thought looking at the GPS data was somehow nefarious.

Re:WiFi without internet on a Southwest flight by geostupid on Thursday September 28, 2023 @02:02PM (#37693286)
Ha! I've used a high-end GPS to see my location and other fun facts in flight. I learned to keep it in my pocket as despite my attempts to explain it was only a receiver, I was told by the flight attendant to "PUT IT AWAY." Not being one to push back as to be removed for that flight, I did just that.

Streets and Trips was fun on a laptop for long car drives as you could live reroute in the car much like any old app can do these days but seemed somehow magical back then.

Re:WiFi without internet on a Southwest flight by joezydeco on Thursday September 28, 2023 @02:26PM (#37693610)
FAs can be really strange about that kind of stuff, not just out of ignorance.

My kid liked to suction cup his GoPro to the window to take a time lapse movie of the flight and one FA told him he had to take it off the window because he was, and I quote: "modifying the structure of the aircraft and that's not FAA-approved".

Re:WiFi without internet on a Southwest flight by bunabhucan on Thursday September 28, 2023 @02:48PM (#37693927)
Probably just didn't want kid spit on the window.
Re:WiFi without internet on a Southwest flight by edrxty on Thursday September 28, 2023 @03:36PM (#37694640)
Had this happen to me with some duct tape and a malfunctioning strobing light next to me on a red-eye. I'm an aircraft builder but she didn't want to hear my explanation about how TSOs and the FARs work. I just waited until they stopped paying attention.
Re:WiFi without internet on a Southwest flight by wolverine876 on Thursday September 28, 2023 @04:23PM (#37695302)
I would guess that the flight attendant is doing their job. They do not have the authority or expertise to risk the airplane based on their own analysis, or based on some random passenger's explanation. The clearly correct solution is to remove the device and then there is no risk to the plane. I expect they are strictly required to respond that way and have no leeway.
Re:WiFi without internet on a Southwest flight by buildsjets on Thursday September 28, 2023 @04:31PM (#37695396)
There has been a lot of debate in the aviation maintenance community regarding the legality of attaching gopros etc. to aircraft with suction cups. Someone eventually wrote to the FAA chief counsel and asked.

"Another consideration, in the case of this type of equipment, is the applicability of the term "alteration". FAA Order 8110.3 7E, defines an alteration as "a modification of an aircraft from one sound state to another sound state". The use of suction cups, or other temporary methods of attachment (not including permanent mechanical attachments to the aircraft), would not be considered a modification to the aircraft."

https://mypilotpro.com/wp-content/uploads/2020/05/FAA-Camera...

But still, the aircraft is the the airline's property, not yours. If they tell you not do something to it, you don't get a choice in the matter.

Re:WiFi without internet on a Southwest flight by interestica on Thursday September 28, 2023 @05:05PM (#37695834)
> installation of external mounts

That memo is about attaching it externally. Attaching it to an internal window is probably a non-issue.

I once had a security agent ask me to prove a GoPro was a camera because they didn't understand how there could be no screen or viewfinder. It was most frustrating because this was an area where they would have encountered it many times (lots of scuba divers).

Re:WiFi without internet on a Southwest flight by zikduruqe on Thursday September 28, 2023 @04:01PM (#37695003)
I used to do that also.

Way before cellphones, I'd bring my 2m radio on the plane and make contacts on simplex. That was fun to throw your callsign out and say "aeronautical mobile".

Re:WiFi without internet on a Southwest flight by kawfey on Thursday September 28, 2023 @09:58PM (#37698424)
I still sneak in an HT to listen to VHF/UHF ham radio and airband. One flight, we were experiencing moderate turbulence and didn't get our drinks/snacks. The captain announced "we're asking for clearance to help us get to a smoother altitude..." meanwhile did nothing of the sort on the actual radio. Lol.
Re:WiFi without internet on a Southwest flight by cromka on Friday September 29, 2023 @03:48AM (#37700544)
They use text for communication, too.
Re:WiFi without internet on a Southwest flight by adrr on Thursday September 28, 2023 @01:49PM (#37693113)
Push notifications have background notifications that are used to update apps while they aren't loaded. We used them update our catalog/home screen on shopping app, its makes the app feel much more responsive when they open the app and content instantly appears instead of waiting for some API calls.

https://developer.apple.com/documentation/usernotifications/...

Re:WiFi without internet on a Southwest flight by lupire on Thursday September 28, 2023 @02:19PM (#37693522)
Does that work on Android? I've never seen a non-authorized notification in a Chat or Mail app on a flight.
Re:WiFi without internet on a Southwest flight by hackernewds on Thursday September 28, 2023 @03:55PM (#37694906)
so why would I use this Flightly app? seems it delivers messages all the same?
Re:WiFi without internet on a Southwest flight by madeofpalk on Thursday September 28, 2023 @07:27PM (#37697306)
It works not because Alaska wants to give you notifications for your messages, but because iMessage literally is transported over APNS.