-  [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 495 unique user posts. View catalog

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

There's a new /777/ up, it's /selfhelp/ - You're Pathetic, We're Pathetic, We Can Do This! 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.

need help with c# Neckbearded Basement Dweller 14/11/02(Sun)20:47 No. 4610 [Reply]

File 14149576639.png - (6.31KB , 571x349 , lameapp.png )

hy pr
i am stuck with one windows form app i am trying to do for my practice in c#
i need an app which has 3 buttons and one textbox ( pic related )
mechanism is very easy but i kinda cant solve it to work
Plan is to make an app which does:
-generates random number ( 0,1 or 2)
-writes that number in read only textbox

waits for button click

-button click sets user input variable to a specified value .every button has its own value ( 0,1 or 2)
-sends that value to main code

checks if randomnumb = userinput
raises numberofcorrect by one if its correct
Message too long. Click here to view the full text.

JSON loading Neckbearded Basement Dweller 14/10/13(Mon)23:13 No. 4602 [Reply]

File 14132348201.jpg - (305.67KB , 612x1008 , we_can_do_it__portal_2_propaganda_poster_by_aelice.jpg )

I want to use multiple jsons (one for every lang) for ex: the english one:
"key1" : "value 1",
"mainMenuText" : "Main Menu",
"thisIsAnArray" : [
"ThisIsASubObject": {
"SubKey1": "SubValue1"

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

Neckbearded Basement Dweller 14/10/14(Tue)23:38 No. 4604

While I've never used JSON I've never seen it described quite like you have it there.

perhaps something more like;

would make more sense, as I am pretty sure everything has to be wrapped in curly braces. as far as I know, JSON uses nearly the exact same syntax for defining an object in Javascript, so that may be your problem.

That guy who replies to posts eons later 14/10/31(Fri)15:14 No. 4609

Make an array of objects instead.

Colorscheme jerker 14/07/29(Tue)07:18 No. 4534 [Reply]

File 140661111262.png - (252.31KB , 1366x768 , 2014-07-28-231738_1366x768_scrot.png )

Which looks better?

Also, Colorscheme thread.

11 posts and 4 images omitted. Click Reply to view.
Nattack 14/09/29(Mon)00:54 No. 4592

late post, but I think left is better, the magenta text is hard on the eyes - also I've always found alpha distracting.

its a personal choice, mind you. but i find the more contrast between the foreground and the background the better when it comes to text. dark backgrounds and light foregrounds, or vice versa for the traditional paper sheet look.
the only problem is the text shouldnt be too contrasting, if its a colour thats painful to look at (like magenta or bright yellow) it strains the eyes too much over time if its something thats going to be popping up all the time. I'd reserve it for function names if you really wanted it to be useful, like for being able to easily find sections by eye.

Not+A+Douche 14/10/05(Sun)20:09 No. 4597

There is a setup script in the TARbell.

Not+A+Douche 14/10/05(Sun)20:10 No. 4599

sorry wrong post

Python Excel Neckbearded Basement Dweller 14/09/30(Tue)08:22 No. 4595 [Reply]

File 141205812889.png - (50.48KB , 340x340 , python_sh-340x340.png )

I'm sorry to be spamming everybody's stuff with my own selfish request, but I'm wondering if anyone has a link to an executable of Python Excel (http://www.python-excel.org/) so I can install the module on my Windows machine. Need to get a script written by the end of Tuesday and only have a Windows machine to do it.

Not+A+Douche 14/10/05(Sun)20:09 No. 4598

there is a setup script in the TARbell

Tabletop game development OP 14/09/29(Mon)20:21 No. 4593 [Reply]

File 141201490869.gif - (23.89KB , 658x443 , dungeons[1].gif )

Guys back at the basement of my apartment complex play RPGs and nerdy stuff like that.

My idea was to call out a few interested programmers to make a simple multiplayer 'game' which features a selective player location board with different types of blocks (passable, etc.)

Why? For the shits n giggles!
I thought Java could be a good choice of language, but we can discuss.
Choice of source code hoster? I think BitBucket is good enough.

Anybody with me?

Neckbearded Basement Dweller 14/09/29(Mon)20:38 No. 4594

I realy like this idea sir. Take my bump

Neckbearded Basement Dweller 14/09/20(Sat)22:31 No. 4587 [Reply]

File 141124508685.jpg - (29.96KB , 355x444 , Alan_Turing.jpg )

Source code rate thread?

Ill start.


rate thread [FPS] 14/09/26(Fri)02:28 No. 4590

File 141169130577.jpg - (421.45KB , 840x560 , 01.jpg )

challenge accepted

Delete multiple rows with variable number 'ID's to delete Neckbearded Basement Dweller 14/09/21(Sun)12:26 No. 4588 [Reply]

File 141129520030.jpg - (413.11KB , 533x400 , Pineapple.jpg )

So i have an application Im writing and I have an input with checkboxes that will send an array of names to the application. The application is then supposed to delete rows that have the names in a column as the names in the array sent by the checkboxes. I can use a loop in the application to run through the array, but is there an SQL way of doing this. I am using SQLite for now, but a Postgres dialect answer will help though.

Not+A+Douche 14/09/23(Tue)03:18 No. 4589

DELETE FROM table_name
WHERE some_column=some_value;

C++ Quiz Neckbearded Basement Dweller 14/09/19(Fri)20:14 No. 4586 [Reply]

File 141115047244.png - (43.99KB , 462x261 , play.png )

http://q.viva64.com/ - C++ Quiz: are you a code guru?

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

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

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

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

tilda tabs nigger 14/08/29(Fri)03:40 No. 4572 [Reply]

File 140927640081.png - (183.90KB , 1366x768 , 2014-08-28-194015_1366x768_scrot.png )

how to get rid of those ugly tabs in the tilda program in the top?

Delete post []
Report post