-  [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, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 391 unique user posts. View catalog

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

There's a new /777/ up, it's /gardening/ Check it out. Suggest new /777/s here.

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.

WebM is now available sitewide! Please check this thread for more info.

Hey Guys Griff 15/08/09(Sun)06:08 No. 4780 [Reply]
4780

File 143909333066.png - (27.47KB , 200x142 , Our god.png )

/pr/ I wonder what is a good programming language to learn that is easy for someone who has somewhat decent understanding of BASIC and HTML?


2 posts omitted. Click Reply to view.
>>
Neckbearded Basement Dweller 15/08/14(Fri)22:54 No. 4785

if you understand basic, move on to python. its probably one of the more popular languages and isnt too hard to learn and get fast results.

html isnt really a programming language, but if you want to go into the web dev route learn yourself some php. theres a staggering amount of languages you have to learn to develop web applications, but its less difficult once you get the ball rolling and understand how they all work.


>>
Neckbearded Basement Dweller 15/09/05(Sat)21:09 No. 4798

if you want to start with something easy that will quickly get you required skills then try java/c#.

if you want to learn and understand how shit works and get your hands dirty, then try C.

>>4781
i've been writing js for over a year now, most of that time on the enterprise level. js is pure shit, the language is a fucking mess. stuff like jquery and angular are what keeps many programmer's going.
if OP wants to write websites he should stick to a framework.


>>
Neckbearded Basement Dweller 15/10/24(Sat)01:06 No. 4816

>>4798
>js is pure shit, the language is a fucking mess
how come?




Neckbearded Basement Dweller 14/09/07(Sun)23:19 No. 4580 [Reply]
4580

File 141012474693.jpg - (11.01KB , 225x209 , mrS3f1BVoz6qoQOv5UJdgBQ.jpg )

>>4577
>>4579
I was told to make a new thread.
I want to make my own cipher machine, like the Enimga.
What language will be better for this?
I want something like this: http://www.users.globalnet.co.uk/~andlaw/engindex.htm
A simple graphic interface where one imputs the setting, encode and decode.


>>
patchouli!!MxLwWzZ2L4 14/09/11(Thu)05:55 No. 4581

I am assuming you are new.

There are boundless options for you; as >>4579 said.

That being said, I would try out OCaml, it is really neat and it has quite a nice gtk wrapper.

It is considered a functional language, akin to Lisp and Haskell, and if you have already got used to imperative languages: C, Java etc, it might be tough to start out, but don't get discouraged. You can overcome anything with a bit of practice.

Good luck!


>>
Neckbearded Basement Dweller 14/09/14(Sun)01:53 No. 4584

>>4581
I have no previews experience in programming.
Can I jump straight to OCaml or should I learn something else beforehand?


>>
Neckbearded Basement Dweller 15/09/21(Mon)21:16 No. 4806

>>4580
You may already know, but just a warning, your shit will be incredibly easy to break no matter how ridiculously obscure you make it.

Substitution ciphers and all the rest of the pre-modern era cryptography is really cool, but horribly insecure these days. If you care about that (which really, try not to, this is a cool project), then look up all you can about DES (now outdated), AES (DES' replacement), and public key cryptography.




Internet Live Stats Neckbearded Basement Dweller 15/09/19(Sat)03:35 No. 4801 [Reply]
4801

File 144262650744.jpg - (177.87KB , 1280x849 , fbtop02.jpg )

http://3millionpage.com/index.php/web-live-stats




Android wait/notify Neckbearded Basement Dweller 15/08/09(Sun)23:05 No. 4782 [Reply]
4782

File 143915434919.gif - (453.76KB , 500x500 , tornator2.gif )

hi /pr/

I'm writing an android app, just a little game, and I don't have much experience.

The gameloop is a thread, I want to be able to pause and resume the game, so I use wait and notify for this.
For that I use an Object as a SyncToken

In the Game Activity I have this pause-method:

public void pause(View view){
if(!PAUSED){
game_controller.pause(sync);
}else{
sync.notify();
}
Message too long. Click here to view the full text.


>>
Neckbearded Basement Dweller 15/08/10(Mon)12:24 No. 4783

ok problem solved


>>
Neckbearded Basement Dweller 15/09/06(Sun)19:20 No. 4799

thats a really nice gif i really love it




Neckbearded Basement Dweller 15/08/18(Tue)15:48 No. 4787 [Reply]
4787

File 143990570912.jpg - (7.41KB , 310x163 , php.jpg )

Hey guys, i'm looking at learning PHP but don't know where to start. Can anyone give me a quick heads up as to where the best place to start is?


>>
try laravel pol fx 15/08/19(Wed)02:48 No. 4788

why dont you trylaravel 5+, is php a framework with a lot of functionality, or you can try an php raw application, try install
LAMP, for linux
WAMP, for windows
MAMP, for mac

get a php IDE, i use netbeans
and after that google some php tutorials, try first print text
in a php file


>>
Neckbearded Basement Dweller 15/09/05(Sat)21:00 No. 4797

>>4787
>php
if you're learning php for shits and giggles then don't. if you're learning php to land a job, try an alternative




Neckbearded Basement Dweller 15/09/03(Thu)21:06 No. 4795 [Reply]
4795

File 14413071881.png - (10.65KB , 215x212 , logo.png )

Hey, I am developing a new chan engine with the purpose of being more efficient and flexible than the existing options.

Recently I have released the first stable release and I am looking for people willing to stress it.

The live instance I run can be found at http://lynxhub.com and the json api is probably the most vulnerable part of it.

The source code can be found at https://gitlab.com/mrseth/LynxChan .




Help/Advise on card game. Neckbearded Basement Dweller 15/07/22(Wed)05:05 No. 4770 [Reply]
4770

File 143753432679.png - (13.88KB , 631x288 , Capture.png )

Hey guys, first time posting. Im programming a battle card game and im just having some trouble on drawing a random card from a deck of 60 cards and removing the card from the deck completely.

Ive been using a random number generator to test this but since you cant take a variable out of an array it makes it a bit hard.


>>
Neckbearded Basement Dweller 15/08/15(Sat)21:07 No. 4786

Alright, the best/easiest way to do this since you seem to be using VB.NET would be to use an invisible listbox since you can remove items from them. Then use the random generator to change the SelectedIndex property.


>>
Neckbearded Basement Dweller 15/08/29(Sat)04:57 No. 4794

instead of removing the card from a random place in the deck, why dont you have the deck randomized and take a card from the top, using a vector for the data structure? thats what i did in a recent blackjack sim. easily able to copy the top card to a player hand(aka another deck), then pop off the top card from the deck.

not sure of c# notation, but its my best guess.




Report loop for an SQL-table? Neckbearded Basement Dweller 15/08/19(Wed)13:57 No. 4789 [Reply]
4789

File 143998544042.jpg - (93.86KB , 1000x646 , CP00990-002.jpg )

Please don't laugh. I know it's not normalized. The data is supposed to be able to entered achronologically without fugging things up. It looks something like this:

#01 2009-11-11 Bookstore Book Art 200.00
#01 2009-11-11 Bookstore Book History 50.00
#01 2009-11-11 Bookstore Paymt. Cash -100.00
#01 2009-11-11 Bookstore Paymt. Card -150.00

#02 2009-11-09 Gaym'aven Vidya Mario 20.00
#02 2009-11-09 Gaym'aven Vidya Zelda 25.00
#02 2009-11-09 Gaym'aven Vidya Sanic 28.00
#02 2009-11-09 Gaym'aven Candy Skittles 10.00
#02 2009-11-09 Gaym'aven Soda Cola 2.00
#02 2009-11-09 Gaym'aven Paymt. Cash 85.00

#03 2009-11-12 Dress Gud Shoes Autist 75.00
Message too long. Click here to view the full text.




Resources for C++? confoosoid 15/05/30(Sat)04:53 No. 4741 [Reply]
4741

File 143295440390.png - (90.58KB , 600x338 , risk-of-rain-ur-ded-screen.png )

Hello.
I have been looking for the resources I could use for learning C++, but most of the stuff I have been finding is outdated or terribly optimised (as in, if using third party libraries)

I always wanted to start playing around with creation of the games, or just anything that can get related behind that.

I have some experiences with C# (just applications) and I quite well understand code if I have documentation on board or just enough time.

but C++ is different, less sophisticated yet less limited compared to the same C#. Could you help me out with learning resources? Something not too obvious, but not as complex.

Thank you.
TLDR: I want to learn C++ and I am terrible at searching stuff, help out.


2 posts omitted. Click Reply to view.
>>
Nattajerk 15/06/25(Thu)06:41 No. 4762

>>4742
I def recommend C++ Primer 5th ed if you can get it for a decent price, i would almost say its seminal.

>>4759
indeed, the official book from Bajarney Stroganoff is not for the beginner, unlike K&R for the C counterpart.


>>
Neckbearded Basement Dweller 15/07/11(Sat)03:32 No. 4767

rekt*


>>
Neckbearded Basement Dweller 15/07/25(Sat)13:55 No. 4772

this

http://www.learncpp.com/




Neckbearded Basement Dweller 15/07/24(Fri)07:09 No. 4771 [Reply]
4771

File 143771455552.png - (88.88KB , 1020x676 , morphemegame.png )

I'm in need of some help. I'm desperate to get this started already. I have made a multi-client threading which means there will be many clients running a server. I have all the code ready, but my only barrier right now is making a download link that will install the client code onto the user's desktop (using any platform) and run the java application from the desktop. My webpage has an a href link but I don't know how to make the directory such that it will access and download the content the link directs you to with a dmg or exe file (based on platform). I also need help with putting the server somewhere on my VPS for website or WHM (web host manager) which is apparently the "back end" of the webpage.

If anyone would like to direct me to a URL that walks this through step by step, I will be very grateful. If anyone wants to help through Skype walking me through it step-by-step, I will reward you via paypal a great sum of money for the help. This is only given assuming you make the link on my site download all relevant content to the desktop and runs it perfectly.

If you are interested, please contact me at boggle@hotmail.ca

This is way too hard for me, not the coding. Your help is much appreciated! Thamks




Delete post []
Password  
Report post
Reason