![]() |
[QUOTE=Dubslow;287388]What happened to 5-7-5?[/QUOTE]
There is much to learn Very few have even begun to learn The brightest know to learn |
[QUOTE=Dubslow;287388]What happened to 5-7-5?[/QUOTE]
Uh, it's 5-7-5 in the original Japanese ... yeah, that's the ticket... Actually, the real nit one should pick with my-ku is that 'update' normally means 'get latest version from repository', but I chose to (mis)use it in the sense of one's-checkin-as-update. Poetic license and all that. There once was a haikuist named Mayer[sup]*[/sup], Who decided to take quite a flyer. His word-count abuse, And rhyme and meter obtuse, Caused his critics to say 'this is dire!' [i][sup]*[/sup][pronounced in the germanic fashion here][/i] |
[QUOTE=ewmayer;287483]Uh, it's 5-7-5 in the original Japanese ... yeah, that's the ticket...
Actually, the real nit one should pick with my-ku is that 'update' normally means 'get latest version from repository', but I chose to (mis)use it in the sense of one's-checkin-as-update. Poetic license and all that. There once was a haikuist named Mayer, Who decided to take quite a flyer. His word-count abuse, And rhyme and meter obtuse, Caused his critics to say 'this is dire!' [/QUOTE] :ernst: :surrender: :rofl: |
And my interesting (if open-ended) homework for the weekend.
[url]http://dubslow.tk/HW2.pdf[/url] |
[QUOTE=Dubslow;287555]And my interesting (if open-ended) homework for the weekend[/QUOTE]
Trivial. What might impress them is if you show up on Sunday. And note that 26/60 is 43.3..., not 41. (And 25/60 is 41.6...; rounds to 42 not 41.) Bonus points: show, in a debugger, why the perfectly valid C code: [CODE]main() { int *i; printf("Illegal=%d\n", i[0]); }[/CODE] ...is invalid when run. Have a great weekend. :smile: |
How is that valid? There's nothing pointed at.
Also note that HW1 was not turned in for a grade. We got to lecture, printed out and everything, and he said "...so... I'm not going to grade it." |
[QUOTE=Dubslow;287583]How is that valid? There's nothing pointed at.[/QUOTE]
That's the point (no joke intended). There's an old joke amongst old programmers: "C is valid; right up until run-time...". |
Yes, the hw will be trivial when I do it, but the hard part is doing something that is both interesting, impressive, and within my abilities. The first criterion will be hardest to meet, I think.
(Also even if there was a target, the target hadn't been initialized.) |
[QUOTE=Dubslow;287583]How is that valid? There's nothing pointed at.[/QUOTE]
Our PR department prefers to tout that as a feature, not a bug. Repeat after me: "Null pointers need not be dull pointers!" (Yes, I know the pointer will typically not be inited = 0x0 in an optimized compile, but that ruins the joke, you see.) |
[QUOTE=Dubslow;287555]And my interesting (if open-ended) homework for the weekend.
[url]http://dubslow.tk/random/HW2.pdf[/url][/QUOTE] [url]http://dubslow.tk/random/nand.txt[/url] Implemented addition using nothing but nested NAND gates. Edit: The best part is, aside from syntax errors (using commas in for loops, forgetting a {, and wrong printf format) it works correctly the first time. |
[QUOTE=Dubslow;287695][url]http://dubslow.tk/random/nand.txt[/url]
Implemented addition using nothing but nested NAND gates. Edit: The best part is, aside from syntax errors (using commas in for loops, forgetting a {, and wrong printf format) it works correctly the first time.[/QUOTE] In other news today, I've just made a version without any intermediate logic functions, i.e. it's all nested NANDs. [url=http://dubslow.tk/random/nor.txt]How to Make C Look Like Lisp (Really Really Bad Lisp)[/url] :poop: (Edit: And yes, even that actually does work. I'm amazed I didn't screw up any of the copy/pasting.) |
| All times are UTC. The time now is 08:00. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.