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

  1.   (new thread)
  2. [ No File]
  3. (for post and file deletion)
/pr/ - Programming
  • 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 327 unique user posts. View catalog

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

Reminder: IPv6 enabled users have exclusive access to the /vip6/ board. You don't need access to /VIP/ to access /vip6/.

Channel7 is streaming Movies and TV daily, click here for the web player, or here for the .m3u.


Neckbearded Basement Dweller 12/12/22(Sat)22:49 No. 3283 [Reply]
3283

File 135621299522.jpg - (38.02KB , 450x373 , 1-year-panda.jpg )

Hello guys new guy here
Since its holidays and I wanted to learn programming, could you guys direct me to GOOD C++ book or pdf I could download?
I have idea for making AI (atificial intelligence) although I have no idea where or how to start learning programming


4 posts omitted. Click Reply to view.
>>
Atz 13/03/23(Sat)06:43 No. 3516

I just started learning C++ after some shitty little course in java,if you want someone to learn with I'm down,hate learning this alone


>>
Nattajerk 13/03/24(Sun)23:23 No. 3519

>>3389
while the chances are slim, is it possible? quite, if you keep at it.

however, going from 0 programming knowledge to full blown artificial intelligence is crazy, baby steps, OP


>>
Neckbearded Basement Dweller 13/05/07(Tue)13:02 No. 3677

Pohl's "Dissecting Essential Program".
"C++ Gotchas: Avoiding Common Problems in Coding and Design" by Stephen C. Dewhurst.




Neckbearded Basement Dweller 13/05/03(Fri)09:20 No. 3664 [Reply]
3664

File 136756565253.jpg - (97.27KB , 570x914 , what-the-customer-actually-wanted.jpg )

do any of you got the one panel comic with a similar concept to this one? It's a picture of a house haphazardly built with stuff that doesn't make sense


>>
Neckbearded Basement Dweller 13/05/07(Tue)12:04 No. 3674
3674

File 136792106712.jpg - (138.86KB , 800x607 , fp7-13620356196.jpg )

There you go.




Neckbearded Basement Dweller 13/04/30(Tue)15:21 No. 3652 [Reply]
3652

File 136732810457.jpg - (7.30KB , 432x246 , secuwire.jpg )

Hey /pr/! I'm working on a web-app that lets you create/join encrypted chatrooms: http://www.secuwire.com ...thoughts? Also web development, crypto thread.


1 post omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 13/05/02(Thu)20:28 No. 3661

>>3656
It's 256-bit AES


>>
Neckbearded Basement Dweller 13/05/03(Fri)15:42 No. 3666

Anon Approves


>>
Neckbearded Basement Dweller 13/05/04(Sat)00:08 No. 3667

I vould have use for this, but it would require 3 changes:

+ Nick support
+ Chan topic
+ Private conversations




Neckbearded Basement Dweller 13/05/02(Thu)16:30 No. 3660 [Reply]
3660

File 136750504667.png - (2.19KB , 294x151 , sdssds.png )

Has anyone heard of any datamining research attempts to figure out what makes something 'thumbed up' on Youtube?


>>
Nattajerk 13/05/03(Fri)03:03 No. 3662

I've not heard of that. I just use the thumb up key to make a favourites list that I can listen to later. helps me, helps them.




Neckbearded Basement Dweller 13/05/02(Thu)05:45 No. 3659 [Reply]
3659

File 136746635194.gif - (22.90KB , 317x422 , 1367324591049.gif )

Why aren't linguistic-semantic AI able to read academic journals by now?
Can't we make a journal with a format specifically so that existing AI can read and learn from it?


>>
Neckbearded Basement Dweller 13/05/13(Mon)03:51 No. 3747

who's we? do it.




harald 13/03/27(Wed)14:38 No. 3539 [Reply]
3539

File 136439150073.png - (18.24KB , 150x150 , tumblr_lvg2yk9VoO1qdnsg3.png )

Can someone teach me how to program please?


>>
gray 13/03/27(Wed)22:12 No. 3541

Quite a few people could, actually. But there really are a bunch of decent sites out there that cover tutorials for every language thats worth it. Get a plan what you want to do, find the language you want to learn and get started.

If you want to grasp the concepts first, check places like
http://www.codecademy.com/ http://teamtreehouse.com https://www.udacity.com/

and propably many more.

For related books, see
http://programming-motherfucker.com/become.html
http://stackoverflow.com/questions/194812/list-of-freely-available-programming-books

Later on, for cheatsheets, take a look at this:
http://overapi.com/

Got any questions? Ask them! I hope you can find something you like to get you started.
Message too long. Click here to view the full text.


>>
Wax 1. Wax 0. Dalek!FM5d0TWZsM 13/05/01(Wed)10:17 No. 3657

Yes, it is your lucky day, for I feel like taking on another grasshopper--and I am a very experienced computer scientist who was fortunate enough to have been trained by the greats in our field.

Email me at Anonymous.Smith313@gmail.com




Brutalis!HF.bGyUKfA 12/11/11(Sun)21:17 No. 3104 [Reply]
3104

File 135266504171.jpg - (49.92KB , 461x334 , python.jpg )

I've never programmed anything. Ever. Most I ever did was make a module for Neverwinter Nights.

I think that some basic understanding of programming is rather vital in this day and age, as such I'd like to learn a programming language.

I hear python is the by far the easiest to learn and best for beginers.

So, what do? What are some basic things to try out? Any tips?


34 posts and 4 images omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 13/04/29(Mon)02:22 No. 3649
3649

File 13671949406.jpg - (28.63KB , 416x379 , communism152.jpg )

>>3646
>Nope. Neither C nor C++ have any such things.
XML?

>Well, you're an idiot.
Remember kids: brutal ad-hominem is the only argument C/C++ supporters have left.

>Swapping notations doesn't change the semantics.
It does: you get macros, which in-effect transform whole language.

>self-modifying code because those things aren't part of the C machine model.
Embed GCC or TCC - and you have EVAL.

>Your "Lisp" would be incapable of lambdas
Lambda is just an object with virtual methods.
Message too long. Click here to view the full text.


>>
Neckbearded Basement Dweller 13/04/29(Mon)06:19 No. 3651

>>3649
>XML?
I'm not sure what it is exactly that you're trying to argue.
1. XML is not part of C or C++. It probably is part of Java and .NET, but the point below will make that irrelevant.
2. You appear to be implying that the fact that there exist XML parsing libraries is evidence that string types often or with relative ease grow into full blown language parsers/interpreters in C-like languages. I fail to see the connection.
3. Come to think of it, even in the broader scheme of things I'm not sure what it is you're saying. That every program in every language should be capable of parsing programs written in the same language?

>Remember kids: brutal ad-hominem is the only argument C/C++ supporters have left.
I merely called you an idiot on account of your argument, since only idiots confuse syntax and semantics. I then proceeded to refute your argument. An insult is an ad hominem only if it is used in lieu of a proper counter-argument.
Idiots also are wont to use terms or phrases they don't understand, like "ad hominem".

>It does: you get macros, which in-effect transform whole language.
A C compiler has no idea what macros are. It doesn't suddenly became aware of them and able to generate code from them just because it built its AST differently. Likewise, a desk calculator wouldn't magically be able to loop if you changed its input method to RPN.

>Embed GCC or TCC - and you have EVAL.
Message too long. Click here to view the full text.


>>
Neckbearded Basement Dweller 13/05/01(Wed)01:20 No. 3653
3653

File 13673640078.gif - (42.03KB , 180x291 , communism185.gif )

>>3651
>XML is not part of C or C++.
Yes. It is an external dependency.

>I fail to see the connection.
See, for example, Qt's QString which embeds HTML formatting.

>That every program in every language should be capable of parsing programs written in the same language?
No. It is just that SEXPs are uniform and have a lot of reuse, while your language has bloated syntax and still depends on Lispy languages, like XML and HTML.

>A C compiler has no idea what macros are.
It does, because struct and enum are macros, expanding into simple form. The C/C++ is itself a macro language on top of assembly, so you can implement C/C++ semantics as a Lisp macro, giving a list of ASM mnemonics or even brainfuck code.

>But then you've done more than just switched syntaxes, which contradicts your original premise:
Nope, because most Lisp code doesn't require EVAL. You do EVAL to compile new code, which is rare.
Message too long. Click here to view the full text.




Darko 13/03/01(Fri)20:17 No. 3467 [Reply]
3467

File 136216547526.gif - (14.25KB , 100x36 , 1362084593027.gif )

I'm considering getting into robotics as hobby. What is the first programming language I should learn /pr/


6 posts and 1 image omitted. Click Reply to view.
>>
Kaibar 13/04/17(Wed)20:54 No. 3596

I'm actually a Robotics Under-grad at the moment. I really strongly advise starting with C, for several reasons. If you're a complete programming noob I'd reccomend getting "C Programming - Tony Royce" and get "The C programming language - Kernigan and Ritchie" (K+R). Royce is really fundamental so if you've got decent programming experience it might be a bit simple. K+R is a book that no matter what level you're at, it's always brilliant to have.
But yeah, basically C gives you the ability to go really low level, in terms of directly modifying regisers and doing bitwise operations, its super vertasile, and most higher level embedded programming languages are based upon it, i.e. arduino.
ASM is good to know but the issue with ASM is it's very tedious to program in and isn't in the slightest bit user friendly, on top of that ASM is dependant on things like the architecture, proccessor and compiler so you don't really just learn ASM as a whole, you learn it for specific systems.
ASM will let you get right into the nittygritty of a system so is useful if you need something to be super precise or accurate.
If you're more interested in the software side of Robotics and don't want to get too involved you'd be best of getting an Arduino and learning the native language for that.
If you want experience in hardware and software then I'd reccomend buying a couple of cheap Microchip 8bit Microcontrollers e.g. 16f877A and then learning to use MPLAB with the Microchip XC8 compiler. MPLAB provides a good interface in which you can program, compile, build, and debug your software and hardware. The XC8 compiler will let you program in C with support for ASM commands.
Get to know a specific microcontroller from a specific vendor and then you can advance on to some of the more complex micros from that vendor.
I would not reccomend Python, unless you're really good at it and want to make complicated AI algorithms.
If you're going to learn asm and don't have much prior experience, you may find it a bit of a mindfuck.
All that asides, you'll spend most of your time reading datasheets anyway.
tl;dr Learn C


>>
Neckbearded Basement Dweller 13/04/26(Fri)11:55 No. 3638

Raspberry Pi + Arduino is pretty good to start with if you're getting into robotics as a hobby...Arduino is badass and you can use python or C as well.


>>
Neckbearded Basement Dweller 13/04/28(Sun)20:38 No. 3647

You can go long with MELFA BASIC for Mitsubishi, RAPID for ABB for and KRL for Kuka, depends what robot you have and can afford! All those look pretty much the same anyway, kind of like the retard child conceived after Basic and Pascal had threesome with COMAND.COM.

>>3596
Noteworthy thing is, that while the control structures are usually from adequate to insanely high level, the memory model is kind of a mess, at least what comes to industrial robot and PLC kind of embedded computing.

Things like word oriented architectures can still be found, along with weird endiannessed, segmented- or banked memory and requirement to manually assign variables to memory addresses. How ever, there wont be pointers nor a way to read or modify the data-memory by address. Also, no data structures apart from fixed arrays and did I mention 6 character variable names and company policy of using Hungarian notation? By the way, those are six characters at most, not six significant characters.

Alternatively, as it comes, the weirdness is possibly only emulated on a normal byte-oriented, little endian, Von Neuman machine and the abstractions can break in subtle ways, that of course are well-documents, so the breakages by no means are bugs.

