HN user

danhau

454 karma
Posts0
Comments217
View on HN
No posts found.

I'm not an authority on this, but here's is my understanding - I'd appreciate if someone could correct my mistakes.

The baseline of 0.0 represents the average of all years. Anything above / below the baseline is a (standard) deviation from the average. The blue lines are the individual years since 1991 [1] while the red line is the year 2026.

If a line is above the baseline, then the sea-surface temperature was hotter on that day than average. If below, it was cooler than average.

The year 2026 is an outlier, dwarfing all the others starting around June / July. The Nino 3.4 sea-surface temperature is significantly hotter than any previous year during that time. New record, I guess?

[1]: I'm confused about the two date ranges given: 1982-2026 and 1991-2020. I'm assuming this graph is based on measurements from 1982-2026 to calculate the average, but the lines shown are only from 1991-2020, for some statistical reason I don't understand.

But think of those poor megacorps! How will they ever turn a profit without their precious algorithms? Invading every user‘s privacy is only morally right! What else could they, or governments, possibly do? Make line not go up? I shudder to think!

From your earlier comment:

It is saying that each of them can use the others body as they like, without regard for the other

This is your own interpretation and it shows your bias. The bible (and I assume other religious texts) is easy to misinterpret due to bias. It's not written like a technical documentation where the tiniest details are specified; thus giving plenty opportunities to subject a text to arbitrary meaning.

This was a problem even in biblical times. 2 Peter 3:16

as also in all of his letters, speaking in them of these things. In those, there are some things that are hard to understand, which the ignorant and unsettled twist, as they also do to the other Scriptures, to their own destruction.

The solution is study. Not superficially reading and guesstimating, but to study the text itself, the surrounding verses, the context. Who wrote it? Who's the audience? What, more broadly, are they trying to say? Crosschecking with other verses in bible. Things like that (See Proverbs 2:1-5, Psalm 1:2, Joshua 1:8, Psalm 119:97, 1. Timothy 4:15)

Coming back to the text in question (1. Corinthians 7:4). The surrounding verses provide context on what this is about:

To the unmarried and the widows I say that it is good for them to remain single, as I am. But if they cannot exercise self-control, they should marry. For it is better to marry than to burn with passion. Let the husband give to his wife her due, and let the wife also do likewise to her husband. Do not deprive each other except by mutual consent for an appointed time [...].

Put simply: "marry and enjoy sex." That's basically what the apostle Paul is trying to say here. But of course, that alone doesn't debunk your interpretation.

Paul also wrote Ephesians 5:28-33

In the same way husbands should love their wives as their own bodies. A man who loves his wife loves himself, for no man ever hated his own body, but he feeds and cherishes it [...] Each one of you must love his wife as he does himself; on the other hand, the wife should have deep respect for her husband.

Also vers 25:

Husbands, continue loving your wives, just as the Christ also loved the congregation and gave himself up for it.

There are further verses, but this comment is getting too long.

To nitpick:

'Panzer', of course, is a famous Nazi tank model

Panzer is German for tank, or armor. It‘s not referring to any model specifically, I don’t think, but I‘m not a historian.

Panzerschreck (spelled correctly) is something like „tank scare“.

But indeed, that GitHub page gives off the wrong vibes. Using this project will be tough, at least in Germany and Austria, lest you want to be suspected of Wiederbetätigung.

What you‘re looking for is called a low-profile TKL (tenkeyless aka. no numpad) keyboard. You might also like a 65%, which removes even more keys but still retains the arrow keys.

I think the idea is to avoid problems with functions or APIs that have side effects. You want to make sure you perform the task only once. Or you want to make sure you’re not burning money on some commercial API through redundant calls. It‘s not necessarily about performance, hence why the weather service example also uses an additional cache specifically for performance.

However, this rule cannot be shown to be universally good, regardless of interpretation

Subordinate yourself to those with authority in all things, except things that break or undermine any of the other rules.

Most bullies already know the world hits back, that's why they are acting out

Not in my experience. There definitely will be some problematic kids, but to the majority of school bullies, I don't think this applies. To recall two of my own experiences:

As a boy I was being bullied by a group of kids. Some day I snapped at them and decided to resolve the matter there and then. I didn't care they outnumbered me. I didn't care if I'd win or lose. I genuinely was ready to fight to the death (lol). But it never came to that. Showing some teeth spooked them and they left me alone after that. I remember the dumbfounded look on their faces. So while it didn't come to violence, the threat of violence scared them off.

