Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moefh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
moefh
1y ago
I think the difference is that if you write a blog post complaining about the silliness of these labels, you don't get people telling you that no, you don't get it, it's totally fine, these are just aspect ratios.
62.
▲
by
moefh
1y ago
> There's an issue this highlights [...] there's clearly a lot of knowledge held in silos. I think the real issue this highlights -- which is something everyone knows and still everyone does -- is that people love to spread and
63.
▲
by
moefh
1y ago
> blue + red = yellow (87%) -- rgb, neat Blue + red is magenta. Yellow would be red + green. None of these results make much sense to me.
64.
▲
by
moefh
1y ago
Exactly. In my experience, it's not just Ultimate Guitar, all of these sites with chord progressions assume you already know how the music sounds. They're not enough for someone to lean a song having never heard it, so they'r
65.
▲
by
moefh
1y ago
So if I understand correctly, this[1] is what they did? [1] https://xkcd.com/882/
66.
▲
by
moefh
1y ago
Not OP, but here's an example of "random code" inserted by the compiler[1]: note the assembly instruction "ud2" ("invalid opcode exception" in x86 land) instead of "ret" in not_ok(). You might th
67.
▲
by
moefh
1y ago
> Passing pointers to the middle of a data structure. For example, free takes a pointer to the start of an allocation. The management structure appears just before that in memory; computing the address of which appears to be undefined be
68.
▲
by
moefh
1y ago
> I see that as the smallest and most likely concession for you to make, assuming you can be intellectually honest, not because the fine being disproportionate is the full extent of my stance. That would make sense for someone with all t
69.
▲
by
moefh
1y ago
I have no idea, and I'd have to know more context before thinking my opinion matters. For example, just off the top of my head: (1) What are the fines for comparable things in other countries (in an out of Europe)? (2) "Bendels ha
70.
▲
by
moefh
1y ago
It's hard to say without more context. Maybe that was not hist first fine, it just got to that amount after a few "satirical statements" and lower fines.
71.
▲
by
moefh
1y ago
> Seven months for that seems insane to me. It is, but see what the article has to say about that (translated with google translate): > Among other things, they complain about the inappropriate severity of the justice system against a
72.
▲
by
moefh
1y ago
> The court concluded that Bendels had altered the lettering and deliberately created the impression that the Interior Minister had made a corresponding statement on freedom of expression. > [...] > What is left unmentioned, howeve
73.
▲
by
moefh
1y ago
> once you send the money it is gone with no contest possible That's not true; PIX requires your bank to provide a way (called "MED"[1]) for you to request a reversal up to 80 (!) days after a transaction. It can only be u
74.
▲
by
moefh
2y ago
Ah, I understand you now, you're right. I remember there was a lot of confusion when llvm started removing stores to read-only memory[1], some people got angry because it broke some kernel code (that only worked because being in a kern
75.
▲
by
moefh
2y ago
I'm not sure what you mean. In `writable()`, there's no read-only data; `s` is a non-const char array (it has to be static because the function returns a pointer to it). The string literal is only there to tell the compiler how to
76.
▲
by
moefh
2y ago
It might crash, or it might work as naively expected, or it might do something else. For example, clang started simply omitting writes to data it knows to be read-only (which is allowed because these writes are undefined behavior, so anythi
77.
▲
by
moefh
2y ago
The same is trivially true for C++: https://godbolt.org/z/h5znfchf8
78.
▲
by
moefh
2y ago
> Why is a seven-note scale called "diatonic" anyway The prefix of "diatonic" is "dia" ("through"), not "di" ("two"), but nobody really knows what exactly its origin (διάτονος,
79.
▲
by
moefh
2y ago
Are those instances of undefined behavior relevant to what's being discussed here? The vast majority undefined behavior people argue/warn/complain about, including the original article, is behavior that is explicitly defined
80.
▲
by
moefh
2y ago
I don't doubt what you're saying is true, I have heard similar things many many times over the years. The problem is that it's always stated somewhat vaguely, never with concrete examples, and it doesn't match my (perhap
81.
▲
by
moefh
2y ago
Is there any MCU where `size_t` is 16 bits but `int` is 32 bits? I'm genuinely curious, I have never seen one.
82.
▲
by
moefh
2y ago
> [...] doesn’t change the fact the show is being edited on Macs. Which makes me not see the point in the article. I don't know what else to say, other than to show again this full quote: "These editors aren't working on M
83.
▲
by
moefh
2y ago
One more time, I'm not arguing for the article's point -- as I wrote, I have absolutely no experience with video editing, so I have no idea what are the demands regarding hardware/software. I was simply clarifying "what&
84.
▲
by
moefh
2y ago
I have absolutely no experience with video editing, so I can't say if it's good or not, but the point the article is making is very clear: Put another way, if Stiller's team was building this for Amazon or Netflix, woul
85.
▲
by
moefh
2y ago
This is really cool! A small suggestion for improvement: the labels of the black keys currently don't match their function according to the key signature. For example, in F major the black key between A and B should be called Bb, not A
86.
▲
by
moefh
2y ago
Yes, that's the point: the numbers are used as both indices and offsets. To any musician or music student, moving from G to B is "going up a (major) third", even though it's obviously going up by 2 notes. The name of tha
87.
▲
by
moefh
2y ago
That sounds reasonable at first, but humans are messy and so the distinction is not always clear. For example, in music we use numbers for the notes of a scale (G is the 5th of C, because in the C major scale: C=1, D=2, E=3, F=4, G=5, A=6,
88.
▲
by
moefh
2y ago
As far as I know, any Pico 2 currently sold carry the RP2350A: 30 GPIOs, no internal flash since the board carries an external flash chip. (BTW two of the variants are called RP2354 and not RP2350, the last digit means the amount of interna
89.
▲
by
moefh
2y ago
> when you have a microcontroller pin and you configure it as an input, you expect it to SINK current (as in, take voltage 'in'). That's not how it works; input does not mean sink current. An OUTPUT low sinks current, and
90.
▲
by
moefh
2y ago
They have never clarified what they're doing that is not really selling data but legally "could be considered selling data". I understand that's how they tried to spin it, there's a very telling update[1] written
More ›