• 22 Posts
  • 909 Comments
Joined 3 years ago
cake
Cake day: August 4th, 2023

help-circle




  • TootSweet@lemmy.worldtolinuxmemes@lemmy.worldTrue story.
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    Python rebuilds don’t cause (noticeable) problems for AMD64 Arch Linux.

    And any time anyone offers any kind of help on the Arch Linux Arm forums to try to help resolve the issue, the admins ignore and/or lock the thread. They’re not open to help and the people on the forums are super frustrated about it.



  • Well, to say “the voltage differential between A and B is positive” is saying exactly the same thing as saying “the voltage differential between B and A is negative”.

    There is such a thing as voltage differential. And the voltage potential at one electrode can be higher than the other, or the voltage at one can be lower than the other. But given that “voltage” isn’t really a thing except in relation to something else, there’s kindof no such thing as “negative voltage” or “positive voltage”. Just voltage relative to some other electrode.

    And if the voltage of one line is higher than the voltage of a reference (“ground”), then the voltage is said to be “positive”. If it’s lower, it’s said to be “negative”.

    I don’t think “negative voltage” is any less a thing than “positive voltage”, really, but neither one is really a thing except in relation to a reference. Which is to say you can’t connect a single electrode to an instrument and measure the voltage of that single electrode. That would be meaningless to try. You can only measure the voltage of an electrode by connecting your instrument the electrode and a reference.

    Hopefully that clears it up.


  • I’m not an expert, but I think I know what the deal is.

    First off, the voltage of a single line has no meaning except relative to the voltage of another line. (Just like, say, “in motion” or “at rest” have no meaning except relative to a frame of reference. “At rest” relative to, say, the earth or the sun or the galactic center or car interior or whatever.) If you step on one rail of an electric rail line, nothing happens. You don’t even feel anything. If you step on the other, similarly nothing. If you bridge both, <southpark skier voice>you’re gonna have a bad time</southpark skier voice>.

    “Ground” isn’t zero volts in any objective sense. And Vcc isn’t 5 volts (or 3.3 volts or whatever) in isolation.

    And in fact, it’s only convention that ground is arbitrarily labeled “zero” and Vcc is 5 volts rather than Vcc being labeled zero and ground being labeled -5 volts. (Ok, it’s a little more than just convention. The latter would be awkward in practice. But it would be consistent, and you could do all your circuit design that way, just like if you labeled the white keys on a piano “Z”, “Y”, “X”… instead of “A”, “B”, “C”… You’d just have to think differently about it to make it work.)

    So, I think what’s going on here, and we’ll pretend “Vcc” is 5 volts (relative to ground) just for the sake of this example, is that basically:

    • The voltage differential between ground and Vcc is 5 volts.
    • The voltage differential between Vee and ground (and the order in which I list “Vee” and “ground” here is important) is 5 volts. (If I listed “ground” and “Vee” the other way around, it’d be -5 volts.)
    • The voltage differential between Vcc and Vee would be 10 volts.

    So, for instance, if the device has some components that operate at 5 volts and some that operate on 10 volts (I dunno, let’s say the CPU requires 5 volts, but the… I dunno, optical drive motor?.. requires 10 volts), you can get 5 volts by using Vcc as my source and ground as my sink, and you could get 10 volts by using Vcc as my source and Vee as the sink.

    That all make sense?

    And to one of your specific questions:

    Is this a figure of speech or can voltage actually have a negative value?

    So, what qualifies as “negative” and what qualifies as “positive” is just convention. Just like what qualifies as the “north” end of a magnet and what’s “south” is convention. (I guess “north” and “south” refer to which direction a magnet points when used as a compass, but then again which end of the Earth is “north” and which end is “south” is just linguistic convention as well.)

    In the same way, what we label “positive” voltage and what we label “negative” is convention. However, we do have an established convention with voltage. (And with poles of a magnet.) Just because we “made up” what qualifies as “positive” or “negative” doesn’t mean there’s any disagreement on the topic. So unless you purposefully switch your language just to be contrary, you’re not going to get funny looks or requests for clarification using the terms “positive” and “negative” for electrode voltages.

    However, if line A has a lower voltage than B (and what’s “lower” or “higher” is convention) we can say that the differential between B and A (again, order is important) is negative whereas the differential between A and B is positive.

    The analogy between voltage and pressure only goes so far, but in this case I think it’s helpful. If tank B has higher pressure than tank A, you can say the pressure differential between B and A is negative. Similarly, you could say that the air pressure differential between sea level and the peak of Mt. Everest is negative. (Though, with pressure, there is such a thing as “absolute zero”. “Perfect vacuum” is technically a meaningful concept. I don’t think there’s any such thing as “absolute zero” for voltage. Only “differences” between voltages on different electrodes.)


  • People have showed up here on Lemmy reporting having been banned from Reddit (and for bullshit reasons) left and right now-a-days.

    It’s true Lemmy isn’t as active as Reddit, and I definitely miss some Reddit communities I used to be part of. (I wasn’t banned. I quit more on a “boycott” basis.) But Lemmy has its own strengths.

    I’d recommend using the “new” sort and the “all” filter frequently. It’s a good way to find communities. New/all has been most of how I browse Lemmy for a long time now.










  • So, I think I kindof know what you’re getting at here, but you’re not being very precise about it.

    First some definitions (just for purposes of this conversation – don’t take this to be any assertion that a particular term always inherently has a particular meaning, it’s just a tool for this conversation specifically):

    • Character: a single unicode character.
    • Plain text: unicode text absent any formatting.
    • Source: the plain text to be fed into a Markdown renderer to produce rendered output.
    • Rendered output: the formatted output of a Markdown renderer, as displayed to an end user.
    • Editor: any computer program or component of a computer program for the entry of plain text.
    • Line: text (plain text or rendered output, depending on context) rendered at the same vertical position.
    • Line break: the point at which text (either plain text or rendered output depending on context) starts rendering on the next line because of a newline.
    • Newline: a character that always forces a line break in an editor. (Remember “editor” is only about plaintext, so a newline doesn’t necessarily force a line break in rendered output.)
    • Wrap: the point at which, absent a newline, text starts rendering on the next line due to column width constraints.

    (As an aside a line break is sometimes accomplished with a “line feed” character. A “carriage return” character is something else that isn’t the same thing. Which is a big part of where the confusion comes from.)

    What you’re saying, I think, is that putting a single newline in the source doesn’t result in a line break in the rendered output. Is that right?

    In some editors (Vim being one I know of), when plain text word wraps, pressing “down” when the cursor is on the first line of a wrapped series of lines causes the cursor to jump not to the second line of wrapped text, but to the first line after the next newline. To illustrate:

    If this line is wrapped due to
    being wider than the available
    width.
    And if this line is on its own line
    due to being immediately preceeded
    by a newline.
    

    If your cursor in the above example was on the “w” in the first line there, pressing down would take the cursor to the space immediately before “is” in “And if this line is on its own line”.

    As a result, it can be quite a pain to deal with word wraps in such editors. This is part of why certain code style guides (like this one and this one have hard limits for how many characters are allowed before the next newline.

    Given how much more convenient line breaks can be than word wrapping, people writing source to be rendered into rendered output may wish to be able to insert newlines to cause line breaks in the source without causing any change in the corresponding rendered output.

    That all make sense?

    At least that’s most likely at least one reason why the people who invented Markdown decided specifically to make Markdown work that way.

    Edit: Holy Shit, look, I’m just an idiot typing text expecting WYSIWYG and I don’t see a good reason for why I’m not getting it other than that programmers lack theory of mind.

    I’m glad you’re not in charge. I very much don’t want to go back to the days of having TinyMCE embedded in everything.