Welcome, Guest. Please login or register.
April 17, 2014, 09:18:28 AM

Login with username, password and session length
Search:     Advanced search
RPGFan Community Quiz
Next Quiz Date: January 11, 2014
Subject: 999 (Nintendo DS)
For more information click HERE!
318980 Posts in 13029 Topics by 2145 Members
Latest Member: aew0
* Home Help Search Login Register
  Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 543
61  The Rest / General Discussions / Re: A Game Journal Reborn on: April 03, 2014, 07:17:39 PM
Xenoblade

There's a side entrance to the lizards.
62  The Rest / General Discussions / Re: A Game Journal Reborn on: April 03, 2014, 12:27:15 AM
Suik 3 - I really wish the story segments were skippable in this.
63  Media / Single-Player RPGs / Re: The official waifu thread on: April 02, 2014, 11:25:22 PM
Epona.
64  Media / Single-Player RPGs / Re: Conception II on: April 02, 2014, 07:15:15 PM
I meant more that I found the endless dialogue and shapetweening abuse super offputting.
65  The Rest / General Discussions / Re: What's the haps? on: April 02, 2014, 07:10:46 PM
@ Holykael:

Okay that not being French explains why I couldn't read it.

Anyway imma try to rewrite that in a more concise form and if I can figure it out I'll PM it to you.

I'm just gonna say:  I hate group projects.  Do they get better in a work environment or do people generally remain unbalanced in what they can contribute?

I'm just going to say WELCOME TO HELL.

--- edit ---


fffff

Code:
(define (anonimizer name-list input)
  (string-join
   (map (lambda (word)
          (if (memf (lambda (arg)
                      (regexp-match? (pregexp (string-append* arg '("[:punct:]*[:alpha:]?"))) word)) name-list)
              (regexp-replace* #px"[A-Za-z]" word "#")
              word)) (string-split input))))

This mostly works although I don't know enough about regexen to not pick up the s in "Tony's."

Actually wait I'm overthinking this hang on.

--- edit ---

Whoops I'm stupid.

Code:
(define (anonimizer name-list input)
  (string-join
   (map (lambda (word)
          (if (member word name-list)
              (regexp-replace* #px"[A-Za-z]" word "#")
              word)) (regexp-split #px"\\b" input)) ""))

1. regex-split breaks the input string into all of its substrings based on word boundaries, meaning that spaces and punctuation get moved into their own substrings. It then stuffs the tokens into a list.

2. map just calls the anonymous (lambda) function for every single element in the tokenized input string. If the token is in the name-list, I use a regex to replace all of the letters in that token with #s. If it's not in the censored name list, the if block just returns the original word.

Map's like specifically for applying the same operation to every item in a list and exists exactly to deal with what you were trying to do. I don't think recursion's really appropriate for that, although you could do it.

3. String join glues everything back together. By default, it sticks spaces in between each token. Since regexp-split already made the spaces their own tokens, I had to stick that "" at the end to tell it to not do that (use the substring "" instead of " " as glue, basically).

Six lines, and no recursion. It also uses the built in Racket string and regex libraries a lot because reinventing the wheel isn't considered a good idea.
66  The Rest / General Discussions / Re: A Game Journal Reborn on: April 02, 2014, 12:20:56 AM
Suik 3 - Started Chris' chapter. Got one of the random bosses, and killed it instead of running from it, just because I wanted to. That was fun. I'm getting the impression that you can actually die in this game without having to go out of your way to, uh, let the enemies kill you.

Umihara Kawase - Still stuck at the first boss. I think I'm just going to keep going through level 4 until I can do it consistently.

Dragon Force - This game isn't supposed to be that hard why am I so bad at it hrrrrrf I think I should start focusing on a smaller set of general, or get more soldier-equipped mages out. I sort of don't want to give too many awards to the generic guys though.
67  The Rest / General Discussions / Re: What's the haps? on: April 01, 2014, 10:45:59 PM
Holykael1, that looks weird to me and I forgot french. Can you give a more in-depth explanation of what it's supposed to do?

Sample input and output would be helpful.
68  Media / Single-Player RPGs / Re: Conception II on: April 01, 2014, 08:27:43 PM
Watching someone play the demo on Vine. This looks stupid as hell.
69  The Rest / General Discussions / Re: What's the haps? on: April 01, 2014, 07:59:13 PM
Quote
Those were obnoxiously puzzley and dealing with strings, lists and things of the sort was way more complicated than it needed to be.

Oh. Your prof was making you rewrite the Racket common library as a learning experience, I'm guessing. Scheme also has more typical iterative loops (although they're not as robust as what Common Lisp has, from what I remember.), and whether you use recursion or a loop is entirely down to which is going to work better in that situation.

Did they even get into closures at all? The fun stuff you can do with functions-as-objects?

The advantage with Scheme and other LISPs is that you have tail call optimization, meaning that if you DO need a recursive function, you can set it up so that it won't eventually blow up the call stack.  
70  The Rest / General Discussions / Re: What's the haps? on: April 01, 2014, 07:10:25 PM
I'd rather butter my bread my whole life, enjoy each day and die at 55 than deprive myself of it until I die, miserable, at 85.

71  The Rest / General Discussions / Re: A Game Journal Reborn on: March 31, 2014, 07:49:43 PM
An aside: Can anyone recommend an exploration focused-game with a Myst-like feel to it? In the mood for playing in a world I can explore, but with a notebook and pen by my side as I discover things and take notes for potential puzzles. No/limited combat would be good. Just an adventure.

Have you played the other games in the Myst series? 3's kind of constrained and not very explorationy, and it's kind of easy, but still pretty solid. I *loved* Riven though, and most of Uru (there were two puzzles that were dumb. One involved fireflies and it was /really/ dumb). I think Myst 4's regarded as the weakest, but it's not bad. 5's pretty solid from what I remember.

Beyond that, uh... Toki Tori 2 is an exploration/puzzle platformer that's not really Myst-like but I'm going to keep pimping t forever.

http://tubular.net/forums/music-vr-now-available-from-tubularnet--?act=ST;f=41;t=9438 <- Here's some freeware. It's a thing Mike Oldfield was involved with. They're kind of gross looking but I like Tr3s Lunas a lot.

http://www.gamersgate.com/DD-RTMI/return-to-mysterious-island <- Really liked this one.

There are some exploration-oriented RPG Maker games. Yume Nikki and Middens come to mind -- middens has optional combat.

Kairo and The Sea Will Claim Everything are... also fairly cheap. TSWCE is great -- not really as explorationy but it's... great.

Um... maybe divisive but I'm gonna throw out recommendations for Shenmue and Chulip as well.

Oh, there's also Cosmology of Kyoto and Tong Nou if you have two hundred bucks lying around and don't mind some mental scarring. I like Tong Nou a lot but, fuck, when I played it, it's before anyone else knew about it and it was the most /bizarre/ thing I had ever seen and it was freaky.

Also, never got around t playing it, but GOG has The Last Express and it's supposed to be good.

@ Elegance/Darilon:

What I played of Strange Journey and Persona 3 were really easy, too. Partially because a lack of press turn but still having mechanics that otherwise relied on it being there, partially because none of the enemies are really that threatening. Also Persona 3 let you have to many personas/made it too easy to switch around.

@ Goat Simulator:

I legitimately want this because I liked bizarre sandbox games. I... think my laptop can handle it.

--- edit ---

Suik 3 - Almost at the end of Hugo's chapter. This game doesn't let you save nearly often enough.

Also I don't totally get the battle system -- it looks like the lead character in a pair attacks what you command them to, and the back guy goes for whatever's closest.
72  The Rest / General Discussions / Re: What's the haps? on: March 31, 2014, 07:36:35 PM
@ Holykael:

1. Scheme/Racket is actually really neat/useful and I'm 100% certain that it only looks stupid because your lectures screwed up on teaching it/explaining WHY  functional programming languages are something you'd want to learn.

Also Scheme's probably less restricting than C++ (although it's more restricted than Common Lisp because it has some safety features built in), so I'm guessing your profs PROBABLY were only exposing you to a limited subset of the language or putting some arbitrary restrictions on it.

And C++ gets incredibly obnoxiously puzzly, in ways that Scheme/LISPs aren't. There are a lot of fiddly design patterns you need to rely on in C++ that are transparent in LISPs.

2. I've been working with MIPS R3000 for awhile for reasons and how is X86 more complicated that MIPS? I've never used X86 before so I'm curious.
73  Media / Single-Player RPGs / Re: Megami Tensei Topic on: March 31, 2014, 07:30:23 PM
Atlus and Index split, new logos and websites launched -- Gematsu



New logo looks casual. P5 confirmed to be as boring as looking grass grow.

OH MY GOD THIS IS WORSE THAN THAT EPISODE OF DR. WHO WHERE KORRA TURNED INTO AN ALICORN AND MADE OUT WITH GAMZEE.
74  The Rest / General Discussions / Re: A Game Journal Reborn on: March 30, 2014, 10:36:36 PM
Headcanon: Blitzballs are just the giant sperms of Sin.

Wasn't one of the blitzballs a turnip?
75  The Rest / General Discussions / Re: What's the haps? on: March 30, 2014, 10:18:44 PM
Quote
If anything they classes are  nothing more than a reference point of what I should be learning at a specific time or whatever.

They don't even get that right. The pacing is /glacial/.

I don't know. I pretty much learn by doing and I don't get anything out of lectures, which is why the training sessions we occasionally have at work are useless to me.
Pages: 1 ... 3 4 [5] 6 7 ... 543


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!