HNHacker News
TopNewBestAskShowJobs

thomasfoster96

1,606 karma · joined November 12, 2012

submissionscomments
thomasfoster96··on Four Kinds of Dystopia
Libertarians still support the existence of the state (even if it’s a hollow shell of what most nation-states are now). Seeing the very existence of the state as being dystopian is anarchist.
thomasfoster96··on What programming languages are used most on weekends?
But the subset of UTC weekend hours that don’t overlap would be pretty small, though?
thomasfoster96··on What programming languages are used most on weekends?
> We defined weekends using UTC dates...

...which means quite a few Saturday mornings in Asia have been counted as weekdays and many late Friday nights in the Americas have been counted as weekends.

It would be great if StackOverflow had information on the local timezone that the question was asked in. Seeing Mon-Fri 9-5 vs other times would be interesting.

thomasfoster96··on ECMAScript 2017: the final feature set
> The last 2 ECMA releases (2017 and 2016) have felt pretty dull honestly.

It’s not exactly surprising. ES6 came out almost 6 years after ES5, so there was quite a few changes then. The yearly release cycle was always going to mean fewer features being standardised each release.

While I do follow from a distance some of the work TC39 does, I can only assume that most people involved have realised that having an orderly process for feature proposals - and not trying to rush heaps of features into a single release - is a much better way to do things.

> With the language moving this slow compared to faster releasing languages like Python, Elixir, and Go

Python, Elixir and Go have the advantage that they have one main/reference implementation and can break backwards compatibility whenever they want (although that hasn’t gone brilliantly for Python) by just incrementing a version number. ECMAScript runtimes have to be able to run programs that were written almost two decades ago - backwards compatibility can’t be broken - and you have several major implementations (V8, Spidermonkey, etc.) to deal with.

The tail call feature from ES6 is already being revisited because it caused problems [0].

> I wonder if Node.js will start to see a decline in hype since the language hasn't improved much in the last 2 years.

Tools like Babel mean that people who really want to use new or experimental language features can do so. There are dozens of language features in the proposals pipeline [1] and many (if not a majority) can be used via a compiler like Babel or via a polyfill.

Node.js also has the advantages of having it’s own 'standard library’ and an enormous package ecosystem to use. I think it will be fine.

[0] https://github.com/tc39/proposal-ptc-syntax [1] https://github.com/tc39/proposals

thomasfoster96··on Paper is the real 'killer app'
A pencil and eraser allows non-linear undo/redo.

Edit: Plus whiteout allows fairly simple overwrites.

thomasfoster96··on Ask HN: Will capitalism survive the robot revolution?
And what are these positions that you’ve listed?
thomasfoster96··on Ask HN: Will capitalism survive the robot revolution?
I think that the intended meaning of the comment was that given an unfair initial distribution of scarce resources, capitalism has the most fair outcome (I would disagree to some extent).

You may argue that capitalism has increased the ‘unfairness’ of the distribution of resources, but capitalism can’t be solely blamed for the various geographical, religious and other reasons for the ‘unfair’/unequal distribution of resources.

thomasfoster96··on The fivethirtyeight R package
> There was the now infamous

> Trump has as much chance of winning as Cubs

Are you referring to this “The Cubs Have A Smaller Chance Of Winning Than Trump Does”[0]? If so, I don’t understand why you would consider such a headline to be inaccurate or not objective.

[0] https://fivethirtyeight.com/features/the-cubs-have-a-smaller...

thomasfoster96··on Zhou Youguang, creator of the Pinyin writing system, has died
> So you invent an essentially new language

It’s still the same language, just new ways to write it down. It’s no different to writing Russian or Greek using the Latin alphabet.

thomasfoster96··on EveryPolitician: Open dataset on politicians
The Liberal National Party is electoral only at the national level, but parliamentary at the state level (Queensland). In the other states the Liberals and Nationals are only in an electoral alliance and parliamentary coalition, and haven't actually merged, so LNP politicians are split into the Liberal and National parties. The Country Liberal Party is similar to the LNP, but it only operates in the Northern Territory and its only Senator sits with the Nationals.

Wikipedia shows LNP MPs as being a part of the LNP, with a note stating their affiliation.

thomasfoster96··on EveryPolitician: Open dataset on politicians
For starters the speaker and deputy speaker of each chamber are listed as being not being in their own parties, which isn't true (although it is in the U.K.), instead they have strange abbreviations for the name of the position.

Secondly, in Australia the Liberal National Party is a partial merger of the Liberal and National parties. MPs in the LNP can be a member of either the Liberals or Nationals. In the House of Representatives data for Australia, the breakdown of LNP MPs between the two parties is incorrect, and leaves one MP as a sole member of the LNP. The errors are similar in the Senate data.

Additionally, two politicians (Bob Katter and Jacqui Lambie) are wrongly shown as being independents, despite being elected as the sole member of a party.

thomasfoster96··on EveryPolitician: Open dataset on politicians
I am aware of the UK having sub-national parliaments - my point is that the US has more than 50 legislatures and both Australia and Canada have around 10 each. Are these legislatures also going to be stuffed into the list, or will the legislatures be browseable in some form of heirarchy?
thomasfoster96··on EveryPolitician: Open dataset on politicians
233 countries? It would be much better to organise the data in some sort of heirarchy, given having the UK, Wales and Scotland all on the list is somewhat confusing (and it leaves out US and Australian state legislatures).

Also, I'm wondering how the data was collected - the party affiliation information for the Australian parliament is very strange. Not entirely wrong, but probably misleading.

thomasfoster96··on LoadJS – A tiny async loader for modern browsers (710 bytes)
Someone please correct me if I’m wrong, but I’m pretty sure await has to be within an async function [0].

[0] https://github.com/tc39/ecmascript-asyncawait/issues/36

thomasfoster96··on De-Googleify Internet
Have you compared DuckDuckGo and Google lately?

I ask because I used DuckDuckGo almost exclusively for about three years (had it as my search engine on desktop and iOS Safari) until a few months ago. A few months ago I noticed that DuckDuckGo's results began becoming very spammy and that I was having to use Google for anything more than a trivial single keyword search. So I switched back over to Google for a few days and never went back - Instant Answers actually turned out to be not that useful, Google's result quality is miles ahead, and the !bang feature is almost redundant because browsers support search-by-site natively. I know DDG has privacy as a selling point - but it's just not important enough for me to not use an overall better search engine, as much as I root for the underdog.

thomasfoster96··on Gambia's Jammeh in shock election loss after 22-year rule
There's a Wikipedia article devoted to Ukraine's name: https://en.m.wikipedia.org/wiki/Name_of_Ukraine

In short, Ukrainian has no definite article, unlike English. Ukraine officially dropped 'the' from the English translation of the country's name after independence. Some Ukrainians find the use of 'the' somewhat insulting as it is the Soviet-era translation and disregards the Ukrainian government translation.

thomasfoster96··on Show HN: Publish a Markdown website in 5 minutes
> An open spec for efficient binary encoding of formatted text is the thing we've needed for 20 years - not more MD tools.

How would this improve anything? Is there something about Markdown that makes it inherently inferior that I don't know about? I don't consider myself a tech-elite and Markdown seems just fine to me.

thomasfoster96··on A man who created a tiny country he can no longer enter
> That's not a big story at all.

I should have looked at Wikipedia first :) Although I do find the arrangement quite odd - Egypt and Sudan don't have a similar arrangement?

thomasfoster96··on A man who created a tiny country he can no longer enter
I'm no fan of Peter Thiel's politics, but where are these libertarian communities you speak of [1]? I can't think of any libertarian government that currently has power any where.

[1] I'm excluding anarchist communities.

thomasfoster96··on A man who created a tiny country he can no longer enter
The bigger story here seems to be that Croatia is treating the territory of Liberland as its own. I wonder what that means for Balkan relations? Has Croatia now accepted the revised borders?

Edit: Actually Wikipedia says that Croatia's position is that the land belongs to either Serbia or themselves, to the exclusion of any third party. Link: https://en.m.wikipedia.org/wiki/Croatia%E2%80%93Serbia_borde...

thomasfoster96··on How Does the Electoral College Work and Is It Fair
I'm not sure what your point is - that website seems to be measuring candidates on a political spectrum as well, and all it shows is that a two party system will emerge.

Approval voting suffers from most of the same problems as plurality voting - a candidate can still be elected despite not being approved or preferred by a majority.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
I’d agree that it’s not a panacea - but with all voting systems other than “whoever gets the most votes wins” there will be some confusion.

There is a well known phenomenon in Australia where voters in Tasmania will use preferences more often than voters in mainland states (Australia’s Senate uses STV with semi-optional preferences). This is almost certainly because Tasmania uses the same system in other elections, so voters are used to it and know how to use preferences.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
Bush got almost 70% of the vote in Wyoming in 2000. It’s a fairly safe Republican state, the only time it’s voted Democrat since WW2 was when Barry Goldwater was the republican candidate.

On the other hand, a big swing state like Florida matters for candidates. Clinton can win Florida and then afford to lose several smaller swing states. Trump has to win Florida to have any chance.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
It does get a bit out of hand if you have a large number of candidates (or options).
thomasfoster96··on How Does the Electoral College Work and Is It Fair
> This is the United States. The President is chosen by the states. Each state may decide how its electors are decided. The number of electors is weighted to avoid more populous states from dominating less populous states; it's a balance between tyranny of the majority vs minority rule.

> Electoral College is better geared toward preserving liberty, an imperative in our culture.

Less populous states are still greatly outweighed. Wyoming is very unlikely to ever determine a presidential election result.

Even then, if a single president can ruin the idea of federalism, then that is more a sign that the president is too powerful.

> Direct election isn't a solution, as implementing mob rule is prone to inspiring civil war.

US presidential elections have already inspired one civil war.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
Wikipedia has a great comparison of voting systems: https://en.wikipedia.org/wiki/Voting_system#Compliance_of_se...

In my opinion the best system for US presidential elections would either be a nationwide instant-runoff election or (if the electoral college couldn’t be replaced) a state-by-state single transferable vote election that proportionally elected Electoral College electors.

An instant runoff election would let voters put Johnson or Stein as their first preference and put Clinton or Trump as their second or third preference. It completely eliminates the problem of spoilers. The counting of votes might take a bit longer (perhaps a day or two if done manually), but needing to know the result within a matter of hours isn’t a requirement.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
> Except when there are only two alternatives which is the de facto situation in the US right now.

Well, two candidates have a possibility of winning. The nature of first-past-the-post elections means that Gary Johnson or Jill Stein can still affect the outcome if their votes change the result.

thomasfoster96··on How Does the Electoral College Work and Is It Fair
...but first-past-the-post block voting is one of the least fair.
thomasfoster96··on Deep in New Zealand
The relationship during WW2 wasn’t always great: https://en.wikipedia.org/wiki/Battle_of_Brisbane
thomasfoster96··on What the Heck Is Happening at Apple?
Homes tend to have a longer lifespan than phones.
← PreviousPage 5 of 22Next →