Better HN
topnewbestaskshowjobs
Log inSign up

_dps

1,602 karma · joined Jun 7, 2011 (15y ago) · 406 submissions

I roam the world trying to make things better with computational mathematics. Once upon a time I taught applied math at USC.

(email:demetri.spanos@gmail.com)

Submissions

comment 12y ago · link · parent

There's an important part of utility theory that answers this question: utility is not comparable between people, only between options available to a single person. So Yolanda-Yuppie gets more Yolanda-utility out of a lobster than she would out of keeping her $60. Vikram Villager gets more Vikram-utility out of a few more dollars of income than he would out of keeping his lobster. No mainstream utility theorist would claim to quantitively compare Yolanda-utility to Vikram-utility.

Edit/Clarification: the essence of social welfare economics is in trying to do interpersonal utility comparisons that yield a social utility function that behaves as much as possible like a personal utility function. Arrow's theorem tells us that this is not possible to do perfectly; any attempt to do so will result in one of several significant deviations from what we consider "utility" for a single person.

comment 12y ago · link · parent

(note: this comes mostly from a background in scientific/numerical programming in C)

You are certainly right if one takes "predictable" to mean something close to "deterministic"; on the other hand I think there are numerous almost-deterministic characteristics that can be evaluated without resorting to plain-ol' empiricism (particularly involving likelihood of hits in L1/L2/L3 and likelihood of being able to speculatively execute particular branches of code).

So I would agree that my a priori predictions may be a factor of 2-3x off; OTOH I often succeed in predicting that a particular tight loop will never have to leave L1, or that a low-entropy condition in the loop will be made essentially irrelevant by speculative execution.

With that proviso, I share your belief that JITs seem to be the best hope for top performance (and I am a heavy user of LuaJIT).

comment 12y ago · link · parent

Because this article is highly cited, and because you strike me as a personality who would appreciate micro-detail feedback: there is a typo ("algoritms") in the first sentence that immediately threw off my attention from an otherwise quite interesting piece of writing.

This is offered with respect and not a desire to nitpick. I hope it doesn't come across as annoying :)

comment 12y ago · link · parent

> But if we already know the generating process, all the hard work is already done.

