Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Josh @ Dreamland

2386
General ENIGMA / Re: Pin tip topic
« on: February 01, 2010, 09:36:21 AM »
Yes, but nickname standards dictate we put the first segment of your name serves as nickname. Score_ complicated that a bit, but we figured it out.

2387
General ENIGMA / Re: Generated Parser (v2)
« on: February 01, 2010, 07:49:57 AM »
Cygwin, a Linux emulator for Windows, for Linux?

2388
General ENIGMA / Re: Generated Parser (v2)
« on: January 31, 2010, 10:25:57 PM »
There's a difference between a freshly written memory manipulation class pulling that, and GNU Make/Bison/whoever pulling that.
Notice how none of my executables have write permissions. [rwx]

2389
General ENIGMA / Re: Generated Parser (v2)
« on: January 31, 2010, 07:40:48 PM »
Code: [Select]
"parser.ypp", line 11: unknown character with code 0xd in declaration section
"parser.ypp", line 11: no input grammar
*** glibc detected *** bison: double free or corruption (!prev): 0x08652630 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x401c8604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0x401ca5b6]
/lib/tls/i686/cmov/libc.so.6(fclose+0x144)[0x401b7fe4]
bison[0x804eb1f]
bison[0x805586b]
bison[0x805596b]
bison[0x8050047]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x4016f775]
bison(__gxx_personality_v0+0x59)[0x8048db1]
======= Memory map: ========
08048000-0805a000 r-xp 00000000 08:15 18583439   /usr/bin/bison
0805a000-0805b000 rw-p 00011000 08:15 18583439   /usr/bin/bison
08652000-08673000 rw-p 08652000 00:00 0          [heap]
40000000-4001c000 r-xp 00000000 08:15 8446060    /lib/ld-2.9.so
4001c000-4001d000 r--p 0001b000 08:15 8446060    /lib/ld-2.9.so
4001d000-4001e000 rw-p 0001c000 08:15 8446060    /lib/ld-2.9.so
4001e000-4001f000 r-xp 4001e000 00:00 0          [vdso]
4001f000-40026000 rw-p 4001f000 00:00 0
40027000-40028000 rw-p 40027000 00:00 0
40034000-40118000 r-xp 00000000 08:15 18582990   /usr/lib/libstdc++.so.6.0.10
40118000-4011c000 r--p 000e3000 08:15 18582990   /usr/lib/libstdc++.so.6.0.10
4011c000-4011d000 rw-p 000e7000 08:15 18582990   /usr/lib/libstdc++.so.6.0.10
4011d000-40123000 rw-p 4011d000 00:00 0
40123000-40147000 r-xp 00000000 08:15 8463484    /lib/tls/i686/cmov/libm-2.9.so
40147000-40148000 r--p 00023000 08:15 8463484    /lib/tls/i686/cmov/libm-2.9.so
40148000-40149000 rw-p 00024000 08:15 8463484    /lib/tls/i686/cmov/libm-2.9.so
40149000-4014a000 rw-p 40149000 00:00 0
4014a000-40157000 r-xp 00000000 08:15 8446017    /lib/libgcc_s.so.1
40157000-40158000 r--p 0000c000 08:15 8446017    /lib/libgcc_s.so.1
40158000-40159000 rw-p 0000d000 08:15 8446017    /lib/libgcc_s.so.1
40159000-402b5000 r-xp 00000000 08:15 8463480    /lib/tls/i686/cmov/libc-2.9.so
402b5000-402b6000 ---p 0015c000 08:15 8463480    /lib/tls/i686/cmov/libc-2.9.so
402b6000-402b8000 r--p 0015c000 08:15 8463480    /lib/tls/i686/cmov/libc-2.9.so
402b8000-402b9000 rw-p 0015e000 08:15 8463480    /lib/tls/i686/cmov/libc-2.9.so
402b9000-402bd000 rw-p 402b9000 00:00 0
40300000-40321000 rw-p 40300000 00:00 0
40321000-40400000 ---p 40321000 00:00 0
bfbbf000-bfbd4000 rw-p bffeb000 00:00 0          [stack]
make: *** [parser.tab.cpp] Aborted

Mind that this is on Ubuntu. Running from WINE causes unknown character error; make fails.

2390
General ENIGMA / Re: Pin tip topic
« on: January 29, 2010, 10:56:59 PM »
As an elaboration on "pushy," Tips, for writing tips, that are not so:

Avoid phrases like "do not" and "you must." The acquired responses will include "make me" and "no I mustn't." Instead, consider phrases like "avoid" and "instead, consider." Or, as not yet plainly demonstrated by this tip itself (but rather by the next tip), try "try," or "in order to" followed by an elaboration.
Though these phrases may seem redundant, they shouldn't appear so when not used fifty at a time or displayed in a continuous list.

