News for hackers. Stuff that matters.

zeugma

Re:Identify mystery text, win $1000 on Sunday April 27, 2014 @04:36PM (#7656740)
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.
Re:FOSDEM 2014 โ€“ call for volunteers on Wednesday January 29, 2014 @04:13PM (#7146931)
It is, it's the Free and Open Source Developers European Meeting.
Re:C++ has become a scripting language on Wednesday October 16, 2013 @08:36AM (#6559275)
There is a C++ REPL called Cling: http://root.cern.ch/drupal/content/cling

It is made by Cern and based on Clang

Re:French President announces pro-business measures on Tuesday April 30, 2013 @07:19AM (#5631453)
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...)
Re:Some dark corners of C on Saturday March 09, 2013 @07:41AM (#5348237)
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/

Re:GCC and static analysis on Wednesday May 02, 2012 @11:43AM (#3919630)
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.

Re:New for loops in Rust on Friday April 06, 2012 @05:47AM (#3806535)
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.

Re:Why we didn't use a bloom filter on Saturday March 17, 2012 @06:06AM (#3716759)
Actually you can do it using template but it is quite convoluted. (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.130....)
Re:Dartmouth computer scientists expanding diff, grep Unix tools on Thursday December 08, 2011 @10:44AM (#3329499)
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.
Re:Poll: HN EU readers, should we start lobbying the EU? on Friday December 02, 2011 @06:25AM (#3303599)
> On the other hand the fact that people from anywhere in the EU can come here to live and work here in the UK is great and the fact I can work, live and travel where I want within the EU looks like a huge increase in liberty

Unfortunately, this is not true for UK as UK is not part of Shengen. I think most(but not all) EU citizen can settle in UK and UK citizen settle in EU countries, but this is due to bilateral treaty not European one. (http://en.wikipedia.org/wiki/Schengen_Area)

Re:Europe's Web Of Debt on Sunday November 13, 2011 @09:28AM (#3230791)
I won't take the eurovision to measure europe's culture. First it is not "European" anymore, neither politically (Swizerland) nor geographically (Algeria and Israel for example are participating). Secondly, France and Germany do not succeed very well and they participation is rather ridiculous.
Re:Ryan Dahl addresses comments on his recent rant on Sunday October 02, 2011 @09:42AM (#3062824)
Lack of real string type. String manipulation is a pain and you have to allocate everything by yourself which result in inefficient and dangerous code.
Re:How to find a job for hackers on Monday September 19, 2011 @06:42PM (#3015507)
On the contrary, I see more and more pdf usage. Word is just a mediocre tool for editing documents and it is not supposed to be an exchange format.
Re:How to find a job for hackers on Monday September 19, 2011 @10:12AM (#3013594)
I always sent a PDF file. You can only see that is was made by LaTeX with a trained eye(if their is not too heavy customization) or in the PDF meta-data. Designers would use pre-print tool like inDesign, which output PDF too.

PDF document is a problem with big companies portal that only want word document. I tried a few doc converter but they are not Free (as in beer and Freedom) and the result is of course really inferior. Nowadays, I would try html conversion as I think the result can be quite good and readable by most people (even without pdf reader).

Also, always have a hard copy of your CV for the interview. Once, the corporate website of a company I applied accepted pdf files, but butchered them via pdf2txt or something like that. Having the right layout to show them saved the day.

Re:How to find a job for hackers on Monday September 19, 2011 @09:44AM (#3013490)
The goal of LaTeX is to output a printable document, most of the time a pdf. I don't think sending the sources is polite nor very readable nevermind HR-compliant.
If you read the story further, you will see it is not really the children version of the tale.
Re:How decompilers work on Thursday May 05, 2011 @11:41AM (#2517763)
What was the reason to do that ? Apart from rendering your own code completely unreadable ?
Re:Why C# Is Not My Favorite Programming Language on Wednesday May 04, 2011 @12:28PM (#2514325)
Maybe that what's the author wanted to pointed out: if you have garbage collection (at least the way it's implemented in C#/Java) you have to give away scope lifetime of object. This is annoying because you want determinism for some kind of resources (file, lock, ...) and then you have to manually clean them, which is what you wanted to avoid in the first place with garbage collection.

In C++, if you declare the object on the stack, the destructor will be called when the scope is closed. Which is very handy for e.g. lock.

The thing is, garbage collection could be use together with scope lifetime (aka RAII) just let the programmer choose which is best/more convenient for him given his resources.

Re:Hacker Monthly: One year old, 5000 subscribers on Thursday April 14, 2011 @04:56AM (#2446134)
Indeed. To ship in the Netherland it would cost me $120 compared to $88 for a subscription. May be finding a printer in Europe would help ?
Re:8.9 earthquake hits Japan on Friday March 11, 2011 @04:30AM (#2312797)
Isn't that strange ? I mean cable should be more easily broken than airwaves, no ? Is it because the landlines in Japan are designed to resist and the cell phone tower got power disruption ?
Re:Switching to Plan J (From Scala back to Java) on Wednesday February 23, 2011 @11:10AM (#2254547)
you should give GUD a try (M-x gdb).
Re:C++ in Coders at Work on Tuesday February 15, 2011 @10:11AM (#2221447)
About constructor/destructor: in C++ you call allocate object on the stack, destructor will be called when you get outside the scope of the variable. That feature, dumbed RAII in C++ lingo, may be the simple GC your looking for : no explicit delete, good locality of the destruction. It also allow correct handling of exception.

Older ยป