848 karma · joined July 21, 2022
I think "overlapping shadows get darker" is just not a very intuitive way to think about it because it disregards the stuff that actually matters, which is the light sources and how the scene may block their light paths.
For early games that could not afford advanced methods of global illumination, making overlapping shadows get darker seems like a reasonable, though not necessarily correct, way of faking it.
And the other thing ignored in these comments is perception. For the case of the two businessmen looking at their shadows under a bridge, it is easy to show with a diagram that some areas of overlapping shadows are, in fact, darker. But in such a poorly lit scene, people are likely to conclude that there is no difference, which isn't to say that there isn't one but, rather, that they don't perceive one.
Working on your own engine gives you a level of understanding that cannot otherwise be obtained. It's like writing your own OS. This is very much a worthwhile endeavour. People should be encouraged to write their own crap, even if they don't end up using it on the job or whatever (whoever the fuck said this was the only metric for deciding what to work on?) because of the level of insight it provides.
Generic engines like UE5 and Unity break down both in terms of functionality and performance the moment you do something they are not intended to do. They are also an overkill for a project of the scale shared here. From an engineering perspective, it's absolutely ridiculous to use an engine for this project.
So please stop parroting this nonsense. Use your goddamn brain to form opinions. There isn't an off-the-shelf engine for that.
The same government that gives it tax cuts when building new "fulfillment centers" and billions of dollars in cloud/military contracts? Something doesn't add up in your logic.
> Consider all the "Lina Khan fans" you see on HN and elsewhere. They rarely articulate why the government should be suing these companies, which laws that company broke, or if those laws make sense. They just don't like big companies and want them taken down a peg.
https://www.ftc.gov/news-events/news/press-releases/2023/09/...
Edit: looks like a non-free OS indeed. The developer tools just seem to include an SDK. It's a pass for me.
Actually, you did. What you didn't do is read the fucking terms of service.
But sarcasm aside, it is a general failure of the system that things have gotten to this point. The amount of naivete like is seen above is tremendous, yet somehow we and everyone who understands this crap have failed to deliver the memo.
To be clear, EVs often have both batteries, actually; the lithium-ion one to power the transmission, and the good ol' lead-acid one to power the electronics, just like in a gas car.
https://motorandwheels.com/do-electric-cars-have-one-or-mult...
But I suppose you're saying EVs burn more easily. That's fine. Most of these articles I've run across are still rather dishonest, though.
Disclaimer: I am also not a Tesla fanboy. But articles like these are rather dishonest in how they present the "information".
> and this site seems to disrespect user expectations about layout, menus, and interactable elements, from a glance.
Why does this matter? GNUCash is a desktop application. The website is not all that relevant. And I have a different opinion about expectations anyway. The website is functional and easy to navigate, unlike the column-style, white space wasteland that "mobile-friendly" websites typically are.
This is for serious finance, not for swiping yolo stonks on Robin Hood.
Have you filed or read any software patents? Many are so vague that they do not embody any significant "idea" or contribution, and are mostly just a hindrance to actual innovation. And some are just plain stupid, like the patent to average two integers without overflow.
Like the parent said, a compromise could be "source or GTFO". But even that seems of questionable value.
The shit show gets to the point where many companies file patents defensively. They'll file a patent just in case their competition does it first, even if they have nothing to show for it. And this naturally affects smaller companies disproportionately because they do not have the funds to pay lawyers (there is a hilarious interview on Youtube of a small startup CEO that explains how his company spends more on lawyers than engineers.)
So tl;dr, we'd probably be better off without software patents altogether.
https://en.wikipedia.org/wiki/Instruction_pipelining
Your argument basically amounts to forming an arbitrary definition of "unit" that consists of the whole thing so that then you can state that there is no parallelism. By that token, an 8-core processor has no parallelism because it can only execute a single package of 8 threads at any given time.
Also, very low quality post, amounting to just a tweet, and an unsubstantiated one at that.
I'd find more comfort in the "others" that you mentioned, although I don't know who they are.
Yes, I botched that one, agreed.
> It's pretty easy to avoid boxing if you don't want it. They are separate types after all. Even so, Android lint has an inspection for it, and Intellij (presumably Android Studio too?) has an inspection you can turn on to detect it [1]. If you're running afoul of autoboxing, it's probably mostly in collections-based code and you'll want something like fastutil [2].
Autoboxing is a contradiction of "It's pretty easy to avoid boxing". It's specifically egregious for any place where you need performance guarantees.
> I don't understand this. You aren't using more than "native size" on any platform in any language without some sort of emulated Big* type.
Because you don't have unsigned integers (or arithmetic). So, for example, if you're playing with a 16-bit unsigned value, then you need a 32-bit signed integer to hold the 16 bits you care about (and you can kind of pretend you have 16-bit unsigned arithmetic.) But if you need a native-sized unsigned integer, you're out of luck.
> Implementations typically have both escape analysis and a nursery generation for this. This works well in a desktop/server environment.
Not on Google's VM the last time I tried. Shit went on the heap and the "concurrent" GC would then stall the entire application for ~1s every ~10s.
> I'm knee-deep in GDX and LWJGL, right now, but again not in a mobile context. I used to hang out in the Java gaming forums with the folks who originated LWJGL (e.g. cas).
I used to be on #LWJGL on Freenode, but it seems the guys moved to Discord or something.
By the way, we haven't talked about how horrible the JNI is, which requires you to wrap every C function so that you can pass around the JNIEnv handle and to manually marshal data structures to/from, like you're writing fucking Lua bindings or something. The right way to do FFI is the Haskell way, where you just call the function and get compiler support for auto-marshalling data structures (and, if you want, you can get your Haskell program to build and statically link the C library from source; no need to compile separately using another build tool and then dynamically load a shared lib.) Even C# does it better than Java. So in the use case where you have optimized C code and the rest of the application in Java, even the bridge itself is a pain in the ass to write.