-  [WT]  [PS]  [Home] [Manage]

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 354 unique user posts. View catalog

  • Blotter updated: 2011-01-12 Show/Hide Show All

File Structure_and_Interpretation_of_Computer_Programs.pdf - (2.21MB , Structure and Interpretation of Computer Programs.pdf )
6
Nattajerk 11/09/07(Wed)10:31 No. 6 Stickied [Reply] [Last 50 posts]

I heart /pr/

lets start with a book thread. I have some cached learning.

65 posts and 28 images omitted. Click Reply to view.
>>
Defenestr8r 12/01/28(Sat)15:46 No. 1811

These should pretty much cover everything. Read some reviews for which ones or in which order to go through them. Sorry about the source but it was too much to upload directly here.

ANSI Common Lisp - http://ifile.it/34j81k2
Basic Lisp Techniques - http://ifile.it/dh9gcvk
Common Lisp the Language, 2nd - http://ifile.it/9a4xj8b
Common Lisp, 2nd, Steele - http://ifile.it/qurpkwn
Common Lisp, Shapiro - http://ifile.it/b5xl6vm
Common Lisp, Touretzky - http://ifile.it/b9842v5
Interpreting Lisp - http://ifile.it/6wquxm9
Land of Lisp - http://ifile.it/lag1i5n
Loving Lisp - http://ifile.it/qr2ldoj
On Lisp - http://ifile.it/somn4e7
Paradigms of AI Programming - http://ifile.it/0qe3tc7
Practical Common Lisp - http://ifile.it/q2l4crs
Structure and Interpretation of Computer Programs, 2nd - http://ifile.it/16j0nho

Message too long. Click here to view the full text.



File 131536251240.png - (12.91KB , 435x511 , cccc[1].png )
1
Neckbearded Basement Dweller ## Admin ## 11/09/07(Wed)04:28 No. 1 Stickied [Reply]

This board is being added on a trial basis. If it falls below about 20 posts/day, it will be deleted again.

Everything related to programming goes here; let me know if you need a larger file size or more file types.

24 posts and 2 images omitted. Click Reply to view.
>>
Defenestr8r 12/01/20(Fri)18:20 No. 1752

>> 1653
Once you've learned a half a dozen related languages picking up a new one isn't very difficult at all.

Learning different paradigms or root families is more important than just cranking through one language after another.

With that in mind I'd recommend you learn Lisp then Erlang then Haskell. Then maybe learn assembler. Then get the book Seven Languages in Seven Weeks and learn all of them.



ud64 ud64 12/01/28(Sat)04:44 No. 1807 [Reply]

hello



File 132527137899.png - (892.59KB , 2000x2000 , HTMLCode_jpg.png )
1631
Neckbearded Basement Dweller 11/12/30(Fri)19:56 No. 1631 [Reply]

Sup /pr/

I'm making a website. Taking a break. Decided to come here and ask what you guys do.

>dur dur program shit
No shit. What is it that you guys program? Who is your employer? What languages do you use?

Just some questions.

Pic somewhat related. HTML. Not mine. Just a snip from my info folder.

27 posts and 7 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 12/01/27(Fri)20:50 No. 1804

CSS / HTML should fall into the markup language category rather than programming or scripting.
Mainly because they are used to provide a description of how smth will look.. not scripting / programming languages that define the path of execution and provide facilities for manipulation of data and so on.

>>
Neckbearded Basement Dweller 12/01/28(Sat)04:16 No. 1806

>>1793
You can parse English text too, is English a programming language?

>>1804
>HTML should fall into the markup language category
>HyperText Markup Language should fall into the markup language category
Well, duh.

>>
Neckbearded Basement Dweller 12/01/28(Sat)13:03 No. 1809

>>1793

> HTML has logical conditions which change the execution/flow of code- Hell it even has error handling.
No it doesn't.

> IT IS PARSED AND RUN by the web browser.
No it isn't.

> AND EXECUTES THIS 'SCRIPT' (by parsing it into COMMANDS- including arguments, data-types, etc. )
This does not apply to HTML, because it is not executed.

> Is its 'final form' (the bit that gets RUN) in ENGLISH (and not compiled to binaries?)
Does this exclude languages that are not in English?

Your arguments are too ridiculous. There's no way you're not a troll.

Message too long. Click here to view the full text.



File 132722910048.jpg - (9.17KB , 284x328 , beer__86636_zoom.jpg )
1765
Correct Mindset for programming Neckbearded Basement Dweller 12/01/22(Sun)11:45 No. 1765 [Reply]

Having grown up programming mainly in my room, or in a programmer's dungeon (a bit like the IT Crowd) I now find myself attempting to concentrate in more corporate surroundings. The distractions are driving me insane.

It is said that once a ninja programmer has kids and some real world problems to deal with, their ability to code up a storm goes out the window because their head is full of other crap. I never thought I'd have to deal with that but - here I am.

What do the gun programmers who have a lot of other shit to worry about do to keep their focus on the code ?

5 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 12/01/26(Thu)18:18 No. 1794

I use the music to meditate. I focus on flow of the music, where the sounds are going, while doing that I can program. A nice balance of all three, difficult for me to program if I don't have the first two going about simultaneously; way too easily distracted.

>>
Neckbearded Basement Dweller 12/01/27(Fri)20:07 No. 1801

I have Kung-Fu as a hobby. It teaches a bit consentration and is more fun than watching paint dry. Meditating helps your consentrationship.

>>
Neckbearded Basement Dweller 12/01/27(Fri)20:37 No. 1803

headphones & white noise :)



File 132764811421.png - (186.95KB , 833x1252 , Economics_for_dummies.png )
1796
idiot 12/01/27(Fri)08:08 No. 1796 [Reply]

Java:
I have a bunch of stuff drawn to the blank space of a JApplet app.

I need to add a JButton at a specific location.
I don't know how.

What's the easiest way to do this?

>>
Neckbearded Basement Dweller 12/01/27(Fri)08:26 No. 1797

Using NetBeans or other similar tool.

>>
idiot 12/01/27(Fri)08:36 No. 1798

>>1797
It has to actually be a JButton too.
The system just seems so retarded and rough around the edges, but to each his own.

>>
Neckbearded Basement Dweller 12/01/27(Fri)15:09 No. 1800

>>1798
1st: Dont do netbeans.

2nd: !-IMPORTANT-!Set the layout of your frame or panel as null !-IMPORTANT-! This will allow you to use absolute positioning. Those layout managers are a fucking pain. I just code my own panel proportion and location behavior and use scrolling panels where needed.

3rd: set the bounds of your jbutton as the specific location and size.

4th:???


5th: SWING!



File 13195014953.jpg - (170.58KB , 500x411 , 1318726428124.jpg )
845
The 11/10/25(Tue)02:11 No. 845 [Reply]

I want to make an AI. Something for my computer where I can talk to it, It talks back, it does my commands, and can hold a basic conversation and give basic advice. wat do?

17 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 11/12/30(Fri)01:23 No. 1619

>>1604
Having worked with smalltalk for a bit, I'd recomend never touching it with a 10' bargepole. Keep well away

>>
Neckbearded Basement Dweller 11/12/30(Fri)02:44 No. 1623

First of all, disregard any advice that discusses language choice.

Given your description, I infer that you want to create something that has at least rudimentary intelligence - this task is, to say the least, MONUMENTAL.
try/catch-blocks and the intricacies of loop structures will not be your problem.

On introspection, your reasoning might appear simple to you, but there's currently no computer on Earth that can rival it.

It's a vast system with parallelism built in at what could be called the transistor level, working with a gigantic knowledge base. Actions like talking, working with unreliable information, constructing a model of the world, inferring rules, are extremely difficult tasks.

Recreating something like this without a (currently not existing) understanding of its structure is simply impossible.

>>
Neckbearded Basement Dweller 12/01/26(Thu)13:20 No. 1791

RiveScript or AIML were the best things I found when I had this exact idea. Hope you have more success / fewer distractions than I did.



File 132752255993.jpg - (70.63KB , 471x470 , Aliens.jpg )
1785
Deep Web Neckbearded Basement Dweller 12/01/25(Wed)21:16 No. 1785 [Reply]

