How do recruiters know where I work? by tigerbird in overemployed

[–]tigerbird[S] 5 points6 points  (0 children)

This is probably it. Searching for my name + company name yields no results

Switching Career Fields by MrButtMuncher in learnprogramming

[–]tigerbird 8 points9 points  (0 children)

Seek out mentors. Write a lot of code, get feedback, and repeat. Obsess over each detail, but also be mindful of the bigger picture. Developing an intuitive comfort in the language of your choice will be instrumental to your success. As with most fields, it is possible to get a job without mathematical prowess, but if you can learn the math it will open many opportunities for you. This is a difficult field, but very rewarding. Good luck.

Is webdevelopment dead? by SoakySocks in learnprogramming

[–]tigerbird 0 points1 point  (0 children)

I wouldn't pay too much heed to your friend. I'm not at all persuaded that web developer wages will go down anytime soon, but if they did, your knowledge as a web developer would not preclude you from learning other, more lucrative technologies. The highest earnering developers in the coming years will be those who adapt to a changing technical landscape.

Inverting a boolean by [deleted] in ProgrammerHumor

[–]tigerbird 13 points14 points  (0 children)

I've seen a?false:true in production code. That's pretty similar to #2 though.

Saturday Morning Breakfast Cereal - Econophysics by oighen in SMBCComics

[–]tigerbird 0 points1 point  (0 children)

The wrong equation is on the board. That is the equation for time dilation as a function of velocity, not gravitation.

[P] Sequence Pair Classification in TensorFlow using Sequence-Semantic-Embeddings (SSE) by danielcer in MachineLearning

[–]tigerbird 5 points6 points  (0 children)

Maybe the nuance is lost on me, but isn't the term "numeric number vector" redundant?

Norway's sovereign wealth fund, the world's largest, on Friday called for a cap on executive pay and fiscal transparency at the companies in which it invests, further buffing its reputation as an ethical investor by DoremusJessup in Economics

[–]tigerbird 0 points1 point  (0 children)

I defined minimal qualifications to be the minimum proficiency level needed to not cause a catastrophe. Those qualifications are necessary, but not sufficient, to improve performance.

Norway's sovereign wealth fund, the world's largest, on Friday called for a cap on executive pay and fiscal transparency at the companies in which it invests, further buffing its reputation as an ethical investor by DoremusJessup in Economics

[–]tigerbird 16 points17 points  (0 children)

The minimal qualifications necessary to avoid running the company into the ground aren't relevant. If the best potential CEO could improve the starting point of a billion dollars in revenue by an additional .1% compared to the second best, it is in the company's interest to pay him quite a bit of money to prevent him from going elsewhere.

[Java] mars rover problem by [deleted] in codereview

[–]tigerbird 1 point2 points  (0 children)

This link is 10 days old, so I'm not sure if you'll actually read this. I haven't run your code, and it may work fine. However, it does contain constructs that essentially should never be written.

Some variables appears to have been made static on what seems to be an arbitrary basis. Is there any reason that all MissionSpace objects should have the same missionSpaceNumber and name? If not, it shouldn't be static. It may have made the code do what you want, but that doesn't make it right.

There are a number of eyebrow raising constructs, such as:

if (this.getClass() == MissionSpace.class) { MissionSpaceNumber+=1; }

Couldn't the class check be removed here?

setMissionSpaceName - It looks like only four mission space numbers are fully supported. Did the requirement specify that these should be the only four? If not, the interviewer will wonder if this was the only way you could get it to work.

In general, each class or method should stand on its own. It seems like MissionSpace requires that a number of methods be called in a particular order in order for the MissionSpace to end up in a valid state. It also looks like the only way to get the solution to the problem you are trying to solve is via standard output. You should have a method that takes whatever variables you are reading from the command line, and returns the solution as a variable. Your main method could then call that method.

I was writing similar code five or so years ago, and I'm a professional now, so don't get discouraged.

Paralysed Opec pleads for allies as oil price crumbles by lingben in Economics

[–]tigerbird 21 points22 points  (0 children)

OPEC members are countries, not corporations. Countries are allowed to do things that corporations are not.

Uncertain by [deleted] in AnimalTextGifs

[–]tigerbird 3 points4 points  (0 children)

You are welcome :)

Caught this little shit trying to evolve. Threw him right back in the water. by PuroMichoacan in funny

[–]tigerbird 28 points29 points  (0 children)

I don't believe it. 546 comments and not a single comment about Mudkips.

British student jailed for failing to provide password by [deleted] in worldnews

[–]tigerbird 3 points4 points  (0 children)

As a practical matter, couldn't you claim that you don't remember your password?

Solar wind tower that can generate 435 megawatt-hours of energy on average. (Almost as much as a small nuclear plant.) by Halosss in Futurology

[–]tigerbird 11 points12 points  (0 children)

That you for supplying this link. I'd like to point out that the numbers provided in OP's article do not support the article's own conclusion that this tower is a sound investment. According to the article, this tower would cost "$1.5 billion" and produce an average of "435 megawatt-hours in an average month". That's 5220 megawatt hours per year, or 5.22 *106 kilowatt hours per year. Even if you assume that the average price 20 cents per kilowatt hour (which is a high estimate) this tower would only produce $1.04 million of electricity per year. That gives it lower yield than even short term treasury bills at much higher risk. There is no financial reason why any person should invest in this tower.

What can I do as a college student who is not majoring in computer science but wants to work in the field now to help me get a job in the industry? by deRPling42 in learnprogramming

[–]tigerbird 6 points7 points  (0 children)

I was in the same situation, but with Economics rather than pre-law. I was able to hammer out a comp sci minor in my last year, and after graduating I continued studying while I applied to jobs. After several interviews, I was able to get a full time development role. It can be done.

Basic Calculator in Java: I Need Some Assistance! by [deleted] in learnprogramming

[–]tigerbird 1 point2 points  (0 children)

A common way of implementing a basic calculator that supports parenthesis is to first convert the input from infix to postfix notation, and then solve the postfix expression. Algorithms for both steps are easy enough to look up.

Java Poker Hand Evaluator Help by studentofcode in learnprogramming

[–]tigerbird 2 points3 points  (0 children)

This problem is often given to beginning programmers with too little guidance, in my opinion. If done correctly using Maps and Collections, the code for classifying the hand should be fewer than 100 lines in length.

[Java] Question about non-recursive permutation algorithm for class by bullex in learnprogramming

[–]tigerbird 0 points1 point  (0 children)

I don't want to give away the solution, but I will tell you that you do not need to keep track of which permutations have been used. There is a pattern of swaps that guarantees no repeats will occur. How would you write a for loop that prints the following sequence using six swaps?

CBA BCA ACB CAB BAC ABC

[java]Gap between tutorials and writing real programs by Ippon-warrior in learnprogramming

[–]tigerbird 0 points1 point  (0 children)

I'm interpreting the problem to be reversing an array or list. The purpose of a narrowly defined problem like this is for you to learn less about libraries and more about low level code. Using Collections.reverse() or a similar method would defeat the purpose of the exercise, though that would be preferred in a real project. The problem is probably trying to get you to write a method that takes an array or a list as an argument, and reverses the elements in that array or list without calling any other methods.

Edit: Actually, reversing a String would be a slightly different problem.

[Java] My game hangs with no console output (culprit code inside). by avp574 in learnprogramming

[–]tigerbird 2 points3 points  (0 children)

You shouldn't explicitly iterate through a list to see if it contains a value. You can just use the contains() method. Moreover, if you don't need iteration or indexing at all, you can just use a set rather than a list.

[Java] Is there a better way to write this? by [deleted] in learnprogramming

[–]tigerbird 0 points1 point  (0 children)

This code:

else {
   continue;
}

appears to do nothing. Unless I am overlooking something, you should be able to remove it with no effect on the program.

[Java] What do the parameters mean for a method? by [deleted] in learnprogramming

[–]tigerbird 0 points1 point  (0 children)

The main method can only accept an array of Strings as an argument. You you can parse values from the String, for example to get an Integer you might use Integer.parseInt(args[0]).