HNHacker News
TopNewBestAskShowJobs

dragandj

3,155 karma · joined January 6, 2013

submissionscomments
dragandj··on What I wish someone had told me about tensor computation libraries
Let me chip in with some self-promotion.

This book explains and executes every single line of code interactively, from low level operations to high-level networks that do everything automatically. The code is built on the state of the art performance operations of oneDNN (Intel, CPU) and cuDNN (CUDA, GPU). Very concise readable and understandable by humans.

https://aiprobook.com/deep-learning-for-programmers/

Here's the open source library built throughout the book:

https://github.com/uncomplicate/deep-diamond

Some chapters from the beginning of the book are available on my blog, as a tutorial series:

https://dragan.rocks

dragandj··on AirPods Max
Sometimes I'm even convinced that Apple is absolutely right in squeezing their captive users of every damn penny (or grand) they can squeeze. They should charge even more. (The customer is always right, especially the addicted one).
dragandj··on Would you be willing to fund a Linux port to Apple Silicon?
They DO sell desktop chips with AVX-512. I'm writing this from one: i9-9900X.
dragandj··on macOS unable to open any non-Apple application
Yes, overused statements; but all true nevertheless.
dragandj··on macOS unable to open any non-Apple application
Most people trade their freedom for more convenience, but we don't think how we put all our eggs in one basket that we don't control at all. All Apple users are at the mercy of a megacorp. Better don't offend someone online, your Mac may be cancelled...
dragandj··on Did Neanderthals go to war with our ancestors?
If I remember correctly, this is only true for European population. That's where Neanderthal lived, and several times bred with Homo Sapiens.
dragandj··on What language do people speak in the Balkans, anyway? (2019)
There are no spelling bees here. We learn to read and write (with two alternate scripts, Latin and Cyrillic) in the first grade, and that's it. It's easy, unless someone has dyslexia, or a similar condition.
dragandj··on What language do people speak in the Balkans, anyway? (2019)
Funnily enough, for Serbian (Croatian etc.) speakers, Russian sounds very archaic, probably due to lots of Latin, Greek, and German loan words in Serbian.
dragandj··on What language do people speak in the Balkans, anyway? (2019)
> The running joke of Bulgarians is that Macedonians are really Bulgarians with a fake history.

Funnily, the equivalent running joke in Serbia is that Macedonians are Serbs with a speech disorder.

dragandj··on How to count every language in India (2018)
Hmmm, I'm from South-East Europe, and the only times I remember hearing a lot about cricket is from Lewis Carroll, and from Indian news. I'm not how many people in Europe, North America, South America, Africa, China, etc. know that cricket exists. They don't care much about hockey either (the grass one), so you might be right, but only because 0.0001% is larger than 0.00001% :)
dragandj··on I am seriously considering going back to desktop computers
13 (and the most important one). Desktop computer can be used at the desk. I don't have to carry it around, nor it distracts me from my "non-computer time" elsewhere.

Desktop computing FTW.

dragandj··on Principles of Data Oriented Programming
FYI Clojure supports GPU processing since 5 years ago.

https://github.com/uncomplicate

dragandj··on Strapped startup declines acquihire, Apple poaches key engineers; NP, says court [pdf]
Horizon 2020? Yes, lots of paper was pushed and lots of fantastic reports written. It promised more breakthroughs and discoveries, but it only delivered tons of reports printed on dead trees.
dragandj··on Publishers worry as ebooks fly off libraries' virtual shelves
Homer was not one person. It's probably an archetype representing several (or many) ancient Greek bards singing heroic epics from village to village for several centuries, until it was written down. The interesting part about the writing down is was that it was a well paid, large scale, effort sponsored by the city state of Athens. A sort of highly important, and well funded, state propaganda of the time. So, if it were for people working for the sole motive of good writing, we wouldn't even know that these epics existed, since they would have been long forgotten, just as many other oral folk epics around the world.
dragandj··on Students Left Behind by Remote Learning
I'm not sure how a totalitarian regime is atheist. It simply replaces gods with the supreme leader, who is like a god, but worse, since the supreme leader exists. Soviet communism was a religion 100%.
dragandj··on Students Left Behind by Remote Learning
Coming from a similar socialist state, I don't see that time (logistics, individual examinations etc.) as wasted: I read lots of comic books under the table and played various individual/group games during that time :)
dragandj··on Comments by a developer inside the Windows Media Player source code
Well, if anyone is still using screensavers in 2020, there is a good chance they’re running a 90’s system too :)
dragandj··on Toward a “modern” Emacs
But that is certainly not only possible, but available today in Emacs. It's here. Use it and evangelize it if you like.
dragandj··on Toward a “modern” Emacs
How many typical Notepad users use ANY shortcuts as the basic keyboard operations? I'd say a tiny minority. A typical Notepad user that I've seen uses the mouse exclusively, and clicks around menu. Yes, that includes copy, paste, and save, the three operations that you'd think everyone would perform on keyboard. But, say, 50% of the users don't even do that. For 40% these three shortcuts are pretty much everything they do on the keyboard. The rest is the mouse. Perhaps, 10% are the users who only ever open Notepad, and try to use muscle memory from a more powerful editor.

Is that bad? No! From the perspective of unlearning, it's ideal! The problem that Emacs has is not so much that tyical Notepad users have to unlearn a ton of stuff, it's that they are not so eager to learn anything keyboard-oriented.

No amount of crippling Emacs would help there. It can only spoil it for existing happy users. As people mentioned in this thread, there are things that are aging (large files, freezes, whatnot) but the keybindings is something Emacsers actually like.

dragandj··on Toward a “modern” Emacs
Perhaps, but out of the million and counting know-alls, who:

1) claim they know a thing or two about emacs

2) claim that the biggest problem emacs has is CUV

3) demand that change from the core Emacs team

exactly zero people created a CUV-emacs configuration, and gifted it to the world.

I think that's telling.

Keep in mind that all three combinations are central to Emacs

1) C-c is used in million combinations 2) C-u too 3) C-v scrolls a page down.

dragandj··on Toward a “modern” Emacs
In Emacs, you can configure literally anything, including the keybindings. Some people use Emacs with Vim keybindings (Evil, Spacemacs, Doom).

Now, for me, typical Emacs keybindings, of which the majority is defined in 3rd party packages are very logical, while Vim's are not. But the users who prefer the Vim way did they work and configured Emacs however they liked.

OTOH, of the million people who complain and ask for Ctrl+C for copy and Ctrl+V for paste and whatnot, I've never seen anyone who did the 2 minutes or two hours of work, went into a configuration, and changed these keys. Why's that so, if that's such a great idea?

dragandj··on Toward a “modern” Emacs
For the first point, use emacs service + emacsclient. Starts instantly.
dragandj··on Toward a “modern” Emacs
https://github.com/bbatsov/prelude
dragandj··on Toward a “modern” Emacs
> it teaches me is some odd-for-me commands to navigate that as a user are all new and unlike every editor I've used.

That is the point. If it worked the same as every editor you've used, why switch? The point why Emacs is better is because it's different. These things need to be learned. Otherwise, Emacs can't help you.

It would be like people complaining that playing a guitar is different than pushing the play button on every music player they've ever tried. Well, yes, that is the point.

dragandj··on Laid Off, Now What?
AFAIK, marying a citizen gives you a straight path to resident papers and, later, citizenship, in the western world, including USA.
dragandj··on Fast.ai and why Python is not the future of ML with Jeremy Howard
No. You don't use cuda/c++ as it is used from Python. You use cuda/c only in kernels. That is compiled dynamically, in process, from Clojure funcion calls, and 95% of related code is the management code, which is written in Clojure. There is no separate C++ build. You never touch any C++ tools such as CMake or anything. You work dynamically from the Clojure REPL.
dragandj··on Fast.ai and why Python is not the future of ML with Jeremy Howard
Both. See https://github.com/uncomplicate/bayadera too.

Whatever the language, you have to make function calls to cuDNN, because cuDNN is optimized by Nvidia, which put serious resources into it. Even if you wrote everything in C++/CUDA, you probably can't match it for the standard stuff.

The custom things that I write, I prefer to write in CUDA kernels + Clojure management code.

Clojure kernels are technically possible in the same way as Julia or whatever kernels are possible, but the thing is that you have to match low-level hardware features anyway, so CUDA C/C++ just makes more sense for kernels, which are tiny part of code anyway.

dragandj··on Fast.ai and why Python is not the future of ML with Jeremy Howard
This is because 99% of users know only Python, and C++ is too much for them. If the advanced stuff was available in the language they use, larger portion of users would write more advanced stuff.

I prefer Clojure for this. Even simpler than Python, fast, and enables me to match or even surpass the speed expected from mainstream tools.

See this for example: https://dragan.rocks/articles/20/Deep-Diamond-Deep-Learning-...

dragandj··on Nvidia Unveils GeForce RTX 30 Series GPUs
I have several nvidia GPUs of different generations on Linux, and Nvidia drivers + CUDA "just work". They are closed source - that's bad - but I don't get what people are complaining about related to "just working". They DO "just work" (Arch Linux, both package and BLOB install...
dragandj··on Banks create money, but it's less impressive than it sounds
I agree with you, but as a non-expert in the matter, I have to add that banks are heavily regulated in that regard and have to deposits certain reserves to central banks (depending on the country) for that privilege. It's not that they operate differently than LLCs while having the privilege of insurance. They pay a price for that privilege, and we can argue whether that price is too low or not.
← PreviousPage 5 of 30Next →