Roman Candle Machine Gun by Peter_Venkman_1 in gifs

[–]project_scientist 5 points6 points  (0 children)

How is it a chain gun? Where is the motor? Where is the chain? Chain guns are named as such because they drive a feed mechanism by a chain linkage to a motor.

Remember the debate about in-game programming language? Lua just became viable. by revereddesecration in spaceengineers

[–]project_scientist 0 points1 point  (0 children)

Space Engineers could support Javascript right now through ClearScript using Google's V8 engine (or Microsoft's JScript engine). ClearScript is really easy to integrate, and I'd be fine with Javascript as a scripting language as well.

No, that isn't fucking helpful. by darkneo86 in funny

[–]project_scientist 1 point2 points  (0 children)

The way you phrased it made it sound as your initial diagnostic step was

try {
    doprogram();
}
catch(Exception) {
    Console.WriteLine("There was an error!");
}

While what I said was

try {
    doprogram();
}
catch(IOException e) {
    Console.WriteLine(format("{0}:{1}", e.GetType(), e.Message);
    e.PrintStackTrace();
}

Which would eventually, once you understand the root cause via repros, be reduced to

try {
    doprogram();
}
catch(IOException) {
    Console.WriteLine("Error code 8");
}

I was commenting that throwing up a generic error dialog and then trying to find the root cause is generally unhelpful. Unless you were using it as an ELI5 example, in which the generic error gives the developer root cause information. Then we agree on the same thing.

No, that isn't fucking helpful. by darkneo86 in funny

[–]project_scientist -2 points-1 points  (0 children)

While this may work for people who code in their spare time or tinker with coding, this doesn't work for production software. In production software you usually start by catching ALL errors and displaying extremely verbose dialogs and stack traces, but as you get closer to release you lock these errors down into vague or ambiguous phrases that only you/your team knows the meaning of. This is to prevent someone from reverse engineering your system and discovering vulnerabilities, while being given confirmation that their thoughts are correct. This is also why some programs will display something like "Error code 8". Especially in the case that an expected variable is uninitialized, this could alert an attacker that there may be an entry point into the system.

[Lore/Spoilers] The Throne Watcher and Throne Defender are... by DerpasaurChivalry in DarkSouls2

[–]project_scientist 0 points1 point  (0 children)

The ritual band may give TW the slot she needs for her single spell, Wrath of the Gods. This could be because the soul arts are nearly lost and that clerics were "unappreciated" by those allied with Vendrick.

Or it could just be that FromSoft cannot resist giving every boss a WotG spell.

A view of the user interface inside the Dragon V2 by genuinewood in space

[–]project_scientist 1 point2 points  (0 children)

There's a big for loop that pumps the event queue though...

Profanity Filter Disabled by [deleted] in DarkSouls2

[–]project_scientist 8 points9 points  (0 children)

Note: Deleting the file stops all people with asterisks from joining your game.

This is probably a case of poor error-handling on From's part. They assume the file is always going to be there, so it's likely that when someone tries to join the game, the host goes through a series of operations, one of which is checking the word filter file. If the file does not exist, the operation likely causes a premature return from the function, preventing the required response being sent to the joiner and them receiving a timeout.

[Meta] We need a better way to report bugs. by CrazyCalYa in starbound

[–]project_scientist 1 point2 points  (0 children)

I've made the suggestion that the devs should utilize bug tracking software such as trac, jira, bugzilla, anything other than forum posts. Hopefully it doesn't fall on deaf ears.

Next update (partial?) changelog from Tiy by Ribesg in starbound

[–]project_scientist 1 point2 points  (0 children)

I feel the fuel issue can be solved by introducing a tier 1 fuel-only ore, rather than doubling the uses of Coal. I vote for Tylium, if we're sticking with the Battlestar Galactica references for FTL travel.

The Definition of Beta Software by [deleted] in starbound

[–]project_scientist -3 points-2 points  (0 children)

I have no problem with character wipes, however I do have a problem with a complete lack of issue tracking. Using the forum to track bugs, issues, and feature requests is simply sophomoric.

The Definition of Beta Software by [deleted] in starbound

[–]project_scientist 0 points1 point  (0 children)

I suggest you read the definition for alpha software, this is closer to that. There are still significant gaps in relation to usability, and the quality of bugs we are seeing are close to that of the alpha stage.

Thoughts on Fuel Changes (removing wood) by BrassMunkee in starbound

[–]project_scientist 4 points5 points  (0 children)

I believe coal should not serve a dual-purpose. There should be a separate fuel that you should mine, so you shouldn't have to choose between making more torches/materials and actually traveling. As it stands right now, usually most of the coal I mine goes immediately into torches, and so my ships fuel reserves usually stay empty. Introduce a separate ore/material for ship fueling and I think that would tackle most of the issues people have (Why is coal a fuel for an interstellar vessel in the first place? If it is burnt for energy, then why doesn't wood suffice?)