On the other hand, when I was bullying a boy (I honestly don't know why), he eventually fought back. That really surprised me and I vividly remember how much respect he gained in my eyes for it. It was humbling. We became friends.

The best thing that can happen to a bully is their victim standing up for themself. Like the person you responded to said: "A boy who bullies needs to learn that the world hits back." The exception to this is kids with sociopathic tendencies (for lack of a better term) - kids that double down on their behaviour despite being confronted with the consequences. How a kid will respond is, I think, more of a function of their personality than the punishment received. But what do I know?

The slowing down thing sounds like a hack needed for engines that don’t give you control over the main loop.

I haven’t tried this yet, but for a custom engine I would introduce a second delta time that is set to 0 in the paused state. Multiplying with the paused-dt „bakes in“ the pause without having to sprinkle ifs everywhere. Multiplying with the conventional dt makes the thing happen even when paused (debug camera, UI animations).

Are there other XOR tricks?

Yes, error correction.

You have some packets of data a, b, c. Add one additional packet z that is computed as z = a ^ b ^ c. Now whenever one of a, b or c gets corrupted or lost, it can be reconstructed by computing the XOR of all the others.

So if b is lost: b = a ^ c ^ z. This works for any packet, but only one. If multiple are lost, this will fail.

There are way better error correction algorithms, but I like the simplicity of this one.

Austrian here. I scored 40 and 51, giving me a „Both“.

The Wittgenstein Result … Wittgenstein was Austrian, which is close enough.

Clearly I should have scored 100.

+1

Not too long ago, I used to think that Markdown was the Bee‘s knees. But having been forced to write some documentation in plaintext, I learned that plaintext is significantly more readable than raw markdown.

I think one of Markdown‘s biggest sins is how it handles line breaks. Single line breaks being discarded in the output guarantees that your nicely formatted text will look worse when rendered. I understand there are use cases for this. But this and the „add a trailing space“ workaround are particularly terrible for code documentation.

But many modern artists challenge these long traditions, creating statues of figures that are fully clothed. Consider Thomas J. Price’s “Grounded in the Stars”: a 12-foot, monumental sculpture of a woman standing in heroic counterpoise, wearing a T-shirt, leggings and comfortable shoes!

Looking at that modern statue, I can‘t help but be bored. It doesn‘t draw my attention. I think that’s because it depicts a normal, everyday clothed person. We see those everyday. It‘s something mundane.

A naked statue is more interesting to me. It‘s less a depiction of a person and more of mankind in general. It has an abstract but intimate quality, inviting to reflect (wow that sounds posh).

Programmers have enjoyed an occupation with solid stability and growing opportunities. AI challenging this virtually over night is a tough pill to swallow. Naturally, many subscribe to the hope that it will fail.

How far AI will succeed in replacing programmers remains to be seen. Personally I think many jobs will disappear, especially in the largest domains (web). But I think this will only be a fraction and not a majority. For now, AI is simply most useful when paired with a programmer.

One I can remember from the top of my head is "How to ACTUALLY Use Breath Support". Seemed like a good, in-depth explanation of a fundamental topic:

https://www.youtube.com/watch?v=MC1iJfWA1aQ

The channel I've watched the most videos on is Chris Liepe's. The video "STOP Singing Vowels this way! (its making you tense)" was in my singing playlist:

https://www.youtube.com/watch?v=yWimkesJDIc

I would still describe myself as a beginner, so please keep in mind that I can't possibly vouch for the quality or accuracy of any of these videos.

Oh and I forgot: I can play some instruments, but the voice is the cruelest one to learn. You can‘t „see“ what you are actually doing (wrong). And most of the time you can‘t even feel it very well. This why vocal training is full of analogies and imagery.

You can. That progression is normal. I know this because I am such a case. I wasn’t able to produce a single sound on pitch. Now I can nail some songs (as long as they don‘t go crazy on technique).

Learning to sing is taking control of your voice. You use the same biology that you have been using for speech and other vocal sounds since birth. It all comes built in. Of course it comes more naturally to some people, just like any other activity.

There are some decent videos on YouTube, but take actual vocal lessons if you can. Videos are not a substitute for lessons.

I don‘t like the posted page. The descriptions aren‘t very helpful and neither are most videos on YouTube. I know from experience. For a complete beginner, this is frankly a useless resource.

All of them, through software implementation, as assembly programmers have done since forever.

You simply choose the integer type that your problem or task requires. If the hardware genuinely can‘t cope with it (performance), you reevaluate your requirements, define new constraints and choose new types. This is basic requirements engineering, which C only made more convoluted.

How will you know if your integer type is adequate for the problem at hand, if you don‘t know its size?

Choosing the right type is a function of signedness, upper/lower bound (number of things), and sometimes alignment. These are fundamental properties of the problem domain. Guesstimating is simply not doing the required work.