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

They made a coffeescript for go


They made a Typescript for go. Coffeescript was dynamic.


Coffeescript added semantics and behavior. Typescript for better or worse is almost only types on top of existing behavior. (with the primary exception being the `enum` concept)


Well to be fair a lot of the boarding time is tied up in people struggling to get luggage into overhead bins, and then eventually fully running out of space and having to swim upstream after they put their bag behind them.


Yes, apparently this is why "DO NOT TAKE YOUR LUGGAGE WITH YOU" is emphasised so much in safety announcements. 90 seconds still seems impressively fast to me though.


Also one (or very rarely 2 with some 757s) entrance vs. 5+ exits.


The only photo with backwards facing seats in the article is labeled

“Check out this wild train interior on the Chinese version. It has a centrally located table and rear-facing front seats. Truly a "living room" layout.”

Which is describing a completely different vehicle.


I missed that, thanks.


This feels like a great introduction to the “Lizardman’s constant” (https://slatestarcodex.com/2013/04/12/noisy-poll-results-and...)

> Lizardman’s Constant is an idea proposed by Scott Alexander that each poll always has about 4% weird answers. In one poll, 4% of Americans said that reptilian people do control our world and, in another 4% answered ‘Yes’ to the question ‘Have you ever been decapitated?’


That’s strangely a whole 3 percentage points higher than the number of Americans who self identify as ‘evil’ (on the D&D alignment chart) - see 4:47 at https://fivethirtyeight.com/videos/where-americans-fall-on-t..., although at this point we’re probably well within polling margin of error.


I selected kill people over have my Amazon packages being late, but then I felt guilty about it and answered seriously in the rest of them.


You fool, Amazon will refund you the cost because it's late and you'll get your package in a few days regardless. You threw away a lifetime of free Amazon stuff!

Well, until they ban you that is I guess.


Great article and excited to see another solution tackling the complex problem of billing. I’m an founding engineer at https://metronome.com (building usage-based billing infrastructure) and definitely echo the sentiments shared here — building a billing system that can scale is no small feat and anyone who previously built billing in-house can attest to just how painful that is.


I’ve not used this tool before (am excited to in the future though because..) having done a lot of API diffing with text diff tools in the past, they break down very quickly on things like: JSON key order can be random, causing false positives. Some headers will always be different (any sort of timestamp based header for example) while others must not be different. URL query params can be in any order, etc.

I think if you do api diffing at any reasonably large scale you’ll find yourself immediately building tools to help cut the signal from the noise, and this is an exciting step in that direction.


Matt Levine (as usual) has some good explanations for the value (or lack thereof) of stock splits, as well as some historical context, as seen via the lens of the recent Apple split: https://www.bloomberg.com/opinion/articles/2020-07-31/apple-... (Bloomberg has a pretty aggressive paywall, but usually a new incognito tab will bypass it).

"A company should be a thing, and people should be able to own a portion of its equity, and the portion that each person owned would be expressed as an arbitrarily precise percentage of the total...The “stock price” would be what we now call the “market cap”: The market would place a value of $X on the company as a whole, and if I wanted to buy another 0.01429% I would pay 0.01429% of $X....

The traditional, 19th-century answer to how many shares a company should have was that stocks should have a normal price, they should cost like $40 to $100...This was so standard that, when Charles Dow created a stock index in 1884, he just averaged the dollar stock prices of a bunch of stocks...because the stocks had normal prices.

There is an argument that high-priced stocks reduce liquidity because traders have less incentive to post quotes. It is good for a stock to trade at a bid/ask spread of a couple of “ticks,” the minimum price increment for trading. If a stock is worth $50 and trades at a bid/ask spread of $49.99/$50.01, a trader who posts a bid to buy at $49.99 will be able to buy from anyone who wants to sell immediately. If it’s worth $500 and trades at $499.90/$500.10, a trader who posts a bid to buy at $499.90 might lose out to a trader who bids $499.91. You can’t reliably earn a “normal” spread by trading the stock, so your incentive to provide liquidity is lower. Nasdaq published a paper arguing this point

At the time of Apple’s last split, in 2014, one popular explanation was that Apple was trying to get into the Dow Jones Industrial Average, which is still price-weighted and so still has an old-fashioned fondness for normal-priced stocks, but that worked and now it’s in the Dow so that’s no reason to split again"


Can't speak to the claims in this comment around type 2 diabetes, but worth noting this article and pill is specifically for type 1 diabetes, which is in no way related to weight or metabolism, but rather an autoimmune disease.


Read the docs - React Native in general has good docs and the native module guides are especially well done in my opinion.

IOS - https://facebook.github.io/react-native/docs/native-modules-...

Android - https://facebook.github.io/react-native/docs/native-modules-...


Thanks. Hadn't seen that section


Some cities (Paris off the top of my head) have "UberGreen" which is exactly this - You can elect to only take rides from hybrid or electric vehicles.

https://newsroom.uber.com/portugal/ubergreenen/


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

Search: