Anonix

General discussion of The Anonix Project

1: ANONX libc (9) 2: What now? (24) 3: APRI: Anonix Revived (1) 4: You guys are crazy (22) 5: Anonix Danbooru replacement (37) 6: The Anonix Logo (5) 7: FIRST THREAD, READ THIS. (17) 8: Intellectual Property (9) 9: Universal Bytecode Language (6) 10: ed (3) 11: Your coding style is retarded (3) All threads

1 2011-06-17 16:18 CUDDERfan

To further the development of ANONIX, I present you:

ctype.h
#ifndef CTYPE_H_
int isalnum(int c);
int isalpha(int c);
int iscntrl(int c);
int isdigit(int c);
int isgraph(int c);
int islower(int c);
int isprint(int c);
int ispunct(int c);
int isspace(int c);
int isupper(int c);
int isxdigit(int c);
int tolower(int c);
int toupper(int c);
#endif


ctype.c
#include "ctype.h"
int isalnum(int c) { return isalpha(c) | isdigit(c); }
int isalpha(int c) { return isupper(c) | islower(c); }
int iscntrl(int c) { return ((c < 0x20) || (c == 0x7f)) ? 1 : 0; }
int isdigit(int c) { return ((c >= '0') && (c <= '9')) ? 1 : 0; }
int isgraph(int c) { return ((c != ' ') && isprint(c)) ? 1 : 0; }
int islower(int c) { return ((c >= 'a') && (c <= 'z')) ? 1 : 0; }
int isprint(int c) { return ((c >= ' ') && (c <= '~')) ? 1 : 0; }
int ispunct(int c) { return ((c != ' ') && !isalnum(c)) ? 1 : 0; }
int isspace(int c) { return ((c == ' ') || (c == '\f') || (c == '\n') || (c == '\r') || (c == '\t') || (c == '\v')) ? 1 : 0; }
int isupper(int c) { return ((c >= 'A') && (c <= 'Z')) ? 1 : 0; }
int isxdigit(int c) { return (((c >= '0') && (c <= '9')) || ((c >= 'a') && (c <= 'f')) || ((c >= 'A') && (c <= 'F'))) ? 1 : 0; }

(Post truncated.)

2 2011-06-18 14:49 CUDDERfan

ctype.h
#ifndef CTYPE_H_
#define CTYPE_H_
int isalnum(int c);
int isalpha(int c);
int iscntrl(int c);
int isdigit(int c);
int isgraph(int c);
int islower(int c);
int isprint(int c);
int ispunct(int c);
int isspace(int c);
int isupper(int c);
int isxdigit(int c);
int tolower(int c);
int toupper(int c);
#endif


ctype.c
#include "ctype.h"

int isalnum(int c) { return isalpha(c) || isdigit(c); }
int isalpha(int c) { return isupper(c) || islower(c); }
int iscntrl(int c) { return (c < 0x20) || (c == 0x7f); }
int isdigit(int c) { return (c >= '0') && (c <= '9'); }
int isgraph(int c) { return (c != ' ') && isprint(c); }
int islower(int c) { return (c >= 'a') && (c <= 'z'); }
int isprint(int c) { return (c >= ' ') && (c <= '~'); }
int ispunct(int c) { return isgraph(c) && !isalnum(c); }
int isspace(int c) { return (c == ' ') || (c == 'f') || (c == 'n') || (c == 'r') || (c == 't') || (c == 'v'); }
int isupper(int c) { return (c >= 'A') && (c <= 'Z'); }
int isxdigit(int c) { return ((c >= 'a') && (c <= 'f')) || ((c >= 'A') && (c <= 'F')) || isdigit(c); }

(Post truncated.)

3 2011-06-25 14:36 Anonymous

Where's the rest

4 2011-07-06 23:33 Anonymous


#ifndef OMG_OPTIMIZED_CTYPE_H_
#define OMG_OPTIMIZED_CTYPE_H_

