Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Apostolis Xekoukoulotakis
One alternative to a mesh network is of course peer to peer encryption. All browsers nowadays can persist data on their database. Nacl and openpgp have been ported on JavaScript. All we need then is an asynchronous delivery system that sends json to the browser. That is , exactly like email

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Bruno D. Rodrigues
something like this? http://twister.net.co (I’m not promoting it, as I couldn’t even compile it on my Mac) On Jan 11, 2014, at 10:36, Apostolis Xekoukoulotakis xekou...@gmail.com wrote: One alternative to a mesh network is of course peer to peer encryption. All browsers nowadays can persist

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Apostolis Xekoukoulotakis
No need for decentralized authentication with bitcoin(?) We have pgp certificates. No need for decentralized database. All data are stored on the browser. No need to build an app ourselves. We provide an api so that others can make any site they want. The only requirement is that the same origin

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread crocket
I can't imagine how it works or looks. Can you give us a concrete example? On Sat, Jan 11, 2014 at 7:36 PM, Apostolis Xekoukoulotakis xekou...@gmail.com wrote: One alternative to a mesh network is of course peer to peer encryption. All browsers nowadays can persist data on their database.

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Apostolis Xekoukoulotakis
Ok, let me try. Problems a) 2 users want to receive data from each other but they cannot stay online all the time. sol: We add a third party in the middle that stores the information so that it will send it to the appropriate user when it goes back online. (durable socket) examples: the email

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread crocket
Is there any real life application that does what you describe? On Sat, Jan 11, 2014 at 11:30 PM, Apostolis Xekoukoulotakis xekou...@gmail.com wrote: Ok, let me try. Problems a) 2 users want to receive data from each other but they cannot stay online all the time. sol: We add a third

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Apostolis Xekoukoulotakis
If there was, there would be no need to build it. Nobody has done it because a) indexedDB is quite new. b) It doesn't make business sense. You lose the revenue from the ads. c) They haven't thought of the idea of a durable socket. I got that idea from zeromq's guide(I think it has been removed

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread crocket
I'm confused. Is it an application hosted on the internet which communicates with peers on the same WiFi network? Or does it communicate with peers on the internet? Does it use ZeroMQ at all? On Sun, Jan 12, 2014 at 6:10 AM, Apostolis Xekoukoulotakis xekou...@gmail.com wrote: If there was,

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-11 Thread Apostolis Xekoukoulotakis
Peers/browser users on the internet. Mesh networks are replacable with this if we use them for protection from eavesdropping. But mesh networks have other uses too, if for example someone decides to shut down the internet entirely. It can't use zeromq because the application is on the browser.

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-10 Thread Pieter Hintjens
From what I know, setting up and maintaining a persistent WiFi Direct connection is a painful user experience. Otherwise, it gives exactly the same results as enabling the hotspot on one phone and then using standard WiFi. (Unless i'm mistaken.) On Fri, Jan 10, 2014 at 7:05 AM, crocket

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-10 Thread Lindley French
I haven't tried using it myself yet, but I believe one difference is wifi direct has a programmatic API, which is not as easily exposed for normal wifi. On Jan 10, 2014, at 1:40 PM, Pieter Hintjens p...@imatix.com wrote: From what I know, setting up and maintaining a persistent WiFi Direct

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Pieter Hintjens
On Thu, Jan 9, 2014 at 8:24 AM, crocket crockabisc...@gmail.com wrote: Nowadays, almost every city is covered with WiFi hotspots. And, almost every modern building and meetup is covered well by WiFi hotspots. Most houses have a hotspot or two. Why don't we take advantage of existing WiFi

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Bjorn Reese
On 01/09/2014 09:06 AM, Pieter Hintjens wrote: * Many public hotspots, especially in the US, block client-to-client traffic. If you are talking about wireless isolation, then they only block multicasting. This means that you cannot discover other devices, but if you happen to know their IP than

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Bruno D. Rodrigues
On Jan 9, 2014, at 10:52, Bjorn Reese bre...@mail1.stofanet.dk wrote: On 01/09/2014 09:06 AM, Pieter Hintjens wrote: * Many public hotspots, especially in the US, block client-to-client traffic. If you are talking about wireless isolation, then they only block multicasting. This means

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Pieter Hintjens
On Thu, Jan 9, 2014 at 12:19 PM, Bruno D. Rodrigues bruno.rodrig...@litux.org wrote: On Jan 9, 2014, at 10:52, Bjorn Reese bre...@mail1.stofanet.dk wrote: If you are talking about wireless isolation, then they only block multicasting. This means that you cannot discover other devices, but if

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread crocket
Can manual assistance be effective in case of anonymous/pseudonomous broadcast used in async message apps? On Jan 9, 2014 3:05 PM, Pieter Hintjens p...@imatix.com wrote: On Thu, Jan 9, 2014 at 1:32 AM, crocket crockabisc...@gmail.com wrote: Until there comes the edgenet mailing list, we can

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Pieter Hintjens
My idea was to make it like a game: by finding and peering with other devices you gain points. It is very close to deliberate peering with people you actually know. The two cases may overlap. On Thu, Jan 9, 2014 at 2:13 PM, crocket crockabisc...@gmail.com wrote: Can manual assistance be

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Lindley French
Bluetooth works well enough as a standard network interface bnep0 if the messages you're sending are small. (It really is pretty slow, though.) The hard part is programmatically configuring the stack to use it that way, and (preferably) programmatically pairing without user interaction. On Thu,

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Lindley French
There really is no cost to using a smartphone as hotspot except a little delay and some battery life, while switched on. Battery life may be more of an issue than you realize. Wifi radios use far less power than 3G radios, but they still *do* use power, and the pattern of network activity can

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Pieter Hintjens
Ad-hoc mode is too poorly supported to depend on. And it's slow. In any case a phone cannot act as a hotspot for any length of time. On some firmwares enabling AP mode will switch off 3G. This is still fine for us. My idea was to put this decision at the user level, initially. The application

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Apostolis Xekoukoulotakis
Having no experience on the matter, why not use bluetooth as an interface that searches for peers and wifi for real network traffic. Wifi will be switched on only when there is need for data to be sent. That could also help the wifi automatically switch to the best access point. Bluetooth has a

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Lindley French
In the short term that may be the only solution that's workable without root access on at least some of the phones. I think the full benefits of EdgeNet won't be realized until arbitrary phones can serve as routers or data mules without the user knowing or caring, though. I still think WiFi

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread Pieter Hintjens
On Thu, Jan 9, 2014 at 3:55 PM, Lindley French lindl...@gmail.com wrote: In the short term that may be the only solution that's workable without root access on at least some of the phones. I think the full benefits of EdgeNet won't be realized until arbitrary phones can serve as routers or

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread crocket
http://developer.android.com/guide/topics/connectivity/wifip2p.html tells android has WiFi Direct capability since 4.0. This is a good news. I'm not sure about iOS, but iPhones can connect to WiFi-Direct-capable android phones. On Fri, Jan 10, 2014 at 5:31 AM, Pieter Hintjens p...@imatix.com

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-09 Thread crocket
Plus, I tested my nexus 5 and 7 with Super Beam app. Super Beam shares files and folders using WiFi Direct. My nexus devices successfully shared files via WiFi Direct. WiFi Direct is confirmed to be working at least on nexus devices. On Fri, Jan 10, 2014 at 5:31 AM, Pieter Hintjens

[zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread crocket
People may be able to devise an algorithm for automatically turning on hotspots in several smartphones among many. But, even with hotspots turned on, how do phones connect to each other if smartphones simply refuse to connect to randomly named hotspots? Should we forcefully rename hotspots to a

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Lindley French
In phones that support it, perhaps WiFiDirect would be a good solution here. On Wed, Jan 8, 2014 at 7:03 AM, crocket crockabisc...@gmail.com wrote: People may be able to devise an algorithm for automatically turning on hotspots in several smartphones among many. But, even with hotspots

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Bruno D. Rodrigues
I don’t know too many details about FON, but we have an ISP in Portugal that provides FON over all their clients (if they accept) and as soon as I connect to one FON hotstpot, the device automatically connects to any other. No idea if it’s just because it’s the same name, or if there is any

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Arnaud Loonstra
On 01/08/2014 03:46 PM, Bruno D. Rodrigues wrote: I don’t know too many details about FON, but we have an ISP in Portugal that provides FON over all their clients (if they accept) and as soon as I connect to one FON hotstpot, the device automatically connects to any other. No idea if it’s just

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Pieter Hintjens
(a) I think we need to start an edgenet mailing list, as this is both such an interesting discussion, and yet so different from what people are expecting here (b) wifidirect is a not quite mesh 1-to-1 link and in fact very close to what I was thinking of with edgenet in the beginning. There's not

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Arnaud Loonstra
On 01/08/2014 03:46 PM, Bruno D. Rodrigues wrote: I don’t know too many details about FON, but we have an ISP in Portugal that provides FON over all their clients (if they accept) and as soon as I connect to one FON hotstpot, the device automatically connects to any other. No idea if it’s just

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Lindley French
Wifi isn't the only answer here. Bluetooth can provide similar functionality. I don't know the details but the Alljoyn people claim to be able to automatically set up Bluetooth links with phones in range. On Jan 8, 2014, at 6:27 PM, Pieter Hintjens p...@imatix.com wrote: (a) I think we need

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread crocket
Until there comes the edgenet mailing list, we can talk about it here. By manual assistance, do you mean people turn on hotspots and connect to them manually on site? Is there any better manual method than I described above? On Jan 9, 2014 8:28 AM, Pieter Hintjens p...@imatix.com wrote: (a) I

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Pieter Hintjens
Bluetooth is not designed for general app-to-app messaging, rather as a wireless connector for low-rate devices. You can plausibly use it to set up WiFi connections, a hybrid solution. AllJoyn is made by Qualcomm, who have the expertise to make BlueTooth work. For most people it's not practical.

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread Pieter Hintjens
On Thu, Jan 9, 2014 at 1:32 AM, crocket crockabisc...@gmail.com wrote: Until there comes the edgenet mailing list, we can talk about it here. Sure. By manual assistance, do you mean people turn on hotspots and connect to them manually on site? Ideally, from within applications, e.g.

Re: [zeromq-dev] How do we activate and connect to WiFi hotspots in edgenets?

2014-01-08 Thread crocket
Nowadays, almost every city is covered with WiFi hotspots. And, almost every modern building and meetup is covered well by WiFi hotspots. Most houses have a hotspot or two. Why don't we take advantage of existing WiFi hotspots? It would make things so much easier while we devise a way to