Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fedeb95
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
331.
▲
by
fedeb95
4y ago
I'm dealing with actual financial data and I don't think there are laws regarding exactly how you should deal with money in terms of specific algorithms. If you have any pointers...
332.
▲
by
fedeb95
4y ago
How do you handle divisions? Do you have any sources for what payment providers do? Genuinely interested.
333.
▲
by
fedeb95
4y ago
That fails often because the precision is set to 0. That means, as per BigDecimal javadoc, that results not representable exactly give an exception. That can happen in divisions. You don't want that with money since it always ends up r
334.
▲
by
fedeb95
4y ago
Sure thing. But how should I use BigDecimal optimally when performing operations between them? Which MathContext to set when dealing with money and specifically converting between amounts and percentages? I can't seem to find reference
335.
▲
Ask HN: How to handle financial calculations precisely?
18 points
by
fedeb95
4y ago
|
17 comments
336.
▲
Almost Patterns
(scriptkid.it)
1 points
by
fedeb95
4y ago
|
0 comments
337.
▲
by
fedeb95
4y ago
Nice game! It's fun. But L4 got me dead almost instantly, maybe avoiding this kind of situation would be an improvement. Or maybe not
338.
▲
by
fedeb95
4y ago
I'm a programmer and I also like art. My exposure to it, besides high school, has been going to exhibits, reading books and also practicing some photography myself. I think a good idea is start going to exhibits of both famous and unkn
339.
▲
by
fedeb95
4y ago
Risk is measured by multiplying likelihood with impact. A single setter, low impact, a single bug in lombok, or misused feature, impacts a lot
340.
▲
by
fedeb95
4y ago
Parenthesis: keep in mind that while learning by doing might be a good way to begin, even if I wouldn't be so sure as wether one "should" or "could" start along such a path, at some point you'll be stuck withou
341.
▲
by
fedeb95
4y ago
Vinyl is a collectible or a niche product that appeals to some people, like me. It's priced as such. I don't see how it could go mainstream. I think the author mistakes his own bubble for the "main"
342.
▲
by
fedeb95
4y ago
I don't agree on the fact that lombok has brought us out of the dark ages. We used to use it, but it has some drawbacks. One of them, it's an additional dependency. This, for a simple thing such as pojo, seems a bit overkill to me
343.
▲
by
fedeb95
4y ago
As a non native english speaker, I'm perfectly fine with my maybe-filled-with-some-errors-but-understandable-and-personal-english
344.
▲
by
fedeb95
4y ago
This doesn't say anything about that company. It says much, very much, about public institutions.
345.
▲
by
fedeb95
4y ago
The reason may be that people not using either in a professional environment tend to comment faster on HN. I agree that you must learn it at least a bit for web development. I occasionally have to fix some bug and so I learned it. Another m
346.
▲
by
fedeb95
4y ago
"as if"
347.
▲
by
fedeb95
4y ago
where experts are correctly identified So never?
348.
▲
by
fedeb95
4y ago
I don't like JavaScript, I don't like TypeScript, I don't like front end development at all. Is typescript worth it in my personal projects where I know all the code and they are pretty small? In my opinion, no. Is typescript
349.
▲
by
fedeb95
4y ago
A is subjective, but every person we asked about A agrees on B. See why induction isn't great in this context. This are the kind of things that make me close a web page.
350.
▲
by
fedeb95
4y ago
First of all thanks for the book recommendation which seems interesting. I think however that your conclusions are "a" way of looking at it, given certain circumstances, which I assume are yours. In many cases, work is indeed some
351.
▲
by
fedeb95
4y ago
yes, piling up dust under the carpet could have a cute name. You don't want to pile it in the first place though
352.
▲
by
fedeb95
4y ago
Sorry, I haven't mentioned that I mostly read old books (at least 100 years old usually) and very rarely new things. I think the only living author I've read is Taleb. History is a powerful filter.
353.
▲
by
fedeb95
4y ago
I have noticed the same, however my conclusion is different. Typically when you read a book, your average book has more signal than your average web article or blog post. That's because more filtering has happened, like time, editors,
354.
▲
by
fedeb95
4y ago
The best git UI is git from command line. There are edge cases when additional tooling on top of git will screw you up because it makes assumptions on what you want to do. I want to avoid those edges.
355.
▲
by
fedeb95
4y ago
Fishing (spinning is a technique that avoids touching live bait if that concerns you). Reading novels. Reading poetry. Making origamis. Taking long walks. Recently, trying to translate "Also sprach Zarathustra" without prior Germa
356.
▲
by
fedeb95
4y ago
The paper is indeed interesting and a good starting point, thanks for that. It also has some references worth checking out. However it is rather informal in its reasoning, I have yet to find papers that try to formalise a bit this kind of p
357.
▲
by
fedeb95
4y ago
In software very long lived (I'm talking 20+ years) you don't have space for such questions; can something still be done to reduce fragility?
358.
▲
by
fedeb95
4y ago
That may be true, but: many, myself included, live in a world where only so-so design is allowed, with many teams touching many products, often with different people, bad decisions, and pushing managers. Can something be done under this con
359.
▲
by
fedeb95
4y ago
That's interesting. Where can I follow your work, if I may ask?
360.
▲
by
fedeb95
4y ago
Thanks, I will check it out better later, but it seems about runtime failures of complex systems, for instance because of stress or emergent behaviours. My goal is to find that fragility that is somewhat static, for instance: I have a bug i
More ›