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

151.

Technology professionals using our skills to amplify the Climate Movement(climateaction.tech ↗)

2 points · by jsingleton · 7y ago · discuss

152.

Your Planet Needs You(unop.uk ↗)

1 points · by jsingleton · 7y ago · discuss

comment 7y ago · link · parent

We found meetup.com to be bad value for our meetup too so we moved away

https://unop.uk/starting-a-tech-meetup/

comment 7y ago · link · parent

The reason this warning will appear in Firefox is that it does not use the OS certificate store and it uses a built-in store. The corporate MitM cert will have been added to the OS root cert store so other browsers will trust it but it probably hasn't been added to the Firefox one.

comment 7y ago · link · parent

I use ProtonVPN (and ProtonMail) for business but I haven't been that impressed so far. For personal use (e.g. BBC abroad) I just use OpenVPN on a Raspberry Pi.

I recently wrote a full review on my blog (so I won't repeat it all here): https://unop.uk/protonmail-review/

comment 7y ago · link · parent

It's going to be tough, not technically but politically. We're not doomed just yet but serious action is required right now. Something on the scale of Facebook and Google getting behind it and using their reach to motivate people.

I do think individual actions can add up, particularly when we use the magnifying power of tech. I wrote a lot on this recently and I can't fit it all in a comment so I'll just link to them at the end.

I'd strongly encourage anyone in tech who cares about this to get involved in https://climateaction.tech/ where there are some very active slack channels. Lots of knowledgeable people on there and some of us old cleanweb peeps too.

It boils down to a three step process:

- Understand

- Organise

- Amplify

There's a long post for each on my blog and a bonus one.

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

comment 7y ago · link · parent

I'm not bothered about the bottom camera as I don't use it. The specs are pretty good otherwise if you max it out.

However, the battery life is terrible after upgrading Ubuntu LTS from 16 to 18 as it doesn't sleep properly. I wrote a more detailed review of it here (2018 version, not the new one just released): https://unop.uk/dell-xps-13-ubuntu-review/

comment 7y ago · link · parent

The new UI was useful when it was opt-in and we were migrating from on-prem TFS to what was then called VSTS. It made it easy to tell which system you were using.

I'm more used to the old UI but some features are not easily discoverable. I wrote some posts on how to build branches and pull requests as it's not obvious: https://unop.uk/build-and-release-all-pull-request-merge-res...

comment 8y ago · link · parent

This was the main inspiration for the posts and I refer back to it. Software is everywhere and can absolutely make a difference. Hopefully this will inspire others too.

comment 8y ago · link · parent

This is true, and many more companies too. What I was getting at though was that tech companies have lots of influence but choose not to address this challenge and instead focus on advertising or other areas.

comment 8y ago · link · parent

I mean both, first 'prevent a two-degree shift' then 'transition to an zero-net-emissions economy' and finally even negative emissions. This was almost solved in the 1980s and wasn't but that's a sunk-cost fallacy. The chips are down and we are where we are, so let's roll forward and get this solved.

comment 8y ago · link · parent

There is lots of action still required to reach your realistic scenario. Don't give up. You can help.

Hopefully this can motivate people in an optimistic way: https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

comment 8y ago · link · parent

Depressingly pragmatic. While building resilience is certainly worthwhile, we can still fix this and should try.

I think individual actions can add up, particularly when we use the magnifying power of tech. I wrote a lot on this recently and I can't fit it all in a comment so I'll just link to it.

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

It boils down to a three step process:

- Understand

- Organise

- Amplify

There's a post for each and more to come.

comment 8y ago · link · parent

Very well put. We have the tools to fix this problem, we just need the will.

I wrote a lot more on this recently, with ideas that people on here can use to help influence better outcomes: https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

It's a shame that the big technology companies aren't using their influence and reach to help.

comment 8y ago · link · parent

I wrote a trilogy of long posts on this topic very recently so I'll just link to that.

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

In summary, it's not somebody else's problem. It's our problem and we need to take responsibility and fix it. We already have all the core technology required to solve this and we just need to make it happen. Everyone can help, particularly the talented crowd on here.

comment 8y ago · link · parent

This is a good point. Optimism is good for motivation but it has to result in action and not be simply ignoring a problem. Pessimism paralyses people into inaction but by understanding the psychology we can change that.

I wrote a series of posts on this recently with more to come. Far more than I can fit in here. It's a classic tragedy of the commons but there is hope.

https://unop.uk/how-to-help-with-a-big-global-problem-as-a-t...

comment 8y ago · link · parent

Previously: http://www.bbc.co.uk/blogs/internet/entries/f6f50d1f-a879-49... (https://news.ycombinator.com/item?id=12093986)

Only took 2 years! I suspect the imminent release of Chrome 68 was a factor.

168.

BBC News on HTTPS(bbc.co.uk ↗)

1 points · by jsingleton · 8y ago · 2 comments

comment 8y ago · link · parent

I actually wrote a couple of blog posts about some of my favourite books for summer reading recently.

https://unop.uk/6-non-technical-book-recommendations/

https://unop.uk/3-more-non-technical-book-recommendations/

comment 8y ago · link · parent

The framework is included with the application, so no install is needed. You can already generate a self-contained platform-agnostic deployment that includes the framework, but it contains lots of files. You need to specify the platform, yet that is just for the bootstrapper. There are also some pre-requisites that have to be installed, such as SSL libs.

.NET Native (a.k.a. CoreRT) is more like what you get with Go, a single native binary. You need to know the CPU architecture ahead-of-time, but it has performance advantages. You can also strip out unused code with IL Linker and do things like Profile Guided Optimisation.

Keep in mind that if you're using Docker containers then you probably want to share the framework, otherwise this will increase the size.

There's some more discussion around this in the .NET Core talks that I've given: https://unop.uk/talks/

comment 8y ago · link · parent

This is a bit complex, but for what most people think of as WCF (enterprise SOAP APIs) then it is not supported on .NET Core. The W stands for Windows after all.

However, the ASP.NET Core MVC framework supports Web API and this was originally part of the WCF REST services. Of course, you can still interact with SOAP endpoints (served by various frameworks) as a client, as pointed out elsewhere here.

comment 8y ago · link · parent

For the UK (and France) this has a lot of geeky detail: http://www.gridwatch.templar.co.uk/

UK data (inc. solar) with CO2 emissions in app form: http://gridcarbon.uk/

comment 8y ago · link · parent

Basically this, but they also push things like Application Insights, which is heavily tied to Azure.

The VS Code editor is also embedded in the Azure web portal. So by getting people using Code they may find it easier to up-sell to Azure. In fact, Code started life as the Monaco editor in Azure and was spun out into a separate product.

comment 8y ago · link · parent

Yeah, I meant the startup culture in SF/SV. Among regular companies I assume .NET will have a fair share of use.

comment 8y ago · link · parent

I think .NET's vision is get people using Azure. You could say the same about VS Code. MS want to gain developer mind-share and get them using their cloud.

comment 8y ago · link · parent

.NET is pretty popular in the UK and elsewhere (particularly in finance) but you also see Java/Oracle in the same space. There are moves towards JavaScript/TypeScript for modern front-ends though.

The only place .NET appears to be discounted is in SV, at least from those I've talked to. Outside of that it's fairly mainstream but obviously you see more of it if you work with it and write/talk about it.

comment 8y ago · link · parent

Link to the recording (slides and audio): https://www.youtube.com/watch?v=garlskQb8BU

comment 8y ago · link · parent

I've written[0] and spoken[1] a lot about .NET Core, so I understand that it can be confusing. The similar naming certainly doesn't help. To summarize (and oversimplify) there are three main varieties of .NET: .NET Core, .NET Framework and Xamarin.

The new open source and cross-platform one is .NET Core and it is currently suited to writing server-side web apps (e.g. ASP.NET Core) and command line applications. It is a reimplementation of .NET and more use cases are coming (UWP, CoreRT, native tool-chain etc.).

The Windows only one is .NET Framework and it is better for graphical desktop apps on Windows. WPF and Windows Forms are not open and are Windows only, so are not in .NET Core.

Finally, Xamarin is also open now and lets you build native mobile and desktop apps on Android, iOS and macOS. Full details of all these are on the official docs site[2] if you want to read more, or you could buy my book on ASP.NET Core 2 :).

[0]: https://unop.uk/book/

[1]: https://unop.uk/talks/

[2]: https://docs.microsoft.com/en-gb/dotnet/

179.

Introducing .NET IL Linker(github.com ↗)

192 points · by jsingleton · 9y ago · 75 comments

comment 9y ago · link · parent

Xamarin makes this separation work pretty well. Not Xamarin.Forms but a core business logic project with custom UI projects for each platform.

I'm hoping this will turn into a good solution. Xamarin already supports Mac (in addition to iOS and Android) and when it aligns more with UWP (XAML Standard etc.) that could cover a large slice of the platforms you'd want to target.

React native could be another option. I hear Android support has gotten better and you can supposedly also target UWP: https://github.com/Microsoft/react-native-windows

I wrote this a while ago but it's still fairly relevant: https://unop.uk/cross-platform-native-mobile-app-development...

You could also look at https://github.com/AvaloniaUI/Avalonia or https://github.com/picoe/Eto.

1
567
40