/**
 *                        __ _   _  ____  _   _ _ _  _ 
 *                       /  |  \| |/ __ \|  \| | | \/ /
 *                      /   |   \ | |  | |   \ | |\  /
 *                     /  . | |\  | |__| | |\  | |/  \
 *                    /__/|_|_| \_|\____/|_| \_|_|_/\_\
 *        
 *                       OPTIMIZED ANONIX INTERFACES
 *
 *  -------------------------------------------------------------------------
 *
 *  Optimized branchless ctype facilities using bitwise operations. Assumes a
 *  fixed ASCII (ANSI_X3.110-1983) code page. Functions are ISO/IEC 9899:1999
 *  (C99) compliant. Requires an ISO/IEC 9899:1999 (C99) compliant compiler.
 *  
 *  Version: 1.666alpha
 *  Bug Reports: strawberryshake [at] 1337 [dot] jp
 */
 
inline int isblank(int c) { return (c == ' ') | (c == '\t') | (c == '\v'); }
inline int iscntrl(int c) { return (c <= 0x1F) | (c == 0x7F); }
inline int isdigit(int c) { return (((unsigned int)c) - ((unsigned int)'0')) <= ((unsigned int)('9' - '0')); }
inline int isgraph(int c) { return (((unsigned int)c) - ((unsigned int)'!')) <= ((unsigned int)('~' - '!')); }
inline int islower(int c) { return (((unsigned int)c) - ((unsigned int)'a')) <= ((unsigned int)('z' - 'a')); }
inline int isprint(int c) { return (((unsigned int)c) - ((unsigned int)' ')) <= ((unsigned int)('~' - ' ')); }
inline int isupper(int c) { return (((unsigned int)c) - ((unsigned int)'A')) <= ((unsigned int)('Z' - 'A')); }
inline int isalpha(int c) { return ::hrc::islower(c) | ::hrc::isupper(c); }
inline int isalnum(int c) { return ::hrc::islower(c) | ::hrc::isupper(c) | ::hrc::isdigit(c); }

(Post truncated.)

5 2011-07-06 23:39 Anonymous

Sorry, left in some C++ stuff. I'm actually using this in one of my private C++ libraries, but I'm placing this in the public domain with the exception that there is absolutely no warranty.

#ifndef OMG_OPTIMIZED_CTYPE_H_
#define OMG_OPTIMIZED_CTYPE_H_

/**
 *                        __ _   _  ____  _   _ _ _  _ 
 *                       /  |  \| |/ __ \|  \| | | \/ /
 *                      /   |   \ | |  | |   \ | |\  /
 *                     /  . | |\  | |__| | |\  | |/  \
 *                    /__/|_|_| \_|\____/|_| \_|_|_/\_\
 *        
 *                       OPTIMIZED ANONIX INTERFACES
 *
 *  -------------------------------------------------------------------------
 *
 *  Optimized branchless ctype facilities using bitwise operations. Assumes a
 *  fixed ASCII (ANSI_X3.110-1983) code page. Functions are ISO/IEC 9899:1999
 *  (C99) compliant. Requires an ISO/IEC 9899:1999 (C99) compliant compiler.
 *  
 *  Version: 1.666alpha2
 *  Bug Reports: strawberryshake [at] 1337 [dot] jp
 */
 
inline int isblank(int c) { return (c == ' ') | (c == '\t') | (c == '\v'); }
inline int iscntrl(int c) { return (c <= 0x1F) | (c == 0x7F); }
inline int isdigit(int c) { return (((unsigned int)c) - ((unsigned int)'0')) <= ((unsigned int)('9' - '0')); }
inline int isgraph(int c) { return (((unsigned int)c) - ((unsigned int)'!')) <= ((unsigned int)('~' - '!')); }
inline int islower(int c) { return (((unsigned int)c) - ((unsigned int)'a')) <= ((unsigned int)('z' - 'a')); }
inline int isprint(int c) { return (((unsigned int)c) - ((unsigned int)' ')) <= ((unsigned int)('~' - ' ')); }
inline int isupper(int c) { return (((unsigned int)c) - ((unsigned int)'A')) <= ((unsigned int)('Z' - 'A')); }
inline int isalpha(int c) { return islower(c) | isupper(c); }

(Post truncated.)

6 2011-07-17 16:21 CUDDERfan

With an email address, your contribution is no longer anonymous. Therefore it is considered harmful to the ANONIX Operating System.

7 2011-09-01 06:01 Anonymous

