Update 2024-03-27: Greatly expanded the "Samples" page and renamed it to "Glossary".
Update 2024-04-04: Added 5 million mid-2011 posts from the k47 post dump. Browse (mostly) them here.
Update 2024-04-07: Added ~400 October 2003 posts from 4chan.net. Browse them here.

Welcome to Oldfriend Archive, the official 4chan archive of the NSA. Hosting ~170M text-only 2003-2014 4chan posts (mostly 2006-2008).

Threads by latest replies - Page 8

[1396206195] homestuck

No.958700 View ViewReplyOriginalReport
homestuck

[1396046006] FRC Labview gyro

No.958584 View ViewReplyOriginalReport
Can somebody please show me an example of how to use a gyro to get a robot driving straight for a defined encoder distance during the autonomous mode of an FRC event in Labview.

[1396151825] Why do programmers find threading so hard?

No.958658 View ViewReplyOriginalReport
It's not really that hard.
6 posts omitted

[1396045546] Degeneracy on world4ch

No.958583 View ViewReplyOriginalReport
This is a programming board, not a degeneracy board. Post in a manner which reflects this.
14 posts omitted

[1395962923] The Ten Commandments

No.958528 View ViewReplyOriginalReport
The First Commandment
When recurring on a list of atoms, lat, ask two questions about it: (null? lat) and else.
When recurring on a number, n, ask two questions about it: (zero? n) and else.
When recurring on a list of S-expressions, I, ask three question about it: (null? I), (atom? (car I)), and else.

The Second Commandment
Use cons to build lists.

The Third Commandment
When building a list, describe the first typical element, and then cons it onto the natural recursion.

The Fourth Commandment
Always change at least one argument while recurring. When recurring on a list of atoms, lat, use (cdr lat). When recurring on a number, n, use (sub1 n). And when recurring on a list of S-expressions, I, use (car I) and (cdr I) if neither (null? I) nor (atom? (car I)) are true.
It must be changed to be closer to termination. The changing argument must be tested in the termination condition: when using cdr, test termination with null? and when using sub1, test termination with zero?.

The Fifth Commandment
When building a value with + ,always use 0 for the value of the terminating line, for adding 0 does not change the value of an addition.
When building a value with *, always use 1 for the value of the terminating line, for multiplying by 1 does not change the value of a multiplication.
When building a value with cons, always consider () for the value of the terminating line.

The Sixth Commandment
Simplify only after the function is correct.

The Seventh Commandment
Recur on the subparts that are of the same nature:
• On the sublists of a list.
• On the subexpressions of an arithmetic expression.

The Eighth Commandment
Use help functions to abstract from representations.

The Ninth Commandment
Abstract common patterns with a new function.

The Tenth Commandment
Build functions to collect more than one value at a time.
11 posts omitted

[1396027019] Java Conditional Compilation

No.958560 View ViewReplyOriginalReport
How does one make his Java source code work/compile across several versions of API?

Let's imagine that I want to import and use something from java.util.Objects (> 1.7), or do it with my implementation if not available.

Thanks!
20 posts omitted

[1396048306] Bitcoin crash

No.958588 View ViewReplyOriginalReport
Guys, help me. I'm losing shitloads of money right now. BTC is crashing hard. How do I sell at the price it was a few hours ago?

Please, I spent a few thousand on these things and it's all I have left.

This is a very hard situation for me. Please help, I'm freaking out, I don't know what to do.
1 post omitted

[1208906357] STOP WITH THE HALF ASS MEMES

No.117130 View ViewReplyOriginalReport
You trolls need to stop with the shitty memes you're trying to pull.

1) gtfo.
2) hax my anus copy pasta
3) the abc programming language
4) Any other shit you're trying to pull.

/prog/ already has memes. We don't need more shitty ones.

In short,
GTFO MY GOD DAMN /prog/
34 posts omitted

[1395690671] Does The Display Server Matter?

No.958312 View ViewReplyOriginalReport
14 posts omitted
!!wKyoNUUHDOmjW7I

[1395013661] Dirty Old Joseph the Unix Hacker

!!wKyoNUUHDOmjW7I No.957866 View ViewReplyOriginalReport
DIS ONES FOR ALL DA RETOIDS IN ##c@irc.freenode.net AND ALL DA RETOIDS IN comp.lang.c.

Still using his mainframe, still hanging onto scraps.

Still reinventing libc for all of his apps.

The chortling, snorting, farting old coote

has been shitting on the Internet for longer than moot.
46 posts omitted