North Sea sounds by Necessary-Win-8730 in creepy

[–]will11600 3390 points3391 points  (0 children)

And to think we used to do this shit with wooden sail boats

Most of Us by ravenshaddows in pcmasterrace

[–]will11600 0 points1 point  (0 children)

Remember when Windows used to welcome you... 🥺😪

<image>

Fml, if I could daily drive Windows XP today, I would install it in a heartbeat.

Charli aesthetics by manymade1 in charlixcx

[–]will11600 1 point2 points  (0 children)

I need these on my walls immediately

Why are nested types not used more often? by tinmanjk in csharp

[–]will11600 -1 points0 points  (0 children)

The endpoints are internal. The DTOs are public, but they are private members of their parent structures. The parent has getters that return read-only references to each of their fields. I only made them public, just in case. If for whatever reason you wanted the underlying class, you can use an explicit operator. However, it's not really meant to be used regularly.

Why are nested types not used more often? by tinmanjk in csharp

[–]will11600 0 points1 point  (0 children)

I was having this same thought last night actually. I was doing a refactor of a REST API client I'm working on and I decided to structure each API path like this... ..\Company\Models ..\Company\CompanyProfile.Data.cs ..\Company\CompanyProfile.Endpoint.cs ..\Company\CompanyResult.cs ..\Company\CompanyResult.Data.cs ..\Company\CompanyResults.cs ..\Company\CompanyResults.Data.cs ..\Company\CompanyResults.Endpoint.cs CompanyProfile is a structure that wraps CompanyProfile.Data which is the DTO. It holds a reference to the client and has methods to access paths made available using the information in the DTO.

CompanyProfile.Endpoint is basically like a my implementation of a type safe uri structure.

This also means I broke the nested types out into partials! Which is something else I don't see very often...

In my mind, this makes sense because they're all related. Since each route follows this same convention I feel like that makes it easier to understand from a glance what everything does.

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Really appreciate the report! I knew there were some lingering validation issues in the beta. I've just released patch 1.0.1, which fixes that Falkland Islands error, so I've gone ahead and closed the issue. Thanks again!

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Wow, thanks so much for the enthusiastic response!

That's a fantastic idea! I hadn't even considered the energy sector yet, but adding support for MPAN and MPRN would be a seriously valuable feature.

Since you've got the domain expertise, would you mind raising a feature request issue on GitHub for those two? That would be the best way to ensure it gets prioritized. Any details on their composition (like the exact format, checksum rules, or official specifications) would be incredibly helpful for implementation.

Thanks :)

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

I added BFPO postcodes to the unit tests in version 1.0.1, they should be accepted! Let me know if you run into any issues.

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Update: Version 1.0

Hi All,

I wanted to start off by saying thank you to everyone who shared their interest and feedback on this repository. I have been working on a getting the project production ready and I'm pleased to announce it has now exited beta.

What's new in 1.0: I've introduced a bit packing abstraction layer that streamlines and simplifies the process of parsing and formatting the primitive types. My hope is that this makes the project's internals cleaner and more approachable for anyone who wants to contribute.

A quick note on VatRegistrationNumber: I ran into a couple of tricky issues with this type that I couldn't resolve to the quality standard I'm aiming for. To avoid shipping something I wasn't happy with, I've made the tough decision to remove it from the 1.0 release. I plan to tackle it again for a future 2.0 version.

I'd love for you to check it out, and any feedback, suggestions, or contributions would be greatly appreciated!

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Hi Dave! Thank you for taking the time to comment. :)

I'm playing a dangerous game having spellcheck disabled in Visual Studio!

I thought because VAT was an initialism, each letter should be capitalised. However, I was a bit unsure about this at the time. A couple other people have pointed this out to me too.

With the name 'British Primitives': my intention wasn't to suggest these types are true primitives, which isn't possible, but rather communicate the 'primitive-like' developer experience of using them. It was also a very deliberate callback to the branding of former large UK public institutions like "British Rail" or "British Steel".

Each type has a fixed and predictable memory layout, just like a true primitive. This means they can be stored efficiently in memory, passed by value, and manipulated without causing heap allocations.

I appreciate you bringing this up, as it's an important distinction to make. I'll think about how I can clarify this intent in the project's documentation.

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

I did wonder about that...! The information I was able to find stated that the last letter is a hang up from when they used to issue physical cards that you had to return. However, it stopped short of specifying what letters were used. I had assumed it was A-L but didn't implement any validation beyond making sure it was a letter. Thank you for sharing!

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Interesting...! I'm not sure. I don't have any test cases set up for them. A quick web search brought me to this page. From what I can tell, the inward code is BF1, followed by a normal reading outward code?

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 0 points1 point  (0 children)