http://pdclib.rootdirectory.de/

8 2011-09-09 18:07 Anonymous

>>7
Solar is a german. Thus, his work is bad

9 2011-09-13 19:11 Anonymous

>>8
Good enough for Anonix!

Name:Email:
10

1 2008-08-31 01:21 Cudder !MhMRSATORI

See the main page (http://rechan.eu.org/main.htm) for the purpose of this thread.

11 2008-10-15 07:09 Anonymous

>>10
THEN DO IT!

12 2008-10-16 17:44 Anonymous

>>11

Oh, you know that cynical derision isn't genuine interest

13 2011-01-08 17:35 Anonymous

Will Anonix have a Graphical User Interface?

14 2011-01-08 20:41 Anonymous

>>13
Yes, if the user wants it

15 2011-02-05 11:19 Anonymous

Anonix should switch to using Clang/LLVM instead of using the Garbage Compiler Collection.

16 2011-02-09 10:34 Anonymous

>>15
Or use its own compiler, ACC

Name:Email:
17

1 2009-11-15 03:37 HAHAHaruhi!6mHaRuhies

The Anonix POSIX Reference Implementation project aims to provide a public-domain, standards-conforming implementation of the functionality described in POSIX 2004, initially focusing on the shell and utilities but eventually encompassing an entire Operating System including a kernel. As with original Anonix, it is anticipated that APRI and GNU will coexist, along with any suitable kernel, at least until APRI is complete.

Name:Email:
2

1 2008-07-26 10:13 Anonymous

Seriously, the idea is good and everything, but you all know it's going to take more than some effort to write a complete POSIX operating system. The GNU Project itself failed at it. I'm really sorry, but you're bound to fail.

11 2009-03-22 13:35 Anonymous

>>10
public domain is less restrictive than MIT/two-clause BSD.

12 2009-05-13 10:11 Anonymous

So is this project entirely dead or still sleeping? Does it have an irc channel or something?

13 2009-05-13 22:14 HAHAHaruhi!6mHaRuhies

>>12
Sleeping. Cudder said she needs to fix a few bugs in the board script first.

14 2009-05-20 09:25 Anonymous

Back from the dead :)

15 2009-05-28 22:39 Anonymous

>>14
Unfortunately it didn't stay undead for very long.

16 2009-07-05 19:43 Anonymous

>>15
I guess there just wasn't enough user interest.

Name:Email:
17

1 2008-07-18 15:42 Anonymous

This is the thread to discuss a replacement for Danbooru written as part of the Anonix project. Danbooru is both an imageboard and the software that runs it. The software is written using the Ruby on Rails framework and because Ruby is slow as fuck Anonix has been called upon to write a replacement.

Much like the Anonix coreutils we will use a specification to guide what features need to be implemented. There are no existing specs for Danbooru's features so we will need to write these ourselves. This thread is for the discussion of how we are going to design the software, what language we will use, specs for Danbooru's features that need to be implemented, and finally a name and user interface for the project.

24 2008-08-09 06:26 Anonymous

http://shimmie.shishnet.org/v2/

25 2008-08-09 13:20 Anonymous

>>24
All code is GPL2

I'm wondering if Danbooru is actually bottlenecking at the DB and not the RoR, since in that case rewriting the thing in e.g. PHP but retaining the SQL would not be of much help. Using a new way to store the data would be good in either case... I've thought of a system that uses directories and symlinks, but it's *nix only and may be a bit too filesystem-intensive. On the other hand, this way we can let the OS kernel do the caching (inodes and directories).

26 2008-08-09 18:23 Anonymous

>>25
bottlenecking at the DB and not the RoR
>>13
[bottleneck ...] query large data sets

system that uses directories and symlinks
I think this is what >>3 was getting at with a bourne shell cgi script.

Let's keep this discussion moving forward.

27 2008-08-20 22:19 Anonymous

>>26
well, symlinks are *nix specific so it wouldn't work on a Windows system... not that we're targeting Windows but it's a limitation.

I'm still wondering how the filesystem/kernel will cope with several hundred thousand symlinks.

28 2008-09-11 11:39 Anonymous

