[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/tech/ - Technology

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 3 per post.


File: 1458314277254.jpg (64.29 KB, 600x400, 3:2, anime_girl_sicp.jpg)

 No.545731

Hi /tech/,

Overly commented, and absolutely useless, but does implement the DNS protocol, in Lisp.

https://raw.githubusercontent.com/myrkraverk/lisp/master/despicable-dns-server.cl

And I thought Lisp was just a meme.

 No.545737

If it allows for zone transfers, it's far from useless


 No.545740

>>545737

It only returns "not implemented" so it's useless.


 No.545744


% dig tech.8ch.net @127.0.0.1

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> tech.8ch.net @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 11256
;; flags: qr aa; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; WARNING: EDNS query returned status NOTIMP - retry with '+noedns'

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 18 11:36:29 EDT 2016
;; MSG SIZE rcvd: 12


 No.545749

I can make an overly commented dns server too


// import an important library for standard input and output
#include <stdio.h>
// lets initialize our main function here. it should output a 0 when it finishes running
int main ()
{ // this is an opening parenthesis
// hurr, this implements dns protocol but only returns "not implemented"
printf ("not implemented");
return(0); // be sure to return a 0!
} // this closes our main function


 No.545750

>>545749

Ok, show us how this returns NOTIMP when you query it with dig.


 No.545784

It's sad how the most gifted programmers waste their time reimplementing the same shit over and over again in whatever meme language is in vogue at the time.

You won't live forever you know.


 No.545789

>>545784

>most gifted

>op

kek


 No.545792

>>545784

Gifted programmers become talented and learn protocols by implementing it themselves from scratch. This is what differentiates a rock star programmer from some visual basic office-cubicle plebeian.


 No.545940

>>545784

It is a waste of time is to write useful programs on bad languages, because they later have to be abandoned to be rewritten by smarter programmers.

Most programmers, even good ones, do not have the science to understand what makes a good language and what doesn't.

Language design should not be the task of engineers. Scientists should be designers, and engineers the implementors. Then we wouldn't have bad languages, and there wouldn't be need to reimplement.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]