Hacker Newsnew | past | comments | ask | show | jobs | submit | spenuke's commentslogin

It's the same story with Express as a web server framework for Node.

I've always felt that the biggest problem with the Javascript ecosystem is that it's entirely too preoccupied with syntax. Remember CoffeeScript!? Some of the most influential forces in the community can waste entire years bikeshedding some syntactic thing that is mostly a matter of personal aesthetics. And this trickles down to the grunts trying to ship a product.

It's a fundamental drawback to Javascripts other strengths. And that's the reason it's so easy to find Express apps that are hot garbage. It's one of the most enduring myths that If you know Javascript, you can write a Node app.

It only works because software has been such an economically productive force, that having thousands of professionals spending weeks deciding whether semicolons are good or bad, or fighting their webpack configs, or migrating for loops to array methods... whatever... it still makes money at the end of the day.


Yes.


For a very informal tour, The Three Body Problem by Cixin Liu is a science fiction novel where the history of mathematics, physics, and computation play a large role. So much so that I think it puts many people off the book and its entire trilogy.


Did you all ever open source your emacs tooling? I’d like to see that.


We didn't. It's on our list of things to open source and write about though, so we will when time permits. Probably won't be until after the new year, as we're focused on preparing for CES.


I work on a similar team, with a mix of people who want to use functional styles and those who want something more imperative.

I lean toward the pro-functional style, but I also put a few strong constraints on when to use reduce. Namely, I would almost never use it in cases where I either want to (a) mutate something other than the accumulator or (b) include more than two branches of control flow in the reducer function.

This kind of goes for all the functional array methods. Many people are tempted to use them simply as alternate syntax for iterating through the array (i.e., a simple loop), where the loop body could contain several statements -- i.e., data mutation side effects, taking different execution paths based on certain conditions, etc. The functional style is way less clear in this sort of code.

The benefit of the functional style in the context of javascript array methods is when you can see at a glance what the shape of the resulting value is with respect to that of the source array. This is usually best done when the body of the reducer/mapper/filterer is a single expression.


Can somebody please ELI5 his whole phenomenon? I don't really understand who are the targets (other than Nate Silver) of all his polemic. From my limited exposure, he's basically making age-old conservative points, arguing that the Enlightenment ideal of human knowledge has strong (but unidentified) limits.

Why is he so popular? And how did he get so rich on Wall Street if he just thinks randomness blows all the statistical experts out of the water? I know I'm missing something.


No: he does not say that statistics are useless. He says that the assumption of normality does not hold in real life: fat tails and the absence of means are ubiquitous. That is all the “black swan” means and how he got rich: taking risks which are nonsense under normal distributions but not so under, for instance, the Cauchy distribution.


Taleb's basic claim is that options that are way out of the money are underpriced. So he set up a fund, Empirica, which bought options a long way from the current value. This strategy does extremely well in years of a sudden downturn, and loses money in all other years. He and his investors did really well in 2008. He doesn't talk about the other years. Solid numbers for Empirica are really hard to find. Whether this is a win as an ongoing strategy is a big question. If you'd bought into that strategy in 2009, after it worked once, you'd have lost money for a decade.


Not trying to argue (wp is not a source) but it says he closed down in 2004?


Right, Empirica was the first "black swan" fund, which caught the crash of 2000. Universa was the next round, starting in 2007. That caught the 2008 crash.

As a strategy, this depends on a rough prediction of when the next crash will occur.


> this depends on a rough prediction of when the next crash will occur

If you think the tails are mispriced (and you have some kind of alternative distribution), and markets are liquid, can't you just keep on making Kelly bets? Maybe you need to model third-party investors bailing too, though...


OK thanks for the info.


Thanks. Ok, so is he creating strawmen everywhere, then? I know people working in government, biotech, climate research, and none of them seem to think that the normal distribution is the only model out there, or that the mean is a very meaningful (no pun intended) statistic.


The problem is: the normal assumption is just an assumption with a very interesting asymptotic property. That makes it good for computations.

However, Nature and more specifically economic events have little asymptotics in them (mainly isolated things like crises, earthquakes, crashes, accidents...).

I tend to agree with him on this.

He is not against science. He is mostly against economic modellers.


Some of his books contain pretty interesting insights, unfortunately his huge ego and his unwavering admiration for other egomaniacs like Trump gets tiring and leads to obvious contradictions that he doesn't explain. One of his main thesis is that people having "skin in the game" leads to a better society, but then somehow being critical of someone who makes horrible bets on real estate & casino using billions of other people's money (bank's) and not suffering any consequences, is sacrilege.


I don't get your last point - I think he is clearly in favor of "if you take the risk, you deserve both the win and the loss" - explicitly calling out that people who risk other people's money and take their cut whether it wins or loses are the worst.


Five Books just published a list this week. https://fivebooks.com/best-books/dr-patrick-porter-on-the-ri...


100% agree with this here.

I have had to push for leveraging postgres for data validation (including typing columns with enums where applicable), and sometimes it's hard to convince people, but all you have to do is (a) poke around your existing data and find cases where you have junk because of some out-of-band process that created data without using your main app's validation, and (b) do a couple out-of-band things like an ETL or two and see how it saves you from creating junk.

I don't know where I picked this adage up, but it's also something I constantly think about:

Your data will outlive your application code.

IME, if you value the data's integrity, it's not really a question whether you should be pushing validations down to the db layer.


That's the website's stock in trade! https://fivebooks.com/?s=russia&post_type=interview


I'm always surprised that reading source code is such a rare occurrence or suggestion in this world. If you consider yourself even in the vicinity of "advanced", I think you're capable of learning great stuff by looking at anything on github. Something big, but well organized. Lo-dash, Node, Mocha, etc.

Of course you won't understand everything on first read. But you will learn really good things if you know how to look at something confusing and identify what it is you don't understand; then you can go find didactic materials to fill in the gaps.

This is an amazing way to learn. You get to see how some of the most used, or cutting-edge tools are implemented (for free!). You learn about the tools themselves and thus gain expertise in them. And, you gain the meta-skill of working in unfamiliar territory, which I think is a fundamental key to being considered "advanced".


I question the utility of this.

I don't break apart an engine to figure out how to use it, I read the manual about inputs and outputs.


Totally fine, so long as you know that makes you an "advanced user".

I can't imagine you'll find a sane place to work where senior people are only capable of learning something after consuming a tutorial or a manual. The nature of the work is to drill down one layer below what you're working on. Do you need to know how to smelt steel in order to be a good car mechanic? No, of course not, but it sure helps to have taken an engine apart. And if you're trying to build the next, better engine, it's really great to see the internals (and the commented motivations!) of previous implementations.


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

Search: