wmeddie | 2 years ago | on: Destruction of nuclear bombs using ultra-high energy neutrino beam (2003) [pdf]
wmeddie's comments
wmeddie | 2 years ago | on: Common Lisp: An Interactive Approach (1992)
I still wish there was an environment more like Smalltalk for Python.
wmeddie | 2 years ago | on: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?
wmeddie | 2 years ago | on: Ask HN: How to handle Asian-style “Family name first” when designing interfaces?
Then think about what are the requirements your system needs when it comes to names.
Does the app need to know what a user's name is at all or is a username enough? Does it need to distinguish the family part of their name for anything?
A thing I think is the most general is to just have a Full Name field (min length 1 and either John Doe or something cute as default) And a Nickname or Display Name field if your app needs to show something on screen.
wmeddie | 2 years ago | on: Ask HN: Is it just me or GPT-4's quality has significantly deteriorated lately?
Unfortunately for this question, even using the browser plugin it wasn't able to get the answer: https://chat.openai.com/share/6344f09e-4ba0-45c7-b455-7be59d...
wmeddie | 4 years ago | on: NEC’s Forgotten FPUs
1) It is a custom instruction set, you can rean the ISA guide over at https://www.hpc.nec/documentation
2) The main difference in simple terms is that AVX instructions have a fixed vector length (4, 8, 16 etc). With the SX the vector length is flexible so it can be 10, 4, anything up to the max_vlen (up to 256 on the latest ones). Essentially the idea is you have a single instruction that can replace a whole for loop. Without a good compiler though that means you have to re-write your nested loops.
3) There's currently two options when it comes to the compiler, you can use the proprietary NCC or use the open source LLVM fork NEC has. NCC is less compatible than GCC/Clang (particularly modern C++17 is problematic) but has a lot of advanced algorithms for taking your loops and rewriting them and vectorizing them automatically. The LLVM-fork currently supports assembly instruction intrinsics but they are still working on contributing better loop auto-vectorization into LLVM.
4) Porting software is not terribly difficult to get working, but quite a bit harder to get performing very well depending on the type of workload. Since the Scalar core is pretty standard, you can almost always take regular CPU code and get it running (unlike GPU code in general). If you don't leverage the vector processor though, the performance you get will be nothing special, especially at 1.6GHz. Most of the software made for it starts off as being CPU code and is then modified with pragmas or some refactoring to get it running with good performance on the VE. In almost all cases the resulting code still runs on a CPU just fine. One example of a project that supports both in a single code-base is the Frovedis framework[1].
I think the chip deserves a little more interest than it does. It's one of the few accelerators that you can 1) Buy today, right now 2) Has open source drivers [2] 3) Can run tensorflow [3]. The lack of fp16 support really hurt it for Deep Learning but it's like having a 1080 with 48 GB of RAM, still lots of interesting things you can do with that.
[1]: https://github.com/frovedis/frovedis [2]: https://github.com/veos-sxarr-NEC/ve_drv-kmod [3]: https://github.com/sx-aurora-dev/tensorflow
wmeddie | 4 years ago | on: NEC’s Forgotten FPUs
wmeddie | 6 years ago | on: Japan Turns to Coal After Closing Nuclear Power Plants
wmeddie | 6 years ago | on: Ask HN: What is your ML stack like?
wmeddie | 6 years ago | on: How to Use User Mode Linux
wmeddie | 6 years ago | on: Smartphones and Dematerialization
wmeddie | 6 years ago | on: Fast key-value stores: An idea whose time has come and gone
wmeddie | 6 years ago | on: Pock: Display macOS Dock in Touch Bar
I also love the clicky feel of the keyboard so maybe I'm just special...
wmeddie | 6 years ago | on: Buying into the Emacs Platform (2018)
wmeddie | 7 years ago | on: Neanderthal vs. ND4J – Native Performance, Java and CPU
wmeddie | 8 years ago | on: Michelangelo: Uber’s Machine Learning Platform
wmeddie | 9 years ago | on: MacBook Pro
wmeddie | 9 years ago | on: Ask HN: To those who became fluent in a second language, what did you do?
wmeddie | 9 years ago | on: I've Been Waiting For The Oculus Rift, But Now It's Sitting In My Closet
I got my Oculus Rift a few weeks ago and absolutely love it. Practically use it every day. Lucky's Tale was surprisingly good, and I can no longer Elite: Dangerous without the headset.
There's not enough software at the moment. I still want to see a good flight simulator and Altspace-like spaces with actual things to do with people.
wmeddie | 10 years ago | on: Announcing SQL Server on Linux