HNHacker News
TopNewBestAskShowJobs

nbevans

587 karma · joined August 2, 2012

submissionscomments
nbevans··on Hosting SQLite databases on GitHub Pages or any static file hoster
Generally yes. Because not having range support means you can't resume file downloads. Which is a pretty essential feature for a static file host.
nbevans··on .NET MAUI: .NET Multi-Platform App UI
Huh? Xamarin Forms is huge in line of business applications. Huge.
nbevans··on SQLite the only database you will ever need in most cases
This isn't an error code from SQLite. Usually ECONNRESET is related to a TCP/IP connection.
nbevans··on The Technology of iCircuit 3D
He used what he is productive in though and there is nothing wrong with that. Obj-C and (to a lesser extent) Swift are pretty alien to a long-time .NET developer. The author of this app is very active in the Xamarin space and recently contributed enhancements for Catalyst support.
nbevans··on Morgan Stanley to Shift About $120B of Assets to Germany
They were hiring for a low-rank employee that would take training and instructions from London.
nbevans··on Morgan Stanley to Shift About $120B of Assets to Germany
My wife's department (at an unnamed major investment bank in London) just gave up on trying to hire for a position in Frankfurt. They'd been trying to fill it all year. They're now going to hire for it in their UK branch office (not London). By having the role in the UK will breach the EU regulations for the role in question - I don't know what their medium-long-term plans are though. It's a shit situation when you literally "can't find the staff".
nbevans··on Fable 3: F# to JavaScript compiler
We've been running F# in production since 2014 - almost 7 years. It is quite shocking to hear anyone imply that F# is not ready for production use - that it is just "cool" tech. (when has F# ever been cool in the minds of the masses?)

I suspect you'll say "7 years is nothing" and maybe it is nothing. But it is still something. It is long enough that we made a couple bad framework/library dependency choices early on and to have learnt lessons from such mistakes.

By far the biggest technical challenge we've faced in that time is the .NET 5 migration - but even that might turn out to be a lot easier than I currently envisage.

nbevans··on Fable 3: F# to JavaScript compiler
There is nothing concerning Windows 10X that undermines anything I have said.

UWP is the future of Windows - correct.

I'm not sure any significant part of UWP has ever been in the kernel per se.

It sounds like you're a consultant where taking risks on behalf of your customers, no matter how small or logical the risk, is obviously not part of your job description.

Your offerings of good luck appear to be disingenuous.

nbevans··on Fable 3: F# to JavaScript compiler
WinUI / Project Reunion is just a continuation of the UAP (Universal App Platform) libraries. The support for C# works for F# - just like basically any other C# library can be used from F#. I figure the reason they don't mention F# is because it is obvious and/or implied but perhaps at the same time don't want to infer there is some kind of F#/FP-style syntax.

I wouldn't confuse Project Reunion and the arbitrary Windows Store requirement that apps be compiled with .NET Native. A requirement that, frankly, is on borrowed time anyway and I can't envisage it surviving much longer. Once .NET 6 delivers Mono-style AOT support - .NET Native's sole remaining purpose will cease to exist. Not that modern hardware ever needed it. It was intended for Windows Phones.

If the choice facing us was a simple as you describe then, for example, we wouldn't have ended up building a UWP app in F# back in 2018, would we? Not everything is black and white nor zero sum.

nbevans··on Fable 3: F# to JavaScript compiler
As per those links - the workarounds found in 2018 allow you to submit to Windows Store.

But even still - my app is sideloaded and never needed to care about .NET Native at all.

nbevans··on Fable 3: F# to JavaScript compiler
Yes - F# provides its own async model via an `async` computation expression. But you can also use the TPL in .NET BCL. F# 6 will have native support for TPL via a `task` computation expression.

But honestly, its own async model is great - arguably better than TPL for business systems. It sacrifices a little top-end performance/power and in return you get a supremely clean abstraction.

nbevans··on Fable 3: F# to JavaScript compiler
Odd. I've been using F# for a UWP app since 2018.
nbevans··on CAPTCHAs don’t prove you’re human – they prove you’re American (2017)
But Google CAPTCHA has been asking the same questions now pretty much since its inception. Are we really still training it? Or is it just running on auto-pilot at this point? I'm guessing it's likely the latter.
nbevans··on Oxford University breakthrough on global COVID-19 vaccine
I'd argue that it is more accessible to everyone including developed nations. It only requires a standard technology freezer - like that you have in a residential home. COVID-19 has already cost the UK hundreds of billions, so being able to roll out a vaccine with minimum hassle and without needing specialist storage and training on its handling, is an absolutely enormous benefit.

Honestly I feel like this vaccine is going to leave the mRNA-based vaccines trailing in its wake in terms of global government adoption.

