News for hackers. Stuff that matters.

snvsn

Re:What XOR is and why it's useful on Tuesday February 18, 2025 @05:24PM (#43095885)
Topic starts at 37:18
Re:Interview with a blind developer on how he works on Saturday April 06, 2024 @04:21AM (#39950914)
Related: How a Completely Blind Manager/Dev Uses Emacs Every Day - Parham Doustdar - https://emacsconf.org/2019/talks/08/
Re:Did you know Git was originally created in 10 days? on Friday September 08, 2023 @11:39AM (#37435026)
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...

Re:The Early Days of Linux on Friday April 14, 2023 @01:23PM (#35572093)
Linus describes this and more in his book - Just for Fun: The Story of an Accidental Revolutionary. Great read
This, exactly!
Re:Cppfront, Herb Sutter's proposal for a new C++ syntax on Saturday September 17, 2022 @10:53PM (#32883979)
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 = {
     ...
  }
Re:Git’s database internals II: commit history queries on Tuesday August 30, 2022 @02:41PM (#32653581)
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

Re:Extracting Audio from Visual Information on Wednesday August 17, 2022 @03:26PM (#32500634)
Mind sharing the name of the course?
Twitter's Ruby on Rails problem that the parent mentions - @26:30 https://youtu.be/LjFM8vw3pbU?t=1591
Re:Git's list of banned C functions on Thursday March 04, 2021 @04:18PM (#26348486)
Re:Ruby Garbage Collection Deep Dive: Tri-Color Mark and Sweep on Thursday February 18, 2021 @01:56PM (#26183964)
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...

Re:How Id built Wolfenstein 3D using Commander Keen tech on Tuesday June 25, 2019 @03:41PM (#20278061)
"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.