News for hackers. Stuff that matters.

lakshayg

Re:Show HN: Wat – Deep inspection of Python objects on Thursday July 25, 2024 @02:08PM (#41071554)
Interesting choice indeed. It looks like it supports the traditional approach as well

> wat object can quickly inspect things by using the division operator (to avoid typing parentheses). A short, no-parentheses syntax wat / object is equivalent to wat(object).

Re:LyX – The Document Processor on Monday October 19, 2020 @12:11AM (#24823267)
LyX is great piece of software. People interested in LyX should also take a look at TeXmacs https://www.texmacs.org/tmweb/home/welcome.en.html
Re:A fast alternative to the modulo reduction (2016) on Sunday October 06, 2019 @08:35PM (#21176236)
By naively, you mean using a hash function that does not “scatter” the values properly, something like defining hash(n) = n, right?
Re:Timeline of the far future on Wednesday July 18, 2018 @01:46PM (#17560473)
> 230 million - Prediction of the orbits of the planets is impossible over greater time spans than this, due to the limitations of Lyapunov time.

> [...]

> 3.3 billion - 1% chance that Jupiter's gravity may make Mercury's orbit so eccentric as to collide with Venus, sending the inner Solar System into chaos. Possible scenarios include Mercury colliding with the Sun, being ejected from the Solar System, or colliding with Earth.

Are these statements contradictory or am I missing something?

Re:Ask HN: What note taking app/software do you use? on Wednesday February 21, 2018 @02:49PM (#16432368)
Replacing pen and paper is hard but I use Google Keep quite a bit for saving links and small notes. I like Keep because:

* No need to create accounts on multiple websites

* Accessible from web and phone

* Clean interface

* Allows checklists, drawings, images and has OCR

Re:Ask HN: What is in your vimrc? on Wednesday February 21, 2018 @02:35PM (#16432253)
Stuff comes and goes but I always keep these

    set path=.,/usr/include,,**,
    set sw=4
    set ts=4
    set expandtab
    set ignorecase
    set smartcase
Re:Show HN: An extension to turn your LinkedIn into a resume on Thursday February 08, 2018 @01:23AM (#16330579)
Works surprisingly well. Just one issue, since I just graduated, I do not have a whole lot of work experience so the generated resume looks empty. It would be awesome if you could use the information in the projects section as well and create a projects section.