nbevans··on Show HN: A Stargate in 140 chars of JavaScript
Haha! You're awesome man!
nbevans··on Show HN: A Stargate in 140 chars of JavaScript
That's cool. Now make it render the effects of a blackhole on a stargate wormhole ala SG-1 episode: "A Matter of Time".
nbevans··on macOS unable to open any non-Apple application
I was going to say - that does sound very much like my MacBook Pro.
nbevans··on Apple Silicon M1 chip in MacBook Air outperforms high-end 16-inch MacBook Pro
If we're doing analogies, let's do them right :) Therefore I'd argue it is more like supercharger overheating on a car. As a supercharger gets hotter from prolonged load it gets hot and warms the air entering the engine which reduces cold-air intake thus reducing horse power compared to a cooler supercharger. There is a way to solve this: by fitting a chargecooler - which is basically a cooling system for the supercharger.
nbevans··on .NET 5.0
Xamarin is huge in the .NET world and Microsoft is investing heavily into it. I know plenty of LOB apps, huge apps, built in Xamarin. I don't even know of a single app built in Flutter.
nbevans··on Uno: Single-Codebase for Windows, WebAssembly, iOS, macOS, Android and Linux
We've been working on our Xamarin Forms based product since the first beta in 2014. We released to Android first. Then in 2018 we built a UWP variant of our app. This process barely took a week if I don't include the technical debt that took an extra week to sort out. Then in 2019 we built an iOS variant of our app too - again barely taking a week to do so.

Xamarin Forms let us build 4 years worth of tech for Android only. And then, when we had time and the customer demand to do so, with a small amount of work - port our app to 2 other platforms in fairly short order.

I don't know of any other platform that could do this - particularly when considering the years involved.

Our app uses local databases on the device - so a web based app would not have cut it. And our app has roots in 2014 tech when many possible alternate approaches did not exist yet.

nbevans··on Uno: Single-Codebase for Windows, WebAssembly, iOS, macOS, Android and Linux
We've been using Xamarin Forms on the (UWP) desktop for a few years now. It's pretty great. There are bugs yes, but so do all these magic cross-platform UI frameworks. They're investing heavily into MAUI to fix a lot of these things.
nbevans··on Vega-Lite: A Grammar of Interactive Graphics
We just finished integrating Vega-Lite into our Xamarin mobile app - with support for UWP, Android and iOS. It's great.

The charts are self-contained in a blob of JSON, so you can ship them around easily.

It supports both Canvas and SVG rendering, which is great if you need to export to a .png since Canvas is better suited to this. SVG is good for crystal clear vector graphics though. So we use SVG mode on the mobile app, and Canvas mode on the back-end.

We tried numerous other JS charting libraries (c3, chartist, chart.js, frappe, and a couple others I forget) but none of these were as professionally and comprehensively put together as Vega-Lite in our experience.

I am starting to view Vega-Lite as "the SQLite" of the charting world - I hope this view holds for the long-term.

nbevans··on Vaccine hopes rise as Oxford jab prompts immune response among old and young
One interesting point that I read about the Oxford vaccine is that it only needs chilling to -5c. Whereas many of the other vaccines (I don't know if all others or just some) need chilling to -60c. It strikes me that the Oxford vaccine has a distinct advantage when it comes to global distribution.
nbevans··on Germany will violate international agreements with Unitary Patent, says FFII
I just read this and your comment history. You need to cut back on that Kool-aid.
nbevans··on WireGuard support in Mikrotik RouterOS v7.1beta2
Indeed but now the problem is this Version 7 will likely be in beta for many more years to come...
nbevans··on British Airways Entertainment System Chat App Crash (2019)
What happened here was... he was copy pasting the text to grow its size exponentially. After about 20 or so copy pasting cycles, the UI of the chat app became unresponsive on the UI thread (because of the copy paste operation it was handling) and some watchdog process decided the chat app needed to be terminated because it was unresponsive for longer than a configured time span. This isn't a vulnerability and doesn't warrant a CVE - the system was operating normally.

That's my take anyway. Thoughts?

nbevans··on .NET Team Survey: Native AOT
There are rumours of a Flutter back-end coming for Xamarin.Forms/MAUI. Or possibly a something lower level in Windows itself (which a MAUI back-end could tap into).
nbevans··on Cloudflare: Is anyone else seeing DNS outages?
And me. (UK)
nbevans··on Live BTC transactions in Twitter hack
Did you mean to say "denylist"? :upside_down_smiley:
nbevans··on Hong Kong: UK makes citizenship offer to residents
It's more typically known as the "5-year route" and it means that after 5-years of living/working/residing in the UK they become eligible for permanent residence (which is known as "indefinite leave to remain"). So yes - it is a genuine and good offer. There will be catches though - the visa's will likely cost a fair bit of money (for example a UK spouse visa costs over £1000, and must be renewed when it is 2.5 years old) - I would imagine the BNO HK visa will be similar in cost. Similarly, the ILR (permanent residence) visa's cost around £2500. It is also possible that the BNO HK visa may have criteria on it such as a requirement to prove your current salary or available savings/funds are above a certain amount.
← PreviousPage 4 of 21Next →