Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DNF2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
DNF2
4y ago
If you click on the timestamp ("17 minutes ago"), then you will be able to reply below the post. OK, I don't know that person's situation then, and cannot speak to it. But bullying is definitely against the community gui
62.
▲
by
DNF2
4y ago
I don't know anyone else who got kicked out (that takes a lot). But I know of a situation where someone walked out due to a non-political disagreement. Perhaps that's the one. I follow the community pretty closely, posters being
63.
▲
by
DNF2
4y ago
There's only one person who's been kicked out of the community (in the sense of being banned from the discourse forum), and that was not due to 'political beliefs', but repeated abuse and personal attacks. Anyway, how ca
64.
▲
by
DNF2
4y ago
I thought you could strip out LLVM now? I don't really know, it's above my pay grade.
65.
▲
by
DNF2
4y ago
Well, in many cases, dimension mismatch causes errors, not just lets you find them. And in fact, with the recently-ish introduced broadcasting behavior, you don't even get an error, just surprising dimensional-increasing behavior.
66.
▲
by
DNF2
4y ago
> I want Nx1 and 1xN to act differently. Yes. Of course you do. The problem is, you never know what you are going to get. What you actually want is a vector, but Matlab has no such thing, so then you have to write your code in a way th
67.
▲
by
DNF2
4y ago
This part of your criticism seems quite disingenuous. You're simultaneously criticizing them for not improving their code quickly enough, and for changing it too much.
68.
▲
by
DNF2
4y ago
Oh, Matlab is pretty bad. Everything is a matrix, that's horrific (especially the Nx1 vs 1xN ambiguity which pops up all the time). No default argument values (and until recently, no support for keyword args, though they have a bad ver
69.
▲
by
DNF2
4y ago
It _does_!
70.
▲
by
DNF2
4y ago
It is quite likely that you have fallen afoul of some of the standard performance 'gotchas', like non-const globals or inadvertently creating type instabilities. Have you consulted the Performance tips?: https://docs.ju
71.
▲
by
DNF2
4y ago
I'm not experienced with the SciML ecosystem, but they have apparently put huge efforts into improving compilation lag, and this has been going on for quite some time: https://twitter.com/ChrisRackauckas/status
72.
▲
by
DNF2
4y ago
If you are basically using finished code, your own code is mostly a top-level script, and you mainly need polished functionality and professional support, then Matlab toolboxes and support are very good. But the language itself is primitive
73.
▲
by
DNF2
4y ago
What do you mean? Are you praising them by making the comparison, or saying they are plagiarized? I really think you should clarify.
74.
▲
by
DNF2
4y ago
Then you should specify. You made a blanket statement about performance, while using the least commonly considered type. If you just say 'performance', most people will assume you mean throughput.
75.
▲
by
DNF2
4y ago
This seems like some sort of magical thinking. Some random person uses a particular word in a personal blog post (there's nothing official about this), and somehow this influences the technical merits of the subject of the blog post. C
76.
▲
by
DNF2
4y ago
You seem to confuse performance and latency. High performance is Julia's main selling point. Latency is its Achilles heel. It's being very actively worked on however.
77.
▲
by
DNF2
4y ago
No, this is not the fundamental meaning of an index, it is simply the interpretation that you are using to make it easier to deal with for you personally. In my opinion, the fundamental meaning of an index is a number referring to element
78.
▲
by
DNF2
4y ago
The starting offset is encoded in the type domain, btw, and accessible with the `firstindex` function. But you will still want to calculate indices at runtime, and then out-of-bounds errors will have to be caught at runtime anyway.
79.
▲
by
DNF2
4y ago
That means disallowing indexing with integers, I presume? Since an integer can take the values 0 or 1 equally. And what about the other end of the array. Must every index be restricted by type to be located in the acceptable range?
80.
▲
by
DNF2
4y ago
There are good arguments for using either 0- or 1-based indices. As you should be aware, there are many languages on each side. While preferring one over the other is perfectly fine, I question the intellectual honesty of anyone claiming in
81.
▲
by
DNF2
4y ago
How would static types help with that? Whether your indexing range starts with zero or one or something else isn't necessarily encoded in the type domain. `1:length(A)` is just a range of `Int`s.
82.
▲
by
DNF2
4y ago
What do you mean by 'mistake'? How are the Julia devs going to stop someone from defining arrays with configurable indices? Are you suggesting that the core language should somehow make this impossible? How?
83.
▲
by
DNF2
4y ago
I use Matlab daily, and the plotting is indeed excellent. But the language itself is a horrible kludgy mess. Most of the development time is spent on input parsing and contorting your code into a vectorized shape.
84.
▲
by
DNF2
4y ago
If Julia followed your recommendation, it would be irrelevant before it ever started. There is no way for a new language to be useful or relevant unless it brings significant improvements.
85.
▲
by
DNF2
4y ago
But it's not a matter of language design. The 'choose your own indexing' is something you do entirely in libraries. You can create your own indexing in python too, it will just be slow. The 'sin' of Julia is that it
86.
▲
by
DNF2
4y ago
Agreed, one cannot just expect this to be known. Does type annotations in Python actually catch type errors? I thought they were mainly for documentation.
87.
▲
by
DNF2
4y ago
So you live in a world where there's a fixed number of built-in types hard-coded into your library? I'm afraid that doesn't cut it in a modern programming context.
88.
▲
by
DNF2
4y ago
First of all, Julia does have union types. But how does that help when the caller gives you a user-defined type?
89.
▲
by
DNF2
4y ago
You list some reasonable criticisms, but how is 'immutable structs are more performant' a valid criticism? That's just because compilers can do more optimizations with immutables. Unless you want immutables to be intentionall
90.
▲
by
DNF2
4y ago
Multiple dispatch with external methods isn't a 'feature' of Julia, it is the central organizing principle that the whole language is built on. And among everyone who actually uses the language there is consensus that it is w
More ›