HNHacker News
TopNewBestAskShowJobs

benbristow

3,121 karma · joined May 31, 2013

submissionscomments
benbristow··on 'Conspiracy Theorist' David Icke Banned from Netherlands for Amsterdam Rally
Very observant
benbristow··on Terminal.Gui: A Cross Platform Terminal UI Toolkit for .NET
https://dotnet.microsoft.com/en-us/

If you haven't looked at .NET in a few years, you'd be surprised.

benbristow··on Show HN: Minimal, no-JS web forum software
Has a CAPTCHA but it can be solved pretty easily (paste into Dev Tools console)...

  const input = document.querySelector('body > main > form > table > tbody > tr:nth-child(3) > td:nth-child(2) > input');
  const challenge = document.querySelector('body > main > form > table > tbody > tr:nth-child(3) > td:nth-child(1)').innerText.split('=')[0];
  input.value = eval(challenge);
benbristow··on OpenStreepMap 2012 vs. 2022
$649 for a dashcam probably worth $50 being generous on Wish.com/AliExpress to earn some random crypto. Hmmm.
benbristow··on Select * from cloud
I'm about to blow your mind, then

https://en.wikipedia.org/wiki/Stephenson%27s_Rocket

benbristow··on OpenStreepMap 2012 vs. 2022
Android-only :(
benbristow··on OpenStreepMap 2012 vs. 2022
OSM needs some form of gamification adding to it.

Google Maps app is great, lets you gain points by adding information & photos & reviews etc. They even send you a free bespoke pair of socks or a badge if you're active enough. So fun to add photos and then see how many views they get (I posted one of a chippy in Scotland (for Americans that's Fish & Chip 'Thick French Fries' shop) which got over 1.4 million views - mental). The location history feature suggests things to contribute which helps too.

Would be good to have something similar to make contributing fun.

benbristow··on Train Travel in the UK: A Foreigner’s Perspective
> You're lucky if you even get to pull up HN reliably

Funny how you say that, HN seems to be one of those sites that works well even on a really terrible WiFi (i.e. UK train WiFi - LNER/Avanti, looking at you)/data connection - mainly due to how basic it is. Shame it's only a link aggregator so the actual 'content' (other than comments) is hit/miss.

benbristow··on Document Foundation starts charging €8.99 for 'free' LibreOffice
This is not for iOS's App Store, it's for the MacOS App Store (for the laptops/desktops etc.)
benbristow··on ‘GIFs are cringe’: how Giphy’s multimillion-dollar business fell out of fashion
TIL GIFs are out of fashion. smh.
benbristow··on Dark Sky iOS app will no longer work from Dec 31
I've noticed the Weather app to be pretty unreliable to be fair.

The amount of times I've looked out the window recently when my phone says it's raining but it's completely dry or vice-versa or it says it's definitely going to rain and it doesn't.

Perhaps no weather app is good enough to deal with Scottish (specifically Glaswegian-ish) weather :)

benbristow··on Winamp 5.9
Hmm, I just launched it on Edge and it does seem a lot faster than the desktop application. Hoping performance improvements are coming sooner rather than later.
benbristow··on Dear Oracle, Please Release the JavaScript Trademark
HotDrinkScript

BeanJuiceScript

benbristow··on Show HN: An opinionated and statically-typed TypeScript SDK generator
It can work with any Swagger/OpenAPI spec AFAIK, does run on .NET though. Other than running it if you're just generating a TS client you don't need to be part of the .NET ecosystem at all.

But I like your idea of the universal generator. NSwag isn't the most friendly of things to configure & regenerate so something like your lovely site will make it easier for people. Best of luck with the project!

benbristow··on Show HN: An opinionated and statically-typed TypeScript SDK generator
I feel a bit spammy as I just commented on a comment a bit higher with the same thing, but NSwag will do the trick for you.

https://github.com/RicoSuter/NSwag

Works a treat and is open-source, integrates nicely with ASP WebAPI projects. Can even generate TypeScript clients with a choice of HTTP library (axios/fetch etc.) or even an Angular based client.

