HNHacker News
TopNewBestAskShowJobs

thomasfoster96

1,606 karma · joined November 12, 2012

submissionscomments
thomasfoster96··on The Punctuation Guide
> Commas and periods that are part of the overall sentence go inside the quotation marks, even though they aren’t part of the original quotation.

Please never do this.

Commas and full stops have meaning. You’re modifying the original quote without telling the reader that you have done so. How this became the accepted practice in so many style guides and grammar checkers I will never understand. I shall defer to Geoffrey Pullum’s Punctuation and human freedom [0], whose title is entirely appropriate, for justification. Steven Pinker’s The Sense of Style [1] can provide the unconvinced further justification.

[0] http://www.lel.ed.ac.uk/~gpullum/punctfree.pdf [1] https://www.amazon.com/Sense-Style-Thinking-Persons-Writing/...

thomasfoster96··on Ask HN: Apple maps vs. Google maps today?
Strange - I just tried Maps on my Mac again and it was ~20s from the window opening to a map appearing (but much quicker when zooming out/in). I’m on TPG ADSL, which is usually able to stream 4K Netflix/YouTube with very few problems. But as I said, even the Macs in JB HiFi and the Apple store take a long time to load Maps, and I’ve had the same delays in Tasmania as well.

Yeah I wouldn’t be surprised if PTV bureaucracy had something to do with it but it’s not as though they themselves are bad at technology, given their own app has been able to track trams and some buses for years...

thomasfoster96··on Ask HN: Apple maps vs. Google maps today?
Thanks, will have a look.
thomasfoster96··on Ask HN: Apple maps vs. Google maps today?
The biggest issue that I (being in Melbourne, Australia) have with Apple Maps is that it is incredibly slow. It was barely usable because of the speed on my iPhone (even on 4G) before I removed the app, and is pretty much unusable on my Macbook. I’m talking up to a minute before an actual map would display, and often up to 30 seconds when zooming in. I know quite a few other people have the same problem - even the Macs in the nearby Apple Store take ages to load anything. I can only assume that Apple doesn’t have a data centre in Australia or south-east Asia that serves the Maps app.

Google Maps is pretty reliable. I do use it a lot for walking though, and there are some issues in that department: strange routes, especially if there isn’t a road nearby, often useless time estimations, etc. Plus up until recently public transport wasn’t supported in Melbourne (but was on Apple Maps), which was a pain. Public transport support still isn’t 100%. My main qualm is that the web version drains my laptop’s battery at an alarmingly quick rate - and on my phone it certainly doesn’t help battery life either.

OpenStreetMap’s data is far superior to both Apple Maps and Google Maps in my experience - the only problem is that not being commercial means that search and routing are pretty much useless. I would happily use an app that offered all the features of Google Maps but used Mapbox tiles (and gave me a choice of map style).

thomasfoster96··on Crown shyness
But that's the sound of the tree decaying/dying, not communicating as the GP seemed to imply.
thomasfoster96··on Crown shyness
> They also can "scream" by giving off a pulse (that humans can't hear) when attacked...

Do you have a source for the ‘scream’ phenomenon?

I am aware of (and was myself misled by) several pop-science books which confusingly tried to compare plants giving off chemicals when attacked with animals screaming. The result was that a skim read would have given one the impression that plants could make sounds inaudible to humans, which was not what was meant.

thomasfoster96··on An attack of carnivorous Sea Fleas at a Melbourne beach
> Reminds me of that joke website (is it poisonous?). The first question was "Are you in Australia?" and if you confirmed you are, the answer was automatic "YES"...

I think Australia must be unique in having at least one venomous/poisonous species of fish, amphibian, reptile and mammal.

thomasfoster96··on Martin Shkreli is found guilty of securities fraud
No.

OP is pointing out that because Shkreli initially became infamous for his drug price raising, many members of the public are probably seeing ‘Shkreli found guilty’ and assuming it was because of that incident, which many felt was wrong and immoral. This article (And other coverage of the trial) doesn’t make any such claim.

thomasfoster96··on A Dinosaur So Well Preserved It Looks Like a Statue
Humans (and all tetrapods) are more closely related to lungfish and coelacanths than either of those two types of fish are to other living fish.
thomasfoster96··on A Dinosaur So Well Preserved It Looks Like a Statue
And dinosaurs are reptiles, mammals and reptiles are amniotes [1], both amniotes and amphibians are tetrapods, tetrapods are actually fish[2], and there's no such thing as a fish[3]!

[1] https://en.m.wikipedia.org/wiki/Amniote

[2] https://en.m.wikipedia.org/wiki/Tetrapodomorpha

[3] https://en.m.wikipedia.org/wiki/No_Such_Thing_as_a_Fish

thomasfoster96··on ECMAScript 2017 Language Specification
I know I’m technically wrong and it’s too late to edit the comment...

...but in my experience usage of ES6/ES7/ES8 as names far outweighs usage of ES2015/ES2016/ES2017. Calling it ES2017, while technically correct, would in my opinion be far more confusing to most people than calling it ES8.

thomasfoster96··on ECMAScript 2017 Language Specification
I think that’s because a lot of proposals are initially developed away from TC39 by individuals or small groups.
thomasfoster96··on ECMAScript 2017 Language Specification
Yep, it should be. Thanks for catching it.
thomasfoster96··on ECMAScript 2017 Language Specification
Ah, well this would return a new object:

    Object.entries(obj).map((prop, value) => ...).reduce((newOdj, [prop, value]) => newObj[prop] = value);
I see your point about verbosity :)
thomasfoster96··on ECMAScript 2017 Language Specification
Proposals [0] that made it into ES8 (“what’s new”):

* Object.values/Object.entries - https://github.com/tc39/proposal-object-values-entries

* String padding - https://github.com/tc39/proposal-string-pad-start-end

* Object.getOwnPropertyDescriptors - https://github.com/ljharb/proposal-object-getownpropertydesc...

* Trailing commas - https://github.com/tc39/proposal-trailing-function-commas

* Async functions - https://github.com/tc39/ecmascript-asyncawait

* Shared memory and atomics - https://github.com/tc39/ecmascript_sharedmem

The first five have been available via Babel and/or polyfills for ~18 months or so, so they’ve been used for a while now.

[0] https://github.com/tc39/proposals/blob/master/finished-propo...

thomasfoster96··on ECMAScript 2017 Language Specification
Is Object.entries(obj).map((prop, value) => ...) close enough? Object.entries is newly standard in ES8.
thomasfoster96··on South Australia teams with Tesla, Neoen to build world's biggest Li-ion battery
South Australia is getting a battery, not a battery manufacturing plant. The Gigafactory makes the batteries.
thomasfoster96··on Kolpa – A fake data generator for Go
...which is cognate to the English "culpable".
thomasfoster96··on React, Relay and GraphQL: Under the Hood of the Times Website Redesign
Have you been using normal Relay or one of the forks/modified versions that supports server-side rendering? The fact that Apollo Client supports server-side rendering out of the box was a big plus for me.

> the file size + performance improvements are worth the cost of admission in my mind.

Is this Relay Classic vs Relay Modern or Relay vs Apollo?

thomasfoster96··on React, Relay and GraphQL: Under the Hood of the Times Website Redesign
I strongly suggest that you look at Apollo's GraphQL offerings. My 'aha' moment with GraphQL came while reading the docs for their GraphQL server[0].

IMHO Relay doesn't make a lot of sense. Apollo Client [1] has a much better feature set for most use cases, doesn't need React and is better documented.

[0] http://dev.apollodata.com/tools/graphql-tools/resolvers.html [1] http://dev.apollodata.com/core/

thomasfoster96··on Google Will Stop Reading Your Emails for Gmail Ads
But… you don’t really have to use Gmail to use most of Google’s other products, just as you don’t really have to use (actively) Google+ to use other Google products either.
thomasfoster96··on Up a Wombat's Freckle
> Of course, the use of the word “mate” is ubiquitous in Australia, and has slowly lost its old, comradely meaning. Not seldom now it can have a hostile ring, as in “Whadaya think you’re doin’, mate?”

'Mate' now usually either implies condescension or social distance (or cultural cringe), at least in the south eastern states. International stereotypes of Australian language are yet to catch up.

thomasfoster96··on Word Embeddings: Past, Present, and Future
On desktop Safari it was almost 10MB in total for me, 7.7MB of which is the PDF slides.

Edit: Images in the slides are downloaded as you navigate to them, they’re no more than 200KB per slide.

thomasfoster96··on MathJax CDN shutting down on April 30, 2017
Thanks, I thought it was a typo.
thomasfoster96··on MathJax CDN shutting down on April 30, 2017
> which is against everything CloudFlare stands for

Could you explain this? Have I missed some big Cloudflare news?

thomasfoster96··on 'My life was ruined by a typo'
Friendly suggestion: The italics didn’t help the sarcasm come across any easier.
thomasfoster96··on STON – Smalltalk Object Notation (2012)
> I can't imagine that ES6 "symbols" would be so bizarrely broken.

In what way are ES6 “symbols” broken? (genuinely interested, I haven’t really used symbols before)

thomasfoster96··on Zealandia: An eighth continent under New Zealand?
Literally cool I assume?
thomasfoster96··on Replacing butter with vegetable oils does not cut heart disease risk (2016)
> Studies show that you generally need a level of < 150 mg/dL to avoid heart disease. That's quite a bit below the average "normal" level. But today's average is NOT physiologically optimal.

My point was that people see the “no cholesterol” message and start eliminating cholesterol from their diet...but then they end up replacing all the sources of fat in their diet with carbohydrates, or in some cases end up not getting enough of some nutrients which are often found in foods that are relatively high in cholesterol (e.g. iron or calcium).

The message about cholesterol should be more nuanced - less “don’t eat cholesterol”, more “don’t consume more than X mg”.

thomasfoster96··on Replacing butter with vegetable oils does not cut heart disease risk (2016)
I think the point was that most of the health-conscious general public has the mindset that fat is the enemy and that things like cholesterol should be avoided at (almost) all costs.

The reality is that you can have a diet that is relatively high in fat and still lose weight, just as you can have a diet that is low in fat and still put on weight. As for cholesterol, it isn’t a toxin that should be eradicated from your diet - it’s something that just needs to be eaten in moderation (perhaps with butter on toast for breakfast, rather than fried chicken for lunch).

← PreviousPage 4 of 22Next →