The special functionality of the languages will be implemented directly as keywords. This is no blessing, how ever as it means that every keyword may implement the policy of its own, for example some arguments can be only constant for no apparent reason, or there may be character affixed added to the said constants that are specific to a keyword, some argument may take a list of arguments with parentheses (usually coordinates); this kind of fun.




Neckbearded Basement Dweller 13/03/16(Sat)13:22 No. 3503 [Reply]
3503

File 136343657394.jpg - (2.48MB , 3299x2406 , Bab_Suika-Suker_Square,_Tunis,_Tunisia,_ca__1899.jpg )

How is secrete intelligence stored?
Is there a single secret intelligence darkweb that gets used?
I wonder how compartmented intelligence is managed and 'inherited' once the research or documentation is complete. I wonder if it ever gets 'lost'?
What would be the name of the profession in intelligence circles that manage this kind of thing?


1 post omitted. Click Reply to view.
>>
kb5000 13/04/06(Sat)13:10 No. 3570

lol, I'll bite.

How is secret intelligence stored:
Often on an internal company/organization network, disconnected from the internet. These types of networks are usually certified by some lesser known organizations, that guarantee a certain level of security.

Is there a single secret intelligence darkweb that gets used?
No. Darkweb implies that the users are anonymous, which creates unresolvable risks when verifying the identity of a user. Verification of a user identity is essential for any transaction of secret data. A unknown network type with secret data could exist, but it's rather unlikely. "Secrecy through obscurity" is generally considered a risky gamble.

On the management of secrets:
Not really familiar with this. It would seem that legal consulting firms play a big role here. It's heavily tied in with Intellectual Property right (IP's), so it's safe to assume there are legal or contractual guidelines that describe in detail how sensitive documents need to be stored.

Do secrets ever get lost:
Not on a regular basis, but it happens, if you mean "lost" as in "accidentally destroyed". No system is perfect.

The profession that governs secrets:
Message too long. Click here to view the full text.


>>
Neckbearded Basement Dweller 13/04/12(Fri)13:38 No. 3587

>>3503
I'm going to assume oyu're from the US.

There are several levels of security. Secret, Top Secret, ect. Each level requires more government bullshit. At secret level, you must have an "air gap" between a secret network and a public network. The same computer can't be on both a public and secret network and the secret network doesn't have wifi.

You can only access if you are physically there. If your a diplomat, you can get access only by sneakernet on your job.

If you want a job doing this stuff, join the military. As a military person, you easily qualify for secret status. Afterwards, get a job in computer security and with your security clearance, you'll be made aware of where you can go with this kind of thing.

Just a warning, after you get past secret, you give up your 4th amendment rights. You can be searched at anytime and you are constantly monitored, so you'll probably want to give up the habit of browsing *chan boards now.


>>
Neckbearded Basement Dweller 13/04/26(Fri)12:02 No. 3639

You have Unclassified, Secret (SIPRnet), Top Secret, they're tunneled through the regular internet they are just encapsulated with layers of encryption. They use various types of encryption devices such as KG-175 or Taclanes all this shit you can look up in wikipedia...as far as trying to break into it, it's pretty much impossible since it is encrypted with AES, but viruses get passed around pretty fucking easily on unclassified computers and the process of transferring unclassified information to a classified machine is a bitch so people get lazy and use thumdrives which can get viruses anyways long story short the physical servers aren't encrypted at all however the second they touch the regular internet they have like 4-5 layers of security




Jquery isnt a strong point... TakTakTak 13/04/26(Fri)02:21 No. 3632 [Reply]
3632

File youtube.txt - (2.35KB )

Hey /pr/

I found this file that instant searches anything you type into the text field on Youtube. Im having trouble modifying it so instead of it instant searching, you have to press a button then it will show the video.

Can anyone help achieve this?
Cheers




Delete post []
Password  
Report post
Reason