How can I get descreption text from html string? [duplicate] - objective-c

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Parse HTML iPhone
I am new in iPhone development
I want text after tag and before
can anyone suggest
Printing description of tenpDesc:
<p><img src="http://l1.yimg.com/bt/api/res/1.2/Vjy6kqzuLBWRutEELYQRoQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_us/News/Reuters/2012-08-28T142918Z_1781079790_GM1E88S1QC101_RTRMADP_3_STORM-ISAAC.JPG" width="130" height="86" alt="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" align="left" title="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" border="0" />Tropical Storm Isaac is now Hurricane Isaac. The slow-moving storm, with maximum sustained winds of 75 mph, achieved hurricane status at approximately 12:20 p.m. ET on Tuesday, the National Hurricane Center said: ...RECONNAISSANCE DATA INDICATE ISAAC FINALLY ACHIEVES HURRICANE STATUS...REPORTS FROM AN AIR FORCE RESERVE HURRICANE HUNTER AIRCRAFT INDICATE THAT MAXIMUM WINDS ASSOCIATED WITH ISAAC HAVE [...]</p><br clear="all"/>
Thanks

This requires parsing and is not native in Objective-C. You must program or find a 3rd party parser (which I do not know of any personally).

Related

iTunes Connect - Getting Rejected

So, I have tried to upload my application to the iTunes Connect, but it gets rejected.
2.11
Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke cigarettes, will be rejected
My application
So the application I am creating is a Drinking game application. It contains "I have never/Never have I ever", and some spinning bottle look-a-like. I have several view controllers that contains rules on how to play each game.
After a search on AppStore for "Drinking Game" I get over 500 results of games. So how come that theirs game gets approved, but not my game.
I do not have any question in the "Never have I ever" game that asks for alchol, cigarettes or any usage of drugs, but the other games does.
EDIT:
I submitted an appeal to the Apple Review board, and got this back:
2.18 - Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke
cigarettes, will be rejected
This is fairly obvious isn't it?:
2.18 - Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke
cigarettes, will be rejected
You have implemented what is a very well known drinking game.
The fact that other games have slipped through is not really relevant. You could try pointing to these and ask for clarification as to why they are approved but yours isn't, but the most likely response is the other games also get pulled.
Since 2.18 appears to address an issue with minors you might want to try to re-submit it making it 17+ or higher (if possible).
Hope that helps :)

How do I remove and repair the hex file on my Ds2250t-32-16 micro controller

Hi I have a circuit board that runs my on board water maker the chip Ds2250t-32-16 is faulty. The manufacturer won't supply the chip or the hex file . They want me to upgrade to a new board cost $3k Aud. I can but the chip for $50 online and a kit to load it from Dallas Microprocessor. My question is can I download the current file and repair it from the chip . I can get hold of 7 different chips all faulty but with different faults . Could these be overlaid on each other to build a correct file. Any help or advice would be appreciated . If I was working I would just pay for a new one but being retired 3k is a lot of cash.
Mike

Theoretical minimum round-trip-time for a packet to travel over/under the North Atlantic Sea?

I'm doing some performance tuning and capacity planning for a low-latency application and have the following question:
What is the theoretical minimum round-trip time for a packet sent between a host in London and one in New York connected via optical fiber?
I believe the index of refraction of fiber is around 1.5, and the internet reports it's around 5600 km from NY to London, so the theoretical minimum one-way is 5600 km / (c/1.5) =~ 28 ms. Round-trip is double that, 56 ms.
Up to you to do the real work of estimating latency through your routers and all.
P.S. The cables might not be straight :p
Edit: A bit of the wikipedia article on optical fiber pretty much contains all this information.
Just ask Hibernia, they currently are at 72ms and presently looking at 60ms by mid-2012.
http://www.a-teamgroup.com/article/andrews-blog-laying-cable-and-the-low-latency-gauntlet/

Audio processing - where would I start in terms of books and learning

I've only just started learning Objective-C but am interested in audio processing and editing software and would like to know where to find information on where to start.
It's early days yet so I'm just looking for inspiration.
book: 'The Computer Music Tutorial' by Curtis Roads.
is a very good place to start.
You need signal processing background. So a discrete-time signal processing book such as oppenheim will do.
It's not going to be a walk in the park if you aren't good at math.

Can I write or modify data on an RFID tag? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
maybe my question would be lost in the forum, but has somebody work with RFID tags? I know I can read them, but can I write or modify the inside data? Does anyone know where can I find more about this?
RFID Standards:
125 Khz (low-frequency) tags are write-once/read-many, and usually only contain a small (permanent) unique identification number.
13.56 Mhz (high-frequency) tags are usually read/write, they can typically store about 1 to 2 kilbytes of data in addition to their preset (permanent) unique ID number.
860-960 Mhz (ultra-high-frequency) tags are typically read/write and can have much larger information storage capacity (I think that 64 KB is the highest currently available for passive tags) in addition to their preset (permanent) unique ID number.
More Information
Most read/write tags can be locked to prevent further writing to specific data-blocks in the tag's internal memory, while leaving other blocks unlocked. Different tag manufacturers make their tags differently, though.
Depending on your intended application, you might have to program your own microcontroller to interface with an embedded RFID read/write module using a manufacturer-specific protocol. That's certainly a lot cheaper than buying a complete RFID read/write unit, as they can cost several thousand dollars. With a custom solution, you can build you own unit that does specifically what you want for as little as $200.
Links
RFID Journal
RFID Toys (Book) Website
SkyTek - RFID reader manufacturing company (you can buy their products through third-party retailers & wholesalers like Mouser)
Trossen Robotics - You can buy RFID tags and readers (125 Khz & 13.56 Mhz) from here, among other things
I did some development with Mifare Classic (ISO 14443A) cards about 7-8 years ago. You can read and write to all sectors of the card, IIRC the only data you can't change is the serial number.
Back then we used a proprietary library from Philips Semiconductors. The command interface to the card was quite alike the ISO 7816-4 (used with standard Smart Cards).
I'd recomment that you look at the OpenPCD platform if you are into development.
This is also of interest regarding the cryptographic functions in some RFID cards.
Some RFID chips are read-write, the majority are read-only. You can find out if your chip is read-only by checking the datasheet.
It depends on the type of chip you are using, but nowerdays most chips you can write. It also depends on how much power you give your RFID device. To read you dont need allot of power and very little line of sight. To right you need them full insight and longer insight
RFID tag has more standards. I have developed the RFID tag on Mifare card (ISO 14443A,B) and ISO 15693. Both of them, you can read/write or modify the data in the block data of RFID tag.
We have recently started looking into RFID solutions at my work place and we found a cheap solution for testing purposes.
One of the units from here:
http://www.sdid.com/products.shtml
Plugs into any windows mobile device with an SD slot and allows reading / writing. There is also a development kit to get you on your way with your own apps.
Hope this helps