Hacker News .hnnew | past | comments | ask | show | jobs | submit | markdrago's commentslogin

awesome quote from article: "Why do something reasonable when you have the opportunity to do something ridiculous?" ... explains so much code ...


That for me also summed up nicely what separates a coder from a hacker. :]


FWIW the 'tag' concept in Go alleviates concern #2.

Info regarding tags (scroll a bit): http://golang.org/ref/spec#Struct_types

How tags are used by the built-in JSON encoding library: http://golang.org/pkg/encoding/json/#Marshal

Of course, just because this kind of thing can be handled with tags doesn't mean that people will actually know to use them or actually use them correctly.


thanks for that! i wasn't even aware of field tags.

i can see this solution causing other problems too. there can only be one tag per field, right? what happens when another library has a different meaning for the tag?

are we going to see a hacky standard emerge where we have multiple tags in the one field separated by semicolons (with a precursor for each tag like 'json:')?

it feels like an ugly hack to use tags this way, but i guess an ugly hack is what is needed for this right now.

i would much prefer a separate keyword to explicitly export fields. or, since we are already hacking the tag, why not have the compiler export any field with a tag called "export"?


It may be more appropriate to store the comments in extended attributes rather than in dotfiles: http://en.wikipedia.org/wiki/Extended_file_attributes


Here's a TED talk by Regina Dugan that discusses these flights as well:

http://www.ted.com/talks/lang/en/regina_dugan_from_mach_20_g...


The juxtaposition of toddlers and the "DARPA" logo is not jarring, given the benefits DARPA has produced for humanity due in part to its unleashed creativity, but certainly 'weird' given the context of its mission statement.


In the video it looks lik the htv is controlled by two flaps on the bottom. Even if this program is in fact finished the research will be useful at some point when rockets are cheaper. A 12 minute flight coast to coast would be nice.


Great talk, thanks for the link.


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

Search: