Hacker Newsnew | past | comments | ask | show | jobs | submit | nicwilson's commentslogin

That is dated Feb 2022. Do you know if anything came of it?


Quite a few patches have landed. A couple features using this have already shipped in Apple’s downstream clang.


It works with arrays (both fixed size, and dynamically sized) and arrays; between arrays and elements; but not between two scalar types that don't overload opBinary!"~", so no it won't work between two `ushorts` to produce a `uint`


This was essentially how DMD (the reference D compiler) was translated to D. However this was mostly a restricted subset of C++ common to both of them, e.g. no diamond inheritance, no operator overloading whackiness.


`private` is only private to the module, not the struct/class, (In other words, all functions in the same module are all C++ style `friend`s) and so free function in same module work.


Hmmm, I wonder if you could turn this into a sport and have like one paper per year per group of total BS, and shame on the reviewers/conference/journal if they don't catch it, and kudos to the submitters the more blatant it is.

Come to think of it, is there a "Journal of Academic Fraud"?


azimuth is the only other one I can think of off the top of my head


You'll find "zenith" at your feet.


You're thinking of nadir, also Arabic. The zenith is in the opposite direction.


Gah! So much for my wit.


Double entry accounting is still error prone, but single entry accounting is fraud prone.


* Brownian motion. "browning motion" sounds like a euphamism for something else...


54 minutes, but the Yogscast did one a while ago

https://www.youtube.com/watch?v=qlTsW9rWE0o&pp=ygUbeW9nc2Nhc...


FT is a 90 degree rotation not a 180, the FT of the FT of a function is the mirror image about the origin, not the function itself.


Ok you're right! I originally wrote down 90 degrees but then I had a conflicting view about being the inverse and then reasoned it must be 180 degrees

So the fourier transform of the fourier transform isn't the same as the inverse fourier transform? (ignoring the scaling bits that can be normalized I think), so I've been lied to?

Anyway here is a funny pair of questions

https://math.stackexchange.com/questions/1472528/why-is-the-...

https://math.stackexchange.com/questions/3922412/why-isnt-th...


90 degree rotation? That would imply that the fourier transform is orthogonal to the original function.


It is, because wavenumber and position are distinct variables and are orthogonal to each other. FT turn position into wavenumber (positional frequency) and wavenumber into negative position:

[ 0 1] [x] [ ω]

          = 
[-1 0] [ω] [-x]

see also https://en.wikipedia.org/wiki/Linear_canonical_transformatio...

the rotation matrix [[ 0 1], [-1 0]] is a 90 degree rotation.


Ok, now I see it!


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

Search: