• 0 Posts
  • 49 Comments
Joined 2 years ago
cake
Cake day: June 6th, 2023

help-circle



  • 1 is also a number, a number we chose by convention to be a base unit for all numbers. You can break down every number down to this unit.

    20 is 20 1s. 1.5 is 1 and a half 1.

    If we have Pi as a unit, circumference of a circle would be radius*2 of Pi units. But everything that doesn’t involve Pi would be a fraction of Pi, e.g. a normal 1 is roughly 1/3 of Pi units, 314 is roughly 100 Pi units, etc. etc.








  • janAkali@lemmy.onetopissposting@lemmy.worldc posting
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    11 months ago

    Ew. I usually don’t use curly braced languages. But whenever I need to define collections on multiple lines I always put opening bracket on the end of the line and closing bracket on the same indent level as the start of the statement:

    let hello = [
      "Hello, there!",
    ]
    var
      a = true
      arr = [
        "line 1",
        "line 2",
      ]
    



  • janAkali@lemmy.onetoMicroblog Memes@lemmy.worldScript kiddies
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    3
    ·
    edit-2
    11 months ago

    Github is not a software distribution platform, it was never meant to be one. It’s a developer platform for code distribution and collaboration. And UI is designed around that.

    A lot of projects use it as a distribution platform, but they’re wrong - it’s always better to have a web page with simple download button for casual “ordinary” people.

    But, this case is special: this mostly harmless tool is designed and almost exclusively used to stalk / doxx / hack people =|. So, it’s not in developers interest to make it widely available and easy to install.







  • janAkali@lemmy.onetoProgrammer Humor@programming.devFLOSS communities right now
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    1 year ago

    only a small number will sign up for a specific forum

    Most people don’t have to sign-up, 90% of cases should resolve on just searching the problem. Good chances it was already asked and answered.
    Most of the time, forums with few users aren’t dead, they’re just really slow, whenever you post a question - expect at least 12-hour delay. I’ve never seen a message on Discord answered 12 hours later - you either get somewhat instant response or it’s ghosted forever. Also good luck asking questions if there’s heated/rapid discussion in the room, or you have a little time and other responsibilities other than checking discord every couple minutes.