Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twawaaay
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
twawaaay
4y ago
I do agree, but listen... this is supposed to be handy solution. You know, my app already uses MongoDB, why do I need another component if I can run my notifications with a collection? Also, I am firm believer that you should not put actu
32.
▲
by
twawaaay
4y ago
Which is fine, queueing systems can't store infinity of messages either. In the end messages are stored somewhere so there is always some limit.
33.
▲
by
twawaaay
4y ago
MongoDB's change stream is accidentally very simple to use. You just call the database and get continuous stream of documents that you are interested in from the database. If you need to restart, you can restart processing from the cho
34.
▲
by
twawaaay
4y ago
As much as I detest MongoDB immaturity in many respects, I found a lot of features that are actually making life easier when you design pretty large scale applications (mine was typically doing 2GB/s of data out of the database, I like
35.
▲
by
twawaaay
4y ago
Except water in oceans is at 4C (at least almost everything deeper than ca 200m). And in the vicinity of 4C the thermal expansion is very negligible. This graph should explain why: https://images.app.goo.gl/FXzvTkPvE9dYxoU
36.
▲
by
twawaaay
4y ago
Not true. First of all, most of the temperature rise only happening close to the surface with average surface temperature rise being only about 1.5F or 1C since 1901. This article says deep ocean water is projected to warm up by only 0.2C d
37.
▲
by
twawaaay
4y ago
I fail to see the reason for why ban on revoking offers would cause 2x more interview rounds.
38.
▲
by
twawaaay
4y ago
There is only one reason the sea can rise currently due to weather and that is glaciers getting melted. Another reason (but not due to weather) is that when land somewhere goes up, it will displace water everywhere else. And so, for example
39.
▲
by
twawaaay
4y ago
I would add a bit of my own experience. Products like this are great. But if you already know the technology, know what is happening and you are using it to basically eliminate a bunch of coding or setup tasks that you would have to do. The
40.
▲
by
twawaaay
4y ago
Great. Here: https://en.wikipedia.org/wiki/Dark_forest_hypothesis
41.
▲
by
twawaaay
4y ago
Ups. "Dark forest" comes to mind...
42.
▲
by
twawaaay
4y ago
I am not convinced (I grew up on a farm). It is usually harder to get rid of any weeds when your crop is growing on the field. After harvest, you just get rid of everything, turn the soil (but I don't know anything about rice farming)
43.
▲
by
twawaaay
4y ago
I know Chinese harvest their rice up to three times a year. I don't see how perennial rice could compete. Harvesting normal rice is just grabbing entire plants, as many as you can grab at a time. I may know nothing about how harvesting
44.
▲
by
twawaaay
4y ago
No conflict here. You can own a piece of art that is racist or antisemitic without being racist or antisemitic. Also, in certain parts of Poland antisemitism is so pervasive that it is basically part of local folklore. So you try to go read
45.
▲
by
twawaaay
4y ago
Sure. A person singing a racist song might just be liking the song and not thinking twice about it. Doesn't change the fact the song is racist.
46.
▲
by
twawaaay
4y ago
So the way antisemitism here works is pretty much the same way it always did. The same way Nazis used. People assign certain qualities to Jews. They repeat the same ad nauseam in jokes, in caricature, etc. Rather than treat Jews individuall
47.
▲
by
twawaaay
4y ago
The "Jew with a Coin" is antisemitic. The coin is used in this case to symbolise greed which antisemites here automatically assign to all Jews. (I know, I am a Pole)
48.
▲
by
twawaaay
4y ago
There are strategies that seem to work but are burdened by a fundamental problem -- they just shift the risk. They bring steady results until an event happens that causes huge amount of loss. As a risk guy I can tell you basic thing about r
49.
▲
by
twawaaay
4y ago
I don't doubt it. (For background, I worked with financial risk and algorithmic trading and are now doing my own investments.) You can create strategies that return well above the market average. But there are caveats: * You have to kn
50.
▲
Cancer as a Mitochondrial Metabolic Disease
(youtube.com)
2 points
by
twawaaay
4y ago
|
0 comments
51.
▲
by
twawaaay
4y ago
Again, the ultimate goal is to make the code readable (without sacrificing too much other qualities like performance). When you have a language and context that makes recursion easier to understand than loop -- go for recursion. One other r
52.
▲
by
twawaaay
4y ago
Your question was, and I quote: > is there actually any chipset with the algorithmic ability to add more than 2 numbers altogether in one operation (without having to store intermediate results) I was just answering your question. I am n
53.
▲
by
twawaaay
4y ago
Chips have ability to run vector operations that can add a bunch of numbers. The issue is that recursion in software development is relatively rarely about arithmetic operation. For example, you might want to traverse a tree of objects (lik
54.
▲
by
twawaaay
4y ago
I don't understand where you come from with your argument. Recursion is also producing results that are "wrong answers" although I prefer to call them partial results. Just like a loop that is producing partial results as lon
55.
▲
by
twawaaay
4y ago
If you are looking if something is "surprising" then it is not surprising, by very definition. We know BHs should be pretty common. Earlier generations of stars were composed of larger and more short lived stars (due to their low
56.
▲
by
twawaaay
4y ago
> Transformations over Instructions Hell yeah! The problem with "functional" programming is that a lot of people simply don't get you want to push as much of your program to be generic tools that transform things (ie FUNCT
57.
▲
by
twawaaay
4y ago
Toslink switch. A kind of device that can switch a path between multiple inputs and multiple outputs. Mine has 4 inputs and 4 outputs and a remote that lets me select current input and output separately with two button presses. My inputs: -
58.
▲
by
twawaaay
4y ago
I think the answer isn't that simple. It depends. For me my M1 Macbook Pro has the following pros: * It just works. I detest Windows. I love Linux but lately I started spending too much time maintaining it, I have busy life and decided
59.
▲
by
twawaaay
4y ago
I also think so. Rather than move hydrogen, move the electricity or the iron. Produce hydrogen on site and even on demand to get rid of most of the need to store/transport it. As to cost, who can quantify me the risks of having and tra
60.
▲
by
twawaaay
4y ago
From a purely moral point of view, I don't think the morality of the decision to drop bombs on cities is in any way influenced by what actually happened after. It is only influenced by what happen up to this point and knowledge allies
More ›