AnonAccount: What is it, and what does it do? - Q&A Thread
Leave these fields empty (spam trap):
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
[*]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


Java by Sidney Niggerlock - Thu, 24 Apr 2014 15:03:24 EST ID:9agYKwHZ No.31615 Ignore Report Reply Quick Reply
1398366204411.jpg -(67856 B, 550x832) Thumbnail displayed, click image for full size. 67856
Can one tell me why i should start using java on a website? just want to hear what you have to say.
4 posts and 1 images omitted. Click Reply to view.
Nathaniel Buzzman - Thu, 24 Apr 2014 19:38:48 EST ID:qT9NCyqt No.31620 Ignore Report Quick Reply
You can annoy a lot of people by requiring an antiquated, insecure plugin to use functionality on your website. Most of what people used to use Java applets for can now be done with JS and AJAX/AJAJ. The things that can't can often be done with Flash which is slightly less onerous than Java.

Basically don't use a Java applet unless you have some specific, compelling reason to do so.
Frederick Wongerfuck - Thu, 24 Apr 2014 19:46:59 EST ID:0CTnmH4i No.31621 Ignore Report Quick Reply
Henry Bliffingwid - Fri, 25 Apr 2014 19:05:21 EST ID:ZMQnkpih No.31626 Ignore Report Quick Reply
You're not thinking of javascript, are you? There are a lot of things you can do with that.

Plain Java embedded in web pages *always* blows, the only time it's excusable is when doing it another way would suck even harder.
Frederick Gizzlekure - Fri, 25 Apr 2014 22:15:24 EST ID:ssOAU605 No.31628 Ignore Report Quick Reply
Not much you can't already do elsewhere, although it runs pretty fast. They have session control pretty well defined and abstracted too.

