HNHacker News
TopNewBestAskShowJobs

sur

147 karma · joined October 22, 2010

submissionscomments
sur··on What the interns have wrought, 2018 edition
I'd guess 5R is Five Rings Capital, not Rentech.
sur··on Hell: A Haskell Shell
There's also scsh, which uses Scheme:

http://www.scsh.net/

sur··on 4chan now offers self-serve advertising starting at $20
Supposedly, the Reddit admins banned it also because of threats of violence.

http://i.imgur.com/o7CrW3y.jpg

sur··on Climate change: A cooling consensus
The title sounds like it's saying that the consensus is cooling, not that there's a consensus that the planet is cooling.
sur··on A vim interface for gmail: Vmail
There's Conkeror, which uses JavaScript: http://conkeror.org/
sur··on Show HN: Interactive SICP
I think it expects you to combine the addition and multiplication, like this:

    (/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5))))) (* 3 (- 6 2) (- 2 7)))
sur··on Omniscient Debugging
The OCaml debugger also has time travel (http://caml.inria.fr/pub/docs/manual-ocaml-4.00/manual030.ht...).
sur··on Xiki: A shell console with GUI features.
The plan9 shell is called rc:

http://doc.cat-v.org/plan_9/4th_edition/papers/rc

sur··on Harvard investigates 125 students for cheating on final exam
It seems like the GP is saying that based partly on Harvard's reputation, not just the incident itself.
sur··on Everybody Hates Firefox Updates
https://support.mozilla.org/en-US/kb/profile-manager-create-...

It's just a command line argument.

sur··on Treating JavaScript like a 30 year old language
Functions are curried by default in Haskell.
sur··on Combining coins to reach a target sum (C, Python)
It's possible to do this using just a one-dimensional array. Since we only need the last column of the matrix we calculated to calculate the next column, the array can be updated in-place.

  coins = [1, 2, 5, 10, 20, 50, 100, 200]
  total = 200
  matrix = [0] * (total + 1)
  matrix[0] = 1
  
  for coin in coins:
      for j in range(coin, len(matrix)):
          matrix[j] += matrix[j - coin]
sur··on After 7.5 years, Firefox finally adds line numbers to view-source:
In Firefox, viewing the source from the error console highlights the line that the error was on.
sur··on Google Labs no more
There's a blog post about it here: http://www.moserware.com/2008/04/towards-moores-law-software...
sur··on Retiring a Great Interview Problem
He is using parentheses instead of square brackets, so the code is actually using a generator expression which will produce each value lazily.
sur··on Two examples of bad user experience caused by HTTP prefix being hidden in Chrome
So what happens if you select only part of the URL? What if you just want to select foo.com?
sur··on SVG-edit: Vector drawing in your browser
Apart from stability (which could also be considered a feature)

At what point does anything that makes an application more useful a feature? If this is the definition of a feature, then your second point seems a bit obvious.

sur··on SVG-edit: Vector drawing in your browser
Okay, this won't give me the latest bleeding edge version, but instead I get a mature application that is well-tested and provides more functionality than I ever needed. (in particular, more functionality than SVG-edit)

But the same goes for Google Docs and OpenOffice. Having more features isn't always what matters most.