Recent submissions

Comment · 2 years ago
As a first pass definition it does well to explain the concept. Even if you're interpolating you will need to rank the samples and find the two nearest neighbours to interpolate between.

It serves to distance it from the moment-based statistics like mean and variance at least.

Comment · 2 years ago
The quartiles are defined by doing the sorting and splitting algorithm. So if you want quartiles (or any other quantile generally) you need to calculate it that way. The mean and standard deviation (sigma) are fundamentally different, which is why the image you linked shows them to contrast against the quantiles.

If you want to represent the standard deviation with your box plot, you can calculate it using standard formulas, many maths libraries have them built in. I don't know how to plot it using any graphing package though. ggplot, plotly and matlab all use the quantiles (the ones I have experience with). Perhaps where ever you learned to read them as mean and standard devation has a reference you could use?

> They are too random to be meaningful. It does not make sense to draw a box plot from that.

This can be a problem. In practice, the distributions I see don't go too crazy and are bounded (production rates can't be negative and can't be infinite). I prefer to use the 10th and 90th percentiles which are well defined and better behaved for most distributions. I do make sure it's very clearly marked on each plot though as it's not standard. Using the 1.5 x IQR cutoff is no better though as when you have enough samples you find that the whiskers just travel out to the cutoff.

Comment · 2 years ago
For what it's worth, you've convinced me that my beloved box plots need to be explained if I want to use them again.

The SVG you've provided clearly shows that the box plot splits the data in 4. The interquartile range (IQR) is clearly marked and it even has a comparison for what the standard deviation (variance) measure would be.

Secondly, if the data truly came from a normal distribution, there are no outliers. Outliers are data points which cannot be explained by the model and need to be removed. Unless you have a good reason to exclude the data points they should be included. This is why I like the IQR and the median, they are not swayed by a few wide valued data points. The 1.5*IQR rejection filter I think is lazy and unjustified. Happy to discuss this point further as it is a bug bear of mine.

Comment · 3 years ago
As I understand it, it's more that the mathematical functions aren't specified by the standard.

There is no sqrt instruction. So you stard with a taylor approximation, then maybe do a few rounds of Newton's method to refine the answer. But what degree is the taylor series? Where did you centre it (can't be around 0)? How many Newton's methods did you do? IEEE 754 might dictate what multiplication looks like, but for sqrt, sin, cos, tan you need to come up with a method of calculation, and that's in the standard library which usually comes from the compiler. You could make your own implementations but...

Floats are not associative: (a+b)+c != a+(b+c). So even something like reordering fundamental operations can cause divergence.

Comment · 4 years ago
Sure, punish the recklessness to remove the moral hazard. You can both make sure people don't starve and align the incentives. If you don't then next time it will be worse.
Comment · 4 years ago
I know this is a very late reply, but I'm curious. How often does it align that the functional argument that you want to specify is in the correct position of the argument list that you get to make use of this feature? The times that I need to partially apply are slim, and I don't believe it's consistent that they're on the same side all the time.

The lambda keyword is long which makes it a pain, but currying really is equivalent to specialised partial application right? People seem to love currying so much I feel like I don't understand something here.

For context I work a lot with java, R, and Python which all have anonymous functions and higher order functions, but are all decidedly _not_ "functional languages".

Comment · 4 years ago
Comment · 4 years ago
It's tricky. I find it a little sad that regional accents are disappearing but it's a process that's been happening for a long time.

The trouble is that there's real benefits for having certain accents and you can't fault someone for wanting to be seen in a different way.

Comment · 4 years ago
> Majority of the streams are gone.

In Australia that's typical for many reasons. Are you sure they're not just seasonal flows?

Comment · 4 years ago
Yikes, 260 character path names can be a real pain. Please support sensible path names or at least tell me why you can't read or write to a file. Often you just get a "can't write to that file" error message, or worse, "forbidden" so you spend an hour trying to debug the mess that is folder permissions on windows.

I'm not going to convince you to change your tool chain, userbinator, but for the sake of the discussion: Once you have multiple projects going on, with multiple components, and then those components have a small directory structure themselves, you can easily reach 260 characters. Add to that, if theres data coming from another org, a long file name can be very helpful to keep track of what it is (and don't forget 10-12 characters for a date!). And finally, the nail in the coffin: most users don't think about path names, I struggle to get people to not put periods in their filenames which messes with some tooling, how am I going to convince the guy in finance who gave me this data that he should use short file names? Should I modify the file name and make it untracable?

ETA: The "if you have to ask you've messed up", I don't ask, I expect and then get annoyed it broke. I had 10,000 files collected into a folder. Why can every other program tell me the list of files in an instant but windows explorer crashes (the whole desktop environment) because I opened that folder to see it. I'm not meant to do that? Then why can the kernel, the disk, the file system, and all other programs handle it with ease?

Comment · 4 years ago
I think the example problem has many issues with it which confuse the issue. There is a pervading assumption that more slices is better. What if Alice only wants 5 slices? Then her fall back is quite close to what she needs but also she doesn't mind how the pie is divided so long as she gets one slice.

It's not clear what everyone's utility function is. If a sales person is nearing a quarterly target, their utility function might have a giant kink in it, or if they're at the start of a period it might be very linear. The marginal pie, more often than not, has multiple dimensions which different agents care different amounts for.

Thankfully I've never been in a negotiation without a decent BATNA and so just chat about it until either we decide it's not going to work out, or we are both happy. People who negotiate too hard by playing stupid games and trying to max out themselves without any quarter given are tiring and push me to the first option. Why would I want to work with you if you're a pain to deal with before we even start?

Comment · 4 years ago
Comment · 4 years ago
A genuine question, from someone who doesn't have the option: would you prefer to have it banned?
Comment · 4 years ago
I've noticed a lot of turns at traffic lights are getting explicit red arrows. A solid green light without an arrow means that you need to give way to pedestrians and other vehicles if turning. It feels to me no one is looking any more, they just think green means go. I think it's because we've trained them out of thinking with too many constraints.
Comment · 4 years ago
Warning labels, perhaps not. But in Australia I cannot run Cat6 for "safety". I might electrocute someone with the 12V and must get a licensed professional to do the work for me.

A label warning that high voltage is inside is fine, a required label is quite ok, a fine because you didn't put the label on (even though it wasn't explicitly required) is a little bit of a stretch, banning modification is clearly an overreach (in my book).

There is a line somewhere, and drawing it too close to either end is harmful. So now we're arguing degrees, and not absolutes.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton