FTP live streaming for iPhone [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to prepare an iPhone app. A live stream will be coming for a moving camera (assume as a portable webcam) and I need to stream that live video to iPhone using FTP (assume we don't have internet in that area).
Any sort of help is appreciated.

The question is a good one, often asked by programmers world-wide. How to stream via the internet with no internet connection.
The accepted answer is using swallows. The airspeed velocity of a swallow is well-known among technical groups. Basically, what you do is package up your information, append the bytes to the swallow, and send it on its way. Beware. You'll need a lot of swallows.
Of course, the bandwith will depend on whether it's an African or European swallow, but let's not go there.

Related

Resolution template for Tablet App [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need help with a project.
I need to create 2 templates for an aplicattion (10.1 inch tablet), but I just need to give to the developer de PSD templates of it, he will do the rest of the work (programing). So the question is, in what resolution I need to give him these templates? any "safe" area (for menu navigation)?, minimu size for buttons?any other tip?
Thank you for your time.
Regards.
No safe area.
Buttons should be at least 44px on 44px.
Resolution is different in different devices, check this out:
http://webdev-il.blogspot.co.il/2011/03/web-design-for-mobile-screen-sizes.html
Here is a great guide for mobile design:
http://mobile.smashingmagazine.com/2012/07/12/elements-mobile-user-experience/
Good luck!

How to start writing a firewall for linux? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to develope a firewall for Linux. I prefer C/C++ language.
Is there any simple sample code for writing a firewall?
Which libraries should I use?
Update: There are some firewalls for Linux, but I want develope a simple firewall for learning.
You can start by using the Netfilters API (http://www.netfilter.org/). I think it is a good starting point for packet filtering. I've worked a lot with this API in kernel space. I'm not sure if there is a library for user land, but I must tell you that it's pretty easy to develop something with netfilters in the kernel.
As an example, iptables use the netfilters API.

about win32 standalone:tracking a browser? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to make a standalone using c++.In my standalone I want it to track user's clicks,I mean which link does he/she clicks.I am trying to count how much time he/she uses a perticular site,like pageaddict(a firefox extension).
So any support..?
If you want to make a Firefox extension, you should be using JavaScript. In C++, you might make a sniffer, which could tell you from what site the packets you receive are from. But that would require quite a lot of knowledge and of time.

Simple MP3 player [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm looking to get hold of an example of a simple mp3 player that'll work without the need of flash, Just need to say play/stop and that's it.
Any help would be great : )
Because you mentioned flash I think you search a player for web pages, am I right?
If yes, then you could take a look at jsmad. It's a decoder (aka player) written in JavaScript (but therefore needs a decent browser).
Or you could use the audio-Tag of HTML5.

get instant energy consumption [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I am looking to get instant energy consumption, in shell or C++
any ideas ?
Thanks
Your question could do with a bit more detail, but if I understand you correctly a program named Joulemeter does this the following way:
Joulemeter estimates the energy usage
of a VM, computer, or software by
measuring the hardware resources (CPU,
disk, memory, screen etc) being used
and converting the resource usage to
actual power usage based on
automatically learned realistic power
models.
That is one way to go. If you're just doing this for your own project, I guess you could throw together some hardware that measured from the wall socket and gave you the data that way. Maybe something like that exists already.
Well, if you have a Laptop you could use the answer presented for this similar question:
/usr/sbin/system_profiler SPPowerDataType | grep Wattage