[QUOTE=Rocket;48904212]If you're going to shit on Java, you can come up with many better reasons than those.[/QUOTE]
Again I have no experience with Java, so I kinda can't, but those are just the reasons I can come up with at the moment and the reasons I don't want to go into it further.
If you want some real examples I'm sure I can contact a friend or two that know it and hate it to explain why.
[QUOTE=TeamEnternode;48904198]-I can only think of one major game that uses Java. And it has fucking blocks for graphics.[/QUOTE]
How does this make it inferior?
[editline]14th October 2015[/editline]
[url]https://en.wikipedia.org/wiki/Category:Java_platform_games[/url]
[QUOTE=cartman300;48904089]Have you?[/QUOTE]
That is literally the most stupid and biased post I have ever seen in the programming subsection.
It's actually kind of amazing.
[editline]15th October 2015[/editline]
[QUOTE=TeamEnternode;48904149]Yeah but if you omit all of them then what the fuck is the point in using it over a while loop?
[code]while(true)[/code][/QUOTE]
[code]
#define ever ;;
for(ever)
[/code]
[editline]15th October 2015[/editline]
The for(ever) was a joke. Seriously, don't use that.
wouldn't it be
#define ever ;;
?
[QUOTE=TeamEnternode;48904198]Java has a lot of stupid shit, and I'm only scraping the surface because I have little to no experience with it:
-No pointers. These "references" are stupid I want my goddamn pointers
-Why is the main function a member class I mean goddamn can you be any more of an OOP Nazi?
-I can only think of one major game that uses Java. And it has fucking blocks for graphics.
-Setting up any Java IDE is much more of a bitch than it needs to be.[/QUOTE]
i hate java and these are all reasons that are wrong.
[QUOTE=proboardslol;48904343]wouldn't it be
#define ever ;;
?[/QUOTE]
Yes it would. I'm an idiot... I'll change it!
[t]http://i.imgur.com/wKIMmpV.png?1[/t]
Step one of my PD clone/neural network editor/thing, I've got camera movement in the workspace and moveable/selectable nodes. Next up is building the main per-node editing menu for managing connections and node functionality
Spent hours debugging AI code to see why they weren't shooting. Forgot to attach guns to spaceship.
Games are hard.
I've never really programmed anything in Linux, save for Bash if that counts. So I figured I'd give it a go with a hello world program and echo -e
[img]http://anotherprophecy.com/files/Ubuntu.png[/img]
I forgot a line break. :/
I love how simple it is.
[QUOTE=Rocket;48897838]Why bother? Why does it care about ants? Maybe it only cares about itself and wants to do everything it can to further its life. That would be a perfectly logical and rational conclusion.[/quote]
Depends on how you explain it to the machine. Let's just say, for whatever reason, there's a robot working for Shao Lin monks. More on this later.
[quote]Maybe the robot doesn't see much benefit in teaching humans? It is much more effort to reteach an entire race than to start from the beginning.[/quote]
Destroying every last trace of them would also be a huge amount of effort, as would developing systems that harvest us for whatever macabre bullshit sci-fi reasons. If you insist that a machine might not see us as useful to have around (or at least fun :v: ) then I insist that humans make themselves something that's useful to have around.
[quote]And calling it a "logical" device when it is, assumedly, neural network based isn't very accurate. Neural networks, like the brains they're modeled on, are not logical machines.
[editline]13th October 2015[/editline]
Note for posterity: I don't actually think all humans should be exterminated. But a robot might![/QUOTE]
Cause and effect is basic, natural logic. What happens when you do this? That happens. Well what happens if I did that? Then this would happen, etc. etc. Most of the stuff you do, is a direct result of logical decisions based on cause and effect.
Also, as I've stated, that you can even find any logic what-so-ever that all people should be destroyed, even though you "understand" (as in you understand all the emotional bullshit, the rampant irrationality, inequality, etc.), says far more about humans than it does the nature of the machine. There are many people throughout history (and the present day) that have the same sort of attitude you're proposing robots may possess (which if a machine is made to walk like a person, talk like a person, and THINK like a person (only smarter) then what else could you expect?), but that doesn't mean that all people are like that, because these people not only understand, but respect basic human rights, which can be interpreted as "don't do things to people that you wouldn't want done to you" bare-minimum.
If you can justify killing a human being in any capacity, then you've found the cause for any robot to come to that conclusion, which more likely than not will point to ignorance.
[QUOTE=false prophet;48905437]I've never really programmed anything in Linux, save for Bash if that counts. So I figured I'd give it a go with a hello world program and echo -e
[img]http://anotherprophecy.com/files/Ubuntu.png[/img]
I forgot a line break. :/
I love how simple it is.[/QUOTE]
pkg-config will save you some headaches once your code start using libraries.
[IMG]http://i.imgur.com/Nq36jrp.gif[/IMG]
Working on the death and level finished screens.
Edit:
Added a Hud
[IMG]http://i.imgur.com/REvf9Px.png[/IMG]
Why is a barebones X gui program so easy to understand and create compared to windows forms?
This is great.
[edit] i'm bored now. back to my game stuff
[QUOTE=Isaac96;48905975]Working on the death and level finished screens.[/QUOTE]
I read that as screams. can you also implement screams. thanks.
Not what I'm working on, but of interest to some people here I'm sure!
[url]http://cpp-lang.io/30-years-of-cpp-bjarne-stroustrup/[/url]
I've been performing life support for a set of programs at my place of work for the last year and a half. These programs were mostly written by two Vietnamese guys with poor English and a guy who almost assuredly intentionally obfuscated the code. None of these people work here anymore and they didn't leave behind a single piece of documentation. It's been a nightmare to work on but we're finally gearing up for a major product hardware change and with it, new software.
I really want to make this new software the best I possibly can just to spite the existing software. :v:
Got to render 100000 [I](yes, 100k)[/I] sprites using OpenGL ES 2.0, at 60+FPS on my not-so-good laptop [I](i7 3517U, GT 635M, Arch Linux x64 Bumblebee + primus)[/I].
[URL="https://github.com/SuperV1234/Experiments/blob/master/emscripten/main.cpp#L376-L650"]Wrote a pretty cool batcher.[/URL] Proud of the code clarity as well :P
Every sprite instance has it's own position, size, x/y skew, rotation, hue[I](float)[/I] and tint[I](vec4)[/I].
[QUOTE=Bathacker;48906951]I've been performing life support for a set of programs at my place of work for the last year and a half. These programs were mostly written by two Vietnamese guys with poor English and [B]a guy who almost assuredly intentionally obfuscated the code[/B]. None of these people work here anymore and they didn't leave behind a single piece of documentation. It's been a nightmare to work on but we're finally gearing up for a major product hardware change and with it, new software.
I really want to make this new software the best I possibly can just to spite the existing software. :v:[/QUOTE]
I know a few people who do this, and it's just horrible. Only thing anyone can really do about it is complain to their superiors and hope the offender is fired.
[QUOTE=SupahVee;48907328]Got to render 100000 [I](yes, 100k)[/I] sprites using OpenGL ES 2.0, at 60+FPS on my not-so-good laptop [I](i7 3517U, GT 635M, Arch Linux x64 Bumblebee + primus)[/I].
[URL="https://github.com/SuperV1234/Experiments/blob/master/emscripten/main.cpp#L376-L650"]Wrote a pretty cool batcher.[/URL] Proud of the code clarity as well :P
Every sprite instance has it's own position, size, x/y skew, rotation, hue[I](float)[/I] and tint[I](vec4)[/I].[/QUOTE]
Are you using an older compiler?
[QUOTE=Dr Magnusson;48907813]Are you using an older compiler?[/QUOTE]
Nope, g++ 5.2 and clang++ 3.7.
Why?
[QUOTE=false prophet;48905437]I've never really programmed anything in Linux, save for Bash if that counts. So I figured I'd give it a go with a hello world program and echo -e
[img]http://anotherprophecy.com/files/Ubuntu.png[/img]
I forgot a line break. :/
I love how simple it is.[/QUOTE]
I agree, this is why I love linux. In C there's pretty much always some gnu library available for what I want it to do, as well as posix. It feels much more verbose than windows.h
[editline]15th October 2015[/editline]
[QUOTE=SupahVee;48907850]Nope, g++ 5.2 and clang++ 3.7.
Why?[/QUOTE]
Can I ask why you use clang? Not that I think GCC is any better, but I've never understood the differences between the compilers. I compiled something on clang once and it ran slower than GCC but that's probably because I suck at programming
[QUOTE=BackwardSpy;48907344]I know a few people who do this, and it's just horrible. Only thing anyone can really do about it is complain to their superiors and hope the offender is fired.[/QUOTE]
Yeah... he quit about two weeks after I started working here. Thankfully his portion of the code was relatively small and we rarely work with it but it handles a pretty integral part of our system and is a resource hog.
[QUOTE=SupahVee;48907850]Nope, g++ 5.2 and clang++ 3.7.
Why?[/QUOTE]
I was just wondering why you were using a FWD() macro, and how it was defined.
[QUOTE=proboardslol;48907912]I agree, this is why I love linux. In C there's pretty much always some gnu library available for what I want it to do, as well as posix. It feels much more verbose than windows.h
[editline]15th October 2015[/editline]
Can I ask why you use clang? Not that I think GCC is any better, but I've never understood the differences between the compilers. I compiled something on clang once and it ran slower than GCC but that's probably because I suck at programming[/QUOTE]
People prefer Clang over GCC because Richard Stallman is an idiot. GCC is a monolithic block of old, archaic code that is hard to understand for new and old developers. Clang on the otherhand is built up to be modular and can be used by IDEs for source code analysis and other fancy things.
More info: [url]http://clang.llvm.org/comparison.html[/url]
Clang is also better at telling you what went wrong and where.
[QUOTE=Dr Magnusson;48907986]I was just wondering why you were using a FWD() macro, and how it was defined.[/QUOTE]
[code]
#define FWD(...) \
::std::forward<decltype(__VA_ARGS__)>(__VA_ARGS__)
[/code]
I prefer to use it for readability:
[code]
auto lambda = [](auto&&... xs)
{
some_func(std::forward<decltype(xs)>(xs)...);
};
// vs
auto lambda = [](auto&&... xs)
{
some_func(FWD(xs)...);
};
[/code]
Anyone knows a good solution to have a terminal like control on a WPF form? One where each cell can be manipulated on it's own.
[QUOTE=SupahVee;48908304][code]
#define FWD(...) \
::std::forward<decltype(__VA_ARGS__)>(__VA_ARGS__)
[/code]
I prefer to use it for readability:
[code]
auto lambda = [](auto&&... xs)
{
some_func(std::forward<decltype(xs)>(xs)...);
};
// vs
auto lambda = [](auto&&... xs)
{
some_func(FWD(xs)...);
};
[/code][/QUOTE]
Ah yeah, that makes sense. I was just wondering since I couldn't see it defined and assumed that maybe it was some work-around for dealing with older/newer compilers :)
[QUOTE=Bathacker;48907929]Yeah... he quit about two weeks after I started working here. Thankfully his portion of the code was relatively small and we rarely work with it but it handles a pretty integral part of our system and is a resource hog.[/QUOTE]
We have a guy like that at my work. Except, he writes his code in a format that is so unreadable we actually scrapped a whole project of his because we couldn't read it or make sense of it. Apparently he use to write only C wayback and we use C# for our applications.. He refuses to change how he codes and will not follow any style guide. Also doesn't use resharper even though its provided.
[QUOTE=DrDevil;48908114]People prefer Clang over GCC because Richard Stallman is an idiot. GCC is a monolithic block of old, archaic code that is hard to understand for new and old developers. Clang on the otherhand is built up to be modular and can be used by IDEs for source code analysis and other fancy things.
More info: [URL]http://clang.llvm.org/comparison.html[/URL][/QUOTE]
You can't really blame Richard M. Stallman for everything bad the GNU project, and it's contributors, does. He's a bigger part of the political movement, than the code part. And has been for a long time.
Sorry, you need to Log In to post a reply to this thread.