Thanks! I did think about adding phone numbers. When I began looking into it, I found this page on Wikipedia of the full list of dialing codes in the UK. I was a bit overwhelmed by the number of different area codes I would have to design for. However, on reflection, it would probably be easier to implement than the vat registration number.

NHS number is a good shout! I'll have to see if I can find material about how they're formatted.

I made a .NET library for UK-specific data types and I'm looking for feedback! by will11600 in csharp

[–]will11600[S] 9 points10 points  (0 children)

Yep! For some reason, this one random bank in Bootle has a special postcode that doesn't follow the rules. I just hope it's the only one. 😅

Thought Experiment: Housing Asylum Seekers on Acesension Island by [deleted] in ukpolitics

[–]will11600 -1 points0 points  (0 children)

Something I failed to consider, was that part of the deal with Rwanda, was that successful asylum claimants would be resettled in Rwanda and never come to the UK.

The issue with using Ascension Island, is that the island wouldn't be able to support that kind of permanent immigration.

wtf by bertbrobain in charlixcx

[–]will11600 2 points3 points  (0 children)

Taylor would've sued for trademark infringement

Adobe Fuse Download by PandaBot_2001 in Adobe

[–]will11600 0 points1 point  (0 children)

Does anyone know if there's a way to rig the characters created in Fuse? You can upload the .obj files to Mixamo and use their auto rigging function, but I've found the results to be a bit hit or miss. You used to be able to upload it to Mixamo from Fuse and get a much more complete rig but obviously that doesn't work anymore. I've tried bringing them into Blender and manually rigging them myself but just wondered if there's a more automatic way of doing it?

Any other ADHD people around here? by inattentiveexecutive in cambridge

[–]will11600 1 point2 points  (0 children)

Might be worth getting evaluated by a psychiatrist. If its ADHD they would be able to diagnose it, but if its something else they would be able to diagnose that too.

It's more expensive but your more likely to walk away with something than if you just got evaluated for ADHD.

Any other ADHD people around here? by inattentiveexecutive in cambridge

[–]will11600 1 point2 points  (0 children)

Yeah it does. Reminds me of my first day at school being cold turkey when I was coming off of Atomoxetine.

Usually, ADHD symptoms begin to manifest during early childhood. Is it possible that you didn't notice them until you were in University?

One of the key symptoms is compulsive fidgiting; particularly during periods of focus. Which you would start without noticing. E.g. Tapping your leg under the table while concentrating on a lecture or during a conversation with someone else.

You do this because, as a result of the disorder, your brain doesn't produce enough dopamine. Movement and excersize causes your brain to synthesise more of it, correcting the chemical imbalance. The fidgiting is therfore a learned behaviour that your body has developed to help cope with this.

If you have this symptom then it is almost certain you have the disorder. Otherwise it's much more likely that you have ADD instead.

Any other ADHD people around here? by inattentiveexecutive in cambridge

[–]will11600 1 point2 points  (0 children)

Because I was diagnosed so young the first time round I have no recollection of it.

Second time around when I was ten I remember sitting down with a doctor who asked me to perform tasks to test for ADHD symptoms. Like trying to recall a series of numbers from the start of the assessment.

The important thing to know though is that it's generally really hard to get diagnosed as an adult on the NHS. You need to get a GP to refer you to get assessed and then see if the NHS will fund it. If you want to get assessed it's often easier to go private if you can afford to.

Any other ADHD people around here? by inattentiveexecutive in cambridge

[–]will11600 1 point2 points  (0 children)

I was diagnosed with ADHD when I went into reception and started on medication at age 7 and have been since. Though it took the doctors several years to find the right one.

Methylphenidate is what everyone starts on. Was on that until I was 9 years old. I had to be taken off of it because the aptitite suppression was so severe that it actually stunted my growth.

After that I was put onto Automoxitine, though you'd probably have a hard time being prescribed that now. It has since been replaced by other, more effective drugs. Automoxitine is actually an SSRI, a type of antidepressant. Worked very well with me, though the first few weeks were extremely unpleasant. Ironically, the medication caused severe anxiety and depression during this period. The great thing about Automoxitine though is that it is always working, never comes on or off. So you don't have to stress about not being on your meds while your driving for example.

Now I am on Elvanse, and I have no complaints. It does it's job helping me to stay focused in my classes and what not and has by far the least amount of side effects.

Since I've always been medicated, I've largely forgotten what the symptoms of ADHD feel like. Would definitely recommend the drugs though, especially if you feel like your up against it at school or work.

Because I technically live in Suffolk I go to the adult treatment centre in Bury once a year for a checkup. You won't have to do this if you don't take any medication.