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

391.

On AWS vs. Azure, Vendor Lock-In and Pricing Confusion – Part 1(unop.uk ↗)

3 points · by jsingleton · 10y ago · 1 comment

392.

Google creates AI program that uses reasoning to navigate the London tube(theguardian.com ↗)

8 points · by jsingleton · 10y ago · discuss

comment 10y ago · link · parent

I have the same issue with not writing stuff down and there are plenty of gotchas. I finally got round to starting a 3 part blog series on AWS vs Azure, vendor lock-in and pricing confusion [^0], but I'll see if I can contribute to this too.

[^0]: https://unop.uk/on-aws-vs-azure-vendor-lock-in-and-pricing-c...

394.

Is our world a simulation? Why some scientists say it's more likely than not(theguardian.com ↗)

4 points · by jsingleton · 10y ago · discuss

395.

Power, secrecy and cypherpunks: how Jacob Appelbaum ripped Tor apart(theguardian.com ↗)

4 points · by jsingleton · 10y ago · 1 comment

396.

Driverless car tested in public in UK(bbc.co.uk ↗)

3 points · by jsingleton · 10y ago · discuss

comment 10y ago · link · parent

Part 1 of 3 is up: https://unop.uk/on-aws-vs-azure-vendor-lock-in-and-pricing-c...

comment 10y ago · link · parent

1/3: https://unop.uk/on-aws-vs-azure-vendor-lock-in-and-pricing-c...

399.

Inside Facebook's robotic inner sanctum: a tour of its secretive hardware lab(theguardian.com ↗)

2 points · by jsingleton · 10y ago · discuss

comment 10y ago · link · parent

You could keep a slim headphone jack (no cable, just the bit that goes in) plugged into the socket. Would also stuff it filling with fluff. I do this with my laptop. Obviously won't work on iPhone 7.

comment 10y ago · link · parent

Good point. Even though your ISP/DNS provider can see this too (including HTTPS connections) it's prudent to limit data leakage as much as possible. Perhaps the lookup could require a single click (only needed when you are unsure of the owner).

comment 10y ago · link · parent

This functionality could be automated with a browser extension, or even as a built-in feature where there isn't an EV cert.

comment 10y ago · link · parent

I guess EV certs can help. This one just uses Let's Encrypt but GitHub have their company name in the URL bar for official sites.

comment 10y ago · link · parent

From the homepage:

> We're the sort of enterprise that is often termed a "lifestyle business" by people who feel that a software company should involve Venture Capital, sixty hour weeks, and "disrupting things". I'm sure we'd be doing all sorts of that if we were in the Bay Area, but we're not.

comment 10y ago · link · parent

OK, I'll add it to the list and might combine it with some thoughts on vendor lock-in.

comment 10y ago · link · parent

True but if you don't have a billing account set up then SCM can be easier. I usually stick CloudFlare in front of it for availability (with multiple entries for the origin in the DNS). You can even add a page rule to cache the HTML in case the server does go down.

comment 10y ago · link · parent

