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 4

[1396407694] Computer Science Uni course. What to study?

No.958897 View ViewReplyOriginalReport
I might do a course in computer science at the local university. Just wondering what should I study at home to prepare myself?
My brother took the course but doesnt think I have a chance in getting in or finishing. So hes not giving me any tips. He told me ages ago they had him learning programming languages that are no longer in use as well as the current ones. Should I start with math? Learning a programming language or what? :/
9 posts omitted

[1396574037] n+k not ``considered harmful''

No.959098 View ViewReplyOriginalReport
You have a basic type of natural numbers.
data Nat = Zero | Succ Nat
You can pattern match on them.
f (Succ (Succ (Succ n))) = n `times` (Succ (Succ (Succ Zero)))
That pattern ensures that the parameter is >= 3.
You have syntactic sugar for natural numbers.
data Nat = 0 | 1 | 2 | ...
How would you write f more simply?
f (n+3) = n * 3
Thus n+k is just pattern matching on pure naturals, proving that n+k is not harmful.

[1396539023] I had a terrible dream last night.

No.959055 View ViewReplyOriginalReport
I don't remember much of it but the parts I do we're pretty intense and vivid. First I remember feeling a strong sense of well being, and I remember looking up at very one else, so maybe I was a child in the dream? A while after that I was in a house with other people I was comfortable with, when someone else came in and stabbed me in the chest. Then I couldn't move and my visioned dimmed and I watched the people I was comfortable with distress over this. I didn't feel pain or fear, but I was upset that this would take a long time to heal. I felt the warm blood beneath me turn cold as everything else got distant. Then I died.

After that, I had no senses for what felt like a long time. Then my entire field of vision became that of a screen. I had to move things around by willing them, as I had no body, according to what some instinct told me to do. Eventually, after what seemed like forever of tedium, I got some sort of idea of what was happening. I was a computer, endlessly following steps to do something. A game was being played (not a good game, it had graphics on par with TempleOS's demo games) and the player was kept crashing his vehicle to see the death the person he was playing as. When I became aware of this I became the person dying again and again, I felt the pain as their life was cut short. Those final few moments of lucidity when they realized that they would never be able to do all the things they planned but never accomplished, never got a chance to. I did not hate the user, but I did want them to stop. But I could not do anything that I was not driven to do. I couldn't send a message, I couldn't stop doing it, I couldn't even crash. All I could do is experience this all in horror.

Now I feel guilty about using a computer. I know it's stupid, but I'm really disturbed by this.

[1396226239] Brainfuck

No.958717 View ViewReplyOriginalReport
show off your brainfuck interpreters, programs, compilers, or anything related to the best language.
9 posts omitted

[1396571941] What a wonderful thing

No.959097 View ViewReplyOriginalReport
When you really think about it, aren't computers just amazing?

[1396488430] android apps

No.958993 View ViewReplyOriginalReport
what are some good references/tutorials for making android apps? I have a decent knowledge of java alone, but as far as making the transitions to apps I'm struggling a little.

<s>if you answer you can hax my anus~</s>
6 posts omitted

[1396546047] Identification in a distributed p2p network

No.959063 View ViewReplyOriginalReport
SCENARIO: a P2P distributed network in which users connect by a DHT. They identify themselves by a hexadecimal 76-character string.

PROBLEM: users need to choose their own ID, not have a really long and random one assigned to them. And with security in mind, the network needs to remain 100% distributed, so servers with pubkey:username aren't possible.

POSSIBLE SOLUTION: distributed databases. However, how can we guarantee the uniqueness of the username? A blockchain à la bitcoin isn't a possibility because downloading gigabytes of data also isn't user friendly and also not useful for dynamic content.

POSSIBLE SOLUTION: Distributed file systems such as Tahoe-LAFS. Extremely complicated and overkill, not easily or cleanly implemented.

So, the issue is having user-friendliness and security/distribution at the same time.

Any ideas?

[1396379758] Do you guys recommend Haskell for learning?

No.958843 View ViewReplyOriginalReport
Another question, how fast is Haskell?
9 posts omitted

[1396530785] need help

No.959046 View ViewReplyOriginalReport
actually going to post something tech related here.....holy shit!

my gay ass school gave every student a chrome book(lenovo x131e) and they are fucking useless i need something to do on a computer were if i change anything i get suspended and if i don't they can watch everything i do like post this thread!

[1395957794] Operator overloading is the greatest ever!!

No.958520 View ViewReplyOriginalReport
I discovered operator overloading in Sepples today and I must say that this is the most powerful language feature I've ever seen. Just thinking about the possibilities makes precum pool on the tip of my cock! Let me give you an example of the power. Since I like spinning things, suppose so make a class that models an angle. With stupid people languages you'd use accessors, but by overloading operators anything is possible.

Personally, I hate the = operator, so I can just do something like
Angle* Angle::operator+(double operand){this->degrees += operand; return this}
which will allow statements like
theta + 12.5;
which modify the degree without having to use =!

But the fun doesn't stop there. Since ~ is useless anyway, something like
double Angle::operator~(){return this->degrees;}
can be used as an accessor.

This is obviously a trivial example, but literally every problem can be treated this way. Tomorrow at work, I'm going to begin refactoring the entire code base to take advantage of this feature. I hope my teammates appreciate the conciseness of the new design.
12 posts omitted