« first day (1711 days earlier)      last day (3577 days later) » 
00:00 - 18:0018:00 - 00:00

user114359
18:05
Needs votes:
user114359
0
Q: PHP curl HTTPS SOCKS5

Mr.Tr33I'm trying to visit an SSL 1.2 HTTPS Page through a SOCKS5 Proxy with PHP + cURL. The problem is, that I can't get an response from the page. This is my code till now: <?PHP error_reporting(-1); ini_set('display_errors', 'On'); ini_set('max_execution_time', 0); $t = new test; $t->changeIP("91....

@Snowman Been out for 17 hours
18:21
@Telastyn this is the current instance. You have to seed the recursive function with something, so you start where you are.
On subsequent recursive calls, you pass only part of the tree, not all of it.
        Traverse(this,
            x => { s.AppendLine(x.ToString()); }
        );
Poll the room: professional summary at the top of resumes?
Anyway, I went to the Wikipedia article on tree traversal, and figure out that you can simplify it to this:
        public void InOrderTraverse(Tree<T> tree, Action<T> Visit)
        {
            if (tree == null)
                return;

            InOrderTraverse(tree.Left, Visit);
            Visit(tree.Item);
            InOrderTraverse(tree.Right, Visit);
        }
@durron597 I have one at the top of mine.
user114359
@durron597 Yes, as long as it is very concise.
@RobertHarvey My girlfriend is telling me to take it out, she says I need the whitespace more than I need that line
She says it's redundant
What does the line say?
18:25
I'm mostly asking here because I'm wondering if it's a difference in industries (she's a lawyer)
> A highly skilled, fast learner; interested in clean, well encapsulated, extensible, SOLID and DRY code. Able to manage all portions of the build cycle including development, testing, building, and deployment scripts.
Accomplished Software Engineer, motivated self-starter requiring minimal supervision with the ability to solve complex problems and collaborate effectively with stakeholders and team members. Strong background in data-driven, line-of-business applications and aerospace systems.

* Developed and maintained software for the automation and real-time operation of two NASA flight-control rooms and associated systems.
* Key player in the design and development of a profitable, customizable line-of-business application, the core product of a company that doubled its revenue during the recession.
Okay, so that's a lot more than one sentence.
I'm doing a 1 page resume though.
How much experience do you have, in years?
@durron597 I added a summary like yours as well
I have 4-5 years so there isn't much to add
I think that one-page resumes are dead, especially with LinkedIn, various application software packages, and Stack Overflow Careers.
18:27
@RobertHarvey All programming or just relevant programming?
I did VB6 for a couple years, for example.
The whole electronic thing breaks pages.
@durron597 If you did VB6 and had more than one job, it won't fit on one page.
One page resumes are a myth.
@ThomasOwens This is for an interview that I already have, they just want a resume as a reference
@RobertHarvey Maybe for a recent college grad with no work experience they aren't.
And, I'm not going to massively add stuff to it now.
18:28
@durron597 Then they won't care if it's two pages long.
I no longer maintain a Word copy of my resume. I only have LinkedIn and SO Careers. If someone needs a PDF, I dump it from one of them into a PDF.
@RobertHarvey I took so much stuff off of it already.
I don't think the one page resume is a myth
everyone I've seen with a multi-page resume has been awful
@whatsisname Ding
The one page myth derives from employers and recruiters sifting through resumes and shit-canning 99 percent of them. The belief is that, if you can cram everything on one page, it might actually prevent the employer from dumping it into the circular file.
Guess what? It doesn't work.
18:30
people that have actually known their shit have a one page resume because they don't need to fluff themselves
@whatsisname Ding.
@RobertHarvey I'm sure someone like Vint Cerf, Steve McConnell, or Martin Fowler can get away with a one page resume. They could probably each have a one or two line resume and get a job.
If anything, do a one page resume, and a multi-page portfolio with screenshots, blurbs about things, and whatnot
Steve Jobs could have "Iphone dawg" and get hired
@ThomasOwens, do you have industry experience not related to computer science added to your carrers profile?
@André Everything is on my SO Careers profile.
user55340
@Snowman here is another hard code puzzle
user55340
16
Q: Race of the Digits

