HNHacker News
TopNewBestAskShowJobs

deadghost

343 karma · joined September 9, 2013

submissionscomments
deadghost··on Ask HN: What weekend projects have you created?
https://canpicker.com/

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).

deadghost··on Diego, A Centenarian Giant Tortoise Whose Sex Drive Saved His Species
Any chance his sex drive is genetic? We might end up with islands filled with horny tortoises.
deadghost··on Ask HN: What're the best-designed things you've ever used?
I tried to like it but returned it because it made a loud ping noise whenever a key was pressed and hit the back plate. They layout was fine but the construction just did not feel like $400.
deadghost··on Against Willpower
If you want to think like that, then a logical conclusion is that our fate was determined at the beginning of time when the state of the world was pre-seeded from the divine RNG. This is the religious concept of predestination that featured prominently in Luther's Protestant Revolution. It's quite possible our consciousness is just a passenger on the ride and we only think we are making decisions when our actions have been determined before we even think.

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

deadghost··on Ask HN: What inspires you to persevere through adversity?
If you stop, you're gonna die. If you won't die if you stop, then maybe it's not really all that big of a deal.
deadghost··on What It’s Like to Live in the World’s Most Polluted City
Yep, I stayed in Bangalore for 3 months. For one or two months there we had daily 3+ hour power outages. I lived in the outskirts and when taking a bus to Bangalore Proper, it can take 3 hours standing in a packed and overheated bus. There are animals roaming around and garbage everywhere. I had giardia (a kind of intestinal parasite) from unfiltered water resulting in diarrhea 5+ times a day for half my time there. The landlord didn't rent by contract and the terms and payments kept changing. No one wanted to sell a foreigner a sim card so I had no sim the entire time.

For its reputation as a garden and tech city, I'm not impressed.

deadghost··on Ask HN: Freelancer? Seeking freelancer? (July 2016)
SEEKING WORK - Remote Location: I'm an American currently in India

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.

deadghost··on Discouraged Developer
You know, there's just so much. I've been at it four years and I still feel like a damn newbie.

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.

deadghost··on Why I don’t eat on Mondays
Well typically when I don't eat my body gets angry at me and tells me I should. My body feels like ass and my head gets foggy such that I stop and intake some nutrients.

I don't think I can go 72 hours without food without crashing.

deadghost··on Why I don’t eat on Mondays
How'd you manage to forget?
deadghost··on Don’t Be Scared Of Functional Programming
Using clojure:

  (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?

deadghost··on Don’t Be Scared Of Functional Programming
fwiw, clojure supports polymorphism.

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.)

deadghost··on Why is [programming language] so...?
>why is erlang so slow >why is erlang so fast

???

deadghost··on The World's Most Efficient Car was Built in a Barn
Jesus Christ engineers are scary.
deadghost··on Japan Seeks to Squelch Its Tiny Cars
"Japan also agreed the United States could phase out its auto tariffs, which are 2.5 percent on cars and 25 percent on trucks, over the longest period possible in the future TPP deal.

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.

deadghost··on Japan Seeks to Squelch Its Tiny Cars
>But industry and government officials are increasingly worried that these microvehicles have become a distraction for the nation’s automakers — still bastions of the Japanese economy — and are moving to wean drivers off them. In April the government took what its critics charged was a hard-line route. Kei drivers were hit with a triple whammy of a higher sales tax, higher gasoline tax and higher kei car tax, the last of which the government raised by 50 percent, sharply narrowing their tax difference with regular-size vehicles.

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.

deadghost··on Ask HN: Which chair do you code in?
I'm on a Steelcase Leap I paid $200 for. It's way better than my old chair but you can probably get better if you were planning on paying full price.

Next chair I'll probably go for something with a headrest.

deadghost··on Black discards piece after piece for positional advantage
When black's bishop takes the knight, I don't think white could've done anything to escape the mate.
deadghost··on Why Your Laundry Is Filthier Than You Think
Hot water also shrinks clothes and fades colors.
deadghost··on Why Your Laundry Is Filthier Than You Think
So what? It's not like there's no bacteria on our bodies and the cute critters regenerate to original levels plenty fast.

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.

deadghost··on Why Google Made Its Self-Driving Car So Darn Cute
It looks like a small robot Jason that will track me down and murder me.
deadghost··on Don’t Believe Anyone Who Tells You Learning To Code Is Easy
When I see "programming is easy" I think "dirty, filthy lies!" When people say everyone should know how to program I think "why?" There's some weird nerd myopia going on with the programming literacy movement.

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).

deadghost··on E-Commerce Is A Bear
I hate ebay and I still use it. Ebay has a very strong moat.
deadghost··on I'm About as Good as Dead: The End of Xah Lee
I've come across his blog multiple times when I started with emacs and he seems like a cool guy(anyone that can spoon raw oatmeal into his mouth like it's the greatest thing ever is cool by my book).

It's great he's asking for help instead of showing up on the front page as another dead hacker.

deadghost··on U.S. Students from Educated Families Lag in International Tests
Funny enough I was reading this earlier: http://joelonsoftware.com/articles/fog0000000339.html

"as a developer, I usually average about two or three hours a day of productive coding"

deadghost··on Is it Pokémon or big data technology?
I thought about naming a project rapidash before realizing what I've done.
deadghost··on Programming Sucks
I didn't even realize how nonsensical it looks to the average person until I read it over a few times.

"Yep, change it to dead snake case; what's the problem here?"

deadghost··on Leaving Go
Not to mention emacs and the REPL. Emacs was my biggest hurdle learning Common Lisp. Learning a language - OK. Learning an editor - OK. Learning both at the same time - Not OK. I don't think light table was around at the time.
deadghost··on Why Lisp is a Big Hack and Haskell is Doomed to Succeed (2011)
If clojure is only a little bit better than ruby, is there a language you think is a lot better?
deadghost··on How to charge for websites?
http://www.mainstreetsites.com/ http://yourvirtuoso.com/

I've also seen some for real estate and others.

← PreviousPage 2 of 3Next →