Do you enjoy using these boards? If so, please contribute today.
Your support keeps 420chan alive. Really.
June Server Costs
420chan JSON API Now Available - Documentation - Discussion Thread
Build apps and browsing enhancements!
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Script wanted by Fanny Driffingchudge - Fri, 12 Apr 2013 14:23:20 EST ID:UfyUHJbM No.28027 Ignore Report Reply Quick Reply
1365791000446.jpg -(71200 B, 300x300) Thumbnail displayed, click image for full size. 71200
How can I make the pictures in my website change colors like this here on 420chan?
>>
Nicholas Bevingnudging - Fri, 12 Apr 2013 14:36:18 EST ID:dUqCye/w No.28028 Ignore Report Quick Reply
>>28027
It's just CSS3:
img { animation: huehuehue 12s ease infinite normal; }
You need to use -webkit-animation for Chrome and Safari, -moz-animation for Firefox and -o-animation for Opera, I believe.
>>
Fanny Driffingchudge - Fri, 12 Apr 2013 14:43:18 EST ID:UfyUHJbM No.28029 Ignore Report Quick Reply
>>28028
Thank you very much.


HELP PLEASE by N00b - Mon, 25 Mar 2013 16:09:44 EST ID:GQPumpaU No.27821 Ignore Report Reply Quick Reply
1364242184287.jpg -(18764 B, 500x375) Thumbnail displayed, click image for full size. 18764
WHERE DO I START??? ive looked into everything google has to offer and none of it makes sense. i just wanna learn the basic C++ but if theres anything simpler to start off with i would be grateful to know!
14 posts and 2 images omitted. Click Reply to view.
>>
Fanny Dribbleville - Thu, 28 Mar 2013 12:22:45 EST ID:qANUL/9j No.27860 Ignore Report Quick Reply
Get or pirate a book called Starting Out with C++: From Control Structure to Objects by Tony Gaddis. He does a great job explaining concepts to beginners also if you still don't understand something http://thenewboston.org/list.php?cat=16 is a pretty good site for beginner tutorials on C++
>>
Edwin Shittingspear - Fri, 29 Mar 2013 20:50:46 EST ID:xAj4OIMq No.27871 Ignore Report Quick Reply
I have never learned python but I would recommend it first because it is designed to be easy to learn and understand.
Get the basics of programming from python, play around do some cool things and then move to C.
In C you will learn more about the hard lined basic stuff.
You could jump straight to C++ and I HIGHLY RECOMMEND THIS...
http://cplusplus.com/doc/tutorial/
it is as brief and through as possible. Write the code that they have demoed for you and play around with it, that is how you will really learn, by playing.
everything up to the Object Oriented Programming section is mostly C
there will be some exceptions like
cout<<"hello world"<<endl;
is C++ equivalent of
printf("hello world");
you will learn that in the later sections.
>>
Mel Gibson - Mon, 08 Apr 2013 19:52:14 EST ID:x74oXado No.27965 Ignore Report Quick Reply
Ive been learning java through my computer science classes for about 2 semesters and have impressed myself at least with how much im understanding. I just recently started looking into and dabbling with other languages to compare them to java. I recommend Java as a great starting language, because its hard in the beginning but once a firm grasp on the basics is attained, EVERYTHING has been a breeze to learn. Except certain things in Arrays. I fucking hate arrays. -.-
>>
Clara Crinderway - Tue, 09 Apr 2013 18:16:18 EST ID:xpx37LmX No.27989 Ignore Report Quick Reply
1365545778059.jpg -(5875 B, 321x248) Thumbnail displayed, click image for full size. 5875
I just dove in. Set realistic goals then learn the techniques to make the goals happen. For me I wanted to make text appear. Then I made a calculator, Then i made ascii move around with key commands etc.

Set goals, reach goals, learn.
>>
George Murdman - Thu, 11 Apr 2013 23:50:40 EST ID:ZnEHrc4y No.28023 Ignore Report Quick Reply
you think c++ is the simplest thing to start with who told you that lie?

go in a browser and dick around with javascript that's probably as dead simple as you can go.


Extracting DVDs to a Mac!! by Cornelius Blatherway - Thu, 21 Mar 2013 19:42:18 EST ID:+s1ckDc6 No.27768 Ignore Report Reply Quick Reply
1363909338810.png -(195291 B, 458x369) Thumbnail displayed, click image for full size. 195291
Me Again! ok this is not illegal or anything since I own the original DVD, and I'm not going to use this to make several copies and sell them.