Does anybody know any good deep web sites?

(USER WAS BANNED FOR THIS POST)

3 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 12/01/26(Thu)03:40 No. 1789

Also, not related to programming.

>>
Neckbearded Basement Dweller 12/01/26(Thu)09:02 No. 1790

Wow. That's the first time I see someone get banned for a post on /pr/.

>>
Nattajerk 12/01/26(Thu)13:38 No. 1792

you don't fuck with /pr/, amirite?



File 132626534296.jpg - (34.56KB , 312x480 , Stack_4.jpg )
1708
No malloc C programming Neckbearded Basement Dweller 12/01/11(Wed)08:02 No. 1708 [Reply]

Yo. A while ago I wrote a chess AI engine in Ruby. It was an excuse to both learn Ruby and learn how chess engines work. Anyways it wasn't performing how I liked so I ported it to C. It was an excuse to brush up on that C course I did all those years ago.

Cutting to the chase: I could not deal with malloc'ing, remembering where to put pointers etc, so I wrote the whole thing without one single malloc, just put it all on the stack. No leaks ! w00t !

Am I cheating ? I'm guessing that once I start using libraries, I'm going to have to deal with the pain of tracking pointers and allocations.

Thoughts ?

7 posts and 1 image omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 12/01/13(Fri)02:22 No. 1723
File 132641777354.jpg - (9.19KB , 275x183 , Your All-Star Business Development Team.jpg )
1723

>>1720
You should see what database-backed web programming has become :)

Honestly - so much boilerplate, so much framework, so many layers. So many programmers who think, and worse, say "not enough leyers".

I believe the reason they write more layers is to avoid talking to other people. If you're writing a layer, it's a self-consistent piece of software. If you actually have to write some business logic - you gonna have to go talk to people !!!!

And whilst I can absolutely empathise with that (some of the people I meet in corporate arenas are just unbelievable), reacting like that - and turning that reaction into yet more boilerplate code just makes life difficult for the rest of us.

It's the main reason I want out of business oriented web and database application programming. It's 99% assholes and 1% actual meaningful stuff.

</rant>

>>
Neckbearded Basement Dweller 12/01/25(Wed)09:51 No. 1784

Isn't the stack is only a few MB by default?

Only in some ancient VAX systems or so I hear where the stack is in it's own memory region with separate address space it can grow arbitrarily large.

>>1710
http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html#Variable-Attributes

#define FREE __attribute__(cleanup(free)) #define DFREE(A) __attribute__(cleanup(A))


And suddenly you don't have to care where exactly the pointer will be freed, it will be good as long as you stay in the function.

>>
Neckbearded Basement Dweller 12/01/28(Sat)13:27 No. 1810

>>1784
On x86 systems running in protected mode, the stack can have its own address space using segmentation.



File 13273969708.jpg - (87.91KB , 400x400 , 1317893766536.jpg )
1775
Neckbearded Basement Dweller 12/01/24(Tue)10:22 No. 1775 [Reply]

So, I want to learn how to write codes, and programming. How do I start? Im a noob, but Im eager to learn. I heard learning Java is nowdays way to go, is that true? How do I start? Where to go? Im willing to spend a few bucks. May I have some suggestions please?

>>
Nattajerk 12/01/24(Tue)10:44 No. 1777

what's your motivation?
learning java is great and all, alot of businesses call for it because it can be ported anywhere.

if you want to be an ultrahaxxor (or just want to do anything with your code/script, web development, text manipulation, etc) i would suggest Perl.

Read the C programming language, do all the examples, it is a good book.

>>
Neckbearded Basement Dweller 12/01/24(Tue)10:47 No. 1778

If you're working on a Windows platform, go a .net language like C# to start with. Visual Studio comes in legit-free 'express' editions which are fine for small scale development.

If you want to work close to the wire, learn C++ or C as a starting point.

>>
Defenestr8r 12/01/24(Tue)15:09 No. 1780

I second Nattajerk. What do you want to do?

Without knowing that any suggestions can only be vague and general.



Delete post []
Password  
Report post
Reason