(I'm talking about java servlets, and portlets; applets can go suck a dick)
Phineas Bardfuck - Sun, 27 Apr 2014 05:52:24 EST ID:5Mbyzmad No.31630 Ignore Report Quick Reply
Go with PHP or Javascript. Java is only good for Android apps.

Interview questions by Beatrice Fanningtut - Fri, 25 Apr 2014 11:20:57 EST ID:r7z0mfho No.31622 Ignore Report Reply Quick Reply
1398439257731.jpg -(105143 B, 1024x768) Thumbnail displayed, click image for full size. 105143
I'm in a position at work where I can influence new appointments. I don't have time to do interviews myself, but I can provide questions and scoring guidelines for my manager to evaluate potential candidates.

We currently do mainly PHP, SQL, HTML, CSS and JavaScript, as well as some VB6 / VBA. Responsibilities will include developing on our home-grown derpy MVC framework (while trying to refactor it into something meaningful), dealing with unreadable legacy code and lack of documentation and specs, and trying to be productive in a hectic noisy programmer-unfriendly environment, clueless management, and all kinds of other bullshit.

What I'm looking for is developers with good fundamental knowledge - concepts and skills that transcend specific languages, balanced with practical experience to complement our daily needs. I don't care much about PHP experience, but depth in OOP and functional programming (and a bit of understanding of logic programming and other paradigms) will be appreciated. SQL experience is essential, understanding of relational theory is great. Since we're developing web apps, working knowledge of HTML, CSS and JavaScript are essential. Framework fanboys, cargo cult programmers and script kiddies need not apply.

What I want from you guys is questions and evaluation metrics. I need 5 to 10 interview questions, and any number of test questions.

Inb4 fizzbuzz, that shit is kiddy grade. Also, inb4 op can't inb4. Pic for motivation. Terms and conditions apply. Yada yada, etc.
Emma Greenway - Fri, 25 Apr 2014 11:52:54 EST ID:dUqCye/w No.31623 Ignore Report Quick Reply
What level are you looking to hire people at? I've always been against testing applicants in favor of having them come to the interview with code samples they've done in their own time or for a previous employer. Obviously this doesn't work if you are hiring people with no existing work history or experience though.

My style for interviewing people is more off-the-cuff. I have, of course, the structured interview questions ("tell me about your background" "what is it about this job that interests you" etc) but from there I usually just try to dig deep into their answers and get at the root of what makes them tick to try and figure out if they'd be a good fit for our team. Someone whose primary hobbies are knitting, daily church attendance and protesting gay rights is probably not going to be a good fit, regardless of how good their code is. Presumably I've already looked at their code on their GitHub or their portfolio of work before we even decided to interview them. By the time they arrive in the room for an interview we should already be pretty sure they have the chops, we just want them to tell us that and then talk about how well they will fit in.
Beatrice Fanningtut - Fri, 25 Apr 2014 13:21:07 EST ID:r7z0mfho No.31624 Ignore Report Quick Reply
Thanks for practical comments.

I'll need at least one pragmatic and skilled analyst/programmer, and a couple intelligent and pliable juniors.

Reviewing a prepared piece of code is a great idea. Any suggestions for assignments?

> I usually just try to dig deep into their answers and get at the root of what makes them tick
I requested to partake in interviews for the same reason, but my manager has issues. I need to provide a question/evaluation structure for now, but hopefully I can work my way into second-round interviews.
Emma Greenway - Fri, 25 Apr 2014 15:07:16 EST ID:dUqCye/w No.31625 Ignore Report Quick Reply
>Reviewing a prepared piece of code is a great idea. Any suggestions for assignments?
Just tell them to bring whatever they think is their best work.

Just make sure someone from your team who will actually be working with the person on a daily basis is part of the interview committee at all levels. If there is no one like that on the group, be firm with your boss and get someone else (who is not you) from the team put onto the committee. Make it clear that the purpose of the person is not to act as a proxy for your views and ideas, but simply to assess the cultural fit of the person against the other people they will have to work with every day. This "fit" will make or break your team and should never be minimized. You can wreck an entire team of high-functioning professionals by throwing someone new into the mix who does not march to the same beat as the rest of the group.

cheap web hosting by Edward Sumblemat - Sat, 19 Apr 2014 18:14:29 EST ID:lQ4UY99C No.31569 Ignore Report Reply Quick Reply
1397945669539.jpg -(36712 B, 625x450) Thumbnail displayed, click image for full size. 36712
sup /prog/ressives,

my website is about to expire, what is the cheapest web hosting i can use to transfer the domain and continue to have it hosted?
1 posts omitted. Click Reply to view.
Hedda Snodcocke - Sat, 19 Apr 2014 20:46:55 EST ID:CmcHTLaD No.31572 Ignore Report Quick Reply
>vanity domain
Oh comcast.
John Blimmerdale - Sat, 19 Apr 2014 20:58:51 EST ID:T3FPGpDn No.31573 Ignore Report Quick Reply
Not used them myself though
Isabella Turveydock - Sun, 20 Apr 2014 22:30:56 EST ID:oYcIymyc No.31577 Ignore Report Quick Reply
Don't even bother with sketchy-ass old school webhosts. Just buy a VM off of Rackspace and put one of their Apache images on it. Its like 20 bucks a month if it doesn't need to sustain a heavy load.
Nell Bebblewill - Mon, 21 Apr 2014 03:12:48 EST ID:SVZjhRzL No.31578 Ignore Report Quick Reply
digitalocean is $5 a month
Hedda Narrybury - Wed, 23 Apr 2014 21:45:57 EST ID:i0HnKCVn No.31611 Ignore Report Quick Reply
I know of a cheap VPS provider, $19 a year.

You have to set the server up from scratch - but if you let me use the server too I would take care of setup.

Where would one aquire... by Eliza Wacklefoot - Tue, 22 Apr 2014 11:29:07 EST ID:JrHrmfns No.31596 Ignore Report Reply Quick Reply
1398180547278.jpg -(1109265 B, 1680x1050) Thumbnail displayed, click image for full size. 1109265
... a certain favour in exchange for some monetary gain? I have some C++ that I need doing and would be willing to financially help someone
Hedda Moblingspear - Tue, 22 Apr 2014 16:45:04 EST ID:jxsg/+mC No.31602 Ignore Report Quick Reply
and what do you need in c++?
Molly Wivingfot - Tue, 22 Apr 2014 17:42:57 EST ID:T3FPGpDn No.31603 Ignore Report Quick Reply
in b4 botnet or ad clicker.
Fucking Nishdene - Wed, 23 Apr 2014 09:46:41 EST ID:JrHrmfns No.31609 Ignore Report Quick Reply
it's mainly math work. I have a deadline and I'm struggling / can't do any of it

Password by Polly Turveyfield - Mon, 21 Apr 2014 22:51:37 EST ID:PXXGcU2l No.31588 Ignore Report Reply Quick Reply
1398135097667.jpg -(33980 B, 508x234) Thumbnail displayed, click image for full size. 33980
Hey /prog/ I recently downloaded a couple of rar files. Though after I downloaded it. I went to open the file and it's asking me for a password. Usually the places I get it from post the password there.

But this one didn't give me it. So I am asking what program should I use to go around it to get the contents.
James Cremmerhall - Tue, 22 Apr 2014 00:07:13 EST ID:VhfaVb0/ No.31593 Ignore Report Quick Reply
your internet browser of choice
David Claywell - Tue, 22 Apr 2014 11:45:48 EST ID:Cx+713pe No.31597 Ignore Report Quick Reply
There is also such a thing is a password cracker. Somehow it tries various combinations of letters for the password, and sees which combination(s) opens the rar. Don't ask me how it works or where to get one though, I don't have much to do with that stuff.
Clara Nushheck - Tue, 22 Apr 2014 20:32:54 EST ID:PofERWo/ No.31604 Ignore Report Quick Reply
could try to google the site with the file name or google just the file name, look for the same uploader for possible passwords that have been used before to unpack

Help getting started by Phineas Smallstone - Mon, 21 Apr 2014 14:01:43 EST ID:Yo0Mk6iH No.31581 Ignore Report Reply Quick Reply
1398103303254.jpg -(145508 B, 424x640) Thumbnail displayed, click image for full size. 145508
sup prog, I have to create a program in Java, C++ and either ruby or python (the last 2 i have 0 experience with) that can manage a medical complex. Heres my rough psuedocode:

Comment too long. Click here to view the full text.
Angus Diblinghane - Mon, 21 Apr 2014 14:16:52 EST ID:X8beLmOt No.31582 Ignore Report Quick Reply
I'm not sure what you want us to say. You don't explain the requirements for the project. What do they say?
Phineas Smallstone - Mon, 21 Apr 2014 15:09:45 EST ID:Yo0Mk6iH No.31583 Ignore Report Quick Reply
A medical complex is served by six physicians and their secretaries. Each day, the respective secretaries
monitor six queues of patients as follows:
  • When a patient checks in, he/she is asked to indicate which doctor he/she wishes to see.
-The doctor’s queue is checked to determine whether it is opened or closed. If it is opened, the patient is
added to the queue.
  • If the doctor’s queue is closed, the patient must try another doctor, or cancel the appointment for that day.
-Each queue is operated FIFO.

The overall running of the clinic is managed by a system coordinator. The main responsibilities of the system
coordinator are as follows:
-The coordinator periodically checks the queues and updates their status (open or closed) based on response
from the physicians.
-The coordinator periodically admits patients to different queues, based on demand.
-The coordinator periodically removes patients from different queues, when the doctor is finished with such
Comment too long. Click here to view the full text.
Dingleberry smith - Tue, 22 Apr 2014 03:01:02 EST ID:aE/WIEWJ No.31594 Ignore Report Quick Reply

Both python and ruby are incredibly simple, in various ways.

I think you will most enjoy python instead of ruby if you have a choice, they both
strive to be simple to use, but I think python hits home harder in the "Plain english" department.

humor me by Betsy Hondleman - Mon, 14 Apr 2014 00:11:35 EST ID:0CTnmH4i No.31515 Ignore Report Reply Quick Reply
1397448695200.gif -(637731 B, 320x240) Thumbnail displayed, click image for full size. 637731
this is what my html looks like

<!DOCTYPE html>
<title> this is poop</title>
<link href="css/styles.css" type="text/css" rel="stylesheet" />
<p> this is a type of tater tot or some kind of carrot we can be sure 100%</p>

this is where my link element should put in my separate css document but it just comes up with the actual programming
Comment too long. Click here to view the full text.
2 posts and 1 images omitted. Click Reply to view.
Betsy Hondleman - Mon, 14 Apr 2014 01:53:42 EST ID:0CTnmH4i No.31518 Ignore Report Quick Reply
1397454822200.jpg -(18184 B, 474x458) Thumbnail displayed, click image for full size. 18184
nvm i got it thanks i had the file on the desktop i'm tatred
Edward Buzzfield - Mon, 14 Apr 2014 10:11:36 EST ID:CmcHTLaD No.31523 Ignore Report Quick Reply
Welcome to the wonderful world of troubleshooting.

Keep practicing though, it's the best way to learn.
Sidney Honeyville - Fri, 18 Apr 2014 19:32:16 EST ID:FwWI58Kh No.31562 Ignore Report Quick Reply
op are you in my CIS 121 course?
Nicholas Hissleman - Mon, 21 Apr 2014 23:46:40 EST ID:pWvcE/4j No.31591 Ignore Report Quick Reply
i dont have a class mayne
Nicholas Hissleman - Mon, 21 Apr 2014 23:47:03 EST ID:pWvcE/4j No.31592 Ignore Report Quick Reply
not taking as class

The Tranny Project by Betsy Niggerhood - Wed, 09 Apr 2014 12:00:39 EST ID:L9Fr0X8y No.31464 Ignore Report Reply Quick Reply
1397059239131.jpg -(89213 B, 605x688) Thumbnail displayed, click image for full size. 89213
I am writing to tell the world about my software project, The Tranny Project. It is:
  • A programming language that expresses how a language works (its grammar, syntax, morphology etc, as well as its vocabulary and idiom)
  • A set of interpreters for this language
  • A runtime library for any application
  • An ontology

The idea is that a set of rules can say in what way(s) a given language renders some meaning (or, if you prefer, it can describe what a sequence of characters means). This set of rules can either be used to transform a sentence to its meaning(s), or a meaning to a sentence/sentences.

With several sets of rules like this, one for each language, it is trivial to write a computer program that translates a text from one language to another, unrelated language, or that checks grammar or that takes instructions from the user in any one of the languages. Any of these things become possible with only a small amount of effort, because the language is already described by the rules distributed with libtranny.

What advantage does libtranny have over other projects like Google Translate or Babelfish? Well, their tactic is to use some clever mathematical and statistical tricks. And they appear to make a legible translation in one step. Others use a rule-based technique to do the same thing (again, in single step) But the Tranny Project has the tactic of documenting syntax and grammar in a machine-readable form. This means that it will be possible to parse a sentence, giving its meaning, and then generate a new sentence that has the same meaning. This treatment of meaning means that a particular one can be chosen for being the best or for fitting some context, etc. (You can draw an analogy to single-phase versus multiple phase compilers). And this treatment of rules means that, in theory, the generated sentence will be grammatical, even though it accepts ungrammatical input.

Another way this can be used is by taking a text input from the user, the meaning can be derived and treated as an instruction (but the user's input was in the user's language!). Seems perfect for those text-mode adventure games, or imagine a database where you can say in your own language, "Give me a young, petite brunette with green eyes."

Obviously, this can be used for grammar and spell checking too (and with less effort, since documenting the language is being done upstream.)
Comment too long. Click here to view the full text.
12 posts and 1 images omitted. Click Reply to view.
Rebecca Murdham - Fri, 11 Apr 2014 09:25:21 EST ID:L9Fr0X8y No.31497 Ignore Report Quick Reply
1397222721774.jpg -(55379 B, 605x454) Thumbnail displayed, click image for full size. 55379
>Would it be able to recognize the congenial tone of a sentence like:
>"Fuck off!" he drawled with a grin as he comprehended my mischievous pun?
(Excepting the fact that direct speech hasn't been dealt with yet) "It" will not recognise that. But a program may be written that examines the meaning, and guesses that congeniality and grinning go better together than for example fury and grinning. And that can go ahead and assert the "tone" variable to the value "congenial":

This is how to do that:
(into quote language (tone congenial))

(into quote) is the instruction to enter some scope and do something in there
(language ...) is the instruction to assert some variable and maybe value in the namespace called "language".
(tone congenial) is of course the variable paired with its value.

And there may be many definitions of "fuck off" in the English dictionary, each one with its own meaning, each one asserting some value for "tone" in the language namespace. So, when you assert the tone value again, essentially you are selecting a range of meanings for "fuck off", because every monad where "tone" is not "congenial" will die.

I hope what I am saying makes sense. Ask away otherwise.
Rebecca Murdham - Fri, 11 Apr 2014 10:14:03 EST ID:L9Fr0X8y No.31498 Ignore Report Quick Reply
>Natural language isn't context-free. For example, pronouns are often context-sensitive. A translation from English to Japanese may require a pronoun to be replaced by a name or descriptive reference.

That's right. For this reason, in the near future, I am going to set something up that can remember and recall positions in the meaning that's been generated. Then, when a preposition is being chosen while generating a sentence, the anaphora can be recalled and that can guide the choice of pronoun. I don't know if this disqualifies the grammar from being CFG (but a CFG may still be expressed in Tranny).

The example that got me thinking about needing to do this, is that the English say "it" to refer to a woman's dress (third person neuter singular) and the Czech say "ony" to refer to the same thing (but this is third person masculine plural). The idea is then that the definition of the English pronoun "it" will include some function to look up some reference to any mentioned noun which satisfies the requirements that it is not human, not plural, etc).
Hannah Worthingdock - Sun, 20 Apr 2014 20:40:36 EST ID:oBwzzKeU No.31576 Ignore Report Quick Reply
Your __list_tokeniser function looks a lot like the tokenizer in my old scripting language. Except instead of C++, yours is C, and prone to buffer overflows. Why did you choose C over C++?
Nigel Billinglock - Mon, 21 Apr 2014 06:59:15 EST ID:Cx+713pe No.31579 Ignore Report Quick Reply
I am comfortable with C. I know it quite well because of a few other projects I've done in the past. Well, I like lean things better in general. Now, after working on this for some time, I have come to consider that C++ has some good stuff to offer, that I could have taken advantage of, but I didn't rewrite my program because of that.

How did you find reading my code? It's the first time I have made anything of mine public, and I don't know how my code reads.
Priscilla Winnerbury - Mon, 21 Apr 2014 10:37:18 EST ID:MR1ETFbS No.31580 Ignore Report Quick Reply
Code is always ugly, especially when it's someone else's. Accept it and move on.

i have no idea what i'm doing by Polly Brummlecocke - Wed, 02 Apr 2014 23:41:45 EST ID:ZO70sZUV No.31411 Ignore Report Reply Quick Reply
1396496505018.jpg -(737862 B, 1681x1681) Thumbnail displayed, click image for full size. 737862
sup /prog/
former br/opi/ here, long story short i'm getting contracted to make a program to replace one that is currently in use. it's general purpose is getting customer information to a dispatcher to a driver. the driver would be receiving details via android based app, customers would be inputting via computer or email extracted data, and dispatchers would be using a mixture of the two.. i have 0 formal training in programming, and experience is "eh" at best, being the closest thing i did was create some firmwares for ipodwizard back in middle school.
from what i can see, what it would actually do isn't all that complicated. there's no hurry to get this done, but once finished i'll get paid /rather/ damn/ well/, and get paid even more if it handles accounting/books side of it as well.
not to mention sales if i write it from the ground up/own it/etc and sell it to some friends, who would be more than happy to have something like that tailored to their needs as well as $$$ to spend on it.

so. the question is: should i attempt to handle this through a website app? or should i have a dedicated windows program? also any general suggestions, where to start, etc would be very appreciated. obviously learning to create an android app is required, but i feel like that is more simple than the other parts.
8 posts and 1 images omitted. Click Reply to view.
Cyril Fanhood - Sat, 05 Apr 2014 16:40:39 EST ID:SVZjhRzL No.31446 Ignore Report Quick Reply
Is this for a drug delivery line lol?

If this is legal, just tell these people to install Textsecure. Customer contacts dispatcher with Textsecure (iOS/Android) to place order (or fills out a form, or phones it in) then you just send the order to the driver via Textsecure, which is now totally data and similar to WhatsApp so can have a group chat open of drivers to talk and dispatch. You can use Digital Ocean or even Google App Engine to host your form w/SSL, or modify the textsecure fields to make it a form instead of freetype.

That would work for a legal biz, if this is some sort of shady drug delivery line then you'll need something totally different because cops will be all over it.
Ernest Hullerbury - Sun, 06 Apr 2014 18:21:46 EST ID:4wql24nm No.31452 Ignore Report Quick Reply
OP, this is kind of hard, but it's still within the realm of doable.
Don't listen to these guys OP.

So let's scope this problem OP, it sounds like you are making a info fetch software.
GREAT! This is fucking easy as shit to do in Java.
Make an app, as webapps are actually pretty tough to make and keep secure.
Samuel Worthinghall - Mon, 07 Apr 2014 04:03:47 EST ID:ZO70sZUV No.31456 Ignore Report Quick Reply
>is this for a drug delivery line?
no. hypothetically speaking this method of information relay would actually be inefficient for transporting narcotics to customers. PTT and phone orders would have been the standard at recieving and distribution levels, at least in my hypothetical local market, since the early 2000's. but i wouldn't know anything about that.

textsecure looks viable, depending on customers tendencies to place via phone rather than computer.
thanks for the input guys
Eliza Tillingway - Mon, 07 Apr 2014 20:35:48 EST ID:U2tcKhxO No.31458 Ignore Report Quick Reply
it sounds like your company should invest in paying for some real enterprise software instead of relying on an amateur with 0 experience like yourself to build something from the ground up. This is a mission critical application that will affect the bottom line, its not somewhere to fuck around with "oh i can figure out how to do this i r smart"

the company I work for uses Comet Tracker by Actsoft to handle dispatches and workflow. I'm sure there are plenty of alternatives but its the only one i've used and can speak for.
Jack Poshstone - Sat, 19 Apr 2014 13:08:10 EST ID:ssOAU605 No.31567 Ignore Report Quick Reply
Take your current time estimate. If you were experienced it would take twice as long as you think, average experience 4 times. You're a straight up nub, so closer to 20 times what you expect right now. I won't tell you not to do it, however I want to give you an idea of a realistic time table.

If you want to write this from scratch I recommend this java stack, because you're learning java anyway for the android stuff. jax-rs/jax-ws, jboss web app server, j2ee back end. Maybe using hibernate instead of entity beans, spring instead of j2ee if your feeling fancy and learn you love annotations. Also read up on SOA, MVC design patterns, and basic relational database normalization.
Write out a plan, make sure it matches requirements, then divy out the time for each part, I recommend an agile methodology break it into sprints.

Accept that this is too much shit to learn on a first major project, and do research to find pre-made software that fits various roles. That would be the smart thing to do even if you did know all that shit.

Steve Jobs never wrote code by Isabella Dagglefuck - Fri, 30 Aug 2013 05:35:24 EST ID:RM/oSxGh No.29550 Ignore Report Reply Quick Reply
1377855324703.gif -(1656050 B, 500x307) Thumbnail displayed, click image for full size. 1656050

13 posts and 2 images omitted. Click Reply to view.
Samuel Dumbleworth - Tue, 11 Mar 2014 18:24:00 EST ID:w2M44Jhc No.31193 Ignore Report Quick Reply
implying Gates will die
Edwin Bronnerson - Tue, 15 Apr 2014 22:31:37 EST ID:WHX3S+3y No.31531 Ignore Report Quick Reply
Wait... Steve Woz never wrote a line of code? I'm a PC/GNU fag, and I still find that hard to beleive.
Edwin Bronnerson - Tue, 15 Apr 2014 22:31:58 EST ID:WHX3S+3y No.31532 Ignore Report Quick Reply
Edwin Bronnerson - Tue, 15 Apr 2014 22:44:09 EST ID:WHX3S+3y No.31533 Ignore Report Quick Reply
Thank you for that suggesstion. Watching the movie now.

Free stream here if any other brothers want to watch.
Cyril Cheppergold - Thu, 17 Apr 2014 19:43:19 EST ID:SVZjhRzL No.31560 Ignore Report Quick Reply
Yep, it's about knowing who to hire. For example there's a reason OpenSSH has lasted this long with minimal problems. Theo de Raadt of OpenBSD went around the world and rounded up some of the best cryptographers in the game and worked with them on it.

Same goes for some so-called "superhackers" that are in prison right now. All they did was organize teams to do their bidding, and knew the right people to hire because they had extensive knowledge of what was required to break into shit they wanted. Albert gonzales was one such guy (now doing double digits in US fed).

peeing program by Nell Blemmermodge - Mon, 07 Apr 2014 19:19:46 EST ID:5S1h5AHo No.31457 Ignore Report Reply Quick Reply
1396912786387.jpg -(2301863 B, 2919x1960) Thumbnail displayed, click image for full size. 2301863
let's right a program to go to the restroom if you are circumcized, we each write a few statements, available functions are:

pullBackForeskin(int foreskin, int length)
pee(long double pee)

int main()
if (circumcized)
pullbackForeskin(int foreskin, int length)
Martin Shittingbanks - Tue, 08 Apr 2014 15:48:44 EST ID:CjiZuQru No.31461 Ignore Report Quick Reply
Use polymorphism to define two penis classes, one with and one without a foreskin and write specialized functions so the need of an if(circumsized) is no longer needed. In order to allow reuse of existing code we could abstract away the blatter into a separate class which knows how full it is and empty itself.

Also, your functions make no sense at all. An int foreskin parameter? What does that even mean?
Basil Sunningman - Mon, 14 Apr 2014 23:46:38 EST ID:BX3N/DvF No.31527 Ignore Report Quick Reply
1397533598611.jpg -(73457 B, 450x319) Thumbnail displayed, click image for full size. 73457
Thomas Gooddock - Tue, 15 Apr 2014 01:59:01 EST ID:gpyECHx+ No.31528 Ignore Report Quick Reply
while i agree with the class hierarchy proposed
i doubt an auto-emptying design is desirable
Martin Simbleteck - Thu, 17 Apr 2014 06:44:22 EST ID:Xxs5uzv9 No.31550 Ignore Report Quick Reply
lets abstract it even further, so we can use a class to model time vs volume/pressure in some kind of differential equation. When the bladder is more full, and thus exerts more pressure, we can scale a timer to generate interrupts to trigger some kind of brainfunction-descisionmaking mechanism.

So we'll need a bunch of classes to abstract a couple of brain functions. A sleeping or drugged out brain in combination with a full bladder might increase the chance for auto-emptying.
Augustus Hocklefuck - Thu, 17 Apr 2014 16:11:40 EST ID:0Yy8tfXj No.31558 Ignore Report Quick Reply
1397765500679.gif -(232238 B, 200x200) Thumbnail displayed, click image for full size. 232238
No no no.

We need a Urinate Monad, because peeing may have side effects (staining, splashing, etc). So we can then bind like this:

(>>=) :: Monad m => m a -> (a -> m b) -> m b
where Pee can be an Applicate also

foreskin s | circumsized = pee
| otherwise = pullback >>= (\x -> pee)

and then

pee <*> foreskin <*> pull

it follows the 3 monad laws
Comment too long. Click here to view the full text.

python PATH by Emma Donningdat - Thu, 17 Apr 2014 14:58:02 EST ID:Ky+8GJE7 No.31554 Ignore Report Reply Quick Reply
1397761082526.jpg -(94351 B, 700x465) Thumbnail displayed, click image for full size. 94351
My Python installations got fucked up somehow, I couldn't get Python 3.4 to run from command prompt, so I removed all of my installations and reinstalled Python 3.4, but it says 'python' isn't recognized. So I added the path to PATH in environmental variables, but I guess that wasn't enough.

Is there a quickfix for 'python' not being recognized as a file/command?
James Dibblewater - Thu, 17 Apr 2014 15:21:21 EST ID:2PLGUfus No.31556 Ignore Report Quick Reply
Have you tried ls|grep python on /bin, /usr/bin or any other ones where binaries might exist on your system?
Oliver Duckcocke - Thu, 17 Apr 2014 16:01:58 EST ID:I31z+CiS No.31557 Ignore Report Quick Reply
Is there a python.exe in the folder you added to the PATH environment variable?

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