[-] [email protected] 14 points 10 months ago* (last edited 10 months ago)

The rake has nothing to do with JS (which I agree is cursed, but for its own reasons, not this).

You have called a function in a way that does not give a consistent value (Date()). Such functions are hardly the preserve of JavaScript. You've failed to adequately deal with the range of values produced, with code that tries to insist that the "31st February" can be a meaningful date in February. You should accept that this is your mistake and learn to (better) avoid side effects where possible.

Also, the function isn't side effecty since it doesn't make implicit references outside its scope.

Edit responding to your edit:

Also, the function isn't side effecty since it doesn't make implicit references outside its scope.

The Date() function's output varies according to something other than its input (and even the rest of your program). Using its output without accounting for that variation means that your function, as originally written, also gives inconsistent return values, varying according to something other than its input, because it does, in fact, reference something outside the function. If it did not, the results would only depend on the monthNumber argument, and would always be consistent. I don't know what you call that, but I view it as a side effect.

As you have said, the rake is that months have different lengths, and you need to account for that. But that's not one of JavaScript's many issues.

[-] [email protected] 40 points 10 months ago

You want to create the date "31st February", but it's JavaScript that's cursed?

Write a less side-effecty function.

function getMonthName(monthNumber) {
    const date = new Date(2023, monthNumber - 1, 1);
    return date.toLocaleString([], { month: 'long' });
}
[-] [email protected] 14 points 10 months ago

Their physiology is barely diverged so their intellects are likely to remain similar. Espionage is frequently the theme of Romulan encounters, which would help keep them up to date. And if they procreate more frequently than every seven years, they might have a much larger population even with greater murderousness, with more people being advantageous for tech development.

[-] [email protected] 22 points 1 year ago

Attempting to master baiting in public should certainly have consequences, but covering it up isn't going to make them stop.

[-] [email protected] 30 points 1 year ago

Of course. I'm probably not the only one who thinks you like adding people to lists. Blaming your woes on the Others and treating them differently based on a mark they carry were just two of the clues.

[-] [email protected] 24 points 1 year ago* (last edited 1 year ago)

I believe, since it's a recruitment poster, the translation is "We seek programmers for a great mission."

  • Qu' = mission
  • Dun = to be great
  • -vaD = for
  • ghun = to program
  • -wI' = one who does
  • DI- = we — them
  • Sam = to seek
[-] [email protected] 13 points 1 year ago

Bad faith it is, then. Got it.

[-] [email protected] 14 points 1 year ago

I know you deleted your earlier nonsense, but I saw some of it first, so I know how out of touch you are. You were wrong about how much wealth people have, but even after having that corrected, here you are with "It's just how the world works", another incorrect assertion that might describe your experience of the world, but is unrepresentative for humanity as a whole.

Most people don't have the luxuries you so clearly take for granted. Turning down exploitative employment is only an option for those with money in reserve. Most people do not have that. Going somewhere else means separation from family and friends—easy enough for the thoroughly unlikable, but community is important to most members of a social species. And, anyway, that's assuming there aren't legal restrictions like immigration controls. As I said before, most lives are more constrained than yours, and that isn't because those people are any less deserving. That is how the world works.

I'm going to suggest you read the article "Why Fascism is the Wave of the Future" by Edward Luttwak. Don't worry, it's just a warning, and it starts:—

That capitalism unobstructed by public regulations, cartels, monopolies, oligopolies, effective trade unions, cultural inhibitions or kinship obligations is the ultimate engine of economic growth is an old-hat truth

so it's not commie propaganda. But it might relieve you of some of your misconceptions, since you clearly aren't listening to us here. Of course, you could just carry on regardless, but then it'll be just far too clear that you're not acting in good faith.

[-] [email protected] 16 points 1 year ago

This is the reasoning that leads to "if you think medicines are too expensive, stop buying them" with much the same problem of it not being quite that simple for the majority of humanity, whose "choices" are not as unconstrained as the ones you're familiar with.

[-] [email protected] 12 points 1 year ago

The problem with notable examples is that they're pretty much never representative examples.

[-] [email protected] 25 points 1 year ago* (last edited 1 year ago)

If wealth were actually distributed in the US equally that might be true, but as it is it's more than double what most Americans have, even ignoring inflation.

The average net worth of all American families was $746,820, according to the Federal Reserve’s 2019 Survey of Consumer Finances, while the median figure was $121,760.

The Average Net Worth Of Americans—By Age, Education And Ethnicity

1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
view more: next ›

aebletrae

joined 1 year ago