How to show large quantity of hex text in Cocoa? [closed] - objective-c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I want to make a Mac app to view and edit several GB sized binary files.
How do I start off? :-(
I thought I should begin with a simple scrolling hex viewer, but stuck already.
I think NSTextView is not the way to go. Because I only need to draw 255 kind of two character pair over and over. Also need to manage huge text data.
1) can I use NSLayoutManager drawGlyphsForGlyphRange method?
2) is it possible with NSTextView and clever text management?
3) or something else?
It will be greatly helpful if I could consult samples or demos.

http://github.com/ridiculousfish/HexFiend/
Hex Fiend is an open source hex editor that can edit huge files (the website says it has been tested on a 118GB file).

Related

Reading an image VB.net [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
Is it possible to read a text on an image?
Why yes and why not?
My client wants me to make this but I think it's impossible, if not impossible then it'll be very hard to make.. I was trying to explain it to him but it seems like he really wants to push it.
:/
EDIT: I don't understand why you downvoted this I was just asking a yes or no question here. :)) but well it's ok I want to hear what do you guys think if this is possible in vb.net
Use something like PDFSharp to get the images, then perform OCR on them with for ex. Tersseract.
Problem is where should that text be used? In the PDF? If yes it might be possible to include a textfield above the image with the text in the PDF, using PDFSharp too.

Plotting function with matplotlib [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
please how can i plot the Rosenbrock function to get the image above :here
To get the 3d plot at the top, click on the image in the WP article to get the image page. Check the bottom, the person who created the image was good enough to include the python script that created it in the comment section. It requires matplotlib (of course). As for the other images, it's hard to tell what's going on mathematically and there's no source given so I doubt anyone but the people who created them could reproduce them accurately.

How to debug in sql(Oracle) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am writing a long SQL query and I'm getting incorrect output fields. How do I debug this query?
There is no right answer to this question. I think deep down you know that.
When I have something complicated break it down to uncomplicated pieces. Once you are comfortable with these pieces then one by one start to put this complicated thing back together again. The main point is keep breaking complicated things into more and more simple things. I am not embarrassed to say I have broken things down to select sysdate from dual and then start to build back up!
Good Luck.

Viewing & Displaying Memory Usage on iPhone [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Some apps display the memory usage on your iPhone, which I would like to replicate. They display the memory that your system, apps, etc. occupy. I don't want to know exactly how to do it, just the built-in-methods/functions to use.
*Please use objective-c syntax that is compatible with Xcode 4.6 or later.
try to use:
Nimbus
This IOS Framework whose help you to track memory usage. If you open example 'photos' in this framework you can see this:

convert PDF to HTM [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to convert my PDF files into HTML(not looking for any software though). I dont have any idea. How to read the PDF then taking care of font size, styling, line spacing, character spacing, How to generate HTML?
and then How I can take care of images also ?
I wrote an article on this issue at (http://www.jpedal.org/PDFblog/2010/09/why-pdf-to-html-conversion-does-not-work-very-well/) and the blog also contains lots of general articles on PDF.