Better HN
topnewbestaskshowjobs
Log inSign up

egonk

8 karma · joined Jan 16, 2012 (14y ago) · 3 submissions

Submissions

comment 13y ago · link · parent

> When storing time, store Unix time. It's a single number.

This won't work for any system that allows users to schedule events in the future. Let's say that you agree for a meeting in Moscow 1 dec 2013 3pm. The actual (astronomical) time of meeting might change significantly if they change daylight saving rules. So you need to store something like "2013-12-01 15:00 Moscow", there's no way around it.

comment 13y ago · link · parent

Have you got a good example where Lisp macros would work but standard Haskell would "fail"?

I've done some compiler work in Haskell like writing programs (semantic actions) as algebraic data structures and then transforming or interpreting the tree. Would I gain something by using Lisp macros in this instance?

comment 14y ago · link · parent

See http://linux.die.net/man/1/objcopy -> --only-keep-debug

Then you can open the core file as usual: gdb executable core (just be sure to have debug files in the same directory)