AWS pricing is crazy complicated. I gave a presentation on this a few years ago (https://speakerdeck.com/jpsingleton/aws-pricing). It may be a bit out of date by now but I could update it and write it up as a blog post if people are interested?

comment 10y ago · link · parent

Wouldn't it be easier to use GitHub or GitLab pages for a static site?

comment 10y ago · link · parent

I alluded to the solar metering in my other comment. Here is what it says on the G.B. National Grid Status site.

> This is the total demand of the entire country (plus or minus exports) less any unmetered generating sources like wind (about half as much as is shown on the meter) and solar installations (average about 0.25GW, mostly in summer).

> As no solar PV to date is metered centrally, we cannot show real time figures on solar PV power yet. It appears only as a mid-day dip in overall demand, on the demand graph.

There is data for France (but the quality may be dubious): http://gridwatch.templar.co.uk/france/

> This is the metered solar farms. Yes, don't ask me why there is 10MW at night, a fact that is airbrushed out of RTE's user friendly website...

comment 10y ago · link · parent

Good news. Now we need to deploy more grid scale batteries or other storage. We have the technology (just as we do for electric vehicles). It just needs scaling up and that's now a political/economics problem.

Solar doesn't show on the UK grid stats [^0] but it does on the French one ([^0]/france). There's an app that shows what this means in terms of CO2e [^1].

I wrote a piece on electric vehicles and hydrogen fuel cells recently [^2]. Another option could be to synthesize methane [^3] using the Sabatier reaction (as NASA does on the ISS [^4]). If this is burnt with CCS (underground storage or to grow plants in greenhouses) then it would remove carbon from the atmosphere.

[^0]: http://www.gridwatch.templar.co.uk

[^1]: http://gridcarbon.uk

[^2]: https://unop.uk/on-electric-vehicles

[^3]: http://www.spacex.com/sites/spacex/files/mars_presentation.p... (slide 40)

[^4]: https://en.wikipedia.org/wiki/Sabatier_reaction#Internationa...

comment 10y ago · link · parent

For the lazy:

> British trio win Nobel prize in physics 2016 for work on exotic states of matter

> Prize to be shared by David Thouless, Duncan Haldane and Michael Kosterlitz...

> ...in the field of condensed matter physics. They discovered totally unexpected behaviours of solid materials - and came up with a mathematical framework (in the field of topology) to explain these weird properties. The discoveries have paved the way for designing new materials with all sorts of novel properties.

> Topology, which was central to this year’s discoveries, explains why electrical conductivity inside thin layers changes in integer steps. Kosterlitz and Thouless studied the electrical behaviour of surfaces or inside extremely thin layers (physicists call these two-dimensional materials). Haldane studied matter that forms threads so thin they can be considered one-dimensional.

https://www.theguardian.com/science/live/2016/oct/04/nobel-p...

Perhaps this will open up new ways to build microprocessors and other semiconductor electronics?

There's a live stream here: https://www.youtube.com/watch?v=9qpoBG5hy-A

comment 10y ago · link · parent

FLIF is pretty neat. I hope it takes off, which it might do as Jon works for Cloudinary.

I assume the news is this recent conference paper: http://flif.info/papers/FLIF_ICIP16.pdf

It will be great when you only need one file for all of your responsive image versions and can just take the part you need. Plug - I wrote about this in my high performance web app book along with other types of compression (https://www.packtpub.com/mapt/book/Application%20Development...).

comment 10y ago · link · parent

If you set things up badly then you can certainly get paged when on AWS. If you set things up correctly (multiple AZs / regions and auto scaling etc.) then it's much less likely. There could of course be software issues but hardware is no longer your problem and you can let experts do it for you.

Yes, you could do this yourself but that would cost more and reduce the advantage. How many colo racks in how many data centres / countries do want to have to visit? Even with redundant hot spare fail-over you will need to fix the hardware at some point and will be running at risk until you do.

A hybrid approach can work, with colo for the base load and cloud for scaling spikes / redundancy.

comment 10y ago · link · parent

Colo is certainly a cheap way to do things for a steady load, and you get great performance for the money, but who wants to get paged at 4am?

I know HN and StackOverflow do things this way but I don't even want to manage the OS these days. We used to host our servers on-site and it was a massive pain. At least with colo you don't need to personally worry about power or internet going down, but you still need to replace dead disks.

comment 10y ago · link · parent

I run quite a lot of apps on Azure but normally just stick to their PaaS offerings as I don't usually want to bother administering the server at the OS level. When I do IaaS level stuff and want to connect directly to instances I've used AWS. It's massively oversimplifying, but I think Azure is stronger for PaaS and AWS is better for IaaS if you want to do more yourself.

The dual admin web app thing is a massive pain but once everything is set up you don't have to go near it often. If you use CI then you'll normally just git push.

My blog (https://unop.uk/) is running on Azure and although I've had a few problems they seem to be node/ghost related. If you want to run WordPress then AWS is probably better as they support MySQL natively.

Shameless plug: I cover some of this in my book. For example, in the final chapter I highlight a couple of the advanced features such as Azure ML and HDInsight. https://www.packtpub.com/mapt/book/Application%20Development...

comment 10y ago · link · parent

It's kind of a moving target. When we first tested Azure it was awful and we went with AWS, but it's got a lot better recently.

The new UI is nice but I think a bit rushed. It was pushed before all the features were ported from the old one and there are still things that are easier to do from the old UI (firewall rules for example). The embedded VS Code is really nice though.

I think this rushing applies to all of Azure. It feels like a very MVP approach and AWS is more polished. Agree with you about Beta services, don't use Previews for anything serious.

417.

HNLondon, October 2016(meetup.com ↗)

1 points · by jsingleton · 10y ago · discuss

418.

Caffeine – Don't let your Mac fall asleep(lightheadsw.com ↗)

1 points · by jsingleton · 10y ago · discuss

1
131415
40