Live data from Hacker News

Airpass – Easily overcome WiFi time limits

airpass.tiagoalves.me

181–190 of 278 posts

Re: Airpass – Easily overcome WiFi time limits

#181
post #43

Alternatively, if you don't want to run the whole Electron app, the money is this line: sudo.exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en0 -z && ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`",

200 bytes for the business logic. 47MB for the UI & boilerplate around the business logic. I get that this may be the easiest way to develop and publish an application today, but it's sad that this is the direction we have taken in recent years.

Cough, AI Training Models, Cough

There's great power in abstraction. Disagree?

Your point is that an operating system, and its shell, all running on a machine, and a collection of apps, are somehow smaller than a wrapper application.

I'm curious the amount of bytes the entire stack, minus the chrome which is the complaint I believe, how many bytes that is. I would say probably a gig.

Re: Airpass – Easily overcome WiFi time limits

#182
post #167

Earlier quoted context omitted.

I have never seen this before

I've only seen it once. I was doing some work in a small-ish county jail/sheriff's office in the States. As part of that work, I needed some Internet access. Because jail (thick, reinforced walls and lots of steel) the cell phone coverage was basically shit -- otherwise I'd have just used my phone like I would normally have done approximately anywhere else. It was a fun dance: Requesting access via wifi, getting sent…

> I have no idea what this song and dance was intended to provide, prevent, or enforce.

Describes far more corporate IT policy than it ought to.

Re: Airpass – Easily overcome WiFi time limits

#183
post #95

Earlier quoted context omitted.

It doesn't "take up a ton of memory" and if you think 47MB is "a lot of disk space" then maybe you need a bigger disk. Most laptops have at least 250GB, so this program would take up about 0.0188% of disk space, which is frankly not a lot. I had PDF files way larger than that. And you only need to run it once, you do not need to keep it loaded and running all the time, so it doesn't "take up a ton of memory".

47MB is about 3x the space once required by a widely used commercial graphical operating system. It was even enough to also include Microsoft Word with plenty of space left. How far we’ve fallen.

47 MiB only costs $0.0002. What has fallen is storage price.

Re: Airpass – Easily overcome WiFi time limits

#185
post #148

Earlier quoted context omitted.

Is ActionScript still a thing on Macs? I feel like that tech was almost criminally overlooked while being the backbone for a lot of processing pipelines back in the day.

It (AppleScript) is, and you can actually write JS instead these days, with a criminally underdocumented Objective-C bridge (JXA).

> with a criminally underdocumented Objective-C bridge

The documentation is the Objective-C docs, I use those all the time. You do need to understand the basics of how to translate from the Objective-C APIs to what JXA (or AppleScript) expects, but once it clicks you can do it for essentially anything with the same logic.

Re: Airpass – Easily overcome WiFi time limits

#186

This is so unethical and no one gives a fuck, society crumbles when people just feel entitled to take more than their fair share.

This is hacker news. Hacker ethos is rooted in the intellectual challenge of overcoming software systems and electronic hardware. It's the same ethos that stole long distance phone minutes, traded warez, and got free satellite channels. You don't have to do those things but you probably won't convince those who do that their 20 extra minutes of wifi will be the downfall of society.

In reality it’s mostly VC/Big Tech news. Hacker ethos isn’t something we see much of around here.

Re: Airpass – Easily overcome WiFi time limits

#188

Alternatively, if you don't want to run the whole Electron app, the money is this line: sudo.exec("/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport en0 -z && ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`",

The best part is right after the money line: 'Please check ' + issues_url + ' for help.' where issues_url is a github.com link. How are you going to check GitHub if you can't connect to WiFi in the first place?

Re: Airpass – Easily overcome WiFi time limits

#189
post #7

Glad this feature is built into most modern operating systems these days. For MacOS (Sequoia+) you can just forget the network and reconnect to get a new MAC address [1]. Android's documentation for if it decides to generate a new address per connection is a little vague [2], but I'm guessing forgetting and reconnecting works as well, you may also need to flip the "Wi-Fi non-persistent MAC randomization" bit in devel…

I have a generic Android phone from many years ago where the manufacturer didn't even bother to program the WiFi NVRAM, so every time you load and unload the driver, you get a new randomly generated MAC address. Interesting that that has become a feature these days.

Re: Airpass – Easily overcome WiFi time limits

#190
post #4

I feel this would be more useful as a utility to manage your MAC addresses. That would let you, for example, clone a MAC address or IP address between your computer and a phone, and maybe automatically resolve contention. That way, you can split purchased WiFi (such as on a plane) between multiple devices.

That way, you can split purchased WiFi (such as on a plane) between multiple devices.

You need a router for that, which fortunately is built in to most phones and computers these days.

Post reply on HN