Programming @4-ch

Programming @4-ch

Be it HTML, C++, Java or whatever language you prefer, programming is what we do best around this board.
Markup languages are also fine around here, as with all the "not so real" languages of Shell script, CSS, and other various third party scripting languages.
  • We are sick of language discrimination, more so the PHP/Java bashers. There will be little tolerance of blatant and repetitive insults. You are still welcome to bring forward a sensible, insult-free argument regarding a certain topic at the appropriate time and place for it.
  • Please use WakabaMark or the appropriate HTML tags (with HTML enabled, of course) to format your code.
Rules · 規則
基本的には英語の使用を強く希望します。ただ日本語板の場合は日本語か英語。
Board look: Blue Moon Buun Futaba Headline Mercury Pseud0ch Toothpaste

[perl] Kareha resources (16)

1 Name: #!/usr/bin/anonymous : 2014-05-02 18:55 ID:IpwbeqOT

We like Kareha here. What have you noticed in kareha? Have you made any hacks or otherwise made use of it?

I saw that Storlek used Kareha as a base for his blog in the past. This seems sane to me, and not all too hard to do. When you think about it, Kareha is (in essence) a community blog.

Entering "fusianasan" in the name field or "2ch-sep93" in config.pl's date field do two quite obvious things.

pseud0ch.css, interestingly enough, does not support italics by default.

7 Name: #!/usr/bin/anonymous : 2014-08-18 23:19 ID:Heaven

>>6
So instead of ~2 seconds of cpu time per year, your board uses ~0.2 seconds of cpu time per year?

8 Name: #!/usr/bin/anonymous : 2014-08-20 23:13 ID:mrBSe2Wz

>>7
Its bi-annual on some sites. It might even be monthly here.

9 Name: #!/usr/bin/anonymous : 2014-12-04 08:04 ID:iMAkilQG

>>2
Seriously though, why did you remove the dates? What purpose did that serve?

10 Name: #!/usr/bin/anonymous : 2014-12-05 02:26 ID:RSSc5+G9

penis

11 Name: #!/usr/bin/anonymous : 2014-12-07 07:19 ID:7NrtL/+s

>>9
all posts on sageru.org are timeless classics.

12 Name: #!/usr/bin/anonymous : 2014-12-11 19:37 ID:hZA9235F

I'd really like to see some people get together and work on Kareha and its CSS to make it all 2015 update.

Post too long. Click to view the whole post or the thread page.
Post too long. Click to view the whole post or the thread page.

16 Name: links : 2014-12-13 15:12 ID:rLqbu4zI

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

GameBoy Color emulator in JavaScript (15)

1 Name: #!/usr/bin/anonymous : 2011-08-04 08:17 ID:Qeftnp5w

Someone made a GameBoy Color emulator in JavaScript, now you can play all the classics!
http://www.grantgalitz.org/gamecenter/

6 Name: #!/usr/bin/anonymous : 2011-12-24 17:25 ID:BvKBdNGo

>>5

wth man

He said JavaScript. NOT JAVA.

7 Name: #!/usr/bin/anonymous : 2011-12-26 23:20 ID:z8oT3Vji

>>6
Just pretend he was trolling.

Is there any sort of easy-to-read guide or manual on the Game Boy and its instruction set (Z80?)?

9 Name: #!/usr/bin/anonymous : 2012-01-04 05:53 ID:PyTm9YAw

10 Name: #!/usr/bin/anonymous : 2012-01-04 09:32 ID:gvG7mhwu

>>7

>(Z80)

Nice ID :o

11 Name: #!/usr/bin/anonymous : 2012-01-17 19:38 ID:wR2Te6ws

This reminds me of the PC emulator someone wrote in javascript:
http://bellard.org/jslinux/
It isn't very fast, but it's still very impressive.

12 Name: #!/usr/bin/anonymous : 2014-09-03 03:58 ID:+P8b84o1

gooby plz

13 Name: #!/usr/bin/anonymous : 2014-09-17 21:04 ID:VjPMwcga

https://www.sendspace.com/file/zagq2q
It is private leaked cracked version! Do not say thanks!!

Post too long. Click to view the whole post or the thread page.
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

my own "yet another imageboard-script" (116)

1 Name: #!/usr/bin/anonymous : 2007-02-26 01:26 ID:Hw07jnmQ

So - I promised a friend to set up a imageboard for him, but I quickly realized that the only good (open source) imageboard out there is written in Perl.