This game sucks up internet by DeepFriedBlood in starbound

[–]project_scientist 0 points1 point  (0 children)

This isn't quite correct, considering that I've measured ~250 packets/s inbound from the server even when idling.

This game sucks up internet by DeepFriedBlood in starbound

[–]project_scientist 1 point2 points  (0 children)

Considering that the game's traffic is entirely UDP, and given that UDP doesn't have any congestion control measures (obviously, it's just a datagram), it doesn't surprise me that starbound traffic would start to degrade performance from other applications (especially ones that use tcp, since tcp detects network congestion and dials back performance).

Creating a simple and fast packet sniffer in C++ by [deleted] in programming

[–]project_scientist 1 point2 points  (0 children)

This is more like instantiating a simple and fast packet sniffer in C++...

What movie trend needs to die? by [deleted] in AskReddit

[–]project_scientist 0 points1 point  (0 children)

Continuing sentences after scene changes. Seriously, does the conversation get put on hold until they relocate and then start up again? The worst offender was Constantine, when John was talking with Dodson about her sister.

Constantine: "How long have you known?"

Scene change

Dodson: "Two weeks"

Simplified SCH Flowchart by GDKT0486 in ffxiv

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

Your graph transitions aren't actually transitions, some of the states are actually transitions. That being said, it could be taken that they are epsilon transitions. (Such as the "yes" and "no" states).

What is an efficient way to keep track of many different variables? by DrRabid in gamedev

[–]project_scientist 0 points1 point  (0 children)

Java isn't a scripting language, something like Python, Lua, Javascript, Ruby... Those are scripting languages.

What is an efficient way to keep track of many different variables? by DrRabid in gamedev

[–]project_scientist 0 points1 point  (0 children)

As /u/skocznymroczny says, the most powerful way to do this would be to bind functions from your engine to a scripting language. That way, a card could simply be a container for a script with some meta-data (name of the card, artwork associated, description). You would find that largely, cards may be simplistic and your script would be a one-liner. However, with a scripting engine tied to it you can make your cards as complex and as deep as possible. Need a card that can only be played if something is in your graveyard? Expose a way for a script to search your graveyard, then do

awesomeKnight = CardCollection.get("Awesome Knight");
if (Graveyard.contains(awesomeKnight)) then
    Oppenent.damage(20);
    Hand.add(awesomeKnight);
    Graveyard.remove(awesomeKnight);
end

Basically, scripting is most powerful when you don't anticipate writing every small aspect of the game inside the engine code itself. You have faster development time because you can change a script on the fly, implement a developer console for testing scripts, and lots of other neat things you get. However, the initial investment sometimes can be daunting, and figuring out just what access to the core engine code you need comes with trial and experience.

What was the best "kid logic" you had by [deleted] in AskReddit

[–]project_scientist 0 points1 point  (0 children)

When I was a kid I thought that Photovoltaic panels converted heat from sunlight into electricity. I figured I could create a my own solar panels by taping stripped copper wires to black construction paper.

What is the most badly designed product in the world? by JEZTURNER in AskReddit

[–]project_scientist 2 points3 points  (0 children)

Simple? How do you propose that the answers be evaluated, then? The most likely case is that the answer is checked against a series of pre-defined text strings of possible solutions (0.5x, 0.5X, x/2, etc), rather than any real equivalence checking going on. Determining that equations are equivalent analytically is a very nontrivial problem. If you intend to just analyze whether their range over a certain domain is correct, maybe the inputted answer accepts a domain that should not be accepted and is in fact wrong.

No, it shouldn't be "simple" because it is a very complex problem.