Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

New Imageboard Package (Shinba)

Name: FoolyFrunz 2013-08-02 3:02

I just made my imageboard package open source for the public. It's currently in use at nuchan.org and I thought you guys might be interested in using the code yourselves.

http://sourceforge.net/projects/shinba/

It's written in PHP. Enjoy!

Name: Anonymous 2013-08-02 3:14

Name: Anonymous 2013-08-02 3:30

That's real fucking neat-o!

Name: Anonymous 2013-08-02 3:42

That meal's clucking ``tweet-o!''

Name: Anonymous 2013-08-02 3:58

>>4
Tweet(R) is a registered trademark of Twitter, Inc.

Name: Anonymous 2013-08-02 4:10

>>2
What the shit did I just read

Name: Anonymous 2013-08-02 4:14

>>1
Programming Language JavaScript, PHP

Shalom!

Name: Anonymous 2013-08-02 4:19

>>7
shalom my nigger
african jewish congress REPRESENT
we get dat green nigger

Name: Anonymous 2013-08-02 4:37

>>7
>javascript
>programming language

Name: Anonymous 2013-08-02 5:13

yet another one? great, just what we needed

it's not as if there's already kareha, wakaba, kusaba x, futaba, etc.

even /g/ is outdoing you faggots in neat projects, like their funky peer-to-peer Skype-equivalent project which uses UDP

Name: Anonymous 2013-08-02 5:23

>>10
Wow, it uses UDP? I shat my pants. Holy shit. This is the most amazing thing I have ever read. I am tempted to through my CRT monitor out the window in excitement but I fear that following this act of rapture may lead to the crushing of innocent bystanders walking below my building. So I must contain myself while I reflect on this astonishing news.

Name: Anonymous 2013-08-02 5:25

>>11
TCP is for lazy programmers

Name: Anonymous 2013-08-02 5:28

>>12
IP is for lazy programmers

Name: Anonymous 2013-08-02 5:30

>>12
You have chosen the least offensive interpretation of my ambiguous sarcasm. As I would expect.

Name: Anonymous 2013-08-02 5:34

>>13
The most obvious way to implement video chat is by training the human psyche to develop long range telepathy. Rather than programming clunky machines and existing technology, program your mind.

Name: Anonymous 2013-08-02 5:41

>>11
that will never be completed

Name: Anonymous 2013-08-02 5:45

>>15
I think telepathic trojans/viruses,DDOSes and SQL injections will put an end on any form of telepathy within a month, with all "telepathically gifted users" becoming zombies for the elite few. You wouldn't create a telepathic firewall without extensive training and mental effort(i.e. programming expertise).
So telepathy isn't a viable platform, regardless of its existence.

Name: Anonymous 2013-08-02 5:51

>>17
yikes.

*unplugs cord connecting brain to ethernet*

Name: Anonymous 2013-08-02 5:51

>>17

Telepathy can only be safe if DRM is implemented in your brain. This time, not only your private content is managed, but also your civil rights.

Name: Anonymous 2013-08-02 6:17

>>1
Why did you use PHP? Haskell is better.

Name: Anonymous 2013-08-02 6:28

Name: Anonymous 2013-08-02 6:36

>>21
PHP is defective by design. There is simply no apology for PHP flaws:
1. Inconsistent lexical scope, where assignment acts as declaration and all variables have function scope, serving as major source of PHP bugs and impeding functional programming, because in PHP anonymous functions require awfully verbose constructions, like `function($y) use ($x) {`. Compared to Scheme/Racket, which uses `let` for everything, PHP's global scope is completely separate entity and requires explicit use of `global` keyword to access variables. PHP has no package system, so global namespace becomes unmanageably cluttered. Moreover, referencing nonexistent variable isn't even an error, so any typo produces untraceable bug. Finally, PHP allows non-string variable names: $a=array();$$a='broken'; print ${array()};
2. Inconsistent standard library: for example, shuffle(123) would return false, instead of logging error and halting execution, before more damage is done; same for accessing array beyond bounds, which is even worser than C/C++, where such access at least produces segmentation fault. Despite null also being valid JSON object, json_decode returns null on error, welcoming bugs if user forgets json_last_error. Functions sizeof, count `print` and `echo` duplicate functionality, while `print` for some reason always returns 1. Moreover, PHP arrays are implemented as hash tables, so there is no way to get their real size or iterate by indices at all. PHP standard library basically indulges hard to trace bugs, exploits and backdoors, because almost any PHP feature is fragile and poses security danger. Inconsistent function naming: underscores (isset vs is_null), abbreviations (call_user_func vs create_function), uncertain parameter order (in_array($needle, $haystack) vs strpos($haystack, $needle)), redundant aliases (disk_free_space vs diskfreespace, strcmp vs ==), misleading names (addslashes and stripslashes, which deal with backslashes). PHP's one unique operator is @ (actually borrowed from DOS), which silences errors.
3. Broken and non-portable type system: PHP stores integers in a platform-dependent format, usually 64-bit or 32-bit signed integer, equivalent to the C-language long type. Even worse: big integers are represented as floating point numbers, so 9999999999999999999==10000000000000000000. Confusing automatic type coercion, where FALSE=="", FALSE==0, array()==FALSE, array()!=0, "1e3"=="1000", "0x10"=="16" "a"+"d"==0, 123=="123broken", "4.2"=="4.20", "6"==" 6", "x"==0", NULL<-1, NULL==0. Be prepared to a lot of instant bugs, like if(strpos($h,$n)) {...}, because 0 gets converted to FALSE, behind your back. Due to broken `<` sorting is nondeterministic.
4. Inconsistent garbage collection, performed only when you tell PHP to do it or passing specific junctions. In some cases memory lost until program halts, which unnoticeable with small one shot page generation scripts, but poses a major handicap for general purpose programming using PHP, when code must run for days.
5. Discrepancy between literals and variables, growing from variables being objects themselves: given $a="foo", var_dump($a instanceof stdClass) works, but var_dump("foo" instanceof stdClass) produces error; same with array literals: $a[0] works, but array(1,2,3)[0] fails. Array assignment always involves deep copying, which is confusing and bad for performance. Function may be called via variable, containing function name, leading to badly designed and insecure code, welcoming exploits, especially when function name comes from use input.
6. Fugly syntax: every PHP variable requires `$` prefix, which looks even scarier when combined with `&`, required to pass objects by reference, so be prepared for quirky perl-ugly code, like &$o[i++] and !--$$i. The syntax has 1375 conflicts and 6 unused terminals, reflecting that implementors had no understanding of LALR(1) parser generators or robust language design in general, because with that many conflicts, the chances are slime that the parser is actually doing 100% of what was intended: for example "a".2 produces an error, but "a"."2", "a" . 2 and 1 . 2 parse as string concatenation, while 1.2 and .2 parse as numbers, worser 0x0+2==4, but 0x0+ 2==2 so meaning of operator depends on spaces around it. Usual `{` and `}` braces can be interchanged with `:` and `endif;`, which is aggravated by the fact that PHP syntax treats { and ${ as separate tokens (T_CURLY_OPEN and T_DOLLAR_OPEN_CURLY_BRACES), making PHP syntax bigger and even less regular: PHP has around 70 keywords, including echo, eval and exit, which in well designed languages implemented as functions. Appending to an array is done with $foo[] = $bar.
7. No multithreading support possible, because PHP is full of global and implicit state. mbstring uses a global character set. func_get_arg and friends look like regular functions, but operate on the currently-executing function. Error handling have global defaults. register_tick_function sets a global function to run every tick.
8. When faced with criticism, all PHP apologists spit generic arguments, starting with banal ad-hominem, which speak for themselves: "all languages are turing complete", "languages are just tools", "no language is perfect", "good developers can write good code in any language", "PHP was never intended to solve problem X", "PHP isn't the problem, bad programmers are", "products X was built using PHP, so PHP is good enough", "there are two kinds of languages: the ones complained about and the ones nobody uses", "PHP is free, hosting is available, PHP programmers are cheap", "clients don't care what language is used", "PHP has great community, we are like family", "if you do X then problem Y would be less noticeable", and a myriad of variations. The best examples of PHP apologetics, like https://news.ycombinator.com/item?id=4177516 , contain gems in the lines of "Sometimes you don't care if a function succeeds" - in other words, PHP community doesn't care if their code succeeds.
9. PHP is Jewish language, developed by Israeli company with unclear agenda. It is entirely possible that PHP is just a trojan horse and real goal was to produce exploit-happy environment, which Israeli intelligence agencies could leverage to advance interests of Israel. Being originally a collection of CGI scripts designed for building a 'personal home page', PHP indulges messy, unmaintainable code: spaghetti SQL wrapped in spaghetti PHP wrapped in spaghetti HTML, replicated in slightly-varying form in dozens of places.

Name: Anonymous 2013-08-02 6:44

>>22
Almost all problems with PHP can be solved by using a good framework

Name: Anonymous 2013-08-02 7:41


All hail the tetracyts!

   ▲   
  ▲ ▲  
 ▲ ▲ ▲ 
▲ ▲ ▲ ▲

Name: Anonymous 2013-08-02 12:12

>>21
Its "Worse is Better" not "Worsest is Best", its a reiteration of the Pareto principle and principle of diminishing returns. Anyway, PHP fails correctness, consistency from the article.

>>23
Almost all problems with Brainfuck can be solved by using a good framework. At least Brainfuck has better documented semantics.

Name: Anonymous 2013-08-02 12:13

>>23

But why use PHP then? If everything can be solved with a framework?

Name: Anonymous 2013-08-02 12:15

Really, why use a fucking broken language. IT SURELY ISN"T BECAUSE EVERYTHING CAN BE FIXED WITH A FRAMEWORK> IT IS RETARDED

Name: Anonymous 2013-08-02 12:20

It's written in PHP
lel, fucking kike

Name: Anonymous 2013-08-02 12:21

>>9
>LLLLEEEEEEEELLLLLL
>LE E/G/IN QUOTES /G/RO
>LE /G/REENTEXT IS MY FAVORITE LE MEME FROM LE /G/, LE BEST REDDIT ON LE INTERNET
>LE RE/G/G/IT
XDDDDDDDDDDDDDDDDD LELELELELELEL

Name: Anonymous 2013-08-02 12:25

>>23
9. PHP is Jewish language, developed by Israeli company with unclear agenda.
A framework sure is going to solve that, Steinsberg-kun.

Name: Anonymous 2013-08-02 13:07

EW, JEWS!

Name: Anonymous 2013-08-02 13:45

Name: Anonymous 2013-08-02 13:48

>>30

Have you looked at Zend Framework 2 at all? Currently in Release Candidate stage so not officially ready for prime-time yet. But it does integrate almost every thing you advocate and will definitely be finalized before one could finish building a large web app with it.
It is advertised as being loosely coupled, has Depenency Management, Caching, Service/Event Management. It incorporates lots of ideas borrowed from the Java, Ruby, and Python worlds.
When complete, ZF2 will stand head and shoulders above the other PHP frameworks out there. IMHO.

Name: Nikita !Ip2edo5TLk 2013-08-02 13:57

>>33
Shalom!

Name: Anonymous 2013-08-02 14:02

>>33
And it's still kike shit.

Name: Anonymous 2013-08-02 14:08

>>22

As evidenced by decades of programming history, it's at least naive to rely on parser/compiler to make up for the the shortcomings of a programmer's brain power. The breadth of any average programmer's stupidity is so wide that compilers/parsers can not possibly cover all of it. That's why there's that little-known thing called "unit tests". Cheers.

Name: Anonymous 2013-08-02 14:10

>Nikita !Ip2edo5TLk
very appropiate tripcode.

Name: Anonymous 2013-08-02 14:12

>>37
EEEEEEEEEEEEEEEEEEE/G/IIIIIIIIIIIIIIIIIIIIIINNNN

LEEEEEEEEEEEEEEEEEEEEEEEEEL LE /G/ HUMOR XDDDDDDDDDDDDDDDDDDDDDDDDDD

MY FACE WHEN LE RE/G//G/IT HUMOR STRIKES A/G/AIN XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

Name: Anonymous 2013-08-02 14:18

>>38

fuck off retard.

Name: nigger !H89XQLGouE 2013-08-02 14:32

wat

Name: Anonymous 2013-08-02 14:44

>>39

back to /g/ retard.

Name: Anonymous 2013-08-02 14:48

turned out i wasn't one

Name: Anonymous 2013-08-02 19:00

Go take a Midol. I promise you'll feel better aftwards

Name: Anonymous 2013-08-02 19:04

>>22
*| Fugly syntax: every PHP variable requires `$` prefix, which looks even scarier when combined with `&`, required to pass objects by reference, so be prepared for quirky perl-ugly code, like &$o[i++]

Anybody who names a variable "o" should die. And "i++" is incorrect syntax anyway, when it should be $i++
You're purposefully exaggerating an alleged "blemish" that wouldn't exist if you actually used meaningful comments and variable names. inb4 "ad hominem figgit l0l pwnd called u out" etc etc.

Visual Basic and Python are just around the corner. Would that make our special little pr0grammer feel better about the "readability" of the syntax?

Name: Anonymous 2013-08-02 21:44

>>33
An example of creating a route to a controller in ZF2:

<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Album\Controller\Album' => 'Album\Controller\AlbumController',
        ),
    ),

    // The following section is new and should be added to your file
    'router' => array(
        'routes' => array(
            'album' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/album[/][:action][/:id]',
                    'constraints' => array(
                        'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]+',
                    ),
                    'defaults' => array(
                        'controller' => 'Album\Controller\Album',
                        'action'     => 'index',
                    ),
                ),
            ),
        ),
    ),

    'view_manager' => array(
        'template_path_stack' => array(
            'album' => __DIR__ . '/../view',
        ),
    ),
);


Ha. Hahahahahahahaha.

Name: Anonymous 2013-08-02 22:12

>>45
wow, truly le futre of le internt!!!!!!

Don't change these.
Name: Email:
Entire Thread Thread List