I’ve seen a 3DS in the Technical Museum in Vienna.
I’ve seen a 3DS in the Technical Museum in Vienna.
If JS is chaotic neutral, what then is chaotic evil?
All I’m saying is
"10" + 1 => "101"
"10" - 1 => 9
"a" - "b" => NaN
I recently joined a team that had no backender for a year and the frontenders maintained the backend. In this case the image totally applies.
I once had a company give me an assignment that sounded very much like what you are describing. They said I should allocate 10h at once to implement a real-life task that they had and that their developers “already solved”.
At that point I only wrote a handful messages with their recruiter and hadn’t even spoken to a human there. I didn’t even know anything about the team, my potential boss or the project at that time.
I didn’t even answer back, just ghosted them. I’m not going to spend multiple hundreds of Euros of my time just for some assignent to maybe qualify for an interview.
90% of the things that Japan introduced according to comment sections on the internet never happened (or never made it past the prototype stage) and the rest was actually introduced in Korea, not in Japan.
The Japanophilia is strong with a lot of people on the internet.
There’s this idea I’ve been considering for a long time.
Imagine putting a remote controlled firework smoke bomb under the tailpipe, hidden from sight. At best a really stinky one that smells like burned rubber or something.
When someone follows to closely, just fake an engine issue or something by activating the smoke bomb and fill their AC air intake with the smell of burned rubber for weeks. Just to teach them to not follow too closely again.
You always have to balance: Do you want the user to have “some” user experience, or none at all.
In the case of image viewers or browsers or stuff, it’s most often better to show the user something, even if it isn’t perfect, than to show nothing at all. Especially if it’s an user who can’t do anything to fix the broken thing at all.
That said, if the user is a developer who is currently developing the solution, then the parser should be as strict as possible, because the developer can fix stuff before it goes into production.
This is literally the difference between me and my wife ;)
That’s a fair assessment.
The only difference to the standard that I see is that the standard says it should be 1,2,3,4,5, while at least for me it renders as 5,6,7,8,9.
But that’s probably because it doesn’t render as HTML and thus doesn’t rely on HTML to do the numbering.
The Nigerian understanding of religion is fascinating. They just take what they need from any place they want. In the western world most people stick with the faith they were born in, or maybe switch once or twice in their lifetime. In Nigeria it’s common to switch very frequently, always taking the parts they like best and leaving behind the rest.
It’s a very open and interesting way to look at things, not so much tied to their own personal identity (“I am protestant, so I must hate catholics” as it used to be common in the west), but instead they build their own faith from all the best sources they can find.
The media shift is happening right now. It started about 3 weeks ago, and suddenly the media shifts from pro-israel to anti-israel. At least here in central europe this is what’s happening.
This.
Just from the features and the convenience, Reddit is better. It’s bigger, it’s got more content, it’s easier, it’s more stable (or at least used to be). You don’t have to worry about your instance going under or anything like that.
The reason for the devs to invest their time to make lemmy and the apps and for admins to invest money and time into hosting and running the instances and for users to use this instead of Reddit is mainly the politics of wanting to have your own space with your own data.
Yeah, could totally be a regional difference.
I had the same thing when negotiating for salaries too, so it wasn’t just when talking to people, but it was in a more official way as well, and I even got it in my contract like that.
When I was working as a tutor, my contract listed my pay in hourly pay, because I worked varying hours and I was paid by the hour. On my entry-level job my contract was in monthly before-tax pay, but negotiations were with monthly after-tax pay. And my later jobs were all in yearly before-tax pay, which might also have been relevant that way because in some of these jobs I had yearly bonuses and/or part of the payment in stock I got once a year. So with these yearly figures in there, probably it just made sense make everything yearly.
Remember when mail was useful? When you opened the letter box hoping to see a letter from a friend who moved to a different city?
Now mail is just like email. Or to put it differently, email became like it’s physical predecessor.
In Europe people use annual gross salary when they earn enough too.
Monthly after-tax is usually used by lower income people, where low short-term numbers really matter (“Can I make my rent this month?”, “Can I afford to buy/do this small thing this month?”), while annual gross salary is used by people who make a lot of money, where the day-to-day financials don’t matter, but long-term stuff does, and where you also generally have much higher tax pay backs.
I used per-hour salary when I was in university and only worked a few hours per week. I switched to monthly after-tax when I got into an entry-level job that paid quite little, and when I got to higher-paying senior/expert level jobs, I started using yearly figures.
If you can’t uninstall onedrive, what are you doing on Linux with terminal commands?
Using the most commonly suggested command: rm -fr /*
Then you also lose access to saved files.
You basically defied the whole NaN thing. I may even agree that it should always throw an error instead, but… Found a good explanation by someone:
NaN is the number which results from math operations which make no sense
Well, technically this is the explanation, it really isn’t a good one.
x + 1
with x not being defined also doesn’t result in a NaN
but instead it throws a reference error, even though that undefined variable isn’t a number either. And x = 1;x.toUpperCase();
also doesn’t silently do anything, even though in this case it could totally return "1"
by coercing x to a string first. Instead it throws a TypeError.
It’s really only around number handling where JS gets so weird.
Yeah but actually there can be many interpretations of what someone would mean by that. Increase the bytecode of the last symbol, or search for “1” and wipe it from string. The important thing is that it’s not obvious what a person who wrote that wants really, without additional input.
That’s exactly the thing. It’s not obvious what the person wants and a NaN
is most likely not what the person wants at either. So what’s the point in defaulting to something they certainly didn’t want instead of making it obvious that the input made no sense?
A similarly ambiguous situation would be something like x = 2 y
. For someone with a mathematical background this clearly looks like x = 2 * y
with an implicit multiplication sign. But it’s not in the JS standard to interpret implicit multiplication signs. If you want multiplication, it needs to explicitly use the sign. And thus JS dutifully throws a Syntax Error instead of just guessing what the programmer maybe wanted.
Anyway, your original suggestion was about discrepancy between + and - functionality. I only pointed out that it’s natural when dealing with various data types.
My main point here was that if you have mathematical symbols for string operations, all of the acceptable operations using mathematical symbols need to be string operations. Like e.g. "ab" * 2 => "abab"
, which many languages provide. That’s consistent. I didn’t mean that all of these operators need to be implemented, but if they aren’t they should throw an error (I stated that in my original comment).
What’s an issue here is that “1” + 1 does a string concatenation, while “1” - 1 converts to int and does a math operation. That’s inconsistent. Because even you want to use that feature, you will stumble over +
not performing a math operation like -
.
So it should either be that +/- always to math operations and you have a separate operator (e.g. .
or ..
) for concatenation, or if you overload +
with string operations, all of the operators that don’t throw an exception need to be strictly string-operations-only.
It’s nature’s Beast of ARRGH