Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SE
Posts
0
Comments
307
Joined
2 yr. ago

  • Swallowing your pride, merging into another project and taking a less glamorous role in that project is not as easy as it was to fork when steering your project.

    I don't think it's because of the ego. But if you're working with other people, you need to do a lot of non-coding (non-fun) things. Align thinking, find compromises, establish and follow processes. Things are easier and more fun hacking alone. No processes to limit you, no one telling you "this doesn't align with the vision of the project" (and the other way round - you don't have to maintain code contributed by other people with use cases not interesting to you) etc. For volunteer FOSS contributors, doing fun stuff is often a big part of the motivation to give their free time to the community.

  • I agree. Rust has advantages, but none of them outweighs the negatives (complexity, difficult to find devs) for this particular use case.

    I also agree that JVM would be a good platform. It's both performant enough and simple/conventional enough.

  • has documentation which says it is meant only to be used for logging / debugging

    No, it's not a breaking change IMO. The method contract (the "debug" name, the comment) heavily implies the output may change and should not be relied upon.

  • That's misleading at best and most likely just false, and it's worrying it's so upvoted.

    There's no historical record explaining why this was designed this way, but we can infer some things. HTTP is very unlikely a factor, XHR / AJAX has been added years after the .sort() function. Additionally, it doesn't make sense in the context that other comparisons are not string-wise (sort()/quicksort is basically a series of comparisons).

    The trouble with JS arrays is that they can contain any values - e.g. [false, undefined, 1567, 10, "Hello world", { x: 1 }]. How do you sort those? There must be one function to compare every combination of value, but how do you compare booleans and objects?

    There's no such function which would provide reasonable results. In that context, doing .toString() and then string-wise comparison/sorting doesn't seem that crazy - every object has .toString(), it will compute something, and often it will work well enough.

    There could be some additional smartness - if the array contains numbers only, it could choose to use a number-wise comparison function. But that would require a) extra implementation complexity (JS was famously designed in short time) and b) reduced performance - since JS runtime doesn't know what type of values are present in the array, it would have to scan the whole array before starting the sort. But I guess the a) was the decisive factor in the beginning and backwards compatibility prevented improving the function later.

  • I'm in a golden cage where my job earns about twice or more of what a large majority of remote jobs offer (available where I am, which is Europe).

    I guess I could get very lucky and find a great paying remote job, but I feel like I could lose in the end.

  • Do you believe you would behave any differently if you were working from the same information they are?

    Yes. I was raised as a Christian and was fed not that dissimilar bullsh*t from an early age. At that point access to information was way, way worse (no internet, small village...) than now, yet it wasn't that crazy difficult to realize what crap it was. IMNSHO there's no excuse today.

  • it's just an emergent phenomenon given their experience with the people around them

    It's usually caused by lack of experience with such people and a heap of prejudice and religion.

    By claiming it's not their choice sounds like you're claiming they are not responsible for their behavior which is IMHO pretty dangerous.

  • I'm curious where did they get those numbers. Producing a limited number of chips is one thing, scaling production to tens of millions is another. Especially regarding the lithography machines which China bought before the sanctions from ASML, but can't buy anymore.

  • Rules for thee but not for me

    It's normal that there are different rules for authors and bug reporters.

    It's like you're complaining that there are different rules for guests and the owner of a house.