Yes, I agree completely, and I believe that so would most frequentists! The point, even among the most strident critics, is rarely one of whether Bayesian approaches are useful; it is that Frequentists regard the proper domain of what they call "probability" to be exclusively related to generative processes and relative sampling ratios. From a purely technical point of view I see nothing wrong with that, even if it is a somewhat strict position (having trained primarily in mathematics I'm comfortable allowing people their strict definitions as long as they are recognized as such).

As a natural consequence of this divergence, Bayesian modeling allows you to explicitly punt the problem of generative modeling for the tricky bits, and it puts a nice big warning label on it saying "If you botch your prior, you're going to have a bad time." The biased coin is a perfect example. Knowing the bias, the generative process for a sequence of flips is trivial. But how are you going to create a generative process that seriously engages how and where the biases emerge? It is far easier to just say "empirically, biases seem to be distributed like so." At this point the Frequentist says "Well, that assumption is not derived from a formal model and is only loosely falsifiable, but if I accept it as a substitute for a generative model then you and I will reach the same conclusions about posterior probabilities."

I know of no frequentist who would disagree that getting good generative models for complex phenomena is often extraordinarily difficult. Where they disagree with Bayesians is whether doing something other than that should, strictly, be called "probability" or, whether it is more appropriate to call it something like "semi-empirical subjective-belief modeling".

comment 12y ago · link · parent

A practical way to summarize the difference is that Frequentists refuse to assign the word "probability" to anything other than the output of a formal generative model, whereas Bayesians use the word more broadly and are willing to ask "What is the probability of this hypothesis being true?". The latter is often called "subjective probability" in texts that attempt to discuss the division.

In response to the Bayesians' question, Frequentists say "You've specified no sampling process for hypotheses so I can't answer your question. If you want to represent your subjective belief system over hypotheses as a probability distribution you are welcome to do so by Cox's theorem. But the resulting number should not be understood as probability in the sense of fractional sampling, and we'd really be happier if you'd use a different word for it."

Frequentists and Bayesians agree precisely when the Bayesian's prior is the output distribution of a generative process for the inputs to the problem under study (in this case, biases for coins). If the Bayesian's prior is "just chosen based on judgement" then the Frequentist theory says "That's no longer probability, but it may still be a useful framework for quantifying subjective beliefs and the support for such beliefs from observational data."

So, in your coin example:

Bayesian: anything you want, based on your prior for coin biases. If your prior is symmetric, then 50% as you say.

Frequentist: the question is meaningless without a formally specified generating process for biased coins, but if you tell me the generating process then I can give you a ranking (likelihood) function over all possible biases.

comment 12y ago · link · parent

I will add to your list of references an excellent book, "Basic Geometry of Voting" by D. Saari [1]. It covers all major alternative voting systems in an accessible mathematical framework that clearly highlights their tradeoffs (necessitated by Arrow's theorem) in simple diagrams.

I strongly recommend this book for anyone interested in multi-participant decision systems, or anyone looking for a fun mathematical excursion. Sadly, the paperback (which I bought in graduate school for $25) is no longer in print and the price has jumped quite a bit.

[1] http://www.amazon.com/Basic-Geometry-Voting-Donald-Saari/dp/...

comment 12y ago · link · parent

I suspect this thread is dead but if you're still watching it I'd be happy to take it up over email :) (see my profile and shoot me a quick note).

comment 12y ago · link · parent

I'm a former professor, now startup founder, and I know many people who have followed similar paths. Email me (see my profile), ideally with a copy of your CV, if you'd like to chat in detail :-)

comment 12y ago · link · parent

Feynman once said, speaking of the merits of seeking inspiration from experiments rather than isolated theory, "The imagination of nature is greater than the imagination of man."

Riffing on this idea, the imagination of a human opponent (even when expressed as an algorithm) is far greater than the possible counterstrategies you will imagine yourself when inventing your own system. Having a motivated, intelligent, competitor actively probing your designs for weaknesses rapidly teaches one about the extent to which your expectations for what a given design will do match up to reality in the wild.

comment 12y ago · link · parent

If you are genuinely taking requests, I'd personally ask you to ask your friend to query their YC contacts on these subjects:

1) whether they can actually describe in some detail what JL / KN / CL do at YC (hint: they're easily seen to be quite active, so one might wonder what's keeeping them so busy)

2) whether they ever bothered to arrange office hours with any of them to see whether they could be helpful (YC partners' schedules are oversubscribed so you can't expect them to come to you to offer help)

3) whether they ever drafted a contract or financing document during their early stages without consulting KN or CL (and if so, why they chose to make important decisions without the advice of experts who are strongly incentivized to help them free of charge)

4) whether their company survived long enough to need advice on financing, contracts, or founder issues such as a departing founder or bringing on a late-stage founder

I think that would help to clarify how justified the initial claims were.

comment 12y ago · link · parent

... and lest anyone think this is limited just to (the extremely helpful and insightful) JL, we (a recent-batch YC company) have been repeatedly and substantially helped on important strategy matters by KN and CL. Reducing their roles to "taxes" and "legal" misses the point completely; they are more like "finance strategy" and "legal strategy". Both have advised us on important structural decisions we made early in our company's life.

comment 12y ago · link · parent

> But "consulting" is toxic to the species of startup we talk about on HN.

FWIW, we grew out of a consultancy into a more HN-compatible startup through precisely the path you describe. Most of our investors, who are traditional get-big-or-go-home investors, see our "consultative sales" as an asset, not a liability. In particular, having that as a backstop is very useful for achieving PG's prime directive of startups, i.e. "don't die". My understanding is that Heroku's origin story was similar (growing out of a Rails-app consulting shop). So there's definitely room for interpolating between the two if one is so inclined.

comment 13y ago · link · parent

> Sure they can. They can simply hire more women.

You're smart enough to know it's not that simple; even if one were willing to "just do it" it's not clear the unintended consequences would not result in a net-negative effect on women in engineering.

Fundamentally, if the source funnel is unbalanced, and you assume that there is a scalar "skill" quantity that is the economic factor of production employers actually desire, then it is mathematically impossible to hire-toward-parity without having a lower standard for hiring from the less-represented pool [0].

If you accept that ratio-correcting hiring mathematically necessitates lower standards for women then you need to answer some thorny economic questions.

Will the women whose skill is below the minimum skill of the men in your quota system be paid the same as the men (all of whom by mathematical necessity, will be more skilled)?. If they are paid the same as the men, it is a subsidy paid by the employer, the employer's customers, and the disemployed men who otherwise would have been hired but-for the quota. It's not clear to me that they bear any culpability for the social problem, or that the economic costs of this subsidy are sufficiently small not to have significant negative effects on those businesses. I know, I know: boo hoo, those poor businesses won't have two golden swimming pools of money, just one. But the reality is that the margins most businesses have between the cost of employment and the productivity of that employment is not, for most companies, rich Google-y numbers like 50%. If the margins are more like 10% it is entirely credible to me that such a subsidy will drive various arms of the business from ROI-positive to ROI-negative (or at least, ROI below just investing that cash in stocks). And then all those jobs we were planning to give to women will no longer exist.

If, on the other hand, the lower-skill women are paid sufficiently less than the men to balance the opportunity cost borne by the employer (for not being able to hire everyone above a minimum skill level) then the women need to be paid less than an open market wage (i.e. less than their skills would justify without a quota system, because the quota system is costing the employer lost productivity in men they would otherwise hire). So now the women are paying for the parity-seeking hiring. This will exacerbate the already high level of concern about fairness in compensation and will provide an additional disincentive for women to join this work force. Never mind that it seems perverse to have the women pay the employers for the privilege of working in a quota system.

Let me make a defensive statement lest it seem I am suggesting that women are less skilled than men: I am emphatically not. I'm saying that if you take the best five of 30 people and the best five of 100 people, the latter group will, with significant statistical regularity, be more skilled.

So what to do if ratio-correcting hire is DOA? It seems that there's an easier solution that has its roots in a long history of women conquering other obstacles; a generation of high-school aged women need to decide, en masse, that they will join engineering departments as a group and that they will stick to it with mutual support. This is direct action by the people whose well-being we are trying to improve, can be done without getting permission or cooperation from anyone outside that group, and solves the "boys' club" problem on day 1 of freshman year classes (because the club will be, by construction, full of women as well). I even have a slogan ready for them: "We're here, we're engineers, get used to it." I realize that coordinating this kind of movement is hard, but it is run-of-the-mill political and social organizing, and it seems to me like something that can actually work (as opposed to solutions that attack the symptoms of a skewed sourcing funnel).

[0] Proof sketch (hand-waving law-of-large numbers arguments, and assuming women's skills are distributed identically to men's):

1) If you reject quotas and hire simply for skill >= min_skill, then you will find more men meeting that criterion because there are men in the source funnel. So fixed-skill cutoffs are out.

2) If you have quotas (say 1 woman for every 1 man) then you can't hire everyone >= min_skill; you will instead hire the best among the people >= min_skill. The men will be pulled from a larger pool, and taking the best from a larger pool will result on average in a higher minimum skill level. So simply by taking the best N of the women and the best N of the men, the source funnel imbalance forces you to have lower standards for women

comment 13y ago · link · parent

This only adds (Bayesian) evidence to an abstract frame of knowledge that doesn't matter to anyone in real decision making processes: a frame in which the observer uniformly samples all startups.

