2 karma · joined Sep 5, 2017 (9y ago) · 5 submissions
comment 1y ago · link · parent
Location: Sydney, NSW, Australia
Remote: Local time only
Willing to relocate: Yes
Technologies: Common Lisp, Clojure, etc.
Résumé/CV: Upon request
Email:
(loop with hex-str = "6731332e64744070726f746f6e2e6d65"
for i from 0 below (length hex-str) by 2
collect (code-char (parse-integer hex-str :start i :end (+ i 2) :radix 16))
into ch-list
finally (return (format nil "~{~A~}" ch-list)))
or
(->> "6731332e64744070726f746f6e2e6d65"
(partition 2)
(map (comp char #(Integer/parseInt % 16) #(apply str %)))
(apply str))
Visa sponsorship required(For US, E3 visa)comment 1y ago · link · parent
Location: Sydney, NSW, Australia
Remote: Local time only
Willing to relocate: Yes
Technologies: Common Lisp, Clojure, etc.
Résumé/CV: Upon request
Email:
(loop with hex-str = "6731332e64744070726f746f6e2e6d65"
for i from 0 below (length hex-str) by 2
collect (code-char (parse-integer (subseq hex-str i (+ i 2)) :radix 16))
into ch-list
finally (return (format nil "~{~A~}" ch-list)))
or
(->> "6731332e64744070726f746f6e2e6d65"
(partition 2)
(map #(apply str %) )
(map #(Integer/parseInt % 16))
(map char)
(apply str))
After working for over 20 years, mainly using Common Lisp and Clojure, I got bored and took a break for about two years.A month ago I read about Myers' distance algorithm and tried to understand and write code for a few days.
I enjoyed it again! Isn't boredom not due to programming but due to the environment surrounding me? Now I am looking for opportunities in other continents.
Cycling friendly places would be great.
(For offers from US, need E3 visa sponsorship)
comment 2y ago · link · parent
For code samples, popular programming languages are much better than languages like Clojure.
Two examples: About a week ago, I had found Myers' string diff algorithm and asked to write some code and initially it spat out Python code. I asked it write a Common Lisp code, and it generated about 90% complete code. I rewrote it again and the whole thing took less than a day. It was my first time seeing 'quality' from machine generated code.
I experimented further. I found Automerge-Java and want to write a Clojure wrapper. So asked it how to parse Java source files and it showed a Python code. I ran it and gave some feedback than I could get almost perfect output, which is easy to process from Clojure side. After three days, I could write interface generator. From my experience, this type of work is time consuming process and three days is pretty good I think. I fed it concrete patterns and pointed mistakes less than ten times.
Overall, it still lacks of 'creativity' but for concrete examples with 'right' patterns, saves a huge amount of time.
comment 2y ago · link · parent
Location: Sydney, NSW, Australia
Remote: Local time only
Willing to relocate: Yes
Technologies: Common Lisp, Clojure, etc.
Résumé/CV: Upon request
Email:
(loop with hex-str = "6731332e64744070726f746f6e2e6d65"
for i from 0 below (length hex-str) by 2
collect (code-char (parse-integer (subseq hex-str i (+ i 2)) :radix 16))
into ch-list
finally (return (format nil "~{~A~}" ch-list)))
or
(->> "6731332e64744070726f746f6e2e6d65"
(partition 2)
(map #(apply str %) )
(map #(Integer/parseInt % 16))
(map char)
(apply str))
After working for over 20 years, mainly using Common Lisp and Clojure, I got bored and took a break for about two years.A few days ago I read about Myers' distance algorithm and have been trying to understand and write code for a few days.
I enjoyed it again! Isn't boredom not due to programming but due to the environment surrounding me? Now I am looking for opportunities in other continents.
Cycling friendly places would be great.