HackerTrans
TopNewTrendsCommentsPastAskShowJobs

phazy

no profile record

comments

phazy
·2 tháng trước·discuss
John Ousterhout has also written about this in A Philosophy of Software Design:

The most fundamental problem in computer science is problem decomposition: how to take a complex problem and divide it up into pieces that can be solved independently.
phazy
·11 tháng trước·discuss
I‘m wondering why nobody has brought up the term "acquired taste" yet. Such a beautiful expression, sadly I can’t find a good translation in most other languages.
phazy
·3 năm trước·discuss
At least for me, another element of deliberate practice holds true: Deliberate practice scales nonlinearily with time and effort.
phazy
·3 năm trước·discuss
The CORDIC algorithm is great! Just a few months ago, I implemented a sine generator with it and also used fixed point arithmetic. It is a real eye opener to see that you can substitute multiplications by bit shifting when you store the numbers in the “right“ format.
phazy
·3 năm trước·discuss
I've been trying out some more things and I think you might have to do some more prompt engineering for ChatGPT.

Prompts sometimes result in valid results but sometimes in a SyntaxError "Unexpected token 'A', "An error o"... is not valid JSON". I also encountered other SyntaxErrors like "the string did not match the pattern". I would guess this might be related to invalid requests to the Spotify API.

Also, it is possible to directly communicate with ChatGPT. Its responses are then output through a playlistContentFormatter error.

Hope this might help. And still, great product!
phazy
·3 năm trước·discuss
Awesome idea and great implementation!
phazy
·3 năm trước·discuss
I‘ve also been using vim for ~3yrs now, editing small programming projects and all kinds of text in it (like config files). Never had a need for emacs until a couple weeks ago I started working at a project involving a lot of meetings and writing a TeX report. I experienced that emacs, used in the auctex and org modes, is helping me a lot with that because the available commands simplify the workflow (like `reftex-citation`).

Why has trying out emacs been on your mind, if I may ask? If it‘s just for fun, go ahead. If it‘s because you think aspects of your workflow could be optimized, take a look at the several modes emacs has to offer. Otherwise, I would just stay with vim, tbh.
phazy
·3 năm trước·discuss
Great job! I love this idea.

In fact, I love it so much that I could not resist trying to implement it with two running mpv instances: https://github.com/phazus/lofiatc.sh
phazy
·4 năm trước·discuss
This, so much!

I solved this problem on mobile with two approaches: 1. Use a content blocker (e.g. 1Blocker on iOS) to block CSS elements 2. Use an Invidious instance which has disabled the recommendations