Better HN
topnewbestaskshowjobs
Log inSign up

jsingleton

3,046 karma · joined Apr 8, 2013 (13y ago) · 1,188 submissions

Author of ASP.NET Core 2 High Performance (Packt Publishing): unop.uk/book

I'm a developer, engineer, hacker and entrepreneur. My personal blog is at: unop.uk

[ my public key: https://keybase.io/jps; my proof: https://keybase.io/jps/sigs/O8UP6-fFcMSV4qZW8VA39-Z_NiV8JtLjKAk6cOH1O7A ]

Submissions

1111.

Show HN: Old Street live train departures as cross domain JSON(huxley.apphb.com ↗)

2 points · by jsingleton · 11y ago · discuss

1112.

Train Disruption Indicator with a Blinky Tape RGB LED Strip and Raspberry Pi(unop.uk ↗)

2 points · by jsingleton · 11y ago · discuss

1113.

Show HN: Get live UK trains JSON with station names (not codes)(github.com ↗)

1 points · by jsingleton · 11y ago · discuss

comment 11y ago · link · parent

This is a great little tool I found.

"MonitorES is a small windows utility that helps you to turnoff monitor display when you lock down your machine.Also when you lock your machine, it will pause all your running media programs & set your IM status message to "Away" / Custom message(via options) and restore it back to normal when you back."

There is a Lite version that just does the energy saving and a Linux port: https://code.google.com/p/lmonitores/

1115.

MonitorES – Monitor Energy Saver(github.com ↗)

1 points · by jsingleton · 11y ago · 1 comment

1116.

Show HN: JSON Proxy for the UK National Rail Live Departure Board SOAP API(github.com ↗)

2 points · by jsingleton · 11y ago · discuss

1117.

Huxley – Rail API Proxy(unop.uk ↗)

1 points · by jsingleton · 11y ago · discuss

comment 11y ago · link · parent

Try this link to see all the arrivals at Paddington from Reading in JSON form: https://huxley.apphb.com/all/pad/from/rdg/16?accessToken=DA1...

You could also try pasting this into the browser console:

    var r = new XMLHttpRequest();
    r.open("GET", "https://huxley.apphb.com/all/pad/from/rdg/1?accessToken=DA1C7740-9DA0-11E4-80E6-A920340000B1", true);
    r.onreadystatechange = function () {
        if (r.readyState != 4 || r.status != 200) return;
        var resp = JSON.parse(r.response);
        if (resp.trainServices && resp.trainServices.length > 0) {
            alert("The next train to arrive at " + resp.locationName + " from " + resp.filterLocationName + " is scheduled to get in at " + resp.trainServices[0].sta);
        } else {
            alert("Sorry, no trains from " + resp.filterLocationName + " arriving soon");
        }
    };
    r.send();

1119.

Show HN: JSON ReST Proxy for the UK National Rail Live Departure Board SOAP API(huxley.apphb.com ↗)

2 points · by jsingleton · 11y ago · 1 comment

1120.

Spark Core and Raspberry Pi and Blinky Tape = Awesome(unop.uk ↗)

3 points · by jsingleton · 11y ago · discuss

1121.

A Simple JSON Proxy for the UK National Rail Live Departure Board SOAP API(huxley.unop.uk ↗)

3 points · by jsingleton · 11y ago · discuss

comment 11y ago · link · parent

Good stuff! Can't wait to start writing some C# on a Raspberry Pi.

comment 11y ago · link · parent

Yeah, it would be nice if this could be built into the PR merge button status much like CI build info can be.

comment 11y ago · link · parent

OK, this is epic. Well done guys! I especially like this: https://undo.meteor.com/

I sometimes worry about the privacy implications of making this data public but aggregating by hour seems to alleviate some of this. How do you get staff buy-in? e.g. the undo is effectively a key logger.

I thought monitoring door locks [0], power usage [1] and temperature [2] was fairly advanced. What are you using for the power monitoring?

--

[0] https://unop.uk/dev/spark-core-shower-room-door-sensor/ (v2 write-up with Blinkytape coming soon) [1] https://unop.uk/dev/raspberry-pi-electricity-monitor/ [2] I use a https://twitter.com/myjoulo (their main site is down)

comment 11y ago · link · parent

Works absolutely fine for me in Firefox. Top job.

It shows the banner in IE but then it is actually very slow.

comment 11y ago · link · parent

Here are a few ideas:

* http://www.hackster.io/raspberry-pi

* http://hackaday.io/projects/tag/raspberry%20pi

* http://raspberry.io/projects/

One of my projects: https://unop.uk/dev/raspberry-pi-electricity-monitor/

comment 11y ago · link · parent

The system we use in the UK for trad (not bolted) routes has two parts. Exposure and technical difficulty. https://en.wikipedia.org/wiki/Grade_%28climbing%29#British

I find this conversion chart useful. It's usually included in guidebooks. http://www.rockfax.com/publications/grades/

Basically a lot of these pitches would be E9 7b, which is insane. 7b is an 8b+ sport (indoor) technical grade. Very well done to the guys. Huge achievement.

1128.

Spark Core Xmas Tree Lights 10 Minute Hack(unop.uk ↗)

2 points · by jsingleton · 11y ago · discuss

1129.

Cleanweb London Jan 2015 – Transport(meetup.com ↗)

1 points · by jsingleton · 11y ago · discuss

1130.

Spark Core Shower Room Door Sensor(unop.co.uk ↗)

9 points · by jsingleton · 12y ago · discuss

comment 12y ago · link · parent

Thanks. I didn't expect much to be there which is why I did the solar system instead. That and I couldn't pinpoint exactly where it was. Maybe next time.

comment 12y ago · link · parent

Here you go: http://unop.co.uk/misc/sweden-solar-system-photos/

I've also submitted it to HN: https://news.ycombinator.com/item?id=8181696

Enjoy!

1133.

Sweden Solar System Photos(unop.co.uk ↗)

4 points · by jsingleton · 12y ago · 2 comments

comment 12y ago · link · parent

OK, will do. I also checked out http://www.atlasobscura.com/places/pionen-data-center in Södermalm. It was shut but you can see a bit through the glass doors. Missed out on http://www.atlasobscura.com/places/r1-nuclear-reactor though :(.

comment 12y ago · link · parent

That's a good page if a little out of date. We followed http://ttt.astro.su.se/swesolsyst/stations.html but the wikipedia page is better and more accurate.

comment 12y ago · link · parent

I went on a hunt for a few of these when I was in Stockholm recently and it was a bit disappointing. We couldn't find a sign at the globe and lots of places were shut. Venus is now a building site and we couldn't find Jupiter at the airport. We found the Earth and moon, Mars and Mercury (from a distance). It is a good way to explore and you get good value out of a T-bana pass.

Edit: If anyone is interested I can write up the hunt. Got some good photos. It was this or a visit to https://en.wikipedia.org/wiki/Ytterby and I think the solar system was the best choice. They should really promote these attractions more.

1137.

Paul Buchheit – The Technology (Talk at Startup School Europe 2014)(youtube.com ↗)

1 points · by jsingleton · 12y ago · discuss

1138.

Emergency phone and Internet data storage law to be brought in(bbc.co.uk ↗)

5 points · by jsingleton · 12y ago · discuss

1139.

Amazon RDS for SQL Server With Multi-AZ(aws.amazon.com ↗)

1 points · by jsingleton · 12y ago · discuss

1140.

Raspberry Pi Digital Sign(shutdownscanner.com ↗)

2 points · by jsingleton · 12y ago · discuss

1
3637383940