It's taking longer than a weekend though. My usual projects are more complicated and I wanted to do something brain dead and relatively instantly gratifying. Clojure + clojurescript(react based).
343 karma · joined September 9, 2013
It's taking longer than a weekend though. My usual projects are more complicated and I wanted to do something brain dead and relatively instantly gratifying. Clojure + clojurescript(react based).
If the previous statements were true, then a question is "why bother trying?". The ones that believe they can effect change are also the ones that do. Whether this is a consequence of free will or the divine RNG is up for religious and philosophical debate.
How do we deal with trying and results? The Bhagavad Gita has some good lines on this that several other religious traditions surely share. Detach yourself from the outcome and fulfill your duty. In this way you will find greater liberation and peace.
You may want to brush up on nature vs nurture: https://en.wikipedia.org/wiki/Nature_versus_nurture.
For those who are rightly skeptical of religion and have written it off entirely, I present you a quote:
"All men seek to be enlightened. Religion is but the most ancient and honorable way in which men have striven to make sense out of God's universe. Scientists seek the lawfulness of events. It is the task of Religion to fit man into this lawfulness."
- Dune
For its reputation as a garden and tech city, I'm not impressed.
I guess you can say I've been a software hobbyist for the past six years. I've hopped around from PHP -> Python -> C -> Common Lisp -> Clojure. My focus is web development and I am currently working on a SAAS written in clojure. By now it's around 10 KLOC and needs to be launched.
In the meanwhile, I'd like to make some food/rent money and will develop at a cheap rate until my business can keep itself afloat.
I will work for $15/HR and will do most things software related.
Some things about my tech personality:
- Thinkpad x201
- Emacs with Evil(vim package)
- xubuntu
I believe I am quite competent and will deliver good value.Please email me at kenny@sonacamp.com if you have interest or further questions.
Thank you and have a good day.
Gotta know your linux, your scripting, vagrant, docker, salt, git, testing, continuous integration, editor(evil + emacs in my case), algorithms, datastructures, best practices, libraries you are currently using, sql, how servers work, how the web works, memory management, and on and on and on.
On top of that, synthesize all of the above into something usable and maintainable, then maintain it. I'm starting to suspect the day I have a good grasp of the basics is the day I become a master.
I don't think I can go 72 hours without food without crashing.
(ns my.namespace
(:require [clojure.string :as str]))
(->> (str/split (slurp "/home/deadghost/fake-emails") #"\n")
(map #(second (str/split % #"@")))
set
(str/join "\n")
(spit "/home/deadghost/new-file"))
Read entire file, split by newlines into a vector, split each element by @ and take the second part of each split, convert to set to remove duplicates, join set elements with newline and spit to new file.Clear as mud?
http://clojure.org/multimethods
I encountered this recently but I'll try to give a (bad) explanation.
You'll call `function(thing, arg1, arg2, arg3);`. Another function will run on the arguments and return a dispatch value. For example, it will check what `thing` is and return `struct`. The `struct` version of that function is then run on the args and gives you your value.
In this way you can define several `close` functions based on dispatch value instead of one monolith nested if/else `close`.
I'm on the opposite side of the fence, OOP has never ever appealed to me. "Why would anyone want to use this crazy mess?" kind of thing. I'm sure I can learn to appreciate it with time but it's not a native paradigm to my mind.
I only have experience with lisps when it comes to functional programming but the reason I enjoy it is that it's simple. You have functions and you have data. Functions transform data to more data and the two aren't tightly bound. If you pass a function a value it will always return the same result if you pass it the same value.
THE clojure video: http://www.infoq.com/presentations/Simple-Made-Easy (I don't think he even says the word clojure in the entire hour presentation.)
???
Levin criticized the commitment in that area, saying any phase-out of the U.S. tariffs should be linked to measurable improvement in sales of U.S. cars in Japan."
It's all highly suggestive that it's a concession in part of a broader strategy. I'm sure there's a complex interplay of interests going on with the TPP as a whole, US auto, and Japanese auto. US auto seems like it's getting the raw end and may be trying to grab at whatever they can and perhaps the Japanese may be making a large concession in another area(not auto related) to get more automotive foothold in the US.
^complete speculation; I don't know jack about politics/economics/current events.
I feel like there's more going on than the article is saying. "industry and government officials are increasingly worried that these microvehicles have become a distraction for the nation’s automakers" sounds like lobbyists for full-size cars feeding politicians what to say. I don't buy that a bunch of politicians decided it was the for the greater good of the country to increase taxes on a cheap, fuel efficient vehicle.
Next chair I'll probably go for something with a headrest.
My clothes haven't fallen apart after years of use.
Guy just sounds like a loony bacteriophobe whose only point I've considered was whether the machine rinses out all the detergent.
Programming takes an odd kind of thinking and is about as easy as anything else that takes a large amount of time and effort (read not easy).
It's great he's asking for help instead of showing up on the front page as another dead hacker.
"as a developer, I usually average about two or three hours a day of productive coding"
"Yep, change it to dead snake case; what's the problem here?"
I've also seen some for real estate and others.