News for hackers. Stuff that matters.

tjwei

Really interesting discovery, especially the part about base64. Reminds me of this: Transformer Layers as Painters https://arxiv.org/abs/2407.09298
Re:Exploit custom codecs to write inline C in Python on Sunday February 02, 2020 @08:53PM (#22220814)
I wrote a similar piece of code called MagicCodec back in 2008, including a zhpy codec(Chinese Python) and a Lua codec, which translates Lua source code to Python. (Blog content in Mandarin Chinese, with sample code http://weijr-note.blogspot.com/2008/02/python-magiccodec-01....) There was a time that I am slightly interested in Chinese Python for education purpose. Another interesting approach is using ctypes to replace keywords in CPython implementation, http://weijr-note.blogspot.com/2011/06/python-32-keyword.htm... (Also a blog post in Mandarin Chinese with sample code, which is also in Mandarin Chinese)
Awesome project, I really like it, so this is my attempt to achieve similar result with different approach.

I feel it might be an useful example for illustrating the intuition of ZCA and Wasserstein metric.

http://nbviewer.jupyter.org/github/tjwei/Animation-with-Iden...

Re:2017 is not just another prime number on Sunday January 01, 2017 @06:57AM (#13295489)
And 2017 = 2^3 + 4^3 + 6^3 + 9^3 + 10^3
Re:2017 is not just another prime number on Sunday January 01, 2017 @01:08AM (#13294872)
Reminds me of "Interesting number paradox" :p This can be considered as a proof that every number is interesting.

IMHO, being a prime number might give 2017 some advantages, and 2017 might be a slightly more interesting than most of prime numbers.

Re:Image Synthesis from Yahoo's open_nsfw on Saturday October 22, 2016 @04:29AM (#12767808)
https://github.com/tjwei/play_nsfw I have some experiments along this line.