People who actually care about these odds (in the sense of betting on them) are founders and investors. Neither, in their decision making process, gets to (or wants to!) uniformly sample all companies.

PG's numbers are thus much more useful to anyone actually trying to make a decision about a pool of investments: assuming the distribution of YC startups is fixed over time, and you are someone like Start Fund who will bet on the pool (i.e. equivalent to a repeated uniform sampling in expected value), the 0.5% is actionable information and the 0.00006% is not.

comment 13y ago · link · parent

> A job market is where you rent someone's life; then you command them.

This seems like a one-sided and unproductively emotional framing. One could easily flip the emotional bias and say "A job market is where greedy people with skills stubbornly refuse to volunteer their help unless they get paid for it." In fact, I suspect that's exactly how some might characterize the "job market" for independent medical services where the employer is the patient.

Here's my suggestion for a neutral take: a job market is a mechanism where people who are willing to take on responsibilities are paid money by people who would like to delegate responsibilities. The current dynamics of the academic job market (and many other markets for people with conventional liberal arts education) suggest that fewer people want to delegate those responsibilities, and more people are willing to take on those responsibilities. This is not a market-created problem, it is a social problem (i.e. we have somehow encouraged far too many people to invest in educations that don't line up with current and near-future demand for responsibility-delegation).

As to your point about intrinsic antagonism: naturally, in any negotiation there is a zero-sum element on the margin, i.e. while we both benefit we can still argue over how the mutual gains are to be distributed. On the one hand, this is a valid point, and the asymmetry of leverage in this on-the-margin zero-sum negotiation between employers and employees is an excellent theoretical argument for labor regulations and labor unions. On the other hand, framing the labor negotiation as zero sum overall is, I believe, counter to even Marxist [0] analysis of labor relations.

[0] My lay understanding of Marxist labor relation theory is that it argues capital obtains the lion's share of the mutual benefits (or "surplus value") arising from delegation, but it does not argue that the exchange is what we would nowadays call zero-sum on an overall basis.

comment 13y ago · link · parent

> Payroll tax is levied on companies not people

As a purely practical matter, payroll tax is levied on both sides of the employment transaction in the US [0]. Beyond that, diverse economic research in and out of the US suggests that the bulk of the tax incidence [1] of payroll taxes is on employees [2].

>> 2-3x more than any of these hippy touchy-feely types who claim that SF is theirs and theirs alone.

> Citation needed. This sounds pretty out of wack.

Here's some napkin analysis. [3] claims Google's average salary for a software engineer is 113k, and [4] claims that San Francisco / San Mateo's average salary is 64k. Since the 64k is dragged upward by the Google salaries, let's speculate that the Googlers on average make twice as much as the "touchy-feely" residents. It seems totally reasonable to think that someone making twice as much money will pay twice as much across the suite of payroll tax (they earn more), sales tax (they spend more), property tax (they own more property), and transfer tax (they exchange property more often). One would want to empirically corroborate this, but it doesn't sound unreasonable to me.

[0] http://en.wikipedia.org/wiki/Payroll_tax#United_States

[1] http://en.wikipedia.org/wiki/Tax_incidence

[2] http://www.nber.org/papers/w5053

[3] http://www.glassdoor.com/Salary/Google-Salaries-E9079.htm

[4] http://www.bizjournals.com/bizjournals/on-numbers/scott-thom...

comment 13y ago · link · parent

I share your dislike for a central language authority, but I think there are non-authoritative solutions that are consistent with the missions and practices of dictionaries.

One possibility: dictionaries could report that a large fraction of English experts or teachers consider a particular usage incorrect. This would be a dispassionate reporting of people's behavior as well.

You may ask "How do you pick the experts?" Well, how did we pick the people whose diction the dictionary supposedly represents? :) We make do with approximations. I think that the OED could easily afford to sample 1000 English teachers ranging from professors to grade school, and ranging across many geographical regions and social strata. It would actually be fascinating data to see alongside a definition!

Edit: I had meant to add that the sampling for the words need not happen for every (word, expert) combination; giving each instructor 1000 words chosen uniformly from a pool of 10,000 words should get you reasonable coverage for almost all of those 10,000 words. So the costs of this sampling experiment on both OED and the expert volunteers would be quite low.

comment 13y ago · link · parent

It is mostly the same, though in my experience it is easier to stop this in Lua than in JS (just attach a metamethod to the globals table to raise an error on lookups for keys with undefined values... this is similar in practice to JS strict mode).

I'd add that most worries about silent nil returns stem from not accepting Lua's very clear value semantics; nil literally means "undefined value" (as compared to JS's null or Python's None); setting a variable to nil is the idiomatic way to release its value for garbage collection.

So "silently returning nil" is more like "explicitly returning notice that the value is undefined". Whether you want that to be an error-raising-event or not is up to you, the programmer. And it's easy to control that error-throwing behavior in a granular way; you can attach the error-throwing metamethods to the globals table, or to specific tables you care to protect.

comment 13y ago · link · parent

I was tempted not to reply because I think we're just arguing over the many possible definitions of the word "valid", and that can quickly become uninteresting. Here's a stab at not being too much of a hair-splitter.

In a nutshell, it sounds like your definition of "valid" (and parent's) refer to some frame of objectively true facts and a commonly accepted value system. I agree that one would have to take such a definition in order to find intellectual value in a person's opinions on political matters.

My definition of validity (in the context of the previous comment) has to do with recognizing subjective individual value systems that must occasionally be trampled upon in order to have a functioning state. By their nature, political institutions touch your life whether you want them to do so or not.

So my view is that all people affected by a political institution have valid opinions on the actions of said institution, even if those opinions are not particularly well informed or even logical. If an institution forces something into (or out of) your life, I take the position that you have a valid voice with which to support or oppose that action, even if I might find that support or opposition to be unpersuasive from a logical or evidentiary frame of reference.

To close the loop of example/counter-example, I think your two counter-counter-examples demonstrate opinions of low intellectual validity, as they do not stem from a body of knowledge. However, I think they are fully politically valid, because I don't see any way to have a politically legitimate institution while invalidating the opinions of those whose individual values are violated by its actions.

comment 13y ago · link · parent

> The value of somebody else's commentary on political issues is pretty much directly proportional to their understanding of the political system and their command of objective facts.

I think this is objectively wrong for the specific case of politics; unlike, say, analytical chemistry, politics has an active opinion on how each of us live our lives and can't be "left to the expert" (the latter being what the political and legal experts would love everyone to accept).

Concrete counter-examples to your claim:

1) Does a homosexual couple with no knowledge of US marriage law not have a valid opinion on whether they should be allowed to marry?

2) Did poorly educated blacks or women need training in the subtleties of constitutional law before they could have a valid opinion on universal suffrage?

Politics, by its nature, shoves itself in everyone's face. Thus everyone has a legitimate basis on which to argue about how they are to be governed, even if they are ignorant of the details of the governance mechanism.

comment 13y ago · link · parent

As Hamming says in his excellent essay "You and Your Research", there are two components to an "important problem": an objective one and a subjective one.

