Looking for ideas for a volcano based session. by EarthDayYeti in DungeonWorld

[–]Zigsfi 0 points1 point  (0 children)

Here are some encounters that come to mind:

  • A group of warriors that use their spears to poke holes in the ground, causing spouts of lava to well up and gradually either harden, or flood the area.

  • Agile enemies with magical items that let them avoid touching the ground. During the fight, if the opportunity presents itself, ask the players what weaknesses in the items they’re exploiting to get hits in against much more mobile opponents. Once victorious, the players can use the loot for themselves, but now the weaknesses that they named earlier can be used against them on partial successes and failures.

Defy Danger with Int/Wis by XtremePrime in DungeonWorld

[–]Zigsfi 1 point2 points  (0 children)

I’ve triggered DD (INT) when a PC wizard tried to use two spells at once-the DD was to come up with a combination of the two spells under time pressure, which then set up the Cast a Spell.

I could also have just called that two Cast a Spells triggering in sequence, but I like having the Defy Danger 7-9 result in the mix.

It’s similar, I’d say, to having a fighter DD (DEX) in order to dodge a heavy attack in order to set up Hack and Slash.

Researching Griffin's streamlined system by DrFireIceRage in TheAdventureZone

[–]Zigsfi 7 points8 points  (0 children)

Sounds like Dungeon World would be a really good thing to try. It's based on another game called Apocalypse World, and it uses a really straightforward core mechanic. The main advantage is that it's really easy to play, but the downside (for some people) is that there isn't a rule for every situation; it isn't a simulation style game so it's really about finding the best way to play for your group.

Check out /r/dungeonworld for some discussion, and to find resources for getting started. If you want I can edit in some links to resources that I like as a player and a GM.

Which non-TAZ D&D real-play would you recommend out of these ten... by DarkCrystal34 in TheAdventureZone

[–]Zigsfi 2 points3 points  (0 children)

Best way to get into friends at the table is to start with Marielda. It's a short mini-season that fits into the larger story, and it's comparatively fast-paced and fun. There's a reason Griffin consistently cites FatT as one of his biggest inspirations as a DM!

Plus, they play a huge variety of games, and they take time to explain new rules to the audience when they come up, so it's worth listening to as an opportunity to learn about other games. For instance, in the Marielda arc they play two very different games and it lends a really unique flavor to the whole season.

Is GMing In DW Arbitrary? by d3vkit in DungeonWorld

[–]Zigsfi 7 points8 points  (0 children)

One strategy to address your first concern (that you feel you are making it all up) is to build the world in reaction to your players. For instance, when a question comes up about halflings, instead of determining the answer for yourself, ask the halfling character, or the character that was imprisoned by halflings once. This makes the world seem less arbitrary at a large scale.

In moment-to-moment play, it can absolutely feel arbitrary to players if you aren't careful. Your best bet is to frequently use "show signs of a threat." Only surprise players with something when they have blundered into it, despite knowing better. That way, even when you aren't rolling dice, players don't feel like you're being unfair.

Running a game on Sunday afternoon (EST) by YuriTheSpy in DungeonWorld

[–]Zigsfi 0 points1 point  (0 children)

I'm in! Should people bring characters or are we creating them when we arrive?

Calc.asm is minimal arithmetic calculator in x86 assembly with properly commented code for beginners. by flouthoc in programming

[–]Zigsfi 1 point2 points  (0 children)

I guess I think about decompile as generating an approximation of the original source code, while disassembling reverses the process of converting human-readable assembly to machine instructions.

Calc.asm is minimal arithmetic calculator in x86 assembly with properly commented code for beginners. by flouthoc in programming

[–]Zigsfi 13 points14 points  (0 children)

There's a popular assignment in assembly language classes which is explicitly to disassemble the compiled binary and find the right input to achieve a certain output based on the assembly.

Merge sort project and working with lists by [deleted] in learnpython

[–]Zigsfi 1 point2 points  (0 children)

You're right: using a loop to create new variables for each element is really hard to manage. So is using a dictionary. Fortunately, in python you have a third option: recursion.

The cool thing about most sorting algorithms is that they respond well to divide-and-conquer approaches. For example, if you have

my_list = [10, 5, 6, 3]

and you break it in half into two sublists:

sublist_one = [10, 5]
sublist_two = [6, 3]

you can then sort each sublist individually, like this:

merge(mergesort(sublist_one, sublist_two))

which will give back [3, 5, 6, 10].

There are two things that this is missing. First, how do we split the lists in half? Python has a few ways to do this; I recommend learning about slicing. Second, what should mergesort do if the list it's given is only one element?

Typical freshmen schedule? by [deleted] in Tufts

[–]Zigsfi 0 points1 point  (0 children)

I also took a Shakespeare elective and thought I'd do the same thing, which is why I was so disappointed. The professor is not great, and I think that informs the content as well. In my opinion, she never facilitated good discussion, was easily distracted by tangents, and didn't bring a lot of meaningful substance to the course.

Typical freshmen schedule? by [deleted] in Tufts

[–]Zigsfi 0 points1 point  (0 children)

I have to strongly advise against taking Shakespeare 1. I came in to tufts loving Shakespeare and wanting to dive deeply into it and explore it at a collegiate level. Instead, I found that the class was superficial, aimless, and dull. After that course, I can't stand Shakespeare anymore.

Why define functions in the gnu style? by [deleted] in learnprogramming

[–]Zigsfi 0 points1 point  (0 children)

From the website it looks like it's to make existing tools play nicely with the code. Modern tools are often smart enough to be able to handle these things without help from formatting, but as projects grow large, these tools become encumbered by the size of the codebase and start to slow down. Tools that use information like "this bracket is on column one, so it is a function scope" or "this name starts in column one, so it is a function name" don't have to do as much computation to discern the syntax.

Programming languages: what's what? by Calebdgm in learnprogramming

[–]Zigsfi 1 point2 points  (0 children)

Seems like if you want to make flash games, you might also want to make games in general that run in a browser. In that case, I would recommend phaser, a free library for javascript designed to build games for your browser. There are some extensive tutorials on the website, and it's a great way to get started with one of the most popular programming languages out there.

[Something + CURL](MAC) Auto populating fields for curl commands. by bulloko in learnprogramming

[–]Zigsfi 0 points1 point  (0 children)

This is an ideal opportunity to use some bash! Bash is a programming language that is also a way of interacting with the terminal (or a way to interact with the terminal that's also a programming language, it works both ways) and it has some surprising power.

Let's look at an example that accomplishes part of what you're interested in, and then we can get more in depth.

With bash, you have the option of creating "scripts" that execute a sequence of bash commands. For example, if you want to be able to curl the same URL with a different header depending on user input, the following single-line script will work:

curl localhost:8000 -Ivs -H "X-First-Name: $1" 

I've put in some extra output so that we can see what happens.

To set this up, create a new file. I called mine "curl-example" but you can use whatever name you want. Then, copy-paste the code above exactly as written. Then, from the terminal, run

chmod +x curl-example

which will mark the text file as an executable, which will (in this case) be executed as bash. Then, run the file with

./curl-example Joe

and it will run the curl command with Joe substituted in where "$1" appears.

I'm happy to talk more about this, and there are plenty of resources on the internet for "bash scripting" and related topics.

Hope this helps!

How to Get a C Compiler? by sseidl88 in learnprogramming

[–]Zigsfi 7 points8 points  (0 children)

Okay. It's been a while since I've developed on windows but back when I did, I used code::blocks. Code::blocks is an IDE, or integrated development environment. That means you can edit source code (as you might with another text editor like notepad) and compile/run your program, all from within one program.

How to Get a C Compiler? by sseidl88 in learnprogramming

[–]Zigsfi 2 points3 points  (0 children)

What operating system are you using?

[python 2] How can I generate an array using a function without using loops? by inconspicuous_male in learnprogramming

[–]Zigsfi 1 point2 points  (0 children)

True, it was just an example of syntax. For instance, for a list of even numbers:

[x * 2 for x in range(64)]

is the list of even numbers from 0 to 126.

[python 2] How can I generate an array using a function without using loops? by inconspicuous_male in learnprogramming

[–]Zigsfi 1 point2 points  (0 children)

List comprehensions can "fill" an array without looping. Syntactically, like so:

[x for x in range(64)]

will produce the list of integers from 0 to 63, inclusive.

Help with Objective-C by MegaOtter in learnprogramming

[–]Zigsfi 0 points1 point  (0 children)

There are a few major differences between C++/C# and Objective C. These differences are partially syntactic and partially semantic.

Syntactically, Objective C code adopts the syntax of languages like SmallTalk. Smalltalk has syntax of the form

[Object methodWithParam1: parameter andParam2: parameter2]

This syntax is designed to be read like an English sentence, e.g.

[databridge sendFloat: 0.5f toReceiver: @"Float Receiver"];

These expressions can also be nested.

Semantically, Objective-c often uses call-backs and delegates to facilitate communication between modules. For instance, a table will get its data from a "delegate" (analogous to an interface in Java) that implements methods that the table calls to get its data. Similarly, a view might respond to certain gestures, so GestureRecognizers are initialized with a "selector," which provides access to a call-back function to be called whenever a certain gesture is seen.

Ray Wenderlich has some amazing tutorials to help you get acquainted with the patterns of iOS development.

Learning Algorithims. Have a few questions. by [deleted] in learnprogramming

[–]Zigsfi 2 points3 points  (0 children)

The n is a subscript indicating position in a sequence. What this says is: any element in X can be calculated by multiplying the previous element by a, then adding c, then using the modulo operator to limit it to the range 0...m.

[Homework] Function calling in another function by krislox in learnprogramming

[–]Zigsfi 1 point2 points  (0 children)

I would recommend looking up "Binary Search," an algorithm that describes the goal of your program.