HNHacker News
TopNewBestAskShowJobs

chris_overseas

4,371 karma · joined November 16, 2013

submissionscomments
chris_overseas··on Skirting U.S. sanctions, Europeans launch trade mechanism for Iran
I'm not sure why you're being downvoted. I returned from Sudan recently [0] and it is a fascinating country full of wonderful people and rich in culture - you will love visiting there! The Sudanese continue to suffer badly economically however, partly as a result of being on the US "State Sponsors of Terrorism" list [0] even though I firmly believe they no longer deserve to be there. Sudan still has many problems to tackle aside from this, but the US continuing to keep them on the terror list is without doubt only serving to make things worse.

Inflation is a huge problem in Sudan, largely brought on due to a lack of foreign exchange and trade (I had to take in enough USD to cover my entire trip). During my two week visit the Sudanese pound was devalued 39% overnight [2] and prices for common items rose noticeably during my stay. I came away feeling a huge amount of empathy for the locals who are finding it increasingly difficult to even afford basics such as bread there.

[0] https://www.facebook.com/media/set/?set=a.10156632235706760&...

[1] https://en.wikipedia.org/wiki/State_Sponsors_of_Terrorism_(U...

[2] https://www.bloomberg.com/news/articles/2018-10-07/sudan-rev...

chris_overseas··on Inventor May Have Cured Motion Sickness Without Drugs
Followup comments from the inventor are here:

https://www.reddit.com/r/oculus/comments/9ywify/inventor_may...