The objective requirement: in the success-case the project must have a large impact on the community (in Hamming's case, physicists; for strtups, an initial market / society at large)

The subjective requirement: the researcher must have "an attack" [0], i.e. a credible approach to a solution that others probably have not tried yet.

For the vast majority of SF Bay Area founders of tiny software companies, they have no "attack" on cancer.

[0] http://www.paulgraham.com/hamming.html

comment 13y ago · link · parent

This thread has probably gone too long, and I thank you for your time and comments so far.

I will close by saying that, while I agree with you that CFFI doesn't make the problem of writing memory-safe C extensions to the Python VM any easier, I also believe that almost no one (aside from people like Numpy developers) actually need to write a Python extension. They just write extensions (or use Cython, or Ctypes) because that's "the way" to call C from Python.

In my personal experience 90+% of the Python+C problems in the world are just about calling an existing piece of C code and maybe mapping some structs or arrays into Python types; these workflows rarely involve instantiating complex objects on the Python side. For my work habits neither CPython, Ctypes, nor Cython are optimized for this extremely common use case. CFFI solves these problems for me better than any of those alternatives, and if someone offered me a Python 4.0 with CFFI and no GIL at the cost of harder-to-use extension mechanisms I'd jump on it; I suspect that a significant portion of the people who do Python/C interop work would feel similarly. I also do realize that such a change could make projects like Numpy harder to build.

comment 13y ago · link · parent

> For interfacing with C, I think cython is better than cffi.

I think we'll have to agree to disagree on this. To quote the CFFI project description [0]: the goal is to be able to seamlessly call C from Python without having to learn a third language/API. Cython, Ctypes, and CPython's C API all fail to meet this criterion, and in my opinion do so by a large margin. Let's also not forget the fact that Cython requires a compilation step not only for the bound C code but also for the portion of the "Python" code that interfaces with it.

Compare that (or writing CPython C API manipulation code) with the following:

  >>> from cffi import FFI
  >>> ffi = FFI()
  >>> ffi.cdef("int printf(const char *format, ...);")
  >>> C = ffi.dlopen(None)                     # loads the entire C namespace
  >>> arg = ffi.new("char[]", "world")         # char arg[] = "world";
  >>> C.printf("hi there, %s!\n", arg)         # call printf
  hi there, world!
For me CFFI wins without question. Of course, it's even simpler in LuaJIT (but the CFFI people are getting closer every day):

  local ffi = require "ffi"
  ffi.cdef [[ int printf(const char*, ...); ]]
  ffi.C.printf("hi there, %s!\n", "world")
Now, it would be misleading for me not to point out the limitations of an approach like CFFI/LJ-FFI vs CPython API: you may have to contort yourself to make C calls that safely manipulate the scripting language VM (e.g. instantiate new Python objects from within a C FFI call). In my experience this has not been a serious problem because it's easy to write struct-to-object mappers in idiomatic Python or Lua rather than having to muck about with PyObject* and friends. Of course, in LuaJIT it's even easier with FFI metatypes (which let you attach dispatch tables to FFI native types, so your structs can behave just like Lua tables with method dispatch, inheritance, etc.).

Anyway, leaving personal taste aside for a moment, let me rephrase the original question that sparked my interest in your opinion: in a world with a mature CFFI option providing the above binding capabilities do you think that easy C extensions are still a worthwhile tradeoff for the GIL? (FWIW I find the point to be quite compelling for why Python had a GIL to begin with in the late 90s, but I'm suspecting it's less of an intrinsic design tradeoff and more historical cruft as the PyPy and CFFI people roll out their work).

[0] http://cffi.readthedocs.org/en/release-0.6/

comment 13y ago · link · parent

> You loose CPU-bound parallelism with threading, but you gain easy to write C extensions

I'm extremely interested in your thoughts on this subject as a NumPy developer. To what extent do you think C interop designs like Python CFFI (which mimics LuaJIT's FFI) will make this an unimpressive accomplishment?

As a former heavy user of Python for scientific programming (for easy access to C libraries) I have moved everything I do to LuaJIT and C. The ease of writing a LuaJIT FFI (or Python CFFI binding) is at least an order of magnitude greater than that of writing PyObject* style bindings.

Do you think it's possible (or likely) that a mature CFFI will make this tradeoff you describe seem no-longer-positive?

Added in Edit: I should point out that multicore patterns in Lua are already very different from those in Python, e.g. running a Lua VM per core and communicating through shared memory. So I realize that the existence of CFFI won't map one-to-one onto changes in Python multicore design, at least in the short term.