Anyways, I bought this exercise DVD with a friend, but because both of us live 30 min away from each other, it's kind of a hassle since you have to follow a program with this DVD. I tried looking for DVD rippers such as HandBrake, but that only extracted the DVD files in a fucked up order, the last is suppose to be the first and the music is all distorted. Does somebody know of a good program to extract a DVD to your mac (I got macbook pro) This is also great when I need to travel and can take movies on my Ipad or Iphone without having to take all of the DVDs. I'm looking for a free thing here, but I guess if there is no other way but to purchase, bring on the info!

Thanks!!!!!!!!!!!
>>
Nigel Fellerham - Thu, 21 Mar 2013 23:39:18 EST ID:rcp2h4Pi No.27775 Ignore Report Quick Reply
1363923558301.jpg -(716044 B, 3264x2448) Thumbnail displayed, click image for full size. 716044
maybe https://trac.handbrake.fr/wiki/SupportFAQ#scrambledscenes
and https://trac.handbrake.fr/wiki/SupportFAQ#audio-drop
>>
Nigel Fellerham - Thu, 21 Mar 2013 23:48:43 EST ID:rcp2h4Pi No.27776 Ignore Report Quick Reply
1363924123301.jpg -(431675 B, 2448x1836) Thumbnail displayed, click image for full size. 431675
also, /tech/
>>
Jenny Membleshit - Fri, 22 Mar 2013 23:57:48 EST ID:+s1ckDc6 No.27787 Ignore Report Quick Reply
>>27776
Nah I figured it out!! I broke it in DVD FAB and later took that file and ripped it into handbrake worked perfectly!!!


Android App Suggestions? by haxxtivist - Thu, 11 Apr 2013 08:41:02 EST ID:y5ayK67p No.28011 Ignore Report Reply Quick Reply
1365684062272.jpg -(775702 B, 1024x768) Thumbnail displayed, click image for full size. 775702
I'm in need of a bunch of ideas to work with for my CSC Apps Dev class. Can you guys help me out? What kinds of apps would be useful/fun/interesting?
>>
Betsy Goppershit - Thu, 11 Apr 2013 09:11:32 EST ID:jai7nJq0 No.28012 Ignore Report Quick Reply
How advanced is the class?

Maybe you could make an app that is similar to f.lux, which "smoothens" (changes the K of the screen light, making it less blue) the screen light making it more enjoyable to look at when it is dark. That would definitely be useful, as the sun-like-light can make your eyes strain and can effect your ability to sleep (you know the feeling when you turn on your phone in the middle of the night, and the screen being too bright and you have to squint your eyes)?

Sorry for bad grammar, I don't really know how to explain this :P


Fire Panel Training Application by Jenny Herringlon - Wed, 10 Apr 2013 18:52:46 EST ID:qoi87FaX No.28001 Ignore Report Reply Quick Reply
1365634366452.jpg -(6264 B, 242x208) Thumbnail displayed, click image for full size. 6264
Hey /prog

I would like your input on a project I have been kicking around in my head. I work at a site that has alot of fire alarm systems and I am responsible to train new employees on how to interact with the panels. We have some old fire system panels connected to a box containing a bunch of inputs like smoke heads and a pull station etc, but these don't work very well. I would like to develop a software application that mimics the different fire system panels, as well as maybe shows a simple wire diagram of a building with inputs in the building that I can program to come up on the training panel within the application. I have zero programming experience but I am really willing to learn to successfully develop a tailored application for my particular job site. Any input or guidance would be greatly appreciated.
>>
Roodypoo - Wed, 10 Apr 2013 21:30:19 EST ID:LBkC/znJ No.28003 Ignore Report Quick Reply
>>28001
So you want to make a little instructional video game basically that teaches them how to run fire alarm systems? Wouldn't your success cause you to immediately lose your job to a Frankenstein's monster-esque machine of your own creation?
>>
Nigel Clangersot - Thu, 11 Apr 2013 00:54:49 EST ID:rcp2h4Pi No.28006 Ignore Report Quick Reply
>>28003
Jenny would be programming her particular knowledge and experience into a computer, where she would live forever, happily performing her work for as long as she is wanted. the singularity is coming.
>>
Cyril Pocklechadge - Thu, 11 Apr 2013 05:02:58 EST ID:qoi87FaX No.28007 Ignore Report Quick Reply
>>28003
Yes a video game would be a great approach, something that would allow the staff to practice resetting the system, or practice disabling various inputs.
>>
Cyril Pocklechadge - Thu, 11 Apr 2013 05:03:35 EST ID:qoi87FaX No.28008 Ignore Report Quick Reply
>>28007
Lol
>>
Cyril Pocklechadge - Thu, 11 Apr 2013 05:05:53 EST ID:qoi87FaX No.28009 Ignore Report Quick Reply
I would think there would be a market for this type of application too, as so many businesses have different alarm systems and very basic or no training how to use them.


Got my Pi yesterday by Hamilton Blackbury - Tue, 09 Apr 2013 12:33:53 EST ID:6FZc4RiI No.27982 Ignore Report Reply Quick Reply
1365525233056.jpg -(21411 B, 300x300) Thumbnail displayed, click image for full size. 21411
Anyone done anything fun with it? I'm waiting on memory cards but I might look around to see if I have spare. First thing I'll probably do is mess with the Minecraft for it, and maybe throw a switch and/or resistor on the GPIO pins to see if I can get an idea of what they'd be useful for.
>>
Polly Sumblehidge - Wed, 10 Apr 2013 13:19:20 EST ID:G59+2scq No.27997 Ignore Report Quick Reply
aren't they just little computers that run linux?
>>
Cornelius Blackshit - Wed, 10 Apr 2013 17:13:03 EST ID:wL/GHLf9 No.27998 Ignore Report Quick Reply
I might get one and throw Apache on it or something.

I think what'd be the most fun is designing my own case for it, though.


Python Help please? by Lydia Granddale - Wed, 10 Apr 2013 07:49:31 EST ID:wf9aVEyr No.27993 Ignore Report Reply Quick Reply
1365594571795.jpg -(4189 B, 387x130) Thumbnail displayed, click image for full size. 4189
Hi /prog/ I have to do some programming in python and I'm still pretty shitty at programming so it would be cool of you help me. I have done the first one, but don't know how to do 2 or 3.

1.add more possible answers(Done)
2.change the delivery of the answers by the system from being random to being sequential (from the first to the last)
3.make the system response depend on keyword spotting in the user's question, e.g. on whether the question starts with 'what', 'who', etc.

Here is my code so far:


import nltk
import random

answers = ['I wish I knew the answer',
'Are you sure you mean it?',
'Who knows?',
Comment too long. Click here to view the full text.
>>
Martin Bebberman - Wed, 10 Apr 2013 11:19:15 EST ID:dUqCye/w No.27995 Ignore Report Quick Reply
For #2, use a loop with an incrementing variable, and for #3 just evaluate the user's question against a regular expression that matches criteria of your choice.
>>
Augustus Pendlestedging - Wed, 10 Apr 2013 12:38:44 EST ID:vhgZIlcV No.27996 Ignore Report Quick Reply
>>27995
or if plain regexps aren't your stuff, python string have a 'startswith(substr)' method.


Exit value 3, C++, Code::Blocks by Clara Crinderway - Tue, 09 Apr 2013 18:10:28 EST ID:xpx37LmX No.27986 Ignore Report Reply Quick Reply
1365545428059.gif -(375822 B, 256x255) Thumbnail displayed, click image for full size. 375822
This code builds properly, but crashing when run. The rest of the code works fine.

http://pastebin.com/hRvWEyWj
>>
Clara Crinderway - Tue, 09 Apr 2013 18:11:12 EST ID:xpx37LmX No.27987 Ignore Report Quick Reply
To clarify, I only included the offending function.
>>
Matilda Drellertotch - Tue, 09 Apr 2013 21:48:31 EST ID:KtWUuSYb No.27991 Ignore Report Quick Reply
>>27986
If range is 1 it will be an infinite loop
>>
Solved - Wed, 10 Apr 2013 03:06:37 EST ID:xpx37LmX No.27992 Ignore Report Quick Reply
>>27991

I actually fixed this replacing xCnt == 23 with xCnt >= 25


Zero Day Exploits Questions by Pegasus - Mon, 08 Apr 2013 23:40:33 EST ID:MjR6/GP+ No.27970 Ignore Report Reply Quick Reply
1365478833957.jpg -(50979 B, 430x300) Thumbnail displayed, click image for full size. 50979
I want to preface this post by saying I'm not looking for any zero day exploits.

I'm utterly confused as to how one goes about even obtaining them and how that process works. I have considered internal leaks, penetration testing, and similar no-brainers, but I'm not convinced that any way is any more likely than the others.

How do people do these things, short of de-compiling and going bit by bit?
>>
Thomas Bommerforth - Mon, 08 Apr 2013 23:47:49 EST ID:rcp2h4Pi No.27971 Ignore Report Quick Reply
you want to obtain an existing 0day? you pay for them.

you want to find your own 0days? become a competent systems programmer and spend a lot of time in the debugger.
>>
Pegasus - Tue, 09 Apr 2013 00:05:16 EST ID:MjR6/GP+ No.27972 Ignore Report Quick Reply
>>27971
Thanks, I was just completely at a loss as to what they even did. I was curious as to if people were finding them or if most of them were leaked out or bought from internal sources. It appears as if both instances are the case from what you've just said.


Joomla or Magento auction template by Graham Huffingwater - Sun, 07 Apr 2013 22:10:53 EST ID:YEL5Uciv No.27948 Ignore Report Reply Quick Reply
1365387053575.jpg -(84355 B, 750x503) Thumbnail displayed, click image for full size. 84355
/prog/ tell me your secrets

I want to know where I can find free joomla or magento templates/extensions. Ideally I'm looking for an auction site template. wat do?


Programming Potheads by Doris Brookhood - Sun, 24 Mar 2013 22:27:50 EST ID:oBwzzKeU No.27814 Ignore Report Reply Quick Reply
1364178470867.png -(25046 B, 666x666) Thumbnail displayed, click image for full size. 25046
How many of you actually smoke the ganja?
15 posts and 1 images omitted. Click Reply to view.
>>
The Doktah - Tue, 02 Apr 2013 10:29:04 EST ID:TgKcPKsT No.27899 Ignore Report Quick Reply
>>27896
DEA... D-estroying E-veryones A-ssholes
>>
Jack Gublingson - Thu, 04 Apr 2013 01:00:36 EST ID:bMv8eUoN No.27916 Ignore Report Quick Reply
>>27864

This is wisdom right here.
>>
Matilda Punkinwell - Sat, 06 Apr 2013 11:27:45 EST ID:G3ssDHmf No.27937 Ignore Report Quick Reply
>>27814
Prolly half of my class.
Now prolly half at my work.
>>
Isabella Ganderbedge - Sat, 06 Apr 2013 15:59:12 EST ID:YW3TwAFz No.27938 Ignore Report Quick Reply
>>27895
> Java can suck a massive donkey dick!

That's not true, the dick-sucking functionality has been deprecated. :(
>>
Esther Babblefuck - Sun, 07 Apr 2013 15:42:44 EST ID:ViGhSfAi No.27945 Ignore Report Quick Reply
1365363764547.gif -(2092569 B, 448x252) Thumbnail displayed, click image for full size. 2092569
I do enjoy smoking weed, a lot haha. The one time I went to my Database Structures class blazed and we were going through MySQL workbench and writing SQL code.. it was terrible. I kinda just got lost in trying to figure out what to do lol

But other times I've had inspiration to make awesome cool programs/games when high. It relights the passion that I had when I was young (still do) to make games I guess


microsoft lol by Esther Pockworth - Sat, 06 Apr 2013 05:28:55 EST ID:HJxC2a8P No.27931 Ignore Report Reply Quick Reply
1365240535956.jpg -(58598 B, 720x540) Thumbnail displayed, click image for full size. 58598
>mfw powershell is basically a *nix shell in windows
>>
Fucking Fuckingdock - Sat, 06 Apr 2013 07:20:28 EST ID:zpWQC7/K No.27932 Ignore Report Quick Reply
1365247228577.jpg -(62113 B, 720x495) Thumbnail displayed, click image for full size. 62113
>mfw that isn't true since a *nix shell is actually usful
>mfw this isn't programming-related at all
>mfw fuck you
>>
Eliza Penderferk - Sat, 06 Apr 2013 08:36:52 EST ID:GOm5Lc4z No.27933 Ignore Report Quick Reply
1365251812699.jpg -(81270 B, 456x297) Thumbnail displayed, click image for full size. 81270
DICKS EVERYWHERE
>>
Albert Bluppergold - Sat, 06 Apr 2013 08:39:06 EST ID:n+D/jVBi No.27935 Ignore Report Quick Reply
>>27932
/thread
>>
Samuel Brublingkit - Sun, 07 Apr 2013 04:38:46 EST ID:HJxC2a8P No.27943 Ignore Report Quick Reply
1365323926448.jpg -(416691 B, 700x933) Thumbnail displayed, click image for full size. 416691
>>27932

are you upset that when you do a ls in powershell it returns a directory listing?

how is ps not prog related? i've seen scripts over 300 lines long...

i don't understand the hostility
>>
Simon Wacklefit - Sun, 07 Apr 2013 07:09:45 EST ID:vhgZIlcV No.27944 Ignore Report Quick Reply
>>27943
Automating the alias from dir to ls doesn't quite make ps equivalent of linux command line.

I tried to find a comprehensive listing of the cmdlets, which I believe are the small programs for parsing text data, but couldn't. This already is a bad sign.
If ps brings commands line which, ps, awk, sed; helps set path variable so that programs like python can be used; has a command buffer that can be searched through; a text buffer that can be scrolled through with something like page up/down; a good scripting language and important & useful internal variables such as $? and !!, powershell might be useful for some.


<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.