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: Is this board alive? (4) 2: How do you motivate yourself to learn (6) 3: os suggestions (9) 4: Harga Lantai Kayu, Lantai Parket vs Lantai Vinyl (1) 5: [Sharing]Your personal projects[Inspiration] (36) 6: Agen Judi Poker Online dan Bandar Domino (2) 7: Nissan, Mobil Terbaik Pilihan Keluarga Indonesia (2) 8: Preferred Editor(s) (174) 9: [perl] Kareha resources (21) 10: suckless unix tools (19) 11: 【Unix】new unix file types (13) 12: Beginner programming. (21) 13: HAX MY ANUS (6) 14: Applescript (15) 15: UNIX redone (250) 16: GameBoy Color emulator in JavaScript (19) 17: Tcl/Tk (31) 18: Best language for starting out in functional programming? (22) 19: >EXPERT HTML PROGRAMMER (18) 20: my own "yet another imageboard-script" (116) 21: What is your definition of "freedom" ? (14) 22: Backup tweets (5) 23: Scala thread (4) 24: Live coding tool (5) 25: [Code Help]General code help?[PHP] (12) 26: Is Perl a dead language? (29) 27: How to make my own imageboard (6) 28: Interpreted vs. compiled labguages (30) 29: world4ch's /prog/ Emergency Shelter #4 (9) 30: This is the official /prog/riders thread (11) 31: Is Ruby as inefficient as they say (6) 32: Coding Challenge #2! (114) 33: Operating Systems vs Artificial Intelligence (3) 34: 6.034 (6) 35: [SICP] LEARNING TIME [PY] (4) 36: OOP vs functional (11) 37: Active (6) 38: Introduction to complexity and the idea od quantum computers (3) 39: Opinions of Codecademy? (8) 40: Programming languages with fast matrix operations (15)

Is this board alive? (4)

1 Name: #!/usr/bin/anonymous : 2014-04-26 08:40 ID:n6Yf9IpJ

Is it sentient?

2 Name: #!/usr/bin/anonymous : 2014-04-26 15:22 ID:zriFw6ue

Yes [spoiler]no[/spoiler] [spoiler]maybe [/spoiler][spoiler]so[/spoiler]

3 Name: #!/usr/bin/anonymous : 2014-05-04 04:43 ID:Heaven


4 Name: #!/usr/bin/anonymous : 2016-02-03 18:52 ID:nKL3nVFn


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

How do you motivate yourself to learn (6)

1 Name: #!/usr/bin/anonymous : 2015-09-14 11:00 ID:ravr0/GJ

I want to be a professional programmer because I'm under the impression programmers don't have to speak that much. The only programming language I know is Java because I took a few classes. I liked learning Java, and it came easy to me, but even though I want programming to be my job, I don't want to learn any more-- I prefer drawing manga pictures (which I'm bad at). What should I do?

2 Name: #!/usr/bin/anonymous : 2015-09-15 06:07 ID:eVO8uri8

remove your ribs and try to get your own penis into your mouth :)

3 Name: #!/usr/bin/anonymous : 2015-09-15 15:18 ID:wlWuGn/k

speaking is fun nigga

4 Name: #!/usr/bin/anonymous : 2015-12-19 00:32 ID:yPYCmGLs

yo will need to remove some spine and muscle too
or soak them in vinegar to make them more flexible
or just do yoga goddamn

5 Name: #!/usr/bin/anonymous : 2016-02-02 03:12 ID:4bT9fuRi

Get better at drawing manga and hope for the best. Programming as a job involves working in teams and lots of communication.

6 Name: #!/usr/bin/anonymous : 2016-02-03 18:36 ID:9fLlvazV

Along with this question on motivation, how can you motivate yourself to program for multiple hours straight?

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

os suggestions (9)

1 Name: myanonmyanon : 2016-01-23 14:35 ID:I30aI38a

need suggestions of good Linux based operating systems, wanting to start developing my own basic software just as a hobby atm then on to further things hopefully, someone suggested ubutun but iv had loads of problems so far just getting it to boot up once iv installed all the drivers, and one can give me afew tips

2 Name: #!/usr/bin/anonymous : 2016-01-23 19:46 ID:Qa6xeYre

NixOS and Guix are a good start.

3 Name: #!/usr/bin/anonymous : 2016-01-25 01:29 ID:2pfLlpXS

stick it out with Ubuntu. if you can't get that working properly then other options will not fare much better.

4 Name: #!/usr/bin/anonymous : 2016-01-25 06:30 ID:nXFNrgun

2 is a dick, if you had trouble getting uubuntu clearly ypu shpuld use alpha software like guix....... what the fuck.

5 Name: #!/usr/bin/anonymous : 2016-01-25 18:35 ID:Heaven

This isn't Reddit, please be a nice person here.

6 Name: #!/usr/bin/anonymous : 2016-01-28 12:38 ID:1SRh8cNM

I think you're misinterpreting it.
Ubuntu is meant to work out of the box. If it doesn't you either have very outdated or rare hardware.
It might be a good idea to try debian.

7 Name: #!/usr/bin/anonymous : 2016-01-31 05:07 ID:xrk1LjNT

FreeBSD or OpenBSD

8 Name: #!/usr/bin/anonymous : 2016-01-31 13:39 ID:HlXG5mX6


> 2 is a dick
> [sarcastic paraphrasing]
> what the fuck

I don't really think there's much to misinterpret.
We're getting off-topic, though. I don't think you need to switch to Linux to start developing software. If anything, learning both a new OS and how to write software at the same time will only make things harder.
First start doing what you wanted to do. Other things will happen as a by-product.

9 Name: #!/usr/bin/anonymous : 2016-02-03 23:27 ID:Heaven

Need is a strong word, of course, but to add a pure anecdote, back when I was first starting out programming (C), it actually proved to be easier to switch to Linux than to continue on Windows. Switching to Linux only required that I learn a new OS and that I learn C, which were two somewhat orthogonal tasks. If I had continued on Windows (this was in the Bad Old Days(tm)) it would have required that I learn C and the foibles of whatever IDE/Compiler I picked, which were (to a neophyte) very subtle and inflicted constant doubt in my mind as to whether the language I was reading about and the language I was writing followed the same rules. I might have also been able to install GCC on Windows at the time, but that would have required about as much work as switching (perhaps more).

Nowadays, popular languages are more cross-platform, some computers have enough resources to run cumbersome IDEs, and to get around Windows' lack of a package manager many languages have reinvented that particular wheel, so switching may not be the easiest path forward. However, if, as you follow >>8 's advice, you find yourself irritated by the steps between [decide to write a program] and [start typing] or between [stop typing] and [observe the output of your program], you might be in a comparable situation to the one I was in.

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

Harga Lantai Kayu, Lantai Parket vs Lantai Vinyl (1)

1 Name: maman : 2016-01-29 03:36 ID:YdBNC0CI

Harga Lantai Kayu, Lantai Parket vs Lantai Vinyl informasi Harga Lantai Kayu, Lantai Parket vs Lantai Vinyl Sudah baca tentang cara membersihkan lantai kayu? Saat membersihkan lantai kayu, kita tidak diperbolehkan menggunakan air terlalu banyak karena dapat membuat lantai kayu menjadi lapuk. Begitu juga cara membersihkan lantai vinyl, meskipun air tidak membuat lantai menjadi lapuk, tapi juga tidak diperbolehkan menggunakan air terlalu banyak saat membersihkan lantai vinyl. Ingin tahu cara membersihkan lantai vinyl yang benar? Simak terus artikel cara membersihkan lantai vinyl dan cara merawatnya ini ya.

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

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

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/.

27 Name: #!/usr/bin/anonymous : 2015-11-27 23:19 ID:6rUPkWO3

Understandable. Pretend I called it a terminal manipulation library instead. It's got nice things like double buffered treat-it-like-a-bitmap-image-basically drawing, proper text edition and a widget library.
The incremental game has lost my interest in favour of this. My main effort is going into figuring out how to make a reactive TUI without feedback loops (e.g. editable text field widgets, and widgets wrapping other widgets that can tell each other what dimensions to be).

28 Name: #!/usr/bin/anonymous : 2015-12-10 22:18 ID:Heaven

I got it. I'm mamking it nice and simple as well, i.e. to make any given widget fill the space available, you just wrap it in a space-filling widget, rather than every widget having that same toggle.

29 Name: #!/usr/bin/anonymous : 2015-12-31 12:39 ID:5GvHyX4S

Recently I've made a blog, events calendar, and BBS script in Python. Fun stuff!

30 Name: #!/usr/bin/anonymous : 2016-01-07 15:05 ID:BzFv700C

what is up tokiko

31 Name: #!/usr/bin/anonymous : 2016-01-17 10:26 ID:weBiISyC


32 Name: #!/usr/bin/anonymous : 2016-01-18 23:09 ID:Heaven


loeb = fix (fmap . flip id =<<)

33 Name: #!/usr/bin/anonymous : 2016-01-21 07:54 ID:oDNaTNvK

listening to A Tribe Called Quest.

34 Name: #!/usr/bin/anonymous : 2016-01-25 06:31 ID:I+1GTLWo

I have a really good new project will tell when its finished

35 Name: #!/usr/bin/anonymous : 2016-01-25 17:56 ID:Jhm78O2X

Damn - that's exactly what I was thinking. I hope we're not scooping each other.

36 Name: #!/usr/bin/anonymous : 2016-01-25 19:32 ID:mZEiSE6L

I'm going to have to sue you both for infringement of my IP rights.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: Agen Judi Poker Online dan Bandar Domino (2)

1 Name: : 2016-01-23 00:20 ID:2dua4Z+Y Agen Judi Poker Online dan Bandar Domino Duit Asli Terpercaya merupakan agen Poker Indonesia yang menyediakan permainan Asia Poker dan Domino Online menggunakan uang asli Indonesia sebagai transaksi pembayarannya, jika selama ini anda mengenal poker online di facebook yang menggunakan chip sebagai transaksinya, kini bersama anda akan menggunakan uang asli dan bisa langsung anda cairkan saat itu juga jika anda berhasil menang.


Menggunakan sistem yang telah terbukti aman dan telah di dukung oleh server canggih berkualitas tinggi, telah menjadikan situs ini sebagai situs poker online paling terpercaya dan bisa di andalkan. Hal ini bisa kita buktikan dengan melihat banyaknya member yang bermain di setiap ruangan yang tersedia dan hampir semua pemain merasa puas dengan berbagai fasilitas yang di berikan oleh situs Agen Judi Poker Online dan Bandar Domino Duit Asli Terpercaya

Sumber Referensi

2 Name: myanonmyanon : 2016-01-23 14:28 ID:MyjO+RpU

i want to start developing basic software just as a hobby at first but with higher aspects, someone suggested Ubuntu but iv had loads of problems even downloading it and getting it to run on my pc. and suggestions would be helpful

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

Nissan, Mobil Terbaik Pilihan Keluarga Indonesia (2)

1 Name: binsar : 2016-01-10 21:48 ID:yjLCyu/D

Nissan, Mobil Terbaik Pilihan Keluarga Indonesia Nissan Grand Livina baik tipe SV maupun tipe XV. Komparasi ini akan membantu kita, khususnya anda yang berniat untuk membeli salah satu tipe mobil rintisan Nissan ini. Melakukan perbandingan antara Nissan Grand Livina tipe SV dan Nissan Grand Livina tipe XV

2 Name: letz : 2016-01-19 21:10 ID:+WQR2DG4

free download music mp3

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

Preferred Editor(s) (174)

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.

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.

171 Name: #!/usr/bin/anonymous : 2015-12-31 15:35 ID:gpLahnqO


172 Name: #!/usr/bin/anonymous : 2016-01-09 17:09 ID:nY1TTFUN

Been using textadept lately. Like it a lot.

173 Name: #!/usr/bin/anonymous : 2016-01-12 05:34 ID:VpC1hp1e

I just started mg a few weeks ago after getting fed up once too often with emacs. It's certainly the best lite emacs out there. I wish it had:

- better support for unicode
- better documentation for binding things. Sometimes you have to put a \, sometimes a ^, and the examples are completely unhelpful.

I'd probably switch full time if it had syntax highlighting (yes, I'm weak) and if I had a good stand-alone LaTeX reformatter.

174 Name: #!/usr/bin/anonymous : 2016-01-13 21:24 ID:jeG6gVFW


> syntax highlighting (yes, I'm weak)

Weak? Code isn't prose.

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

[perl] Kareha resources (21)

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.

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.

20 Name: #!/usr/bin/anonymous : 2015-12-31 15:38 ID:UCC+Pf//

u be trippin, the sages never quit ~~~

21 Name: #!/usr/bin/anonymous : 2016-01-01 03:29 ID:Heaven

It disappeared for a while.

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

suckless unix tools (19)

1 Name: #!/usr/bin/anonymous : 2015-11-27 23:38 ID:WnYu4pRm

10 Name: #!/usr/bin/anonymous : 2015-12-03 05:05 ID:Heaven

I'm pretty sure Plan 9 didn't mess up UTF-8...

11 Name: #!/usr/bin/anonymous : 2015-12-07 05:52 ID:Heaven


> .webm


12 Name: #!/usr/bin/anonymous : 2015-12-07 19:45 ID:Heaven

Yeah, .webm isn't suckless enough. .ogg only, please!

13 Name: #!/usr/bin/anonymous : 2015-12-12 19:07 ID:dV0p32vj

What's obsolete about Boolean logic?

14 Name: #!/usr/bin/anonymous : 2015-12-13 01:21 ID:Heaven

ogg is shitty, too. better to use HEVC and tell the patent trolls to suck it.

there's no need for true and false when (exit) and (exit 1) do the exact same thing in any modern shell.

15 Name: #!/usr/bin/anonymous : 2015-12-15 01:09 ID:uRQjlkuR

oh shit i got recked

16 Name: #!/usr/bin/anonymous : 2015-12-15 01:26 ID:gpM8bf5u

>(exit) and (exit 1) do the exact same thing in any modern shell.

not for long

17 Name: #!/usr/bin/anonymous : 2015-12-26 20:42 ID:Heaven

you really think everyone is going to go back to using the thompson shell, almost 40 years after it became obsolete?

18 Name: #!/usr/bin/anonymous : 2015-12-31 12:37 ID:d5Pfr4ag

suckless has some bad political/economic perspectives in their /sucks/ area, so it makes their philosophy, and thus, their software suspect, by association

19 Name: #!/usr/bin/anonymous : 2016-01-01 03:38 ID:Heaven

Can you give some examples? All I'm seeing that might be considered "political" is the view that C++ is bad.

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

New thread

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