I didn't take long before I got hooked on the idea of writing my own board.
I have to admit I'm a ruby fanboy (no flameing please :) ), but that doesn't change the fact that 90% of webhosts out there only supports PHP, so I decided to write it in PHP5/MySQL5.

Yesterday I had my first, sort of, working release which I really would like some feedback on.

It's not, in any way, intended to be used in real life yet, but I some of you would help me download it, test it, report problems, give feedback, suggestions etc. etc. etc. It would be really cool :)

thanks in advance

oh yeah - and the URL to the project page is: http://code.google.com/p/4chandk/

107 Name: puri bali : 2014-12-13 07:34 ID:4/UwKu3Y

something we should follow now

108 Name: sablon kaos murah : 2014-12-13 07:35 ID:4/UwKu3Y

cant halt to see more action

109 Name: kaca film : 2014-12-13 07:36 ID:4/UwKu3Y

to see more about the truth
http://alimabatik.com

110 Name: jual kursi roda bergaransi : 2014-12-13 07:44 ID:4/UwKu3Y

1
Text:
Link: http://www.batikayu.com
Line: 92
2
Text: Cara Belanja
Link: http://www.batikayu.com/cara-belanja/
Line: 93
3
Text: Tentang Kami
Link: http://www.batikayu.com/tentangkami/
Line: 94
4
Text: Blog
Link: http://www.batikayu.com/blog-batik/

Post too long. Click to view the whole post or the thread page.
Post too long. Click to view the whole post or the thread page.
Post too long. Click to view the whole post or the thread page.
Post too long. Click to view the whole post or the thread page.
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

penis borg (2)

1 Name: #!/usr/bin/anonymous : 2014-09-28 12:52 ID:SBGFU3eD

penis borg

2 Name: #!/usr/bin/anonymous : 2014-11-17 00:38 ID:SBGFU3eD

penis

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

What is your definition of "freedom" ? (14)

1 Name: #!/usr/bin/anonymous : 2014-04-22 10:49 ID:kQlYfQNM

Discuss.

5 Name: #!/usr/bin/anonymous : 2014-05-30 09:49 ID:lW3PjXp1

I don't have one

6 Name: #!/usr/bin/anonymous : 2014-06-13 20:54 ID:4tpzojyy

"Freedom" only really has meaning in context. Freedom to do something, freedom not to have something done to you. On it's own it's an empty ideal.

Seeing as this is a programming board, I assume you mean "freedom" in a free software context, in which case my vote for free license goes to the MIT license. Simple and to the point, and not "copyleft" (which IMO is just trading one master for an arguably more benevolent one.)

7 Name: #!/usr/bin/anonymous : 2014-06-20 13:34 ID:Heaven

>>6
Your opinion is not appreciated. GPLv3 is the only license. We don't need shitty companies. We need transparency. Freedom as in free. The end.

8 Name: #!/usr/bin/anonymous : 2014-06-20 22:18 ID:4tpzojyy

>>7
Hello Stallman.

9 Name: #!/usr/bin/anonymous : 2014-07-02 09:23 ID:5H6su3Ag

But what if I want the freedom to have my work ripped off and exploited for commercial gain by leading companies such as Apple?

10 Name: #!/usr/bin/anonymous : 2014-07-11 13:34 ID:xtFFI2kx

>>9
That happens already on their side since they just ignore licences anyway, but if you really want such freedom, just upload your code on the interbutts without a licence.

11 Name: #!/usr/bin/anonymous : 2014-08-07 23:41 ID:muqlh1bG

>>10
In some countries, that's rather difficult. Luckily, the WTFPL covers such cases.

12 Name: #!/usr/bin/anonymous : 2014-10-14 20:48 ID:bGisZxUq

Freedom = being able to show Micro$oft, Apple and Stallman the middle finger whenever I want to.

13 Name: #!/usr/bin/anonymous : 2014-11-13 01:21 ID:c5eCjDpZ

It is my definition of freedom ^^

14 Name: #!/usr/bin/anonymous : 2014-11-17 00:37 ID:4tpzojyy

penis

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

[Sharing]Your personal projects[Inspiration] (3)

1 Name: #!/usr/bin/anonymous : 2014-11-08 13:20 ID:p3iUEkWT

What are your (current) hobby projects? What languages or libraries are you using? How usable or complete is it? What makes what you're doing novel or great?
No need to be smug or anything, or get all angry at other people for using <thing you hate>. Just share what you're up to. Add a URL if it's public too, if you want.

