Hacker Newsnew | past | comments | ask | show | jobs | submit | zeugma's commentslogin

TIFF is a very versatile container format for various image-streams. It can encode multi-images(likes layers), with different compression (losseless, JPEG etc) and tiled images to read/write efficiently big images e.g. for astronomy, pathology (microscopy). It is the standard for archiving images.


Ok... my browser in Linux didn't handle them well and didn't even suggest a program to open them with.

How well does Windows handle them?

Does one really want to save an image to disk first to be able to view it? Would imgur have been a success if all their images were in TIFF?


First, this is obviously a problem with the browser ("I can't view a common image standard!"), not the image format (it may have other problems, but "third party software isn't supporting this format" isn't a real problem).

Second, assuming your goal is to study the picture, of course you want to save it to disk.


It is, it's the Free and Open Source Developers European Meeting.


There is a C++ REPL called Cling: http://root.cern.ch/drupal/content/cling

It is made by Cern and based on Clang


I doubt that it does in any EU country. In France it actually does not exceed 50% including VAT. (http://www.revolution-fiscale.fr/le-systeme-actuel/des-impot...)


About evil preprocessor construct, there is a nice collection in the comment of this Jonh Regehr post : http://blog.regehr.org/archives/574


C++ Primer was updated to C++11. http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/...

The C++ FAQ is really helpful but doesn't seem to be updated to C++11 http://www.parashift.com/c++-faq/

Fortunately you can refer to Stroustrup's FAQ about C++11 http://www.stroustrup.com/C++11FAQ.html

For reference (like libc manpage, basic usage, which header to include): http://en.cppreference.com/


If you do static analysis on Step 2 (ie on the AST) then you only need the Front-end of your compiler.

Clang/LLVM is much more modular, library oriented.(which is why the Google engineer wanted to switch to it). You can just link to the needed front-end and do the static analysis without generating the LLVM bytecode.

So yes, you could install a static-analyzer without the whole compiler.


So yes, you could install a static-analyzer without the whole compiler.

You can install a static analyzer without the whole compiler, but not gcc's static analyzer. I assumed "the static analyzer" that sp332 was talking about was specifically gcc's, not any generic static analyzer.


Rust is inspired by C++ which use '::' to access names inside a namespace, here 'vec' and io are module/namespace not object, it's a static lookup.

'.' is still used for object lookup which is dynamic.


Actually you can do it using template but it is quite convoluted. (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.130....)


here : http://www.cs.dartmouth.edu/reports/TR2011-705.pdf It is sad we have to dig for it, it should be the first link in the article.


Thanks.

Having read the paper, it seems its more specialized to cisco IOS config files - they're building a library of patterns you can match against, the paper doesn't explain how you can add your own. And it does seem to be CFG rather than PEG - there's a separate token library.

Ward's work looks more usably generic than this, it's not cited so I presume they weren't aware of it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: