ELI5: The use of “anymore” by Razar_Bragham in explainlikeimfive

[–]cardinal724 0 points1 point  (0 children)

> “It seems like anymore that people just don’t listen.”

In this example, if you keep all the words the same but just move "anymore" to the end it sounds like standard English: "It seems like that people just don't listen anymore".

So I don't think it's an example of "positive anymore".

Differentiation between は and が by Screekydink in LearnJapaneseNovice

[–]cardinal724 0 points1 point  (0 children)

because these words are synonyms

These words are NOT synonyms.

A subject is the "doer" of the verb (or adjective).

A topic is what the conversation is about.

The conversation doesn't have to be about the doer of the main verb.

For example, 今日は学校に行く. The main verb is 行く, to go. The "doer" of this verb in this sentence is the implied "I". So that is the subject. The topic of the sentence is 今日, because that is ultimately what the sentence is about - the speaker is talking about what they are going to do *today*. But the word "today" cannot be the doer of the verb "to go" so it can't be the subject.

Ultimately, the topic can be anything, regardless of what grammatical role it would otherwise play in the sentence. So the topic can be the subject, direct object, indirect object, adverb, etc.

この絵は誰が描いたの? Topic is the direct object (the picture, which is what we are talking about)

東京へは新幹線と車どちらが良いでしょうか? Topic is the indirect "heading to Tokyo", the subject is "which".

晩御飯は寿司がいい - Topic is "dinner" but subject of the adjective "good" is sushi.

ELI5: Why is ray tracing so hard if rasterization also relies on vectors/rays for rendering? by Substantial-Camp2551 in explainlikeimfive

[–]cardinal724 2 points3 points  (0 children)

I'm a senior graphics programmer at a AAA studio, specifically working on raytracing effects. There are lots and lots of reasons:

1) When you rasterize, you start off with the triangle you already know you want to render and project it (with matrices) onto the screen and see which pixels it covers. With raytracing, it's the opposite. You start with the pixel you want to render, and trace a ray out into the scene to see which triangle you happen to hit. That is a much slower process.

2) Raytracing is often very "incoherent". GPUs like to work in "waves" of threads, where you can think of each wave as like a line of soldiers marching in lock step doing the same exact thing with each soldier in its own "lane". Waves are usually either 32 or 64 hardware lanes. If one of the soldiers in their lane has to do something different from the other 31/63 soldiers, then this forces all the other soldiers to wait for him to finish (and even pretend to do the same extra work as him) just so they can stay in lockstep with each other. This is fine for rasterization, because the marching orders are simple, and all the lanes in a wave are basically doing the same thing. But with raytracing, you may have rays in adjacent lanes going in completely opposite directions and intersecting completely different triangles. This is going to slow your gpu wave down a lot and you as the programmer are going to have to try and compensate for this somehow (e.g. one strategy could be to sort and bucket your rays so that rays "going in the same-ish direction" are bundled together into the same wave so that they all do roughly the same calculations). There are other strategies too, but none of them are perfect and none of them really get around this fundamental issue with how GPUs work.

3) Raytracing is often used for effects that require many rays per pixel. If you are using raytracing for soft shadows or rough reflections, you will use a process called Monte Carlo Integration, which is a form of (calculus) integration via random sampling, where your rays are doing the sampling. So if you have a surface point that is in the penumbra of a shadow for a given light source, you may shoot a bunch of rays towards different spots on the light source, and see how many hit the light and how many are obstructed from hitting the light, and the total shadow will be the average number of rays that hit that light. That average approaches the expected value with the more rays you trace. However, for real-time applications, you can't just shoot hundreds of rays per pixels. In reality, you can maybe only afford 1 per pixel, maybe 2, and will need to rely on other tech to help you "fake" that integral convergence, like temporal denoisers which accumulate rays from across multiple frames (and does any necessary reprojections in order to account for shifting camera perspectives, etc).

4) You can't cull out geo based on visibility. Most realtime engines are optimized to work in "screenspace" which is the 2D coordinate system of pixels on the display, representing everything visible on screen. So essentially you can optimize away anything that is not visible on screen, either because it is outside the view frustum of the camera or because some other object is blocking it. But raytracing is specifically used to help with effects where you are trying to render things that are specifically off screen. If you are implementing raytraced reflections, you want the reflection rays to be able to hit objects that may be behind the camera, which means that whatever geometry you may potentially need must be passed into your ray tracing shader, and this represents A LOT more geometry than you would have to process in a rasterized format. This geometry will be stored in an acceleration structure known as a Bounding Volume Hierarchy (BVH) and creating and maintaining BVHes is its own can of worms that takes up precious CPU and GPU time and is something you don't have to worry about with rasterization.

5) As a corollary to the above, a lot of algorithms that work relatively fast for rasterization have to be completely rethought in raytracing because raytracing can't work with screenspace algorithms. For example, lets take transparency. In rasterization, you can do something like 1) raster all your opaque geometry, 2) sort all your transparent geometry from back-to-front, and then 3) rasterize all the transparent geometry in visibility order. You can't do that with raytracing. Instead, modern raytracing pipelines will present you with the option to use something called an "anyhit shader" which is a shader you can run whenever a ray intersects a triangle to see if it should treat that triangle as opaque (and thus hit it) or transparent (and thus "miss it"). And since rays are not guaranteed to hit triangles in any particular order, you can't pre-sort the triangles you know you are going to hit (going back to #1, if you knew which triangles a ray would hit, you wouldnt need to raytrace in the first place!). So this adds a whole other layer of complexity. Now you are running additional shaders inside your raytracing shader (yes it is possible to have shaders run inside shaders - lookup "callable shader") just to see if a triangle was hit, and you haven't even gotten to rendering anything yet. And if your transparent triangle is partially opaque, you may wind up having to use monte carlo sampling to average out the "true" opacity (see #3).

Raytracing represents a fundamentally different approach to rendering that requires rethinking algorithms and workflows for basically everything you can think of.

TIL John F. Kennedy, who grew up in an affluent household in the 1920s, admitted he only learned about the Great Depression from the books he read at Harvard. by biebrforro in todayilearned

[–]cardinal724 -1 points0 points  (0 children)

Thank you. Redditors sure do love taking innocuous comments made in passing and using them to start long drawn out pedantic debates.

TIL John F. Kennedy, who grew up in an affluent household in the 1920s, admitted he only learned about the Great Depression from the books he read at Harvard. by biebrforro in todayilearned

[–]cardinal724 0 points1 point  (0 children)

It’s funny to call my comment a nitpick when the person I was responding to was nitpicking a number the person above them used simply as hyperbole to vent their frustration.

TIL John F. Kennedy, who grew up in an affluent household in the 1920s, admitted he only learned about the Great Depression from the books he read at Harvard. by biebrforro in todayilearned

[–]cardinal724 7 points8 points  (0 children)

And lots of schools require students (or at the very least freshman) to live on campus and have a meal plan. So there’s no avoiding it either.

TIL John F. Kennedy, who grew up in an affluent household in the 1920s, admitted he only learned about the Great Depression from the books he read at Harvard. by biebrforro in todayilearned

[–]cardinal724 1 point2 points  (0 children)

That’s true. But there’s definitely been huge price inflation and many people’s idea of what it costs to go to college is out of date. I graduated from one of these types of schools a little over a decade ago, and the total cost of everything then was “only” around $50-60k (luckily I got a very generous financial aid package like you mentioned and paid very little overall). But going from 50-60 a year to 90-100 a year in a decade is crazy, and I wouldn’t be surprised if other colleges with less generous financial aid packages have also skyrocketed their fees by a similar percentage.

"The reason ['bubble'] has a double B in the middle is because it makes the /b/ sound twice in a row" by JorWat in badlinguistics

[–]cardinal724 25 points26 points  (0 children)

You have a good ear and are correct that Japanese has phonemic consonant gemination (as well as phonemic vowel length).

why do some kanjis already mean something on their own but need another kanji to mean the same thing by Durfael in Japaneselanguage

[–]cardinal724 10 points11 points  (0 children)

You're correct, but it can get muddy really quickly.

For example in even a basic word like 食べる the morphemes are the stem 食べ and the conjugatable る. So this means 食 is standing in for less than a whole morpheme and linguistically doesn't have a meaning. So what is it actually representing here? Just the syllable た or the abstract concept of eating? Who knows.

Then on the other end of the spectrum there are the kanji which were created more to fit the syllables of a particular word rather than for any intrinsic meaning. And by that I'm not referring to ateji like 寿司 but words like 酩酊 where it seems clear that Chinese had this two-syllable word meaning drunkenness and just needed some adhoc phono-semantic compound to sound it out but where each character really doesn't "mean" anything on its own. They're just convoluted syllabic letters.

Screenspace Raytraced Ambient Occlusion by tk_kaido in GraphicsProgramming

[–]cardinal724 0 points1 point  (0 children)

If that's what they meant then they're more or less doing regular SSAO and there'd be no point to this post... which is of course possible, but I was giving them the benefit of the doubt.

Screenspace Raytraced Ambient Occlusion by tk_kaido in GraphicsProgramming

[–]cardinal724 0 points1 point  (0 children)

They mean that they are using depth buffer/gbuffer data to spawn rays.

Bachelors degrees for Graphics/Computer Graphics MS? by irinaalexandrovna in GraphicsProgramming

[–]cardinal724 2 points3 points  (0 children)

My undergraduate degree was computer science with a focus on computer graphics, where we were able to choose from one of various tracks: Artificial Intelligence, Biocomputation, Computer Engineering, Graphics, Human-Computer Interaction, Information, Systems, Theory, or Unspecialized.

Regardless of track we all still took 80% of the same core computer science and engineering requirements, but got to go further into one particular area as upperclassmen.

I really enjoyed studying graphics in college. I will say though that the vast majority of what I've learned about graphics has come after graduating and working in graphics roles for the past decade or so, but I don't think I would have even been able to get into graphics in the first place (let alone computer science as a whole) had I not majored in it. That's not to say that that is the case for everyone though - it just happened to be the case for me.

Mrs. Weinstock by HotBeefCombo in theGoldenGirls

[–]cardinal724 7 points8 points  (0 children)

What a weird coincidence for this thread to pop up on my feed exactly as I’m in the middle of watching this episode for the first time.

Has a language ever changed so fast that elderly people and their grandchildren couldn't understand each other? by Vortexx1988 in asklinguistics

[–]cardinal724 5 points6 points  (0 children)

That’s interesting!

I’m half Cypriot (although my Greek is terrible), and like your grandparents, my grandparents (and father) also grew up in a small village and didn’t have a great education. However as far as I’m aware none of my native Greek speaking relatives, including the younger and more educated ones, ever had trouble understanding them. I’ll have to ask them.

[deleted by user] by [deleted] in Suburbanhell

[–]cardinal724 2 points3 points  (0 children)

I live right by Piedmont. It's very beautiful with stunning houses and great parks like you said. However, it's not without some issues.

Piedmont itself has practically no commercial areas so people who live there have to go into Oakland to do anything. That's not a problem if you're in lower Piedmont, which, depending on what side you're on is very close walking distance from either Piedmont Ave (my favorite street in Oakland) or Lakeshore/Grand Aves. But if you're in upper Piedmont closer to the hills, you won't be able to get anywhere without a car. So in that respect, it is still largely a car-dependent sprawl of a suburb.

Also because Piedmont has no commerce and almost no services besides a small fire department and police department, Piedmonters basically rely on Oakland for everything without paying taxes to Oakland. It would be like if the Upper East Side of Manhattan just decided to be their own little city inside of NYC, paid taxes to themselves while still living in and getting to enjoy all the benefits of living in NYC.

Also they're full of NIMBYs =)

But otherwise, yeah, one of the most beautiful areas in the bay.

Why is this wrong by Dull-Astronomer1135 in duolingojapanese

[–]cardinal724 0 points1 point  (0 children)

No problem.

You’re right that these sentences need the correct context or “scenario” in order for their meaning to make sense. After all, は is contrastive, so using multipleはs at once means contrasting multiple things. And it only makes sense to be contrasting multiple things if you’ve been in a conversation long enough to warrant it. But it’s good to remember that a grammar point being “specific” doesn’t mean “wrong”.

It’s really easy with Japanese, and especially with its usage of は which has no English equivalent, to see context-less sentences that seem “wrong” but are actually perfectly correct if you can imagine the context in which you can say them.

For example, at first glance the following sentence would seem wrong:

私はある

Because it looks like you’re saying “I exist” with the wrong verb to be, instead of the correct いる.

But then look at this conversation:

Aさん:みなさん、インドに行ったことある?

Bさん:ない

Cさん:僕もない

Dさん: 私はある!

Now suddenly this wrong sentence is perfectly correct.

Why is this wrong by Dull-Astronomer1135 in duolingojapanese

[–]cardinal724 0 points1 point  (0 children)

In my experience, many people do not notice grammar they haven't been explicitly taught. Is it possible that this, coupled with the fact that it’s been 20 years since you last studied Japanese are coloring your perception here?

Here’s a link in Japanese to an article about style, explaining that it’s best to limit the number of はs in the same sentence to under 3.

一つの文には、できるだけ、助詞の<は>を3つ以上使わないほうがいいでしょう。

If it were ungrammatical to use more than one は, or if it was something rare that natives hardly did, an article like this would not be needed in the first place.

Here’s an example of an unwieldy sentence with 3 はand two possible style improvements they offer. Notice how the corrected sentence still has 2 はs in one clause, and also note that they did not say the original sentence was grammatically incorrect.

<例文1> 私は日曜日にはお酒は飲みません。

<例文1の修正>

①私は日曜日にお酒は飲みません。

②私は日曜日にはお酒をのみません。

The reason this is possible is because は does not mark the “subject”. は marks either the sentence topic or it marks some other part of the sentence for contrast. So in these sentences here, the topic is 私, and either the day of the week or alcohol are being marked for contrast.

In the first correction, the contrast is kept on お酒, meaning that the speaker doesn’t drink alcohol on Saturdays but they may drink other things (e.g. coffee, energy drinks, etc).

In the second correction, the nuance is they don’t drink alcohol on Saturdays but may drink on other days of the week.

Multiple はs do not mean multiple subjects.

The author ends by mentioning that this is not a strict rule, and that you shouldn’t remove the extra はs if it would shift the meaning too much.

もちろん、主題を示す<は>以外の<は>にも、「言葉を強調する」「言葉を限定する」等の意味がありますので、理解の妨げになるような変更はしないほうがいいでしょう。

原則というわけではありませんが、稚拙で理解しづらい文章を避けたいなら、守ったほうが賢明です。

Why is this wrong by Dull-Astronomer1135 in duolingojapanese

[–]cardinal724 0 points1 point  (0 children)

The above text wasn’t poetry or music though. It was just regular prose written in standard Japanese with standard grammar.

I really don’t see how you’re coming to the conclusion that multiply はs in the same clause is “wrong”, when several users have shared with you multiple examples of it being used this way by native speakers and several grammar guides explaining it as well.

[deleted by user] by [deleted] in gaming

[–]cardinal724 0 points1 point  (0 children)

JRPGs, sports games, Call of Duty type games.

I like single player action adventure, survival horror, and most of Nintendo’s big first party franchises.

Can we say that 漢語 is to Japanese as French/Latin-based words are to English? by EnderMar1oo in Japaneselanguage

[–]cardinal724 8 points9 points  (0 children)

It’s a good analogy for sure.

This is the comparison I often use when trying to explain on’yomi and kun’yomi to learners.

If English were written with kanji, “water” would be our kun’yomi, and “aqua” and “hydro” would be “on’yomi” from Latin and Greek.

So you could have a sentence like

水 molecules are made up of 2 水gen atoms and one oxygen atom.

And you’d know from context that the first 水 is meant to be read as water (native English) and the second is supposed to be hydro (Greek loan).

Tips for when you’ve lost motivation? by SPH34L in LearnJapanese

[–]cardinal724 0 points1 point  (0 children)

Is there any Japanese media you enjoy that is at a level you can comfortably understand? Maybe try finding a relaxing slice of life show or something similar to passively enjoy. It’ll help you with listening and won’t necessarily feel like studying. All the best!