I'll start. I'm writing a stack-based language in Racket for use in embedded devices. It's already got Hindley-Milner style type inference, it just needs to actually produce output.
I'm also planning a modal text editor that feels like vim and a music-making program somehow.

But enough about me. Let's get some actual content on the front page of /code/.

2 Name: #!/usr/bin/anonymous : 2014-11-09 00:01 ID:Hj9aT2Vm

fag

3 Name: #!/usr/bin/anonymous : 2014-11-13 01:37 ID:QM49J4Gd

I've started a little handheld GPS tracking/plotting app/script...
Rather modest at the moment, just a save/load function + current path plot..
Uses Js / Droidscript

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

>EXPERT HTML PROGRAMMER (11)

1 Name: >EXPERT HTML PROGRAMMER : 2014-04-21 17:52 ID:lot+OX0a

>EXPERT HTML PROGRAMMER

2 Name: 4-ch.net/code : 2014-05-02 14:42 ID:6E69x8qt

4-ch.net/code

4 Name: #!/usr/bin/anonymous : 2014-08-10 09:32 ID:Fu87NZgk

<?test ><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html><?test ><!-- ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?test --><?test ?>
<head>
<?test >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- ?>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<?test --> <?test ?>
<title>HTML or XML?</title>
Post too long. Click to view the whole post or the thread page.

5 Name: #!/usr/bin/anonymous : 2014-10-24 20:58 ID:Is1ApMpB

><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
>"http://www.w3.org/TR/html4/strict.dtd">

who uses html 4 these days?

<!DOCTYPE html>
<html>
...

6 Name: #!/usr/bin/anonymous : 2014-10-25 05:02 ID:Heaven

>>5
That's XHTML 1.0.
Well, actually it's both.
That trick isn't possible with HTML5, because HTML5 isn't XML or SGML.
IMO, once they decided to ditch XML and SGML, they really should have gone with a more sensible style of markup... maybe something like RTF. But I guess there's some unwritten law that standards can't be sensible.

7 Name: #!/usr/bin/anonymous : 2014-10-28 04:46 ID:W/pqbgBQ

>>6
prefix hypertext markup with continue indications

(leltype!!! phm)

(phm
(charset shift_jis)
(parse until (end)))

(title standards@4ch)
...

(fuck wakabamark)

8 Name: #!/usr/bin/anonymous : 2014-10-28 04:52 ID:W/pqbgBQ

>>7
It doesn't have to be strictly prefix though, so likely another name..

9 Name: #!/usr/bin/anonymous : 2014-11-08 13:04 ID:6gr+1q6t

>>7,8
S-expressions are a thing, you guys.

10 Name: #!/usr/bin/anonymous : 2014-12-07 07:27 ID:Heaven

>>9
they're a shitty thing. i-expressions are superior.

11 Name: #!/usr/bin/anonymous : 2014-12-07 12:17 ID:Heaven

>>10
I guess you don't write Lisp. Semantic formatting is the antithesis of brevity, expressiveness, and beauty of code. S-expressions, on the other hand, deliberately make syntax not matter at all, by virtue of there being practically none.
If you want a layout-looking markup language then use markdown or whatever other shit is currently popular.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Java is shit (1)

1 Name: #!/usr/bin/anonymous : 2014-11-02 23:10 ID:U9iLnork

Fuck your lazy shit

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

gaynal sex (3)

1 Name: #!/usr/bin/anonymous : 2014-08-21 00:04 ID:77in1rtB

gaynal sex

2 Name: #!/usr/bin/anonymous : 2014-09-24 04:37 ID:EoG0cxR9

gaynus - 1. (n) The anus of a gay male. exp: "Ouch, right in the [b]gaynus[/b][i]![/i]"
gaynal - 1. (adj) relating to the anus of a gay male. exp: "Let's have some [b]gaynal[/b] sex[i]![/i]" exp: "I'm in the mood for some [b]gaynal[/b] fisting[i]![/i]"

3 Name: #!/usr/bin/anonymous : 2014-11-02 22:53 ID:77in1rtB

fag

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

lol (3)

1 Name: dicks : 2012-02-25 17:03 ID:vYRzb1JR

[b][i][u][o]this board is more dead than[/o][/u] [spoiler][sup]/prog/[/sup][/spoiler][/i][/b]

2 Name: #!/usr/bin/anonymous : 2012-02-25 19:11 ID:Heaven

Terrible!

3 Name: #!/usr/bin/anonymous : 2014-10-30 21:37 ID:0mPA+8Bz

fag

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

New thread

Title:
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: