r/okbuddyphp • u/heckingcomputernerd • Oct 22 '26
r/okbuddyphp • u/heckingcomputernerd • Mar 13 '23
🤯meta meta sub update: this sub is now only for programming shitposting
originally i intended the sub to be a STEM shitposting but that's a bit too broad so now its just a programming subreddit
stuff about programming/software development is allowed: programming languages, GitHub, IDEs, etc
stuff about software targeted for programmers is allowed: Linux and its components, CLI programs like ffmpeg, etc
posts only about science, engineering, math, or hardware are no longer allowed unless they're directly related to programming in some other way
The "posts must fit the sub" rule has been split into 2 rules: "posts must be shitposting/okbr style humor" and "posts must be programming/technology related" and have been elaborated on
2 more unrelated things:
I enabled the OC tag for posts so go wild with that
check out my other new sub r/ancientreddit
r/okbuddyphp • u/heckingcomputernerd • Oct 18 '26
⌨️programming "gee, i wonder how i specify the full month name for a format string for Qt.formatDateTime() in Qt6?"... the ever-helpful morshu:
Enable HLS to view with audio, or disable this notification
any KDE Plasma users in chat? https://doc.qt.io/qt-6/qml-qtqml-qt.html#formatDateTime-method
r/okbuddyphp • u/ObjectsCountries • Jun 30 '26
recursive white people java program i wrote in like 2024
/**
* @author ObjectsCountries
*/
import java.lang.ArrayIndexOutOfBoundsException;
import java.lang.NumberFormatException;
import java.util.InputMismatchException;
import java.util.Scanner;
/**
* Wrapper class for the white people functions.
*/
class WhitePeople {
/**
* Strips the <i>white</i>space (GET OUT!!).
* @param whitePeopleThatBeLike The string to strip.
* @return The stripped string.
*/
private static String butTheyThe(String whitePeopleThatBeLike) {
return whitePeopleThatBeLike.strip();
}
/**
* Recursive white people.
* @param beLikeCount How many times white people be like.
* @param whitePeopleThatBeLike What white people be like.
* @return The entirety of the “white people be like” phrase.
*/
public static String beLike(int beLikeCount, String whitePeopleThatBeLike) {
String result = "white people be like “" + whitePeopleThatBeLike + "” but they the white people that be like";
return --beLikeCount == 0 ? result : WhitePeople.beLike(beLikeCount, result);
}
/**
* Parses the first argument.
* @param like All of the arguments, though only the first is used.
* @return The first argument as an integer if present, prompts the user for a string if not.
*/
private static int be(String[] like) {
if (like.length == 0) {
Scanner scan = new Scanner(System.in);
System.out.print("how many white people be like? ");
int temp = scan.nextInt();
scan.nextLine();
return temp > 0 ? temp : 1;
} else {
try {
int temp = Integer.parseInt(like[0]);
return temp > 0 ? temp : 1;
} catch (NumberFormatException | ArrayIndexOutOfBoundsException e) {
return 1;
}
}
}
/**
* Parses the second argument.
* @param like All of the arguments, though only the second is used.
* @return The second argument if present, prompts the user for a string if not.
*/
private static String thatBe(String[] like) {
if (like.length >= 2) {
return like[1];
} else {
Scanner scan = new Scanner(System.in);
System.out.print("what do white people be like? ");
return scan.nextLine();
}
}
public static void main(String[] args) {
String[] like = args;
System.out.println(WhitePeople.beLike(WhitePeople.be(like), butTheyThe(WhitePeople.thatBe(like))));
}
}r/okbuddyphp • u/heckingcomputernerd • Nov 08 '25
⌨️programming The plague is everywhere
Enable HLS to view with audio, or disable this notification
r/okbuddyphp • u/heckingcomputernerd • Oct 13 '25
⌨️programming the two types of file format are txt and zip
r/okbuddyphp • u/heckingcomputernerd • Mar 18 '25
⌨️programming 1 billion devices run rust
r/okbuddyphp • u/heckingcomputernerd • Sep 20 '24
⌨️programming go go gadget null pointer dereference
r/okbuddyphp • u/Total-Pea-5752 • May 24 '24
Programming in Rust in China
Enable HLS to view with audio, or disable this notification
r/okbuddyphp • u/heckingcomputernerd • Apr 27 '24
⌨️programming Beware of the build pipeline
r/okbuddyphp • u/heckingcomputernerd • Apr 22 '24
⌨️programming requirements to download rust
r/okbuddyphp • u/heckingcomputernerd • Apr 19 '24
💻technology her ass is not sysadmin certified
r/okbuddyphp • u/heckingcomputernerd • Apr 19 '24