Better HN
topnewbestaskshowjobs
Log inSign up

snvsn

42 karma · joined Jan 16, 2019 (7y ago) · 16 submissions

Submissions

comment 1y ago · link · parent

Topic starts at 37:18

comment 2y ago · link · parent

Related: How a Completely Blind Manager/Dev Uses Emacs Every Day - Parham Doustdar - https://emacsconf.org/2019/talks/08/

comment 3y ago · link · parent

You can look at the code in the first commit Linus made. It is a very minimal yet functional version of Git.

https://github.com/git/git/commit/e83c5163316f89bfbde7d9ab23...

Edit: To get to this commit run

  $ git log --oneline --reverse master | head -n1
  e83c516331 Initial revision of "git", the information manager from hell

comment 3y ago · link · parent

Linus describes this and more in his book - Just for Fun: The Story of an Accidental Revolutionary. Great read

comment 3y ago · link · parent

This, exactly!

comment 4y ago · link · parent

I had the same reaction initially but then realized that this makes the variable declaration / initialization syntax very consistent.

  variable: Type [= initial_value];

  // initializes foo to an int with an initial value of 43 
  foo: int = 43;

  // initializes main to a (presumably, as I haven't read the
  // spec yet, const)pointer to a function that takes no 
  // arguments and returns an int.
  main: () -> int = {
     ...
  }

comment 4y ago · link · parent

One commit with as many parents as merged branches. (A git commit can have an arbitrary number of parent commits.)

Try git cat-file -p $SHA

comment 4y ago · link · parent

Previous discussion: https://news.ycombinator.com/item?id=8131785

comment 4y ago · link · parent

Thank you!

comment 4y ago · link · parent

Mind sharing the name of the course?

comment 4y ago · link · parent

Twitter's Ruby on Rails problem that the parent mentions - @26:30 https://youtu.be/LjFM8vw3pbU?t=1591

comment 5y ago · link · parent

Previous discussion: https://news.ycombinator.com/item?id=20792938

comment 5y ago · link · parent

Yes. In the Ruby VM, an RVALUE [0] is a union (a "generic type") of structs that represent all the different kinds of Ruby object types and a couple of runtime types.

[0] https://sonots.github.io/ruby-capi/db/d8e/struct_r_v_a_l_u_e...

comment 7y ago · link · parent

"Masters of Doom: How Two Guys Created an Empire and Transformed Pop Culture" has an excellent account of how Romero and Carmack built these games.

15.

Cliff Click language hacking: aa(github.com ↗)

1 points · by snvsn · 7y ago · discuss