comment 13y ago · link · parent

FWIW Chuck, I agree that the phrase "VC-istan" rubs me the wrong way in Michael's otherwise quite interesting and compelling writing. For me there are two reasons, one bad and one not-terrible (note I don't have any "strong" reasons... as Chuck says this is merely something that irks me):

1) The bad reason: while I'm a startup founder who has deliberately eschewed VC money for many reasons that overlap Michael's analysis, I have many friends who thought VC was the right choice for them. These people are not stupid, dinosaurs, corrupt, or anything else that warrants a pejorative. They made a rational cost-benefit decision that they believed to be best for them. It irks me to have a significant group of people whom I respect categorized in this "feudal" taxonomy, as you put it.

2) The not-terrible reason: if you follow Michael's writing you find that he has had one or more bad experiences with startups in the past, and he has never mentioned a good one. If you are someone who believes that good startups do exist, then it is very easy for your monkey-brain to short-circuit to "sour grapes" whenever he discusses the VC ecosystem, even though I mostly don't believe that to be the case. I think it detracts from the strength of his writing to give lazy readers an easily-avoided prompt that might lead them to inaccurate conclusions. If one merely wants a shorthand for "the VC-ecosystem", I think VC-land conveys the same grouping of concepts without provoking a potentially suspicious reaction. I know that I have a very minor ego vs id battle every time I read "VC-istan" in his essays, and I suspected others did as well.

comment 13y ago · link · parent

Let me add my favorite hobby horse to your point 4: LuaJIT's C FFI is a tremendous and undervalued advantage compared to any other language/implementation I've used. Its core value proposition:

0) It can parse C header files and automatically construct bindings.

1) You can write Lua code that works directly on C data types with C memory layout and is JIT compiled. It makes it very easy to achieve performance within ~2x of C while still maintaining the expressiveness and extensibility of Lua. And if you miss writing OO C++, you can easily add methods to your C structs and they will be JIT compiled. See here http://wiki.luajit.org/Allocation-Sinking-Optimization and search for "Point Class with FFI cdata Struct" and then "Point Class Benchmarks".

2) Because the memory layout matches C data types, it is trivial to swap out a Lua implementation of a core operation with a C implementation if that becomes necessary.

3) It is easy to write cross-platform systems code without conditional compilation because the native calls through FFI can all be constructed dynamically through Lua (so instead of #ifdef WIN32 all over your socket code, you just have a single line checking for ffi.os == "windows" and then if necessary call the winsock initializer as ffi.C.WSAStartup(foo,bar)).

comment 13y ago · link · parent

The reason is threefold: morale, liability, and inability to use the worker for any long-term planning.

Having a person who knows they will be fired roaming the halls, poorly motivated is an obvious risk for the morale of the remaining employees. And it just drags out the pain of separation, even if the separation is otherwise amicable.

Second, there is some risk, no matter how generous the severance package, that the employee will become disgruntled and desire to harm the company. Even if it's a 1 in 1000 chance, the damage that a disgruntled insider can wreak is enormous. Huge downside, very little upside.

Finally, if they stay, they are now effectively temps. They can't be used in anything but short-term work because you don't know when they'll get the magic offer and be out the door.

A good severance package (say 2 months of salary, plenty of buffer to find a new job) costs just as much as keeping them on for two months after a warning, but has none of the downside risk. The only thing you lose by doing this is the very marginal short-term work you could allocate to them in the interim, which they would be poorly motivated to execute to the top of their ability.

comment 13y ago · link · parent

FWIW, I personally don't think you need to dodge the "data entry as job training" angle.

It's easy for us on HN to feel uncomfortable about this because we see data entry as among the lowest jobs one could have in the IT ecosystem. But I'd ask the audience to consider this from the point of view of someone down-and-out in the job market (I'm sure you yourself have already entertained similar thoughts). I'll share a personal anecdote on this point: a good friend of mine once suffered from a medical condition that prevented him from pursuing a traditional career for a period of several years, and the availability of 2-3 month data entry gigs was the difference between complete professional inactivity and:

1) proving to someone that despite his condition he could show up on time to a job with bounded time commitments and execute his job

2) having an income at all, and the self respect that goes with that

3) having a professional network, unsophisticated though it might be, that can say "Yes, Person X can handle taking your paper legal documents and getting the relevant fields mapped into an Access database".

My friend found a leg up through such a job and overcame some of the unemployment adversity imposed by a personal medical problem. I imagine others could find a leg up to overcome poor family circumstances, lack of educational opportunity, or other impediments to establishing one's career.

I personally think there's nothing wrong with providing opportunities near the bottom of the ladder and calling them job training, because an important portion of job training at that level is the meta-skill of showing up, doing what you promised, and establishing credibility with people who can vouch for you down the line.

comment 13y ago · link · parent

> Then I noticed that the way you talk about p-value doesn't sound very frequenty.

I think a lot of people improperly understand the Frequentist/Bayesian divide; both look at likelihood functions but the Frequentists assert, as a matter of experimental interpretation, that the likelihood function should depend only on the observed data while the Bayesians are willing to admit "out-of-experiment" modifications to the likelihoods implied by the data (i.e. the "prior").

Frequentist arguments correctly point out that the prior is, from the isolated standpoint of the experimental observations, purely subjective and non-falsifiable. Bayesian arguments correctly point out that experiments are designed by humans in context, and that the context may imply a prior distribution that is not evident within the observations themselves. Neither is incorrect, but they answer different questions. Which question is the right one to answer is context-dependent.

As a concrete example, consider an A/B test where A and B perform very similarly. Merely seeing A's performance against B does not carry the contextual information that A has consecutively beaten one hundred previous non-B competitors that sort-of-look-like B. The Frequentist will correctly argue that, if you don't explicitly model the A/B test generation process (as opposed to just the A/B test itself), then all the data can tell you based purely on the laws of probability is that A and B are likely to be pretty similar. The trouble faced by the frequentist is that it's pretty easy to model an individual A/B test for, say, binary outcomes, but it's very hard to explicitly model the generation of A/B test competitors. So the Frequentist says "all I can tell you and still be strictly objective is that A and B look similar".

The Bayesian, rather than explicitly modeling the generation of tests as the Frequentist would like, wraps up that contextual knowledge into a subjective prior distribution that heavily weights A over B simply because A has won so many times before. The Bayesian's advantage is that the previously-blocking part of the probability modeling problem is punted into a subjective, experimenter-designed, input. This is a tradeoff, not an increase of correctness! It will "do the right thing" assuming the new B looks a lot like the old Bs, but will do the wrong thing if the new B is dramatically different and maybe looks a lot more like A with small tweaks.

Bayesianism is not a universal solution to probability modeling problems, and Frequentism is not an obsolete unhip method.

comment 13y ago · link · parent

> To complete a PhD, you really have to have to want a research career.

(disclosure: loved my Ph.D., was a professor, now doing a startup)

This is almost true, and I don't mean to quibble, but the slight inaccuracy is an important one: to complete a PhD you have to want to complete a body of research-quality work that is recognized by experts in your field as a meaningful advance over the current state of the art.

Everyone I know who did the Ph.D. wanting to have completed something (improve file systems, discover a new alloy hardening process, etc.) had a great time and reports it as among the best years of their life. But there are lots of people who just see it as the next credential to get, and for them the lack of intrinsic motivation to complete specific independent work can make the process quite depressing and disorienting.

It's an interesting environment because you have a lot of the initiative/innovation challenges faced as an entrepreneur, but that part isn't evident to everyone. It is absolutely not like a job where you will be given responsibilities and expected to fulfill them.

1
91011
14