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 Mittens Pseud0ch Toothpaste

C# (3)

1 Name: #!/usr/bin/anonymous : 2020-07-21 09:25 ID:iKA2oBfn

Why does C shart suck so much?

2 Name: #!/usr/bin/anonymous : 2020-07-22 01:20 ID:WFzdwUzq

Because it's Java except made by M$ so they don't have to put up with Oracle's bullshit.

Which is a perfectly understandable motivation, they just missed the memo that everyone on the planet stopped giving a single fuck about Java the nanosecond that HTML/CSS/JS became mature enough to create cross-platform apps in.

(shitty cross-platform apps, but not any shittier than Java apps tbqh)

3 Name: #!/usr/bin/anonymous : 2020-12-31 08:55 ID:/AwlEA/k

>>2
I prefer Java apps over bloated web pages that blow my bandwidth

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

2ch-style BBs (42)

1 Name: #!/usr/bin/anonymous : 2006-06-15 20:34 ID:ySfwccWX

Does anybody know of any PHP-based ones?

I did check out Kareha, but my hosts basically won't allow it and having to edit teh sauce to redirect out of the CGI-bin would be horrendously complex for me (I have no knowledge of Perl).

So, are there any? I thought I read that 2ch's boards were PHP-based.
Reason I ask is because I'm interested in setting one up for a college project; I've tried Vanilla (don't!), and while it looks pretty good, I'm not too keen on registration and overcomplication.

Cheers guys :3

33 Name: #!/usr/bin/anonymous : 2006-06-27 20:32 ID:Heaven

>>30
Nigga please. "Unrepairable" is the obvious derivation of "repairable". Irreparable is the fancy word from way back in the top hats and walking sticks era.

34 Name: #!/usr/bin/anonymous : 2006-06-28 14:22 ID:Heaven

"Unrepairable" sounds awful. Just say it.

35 Name: #!/usr/bin/anonymous : 2006-06-29 17:24 ID:Heaven

>>34 unpossible!

36 Name: #!/usr/bin/anonymous : 2006-07-01 11:44 ID:Heaven

just say not repairable..cunts.

37 Name: #!/usr/bin/anonymous : 2006-07-04 20:41 ID:Heaven

or just say "fucked".

38 Name: #!/usr/bin/anonymous : 2006-07-08 19:34 ID:Heaven

>>36 !repairable

39 Name: #!/usr/bin/anonymous : 2020-12-16 00:56 ID:dVtC/3Mt

What defines a 2ch-style board?

IDs based on IP address?
"no bump" feature?

40 Name: #!/usr/bin/anonymous : 2020-12-16 14:57 ID:c40mcZvY

Captures

41 Name: #!/usr/bin/anonymous : 2020-12-29 20:04 ID:wWO4hEDv

For me it's doing necromancy on 14 year olds

42 Name: #!/usr/bin/anonymous : 2020-12-31 02:54 ID:tUBQzr8y

🧟‍♀️

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

Mobile Advertising Company Hacked. All Code and Data Leak. (5)

2 Name: #!/usr/bin/anonymous : 2018-10-14 01:23 ID:RGS+SjgA

{
@prefix dbr: <http://dbpedia.org/resource/> .
#op a dbr:Faggot_(slang) .
}

3 Name: #!/usr/bin/anonymous : 2018-10-14 01:25 ID:RGS+SjgA

{
@prefix dbr: <http://dbpedia.org/resource/> .
<#op> a dbr:Faggot_(slang) .
}

4 Name: #!/usr/bin/anonymous : 2018-11-17 21:59 ID:VdnZZXCH

5 Name: #!/usr/bin/anonymous : 2020-12-30 08:02 ID:xMVU1OEC

advertising is heinously anus

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

reCaptcha alternatives (6)

1 Name: #!/usr/bin/anonymous : 2019-11-29 12:51 ID:4W27XWZe

I was wondering if there were any alternatives to Captcha/reCaptcha, preferably ones that don't require user input.

2 Name: #!/usr/bin/anonymous : 2019-12-03 18:10 ID:ENx1WjM7

My own website is slated to use captchouli at some point in the future.
You can also use a hidden input field that a user would never interact with, but a bot would send an input to. Then you can safely block all requests made from that input field.
That's hardly foolproof, but the only reliable ways that I know of that do not require user input are JS-based and make determinations using analytics. So basically, what you're asking for is botnet.

3 Name: #!/usr/bin/anonymous : 2019-12-05 11:16 ID:j3ppFbie

I see

4 Name: #!/usr/bin/anonymous : 2020-07-25 22:51 ID:SnT6F2mR

captcha is heinously anus

5 Name: #!/usr/bin/anonymous : 2020-12-19 21:04 ID:Xg5IFpU2

> captchas that don't require user input

OP, what do you think a CAPTCHA is, just curious

6 Name: #!/usr/bin/anonymous : 2020-12-20 11:47 ID:urOFhg52

>>5
i think he means text input... not that multimedia captchas are any better. i would much rather have a lightweight textbox like on here than google's horrible mess

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

Fuck eregi() (2)

1 Name: #!/usr/bin/anonymous : 2020-12-17 17:54 ID:vXJLi2ZO

>Fatal error: Uncaught Error: Call to undefined function eregi()
>Looking through code to see wtf is the problem
>Finally give up and google it
>eregi() was removed from php 7.0

  ∧_∧
  (  。_。) ・・・・・
_(_つ / ̄ ̄/­_
  \/__/

2 Name: #!/usr/bin/anonymous : 2021-01-07 20:20 ID:Heaven

I hate php 7.0 and I refuse to upgrade to 8.0

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

Programming is for fags (4)

1 Name: #!/usr/bin/anonymous : 2020-10-04 19:58 ID:UhljbjBK

Look deep within yourself, you know it to be true.

2 Name: Dogshit : 2020-10-15 22:41 ID:sz9RsT2T

I hate programming too

3 Name: #!/usr/bin/anonymous : 2020-11-29 05:03 ID:mSWnjhAt

>>2
Could you explain?

4 Name: #!/usr/bin/anonymous : 2020-11-29 23:59 ID:BGkrRXQ4

I'm pretty gay, but I'm not really a programmer.
It's more of a brainlet codemonkey thing imo.

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

Reasons why Python 3 (and 2) is shit (25)

1 Name: #!/usr/bin/anonymous : 2017-06-16 00:22 ID:jv9oB1f2

  • FOIC
  • reduce is not built-in
  • no do-while statement
  • singled expression lambdas
  • no index lists
  • no frozenset literals
  • awfully bad scope rules
  • terrible OOP design
  • no pattern matching nor switch-case statements/expressions

16 Name: #!/usr/bin/anonymous : 2018-07-25 06:00 ID:Heaven

>>15

> it's possible to create everything with this powerful language!

ok, how do i create a multithreaded program using a runtime with no global interpreter lock?

it would be nice if the variables used had enforced static typing too

17 Name: #!/usr/bin/anonymous : 2018-07-31 19:41 ID:5o4nANVW

>>15
There are a damn lot of languages, so "better than some other languages" is a little faint praise.

>>16
A bit of a cheap shot, don't you think? How about "how do I introduce a new operator without the inventor of the language quitting"

18 Name: #!/usr/bin/anonymous : 2018-10-02 02:33 ID:Heaven

>>14
It's really annoying when I have to change scope and need to manually delete X spaces from each line for a specific block, if I had braces I could just add or remove them.

19 Name: #!/usr/bin/anonymous : 2018-10-14 01:29 ID:j50HCb9X

{
@prefix dbr: <http://dbpedia.org/resource/>.
<#op> a dbr:Faggot_%28slang%29 .
}

20 Name: #!/usr/bin/anonymous : 2018-10-14 14:23 ID:5o4nANVW

>>18
Use a better text editor than notepad. Seriously.
Select line range and tab or shift-tab to change indentation in notepad++, visual studio, vscode, probably most other windows software. << and >> in vim.

21 Name: #!/usr/bin/anonymous : 2019-08-09 12:02 ID:G8sTA6MV

I wouldn't say Python is shit.

It's a Language that has it's Ups and Downs. The same applies to all Languages. No Language is perfect.

I myself hate Python due to it's Syntax, how it handles Whitespace and the fact that it's an over-rated Language.

22 Name: #!/usr/bin/anonymous : 2019-08-11 18:15 ID:RGyzdZ1B

it's a programmign language. It's quite trash but there are worse. it works fine if you want to do something quickly, and has a great net scraping library.

much better for taping things together than php

23 Name: #!/usr/bin/anonymous : 2019-11-18 20:16 ID:SKj3RXIt

it breaks everything whenever you actually have to do something important on a non-debian based distro

24 Name: #!/usr/bin/anonymous : 2020-04-09 23:19 ID:574Yv04T

Python is a great scripting language, you don't need everything to have fun.

I can write a simple script with command-line arguments to read an Excel file, dump JSON, parse everything, talk to a database, in a few lines of code.

Add PIP and venv, and you have a brain orgasm for your daily tasks. No language is perfect.

25 Name: #!/usr/bin/anonymous : 2020-09-09 01:55 ID:gtsRtqWp

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

RIP /prog/rider (51)

1 Name: #!/usr/bin/anonymous : 2017-03-04 20:05 ID:QUE518++

progrider finally kicked the bucket.. shame. there's news about a new one at goatfinger.ga

42 Name: #!/usr/bin/anonymous : 2017-10-11 21:51 ID:DdkJdGdT

goatfinfer - incredibly shit

43 Name: #!/usr/bin/anonymous : 2017-10-12 23:18 ID:UBjv7BE9

What's "goatfinfer"?

44 Name: #!/usr/bin/anonymous : 2017-10-14 16:02 ID:r4BhLdWB

>>43
incredibly shit

45 Name: #!/usr/bin/anonymous : 2018-03-06 20:28 ID:5paw317M

goatfinger has moved to goatfinfer.ga

thank you myfreenom for the amazing support and service.

46 Name: #!/usr/bin/anonymous : 2019-03-26 21:46 ID:Fw4Q6YTW

goatfinger.cf now, thank you again myfreenom for the amazing support and service.

47 Name: #!/usr/bin/anonymous : 2019-06-13 02:42 ID:YnJFXBDz

goatfinger.cf is dead

48 Name: #!/usr/bin/anonymous : 2019-08-19 08:00 ID:1omhj1jH

>>47
good

49 Name: #!/usr/bin/anonymous : 2020-07-16 09:43 ID:OHvZd87F

goatfinger was heinously anus

50 Name: #!/usr/bin/anonymous : 2020-08-28 22:00 ID:Heaven

Did anyone archive it at least? Anyone?

51 Name: #!/usr/bin/anonymous : 2020-12-11 04:55 ID:Heaven

goatfinger? I don't think anyone actually cared enough about it to bother archiving. It's hard to get that archival passion going for sites that shitty in this twilight of the textboards.

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

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

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

100 Name: Staycey : 2018-08-07 13:59 ID:nbjNbUT8

I think that you would better contact some real company (like woxapp.com) and discuss with them what is really important and popular at the market now. Otherwise, you can learn something and then never use it... so it will be just a waste of your time.

101 Name: #!/usr/bin/anonymous : 2018-08-25 12:20 ID:rGIviNz8

>>94
Still going. Currently aiming to write a Lua REPL in it. You write code in this language in the REPL, and whenever you evaluate something, it compiles everything it needs to Lua, writes it out to a temp file, and runs it in lua or luajit or something. That's the plan, anyway.

102 Name: #!/usr/bin/anonymous : 2018-10-24 09:56 ID:ql1KSoAi

Trying to write a gopher browser with ncurses and shit

103 Name: #!/usr/bin/anonymous : 2018-10-27 08:18 ID:Heaven

>>102
let me guess, in go?

104 Name: #!/usr/bin/anonymous : 2019-03-09 22:21 ID:pLeq12Qx

>>101
Update: it's going well
It's a pretty fully-functional language at this point; by default it is interpreted but you give a command-line flag to the interpreter and it outputs the Lua equivalent instead.
So far I've got if and while compiling and I'm halfway through define.
New current short-ish-term goal is to write a pico-8 library so you can make games in it.
I'm going to release version 0.0 soon

105 Name: #!/usr/bin/anonymous : 2019-04-03 20:25 ID:A428x2sH

>>104 oh yeah I released this on Monday
https://gitlab.com/worst-lang/worst

106 Name: num : 2019-10-27 13:46 ID:8aR9YFvv

This is my personal project with a few other guys. We browse the chans of the web and this one is pretty interesting. :^) enjoy! https://soda.privatevoid.net/

107 Name: #!/usr/bin/anonymous : 2019-11-22 01:51 ID:CI2ZPqVa

I'm working on upgrading tanami.org/overscript/ with a modern interface, it's going to be moved to overscript.net

108 Name: #!/usr/bin/anonymous : 2020-03-05 10:12 ID:cIyEW+iy

>>107
I saw it. It's very nice!

109 Post deleted.

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

I met Stallman on my vacation in Los Angeles (5)

1 Name: #!/usr/bin/anonymous : 2020-01-25 04:01 ID:RI5se2tf

>I saw RMS in a store in Los Angeles during my vacation

>I told him how great it was to meet him in person
>but I didn't want to bother him and ask him for a picture
>"I'd just like to interject for a moment"
>that took me by surprise and I could only say "huh?"
>that's when I realized he wasn't buying
>he was camping and had his sleeping bag in a corner
>"I'd just like to interject for a moment"
>he had recently woken up and was looking for water to wash his beard with
>"I'd just like to interject for a moment"
>followed him to his sleeping bag where he pulled a needle from his hobo bag
>"I'd just like to interject for a moment"
>I asked him if it's true that he's a pedophile and that Epstein financed him
>"I'd just like to interject for a moment"
Post too long. Click to view the whole post or the thread page.

2 Name: #!/usr/bin/anonymous : 2020-01-31 05:57 ID:Heaven

>his stomach explodes because too much semen
>the room is filled with pink liquid: his guts (red) mixed with semen (white)

why did RMS's stomach exploding from his own semen when he orgasmed (interesting medical condition, that) kill your daughter? and how did he survive?

or did your daughter switch to he/him pronouns moments before his death?

3 Name: #!/usr/bin/anonymous : 2020-05-02 03:22 ID:s1EGrfKj

what the actual fuck

4 Name: #!/usr/bin/anonymous : 2020-06-25 07:06 ID:fVSKLZW8

what the imaginary fuck

5 Name: #!/usr/bin/anonymous : 2020-07-26 12:42 ID:Heaven

proprietary software is heinously anus

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: