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
1: 【Unix】new unix file types (7) 2: [Sharing]Your personal projects[Inspiration] (11) 3: GameBoy Color emulator in JavaScript (19) 4: Preferred Editor(s) (170) 5: Tcl/Tk (31) 6: [perl] Kareha resources (19) 7: Beginner programming. (17) 8: Best language for starting out in functional programming? (22) 9: >EXPERT HTML PROGRAMMER (18) 10: my own "yet another imageboard-script" (116) 11: What is your definition of "freedom" ? (14) 12: Backup tweets (5) 13: Scala thread (4) 14: Live coding tool (5) 15: [Code Help]General code help?[PHP] (12) 16: Is this board alive? (3) 17: Is Perl a dead language? (29) 18: How to make my own imageboard (6) 19: Interpreted vs. compiled labguages (30) 20: world4ch's /prog/ Emergency Shelter #4 (9) 21: This is the official /prog/riders thread (11) 22: Is Ruby as inefficient as they say (6) 23: Coding Challenge #2! (114) 24: Operating Systems vs Artificial Intelligence (3) 25: 6.034 (6) 26: [SICP] LEARNING TIME [PY] (4) 27: HAX MY ANUS (2) 28: OOP vs functional (11) 29: Active (6) 30: Introduction to complexity and the idea od quantum computers (3) 31: Opinions of Codecademy? (8) 32: Programming languages with fast matrix operations (15) 33: [JS] Help me find out the correct speed to sync up with the song 太陽いわく燃えよカオス (5) 34: "4tran"? (52) 35: Spoilers in Wakaba (16) 36: Which one? (4) 37: I reproduced an error I found in safari. (3) 38: Google app engine (2) 39: Shitpostan (2) 40: What is the diff between RSS and Atom feeds? Is one better? (2)

【Unix】new unix file types (7)

1 Name: #!/usr/bin/anonymous : 2015-07-10 22:20 ID:t1CnYWeK

I was thinking of some file types that afaik don't exist.

One is filesystem entries of files stored in memory from disk files, updated when the disk file modification time changes. This would be a big disk-access optimization in some cases.

The in-memory entry permissions would be ignored, and writing to it would write to the disk file.

Another one is dynamic files that (only) have the name of a executable, which when opened would be executed by the kernel, creating a process child of init with its standard output piped to the file descriptor obtained by opening the dynamic file.

Here reading would depend on both the dynamic file's read permission and the named executable's execute permission. The idea is that it's transparent to the reading process.

