HNHacker News
TopNewBestAskShowJobs

NigelTufnel

86 karma · joined August 1, 2013

http://codumentary.blogspot.com
submissionscomments
NigelTufnel··on Emacs, naked
I walked almost the same path.

For the first couple of months I was customizing the hell out of Emacs. Then the things started falling apart and I've switched to the 20-line long .emacs and empty .emacs.d (well, almost empty if you don't count key-chord/ace-jump-mode combo which makes file navigation a mindreading experience)

NigelTufnel··on Taking PHP Seriously
Going JIT seems to be the common way of the scripting/bytecode-compiled languages.

Java -> HotSpot, Python -> PyPy, Javascript -> V8 and friends, PHP -> HHVM

NigelTufnel··on Functions Should Be Short And Sweet, But Why?
I've tried to learn Haskell for a several times and the composition-heavy/flipping-so-currying-will-work/no-variables style always made the programs difficult for me to understand.

Probably the classic case of Imperative-Guy-Struggling-To-Get-FP.

NigelTufnel··on Jamaican bobsleigh team raises $25k in Dogecoin
Didn't know that Jamaicans are into bobsleigh. Didn't know that Dogecoin exist.

Today is the Knowledge Day.

NigelTufnel··on JavaScript: The Right Way
I occasionally code in Javascript and I always get the feeling that I'm working with a language without a decent built-in standard library.

Want to work with dates? Use a third party library (or use built-in 1995-style library). Want to format a string? Use a third-party library. Want to do X? Use a third-party library.

Coding in e.g Python feels completely different: almost everything I need is in the standard library.

NigelTufnel··on Tcl the misunderstood (2006)
Interesting. I've never worked with Tcl, is it possible to write Common Lisp loop macro in Tcl?
NigelTufnel··on Why Are There So Many Pythons?
I think writing C extensions (using raw C, not Cython) for Python is not easy and will never be easy. For one reason alone: writing C is never easy.
NigelTufnel··on Yandex can now search for Facebook posts
A year ago Yandex made an iOS app "Wonder" that could search in Facebook and other social networks. Facebook blocked this app one month later.

Good to know that now Yandex and Facebook have signed an agreement.

NigelTufnel··on Parameter Hell
After six years of programming in Python I've almost forgot that there are languages that don't have named function parameters.

I remember the horror of working with WINAPI. There are WINAPI functions with 10 or so arguments and I was using Delphi which as far as I remember had no support for dictionary literals, let alone named parameters.

NigelTufnel··on A Worst Case for Functional Programming?
This is not the most fair paper (it could be described as: two Haskell language designers kick program-manager-struggling with-pre-STL-C++'s ass) but it's an interesting reading.

It would be great to see this paper's experiment conducted in the modern world. Haskell vs Python vs C++11 vs Clojure vs whatever.

Actually it would be great to have a site like http://benchmarksgame.alioth.debian.org/ that focuses on program readability, development speed etc.

NigelTufnel··on Over one billion searches were made on DuckDuckGo in 2013
I'm sold. For the next week (or couple of minutes if DDG isn't for me) I'll use DDG instead of Google.
NigelTufnel··on 4K is for programmers
It's not just you.

While reading the article I was thinking "wow, these guys are using 39" monitors, while I'm perfectly happy with a single 17" monitor or a 13" laptop. There must be something wrong with me."

Emacs is my screen space saviour. Every file or shell is 3 key presses away, I just don't need extra monitors.

NigelTufnel··on Dijkstra on Haskell and Java (2001)
I think judging programming languages by their features is the same as judging people by their talent and not by their deeds.

Take Java for example. Most people (Dijkstra included) hate it. But look how much Java has accomplished. It's not a coincidence that Hadoop is written in Java. It's not a coincidence that Java is the primary language on Android.

To quote a great man: "Java works. Java captures the essence of the evolutionary spirit" Same thing applies to PHP, Javascript, and whatever everyone hates.

Couple of years ago I thought that Java was the Devil's invention and the most awful programming language ever. Then I started using Java with Hadoop. And for the first week Java was the most awful programming language ever. Two/three weeks in I was absolutely okay with Java. It worked. And for me that's the only thing that counts.

NigelTufnel··on Greatest: C unit testing library in one file
Question to professional C programmers: Do you write unit tests?

At my current job I've never met C++, let alone C programmer who writes unit tests. Is it common?

NigelTufnel··on Hacker News down, unwisely returning HTTP 200 for outage message
Someone should write a twitter bot that monitors HN status and tweets "Hacker News down, productivity up".

What the hell, I'll do it.

← PreviousPage 2 of 2