Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dragandj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
751.
▲
by
dragandj
9y ago
This is a terrible advice, and is not even necessary. Even println debugging is better than this. Not only defs are abused contrary to their intended use, they are difficult to distinguish from legitimate defs, and thus some may (and will!)
752.
▲
by
dragandj
9y ago
Clojure also has better debugging experience. This is a bare-bones workflow of a guy who doesn't use the best tools available in Clojure.
753.
▲
by
dragandj
9y ago
You actually learned dancing by having someone telling you the steps? What dance exactly, and how did they explain the steps? What skill level did you achieve?
754.
▲
by
dragandj
9y ago
There are also things that clj has and cljs doesn't have and this is the top-class virtual machine. lots of us really appreciate JVM, and are not impressed at all by node, and especially its ecosystem.
755.
▲
by
dragandj
9y ago
There is no direct replacement, because there are different libraries tackling different aspects of what you may need: high performance computations, data munging, distribution, probability stuff, ML, deep learning etc. Most are on github,
756.
▲
by
dragandj
9y ago
You cannot learn dancing by singing, whatever preferences you have. You have to dance. That's what the article is about.
757.
▲
by
dragandj
9y ago
Incanter is not the only game in town, FYI.
758.
▲
by
dragandj
9y ago
Regarding the second point, why didn't you just define your own let macro? As a Java->Clojure guy I find better readability of Clojure's let compared to CL's support of transpose an acceptable tradeoff, but the point of be
759.
▲
by
dragandj
9y ago
In Clojure, you do not need (and should not) restart JVM to run unit tests. You evaluate them (manually or automatically, from the prompt or a file) inside your REPL.
760.
▲
by
dragandj
9y ago
The clojure example is really (* 6 4) since * is already a function, not an operator as in most languages. On the other hand, you can trivially create a macro that would implement the exact es2015 syntax (or at least a very close match), bu
761.
▲
by
dragandj
9y ago
David, you have to put more bugs in ClojureScript - we need way more questions on StackOverflow ASAP! :)
762.
▲
by
dragandj
9y ago
It took me an afternoon to get used to the prefix notation (not to parentheses; those are used even in python), and after that afternoon I would refuse to program without it. Makes the code way more regular.
763.
▲
by
dragandj
9y ago
How easy (or even possible) is it to use proprietary libraries such as MKL or CUDA or GPU drivers with Guix/GuixSD?
764.
▲
by
dragandj
9y ago
[1] is actually AMD's old libraries. Judging by dev activity, it seems to be abandonware in favor of https://github.com/RadeonOpenCompute which is itself not ready for prime time.
765.
▲
by
dragandj
9y ago
There are even better independent open-source equivalents for some of those, but that is not the point. Good luck compiling some of AMD's clMath libraries without issues. Then, you're "just" left with packaging them prop
766.
▲
by
dragandj
9y ago
ECC memory (not that everyone really need that)...
767.
▲
by
dragandj
9y ago
CUDA is getting support from AMD in the form of HIP. In my opinion, the problem is different: even if AMD supported CUDA proper, that still won't lead them anywhere because the reason people use Nvidia is not so much CUDA itself (altho
768.
▲
by
dragandj
9y ago
You may also check out the web homepage: http://clojurecuda.uncomplicate.org
769.
▲
ClojureCUDA
(github.com)
5 points
by
dragandj
9y ago
|
1 comments
770.
▲
by
dragandj
9y ago
Because there is competition that have never done anything bad like SF, that offers better products. Would you buy your groceries at Al Capone's, while there's a grandpa's groceries just right next door that offers better, ch
771.
▲
by
dragandj
9y ago
It has bindings for OSX, Windows, and Linux. Works fine on my Mac.
772.
▲
by
dragandj
9y ago
Source code: https://github.com/uncomplicate/neanderthal
773.
▲
Show HN: CUDA and cuBLAS matrices in Clojure
(dragan.rocks)
1 points
by
dragandj
9y ago
|
0 comments
774.
▲
by
dragandj
9y ago
They can do whatever they want, many people won't touch them for the rest of their lives, I'm among them.
775.
▲
by
dragandj
9y ago
What are you going to do if your Kotlin app has some problems? Call Google on the phone? Write and email and expect an answer?
776.
▲
by
dragandj
9y ago
Move shift to spacebar (use spacebar for spaces also) and you're all set!
777.
▲
by
dragandj
9y ago
The problem with that in the USA is that you are burdened to prove that in court as a defendant, and you also have to pay your legal costs (lawyers etc.) even if you win the case . The costs are huge, so only the big guys have to afford de
778.
▲
by
dragandj
9y ago
IANAL, but... They owe you and it is a question if they can get it back to you, but the rightful owner has precedence in many (most?) cases. That's the setup for many kinds of scam. The scammed party buys something, but the transaction
779.
▲
by
dragandj
10y ago
It is if you happen to buy stolen property. You might not be held responsible for stealing, but you'll have to return the property and say good buy to the money, I think.
780.
▲
by
dragandj
10y ago
If the intended result is some kind of scientific presentation then kinda yes. If I am writing a classic software code, then I do not see how \alpha is better or more readable than, well - alpha.
More ›