Hacker News new | past | comments | ask | show | jobs | submit | osteele's comments login

It works well with bookmarklets. This swizzles between arxiv.org <-> www.talk2arxiv.org. I've now added it to my Favorites bar, next to arxiv.org/abs <-> arxiv.org/pdf and twitter.org <-> nitter.net. Thanks for the service!

javascript:((u,a,b,c)=%3Ewindow.location.href=u.match(a)?u.replace(a,b):u.startsWith(b)?u.replace(b,c):u)(window.location.href,/https:\/\/arxiv\.org\/(abs|pdf)\//,'https://www.talk2arxiv.org/pdf/','https://arxiv.org/pdf/')


Very nice! If you want to add a feature, feel free to make use of https://github.com/osteele/prompt-matrix.js, which I (well, ChatGPT and I) created for use in my own playground so that I could enter e.g. "Write a <Python|JavaScript> program to look for anagrams, in the style of <Norvig|Carmack>".


To be clear, that’s a link to a library meant for use in projects like yours. I’m not promoting a competing project (and haven’t provided a link to one).


* Porting code (generally code that I've written) from one language or framework to another. For example, porting Python to JavaScript. [1]

* Getting started with a new platform. For example, describing the problem, and having it create a template in a front end framework, CSS framework, API generator.

* Creating instructional materials. Pasting in code and generating explanations, assessments, and grading rubrics. [2]

* Generating the first pass of API documentation, READMEs, test suites, and configuration files. Modifying configuration files. Finding configuration options based on NL descriptions.

* Quickly generating examples of API uses that are specific to my application. Finding out what libraries and APIs are available for a use case, based on an NL description.

* Learning what algorithms exist for a problem. Generating implementations of these in different languages, or that are specific to my code or data structures.

* Rarely-used system administrations commands. For example, how do I flush the DNS cache on macOS Safari and Chrome? (Questions such as this are actually better on Perplexity.ai than on ChatGPT.)

* Pasting in error messages or descriptions of problems, and asking for solutions.

* Tie-breaker questions about what to name a file, function, or set of functions.

In general, I find that it takes a lot of the drudgery out of programming. (Similar to Copilot, but for a different, generally more macro, set of areas.) For example, I asked it to solve a geometry problem and generate a test harness for both interactively and batch testing it. It's solution to the problem itself was a non-starter, but the test harness was great and would have been involved boring work in order to write.

I also use it to generate emails, project proposals, feedback, etc. I don't think it's ever come up with anything usable, but seeing what's wrong with its attempt is an easier way for me to get started than looking at a blank page or searching for examples of the writing form on the web are.

[1] https://notes.osteele.com/gpt-experiments/using-chatgpt-to-p... [2] https://notes.osteele.com/gpt-experiments/chatgpt-code-expla... [3] https://notes.osteele.com/gpt-experiments/discussing-an-ardu...


Same. It seems similar to Copilot in that regard, but better at text-to-code, porting between languages or frameworks, and generating test cases and readmes: https://notes.osteele.com/gpt-experiments/using-chatgpt-to-p...


Ted Selker's description of the invention of the TrackPoint, as told to Bill Buxton, goes into a lot more detail about the path to product and the technical challenges overcome. https://www.microsoft.com/buxtoncollection/detail.aspx?id=60


This guy rules


This looks really nice. Here's something I wrote when I starting learning music theory. It ended up sort of cluttered; I like yours better. But please feel free to take any ideas from it that you think might be useful.

https://osteele.github.io/fingerboard/


This is cool.

See my comment about how to calculate the piano key geometry (or just paste in my numbers) if you want your piano diagram to have correct placement of the keys (black keys shouldn't bisect the two adjacent white keys.... it makes the white key "stems" really narrow between black keys and looks weird).


Figures 1, 7, 17, 18, 19, 22, 24, and 29 from the web page are not sets as circles. The paper contains additional counterexamples.


Hospital capacity is one motivation for flattening the curve. The other is to move infections later in time, when there will be more effective treatments and therefore lower rates of fatality and permanent disability.


ArduinoJson https://arduinojson.org supports MessagePack. I haven't looked at its static or runtime memory requirements.


Interestingly the article under discussion here begins “WUHAN (CAIXIN GLOBAL)”, ends “This story was originally published by Caixin Global”, and links to the original publication https://www.caixinglobal.com/2020-02-06/reporters-notebook-w...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: