Skip Navigation

Posts
52
Comments
1004
Joined
2 yr. ago

  • If it does more than allow you to edit text, then it’s an IDE. Semantic find and replace? IDE. “Go to definition”? IDE. Terminal in the same window? IDE. Git integration? IDE.

  • That’s also why deer hunters are fine wearing high-visibility vests. Deer can’t see them.

  • I don’t think believe using GPL will achieve anything. I am a professional developer. If I’m looking for a library for a problem and find one that’s GPL, then I will simply not consider using it. What are the options here?

    I could search for a different library with an MIT license. Let’s, for the sake of argument, assume that there are none.

    I could ask my boss if I can release all our source code to the public. Yeah, sure. That’s going to happen.

    I could ask my boss if I can have a bit of budget to haggle out a license with the library author. That’s a waste of time and money. Hammering out a license agreement across language boundaries and jurisdictions will involve a lot of lawyering and waiting that’s just not worth it. The additional fees would likely even outweigh the agreed payment to the author.

    So what’s left? I don’t use a library and program the thing myself. It might take a while, but I’m way cheaper than lawyers. So in the end, GPL won’t do a thing to force a business to support FOSS, but will annoy developers.

    That’s why, if I ever am in a position to meaningfully add to FOSS, it will be under the MIT license.

  • To your first question: The arguments to setTimeout and setInterval (and I believe everything else in JavaScript) are in milliseconds.

    Second question: Everybody, unless you’re a 90-year old, demented grandma.

  • TIL. I grew up with ‘suicide is bad, filicide is ok’. I guess the times are a-changin’

  • Aww man. I only found out about this recently :(

  • If your element has an id, you can just reference it from the window scope. The const page = is useless. Also the body has its own reference under document: document.body replaces document.querySelector('body')

  • Remember when they showed the same cube approaching again and again and again in the same scene for about 3 minutes?

    That was good television.

  • That’s why I don’t do them. As an added bonus, each new meal is pre-seasoned.

  • Reminds me of the time my whole website started spinning because I forgot to close a tag.

  • Gyroelongation sounds like a disease of a body part I don’t even have.

  • Fixing the typo (‘damage’ instead of ‘damaged’) would’ve gone a long way.

  • It’s way too easy to not see the assumptions you make when writing code. Having a mouse, usining a QWERTY layout, screen size over a certain width, … and it’s so fucking annoying to be on the receiving end of these assumptions. I feel you.

  • For 150 basically random strings I wouldn’t trust AI to not drop one or invent one or slightly change one. In this case multiline editing would be my go-to solution, hands down.

  • Why 2TB? Why during startup? Why does cryptography free the heap? Why is the data stored off-site?

    So many questions!

  • [Me, entering the office building] sniff Oh, $coworker is here today.

    And they got here 2 hours ago.

  • Hands

    Jump
  • Deleted

    Farmers

    Jump
  • You have it the wrong way around. Poorer countries cannot compete with massively subsidized, industrial-scale food production. It’s a known problem that African countries get their markets flooded with cheap European produce, since European farmers are incentivized to produce as much as possible. The surplus is exported.

    I actually had a different documentary in mind, but this source is what I have at hand right now. It’s German but the auto-translated English subtitles are accurate.