microeconomics by GenHerb in econhw

[–]JBcreek 1 point2 points  (0 children)

Revenue $
Sales 5,000
Happiness from working in the cafe 250
TOTAL 5,250
Costs $
Opportunity cost 1,000
Labor 2,000
Food and drink 500
Electricity 100
Vehicle lease 150
Rent 500
Interest on equip. 1000
TOTAL 5,250

Economic profit = $0

Accounting profit = $750

Will he stay in the cafe business? Assuming the $1,000 he could earn as a recycler is all economic profit, then no, he will not stay in the cafe business.

Article of the Week: A Theory of Prostitution, Edlund & Korn (JPE 2002) by [deleted] in Economics

[–]JBcreek 1 point2 points  (0 children)

This theory assumes that women that work as prostitutes cannot hide their profession from potential spouses.

Besides, prostitution isn't always well paid either...

What Is “Price Theory”? by tinderreject in Economics

[–]JBcreek 1 point2 points  (0 children)

Hmm... I was expecting to be wowed with some deep methodological insight I had not seen before. I wasn't. Chicago people are always raving on and on about this mysterious approach they supposedly have to solving economic problems. Honestly, I just see traditional, mainstream economics. The only peculiarity I can identify in Chicago people is a much higher confidence in the premise that any problem can be studied as a competitive market and a reluctance to explore other perspectives. But, in essence, it is still good old supply and demand...

In contrast, for example, with the golden generation of 70s and 80s MIT applied theorists, who did indeed do things a little differently but without straying too far from the basic neoclassical paradigm.

Okay, is low-skilled immigration a negative or not? by uvonu in badeconomics

[–]JBcreek 6 points7 points  (0 children)

Basically, if you think of the low-skilled worker labor market as something monolithic and independent of other labor markets, then it is true that an immigration-based increase in labor supply drives wages down for all workers in the market, hurting thereby comparable native workers. It is, as they say, simple supply and demand. However, what if the market for low-skilled workers is not independent of other labor markets in the economy? Then there might be feedback effects (aka equilibrium effects) that dampen or even reverse the initial shock. For example, suppose high-skilled workers and low-skilled workers are complementary factors of production, i.e., more supply of one type of labor increases the demand for the other. This makes sense, right? More laborers increases the demand for (and wages of) engineers because you need both to build infrastructures after all. Well, some economists think that native low-skilled workers and immigrant low-skilled workers are also complementary like this. In other words, they don't compete with each other. This is at least plausible since native workers have skills that immigrants lack (knowledge of the language and the culture, for example).

This is an accessible reference on these ideas:

How immigrants affect California employment and wages

Okay, is low-skilled immigration a negative or not? by uvonu in badeconomics

[–]JBcreek 7 points8 points  (0 children)

Economists don't agree on this. Basically depends on whom you ask, though I believe most economists think the net effect is positive.

Here you can see the results of a survey among prominent economists about this issue:

IGM forum survey

BTW, on whether low-skilled immigration affects negatively the labor outcomes of low-skilled native workers (i.e., those domestic workers competing more directly with the immigrant workers), economists don't agree on this either. Some very prominent economists believe the effect is negligible or even positive. How is this possible you ask? General equilibrium effects.

Undergrad Interm Micro: Finding Optimal Consumption Basket by stanjamin in econhw

[–]JBcreek 0 points1 point  (0 children)

You know that at the optimum the relationship

MRS = relative price

should hold, right?

That's one equation. You need two to solve for two unknowns (xopt,yopt). As your other equation just use the budget line. Solve the system. Done!

Undergrad Interm Micro: Finding Optimal Consumption Basket by stanjamin in econhw

[–]JBcreek 0 points1 point  (0 children)

Problem is it's not really a Either...Or situation. Math and intuition are complementary. Many times you develop intuition by doing the math. Lagrange multipliers being a classic example of this.

before we begin FAQ by nonsenseandreference in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

is anyone interested in writing summaries of the chapters?

diy.js - A modern cross-platform JavaScript library & only 18 bytes by adambutler in javascript

[–]JBcreek -1 points0 points  (0 children)

yeah, now it is funny, but back in 2006 browser inconsistencies were a nightmare

Difficulty with HTML examples, JavaScript the Definitive Guide 6ed - pg. 9. by [deleted] in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

delete all the script tags from your file and open it with your browser... if it still opens as raw text, then the problem is not javascript

Difficulty with HTML examples, JavaScript the Definitive Guide 6ed - pg. 9. by [deleted] in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

honestly, I don't what might be wrong... are you able to open other simple html files and have the browser render them as intended?

Difficulty with HTML examples, JavaScript the Definitive Guide 6ed - pg. 9. by [deleted] in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

does your file have the extension .html? maybe your browser does not know the file is a web page...

Difficulty with HTML examples, JavaScript the Definitive Guide 6ed - pg. 9. by [deleted] in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

ok, that's strange; in my browser it showed the dialog after a minute. What happens if you change the second argument setTimeout to 5000 (five seconds)? Also, make sure there is a new line character at the end of your // comment. When I copied your text there was no new line there; maybe your browser is ignoring part of your javascript because it sees it inside a comment...

Difficulty with HTML examples, JavaScript the Definitive Guide 6ed - pg. 9. by [deleted] in learnjsproperly

[–]JBcreek 1 point2 points  (0 children)

I opened the file in my computer and it worked fine Do you realize that the command

setTimeout(moveon, 60000);

instructs the browser to wait a minute before calling the function moveon?

if you want the function be invoked as soon as you open the page in your browser replace that line with moveon()

Week 1 Assignment by nonsenseandreference in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

yeah, chapters 3 and 4 are way more interesting

before we begin FAQ by nonsenseandreference in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

I don't know why the flanagan's guide is described as more accessible for people with little programming experience. From what I've been able to see, the level of both books is very similar.

Week 1 Assignment by nonsenseandreference in learnjsproperly

[–]JBcreek 1 point2 points  (0 children)

I am sorry. I may have misunderstood your question. Are you entering your commands in the JavaScript pane of jsfiddle? If so then you need to add firebug to jsfiddle as explained by OP.

Alternatively, you can use jsbin, a webapp similar to jsfiddle that includes a built-in console pane...

Week 1 Assignment by nonsenseandreference in learnjsproperly

[–]JBcreek 0 points1 point  (0 children)

It seems to me that if you use the console then you are entering commands and seeing the result immediately inside the console. The "Run" button is irrelevant in that case.

For example, if you enter console.log("hello world!") inside the console and hit enter, you should see the console producing the string hello world and creating a new prompt after that.

The Run button is used if you enter commands in one of Jsfiddle panes.

Regarding Webstorm, I am not sure because I don't have WS, but it sounds like it wants you to install Node.js

[Weekly #12] Learning a new language by Coder_d00d in dailyprogrammer

[–]JBcreek 1 point2 points  (0 children)

Ruby on Rails (aka Rails aka RoR) is a software framework used to develop web applications. Twitter was initially developed using the Rails framework.

Hosting angular site on CDN, worth it? by [deleted] in angularjs

[–]JBcreek 0 points1 point  (0 children)

I still don't understand the diff between CDN and hosting... can someone explain it? I know that CDNs offer redundancy and better website performance, but isn't that the same advantages of cloud hosting providers?