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

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

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

47 Name: #!/usr/bin/anonymous : 2016-03-08 19:31 ID:Heaven

I didn't really re-read >>41 before sending that so apologies for repeating myself

48 Name: #!/usr/bin/anonymous : 2016-03-08 20:06 ID:Heaven

Anyway, it ran OK as far as I can tell, but I'm just using guix standalone to replace dead pacman at the moment.

49 Name: #!/usr/bin/anonymous : 2016-03-14 07:03 ID:Heaven

if you're that kind of person, sudo git init /, and then realize what a shitty idea putting your entire hard drive in a version control system is.

50 Name: #!/usr/bin/anonymous : 2016-03-19 14:44 ID:Heaven

You really don't get what Nix and Guix are for, do you?

51 Name: #!/usr/bin/anonymous : 2016-03-19 14:46 ID:fAwdaL+w

By which I mean, when I say "something you can version control" I mean the single configuration file that describes the state of your entire system.

52 Name: #!/usr/bin/anonymous : 2016-03-20 03:41 ID:Heaven

tbh it looks like something people on /prog/ would masturbate over, and I don't see why I should care. I can back up and restore any *nix system with dd, and have no need to add more moving parts that break as soon as you actually need to restore a backup.

53 Name: #!/usr/bin/anonymous : 2016-03-20 15:20 ID:Heaven

That's great for you, and I'm sure your total lack of experience with nix and guix gives you license to shout your opinions on them as loudly as you want with the other over-opinionated folks on /prog/.
It's actually got fewer moving parts than most other distros, though. I'm curious, how does [code]dd[/code] fare when you want to set up the same system on a different machine with a smaller disk?

54 Name: #!/usr/bin/anonymous : 2016-04-09 19:03 ID:Heaven

I tried installing GuixSD on an EEE PC netbook and it did a kernel panic every time.

55 Name: #!/usr/bin/anonymous : 2016-04-23 12:46 ID:q8GDnajj

After all this pain I am running Void on my netbook, and not really bothering with any backup/reproducibility plans.

56 Name: Download Lagu : 2016-04-28 19:51 ID:ZyRb8xPt

Nice website

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

Free SMS/eMail On Anonymously (2)

1 Name: Anonymous : 2016-04-10 19:46 ID:UsRG3pZ6

Please anyone describe here the process of sending SMS on any mobile phone anonymously or sending emails anonymously.

2 Name: Anon : 2016-04-11 22:08 ID:jCQZPiwH

you can use twilio. but your privacy is protected

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

Anonymous BBS (10)

1 Name: #!/usr/bin/anonymous : 2011-02-05 15:50 ID:oTmDGJqD

Hello /code/.

Shiichan sucks and is written in PHP. Kareha sucks, is written in Perl (which causes more issues than anything else ever could when trying hard to do so) and doesn't scale well at all, seeing how a board of just the size of 4-ch needs to use archiving scripts in order to keep things running smoothly.

Is there any sane BBS software out there or do I have to try and do it myself, despite not being too much of a coder?

2 Name: #!/usr/bin/anonymous : 2011-02-05 17:28 ID:Heaven

If you don't like PHP or Perl, good luck. That's pretty much what the entire internet is using.

3 Name: #!/usr/bin/anonymous : 2011-02-06 17:31 ID:Heaven

All textboard software sucks. Kareha just sucks less, and Shiichan could also suck less if VacBob actually bothered to clean it up, but I guess not.

Become a coder and code one in Python.

4 Name: #!/usr/bin/anonymous : 2011-02-07 13:25 ID:Heaven

I don't understand why people will use the language that an application is written in as a reason for it being bad. If it is a tool that performs within your requirements and has the features that you need, who cares what its written in?

5 Name: #!/usr/bin/anonymous : 2011-02-07 17:36 ID:oTmDGJqD

PHP is just ugly. And Shiichan has undocumented features, BBCode, very serious comments all over the place, horrible logic. Take a look at it and barf.

CGI/Perl is just notorious for causing issues. Especially kareha insisting on having the index.html in the same location as The moderation could also maybe need some better ACL. I know, trust your moderators and stuff, but it doesn't feel right.

6 Name: #!/usr/bin/anonymous : 2011-02-07 19:03 ID:Heaven

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.

7 Name: #!/usr/bin/anonymous : 2011-02-07 19:11 ID:iC9yRe6Q

Is there one based on Ruby? If not, I would be willing to help develop one. It would be a good way to beef up my Ruby skills...

8 Name: #!/usr/bin/anonymous : 2011-02-09 16:02 ID:Heaven


My point was that the language of a tool is not reason for it to be considered bad. Your reasons against shiichan are due to poor coding practices, not simply because it was written in PHP. You could find a poorly coded application in any language, but that in itself is not a reason to dislike that language. You shouldn't dislike well written applications simply because of the language that they were written in either.

Personally, I don't like PHP and no longer use it for new projects. Is that going to stop me from using a PHP application if it is the "best" tool for the job? No.

9 Name: aabb : 2016-04-09 07:45 ID:dh64D7m9

AOMEI Backupper is the simplest FREE backup software with system/disk/partition/file backups and system/disk clone.

10 Name: Anonymous : 2016-04-10 18:36 ID:p2f3F9Ip


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

website without protection (4)

1 Name: anyone : 2016-03-24 15:17 ID:zj0nyDOS

found a website without protection

user & pass: admin

how to fix this bug ?

admin link :

2 Name: #!/usr/bin/anonymous : 2016-03-24 17:31 ID:Heaven

Send them a condom in the mail

3 Name: #!/usr/bin/anonymous : 2016-03-29 04:18 ID:VsZwb3MW

Use it first before sending

4 Name: #!/usr/bin/anonymous : 2016-04-03 10:27 ID:Heaven

On its way.

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

How do you motivate yourself to learn (9)

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?

7 Name: !EwEZeQwchU : 2016-03-09 21:58 ID:loUawEK0

have a grand plan in your head, when you get bored take a look at the bigger picture and think about what to do next, your interest in the subject will grow

8 Name: #!/usr/bin/anonymous : 2016-03-22 03:15 ID:9fRP4I+C

Yeah, I agree with >>5. If you are going to get programming as your job, you will communicate alot. As you need to explain your code to your team, and explaining the functions of your program to your client/boss.

As for >>6, I'm motivated to program for multiple hours when I know that I am getting progress at coding the program.

9 Name: #!/usr/bin/anonymous : 2016-03-22 19:26 ID:wcj6jE3J

Give yourself a sequence of small, defined goals that you know you can easily achieve and that follow on from each other. I'm talking less than half an hour for each thing; you want to be able to know you can do it soon, but don't bother planning any smaller than that - tedium isn't fun.
Make sure that you can tell whether the thing works once you've done it for the sense of achievement, and the "Cool, now I've got that working, I can do this!" that follows.
Do this plan for a couple of different areas of your project so you have more to work on if you get stuck.
Optional: drink coffee and booze alternately. YMMV.

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

Agen Bola | Judi Bola | Casino SBOBET (2)

1 Name: Mahkota Bola : 2016-02-11 15:25 ID:ZoCaa8dc merupakan Agen Bola Casino SBOBET yang sudah sangat terpercaya dalam menyediakan layanan pembuatan account Judi Bola online yang menyediakan ragam permainan Judi Bola dan merupakan Agen SBOBET Terbaik di Indonesia

Visit web

2 Name: : 2016-03-15 12:27 ID:xRmoqKV2

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

Preferred Editor(s) (176)

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.

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.

175 Name: #!/usr/bin/anonymous : 2016-02-20 22:10 ID:ZgjHCsmF

I tried Spacemacs after using Vim for years, and have now settled on neovim.

176 Name: poop : 2016-02-21 07:21 ID:y1GFMfyW

tbh, php is shit. java is pretty dank though

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

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

os suggestions (11)

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.

10 Name: #!/usr/bin/anonymous : 2016-02-16 21:36 ID:Heaven

Back in my day, we learnt C in Code::Blocks with open on our untabbed web browsers.

11 Name: #!/usr/bin/anonymous : 2016-02-16 21:38 ID:Heaven


> two somewhat orthogonal tasks

While you are learning, you do not necessarily know that. Just take a peek at the recent questions on

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

New thread

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