Whether they could change the file to which they point to without deleting it would depend on the implementation, I think. (

2 Name: #!/usr/bin/anonymous : 2015-07-13 00:49 ID:rdeMslMg

Unix sucks.

3 Name: #!/usr/bin/anonymous : 2015-07-13 21:27 ID:E2Za6msF

Unix is programmable, you can change it not to suck.

Everything else sucks more, and you're stuck.

4 Name: #!/usr/bin/anonymous : 2015-07-14 17:51 ID:rdeMslMg

Yeah, you can spend your tine and effort on trying to graft usability onto a crusty design built to run mainframes in the 70s, like the Linux fags have been trying and failing at for the past two decades, or you could try to make an OS that actually makes sense for desktop use instead.

5 Name: #!/usr/bin/anonymous : 2015-07-15 18:10 ID:uZcCDWHA


6 Name: #!/usr/bin/anonymous : 2015-07-16 09:23 ID:dj2rH73R

I was gonna make an OS that like totally made sense super intuitive wouldve changed the desktop forever but I got stuck at implementing jishin/kashin.

7 Post deleted.

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

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

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 Post deleted.

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

4 Name: #!/usr/bin/anonymous : 2014-12-26 21:33 ID:bz9OqgWr

Fucking around with Haskell.

5 Post deleted.

6 Post deleted.

7 Name: #!/usr/bin/anonymous : 2015-01-02 05:45 ID:LhLdJ/Hf

A raspberry pi motion camera that uploads photos to somewhere on the web.
I also want it to blink an LED every time a photo is taken but I don't know how to trigger that.

8 Post deleted.

9 Name: #!/usr/bin/anonymous : 2015-06-13 22:54 ID:55rDAn17

Voroni diagram generator with guile and c

10 Name: #!/usr/bin/anonymous : 2015-07-23 00:30 ID:0eyzW3OO

A unix shell in C, not derived from sh or csh or something, with compiled execution and other features for enhanced interactive and programming use.

11 Post deleted.

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

GameBoy Color emulator in JavaScript (19)

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!

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



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:
It isn't very fast, but it's still very impressive.

12 Post deleted.

13 Post deleted.

14 Post deleted.

15 Post deleted.

16 Post deleted.

17 Post deleted.

18 Post deleted.

19 Post deleted.

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

Preferred Editor(s) (170)

1 Name: #!/usr/bin/anonymous : 2008-05-21 13:03 ID:/y/PlSFi

What's your favorite IDE/text editor when it comes to programming? Also, what's the setup in the banner up top?, that is.

161 Name: Wanda : 2015-05-31 01:53 ID:ZjyGJgk8

Sublime Text, vi on servers, Visual Studio is fine too.

Depends what I'm working on. If i'm working on some bloated e-commerce mess for a .net client, visual studio is opan obvious choice,

Everything else, ST or if unavailable vi

162 Name: #!/usr/bin/anonymous : 2015-06-09 18:58 ID:QjMGRIOO

BSD vi, ed, mg on Unix. Sam and acme on Plan 9. Pe on Haiku.

163 Name: #!/usr/bin/anonymous : 2015-06-14 16:44 ID:MuAco6xD

I like vim with solarized dark colorscheme and the linter syntastic. All is very comfortable that way.

164 Name: #!/usr/bin/anonymous : 2015-06-17 22:27 ID:9e5Wccph

Well, I started with "vi" on my very first shell account (a SunOS 4.x box, back in 1995). No idea what exact version of vi it was, but I didn't have any colors or visual mode, or anything like that. Soon after that, I installed Slackware and started using "vi" there as well. And since I completely stayed away from Windows all these years (except when required for a job), I just kept using vi or vim.

Somewhere along the way I got the crazy idea to swap the Escape and CapsLock keys, using either xmodmap or its console equivalent (e.g. wsconsctl in OpenBSD). That made things a lot more comfortable...

Speaking of OpenBSD, their /usr/bin/vi program is a slightly enhanced version of nvi, because it allows you to split the screen and have several text windows displayed at once. I didn't even realize this until one of the developers mentioned it on openbsd.misc:

our vi has multiple windows.
:E new_file
then ^W to move from file to file.

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

165 Name: #!/usr/bin/anonymous : 2015-06-18 08:30 ID:Heaven

there's no such thing as vi that doesn't have visual mode. perhaps you're thinking of ex?

166 Name: #!/usr/bin/anonymous : 2015-06-18 13:06 ID:9e5Wccph

Sorry I meant no visual block operations (select, copy, paste) like vim has. Yeah, the SunOS vi was running in regular full screen mode.

Now the "mail" or "mailx" programs, those dropped you into ed or maybe ex by default, for some reason. I mostly used Pine those days, and only occasionally mail in command line mode, e.g.:
mail -s "hi there" recipient@host < msg.txt

Later on when I started doing sysadmin work, I found myself just telnet'ing to SMTP and POP3 ports a lot (for testing purposes). Those interfaces are actually pretty simple; there's just no nice command-line editing/history or saving of messages to "sent-mail" folder or whatever (unless you're logging the session via typescript or whatever).

167 Name: #!/usr/bin/anonymous : 2015-06-26 20:32 ID:Qe6gX1aW

Emacs is love; Emacs is life.

168 Post deleted.

169 Post deleted.

170 Post deleted.

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

Tcl/Tk (31)

1 Name: #!/usr/bin/anonymous : 2008-08-24 01:33 ID:LD6S4lTz

Tcl is one of the most underrated computer languages today.

It has a weird syntax, but on the other hand the syntax makes it more extensible than any other language besides the Lisp family.

Tk is reputed for it's antique-looking widgets. However with the latest 8.5 releast TTk, Themeable Tk is the default which means native look on Vista, XP, OSX. (Not Linux though, but what can you call native there anyway?)

So if you don't know Tcl yet, go and learn it. It's extremely simple, has an interactive shell, and will expand your mind... much more than learning most other languages!!

Tcl/Tk rocks!


22 Name: #!/usr/bin/anonymous : 2008-08-31 20:36 ID:Heaven

> Try explaining a cdr or progn to a non-programmer, both which are very prevalent in lisp.

They're just words. All the words that are in lisp, are in this book: or you can learn about them by typing:

(describe 'WORD)
> What common Python idioms are likely to pose a problem for a new programmer?

It all seems problematic for a new programmer. Explaining why sometimes you use [] lists and sometimes you use () tuples. Explaining why print isn't a method is also problematic. Explaining why they check __name__ also seems to cause problems. Operator-order is also difficult; explaining why they sometimes read a statement right-to-left, and other times from left-to-right seems problematic.

Someone who is familiar with some algol-like syntax such as is seen in a shell or in another language will have a completely different set of problems- the if, postfix-if, yield, self, and so on.

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

23 Name: #!/usr/bin/anonymous : 2008-09-01 15:18 ID:Heaven

Caution: Smug Lisp Weenie threadshitting.

24 Name: #!/usr/bin/anonymous : 2008-09-01 18:16 ID:Heaven

Caution: Pyfag.

25 Name: #!/usr/bin/anonymous : 2014-09-24 21:19 ID:5RXkJc27

Lisp is shit. The worst kind of shit: The kind [i]other people swear they like to eat.[/i]

26 Name: #!/usr/bin/anonymous : 2015-06-09 19:01 ID:jS+wSCdP

It seems Tk is considered less-harmful by the cat-v folks (

27 Name: #!/usr/bin/anonymous : 2015-06-12 12:42 ID:4ddVi+vB

Hmm, I did some Perl/Tk stuff back in 2004 or so, and the widgets seemed pretty damn close to Win95/NT/2000 style on those platforms. Not exactly identical to straight Win32, but close enough. Now, the X11 widgets (same exact Perl/Tk program running in Linux or BSD) had that unique "Tk" look - kind of frugal/archaic, and kind of charming at the same time, IMO (mind you, I actually *like plain, flat Athena widgets also).

Never really got into Tcl itself though, except for tweaking some ircII scripts back in the day (mostly bots). Seemed like the Tcl/Tk stuff is less buggy than the Tk stuff ported to Perl though. Also writing Tcl/Tk code seems less verbose than Perl equivalent.

I don't know why there is always so much Python comparisons everywhere. Do they have something to prove? Those guys used to invade the comp.lang.perl.misc and related newsgroups a decade ago and constantly talk trash. If that language is was great, it would stand up on its own and not need all this stupid in-your-face advocacy. Because of those incessant antics, Python will always turn me off.

28 Post deleted.

29 Post deleted.

30 Name: #!/usr/bin/anonymous : 2015-06-18 13:13 ID:4ddVi+vB

Hey I totally forgot that sometimes I use Expect to automate stuff (like logging into remote shell accounts that require a password rather than SSH key). And well, it's all based on Tcl...

31 Post deleted.

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

[perl] Kareha resources (19)

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's date field do two quite obvious things.

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

10 Post deleted.

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

all posts on 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.

13 Post deleted.

14 Post deleted.

15 Post deleted.

16 Post deleted.

17 Name: #!/usr/bin/anonymous : 2015-01-16 03:58 ID:Heaven

update how? just remove the stuff that's there for compatibility with ancient browsers? switching from XHTML to HTML5? or do you mean make it ugly and hard to use by shuffling everything on the page around randomly and making everything big colored squares that you have to inspect closely to find anything?

18 Name: #!/usr/bin/anonymous : 2015-03-13 12:59 ID:hhWF/CuU

You run sageru? Cool, never knew. Also that rules page is really nice.

I just downloaded Kareha (inspired by this thread), so I'll probably play around with it for a few weeks and post any tweaks I make here.

19 Name: #!/usr/bin/anonymous : 2015-06-11 07:40 ID:PUpPNQwG

what happened to it looks like the board has been deleted.

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

Beginner programming. (17)

1 Name: #!/usr/bin/anonymous : 2015-02-07 23:35 ID:Y+JE2qHF

Know absolutely nothing about programming but want to learn etcetera...

Used computers all my life but know nothing about the codes inside them. I keep coming up with ideas for computer programs which are based on a few simple tasks or calculations which I think a computer could do but I have no idea how to implement them. I think I should get to the level of making a simple card game or something. Then work my way up to making scripts, something that could open up opera browser, search through a site for certain links, open them up and search for pieces of text and put them into a spreadsheet. That would be useful for my stock market research.

For now though I am a complete pleb and don't even know what software I need or how to take the first step. Here are some links I found that I will look at.

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

8 Name: #!/usr/bin/anonymous : 2015-02-23 18:07 ID:NomqDisZ

You're exaggerating. A lot of shit in C isn't so difficult for someone just beggining, and if they're learning out of interest, they don't have to master bit operations immediately.

It sure is encouraging, but I like the shell interface, so I don't think of programs that run on a terminal as lowly goals.

And there you can get results fast using C or even asm.

9 Name: CODE!SSnC1HBUt6 : 2015-02-26 19:43 ID:sU/XF9h2

The argument between you 2 has put some perspective on things.

Yes, it has been 12 days. I usually just go to sleep when I get home because of schooling and a part-time job but I think I found a way to mitigate the effects of ADD-PI and stop dawdling. I will probably test these suggestions tomorrow and have something more interesting to talk about.

If I don't follow your suggestion it is likely because I can't find the right software to download or something not that I'm taking sides. Also I now have a tripcode.

> in b4 someone makes their own tripcode and claims to be me

Lastly what do you guys think of this game, it is about transistors.

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

10 Name: !iRU13QgZ/U : 2015-02-26 19:46 ID:sU/XF9h2

actually this will be my tripcode

11 Name: #!/usr/bin/anonymous : 2015-03-05 01:17 ID:2E4b/LFY


12 Name: #!/usr/bin/anonymous : 2015-03-06 03:34 ID:aA36YNO1

>Maybe it could teach me to use "precision magnets to manipulate the individual bits in your RAM and write programs in raw machine code."

umm I don't think that was completely srs

13 Name: #!/usr/bin/anonymous : 2015-03-13 04:51 ID:xr+lMDB5

I'd recommend "How to Design Programs", and if you'd like and have the time, you can supplement with "Structure and Interpretation of Computer Programs" lectures.

>Also I have heard from many sources that programming is more about constructing programs and less about memorizing code, this raises my confidence a little, assuming I am imagining what coding is like correctly.

The focus of How to Design Programs is on program design and construction, and the language it uses is very simple and requires no significant syntax memorization. It's also free and there's an IDE developed for it and the language it's based off of (Racket Lisp).

SICP is a highly-recommended book, but it's also very abstract and can be difficult, but it can be nice to watch the lectures and take notes and see how the ideas are used in HtDP. This is what I've been doing myself, I just started myself a few weeks ago.

I kind of wish there was some kind of beginner's programming IRC room or something for people like us.

14 Name: #!/usr/bin/anonymous : 2015-03-15 23:10 ID:aa0qzQFE

learn to program by programming, duh

sicp is overrated abstract bullshite
this is a point that no one may contest

15 Name: #!/usr/bin/anonymous : 2015-03-16 00:11 ID:xr+lMDB5

What makes you think that recursion vs. iteration and their benefits and disadvantages, the differences between the environmental and object-oriented models of programming, functional programming, and data-directed programming, and knowing how compilers work by writing your own are "abstract bullshite"?

At the risk of being too obvious, it DOES deal a lot with the structure of programming, and that's why I recommended it as a supplement to a more pragmatic or less abstract book if you have the time. You can always just read it afterwards.

16 Name: #!/usr/bin/anonymous : 2015-04-17 18:22 ID:ZXIFkahR

going to try codecademy, also found this theory about ADHD predominately inattentive which might yield something useful

17 Name: #!/usr/bin/anonymous : 2015-04-24 00:58 ID:ZXIFkahR

found this, it is very compelling evidence that I can increase glycogen (important source of energy) levels in the brain through exercise

I believe I need to sprint and do some other intensive exercises that use every muscle group in order to "hit the wall", the point where energy reserves are depleted and the body starts to deplete energy from other reserves like the brain. In theory this will trigger the body's natural reaction to increase energy reserves in the brain as well as skeletal muscle and mitigate the effects of ADHD-PI somewhat.

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

Best language for starting out in functional programming? (22)

1 Name: #!/usr/bin/anonymous : 2011-01-16 01:16 ID:MSrpsEZ8

I've seen great web tutorials for Haskell, but is there any better entry-level language that teaches me to no longer think like a computer?

13 Name: #!/usr/bin/anonymous : 2011-06-23 10:54 ID:kxTuZB/4


No. Functional programming also works in a "predefined algorithm sequence" (that's the whole point of programming, innit).

What it does, it tries to get rid of this idea, which is brittle (i.e. difficult to get right):

You have a state (a bunch of variables with their values at some time t) that you manipulate with procedures so that at time t+1, the values of those variables has changed and the set of variables has changed.

Instead the approach is:

You have functions (machines that transform input values into output values, where the input values and output values can themselves be functions) that you apply on values to get a result (and any state is temporary and just an artifice of expressing how your function works).

14 Name: #!/usr/bin/anonymous : 2011-08-27 01:10 ID:kESQsA7D

I think "a computer" >>1 means is so-called Von Neumann-type computer.

Procedural programming needs global states, variables and substitutions like current computer architectures.

Functional programming also has values but they never change once they have been defined, and yet it works because of λ-calculus like >>13 said. 

I recommend Haskell for Functional programming novices too.
Haskell is a bit idealistic language, but people can learn a lot for it.

15 Name: #!/usr/bin/anonymous : 2011-08-28 20:33 ID:DxVyW/QZ

Ruby. The Best of All EVER.

Simple. Beauty. Force.

Just Works.

require 'sinatra'
get '/' do
"Hello World!"

Web-server with hello-world-main-page. 4 lines. :)


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

16 Name: #!/usr/bin/anonymous : 2011-08-29 01:37 ID:Na6H161a

I want to punch you in the throat.

17 Name: #!/usr/bin/anonymous : 2011-09-10 03:13 ID:Heaven

I can do that with Node.js, or any other framework out there. That is still stupid. If you don't understand why "my_whole_web_site_just_work();" is lame, please stop programming.

I know, I've been trolled once again :(

18 Name: #!/usr/bin/anonymous : 2013-06-25 22:22 ID:KBxwh9MV

Such baseless novelties, try Nimrod, son.

19 Name: #!/usr/bin/anonymous : 2013-08-03 10:32 ID:L2Ej6CUp


State is easily reintroduced into functional programming with f-coalgebras. Then you model your computation as a function working on a state space S and several outcomes (bottom = no terminating or undefined), just the next state or an exception and the next state. This model also apply on java. From this model, functional languages are rather explicit with their state passing.

S[sub]t[/sub] -> bottom + S[sub]t+1[/sub] + S[sub]t+1[/sub] x E

20 Name: #!/usr/bin/anonymous : 2013-10-16 12:53 ID:PjA6aMEM

Learn brainfuck, trust me. Its a great language and will teach you the fundamentals of a language like Assembly, but in a more complicated way, which is definitely better.

21 Name: sage : 2015-03-28 07:16 ID:W6w5g3LX

You have a memory (a bunch of memory locations with their values at some time t) that you manipulate with functions so that at time t+1, the values of those memory locations has changed and the set of stack memory locations has changed.

Instead the approach is:

You have procedures (machines that transform input values into output values, where the input values and output values can themselves be procedures) that you apply on values to get a result (and any memory is temporary and just an artifice of expressing how your procedure works).

Also you have unsafe IO procedures to call some devil functions because von neumann or something. It's not like someone forgot computer functions were jumps in the instruction pointer and not actual mathematical functions..

22 Name: #!/usr/bin/anonymous : 2015-04-08 15:57 ID:Ape0/d52

I would say Ruby. The Russian guy is kind of dumb though. Ruby has what you want plus there is a great community and Ruby Gems are pretty great as well.

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


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


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

S-expressions are a thing, you guys.

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

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

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

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.

12 Name: #!/usr/bin/anonymous : 2014-12-25 02:07 ID:Heaven

Shitty, hard-to-read syntax is not the same thing as no syntax.

13 Name: #!/usr/bin/anonymous : 2015-01-07 21:18 ID:Heaven

You clearly don't Lisp.
Come back when you've even tried to use it.

14 Name: #!/usr/bin/anonymous : 2015-01-23 20:43 ID:Heaven


> This SRFI descibes a new syntax for Scheme, called I-expressions, whith equal descriptive power as S-expressions. The syntax uses indentation to group expressions, and has no special cases for semantic constructs of the language. It can be used both for program and data input.
> 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.


Why do so many LISPers lack basic reading comprehension skills?

15 Name: #!/usr/bin/anonymous : 2015-02-22 13:38 ID:EW0/c6gA

When you read two sentences with the word ``semantic'' in, do you automatically assume that they have any relation to each other at all? Because those two didn't.
Semantic formatting includes significant whitespace. Absolutely nothing to do with special cases in syntax.
Come on guy, did you even try or were you just finding any excuse to make sweeping judgements on the internet?

16 Post deleted.

17 Name: #!/usr/bin/anonymous : 2015-02-28 09:33 ID:Heaven

So whether something is "semantic formatting" is determined by what characters it uses? Parentheses are okay, but spaces are evil? Even though S-expressions also use spaces in a syntactically significant way?

18 Name: #!/usr/bin/anonymous : 2015-02-28 13:59 ID:Heaven

You're clutching at straws now and you know it.

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

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:

107 Post deleted.

108 Post deleted.

109 Post deleted.

110 Post deleted.

111 Post deleted.

112 Post deleted.

113 Post deleted.

114 Post deleted.

115 Post deleted.

116 Post deleted.

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

New thread

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