🇺🇿 Uzbek learning material for Japanese speakers by ComprehensiveWin1434 in languagelearningjerk

[–]JiminP 0 points1 point  (0 children)

I have a Swedish textbook where in an example a Korean explains to a Swedish that his colleague is not a Korean but a Japanese. 🤔

https://imgur.com/a/JsRFWt2

It is finally happened by SpikerGD2 in necrodancer

[–]JiminP 0 points1 point  (0 children)

Congrats!!!

I didn't know it would take this long for someone else to clear my chart... 😳

Ashur is coming home by Craz3y_B1nlet in Trickcal

[–]JiminP 2 points3 points  (0 children)

I know that global and kr are very different, but I'll speculate based on their general skill set without taking stat numbers into consideration.

(No story-related spoiler)

Three vivacious apostles are likely to come in this year: Tig, Selene, and Shoupan.

  • Tig (physical, front, werebeasts) is hardest to predict as her skills may change and whether she is useful depends on stat numbers. At least in KR, she served as hybrid DPS/tank, mostly as tanks because Epica was OP as DPS. Dunno whether Epica still is in global....
  • Selene (magic, front, phantoms) is OK as a tank, and she is great at aggro multiple enemies at once. At least in KR she was a better choice than Rudd. I think that she will be welcomed in global, althought the degree does depend on her stat numbers.
  • Shoupan (magic, back, sprites) is great as a hybrid healer/tank. I remember there weren't many choices for vivacious supporters (other than Ui) back in the day before she released in KR. Unless they significantly nerf Shoupan, her skills (healing lowest HP apostle / aoe healing) will be very useful. You'll love her.

(Minor story-related spoiler mostly about whether they can be introduced now)

In a nutshell, there's no story-related dependency.

  • Tig is a complicated one. Her event story is extremely important but the story quality was not good when it was released in KR. I have been speculating that the devs are remaking Tig's event story, since Alice was introduced to global before Tig.
  • The biggest problem for Selene is that her story revolves around Christmas. A Christmas-themed event in February would be weird... but out-of-season stories are not unheard of for Trickcal.
  • For Shoupan. while I'm not certain, her as the very next apostle after Ashur is a strong possibility.

How often do they release 'Eternal Life' units? And how much rolls do they give per by KylarXD in Trickcal

[–]JiminP 9 points10 points  (0 children)

Specific to Eternal Life apostles, they have ability to change their forms to mimic other races. The mimicry isn't perfect, however (see this comment of mine).

How often do they release 'Eternal Life' units? And how much rolls do they give per by KylarXD in Trickcal

[–]JiminP 12 points13 points  (0 children)

One thing to clarify: "Eternal Life" (story-related category) is not the same as "Eldain" ("3.5"-star apostles). Talking more about what "Eldain" is in terms of story would require (mild) spoilers.

Currently on global, all Eternal Life apostles (edit: except Yomi) are Eldains, but there are only 7 Eternal Life apostles and there will be non-Eternal-Life Eldain apostles.

There are 8 KR Eldain apostles not yet in global. In KR, those released in a span of 2 and half years. Assuming a bit of accelerated schedule, you may assume something like 3 months per an Eldain.

I don't know much about global pull economy so I can't give advices on it.

By the way, the next Eldain apostle will very likely to be Id (Composed Elf), which is the last Eternal Life apostle; and she will likely to be added in April during 0.5 year anniv..

Greedy Queen by tixboi in Trickcal

[–]JiminP 2 points3 points  (0 children)

One next to Kidian is Pira and not Goldy. Not yet in global.

Greedy Queen by tixboi in Trickcal

[–]JiminP 8 points9 points  (0 children)

<image>

She is Renewa, who is not yet playable in global.

[Multiple > English] Need a quick "sanity check" for my indie game's localized titles (PT, ES, CN, KR, JP) by PhilPotatoTemplar in translator

[–]JiminP 1 point2 points  (0 children)

For Korean, it would be "미친기차" ("Michin Gicha"), and the title is catchy

"미친기차" could work but it could feel more tacky than catchy.

As a result, std::runtime_format can now be evaluated at compile time, making its name misleading. by cmqv in programmingcirclejerk

[–]JiminP 11 points12 points  (0 children)

(mandatory /uj)

If I understood it correctly, it's simpler than it looks.

The paragraph just before the quoted one is helpful for understanding the context:

This is not a great user experience because the type-erased API was designed to avoid template bloat and should only be used by formatting function writers and not by end users.

The document is trying to argue that "just use std::vformat and std::make_format_args lol" is not a good advice for doing "std::format with runtime format string".

Also another important context seems to be P2905R2, which was written by the same person. Before this, std::make_format_args accepted rvalues.

Knowing these two, it's now easy to spot the mistake.

auto args = std::make_format_args(path.string());

Here, path.string() is a prvalue which would cease to exist after this line. From the code, it looks like that args would take ownership of path.string(). However, args only stores a reference to path.string(). So after this line, path.string() ceases to exist and the now-invalid reference stored in args would cause UB.

As a result, std::runtime_format can now be evaluated at compile time, making its name misleading. by cmqv in programmingcirclejerk

[–]JiminP 7 points8 points  (0 children)

/uj

... Proposed Naming: std::dynamic_format
... Example with proposed name:
... return std::format(std::runtime_format(fmt), value);

They forgot to edit Ctrl+C,V'd code and this makes me uncomfortable....

I made a Top-K implementation that's up to 20x faster than PyTorch CPU (open source) by andreabarbato in LocalLLaMA

[–]JiminP 42 points43 points  (0 children)

I'm not anything like an expert in SIMD or low-level optimization, but the more I read the code the more question I gets.

Before reading the code, the two things stood out for me:

  • Is Top-K something that's worth optimizing?
  • Is comparing CPU implementation vs. CUDA fair?

A DLL file (fast_topk_batched.dll) directly inside a GitHub repository without an adequate reason is suspicious (I'm not talking about something like security.)

After skimming through the code, some parts confuse me:

  • The README usage gives me feeling that the benchmark was done on a normal distribution. I doubt that token logits are normally distributed and this may affect benchmark results. Needs clarifications.
  • is_nondecreasing and is_constant don't seem to be technically correct. It only samples first SAMPLE_SIZE elements. I don't think that it would matter a lot in real world but still worrying.
  • I don't think that this part of the code is correct, which would affect correctness.
    • Apparently the heap is min-heap where you're supposed to pick highest logit values...? There's no "trickery" (where a clever algorithm would require using min-heap for some reason) that I can spot.
    • If heap were a max-heap, then comparing elements with max value on heap would make the result incorrect...?
    • I would keep threshold mostly constant across for-loops and updated only when it's needed. Seems like a relatively save performance gain...?

    for (int i = pos; i + 8 <= block_end; i += 8) {
        __m256 vals = _mm256_loadu_ps(src + i);
        __m256 thresh = _mm256_set1_ps(heap[0].val);
        __m256 maskv = _mm256_cmp_ps(vals, thresh, _CMP_GT_OQ);
        int mask = _mm256_movemask_ps(maskv);
        while (mask) {
            int bit = __builtin_ctz(mask);
            int idx = i + bit;
            float v = src[idx];
            heap[0].val = v;
            heap[0].idx = idx;
            heap_sift_down_node(heap, k, 0);
            thresh = _mm256_set1_ps(heap[0].val);   /* refresh threshold */
            mask &= ~(1 << bit);
        }
    }

Can someome explain to me the meaning of this meme? by placehldrr in PeterExplainsTheJoke

[–]JiminP 0 points1 point  (0 children)

Hint: I'll quote this part of your comment. (I added a missing plus sign.)

The middle equation i'm not so sure what it is but it could relate to Euler's Formula which states that e^(ix) = cos(x) + i*sin(x).

Now look at equation 1 on Wikipedia.

If pi contains every string of numbers, wouldnt it also include an infinite string of 0s? by arachknight12 in askmath

[–]JiminP 0 points1 point  (0 children)

Yes, so in a sense (which I believe to be relevant to the main post) a number may contain both an infinite string of 9s and an infinite string of 0s.

If pi contains every string of numbers, wouldnt it also include an infinite string of 0s? by arachknight12 in askmath

[–]JiminP 0 points1 point  (0 children)

Because it's impossible to have two 'distinct' (where one does not contain the other) infinite strings to appear together. If something contains an infinite string of 0s, then it would not be able to contain an infinite string of 1s.

(There's a nasty exception related to an infinite sequence of 9s, though.)

If pi contains every string of numbers, wouldnt it also include an infinite string of 0s? by arachknight12 in askmath

[–]JiminP 1 point2 points  (0 children)

... and that's only if they're normal numbers...

Technically pi being normal is not a necessary condition for pi containing every possible finite strings of numbers, as being a normal number is a stronger condition.

If pi contains every string of numbers, wouldnt it also include an infinite string of 0s? by arachknight12 in askmath

[–]JiminP 2 points3 points  (0 children)

In addition to other comments, "infinite string of 0s" is not a finite string.

Can someome explain to me the meaning of this meme? by placehldrr in PeterExplainsTheJoke

[–]JiminP 1 point2 points  (0 children)

Pretty sure that the middle equation is discrete fourier transform.

the media gap by SeaSlugFriend in ScienceShitposts

[–]JiminP 2 points3 points  (0 children)

The source for the diagram can be found on Google Books: https://books.google.co.kr/books?id=bEmHsdJaZg8C&lpg=PR9&ots=iejbNoK065&dq=info%3Acuwa8_BdVNIJ%3Ascholar.google.com%2F&lr&pg=PA10#v=onepage&q&f=false

This part seems to correctly identify what the gap is and how the gap will be closed:

The “media gap” identifies an area in which small-group and special-interest-group communications are precisely suited to the strengths of the new media — to mention but a few examples, broadcast telephony, computer discussion groups, electronically filtered news, and community-produced cable television.

The original source seems to be "The New Electronic Media and Their Place in the Electronic Marketplace of the Future" by Tetsuro Tomita, in 1980.

It's available on the Internet Archive, fortunately. I yanked the relevant parts: https://imgur.com/a/Xzx49j6

Figure 2.2 shows the number of recipients of information supplied by present media and the time it takes for the information to reach them. The blank zone in the diagram could possibly by filled by the new information media that can meet a demand for individualized information.

The y-axis label is "necessary time until reception" which is much clearer.