News for hackers. Stuff that matters.

justinnhli

I have had a similar idea for the past few years: less an AI model that takes in a photo and generates a video, more a movement planning tool given a 3D model of the wall.

Echoing some of the other comments, I think it would be more interesting to not just see a single avatar climbing the problem, but to see many possible approaches to the same problem, even for climbers with the same body type. This way, even skilled climbers that are stuck on a problem can consider alternate beta/techniques that they may find easier to execute.

Re:Internet Search Tips on Sunday April 18, 2021 @08:27PM (#26857962)
Another option for people who don't have additional mouse buttons is to install addons for mouse gestures, such as Gesturefy [1]. You can then bind undo close tab, next/prev tab, and others to a mouse gesture, allowing you to do those actions without button hunting on the screen.

[1] https://addons.mozilla.org/en-US/firefox/addon/gesturefy/

Re:Why is it so hard to see code from 5 minutes ago? on Friday February 19, 2021 @06:52PM (#26199643)
Ditto. Unless I have to go back a lot of edits, I don't actually use the plugin that often. I've mapped my undo/redo keys to traverse the undo tree instead of the undo stack:

nnoremap u g-

nnoremap <C-r> g+

It takes a little bit of getting use to, but it takes care of most instance where I need a previous edit from a minute ago.

Re:Why is it so hard to see code from 5 minutes ago? on Thursday February 18, 2021 @08:50PM (#26188527)
> > (3) There is no visual indicator of where you are are in your undo/redo history.

> There might be plugins that somehow present this info in the interface.

The undotree vim plugin [1] does this, and gives both the file at the time as well as a diff of what changed.

[1]: https://github.com/mbbill/undotree

Re:Python strings are immutable, but only sometimes on Monday February 15, 2021 @05:28PM (#26148400)
> Sometimes I think of Python as the Nash Equilibrium of programming languages

FYI: What you're describing is not a Nash equilibrium, but a Pareto optimal point [1]. They are similar in that you couldn't do any better, but Nash equilibria is in terms of whether this would cause other players to change their strategies, while Pareto optimality is only about trading off different features/dimensions.

[1]: https://en.wikipedia.org/wiki/Pareto_efficiency

Re:Facebook Indefinitely Suspends Trump on Thursday January 07, 2021 @02:25PM (#25675952)
There are more constraints than that - the corresponding words in each phrase are also the same parts of speech, and are often read with a specific cadence. See https://en.wikipedia.org/wiki/Antithetical_couplet
Re:Teach Debugging (2014) on Tuesday December 08, 2020 @03:58PM (#25351262)
I teach undergrad CS, and recently wrote this to explain how to debug: http://justinnhli.oxycreates.org/debugging/

It's still a work in progress (I would like to add some worked examples), so any suggestions for improvements are welcome.

Re:How we learnt to stop worrying and love web scraping on Wednesday September 09, 2020 @05:27PM (#24426111)
This project was recently submitted to r/python: https://github.com/alirezamika/autoscraper/
Re:Pure Skill Minesweeper on Sunday August 16, 2020 @10:11PM (#24183204)
I prefer the version by Magnus Hovland Hoff [1], which makes the guessing explicit. There is a "Request Help" button that will let you reveal any square you want - but only if there is no other way to progress without guessing (otherwise you lose). This turns Minesweeper into a neat little puzzle game.

[1]: https://magnushoff.com/articles/minesweeper/

Re:Vim/Neovim Arbitrary Code Execution via Modelines on Tuesday June 04, 2019 @08:34PM (#20100533)
A different PR is still open, that presumably would include the test: https://github.com/neovim/neovim/pull/10052
Re:Ask HN: How to organize personal knowledge? on Saturday September 01, 2018 @05:55PM (#17894083)
Can you say more about how you use Airtable? To me Airtable has a really appealing low/zero startup cost, but then I'm always tripped up by not being able to do arbitrary queries, joins, etc. to create new views.
You might be interested in Harvey Mudd's CS5 Green syllabus [1], which "is designed to give you the foundations of computer science in the context of solving real and important problems in the biological sciences."

[1]: https://www.cs.hmc.edu/twiki/bin/view/CS6/CourseSyllabus

A list of Madhumita Pandey's publications can be found at https://theconversation.com/profiles/madhumita-pandey-276284

Older »