Hacker News new | past | comments | ask | show | jobs | submit | pietoastfox's comments login

Definitely a thing growing up in central Victoria in the 80s/90s.


It's mentioned in the abstract: 'We deal with the potential endogeneity of the decision of how many hours to work by using the instrumental variable estimation technique.'

Essentially they use 'instruments' which are just other variables to control for this issue. Page 7 has the variables that they're using.


How'd you go with wrapping the websocket client in R? I've been putting together an R client and am stuck on how to do the websocket given the lack of R websocket libraries.


I think your best bet is wrapping an existing C++ library using RCpp[1] that will require some work but I hope not too much.

[1] I would have really liked that as I ended up writing all data to SQLite and then imported it to R for analysis. Not the most elegant solution...


That is exactly what I am (currently) doing. Its actually a little tricky because of the stream-like nature of websockets. Currently I'm just writing to a file, but ideally I'd like to use the R connection API. The issue with that is that there doesn't appear to be a Rcpp wrapper around that particular API so I may have to do that (or test my theories by just using scan to read from the file after using a c++ binary to write it (using system).

Its a dirty hack, but appears to work.

FWIW, websocketpp is the C++ library I'm using.


Maybe not the most elegant solution, but it could be worse: I wrote all the data to a csv file and then imported into Excel for analysis.


Not sure that you'd want to plant a bunch of European trees to replace native Australian forests.


Those were examples.

Find the australian equivalent.

Pretty easy to find.

Eucalyptus camaldulensis (River Red Gum) is one that is great in high saline environments.

Eucalyptus leucoxylon (Yellow Gum), Eucalyptus melliodora (Yellow Box), Eucalyptus microcarpa (Grey Box), Eucalyptus ovata (Swamp Gum), Eucalyptus viminalis (Manna Gum), Acacia melanoxylon (Blackwood), Allocasuarina verticillata (Drooping Sheoak) Are all good in medium saline environments.

So have your pick.


Why?


It would be futile. Native Samphire, melaleucas and casuarinas can live in saline soil conditions that would kill most anything non-native. There may be exceptions of course.

Its when the Samphire starts to die that you know your in shit street.


Australia lost large parts of its native wildlife due to things like this.


Found at least some of the raw documents on the ICIJ researcher Mago Torres' document cloud account. https://www.documentcloud.org/public/search/Account:%2013504...


I also found the r programming class to be super useful.


F# and R both have good ways of doing this. See http://cran.r-project.org/web/packages/magrittr/vignettes/ma...


R is one of those heavily misunderstood languages because it uses features so advanced yet so common once you are a seasoned programmer that nobody cares to explain or even make a blog post about.


This is essentially how the 457 visa works in Australia. It's uncapped but you have to pay a 'market salary rate', which is either the salary of an equivalent worker in the firm, or of an equivalent worker In the industry.


The problem with what you mention about Australia is regression to the mean. 'Market salary rate' means average salary, which is not what a great programmer is worth.

What danmaz74 suggested is better.


BTW, this is how H1B works as well. Employer should pay at least prevailing wage, to make a foreigner eligible.


Interesting... but how do they determine the salary of an "equivalent worker"?


This is the same economic problem that affects basic research. Open source software is a 'public good' - its usefulness is not diminished when it is used by others, and you can't prevent others from using it.

The longstanding solution to this problem is government support. This might not be a sexy solution on HN, but it is the obvious one.


Unfortunately, while government can mostly wrap its head around science though consultation with academia, the state of the art of software is so ethereal and moves so fast that I imagine seeking funding for software will be even more of a farce than it is in the sciences.


Incidentally, Snowdrift.coop is happy to have projects doing scientific research. The basic criteria are that 1) the project is producing some non-rival good, and 2) that good will be made freely available under an appropriate license (which basically boils down to the equivalent of one of CC0, CC-BY, or CC-BY-SA).

Government support works when you can get a majority of the people to agree they want something enough to pay for it. It works less well when the public good primarily serves the interest of a minority. In principle, even if government support was effectively tackling all the things it was appropriate for, there could be room for Snowdrift.coop in coordinating more niche things.


I agree it would make sense, but is the real problem not how to allocate that money?

Who decides how much the Postgres guys get, or if its worth to support yet another NoSQL store? Involving politics seems like a surefire way into mediocrity. How to get around that?


Maybe the government could provide the funding as a Tax Credit for donations to platforms like snowdrift.coop, just like donating to other non-profits works. Companies / Individuals would make their own decisions about what to support, and the government would foot the bill through them.

Obviously the government would create a class of acceptable organizations to donate too, rather than designating a single platform / portal. In this way it would be just like the new crowd equity system.


I like that idea, power to the people.

If there was a way to do so without complicating my tax filings, that would be even better.


Sounds great to me! If only I had the power to set tax law…


Just by funding established projects.

In your example the new NoSQL store should prove itself before being funded.


How does it prove itself?


By being here in at least 5 years and being actively used by a non trivial number of companies / organizations.

Think of all the javascript frameworks appearing nowadays. How many will have a significant user base in 5 years or even still be maintained ?

You should get gov money once you are a reference in your field. Postgres and OpenSSL certainly are.


and the site mentioned in the article, Snowdrift.coop, plans to support research as well. It's not a software-specific venture.


Yep great article. As a beginner programmer I find functional more intuitive than OOP, there just seems to be less abstract concepts and boilerplate.


There do exist object-oriented functional languages (Ocaml). Functional vs OOP is a false dichotomy, though a very common one. I prefer to use functional techniques in imperative languages with simple objects.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: