[-] aebletrae@hexbear.net 14 points 8 months ago* (last edited 8 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.

[-] aebletrae@hexbear.net 41 points 8 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' });
}
[-] aebletrae@hexbear.net 14 points 8 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.

[-] aebletrae@hexbear.net 22 points 9 months ago

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

[-] aebletrae@hexbear.net 30 points 9 months 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.

[-] aebletrae@hexbear.net 24 points 9 months ago* (last edited 9 months 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
[-] aebletrae@hexbear.net 12 points 10 months ago

We don't allow slave labor like communism does.

You might want to recheck that constitution.

Oh, no, what am I saying? You don't want to do that, because that would once more point out that you're clueless in your assertions. Now I don't want to read any more of them. And I'm free to turn you down, right?

[-] aebletrae@hexbear.net 13 points 10 months ago

Bad faith it is, then. Got it.

[-] aebletrae@hexbear.net 15 points 10 months 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.

[-] aebletrae@hexbear.net 16 points 10 months 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.

[-] aebletrae@hexbear.net 25 points 10 months ago* (last edited 10 months 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

I don't know which one of you went to Belgium to start a transportation company, but it's a good bit.

1
submitted 11 months ago by aebletrae@hexbear.net to c/feedback@hexbear.net

Since the XSS incident a couple of weeks back, I hadn't been able to log in, or even sign up for a new account. All attempts at either ended with the spinning bear. Now, presumably because of the upgrade, I have been able to create a second account to post this, but I can't log in to my original account, AppelTrad, because it prompts for 2-factor authentication.

This is (partially) my own fault, I suppose, for clicking the checkbox and not mentioning that it didn't actually give me any of the promised results, while I was still logged in; since I was also able to untick the box without being prompted for anything, I just assumed it was a bit of not-yet-implemented UI and that I had reset the option for if it ever became effective, and carried on without any problems until the forced logout.

Since "2FA being broken is a known issue", I'm wondering: is it possible for an admin to reset that field in my database record (or whatever needs to be done to cancel 2FA) without any of the security shenanigans that should accompany working two-factor authentication, so I can successfully log in again? (I have my passwords saved, so it's not just a mistyped password issue.)

view more: next ›

aebletrae

joined 11 months ago