HNHacker News
TopNewBestAskShowJobs

jamescun

2,340 karma · joined July 27, 2011

Twitter: @jamescun Github: https://github.com/jamescun Blog: http://www.jamescun.com/ Email: hackernews [at] jamescun.com

[ my public key: https://keybase.io/jamescun; my proof: https://keybase.io/jamescun/sigs/eg-YzEEaRcyzNwlxW6095oWVjkLanjoACl6O7WSxk0U ]

submissionscomments
jamescun··on Why Are Carrots Orange? It Is Political (2009)
While not directly related, I recently learned another interesting fact related to carrots. The old saying of "carrots helping you see in the dark" was actually invented by the British Royal Air Force during WWII to disguise from the Germans that they had invented Radar.

http://www.snopes.com/food/ingredient/carrots.asp

jamescun··on Jvm.go: A JVM written in Go
This is one way to get generics in Go.
jamescun··on Docker acquires Kitematic
For a company who is "not trying to own the ecosystem" - they sure are buying a lot of the ecosystem.
jamescun··on Document Storage Gymnastics with Postgres
Just today I released a small Go package which wraps JSONB in an API similar to `database/sql` for the purpose of rapidly prototyping apps.

https://github.com/jamescun/jsonb

jamescun··on Upcoming AWS Security Maintenance
We contacted SoftLayer about this issue, they literally had not heard anything about it and they would "contact their datacenter team".

If they treat it like the last round of Xen vulnerabilities, they will simply place a warning on their dashboard an hour beforehand - not sending out any form of email notice. The first we knew about it was when we started receiving alerts from nagios.

jamescun··on RunAbove – French Cheapest S3-compatible Storage ($0.01/GB/month)
I believe they were independent to OVH, just utilising OVH's infrastructure then OVH invested in them. I think they are still separate but obviously have a close relationship with OVH.
jamescun··on How to Send Postcards as Effortlessly as Email
Looks to be inspired by GoCardless (https://developer.gocardless.com/) and Stripe's API (https://stripe.com/docs/api) docs.

As an aside, GoCardless open-sourced their API docs https://github.com/gocardless/api-docs .

jamescun··on Using Go to improve your Ruby application's performance
With regards to Go, it is currently not possible as the Go compiler only supports building static binary executables. For it to work with extconf, Go would need the ability to build dynamic libraries.

There has been talk of incorporating this ability and slim executables go (I think it might even be in the roadmap now).

jamescun··on UK coal use to fall to lowest level since industrial revolution
Yes, but I wouldn't say to the same extent. In terms of energy, it flows very much left to right.

                  Left                         Right
                  Green  Labour  Conservatives  UKIP
  Climate Change    X      X           X
  Renewables        X      X
  Nuclear                  X           X         X
  Fossil Fuels                         X         X
Between the two major parties (Labour and Conservatives) there is widespread support for belief in Climate Change just difference of opinions on how to tackle it.
jamescun··on Hackers Who Shut Down PSN and Xbox Live Now Attacking Tor
For Tor network status and node list: https://torstatus.blutmagie.de/

All names appear to begin with LizardNSA.

It must be said, however, that all exit and non-exit nodes go through acceptance process over 88 days

https://blog.torproject.org/blog/lifecycle-of-a-new-relay

jamescun··on Merry Christmas to HN
Nollaig chridheil agus bliadhna mhath ùr à Alba.
jamescun··on U.S. energy grid hacked 79 times this year
> taking out a city's power would take a calculated, coordinated effort by an army of hackers

Good thing none of our adversaries have any form of co-ordination or literal armies of hackers.

jamescun··on Half a decade with Go
Binary sizes are a concern, particularly with a move to mobile devices and later embedded systems.

However for Go's current platforms, I would call it a non-issue. Static builds, something seemingly long forgotten though supported in other compiled languages, make deployment and distribution that bit easier.

I would support static builds by default, optional dynamic builds.

jamescun··on Building a CustoMac: Buyer's Guide
By this point, Macs are only a notch away from a stock PC. Even the last vestige of difference, such as the use of EFI, are becoming common practice by other computer manufacturers.

The time and effort required to introduce technical preventative measures far out-weigh the "loss" from the Hackintosh community (which is still a minuscule niche in comparison to their genuine markets).

jamescun··on Why pro-systemd and anti-systemd people will never get along
That is a rather broad estimation of all those who dislike systemd.

While there are people who most likely dislike systemd because they are resistant to change, they don't constitute everyone with objections. I for one dislike systemd, not because I am resistant to change, but on a purely technical basis (which I won't discuss as it has already been reiterated ad nauseam).

I must also add that I dislike sysv and like that the community is discussing alternatives; but the race to systemd, with some serious technical failings which have not been addressed, scares me.

jamescun··on New Tube for London
I think he was referring to the S8 stock currently on the Hammersmith & City, Circle and Metropolitan lines (and being trialed on the District line https://twitter.com/jamescun/status/516498515963695105) which have air-conditioning.
jamescun··on Poll: Do you use an ad-blocker?
I use Adblock and Ghostery. With Adblock I manage a whitelist of website to allow adverts on; typically sites I wish to support with ad-revenue and have a reasonable policy for adverts, Reddit's self-service advertising is a good example. I also use Ghostery to remove those social media buttons; for me they add no value, in addition to tracking my online usage for sale to advertisers and slowing down page loads.

EDIT: "reasonable policy" being no flash, no auto-play videos, no flashing banners and no javascript "pop-overs"

jamescun··on [dead]
Facebook appears to be leaking again.
jamescun··on Apple Working with American Express on iPhone 6 Mobile Payments
While no wearable device has NFC, you can get bracelets with contactless payment chips. Barclaycard's BPay is a good example[1]

[1] https://bpayband.co.uk/

jamescun··on Polaroid Cube
Where did you get the $99 figure from? I looked all over the page and couldn't find it. Not bad at all for $99.
jamescun··on Parsing PHP in Go
For those interested:

Ruby in Go: https://github.com/grubby/grubby

Javascript in Go: https://github.com/robertkrimen/otto

jamescun··on Show HN: Linux tool to show progress for cp, rm, dd, etc.
For a verbose or simple progress `cp` equivalent I tend to use RSync. Both RedHat/CentOS/etc and Debian/Ubuntu all come with RSync as standard. The only caveat is that I find RSync to be slightly slower than coreutils cp; however you do gain all the advantages of RSync if you then need to sync files across the network for example.

> rsync --progress <source> <destination>

> rsync --progress /home/me/music/*.mp3 /mnt/shared/music

jamescun··on Emergency phone and internet data storage law to be brought in
By all means write to your MP, call me a pessimist but I doubt it will do much good. This government has shown no interest in listening to what the public think. We as a nation are expending all peaceful means of discourse (letters, petitions, protests, marches) on a range of topics like the sell-off of the NHS, real-terms pay cuts for public sector workers, cuts to vital services and critical welfare; and the result is no change. Even in the face of incontrovertible evidence and testimony from legions of industry experts (from all political leanings) does not sway whatever agenda the current government have.

Personally I have written to my MP several times in several different constituencies only to receive back the same cookie cutter party line on the subject and addresses none of the valid concerns I raise, I hear this same from others about their MPs.

jamescun··on CentOS 7 released on x86_64
Fedora is the RedHat "testbed" and has regular updates similar to the debian/ubuntu universes.

One of the core features of CentOS/RedHat/Scientific Linux/etc is their longterm support and package freeze (excluding critical security updates). If you are reliant on a different version of software from the default repositories (both newer or older) then you are encouraged to build and package them yourself. Additionally in the RedHat-derivative universe there is the EPEL package repository which contains a wider range of software and is kept more readily updated in addition to being maintained by the Fedora Project (essentially RedHat).

jamescun··on The March Towards Go
It is a rather vauge statement and could have used some clarification; however Go does make writing network protocols very simple, and building something like a gossip protocol based system with a leader election system is doable in a week. Even quicker if you use some of the existing distributed systems libraries for Go.
jamescun··on The HTML5 appcache is the New Bootloader
I don't understand what need the appcache system fulfils. Within HTTP there is already a reasonable caching system. True, as mentioned in the post, the browser may occasionally clear the cache or elements of it; but that would be an argument for adding something like a `persist` flag to the `Cache-Control` header which would serve the exact same purpose, in addition to being backwards compatible with older browsers.
jamescun··on UK Government Bans Teaching Creationism as Science
It is sad that it wasn't already the law, or so ingrained in all that it wasn't an option to begin with.

That being said I attended several schools in the UK and I, and those that I know (some attending schools run by the Church of England), was never really taught about creationism or anything of religious affiliation outside of RE lessons. YMMV.

It seems to be part of the media-induced fear of creeping extremism in schools after a alleged "plot" by a small number of Islamic extremists trying to take over schools in the Birmingham area (see "Operation Trojan Horse"). I am glad however that legislation is targeting broad strokes religion in the science classroom as opposed to just targeting Islam.

jamescun··on Reuters hacked
It seems that Reuters has rectified the problem now. Previously it was redirecting to a page hosted by the Syrian Electronic Army.

Also a reminder to not link directly to hacked pages but to perhaps a screenshot and put the real link in the comments, as we don't know if there could be malicious javascript et al injected into the page.

jamescun··on Mojang threatens lawyers against pay-to-win Minecraft server operators
Depends on your country but I was involved in the running of a Minecraft server a couple of years ago with about ~100 simultaneous players and our server costs were about £400 ($650?) a month in a UK datacentre; so $1000/month wouldn't be impossible.

We could have saved some money by using a cheaper European provider (iirc OVH had a similar spec'd server for £200), but we were all based in the UK so the low latency was a major benefit. The UK server provider market really needs some disruption.

jamescun··on Mojang threatens lawyers against pay-to-win Minecraft server operators
Mojang seem to be forgetting that it costs money to operate a server, and a "freemium" model is a completely viable and legitimate way to fund that operation (other ways such as accepting donations and paid-players only exist).

Some may say you are in essence paying a third party for Mojang's work, when in fact you have already done so by purchasing the game in the first place. What position do Mojang feel they are in to dictate how people play the game?

Ultimately it comes down to what players want, players are not afraid to vote with their feet and abandon servers which operate in this way; as of yet there seems to be no widespread trend in abandoning these servers.

As an aside, I believe this is more likely a push by Mojang to shut down paid servers and move people onto their Minecraft Realms product which does exactly this.

← PreviousPage 6 of 10Next →