ITT we discuss further how to copycat successful software for people who will think we're cool until they find out we were all just jackass wannabees.

29 2008-09-17 01:15 Anonymous

>>27
You can actually make hardlinks in Windows which will generally suffice (there are even shell extensions to make it more simple).

Name:Email:
30

1 2008-07-30 20:36 Cudder !MhMRSATORI

Might as well be the first to start a thread about it...

http://img181.imageshack.us/img181/5603/302pxanonixlogoap2.png

I think it goes well with the aims of simplicity/efficiency of the project.

2 2008-08-02 23:06 HAHAHaruhi!6mHaRuhies

Not bad.

3 2008-08-06 07:38 Anonymous

That looks awful. Too many sharp corners and the distances between the shapes are all wierd.

Name:Email:
4

1 2008-05-07 03:54 Cudder !MhMRSATORI

Use this board to discuss the plans of the Anonix project as a whole.

There was a suggestion made in 4chan's /prog/ of writing anonlibc *before* anonbinutils. We may consider parallelizing the two phases so they'll both be open for contribution.

Of course, nothing is preventing you from writing stuff for anonlibc right now. Go ahead. Save it for when we do open up contributions.

7 2008-09-11 11:41 Anonymous

Moar liek yet another fake girl on the internets. Jim, give it up, they know that your one-inch cock isn't really a clitoris.

8 2008-09-11 18:00 HAHAHaruhi!6mHaRuhies

>>7
I posted this to /prog/ and yes, that's all I'm going to show.

http://img291.imageshack.us/img291/8939/26044156st7.jpg

9 2008-10-21 11:49 Anonymous

shit site is shit

10 2008-12-30 13:17 Anonymous

http://sources.redhat.com/newlib/

11 2009-03-16 19:43 Anonymous

is anonix dead?

12 2009-03-18 00:07 Anonymous

>>11
It's sleep()ing.

Name:Email:
13

1 2008-05-26 11:37 Anonymous

How do you tell if someone is contributing infringing code (ie. anything not public domain)? What do you do about it?

2 2008-05-26 23:32 Cudder !MhMRSATORI

- we cannot say exactly, but the style of the code and Google have much to do with it
- we ignore their contribution

3 2008-06-22 21:14 Anonymous

You could hax their anus in revenge.

4 2008-06-26 03:55 Anonymous

>3
речую

5 2008-06-26 03:56 Anonymous

>>4

>>3
selffix

Name:Email:
6

1 2008-08-23 23:25 Anonymous

This is the thread for the design and planning of Anonix's Universal Bytecode Language that was brought up in this world4ch /prog/ thread <http://dis.4chan.org/read/prog/1219480390>.

2 2008-08-24 19:19 Anonymous

you mean universal compiler IR.

3 2008-08-29 22:22 Anonymous

>>1
http://en.wikipedia.org/wiki/Inferno_(operating_system)

>>2
http://en.wikipedia.org/wiki/Amsterdam_Compiler_Kit

Name:Email:
4

1 2008-10-23 04:48 Anonymous

/* Anonix ed - version 1.0 */

#include <limits.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

void int_handler(int);
void hup_handler(int);

int main(void) {
  char line[LINE_MAX];
  signal(SIGINT, &int_handler);
  signal(SIGHUP, &hup_handler);
  signal(SIGQUIT, SIG_IGN);
  while(fgets(line, LINE_MAX, stdin) && strcasecmp(line, "q\n")) puts("?");
  return 0;
}

void int_handler(int n){
  puts("?");
  fpurge(stdin);
}

void hup_handler(int n){
  FILE *f;
  if(f = fopen("ed.hup", "w+")) fclose(f);
  if(getenv("HOME")){
   char path[strlen(getenv("HOME")) + 8];
   strcpy(path, getenv("HOME"));
   strcat(path, "/ed.hup");

(Post truncated.)

2 2008-10-23 18:52 Anonymous

version 1.0
more like version 0

Name:Email:
3

1 2008-12-28 07:17 Anonymous

Have you never heard of tabs?

2 2009-01-02 17:06 Anonymous

Tabs are too implementation-dependent.

Name:Email:
3

New Thread

Subject:
Name:Email:
- REchan s0-lrm6 (091122) -