Also, in order to encourage the use of your tips, try placing a benefit to be gained at the beginning of the tip, as demonstrated by this tip-writing tip. Giving a benefit and then justifying why it will achieve said benefit shows that a tip has merit to a user, and will help to invoke recollection and use of said tip at the right moments.

Basically, since a tip isn't the ultimate authority and cannot be universally applicable or even helpful, it's best not to seem "pushy."

2391
General ENIGMA / Pin tip topic
« on: January 29, 2010, 10:34:47 PM »
"Pushiness" being a lesser-used word meaning STOP TELLING ME WHAT TO DO.

A community-run-ish tips page could prove useful to some users, and in the future, could be displayed in a toggleable "Tip of the day" window. That'd be Ism's side, and I make no promises on her part.

I didn't know whether to pin it or not, as doing so seems the sort of unconsolidated, overly-friendly impeding-on-natural-right-to-figure-shit-out-on-your-own sort of move Yoyo would make. If the community sanctions the idea, though...

So, let the community speak.

2392
Announcements / Re: Happy New Year
« on: January 28, 2010, 08:02:06 PM »
Quite the opposite. Templates (in theory) save lines of code, but increase actual executable size (disk and memory) due to the fact that the code is copied with only slight modification for each instantiation. A perk is that templated functions that go unused aren't included in the compiled product at all.

2393
Off-Topic / Re: What do you think of the IPB "Edit" button?
« on: January 24, 2010, 11:23:49 PM »
'Tis called "Quick Edit" because the Microsoft-founded wave of "hey let's hide the fkucing menu bar"-reasoning hasn't gotten to it yet.
I press "Quick Edit," and poof!

2394
Ism seemed to be making a joke, and Luis seemed to be covering multiple asses with one swipe.

2395
General ENIGMA / Re: Enigma on other platforms
« on: January 20, 2010, 08:25:25 PM »
Wii is by far the best for developing on. It has an SD card slot, which has already been exploited. At this rate, with permission from the responsible team, I could write a package to an SD card that would boot an ENIGMA game from it automatically, as soon as the SD button was selected from the system menu.

Also, on the subject of being official, it would be nice if that were an option. At one point, Nintendo made a public statement that they had, in so many words, wanted to allow for users to be able to develop for Wii and share games, etc. However, it seems that this was either referring to the Shop Channel scene, where people purchase the API and develop short games for Nintendo to distribute there, or was simply a public relations ploy: an empty promise.

Considering Nintendo has had the audacity to hard-code a check for the Homebrew channel's ID and delete it if found, I'd say they're not open to free homebrew development, and would turn any such proposal down instantly.

2396
Announcements / Re: Happy New Year
« on: January 16, 2010, 06:38:04 PM »
What's with the const? Template parameters take the pickiest form of const you can even imagine. That's like prefixing "long" to a Bignum.

2397
Announcements / Re: Happy New Year
« on: January 15, 2010, 06:15:42 PM »
Of course, but now it adds an additional pointer instead of just being in a nice array. Which means the struct itself can likewise be in a nice array, no pointers. Less chance for segfault that way, too.

2398
Announcements / Re: Missed one.
« on: January 15, 2010, 05:15:58 PM »
In file included from bits/concept_check.h: Line 52, position 37: Unexpected symbol '.' in macro parameters
code snippet:
#define __glibcxx_function_requires(<<>>...)

Now why did I think ... was only for stdargs?

2399
Announcements / Re: Missed one.
« on: January 15, 2010, 12:38:37 AM »
Also, update.
Some sort of segfault due to skipping an array item manifested in the form of the name of a particular object leaking over into the entirety of the code being parsed. Fixed it.

That leaves me at an odd line in numeric traits that seems to do nothing.
Code: [Select]
  template<typename _Value>
    const int __numeric_traits_floating<_Value>::__max_digits10;

  template<typename _Value>
    const bool __numeric_traits_floating<_Value>::__is_signed;

  template<typename _Value>
    const int __numeric_traits_floating<_Value>::__digits10;

  template<typename _Value>
    const int __numeric_traits_floating<_Value>::__max_exponent10;

Seems to be some sort of implicit instantiation. Easily ignored.

2400
Announcements / Re: Missed one.
« on: January 15, 2010, 12:34:12 AM »
They're pretty sad. I've taken over all the new Macs in the lab, simply because they kept annoying me.
The morons that set them up had it geared so Safari errored every few seconds that it failed to run its prefetched, because they effectively blocked the entire operating system except. these. six. programs. When confronted, they refused to fix it on the grounds that they "don't see it as a problem."
So I finally got sick of it, and now I can authorize things as root. It's apparent I'm more familiar with it than any of them are, but honestly, that's not saying much, and I don't take chances anyway.

Put simply, yeah, that's me.