benbristow··on Show HN: An opinionated and statically-typed TypeScript SDK generator
I've had success with NSwag for generating both TypeScript and C# clients. Highly customisable - maybe too customisable with the config being quite complex - there's CLI & GUI tools to generate configs though.

https://github.com/RicoSuter/NSwag

We use the C# client generator in our public sector project and package the results up within Nuget, works a treat.

benbristow··on Twitter Appears to Be Down
Where do I go to find out when Twitter is down when Twitter is down?
benbristow··on DuckDuckGo email protection beta now open
It's a good service and I've used it a few times, but the requirement to use an extension is a bit of a pain point.

Especially as the extension seems to try and install some adblock style stuff which I already use ublock for and overwrites the default search engine with no option to disable it. Every time I need to generate a new email I need to re-enable the extension, copy the email address and then disable the extension again. Not nice UX.

benbristow··on Stripe down for 4 hours (and counting) for all those with Stripe Tax enabled
If it goes down though, you're up s's creek without Paddle ;)
benbristow··on Google Timer is back
When you're waiting for the answer to life, the universe and everything
benbristow··on HP LaserJet Tank – Refillable laser printer
I've got a HP Laser Colour WiFi printer/scanner/fax combo I bought from Argos (Like a British Amazon with local physical retail shops and same day delivery) 3 years ago. Wasn't exactly cheap though, around £250. Sits near a window so is often near sunlight. Still has the starter toner and prints like a charm - used it the other day to print a gig ticket. I don't even know how to change a toner. I use it very rarely but it's nice to have around whenever I need to print/scan things.
benbristow··on JetBrains Research
Visual Studio (Full, not Code) has a Mac version now, albeit it's a totally different codebase to the Windows edition (AFAIK a much updated version of what was MonoDevelop).
benbristow··on Using the same Arch Linux installation for a decade
That was a few months ago, there's been improvements since.
benbristow··on .NET 6 is now in Ubuntu 22.04
> Looking for a really good reason to make the jump

Not having to pay for Windows Server licences?

Better start-up performance, likely better overall performance, less resource usage.

Assuming these are specific Windows calls, moving to something more cross-platform you could open development to colleagues with Mac or Linux machines (via VS Mac, JetBrains Rider or VS Code) if there are any.

Options to use Kubernetes or deploy to container services that run on Linux

A few reasons.

benbristow··on Using the same Arch Linux installation for a decade
Quite a good video about it - https://www.youtube.com/watch?v=OtWWLN3wGNE

Used it to create a dual boot on my main machine and works a charm.

benbristow··on Ask HN: What are the best tools for web scraping in 2022?
Honestly haven't tried. Facebook's services are generally pretty rock solid in terms of security though, and any efforts of reverse engineering (e.g. Messenger) I've found seem to get abandoned due to the effort required.

You'd probably be best sticking with web page scraping via something like Puppeteer, but even that'd be difficult.

benbristow··on Instagram can track anything you do on any website in their in-app browser
One thing I've noticed is that content-blockers/adblock don't seem to work within the Facebook/Instagram etc. in-app browsers so I usually end up jumping out of them anyway.
benbristow··on Ask HN: What are the best tools for web scraping in 2022?
My £0.02

It's usually easier to use an Android emulator like GenyMotion or a rooted Android phone and use HTTPToolkit and/or some certificate bypassing method using Frida or other and then explore APIs through their official apps.

I've scraped loads of stuff through unofficial APIs before this way. Most developers don't ever expect people to do this so they're often a bit less secure too.

Alternatively sometimes doing a Global GitHub / Sourcegraph search you might find someone else who's done the hard work to reverse engineer an API and open-sourced it.

benbristow··on What's TypeScript compiling? Use a treemap to find out
What about with something that runs in WebAssembly, like .NET's Blazor?
benbristow··on Microsoft Outlook is crashing when reading Uber receipt emails
Just tried this on the latest version of Outlook Desktop with a UK Uber receipt from yesterday on Windows 10 with a powerful machine (Ryzen 9 3900x, 32GB RAM).

Didn't crash but became very unstable/laggy & 'not responding' faded out for a few seconds.

No issues on the Outlook app on iOS or webmail on Edge though.

← PreviousPage 8 of 34Next →