Return Last 50 posts
Pages: 1-100 101-

programming thread

1 Name: VIPPER 2021-02-08 00:58
uh uh uh... "stack"
fucking uh, "variables" in an "array" or some shit
I DON'T KNOW????
2 Name: VIPPER 2021-02-08 07:02
3 Name: VIPPER 2021-02-14 16:41
I'm programming a game in Lisp, how can I get some authentic rodent agony sound effects?
4 Name: VIPPER 2021-02-14 17:39
nobody fucking tell him
5 Name: VIPPER 2021-02-14 19:21
I am too retarded for programming.
6 Name: VIPPER 2021-02-15 14:01
>>5
Same
7 Name: VIPPER 2021-03-02 19:21
i get programmed all the time... BY THE CORPORATE MEDIA!! /vent
8 Name: VIPPER 2021-03-04 08:47
>>5
me three
9 Name: VIPPER 2021-08-18 10:18
fortranny
10 Name: VIPPER 2021-09-12 20:14
A stack is a data structure where all the data is stored in order. You can only do things from the top of the stack; all data needs to be put in at the top, and you can only access the last thing you put in. Stacks were very common back in the 70s, to the point where there were entire stack based languages like COBOL. They've gradually fallen out of use as more efficient data structures were invented, and nowadays you shouldn't use them unless you absolutely have to.

A variable is like a symbol for a value. For instance, in the program

x = 1
x + x * 2 + 3

All instances of x will be replaced with 1. x + x * 2 + 3 becomes 1 + 1 * 2 + 3, which obviously evaluates to 7.

There's three types of variables. Static variables, which can only be assigned once and can only take on a single value, dynamic variables, which are the opposite of static variables and can be changed multiple times, and local variables, which are kind of like a mix of the two: they cannot be changed by the programmer, but their behavior varies depending on where you are in the program.

An array is basically a stack but better. You can access any data from anywhere in them, making them vastly more efficient. They're also what's know as an immutable data structure, which means they have no set limit on their size. You can place as many things as you want into an array and never have any issues.

Hope this was helpful!
11 Name: VIPPER 2021-09-13 01:25
stack my anus
12 Name: VIPPER 2021-09-13 03:34
intersperse ' ' $ map toUpper "thicc"
13 Name: VIPPER 2021-09-13 20:06
needs more Nash Gold (or whatever he calls himself these days)
14 Name: VIPPER 2021-09-14 04:20
dup my anus
then 2hax it
15 Name: VIPPER 2021-09-14 12:04
(((L I S P )( L I S P ) ( L I S P ) ( L I S P )))
* ( \ \ ) \ *
B( ) \ ) ) B
e( `. ) ) : e
a` ) ) \) ) a
t \ ) ) ) \\\ --__ \\ : t
i \ \) _--~~ ~--__) \ ) i
n \ \_-~ ~-_\ ) n
g \_ \ _.--------.______\) ) g
\ \______(( _ ___ _ (_(__H \ )
t \ . S ___) ______ (_(____t ) ) t
h (\ ) I ____)) APPLY\ (_____D )_) h
e ( (\) C_____) EVAL ) (___P ) \ e
( ( _P_____)\______) )) _) ) \
a ( \ )__ \\_________)) (__) ) a
v ( \ \____) `---- --' ) v
e ( \_ ___\ )_ _) ) e
r ( ) ( ) \ ) r
a ( ) ( λ ) \ ) a
g ( ) ) ( ) \ )g
e ( ) ) (__)(___) ) )e
s ( ) ( ) ) )s
* ( ) ( ) ) )*
(((L I S P )( L I S P ) ( L I S P ) ( L I S P )))
16 Name: VIPPER 2021-09-29 10:04
Programming is wild.
17 Name: VIPPER 2022-09-28 03:23
My favorite programming paradigm is "dysfunctional programming".
18 Name: VIPPER 2022-09-28 09:39
im moar of a linux based haskeller myself
19 Name: VIPPER 2022-09-28 18:40
>>13
"she" is a transsexual now, haven't you heard?
20 Name: VIPPER 2022-09-28 20:06
'she' goes by the alias "nasty ghoul" nao
21 Name: VIPPER 2022-09-29 08:08
My favorite programming paradigm is "illiterate programming".
22 Name: VIPPER 2022-09-29 16:16
eval('uate');
23 Name: VIPPER 2022-09-29 17:08
My favourite programming paradigm is "object-disoriented programming".
24 Name: VIPPER 2022-09-29 22:30
My favourite programming paradigm is "code-free programming".
25 Name: VIPPER 2022-09-29 23:44
My favourite programming paradigm is "malformation by means of multidimensional category programming".
26 Name: VIPPER 2022-10-01 00:56
ejac('ulate');
27 Name: VIPPER 2022-10-01 03:06
My favourite programming paradigm is always referring to a count in plural instead of writing a function that removes the S for just one of something
28 Name: VIPPER 2022-10-01 14:57
10 PRINT "YOU ARE A FAG"
20 GOTO 10
29 Name: VIPPER 2022-10-01 20:38
suckless fucking SUCKS they are TERRIBLE at coding they can SUCK this COCK of mine
30 Name: VIPPER 2022-10-08 00:45
(define (f x y) (f y x))
31 Name: VIPPER 2022-10-08 05:17
duhh it equals pie
32 Name: VIPPER 2022-10-08 09:01
The amount of math I am doing is tensening.
33 Name: VIPPER 2022-10-08 16:54
when you give your teacher homework to do
34 Name: VIPPER 2022-10-10 17:33
int imate = (int)eger + (int)eresting;
35 Name: VIPPER 2022-10-10 19:02
int ense = (int)ellectual + (int)ercourse
36 Name: VIPPER 2022-10-11 04:43
int elligible = (unsigned int)ermarriage + (int)erbreeding
37 Name: VIPPER 2022-10-11 17:32
int riguing = (int)erpol + (int)ernet;
38 Name: VIPPER 2022-10-12 21:10
m(int) = (int)entional + l(int)
39 Name: VIPPER 2022-11-10 00:35
>>10
1 + 1 * 2 + 3 = 6
BODMAS?
40 Name: VIPPER 2022-11-10 22:29
PINGAS
lolololololol xD
41 Name: VIPPER 2022-11-11 00:16
ooooooh
Parentheses
Integers
Negatives
Geometry
Addition
Subtraction
42 Name: Dr. Robotnik 2022-11-11 03:58
I HATE THAT HEDGEHOG
43 Name: VIPPER 2022-12-02 11:00
i'm pro grammar
44 Name: VIPPER 2022-12-02 11:52
PRECIPITATION
45 Name: VIPPER 2022-12-02 17:46
yal busters needa get ejumacated fr. its programmer
46 Name: VIPPER 2022-12-03 18:04
Fug I wish I was SMORT
47 Name: VIPPER 2022-12-03 19:42
its "smart" youll dumb buster yall'da shoulda graduamated school youll'd've woulda knowed that. foo
48 Name: VIPPER 2022-12-20 05:36
;; cocks - displays ``cocks''
;; This is an example of the sort of computer programs you can write
;; after learning Scheme.
;;
;; Copyright (c) 2008 Christopher
;;
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including without limitation the rights
;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
;; copies of the Software, and to permit persons to whom the Software is
;; furnished to do so, subject to the following conditions:
;;
;; The above copyright notice and this permission notice shall be included in
;; all copies or substantial portions of the Software.
;;
;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
;; THE SOFTWARE.
(write "cocks")
49 Name: VIPPER 2022-12-20 17:28
recommend VIP quality programs
50 Name: VIPPER 2022-12-20 19:02
51 Name: VIPPER 2022-12-21 11:21
very important programmer
52 Name: VIPPER 2022-12-21 18:30
vaginal intercourse partner
53 Name: VIPPER 2022-12-23 19:58
i may not be a programmer but i am a progamer
54 Name: VIPPER 2022-12-24 07:13
"i may not be a programmer but i am a progamer"
literally the #1 greatest most inspirational and ethically high valued moral quote of all time
55 Name: VIPPER 2022-12-24 13:24
this 55GET is literally the #1 greatest most inspirational and ethically high valued moral GET of all time
56 Name: VIPPER 2022-12-24 16:47
i want that quote on my tombstone
57 Name: VIPPER 2023-01-27 12:39
go shave that yak, then come back
58 Name: VIPPER 2023-01-27 20:10
go back to plebbit, then come back
59 Name: VIPPER 2023-01-28 18:38
iterators be iterating
60 Name: VIPPER 2023-01-28 19:11
impliers be imp lying
61 Name: VIPPER 2023-02-03 10:07
imps do be lyin like dat doe
62 Name: VIPPER 2023-02-06 04:58
give an imp a chance
63 Name: VIPPER 2023-02-06 11:18
imp lying = new imp(lying: true);
64 Name: VIPPER 2023-02-06 18:28
never give a (g)imp a chance
65 Name: VIPPER 2023-02-09 12:01
Frontend
Backend
Fullstack
Shortstack
66 Name: VIPPER 2023-02-14 23:05
ChatGPT for tyat spicy pajeet touch
67 Name: VIPPER 2023-02-15 04:29
This is Sanjuprikash Pandiwala from asia world telecommunications, do not utilize chutiyaGPT it is a C: drive wipe wirus also please call 1(800) 362-1700 for futher asistance.
68 Name: VIPPER 2023-02-15 17:50
Kerala calling.
We want our jugaad back.
69 Name: VIPPER 2023-02-16 02:08
all yoar base belong 2 us nao
70 Name: VIPPER 2023-02-18 02:30
What I'm saying is, go light on your meta for a while, choom
71 Name: VIPPER 2023-02-18 13:20
double TeamRocket(double trouble)
{
return trouble * 2.0;
}
72 Name: VIPPER 2023-02-20 00:37
how to summon s u c c ubus
73 Name: VIPPER 2023-03-02 23:59
Oh, you don't know? They didn't teach you in school? Brown eggs are made from chocolate chicken. The end.
74 Name: VIPPER 2023-03-04 15:15
Implicit cast.
75 Name: VIPPER 2023-03-04 22:18
imps do be lyin like dat doe
76 Name: VIPPER 2023-03-04 22:20
OP when he's staxxing his arraynus.
77 Name: VIPPER 2023-03-12 20:18
Anal Touring
78 Name: VIPPER 2023-04-23 06:18
What kind of programming language is this?
79 Name: VIPPER 2023-04-23 06:53
Haxkell
80 Name: VIPPER 2023-04-25 00:20
U MENA PrOLOdGE?
81 Name: VIPPER 2023-05-11 22:46
red is the standard redditor
82 Name: VIPPER 2023-05-15 08:59
Snaking in the grass.
83 Name: VIPPER 2023-05-15 10:22
Enterprise SNUSP
84 Name: VIPPER 2023-05-15 22:29
Enterprise PENUS
85 Name: VIPPER 2023-05-15 22:51
Enterprise QUATS
86 Name: VIPPER 2023-05-16 08:39
Enterpise TWATS
87 Name: VIPPER 2023-05-27 04:16
Enterprise KUMQUATS
88 Name: VIPPER 2023-06-17 15:04
Point-free programming, pointless programming, whatever
89 Name: VIPPER 2023-06-17 18:47
>>88 thats called esolangs also known as VIP QUALITY FUNGE
90 Name: VIPPER 2023-06-18 15:10
someone who is good at computer programming please help me optimize this

function isSorted(arr) {
for (var i = 0; i < arr.length - 1; i++) {
if (arr[i] > arr[i + 1]) return false;
}
return true;
}

function swap(arr, idx1, idx2) {
var tmp = arr[idx1];
arr[idx1] = arr[idx2];
arr[idx2] = tmp;
}

function randSwap(arr) {
var randIdx1 = Math.floor(Math.random() * arr.length);
var randIdx2 = Math.floor(Math.random() * arr.length);
swap(arr, randIdx1, randIdx2);
}

function sort(arr) {
while (!isSorted(arr)) randSwap(arr);
return arr;
}
91 Name: VIPPER 2023-06-18 16:50
Sexp? T!
92 Name: VIPPER 2023-06-18 17:48
>>90 well i'd start by fixing your indentation. and dressing better, maybe getting a haircut, stop jerking off to anime, and would it kill you to call your mom on the phone once a week?
93 Name: VIPPER 2023-06-19 14:19
>>90
You need Quantum Bogosort or even MiracleSort. They are demonstratedly O(1).
94 Name: VIPPER 2023-06-19 15:08
https://web.archive.org/web/20120607054846/http://www.phppatterns.com/docs/design/hello_world_in_patterns

<?php
/********************************************************************
Model-View-Controller implementation according to POSA
(Pattern-Oriented Software Architecture
http://www.hillside.net/patterns/books/Siemens/book.html)
********************************************************************/

class HelloWorldController {
private $model;
function __construct($model) {
$this->model = $model;
}

function handleEvent($args) {
$this->model->setStrategy($args[2]);
$this->model->addText($args[1]);
}
}

class HelloWorldModel {
private $text;
private $observers = array();
private $strategy;

function attach($observer) {
$this->observers[] = $observer;
}

function getData() {
$facade = new HelloWorldFacade($this->strategy);
return $facade->getHelloWorld().$this->text."\n";
}

function addText($text='') {
$this->text = $text;
$this->notify();
}

function setStrategy($strategy) {
$this->strategy = $strategy;
}

function notify() {
foreach ($this->observers as $observer) {
$observer->update();
}
}
}

class HelloWorldView {
private $model;

function initialize($model) {
$this->model = $model;
$model->attach($this);
return $this->makeController();
}

function makeController() {
return new HelloWorldController($this->model);
}

function update() {
$this->display();
}

function display() {
echo $this->model->getData();
}
}

/*********************************************************************
"Business logic"
********************************************************************/

class HelloWorld {
function execute() {
return "Hello world";
}
}

class HelloWorldDecorator {
private $helloworld;
function __construct($helloworld) {
$this->helloworld = $helloworld;
}

function execute() {
return $this->helloworld->execute();
}
}

abstract class HelloWorldEmphasisStrategy {
abstract function emphasize($string);
}

class HelloWorldBangEmphasisStrategy extends HelloWorldEmphasisStrategy {
function emphasize($string) {
return $string."!";
}
}

class HelloWorldRepetitionEmphasisStrategy extends HelloWorldEmphasisStrategy {
function emphasize($string) {
return $string." and ".$string." again";
}
}

class HelloWorldEmphasizer extends HelloWorldDecorator {
private $strategy;
function HelloWorldEmphasizer($helloworld,$strategy) {
$this->strategy = $strategy;
parent::__construct($helloworld);
}

function execute() {
$string = parent::execute();
return $this->strategy->emphasize($string);
}
}

class HelloWorldStrategyFactory {
static function make($type) {
if ($type == 'repetition') return self::makeRepetitionStrategy();
return self::makeBangStrategy();
}

static function makeBangStrategy() {
return new HelloWorldBangEmphasisStrategy;
}
static function makeRepetitionStrategy() {
return new HelloWorldRepetitionEmphasisStrategy;
}
}

class HelloWorldFormatter extends HelloWorldDecorator {
function execute() {
$string = parent::execute();
return $string."\n";
}
}

class HelloWorldFacade {
private $strategy;
function __construct($strategyType) {
$this->strategy = HelloWorldStrategyFactory::make($strategyType);
}

function getHelloWorld() {
$formatter = new HelloWorldFormatter(
new HelloWorldEmphasizer(
new HelloWorld,$this->strategy));
return $formatter->execute();
}
}

$model = new HelloWorldModel;
$view = new HelloWorldView;
$controller = $view->initialize($model);
$controller->handleEvent($_SERVER['argv']);

?>
95 Name: VIPPER 2023-06-26 18:35
C Shart
96 Name: VIPPER 2023-07-23 15:08
long long penis;
97 Name: VIPPER 2023-07-23 15:45
HIV: Positive;
98 Name: VIPPER 2023-08-05 08:26
var iable;
99 Name: VIPPER 2023-08-06 11:50
(sea man)
100 Name: VIPPER 2023-08-06 13:44
I am the CTO
101 Name: VIPPER 2023-08-07 19:20
My new indentation style is fucking illegible!
102 Name: VIPPER 2023-08-07 20:50
>>101
Time to join the obfuscated code competitions?
103 Name: VIPPER 2023-08-10 23:16
>>101
Same! Wanna trade?
104 Name: VIPPER 2023-09-03 18:48
Befunge:
55+"N/Y ?tnemyap mrifnoC">:#,_ v
_v#-"N"_v#-"n":_v#-"Y":_v#-"y":~<
v $< > >$55+ v
>55+"...nahc4" v"SAOVQ..."<
"Redirecting you to "< >:#,_@#:
105 Name: VIPPER 2023-10-04 14:09
don't you think it's silly how computers were made for doing numbers and yet they suck at it. what the fuck is an "integer overflow"? what the fuck is a "floating point"?
106 Name: VIPPER 2023-10-13 16:59
Computers are racist because "integer overflow" is clearly just white supremacist dog whistle nerdspeak for "too many niggers".
107 Name: VIPPER 2023-10-14 08:33
integer overflow in your mom
108 Name: VIPPER 2023-10-14 21:39
i got mah niggers in uranus, and they goin gorillas!
109 Name: VIPPER 2023-10-17 06:46
Cycle the CPUs
110 Name: VIPPER 2023-10-21 00:05
bitshift my registers
111 Name: VIPPER 2023-10-23 00:47
Critical error: misconfigured anus
112 Name: VIPPER 2023-11-16 14:32
how come it's easier to parse webshit with Python's BeautifulSoup than with JavaScript?
113 Name: VIPPER 2023-11-16 14:56
>>112
because JavaShit is an abomination that should have been killed at birth, not accepted into everything web-related.
114 Name: VIPPER 2023-11-16 19:48
your a script kiddy. in a c++ woooorld
115 Name: VIPPER 2023-11-17 20:19
life in linux, it aint windooows
116 Name: VIPPER 2023-12-08 01:20
while(thread->on_front_page == FALSE)
{
bump(thread);
}
117 Name: VIPPER 2023-12-08 02:16
while(thread->on_front_page == FALSE)
{
alt f4(website);
}
118 Name: VIPPER 2024-01-05 21:39
rm -rf /
119 Name: VIPPER 2024-01-06 14:00
rm: it is dangerous to operate recursively on '/'
120 Name: VIPPER 2024-01-24 01:33
foo bar baz lambda pi i++
121 Name: VIPPER 2024-01-24 08:25
Integer accumulation station.
Float acumen.
122 Name: VIPPER 2024-01-24 23:35
123 Name: VIPPER 2024-02-01 01:52
hire him right now mr saovq
124 Name: VIPPER 2024-02-01 12:03
BUSACK my bo'zack
125 Name: VIPPER 2024-02-04 20:25
var iation;
var iety;
var iable;
var gvikernes;
126 Name: VIPPER 2024-02-04 22:06
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
127 Name: VIPPER 2024-02-05 14:29
something something signed 8-bit integer
128 Name: VIPPER 2024-02-05 17:28
Immah unsign that int.
129 Name: VIPPER 2024-02-07 14:48
A monad is simply a monoid in the category of endofunctors.
130 Name: VIPPER 2024-02-07 15:56
dockubereactnosqloudflarustypescriptgolamazonwebassemblectronodejs
131 Name: VIPPER 2024-02-08 23:02
Destroy(world.jewry);
132 Name: VIPPER 2024-02-09 02:35
You don't need fixnums that are smaller than the max word length. They don't need to be unsigned, either. Prove me wrong.
133 Name: VIPPER 2024-02-09 22:11
Enjoy your wraparound surprise
134 Name: VIPPER 2024-02-10 03:40
n-nani?!
135 Name: VIPPER 2024-02-10 05:56
>>133
That's why we have bignums, doofus.
136 Name: VIPPER 2024-02-10 11:31
Interops, innuhrops.
137 Name: VIPPER 2024-02-16 02:53
Memoir menagemente
138 Name: VIPPER 2024-02-16 21:12
moshi moshi desu
139 Name: VIPPER 2024-03-15 13:40
void (* signal(int __sig, void (* __func)(int))) (int)
140 Name: VIPPER 2024-03-16 15:36
Cache, buffers, cache and buffers, cache cache buffers buffers cache and buffers.

Return Last 50 posts 1-100
Name:
Leave this field blank: