News for hackers. Stuff that matters.

jfrd

Re:Skyfield: Elegant Astronomy for Python on Friday December 01, 2023 @09:55AM (#38487383)
Brandon helped me solve an interesting problem during my PhD. I was building a sun-tracking sensor for a solar-powered lunar rover, and I needed to calculate the vector from the robot to the sun.

Brandon showed me how to use skyfield to solve the problem for a robot on Earth, and then he went back and forth via email to show me how to solve the problem on the moon.

In the end, we used skyfield to generate lookup tables for the places and times that we cared about, and it worked out great!

Surprisingly you can solve massive TSPs using heuristics. The solutions are not guaranteed to be optimal, but they can get very close to optimal without a crazy amount of computing power.

The Concorde TSP solver can apparently solve instances with 85.6k cities to optimality. Pretty amazing!

Re:Intel is quitting on NUC computers on Tuesday July 11, 2023 @01:48PM (#36684589)
Five to ten years ago this would have shaken up the robotics research community --- we used NUCs for all of our robots. Now that everything is a neural net, we use NVidia jetson boards for nearly everything.
Are any subtopics particularly interesting to you?

Mechatronics, Computer Vision, Control Theory, State Estimation, Path Planning, etc?

Re:Ask HN: Courses explaining well-written codebases? on Saturday July 30, 2022 @05:55PM (#32290748)
Check out PBRT, an academy award winning book about a rendering codebase!

https://pbrt.org/

I think it is a reference to “Cracking the Coding Interview”, a book that teaches you how to pass FAANG interviews.
Re:Ask HN: What helped you get good at programming? on Tuesday May 03, 2022 @07:01AM (#31246853)
Find a project you want to build and stop at nothing until it works. Repeat. Caveat: pick things that are just beyond your current level of knowledge.
Re:Ask HN: Paid ROS Tutoring? on Thursday December 23, 2021 @10:02PM (#29669565)
I’m a PhD student with ~5years ROS experience. What is your programming experience level? Why do you want to learn ROS?
The Kershaw Leek pocket knife. Flips open one-handed and makes a satisfying “snick”. I’ve used mine daily for 5 years.

https://www.amazon.com/dp/B0009VC9YK/ref=cm_sw_r_cp_api_glt_...

Re:Ubuntu to Make Firefox Snap Default in 21.10 on Thursday September 16, 2021 @07:00PM (#28558902)
Personally, I hate anything that clutters my home directory. Have they added an option to relocate ~/snap?
Re:When Is the Revolution in Architecture Coming? on Saturday May 15, 2021 @10:05AM (#27165355)
Could it be that the examples of “good” architecture were selected over centuries by the communities that chose to preserve them, while the “bad” examples were chosen by pretentious hacks who don’t have to live and work near these buildings?

I love the author’s point, but I wonder if there are better examples of modern architecture that just aren’t being celebrated by the in-crowd.

Reminds me of Howard Roark.

Re:A Universal I/O Abstraction for C++ (2020) on Sunday April 18, 2021 @09:36PM (#26858360)
For those who didn't click the link, this is a joke response to the author's tweet:

"I am bracing for the inevitable comments about C++ being the most terrible thing since forever :("

Re:A Universal I/O Abstraction for C++ (2020) on Sunday April 18, 2021 @05:08PM (#26856383)
Too bad C++ is the most terrible thing since forever.

https://twitter.com/Cor3ntin/status/1383875999033565194?s=20

Re:Kalman Filter in Python on Thursday March 18, 2021 @10:45AM (#26503237)
Cool! Check out the textbook “Probabilistic Robotics” for great explanations of the Kalman filter zoo. Bayes Filtering, Kalman Filtering, EKF, UKF, Particle Filter, etc.
Re:Show HN: I built a jigsaw puzzle website on Saturday January 30, 2021 @05:57PM (#25973879)
Could you add some instructions to the demo? Maybe it’s obvious and I missed it, but I can’t figure out how to rotate a piece. I’m using an iPhone.
Re:Exploring the nature of genius on Thursday January 28, 2021 @09:34AM (#25942282)
Andy Warhol was surely some kind of marketing genius.
Re:Unconditional loops are unconditionally awesome on Monday January 18, 2021 @10:45PM (#25829769)
You could use a co-routine to generate the magic numbers. Something like this:

  def gen_magic_nums():
     for i in range(100):
        yield i**2

  for num in gen_magic_nums():
     add_to_plot(num)
Re:Thinkpad X1 Carbon Gen 9: 16:10, 4k screen, 32GB RAM on Tuesday January 12, 2021 @03:04PM (#25752665)
I love my X1 Gen 7, but the black soft-touch coating started peeling within a week of buying it. I hope they've fixed that because it is otherwise my favorite laptop I've ever owned.
Re:Simon Says: 'Invent' on Tuesday September 15, 2020 @09:06AM (#24480751)
I emailed Ralph Baer when I was about 13 to ask if he knew where I could get an original pong chip to build my own video game. He sent me an extremely nice response explaining that he didn’t have any of the chip any more, but that I didn’t need it to build my own version of pong.

I really wish I could find that email.

I was never going to see a penny from social security anyway. Maybe this will save me two years of payments into the federal slush fund!
Re:The 5th-generation Waymo Driver on Thursday March 05, 2020 @07:02AM (#22492835)
Nope. The Lidar pulses are encoded uniquely to each sensor, so one sensor can filter out an (already unlikely) direct hit from another lidar. The cameras are IR filtered and also unlikely to get hit by the lidar. Radar is pulse encoded in a similar way to lidar, although possibly more likely to lose performance if surrounded by a lot of other radar units. In general, dirt on your sensor lenses is a lot more annoying than interference from other cars.
Re:Ray Tracing a Tiny Procedural Planet [pdf] on Monday November 04, 2019 @01:19AM (#21439400)
I believe some of them are from inigo quilez. I know the snail is.

https://www.iquilezles.org/store/

Re:Ask HN: Read any good books lately? on Monday September 16, 2019 @07:48AM (#20983115)
I read Cuckoo’s Egg and also liked “The Soul of a New Machine”, “SkunkWorks”, and “The Making of the Atomic Bomb”.
Re:A* on Sunday August 11, 2019 @11:23AM (#20668547)
Iterative Deepening A Star