randomraYou should write a program or function which given a starting order of distinct one-digit positive integers and the length of the track as input outputs or returns the finish order of the numbers. The input [5,1,2,6,7] and 14 defines the following race: -------------- 76215 -> -------------- ...

But then again, every job that I've ever had is somewhat related to software.
@whatsisname thanks, I almost wasted a CV on that
user114359
18:35
@whatsisname fire another salvo:
user114359
It's such a shame to see people waste so much time on a job hunt detail that doesn't matter.
I have worked with computer maintenance and office support, wonder if I should add to that, if that actually adds anything to a programmer job application
user114359
I tailor a resume to the job position. I reorder stuff, reword, focus on different things as appropriate for the position.
user114359
I may even omit stuff if it is not relevant to the job and the resume is too long.
18:37
target was destroyed before I could launch missiles
user114359
I am out of missiles until 8 PM :-(
@Snowman: well I think everyone agree with that
pretty much the only argument against that is laziness, which admittedly is a significant argument
that, and if you haven't had a job before there's not very much to rearrange or rephrase
though even I managed to find some stuff to tweak between applications during my job hunt
like emphasizing my double major in economics more when applying to the financial software company
user55340
I've always had to reorder language proficiency. Want Java? Ok that's first. Perl shop? Ok...
@MichaelT For Java I specifically put various tools on their own item. I have used this library and that library and this other library
18:45
I don't know what I would do if I had to go on the job hunt again
Sorry, this is not how this site works. You are trying to take advantage of others trying to assist and help where fellow programmers run into problems the cannot solve themselves. Just being lazy and expecting from others is pretty bad style. Sorry, but you really should think a little about if your expectation of others doing your work for you is such a great idea. — arkascha 48 secs ago
i'd probably hassle all the people I've worked with first
If you're asking about how to design a program, I would probably try programmers.stackexchange.com. Since this is the dining philosopher's problem, you might try cs.stackexchange.com, although I'm not active there. As far as finding Java tools for concurrency, a Google search will reveal some good Oracle documentation. If you come into a specific problem, such as threading issues while using an Executor, that would be fine to post here at StackOverflow. — RustyTheBoyRobot 23 secs ago
user114359
@MichaelT that is an interesting problem
user55340
Heh. Tag scores on code golf for me: popularity contest: 558. Underhanded: 553. Math: 553. Next highest: code golf: 1
18:49
@MichaelT That's like my StackOverflow profile. Why are [exception] and [nullpointerexception] my top (non Java) tags?
user55340
@Snowman look at my favorites on code golf for the ones I'm going to puzzle for at some point.
This question would be off-topic at Programmers too: we have the same close reason for requesting an off-site resource. Please read: What goes on Programmers.SE? A guide for Stack Overflow. — Snowman 22 secs ago
@Snowman so do you like your new stackapps toy?
user114359
@durron597 I haven't set up any canned responses yet
@RobertHarvey - right but you can call Left.Traverse(action) rather than Traverse(Left, action)
@durron597 - I do it because resume things suggest it. As someone who reads resumes, it's nothing but an opportunity to have bad spelling/grammar.
19:02
Abby T. Miller on May 11, 2015

Welcome to Stack Exchange Podcast Episode #64, recorded in the podcast studio at Stack Exchange HQ in New York City, NY. Our podcast today is brought to you by string cheese! (It can be eaten by pulling strips from the cheese along its length and eating those strings.) Our hosts are Jay Hanlon, David Fullerton, and Joel Spolsky, joined today by guest Roberta Arcoverde.

Roberta is visiting NYC on vacation, and she’s obviously doing a terrible job taking time off because here she is at work. Roberta joined the team in March 2014 and has been working on Careers ever since. She’s curren …

@Telastyn I ultimately decided it doesn't matter that much because I already have an interview.
So I just sent it.
I also made a joke about not knowing whether one page interviews are en vogue in my email
Jokes... I try not to make them until I know someone. People don't get my sense of humor sometimes.
Those recruitment sites... "Show us you're personality!" Yeah, you're really going to get to see that in a cover letter.
what was I going to do just now
@Telastyn The only real advantage to passing around a Tree<T> is you can call it on an arbitrary subtree, if you want to.
user114359
@whatsisname make yourself a sandwich?
19:06
'Course, I guess you can do that your way as well.
@RobertHarvey Well I already passed the initial phone screen
"Oh sorry we're going to cancel your interview because you made a joke in an email"... I doubt it.
Unless it's like, "yo mama so fat, when she jump... she get stuck!" that might not go over so well.
I've become quite paranoid about such things.
    public IEnumerable<T> AsIEnumerable()
    {
        InOrderTraverse(
            x => { yield return x; }
        );
    }
"The yield statement cannot be used inside an anonymous method or lambda expression"
Bummer.
yeh, I'm just used to instance methods being required to use this
if you have a multithreaded android app does the android studio debugger become totally useless or something?
19:26
no idea.
user55340
19:53
Let's toss this into the close vote queue:
user55340
4
Q: Astronomy and Cosmology Computing?

PheliosI'm wondering if there is any course in University or anywhere else or probably company that has a department for Astronomy and Cosmology related computer science (I know NASA will need one). I would like to know how much demand or popularity of this field of programming. Where else will this fie...

user55340
Unless a mod gets there first and closes and deletes it.
user114359
@MichaelT I'll just keep that tab open for another four hours :-)
user55340
Well... All I've got left are comment votes.
still has 10 questions with 0 cvs on them.
20:15
@durron597 I believe I have now CV'd every question that is neither closed nor locked
@Ixrec Sweet, I'll review them in 4 hours.
user55340
@Snowman here is a meta post for you:
user55340
82
Q: J and GolfScript suck all the enjoyment out of Code Golf

TimwiI have found code-golf a fascinating pastime for several weeks now. However, I’m already losing interest because the contests allow any language, and because of that it is pretty much impossible for anything other than J or GolfScript to get anywhere close to winning. As soon as I see a less-tha...

hopefully I didn't go overboard and miss an on-topic question, but none of them looked like the sort of question we'd welcome if it simply had that tag edited away
user114359
@Ixrec I find that the question age is the key. Older questions tagged with anything education-related tend to be off-topic, while newer questions with those tags are more likely to be editable to be on-topic.
20:22
@MichaelT I upvoted that question 1 year ago yesterday.
@MichaelT I thought in codegolf, the poster creates the rules; ergo they can dictate languages if they so choose?
@JimmyHoffa You're likely to get crying and downvotes if you ban golfing languages
codegolf is dumb, even for non-golfing languages.
user55340
@JimmyHoffa you could, but those are boring and often are "my homework is challenging- do it for me"
user114359
@durron597 I upvoted it one minute ago.
20:25
@durron597 ?? I thought the whole point was the challenge, any crying I would think would come from people who aren't big in the community. I think it's the challenge that attracts people, and challenging people to compete on an even keel would be more challenging than telling them all "If you know golfscript you get a handicap"
Wouldn't expect you to get a gripe from folk
Really the big problem is that they don't have a culture of upvoting for cleverness, they have a culture of upvoting for competitiveness.
user55340
@Telastyn it has a history and reason (fewer cards, shorter tape). One could say the same of fencing as a sport... It's reason is long gone, but there is a challenge to it as a sport.
@Telastyn it's silly, but it's a game; more so than the rest of SE. A game that attracts coders who like a challenge to compete on.
user55340
@durron597 code golf culture > puzzling culture.
@MichaelT are, but no reason you couldn't go through and snip some of the best ones and challenge folks to golf them in a given one or two languages. Perl vs. Python Go! or some such
20:27
The other problem is that you want as many people to participate in your question as possible right?
user55340
@JimmyHoffa that was the old code golf on so. And perl kept winning. Then j and golf script. I haven't seen golf script in awhile.
@durron597 not anywhere else in SE
If you banned, say, Java from a question, I would not be able to compete.
@JimmyHoffa Code Golf is not like other Stacks.
@durron597 oh we're totally fine with you not being able to participate... goodness that would be just A-OK, trust me.
;P
user55340
And then there is that esolang apl that keeps winning.
20:29
@MichaelT so why not let the people compete instead of the languages ? Say the solution must be in C# or whatever and see who comes up with the shortest implementation for that
just make all code golf problems be in C, the lingua franca
user55340
My golf philos is against languages in the same heat. Not everyone who runs the Boston Marathon is in the "will be one of the top 100 in time" so what.
@MichaelT - it's like nutkicking is a sport. I mean, you could argue there's challenge in it, but it encourages bad habits.
20:30
it's common for people to post comments helping to golf away a couple extra characters, so a one-language challenge would turn into everyone shaving one byte off the current best answer
I think that would be worse than the current site, though I suppose you could argue that both ways
user55340
@Telastyn if you are using golfing style in day to day code, golf isn't going to hurt or help you - you've got bigger problems.
but the entire mindset that less code is better is antithetical to good coding.
user55340
@JimmyHoffa if you post a C# answer then you will have people cheering for that. Remember also not all questions are golf.
some of their best questions are things like "do something cool in your language"
@Ixrec that's because it's structured as a language competition, if people had a better way to do it in the language the Q was force to be written in, they would write an answer that's better. It would be totally anti-FGITW which would be an interesting reversal forcing the first poster to try and be as perfect as possible, or else others would copy and tweak their answer.
20:34
less code often is better though
user55340
The ones I am most interested in are much more than golfing. That tree problem that is out there now. While described as golf will have solutions in the hundreds of bytes.
not to golf-level absurdity though, but more code is definitely not better
simpler solutions are often better. less code rarely is.
let's all argue about what "less code" means =)
@Telastyn true, but that exact statement is used to prop up arguments against strawmen where people show obfuscated golfed up code and say "See! We should make our code as bloated as possible, see what short code does!"
20:35
meh, I have somewhere to be irl. bbiab.
ergo; I hate you for holding the argument strawmasters use.
let's distinguish between the verbosity/terseness of a piece of code and the actual complexity of logic it expresses
when "less code" is achieved through reducing complexity, that's a win, when it's achieved through making the existing complex logic more terse, that is not a win
@Ixrec see, your argument doesn't fit on a sign, it loses the argument. You need a slogan, like "If the code don't fit, you must acquit"
and this is why I hang out on a site that has a minimum byte count for all posts
user114359
user114359
20:42
What about a code golf where the scoring criteria is "write two programs, one in GolfScript|J|APL and the other in Java|C#|C++. Your score is the average of the two."
user55340
@Snowman you are missing that I'm perfectly happy golfing perl or dc or Java by itself and competing against (in my mind) Python, apl, and C#.
user114359
@MichaelT I mentioned that as my own idea, not because of anything anyone else said. Diversify. I have seen golfs where multiple languages were combined.
user55340
That's the game that cjam and pyth play with each other. And the BF people just try to solve it.
I suppose we could organize languages into wrestling-style tiers and have each golf puzzle be tagged as or
2
user55340
That would be an interesting meta discussion there.
@JimmyHoffa =)
user114359
@Snowman now that sounds amusing
user114359
How big can you make your program where every character contributes to the solution?
user114359
20:54
well, work is done and I'm getting interested in codegolf.stackexchange.com but I am interested in PS4 more. See ya after the CVs reset!
@Snowman "Input should be an integer ... Output is in British English." these people are brilliant and loopy in equal measure
user55340
@Ixrec there is fun with counting in English on that side of the pond.
I've lived here for a year and I've never heard anyone use milliards
user55340
The long and short scales are two of several large-number naming systems for integer powers of ten, that use the same words with different meanings: Long scale: Every new term greater than million is one million times larger than the previous term. Thus, billion means a million millions (1012), trillion means a million billions (1018), and so on. Short scale: Every new term greater than million is one thousand times larger than the previous term. Thus, billion means a thousand millions (109), trillion means a thousand billions (1012), and so on. For integers less than a thousand million (< 109...
user55340
I've often heard thousand million in British science documentaries.
21:50
Cool stuff:
    public static IEnumerable<T> InOrder(this ITree<T> tree)
    {
        var stack = new Stack<ITree<T>>();
        for (ITree<T> current = tree; current != null || !(stack.Count() == 0); current = current.Right)
        {
            while (current != null)
            {
                stack.Push(current);
                current = current.Left;
            }
            current = stack.Pop();
            yield return current.Item;
        }
    }
@Snowman this is AWESOME
It turns out you get a whole lot more flexibility with generic types if you're willing to pass everything through a class interface.
Presumably because you defer all type decisions until you actually construct a concrete object.
Kinda nice having an HR manager tell you that you seem pretty professional and that you will be successful
Hello Duga... I mean, @Ixrec
21:57
@Ixrec A blue name could just edit my chat.
I was going to do it when Teaching got zeroed.
@enderland awesome
@durron597 done
cool
I think it's silly that blue names can do that but room owners can't.
blue name > room owner
21:59
I think chat is a feature that was the "do it shipped" over the "do it right" perspective :P
With any luck I'll have a blue name in a couple weeks and then I can stop whining about it.
I thought blue name and owner were the same thing...
<-- italic name. owner.
@durron597 what site?
Blue name = diamond anywhere on SE
@enderland Mythology private beta
22:00
oooh fun!
Yannis is a lock for mod, but I think it's more likely than not I'll get one of the others.
@enderland You should join, it's more fun than a barrel of monkeys
I love early beta stuff.
I don't think that [magic-plant] is a very useful tag. Nobody is an expert on "magic plants". — senshin Apr 28 at 17:34
I love how I can get away with asking anything if I claim it's an "experimental" question to "test site scope"
user55340
Monkeys are a mythical reference to the attempt by Hagbard to retrieve them for a challenge by Loki. Unfortunately the monkeys escaped the barrel and took over the ship. Getting them back in the barrel was great fun. And thus the origin of the phrase.
@Ixrec Get away with? It could very easily be heavily downvoted.
@durron597 and yet it never is
22:10
@Ixrec Unless it's about Xenu.
senshin did that one for me
user55340
@JarrodRoberson given how many built in functions are in php, I'm sure there's a becomeSentient method somewhere in there... just no one has been brave enough to invoke it yet. — MichaelT 1 min ago
@MichaelT PROLOG
22:42
Haha oh wow
@MichaelT Delete vote eligible now
22:59
@MichaelT At my first job in the mid 80's, they had an MAI BASIC FOUR machine, running SMC's database program called IDOL and a few applications. It was all written in Business BASIC, a dialect containing a few hundred three-letter functions, like IDX() which referenced a btree index on a table.
It was actually quite fascinating. It was all procedural; subroutines but no classes.
The hard disk drive looked like a washing machine. It took those disk packs that looked like a covered stack of dinner plates. You lowered it into the top, spun the handle on the cover a few times, removed the cover, closed the lid, and pressed the START button. It took about 90 seconds for the platters to come up to speed.
user20683
@RobertHarvey 200 MB, that's a lot of space
It was back then. The disk packs they used at this place were smaller, maybe 4 platters @80MB. Everything ran on Business Basic, even the operating system.
@durron597 I already spend WAY too much time with SE as it is
23:42
@Ixrec I don't understand how that person thinks they can make a spellchecker without anything to compare to
me neither
human languages just aren't built that way
the other two new ones seem like they're just missing too much information for me to tell if they're answerable or not
00:00 - 18:0018:00 - 00:00

« first day (1711 days earlier)      last day (3577 days later) »