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

By skimming docs I notice that you use <%- %> tags for outputting un-escaped strings. In contrast ERB uses <%- and -%> for trimming leading and trailing whitespace of the surroundings. In security sensitive context of escaping output you might not want to appear as mimicing ERB while deviating at the same time. A user might end up using un-escaped output all over the place by accident.

But great work overall!


You might find my write-up on lambda calculus and combinatory logic in javascript syntax insightful:

https://static.laszlokorte.de/combinators/


Such a nice idea. I saw the same idea of wang tiling in a youtube video of a conference talk a few weeks ago and found it quite fascinating.

You might also like my interactive implementation of the void ans cluster algorithm for generating blue noise [1]

[1]: https://static.laszlokorte.de/blue-noise/


Would be nice if browsers would group back button entries by: 1. same url except hash 2. same domain 3. rest


Safari does this


Great article! I like that it starts with circles and complex numbers ans builds up from there. Some other explanations try to only throw in complex numbers in the end.

If you are interested in this topic you might also like my visualization of a fractional fourier transform [1] and the complex plane [2]

[1]: https://static.laszlokorte.de/frft-cube/

[2]: https://static.laszlokorte.de/complex-plane/


you could simply do: "display: grid; display: masonry;" and all not-supporting browsers would skip the second declaration.


This is assuming there isn’t any cross pollution of shared properties either.


`@supports masonry { shared-property: 1; }`


See [1] for my visualization of this 4-cycle and the fractional fourier transform

[1]: https://static.laszlokorte.de/frft-cube/


Thanks. It's neat being able to visualize them, and the 3D display's actually pretty cool looking for all the different functions.

The Fractional DFT part though, doesn't seem to do anything no matter the function chosen. Firefox 125.

Edit: Nvm, figured it out. Have to visualize from the top down to see the Fractional DFT portion. Haven't seen many visualization systems where each orientation shows a different type of data. Actually a pretty neat idea from a UI perspective.


Even as a non-native speaker it really stood out: "This situation is exacerbated by the fact that", "In contrast", "Given the outlined".

I would call this style something like fluid enumeration of facts, typical for GPT generated texts.


> Wouldn't this effectively make frequency 0?

Yes! Letting the period length approach infinity, would make the lowest frequency (omega_0, also delta each other frequencies) approach 0, effectively turning the discrete sum of the fourier series into an integral, turning the fourier series into the continous fourier transform.


> ...turning the fourier series into the continous fourier transform

Yes, if talking about the Fourier transform. My understanding was that author proposed that "trick" in context of discrete series for bounded non-periodic functions x(t), y(t).

Instead, what followed was more like an extension to periodic function.


Very well written article!

If you are interested in interactive explorations of the fourier transform you might also like this visualization I built [1], featuring the not so well known fractional fourier transform.

[1]: https://static.laszlokorte.de/frft-cube/


Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: