Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment Re: Co-Eds Needs To Stop Showing (Score 5, Informative) 399

Well i can believe i just read another indoctrinated individual that was fed some propaganda in the 21st century.

Women shouldn't have to tame their behaviour because some guys can't handle it

Police officers shouldn't have to wear heavy uncomfortable bullet proof vests because some gun wielding criminals can't handle being good law abiding citizens. That's about as sensical as your statement. It's unrealistic to expect there to be no criminals, just as it is unrealistic to expect there to be no rapists. "They can't handle it" cause that's the stereotypical macho masculine view. That a man should just man up and if he doesn't he's a pussy that can't handle it. Fuck things like mental health or how he grew up or whatever the fuck else right? Being piss drunk makes you an easier target as you can't think/control your bodily normally. By no means does not drinking remove all risk, it just reduces it. It's hysterical that rather than acknowledging that fact, you'd rather refute it by saying we should be living in some utopia where no one does any wrong. Fuck off.

Comment Re:Why? (Score 1) 166

Using unicode isn't the problem, which tells me you probably don't understand why that code is ugly. Microsoft does allow utf8 character for windows, you can choose between the two.

I wouldn't need to create a union, cause i would simply program in C++. Even in Android's situation, Google could easily make some sort of C++ library for Android where they do all the JNI calls themselves. That way the user would never have to use JNI themselves. Even from there, odds are the Java code for the Android library makes some call to native. At that point it's simply exposing that API in native code. Like i said Android is just half assing native support. So no that's not the way it is, cause there are so many ways it could be fixed to the point you wouldn't even need to make a JNI call to Java from C++ or vice versa. You could just do everything in C++ which, if you are using C++ for a game you would probably actually prefer. Though that's NOT possible because of Google's laziness to implement an actual native API. So there is another way, you could avoid JNI altogether and then there's not of this bs that "that's the way it is" cause that's not the way is. That's the current way it is but there is a better way that Google just refuses to do. Probably cause they want you to write in Java, so that it is easier to disassemble your code to spy on, who knows.

Like i said in the previous post, calling a C/C++ from Java isn't that difficult, why you keep saying it isn't that big of a deal i don't understand without even acknowledging the way i'm actually talking about. It's making a Java call from C/C++ that is a pain in the ass. You know if you are writing in C/C++ and you need to make some call to Java code to get information you need. No using Unicode isn't the problem, nor is it the fact that you have to manually create a Java object in C++ code.

Comment Re:Why? (Score 1) 166

Are you referring to making a C/C++ call from Java? Cause that is a whole lot different and a lot easier to make than a Java call from C/C++. JNI is ugly, just because "that's the way it is" doesn't make it not ugly nor should that be the reason Google's actions should be tolerated. You make it sound like it isn't possible to have more than one language for an OS. Windows and pretty much every other platform that supports Java easily supports C/C++ and Java without one limiting the other. It isn't excusable just because they decided to focus on Java. I mean really the NDK is only there iirc because developers were complaining about how slow their applications were (games primarily i think). Everything since then has been a half assed job to support the bare minimum.

Also here's some sample code, if you don't think that's ugly i don't know what to tell you. I also didn't go into the problems with debugging either but at least some of it was fixed i think. Like how startup code use to not be debug-able cause the debugger for native code was started after the application was already running.
jstring Java_the_package_MainActivity_getJniString( JNIEnv* env, jobject obj){

jstring jstr = (*env)->NewStringUTF(env, "This comes from jni.");
jclass clazz = (*env)->FindClass(env, "com/inceptix/android/t3d/MainActivity");
jmethodID messageMe = (*env)->GetMethodID(env, clazz, "messageMe", "(Ljava/lang/String;)Ljava/lang/String;");
jobject result = (*env)->CallObjectMethod(env, obj, messageMe, jstr);

const char* str = (*env)->GetStringUTFChars(env,(jstring) result, NULL);
printf("%s\n", str);

return (*env)->NewStringUTF(env, str);
}

Comment Re:Why? (Score 2) 166

I think you took his second point the wrong way, feature wise you can support Kitkat for android and that'll cover ~70% of users or something like that. Sure that's not the newest version and there won't be material design but it is a good enough starting place, to then later add a specific version for the newest version. For games i think those features matter even less, what you'll probably need the most is the graphics API which doesn't really change from version to version of a mobile OS. I think he was referring to development hell for Android, specifically for native applications. It's in a pretty bad state, you can't even program in C/C++ without having to make Java calls to access Android specific features. Accessing APK resources from native? Nope gotta make a Java call from native which is really ugly to do. No standard library is officially supported, they are all essentially use at your own risk. It's really shitty how much effort Google is putting on the Java side of Android, going to lengths as implementing their own JVM compared to how little they care about Native. It's only been possible to compile native code in Android Studio recently, even then it's still experimental.

Comment Re:DRM Does Work (Score 1) 301

Getting pirated games to work on the 360 wasn't that difficult either, i mean yah you had to take it apart and buy a $10 device to do it. Even with the PS1 you wouldn't just use a copied CD, it need to be modded to allow for that. You don't need to be tech savy yourself, just need a friend who is, which most people have. Anyways piracy isn't as big of an issue as companies think it is. They think every person that pirated their product would have bought it instead, that's definitely not the case. Some people are just looking for free content, they would otherwise have no bothered purchasing it.

Comment Re:DirectX (Score 1) 281

The state of GLSL is really really really bad. In that regard Directx is better. No idea who thought it was a good idea to have to pass the source of shaders nor that they haven't implemented an alternative yet to this day. They did provide some way of getting the shader binary back but is completely useless as it makes no guarantee that the binary retrieved will be usable by the GPU, such as after driver updates. The binary also isn't compatiable across GPU brands etc etc. Making it another bloated useless feature. My laptop with an AMD gpu takes upwards of a minute to compile the GLSL shaders, there aren't even that many. Some convenience features like explicit uniform location isn't core until OpenGL 4.3. This is a feature Directx has had since it first introduced HLSL (iirc). Factor a bunch of things in and even if the next version of OpenGL included support for SPIR-V it'd be too little too late. Vulkan is around the corner and drivers for that will probably appear much more quickly and be compatibility with more computers than a new version of OpenGL.

Comment Re:DirectX (Score 1) 281

That's a bit flawed, you could say the same thing about Linux and Windows, and their market share. Then you look at smartphones and look at their share and Linux + OpenGL ES are the majority there. Both Cryengine and UE4 support OpenGL, if they can make their rather demanding engines work with OpenGL i think a lot of AAA games could follow suite. Is it worth the cost though? Xbox probably has a similar API as Directx, it is a lot easier to use something you already than to use something new. So if you are releasing for Xbox and PC it makes sense to target the 90%+ share API that you already know. Anyways OpenGL did a lot of things wrong, explicit uniform locations isn't a feature until some version of OpenGL 4.0, it doesn't even add any functionality that would improve performance or new features. It is really there to make code simpler, so you don't have to queue the shader for the location of a variable and then store it somewhere. There's a bunch of features like that that Directx has had for a rather long time and OpenGL only recently added. Of course OpenGL versions are slow to adopt and GPUs drop support. I work on a little engine of mine and i need really only the features of the level of OpenGL 2.1, that would support virtually all the GPUs out there but that would mean having to write shaders in whatever version of GLSL that OpenGL had. It's a giant mess and making new versions of OpenGL at the frequency Khronos is doing it at isn't helping. It's just making it that much harder for driver developers to adopt. Mac OS X is still running a couple versions behind iirc.

Comment Re:PS4 Drive Replaceable (Score 1) 106

- Heading to a friends place to play one of my games with him but only have a couple hours to play, I could spend that time re-downloading the game onto his console or I could just bring my drive with me.

So you mean that one off chance you actually go over to a friends house to play a co-op game im assuming. Not much of those left, even Halo is removing split screen. So for the other 99% of the time you use your console you'll end up suffering slow load times. Sound great.

- Heading to family's for an extended period who have a 20GB monthly cap on their internet (no joke), either all 3 of us bring our consoles or 1 brings the console and the other two bring their drives.

Why wouldn't all 3 of you want to bring your consoles? What if you want to play two different games at the same time? Also if your going to family's for an extended period why are you bringing your consoles over instead of, you know, spending time with your family?

- Friend wants to "borrow" DLC I own, I can leave my drive with him & a signed in account for him to be able to access the content.

Ah illegal copying.

None of those points really cover a large portion of your console use. It really doesn't excuse not being able to swap out the internal HDD.

Comment Re:PS4 Drive Replaceable (Score 2) 106

You can store data on USB on a PS, it's a feature that PS3 had since day one i think. Using a USB as a HDD replacement though, those long load times just become that much longer. I don't know why you'd ever want to bring your whole HDD anywhere with you, sure gave saves or something that's fine and can be on a USB. A 1 TB USB drive is like x10 more expensive than a 1 TB HDD. Also no SSD capability. You lose so much more without being able to replace your HDD in your console. The main benefit you say about the USB applies to pretty much no one.

Comment Re:Fine with me. (Score 1) 230

What game in recent history doesn't just direct you to some online DRM service? I honestly can't think of one. The only games that get Disc releases anymore are big AAA games backed by big publishers and they all have their own Steam-like system (origin, uplay, battle.net, etc). All the indie stuff is distributed digitally cause its cheaper and doesn't require a publisher anyways. I don't see steam going anywhere in the near future, sure they may disappear at some point for some reason. If the service does shutdown i suspect they could release a program to let you install and play game backups without having a steam account. You can still make backups of your games with steam after all. Oh i actually did think of one, Witcher 3, though can't think of another. So you trust yourself? If your house burnt down now or someone broke into your house right now and stole all your backups and your PC. Would you still have access to all your games. Cause if that happened to me right now i would, cause i could just log onto any computer using Steam and have my entire library there. Just how much do you trust yourself now? Sometimes we forget how easy it is to lose a backup when you keep them all in one nice cozy basket.

Comment Re:Good point, Weak argument (Score 1) 141

Like i said, if you are only paying for one service then i'm sure you'll find it a steal. Anyways Google Drive is free for 15GB of space (that's more than enough space, i have my backup ISO of windows 8 and 10 on there along with thousands of other files and pictures) and they provide word editing tools all for free. They work in most web browsers and mobile devices running Android. Not sure if it works on Windows Phone but does anyone even have one of those? Again, all that, for free. Looks like OneDrive has free 15 GB of space as well of some free version of Office. Makes me wonder what you are even paying for $90 a year.

Slashdot Top Deals

Time is the most valuable thing a man can spend. -- Theophrastus

Working...