Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
civility
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
civility
8y ago
Generics and operator traits ought to be orthogonal and composable. Would you still be comforted if the compiler didn't let you mix for loops and arithmetic in one function? I mean, even if it gave you a detailed error message...
182.
▲
by
civility
8y ago
I think he's saying one way to control misinformation is by applying censorship, with the obvious implication that censorship is undesirable. You take the good with the bad, whether that means freedom of speech and some misinformation
183.
▲
by
civility
8y ago
I assumed you were contradicting this quote: > This just means that the Rust language does not have the feature of being simple. I really don't know what it means for a language to be sane, so it didn't make any sense to me tha
184.
▲
by
civility
8y ago
I've used Rust. It's not simple. For instance, lifetime annotations are ugly and confusing. What a snarky reply from someone who already knows that Rust is not simple. The person you replied to was right, and yet you cast doubt
185.
▲
by
civility
8y ago
Rust also has features which interact in subtle and surprising ways. Generics and operator traits bumping into the "coherence" rules is my personal pet peave. I doubt any user would have predicted that interaction, and even thou
186.
▲
by
civility
8y ago
They aren't my audience... they're my coworkers. Sometimes I get to pick how we do a project and sometimes I'm there to help them with their project. If they chose to use threads, I generally try to escape quickly. No expe
187.
▲
by
civility
8y ago
Yes, small careful software teams can make threads work. However, if you start to work with physicists, mathematicians, electrical engineers, and so on who are incredibly smart in their own areas, but who don't have or even value a sk
188.
▲
by
civility
8y ago
I really wish XKCD would've gone back 400,000 years instead of only 20,000 for that strip. CO2 and temperature have been higher during the longer time frame, and it would be valuable for someone to explain the bigger picture adequatel
189.
▲
by
civility
8y ago
I do not have to recompile my C program every time I run it. Suggesting I'd want to include that is just silly.
190.
▲
by
civility
8y ago
I have the same complaint. I couldn't think of a polite way to put it, so this won't be polite, but whenever someone compares their algorithm with a poor version of a competing technique, it makes me question their integrity and
191.
▲
by
civility
8y ago
> Not all python programs are compatible with PyPy though. I'm not sure how this is relevant to my reply... I didn't say PyPy was a replacement for Python. I said PyPy, Lua, and JavaScript are existence proofs that dynamic &q
192.
▲
by
civility
8y ago
To each their own :-) You might like Tcl - associative arrays (hash tables), arrays (lists), strings, numbers, and code are all the one type (at least conceptually).
193.
▲
by
civility
8y ago
> The reason Python is slow is not incompetent programming or lack of magic. We know why that's happening. Because every variable in Python interpreter is a hash map and pretty much every operation is a hash map lookup. This statem
194.
▲
by
civility
8y ago
Other folks complain about the lack of libraries. Personally, the two things which turn me off on Lua (luajit) are 1-based arrays and the conflation of hash-tables and array-lists into a single thing.
195.
▲
by
civility
8y ago
> Your statement is a [sic] opinion. Yeah, that's why put a smiley there. :-)
196.
▲
by
civility
8y ago
> Generally math formulae are one based, the fft and the Taylor expansions being the major exception. What formulas do you regularly use which benefit from being 1-based? Note, I'm not asking for instances where the index doesn
197.
▲
by
civility
8y ago
A bunch of wrongs don't make a right :-) And honestly, it's because I do numerical programming that I value zero-based offsets. In addition to subscripting arrays (which I could do in any base), I use those subscripts in the math
198.
▲
by
civility
8y ago
Heh, because 1-based arrays are gross. I'm poking fun of course, but you really shouldn't underestimate how many people are turned off of Julia by this.
199.
▲
by
civility
9y ago
> compiler optimization will rarely make last year's program faster, but it will make next year's program faster. This doesn't follow. From your argument, last years and next years programs will run the same speed (about
200.
▲
by
civility
9y ago
Heh, I think we stepped in the wrong direction. I didn't mean to offend you. Take care.
201.
▲
by
civility
9y ago
> It's not. You want to know the most probable value of A. Nah, it's really not that simple. When I've done this in the past, I've needed both the mean (which is the mode for Normal distributions) and the variance, s
202.
▲
by
civility
9y ago
Yeah, the difference between lowercase p and capital P seems pretty important. Most places show capital P, so that's part of the confusion. There's more though. Lowercase p(B|A) seems to really mean p_B(h(a)), and that's no
203.
▲
by
civility
9y ago
Thank you for the reply. I spent most of the day talking to a coworker about this stuff, but I didn't see your message until just now. I agree about the abuse of notation, but even with your improvements, there is still plenty to be c
204.
▲
by
civility
9y ago
> I agree that probability notation isn't the best [...] There is so much hidden context in mapping Bayes' theorem to Kalman filters that I still have to cringe. First we've got the sub-expression "p(x_k)" in th
205.
▲
by
civility
9y ago
Thank you for your reply here, and the one below. I wish I had seen it before posting my sibling message to this one. I'm a bit too tired to go any further with this tonight, but I plan to look at your links tomorrow. Cheers.
206.
▲
by
civility
9y ago
In term 1, you say P(z_k | x_k) is a probability (which should be a scalar value between 0.0 and 1.0 inclusive). How did we get from the vector pdfs of measurement and estimate to a scalar probability? Maybe you meant evaluating a pdf at
207.
▲
by
civility
9y ago
> I'm not able to understand why any of that is bothersome. Ok. It's bothersome to me because Bayes gets trotted out in the context of Kalman filters as though it is shedding light on the topic or providing rigor to the approa
208.
▲
by
civility
9y ago
I appreciate the kind reply, but I don't think you understood the gist of my complaint. I have a degree (just undergrad) in math, and I've implemented Kalman filters, Kalman smoothers, information filters, particle filters and so
209.
▲
by
civility
9y ago
> It's just Bayesian inference to update the posterior. I've had this discussion with a number of smart people (math PhDs and so on) over the years, and I've never gotten a good explanation. I understand in the very abstr
210.
▲
by
civility
9y ago
On top of downvotes, you can say very toxic / abusive / condescending things and get away with it if you share the "correct" viewpoint, but unpopular views have to be exceptionally polite to avoid biased moderation. You
More ›