(found via the Oculus Go article comments from earlier today, here: https://news.ycombinator.com/item?id=18696840 )

chris_overseas··on The MAD Computer Program
His drive was single-sided double-density, giving 160k storage. The ones I was using were double-sided double-density, providing 360k of storage. I have no idea why the single sided drive had a bit less than half the storage of the double sided one though.

There were two "hacks" available with single vs double sided drives and disks. 5.25" floppies had a small notch in the side that, if you covered it with a sticker, meant the drive treated it as read-only. By cutting an equivalent notch in the opposite side of a disk to make it appear writable it was possible to flip it over 180° and use both sides of a double-sided disk in a single-sided drive. Conversely, disks that were rated as single-sided (and hence cheaper) could generally still be used successfully in a double-sided drive, though it wasn't recommended to store anything too important that way because the failure/problem rate was noticeably higher. My guess is that the single sided disks were binned as such due to them failing tests on one of the sides during manufacturing.

chris_overseas··on The MAD Computer Program
Ah good times, I remember spending countless hours typing in source code like this. At one point I also submitted the source for a couple of games I'd written to a computer magazine when I was younger, and was delighted to get one of them published. My address was included; if people sent me a $5 note and a 5.25" floppy I'd return their disk containing a copy of the game plus a couple of other "bonus" apps I'd written. I think I sold maybe 4-5 copies this way and was pretty pleased with myself at the time!

I do recall having to send a disk back and forth a few times to one customer because I'd reformatted his disk to double-sided (360k) but he only had a single-sided drive[0]. After he tried and failed to read it, I spoke to him on the phone, figured out the problem and asked him to return it. I reformatted the disk back to single-sided (180k) so he could try again. That didn't work either since it turned out the single sided drive only supported 160k rather than 180k, which necessitated yet another round trip of his disk through the postal system.

[0] I'd been using a Sanyo MBC-555-2, he had a Sanyo MBC-550.

chris_overseas··on LED Strain
One interesting use for flickering LEDs is to help figure out the readout speed and clock rate of a digital camera sensor by exploiting the rolling shutter. Some discussion and experiments on this technique can be found here: https://www.magiclantern.fm/forum/index.php?topic=23040.0
chris_overseas··on How to find MH370?
This article also gives a readable background and summary of the problem and theory: https://www.nzherald.co.nz/world/news/article.cfm?c_id=2&obj...
chris_overseas··on Paint16b: A 16 byte paint program written in 12 lines
No, AFAIK MS-DOS always initialises it to zero before starting the program. I'm trying to find a better reference, but I think this[0] effectively explains what state the registers are in on entry to your program.

Edit: I take that back. According to [1]:

  .COM-format executables begin running with the following register values:
  AL = 00h if first FCB has valid drive letter, FFh if not
  AH = 00h if second FCB has valid drive letter, FFh if not

[0] https://thestarman.pcministry.com/asm/debug/debug.htm#INIT

[1] http://www.delorie.com/djgpp/doc/rbinter/id/51/29.html

chris_overseas··on Designing Google Maps for Motorbikes
I recently saw a pitch from a startup that have a gadget [1] designed to address exactly the problems you talk about and might be worth a look (disclaimer: I have no relationship with the company but I do cycle a lot and thought their product looked promising). The debate amongst the investors afterwards was interesting, once the startup had left the room. The investors who didn't cycle/motorbike were sceptical and couldn't understand why a mobile phone wasn't good enough for this whereas the investors who had some cycling experience were mostly positive about the product.

[1] https://beeline.co/

chris_overseas··on New form of matter may lie just beyond the periodic table
[Disclaimer: I'm not a physicist]

I thought that due to relativity, if the elements are travelling close to the speed of light then they could still travel for thousands of years even if their their half lives are much shorter. That's because the element only appears to be thousands of years old from our frame of reference; their age is much less when viewed from their own reference frame. Though given the size and mass of these elements that might be a moot point since it's unlikely they could be travelling at near light speed anyway, due to the enormous energy it would require for them to do so?

chris_overseas··on Lemming Suicide Myth: Disney Film Faked Bogus Behavior
Not so lucky for the elephant though I'm afraid to say[1] :( The best way to experience elephants is on safari, where you can get close to truly wild elephants in their natural environment - something that to me at least feels much more rewarding than riding one in captivity. With a well chosen safari the fees you pay will be going to local guides and helping support and protect the animals too.

[1] https://www.independent.co.uk/travel/asia/elephant-riding-ph...

chris_overseas··on Show HN: T2b – A wicked-powerful text macro language for building binary files
It's shared project configuration. If you're using the same IDE as the author (CLion in this case) you get all the code style settings, run/debug configurations and shared project config/settings without any setup required. If you're not using CLion just ignore the files, they don't do any harm.
chris_overseas··on WhoisGuard Privacy Protection is now free
Can someone explain in more detail why they aren't able why they aren't able to cover certain TLDs (including several falling under GDPR in the EU)? Their FAQ says: "Due to registry restrictions, WhoisGuard cannot be used with .asia, .ca, .cn, .uk, .co.uk, .de, .eu, .in, .id, .me, .uk, .nu, .li, .ch, .fr, .sg, .com.sg, .org.uk, .us, .es, .com.es, .nom.es, .org.es, .com.au, .net.au, .paris, .vote, .voto, .xn--3ds443g, .nyc, or .org.au domains."
chris_overseas··on Why New Zealand is releasing a rabbit-killing virus
Killing and trapping doesn't even scratch the surface of the problem, it is truly immense. Rabbits have no native predators in NZ and they breed like... well, rabbits. There has been huge amounts of debate, research and approaches taken to reducing their numbers, some more controversial than others (e.g. have a look at the ongoing debate around 1080 poisoning).

The introduction of a virus is not something that is done lightly here. Bear in mind that NZ has one huge advantage compared to most countries here in that the only native land mammal is a bat, so there's not a big risk of the virus spreading across to other native species (this is the reason why 1080 is effective too as it generally only kills mammals). Note that the myxomatosis virus was introduced (illegally) by farmers to NZ in 1997 and it proved pretty effective at reducing the rabbit population for the next 10 years or so, until resistance built up.

chris_overseas··on VCG has acquired 500px
https://www.pixsy.com/
chris_overseas··on Create React apps using Kotlin
There's an announcement and some example code for building iOS apps with Kotlin/Native here, including reusing some of the code across iOS and Android:

https://blog.jetbrains.com/kotlin/2017/11/kotlinconf-keynote...

chris_overseas··on TransferWise announces $280M investment
I just used a Revolut card during a two week trip around Iceland. It worked fantastically well. Iceland's interesting as some places charge in Krona, some in Euro, but in either case I was charged the live mid-market rate to the GBP with no extra spread or fees.

You're also allowed to withdraw roughly £200/month worth of cash (any supported currency) without any fees. Beyond that there is a charge, I can't remember how much offhand but it's not too crazy.

The one problem I had with the card was at their petrol stations. Most are self-service and require the card to be pre-authed before the fuel will start being pumped. Revolut doesn't support this so I had to use another card or find stations where I could pay in store.

chris_overseas··on Tetris for TS100 soldering iron
For what it's worth, I somewhat hesitantly bought one of these soldering irons a few months ago off Ali Express. After having used it a lot since then I can now highly recommend it as a fantastic bit of kit - I've almost become emotionally attached to the thing! It heats up quickly, holds a consistent temperature, solders very well, plus has lots of features and configuration options. For example it can be set to cool down to different temperatures depending on how long it had been stationary (thanks to its build in accelerometer). The open source firmware is the icing on the cake.
chris_overseas··on Docker operations slowing down on AWS
Here I guess? https://cc.delimiter.com/cart/clearance-servers/&step=0
chris_overseas··on Why I Don’t Regret Moving Our Android App to Scala
I don't see any real justification here for why it was worth the effort to port the code from Kotlin/Java to Scala other than reusing their "well-established skills with Scala" and "using sbt for our Android app has also allowed us to leverage our unified build system". They're both valid reasons, but they're not so much technical decisions as pragmatic ones for that particular company.

The post states "hopefully I will be able to illustrate how Scala can dramatically improve your experience while developing Android applications". This claim isn't addressed in the post at all however. For example, it states "Scala has a pretty decent concurrency primitive in Future" and explains how to use them, but doesn't say what they offer over and above Java futures or Kotlin coroutines. Most of the post is talking about how they migrated their codebase and any compatibility or technical hurdles that were overcame on the way (e.g. the sbt/Gradle mismatch), not about why Scala was a better choice technically or what benefits it offers over Java or Kotlin. There's no mention either of other practical issues such as the large standard library, method counts, compile times and so on.

The addition of a few strong comparisons would be welcomed. As it stands, the post feels more like "please don't fire me" than "where's my promotion?".

chris_overseas··on I ask 100 information questions to four digital assistants
That's similar to how The Chase[1] works, except contestants go head to head with a professional quiz master instead of a digital assistant.

[1] https://en.wikipedia.org/wiki/The_Chase_(UK_game_show)

chris_overseas··on Malware Uses Router LEDs to Steal Data From Secure Networks
This technique is sometimes used when reverse engineering. For example, if you can find a way to run code on a device and control an LED on it, it can then be possible to dump the device's firmware through flashing the LED.

This is exactly how the CHDK project[1] managed to obtain firmware dumps[2] of various Canon cameras when they were first being reverse-engineered. I used the same technique myself when I soft-bricked my camera and needed to see the camera's internal log messages to understand where the problem was. I redirected the log out to the LED, recorded them using a photodiode and my PC soundcard input, then reconstructed logfile from the soundwave that was recorded. To my surprise and pleasure, it worked first time and gave some of the clues needed to eventually revive the camera.

[1] http://chdk.wikia.com/wiki/CHDK

[2] http://chdk.wikia.com/wiki/Obtaining_a_firmware_dump

chris_overseas··on Alex Honnold Scales El Capitan Without Ropes, and the Climbing World Reels
There's some National Geographic video footage of the climb here: https://www.youtube.com/watch?v=9HoUDDetAg0
chris_overseas··on Ask HN: Who is hiring? (June 2017)
Percentile | London, UK | Full time | Onsite

Percentile are a young technology company building high performance risk management software for the financial world. We're looking for a junior developer to join our small but growing team in the Bank/Monument area of London. The successful candidate would be responsible for enhancing existing features, adding new ones (including greenfield work), along with some support and QA. Don't worry, we won't expect you to know everything up front, but we will expect you to be bright, enthusiastic and willing to learn. As you grow into the role you will gain solid experience in a range of technologies including Java, Javascript, React, Kotlin, HTML, C#, SQL Server, Oracle, OLAP, distributed systems, AWS, and a variety of well regarded tools and libraries.

While a 1st in Computer Science and experience with some of Java/Javascript/Kotlin/HTML/SQL is preferred, we realise there's a wealth of talented developers out there who don't fit that mould - so if you're passionate about software and have some good experience under your belt or have made some interesting contributions to open source projects you'd love to share with us, we'd still be keen to hear from you. In return we can offer a flexible and very technology focused environment working alongside experienced developers, a relaxed dress code, plus solid exposure to the world of investment banking and capital markets.

That's about it really! If this sounds interesting, we look forward to hearing from you at careers@percentile.co.uk

chris_overseas··on Show HN: µTT – A new faster MQTT broker
It's great to see a message broker that's optimised for performance - having looked at the source of a few of the more popular brokers it's clear that there's a lot of overhead in many of them (object allocation/boxing, multiple copies being made of the data, inefficient serialisation, verbose wire protocols and so on).

I'd be really interested to see how uTT performs compares to Aeron[0], which, while not MQTT, as far as I'm aware it is the fastest message transport around[1,2].

[0] https://github.com/real-logic/Aeron

[1] https://github.com/benalexau/rpc-bench

[2] http://akka.io/blog/2016/12/05/aeron-in-artery

chris_overseas··on Hackers Leak Netflix’s Orange Is the New Black, Season 5
They've followed up by releasing episodes 2-10 too: https://pastebin.com/ZUYWMKh8

I'm glad Netflix haven't paid the ransom despite it likely costing them more not to.

chris_overseas··on Concerns with JPMS spec and Jigsaw implementation
Here is a response with a somewhat opposing view: https://blog.plan99.net/is-jigsaw-good-or-is-it-wack-ec634d3...
chris_overseas··on Experimental Nighttime Photography with Nexus and Pixel
You can do this sort of thing already with Magic Lantern[1] on a Canon DSLR. It has a lot of features for running large custom brackets, complex intervalometer sequences, focus bracketing and so on. If that's not enough there's also a Lua scripting capability[2] that lets you control the camera programmatically.

The one thing it doesn't do is much in the way of image processing on board the camera. Generally it is left to the user to perform post-processing on a PC - partly due to lack of CPU power on the camera, and partly because you can get far better tools and hence results on a PC anyway.

[1] http://www.magiclantern.fm/

[2] http://www.magiclantern.fm/forum/index.php?topic=14828.0

chris_overseas··on A Foray into Go Assembly Programming
In more general terms, take a look at Montgomery multiplication[1] which is where this trick originates. It's a common technique used by compilers to optimise away divisions.

[1] https://en.wikipedia.org/wiki/Montgomery_modular_multiplicat...

chris_overseas··on Show HN: Gitly.io – high performance Git service with a 10s installation time
Hopefully "user" really means "company" rather than individual user. Otherwise copy/pasting URLs between colleagues won't be much fun.
chris_overseas··on Bhutan's dark sense of humour
Their sense of humour extends beyond road signs. After spending three weeks travelling across the country I found the Bhutanese to have a very relaxed, humorous way of looking at everything life, big and small.

Here's a sign I saw while in Bhutan that is presumably trying to encourage fewer children: http://www.redyeti.net/Bhutan/content/bin/images/large/IMG_2...

← PreviousPage 4 of 6Next →