« first day (4063 days earlier)      last day (868 days later) » 

mr5
2:54 AM
o/
Best IDE is MS Word
fite me
 
@mr5 is msdos
 
3:12 AM
[Kesarling He-Him] Assembly
 
I wonder why android system removed system-wide dsp feature?
 
Alright I am on my second day. did anyone here get their Hot Reload feature working?
I am going crazy because I am watching a video now and I am running a newer version of everything and still not seeing the changes they are having. Dotnet 6 + VS 2022 and everything
 
3:30 AM
hot reload only worked at the very first of project phase
Until project framework getting bigger, it crash, together with vs
like this
 
yeah I saw many people bringing that up in the many reports that people were having
okay so it seems like blazor wasm doesn't work yet. Explains everything.
 
 
1 hour later…
4:47 AM
[Kesarling He-Him] Those of you using VS, are able to use Alt + Shift + W to surround html elements with <div></div>?
 
posted on November 23, 2021 by Scott Hanselman

I've talked about how I love a nice pretty prompt in my Windows Terminal and made videos showing in detail how to do it. I've also worked with my buddy TooTallNate to put my real-time blood sugar into a bash or PowerShell prompt, but this was back in 2017. Now that I'm "Team OhMyPosh" I have been meaning to write a Nightscout "segment" for my prompt. Nightscout is an open source self-hosted (t

 
5:20 AM
Migrating to EF Core from EF 6.
What is the EF Core equivalent of:
cs
modelBuilder.Entity<Staff>()
    .HasRequired<Department>(staff => staff.Department)
    .WithMany(department => department.Staff)
    .HasForeignKey(staff => staff.DepartmentId)
    .WillCascadeOnDelete(false);
 
\[**[Kesarling He-Him](https://discord.gg/PNMq3pBSUe)**] `The type or namespace name 'UI' does not exist in the namespace 'Microsoft.AspNetCore.Identity' (are you missing an assembly reference?)`
what's the exact problem here?
 
 
2 hours later…
7:38 AM
Anyone that know any tool that works like this https://marketplace.visualstudio.com/items?itemName=OmarElabd.ObjectExporter
but for VS 2022?
 
VS 2019
 
Yeah i know it works for 2019, but i'm currently using 2022..
worst case i'll have to start using 2019, but wanted to be dure first iof similar tool existed for 2022.. or even built in already
 
7:59 AM
@CaptainObvious this is the one we bought: thebarcodewarehouse.co.uk/shop/janam/mobile-computers/…
 
 
2 hours later…
9:30 AM
Where do you store environment variables in xamarin?
app.xaml.cs?
 
in the environment :)
 
:o
What does this needs to be set as? For the C# code to read the .json file
 
9:49 AM
copy always
 
thanks
 
it would copy the file as-is over to the built directory, where the working folder will point to
that would allow the runtime be able to read the copied file
 
:)
 
 
1 hour later…
mr5
11:10 AM
||tumbleweed
 
mr5
yy
r u copying wiet
 
11:35 AM
[Captain Obvious] Active directory attribute names are so dumb
[Captain Obvious] Like some of them make sense, but some of them just don't
\[**[Captain Obvious](https://discord.gg/PNMq3pBSUe)**] First name givenName
Middle Name middlename
Last name sn
Display Name displayName
Department department
Job Title title
Mobile No. mobile
Pager No. pager
Office Loc. physicalDeliveryOfficeName
Street streetAddress
PO Box postOfficeBox
City l
Zip/postcode postalCode
 
Wow that's mangled
First name   givenName
Middle Name  middlename
Last name    sn
Display Name displayName
Department   department
Job Title    title
Mobile No.   mobile
Pager No.    pager
Office Loc.  physicalDeliveryOfficeName
Street       streetAddress
PO Box       postOfficeBox
City         l
Zip/postcode postalCode
 
@mr5 what?
@CaptainObvious ironically, the naming stuff is not even nice
so much effort for so little reward
 
11:51 AM
@EdGzi fucking hell how much did you pay for them
 
12:19 PM
@Wietlol eh, the only iffy one really is surname, just because it doesn't match the others
 
surname is just weird because of the naming
in which case, middle name and given name are also weird
 
Nah because the other 3 are consistent with eachother
(middlename should be middleName, I mistyped)
 
if you want naming consistency of that scheme, they would be
first name, middle name, last name
given name, infix, family name
forename, middle name, surname
however, then you assume that people have the 3-part name scheme
 
wtf is that middle one
curiously every active directory UI I've seen only has space for middle initial
 
its the same as the other two, just using a different naming convension of the name parts
 
12:25 PM
Despite having the same 64 char limit the other fields have
Yeah but forename is commonly used in place of first, and surname in place of last name, but not necessarily together
 
most systems are inconsistent in their naming
what's new?
EVEN my systems are inconsistent in naming XD
also, the occasional typo doesn't help either
 
oh wait no it's even more dumb
the middle name field doesn't show up in ADUC at all
 
then, there is the problem of the model structure
 
it's the "initials" field, which is a seperate field
Whcih is limited to 6 characters
 
they use the 3-part naming scheme, but that does not cover all usages
I used to just say "just make one column for names and be done with it" however, that by itself is also not a silver bullet
considering that there is a certain amount of duplication that has to be provided by the user to allow the system to neatly work with the names
 
12:29 PM
Name - single field, no validation, all characters allowed. No minimum, either.
 
and obviously, all users like duplication in registration forms /s
@VLAZ is it nullable?
 
If needed, then there can be a second field like the first for "family name" if you really need two columns. Users are responsible for entering those.
 
@VLAZ What about people who have multiple names?
 
which encoding does it use?
 
@Wietlol Sure, why not.
 
12:30 PM
is it case sensitive or case insensitive?
 
@Wietlol All characters are allowed.
@Wietlol Users are in charge of entering the names. Leave it to them to enter it correctly, don't try to make a system that is "correct" because that's impossible.
 
how many names, as Captain mentioned, do you want to not have stored per user?
 
If you need two names for some business reason, then have two fields. Leave the users to enter them as they see fit.
 
@VLAZ I can assume that this answers if you would ban certain bad words, but not which encoding you use
 
12:32 PM
If you don't need two names one field. They can enter as many names as they want.
 
it supports all characters from a certain encoding, I understand, but which encoding do you settle on?
@CaptainObvious neat
 
sorry cap, vlaz is getting your star :p
 
what is kalzumeus?
 
12:36 PM
@Freerey A blog of some description
 
"Kalzumeus Software is named after a dragon in a long-forgotten RPG campaign from high school" kalzumeus.com/about
 
See also: Falsehoods about addresses, geography and time
3
 
I love/hate the time ones. There are so many posts on SO from people who don't seem to understand the clock. I had one person arguing that getHours() returning 10 means it's 11 o'clock because the documentation stated that the return values were 0-23. And refused to acknowledge that 00:00 == 24:00 == 12 AM
 
@Wietlol can you pin that Vlaz post
 
can you not?
you are RO and for some unspecified reason you are actually in SO chat
 
12:40 PM
Nah I pinned it the unpinned it because it went under mine
 
is botler finally ded?
 
But now I can't repin
 
can I summon Wietbot again?
 
nah he's fine
 
[Captain Obvious] wiet suc
 
12:41 PM
meh
oh addresses, dont let me get started
 
@VLAZ Actually (for added confusion) 0:00 = 12:00 PM, but 0:01 = 12:01 AM
 
the horror bugs that we had to fix
time is indeed a more tricky one
 
Time is actually harder when you live in UTC land
 
@CaptainObvious It's a bit of a philosophical discussion at that point - 12:00:00.00000000000000000 (and so on) is PM 12:00:00.00000000000000000(indeterminate number of zeroes later)1 is AM
 
Because you don't realise shit is going to break until it runs in a different timezone, because by default stuff matches between UTC and (timezone)
 
12:44 PM
> OK, but numbers in street names are expressed as words, not digits

Jan Jongboom reports streets can be numbered in the Netherlands - for example, Plein 1944 in Nijmegen.
 
But I don't know anybody who actually bothers with this distinction for AM/PM other than pointing out that technically that's the case. For practical reasons all people seem to realise 00:00 = 12 AM
 
the netherlands is full of these
@CaptainObvious ah yes, fair point, I suppose I am lucky to not live in UTC land :D
 
@Wietlol I tried to order take out from a website around here and they asked for a street number. I could not continue without one. Which is odd because while street numbers technically exist, they are almost never used around here. I couldn't even give the website any approximation for a number, hence I couldn't order.
 
didnt they just mean house number?
 
Same thing. Street number = house number. Or "building number" - I live in a block of flats and it has a single number assigned to it. I just don't know what it is.
 
12:48 PM
to be fair, I am not quite sure how epoch is dealing with leap seconds... or if most libraries even care at all
 
The block itself has a number but it's not related to the street. It's a different thing.
 
Apartment buildings typically have their own street address, and then the apartments within are typically subdvisions of that
usually from what I've seen thsoe buildings are named rather than numbered, as numbering the building would be confusing
Especially if you lived on a numbered street
Imagine having an address like:
Apt. 123
12 123rd Street
 
you wanna know my address?
 
Some places (I've noticed it's particularly common in Kuwait) even districts/towns are numbered
So the address could be something like
Room 402
45 67th street
Block 12
<City>
<Country>
 
@CaptainObvious Around here, it's <street><street number> which refers to some plot of land.
 
12:56 PM
a district name could also just be numbered such as "13th"
 
That might be a house, or a different building there. Or not yet build up but it should be intended to be built.
 
Then there's other places like my house, which has no numbers at all (except 2 digits in the post code)
 
You get assigned a number when you get the plot of land to build on.
 
Here Royal Mail assign postcodes to buildings sites (eg for housing developments). Except the houses which come out after the development is complete might not even have that same postcode
 
The blocks themselves tend to have their own names. Often it's just numbers that are different from the streets. You could have 5 blocks built on 5 parallel streets and then the blocks might be numbered 101-105.
So street A number 105 might be completely different from block 105 which also happens to be on street A.
 
12:59 PM
Numbered streets are such a wonderfully simply system
"where is 13th street from 5th street" 8 streets away
 
In fact, often that's the case - it's very rare that the block number is close to the same street number. It might have a street number of 57, for example because it happens to be between 55 and 59.
 
(probably)
 
you assume that it is linear
usually, on earth, we are dealing with a 2d plane
(at least on that small scope, we consider it 2d)
 
don't a lotta european coutnries name addresses after what block the person is on?
 
@CaptainObvious This requires all these streets to be parallel to one another.
 
1:00 PM
so, streets can go in multiple directions
 
Oh yeah, there's definitely exampls where that doesn't work
 
if you had a city where streets were in a perfect grid, then you could say that there are 2 kinds of streets, the "horizontal" and "vertical" ones... after you decided how to hold the map
and you could name them 1st H Street up to Nth H Street and 1st V Street up to Mth V Street
obviously, this ideal city can only expand in two directions
 
@Wietlol You could just ones to be odds, the other even. Then it doesn't matter how you hold the map.
 
otherwise you would start to have to go to negatives
@VLAZ they still need to decide which are odd and which are even :)
 
@Wietlol Flip a coin. It's an arbitrary choice - once done it doesn't matter.
 
1:04 PM
obviously, this ideal city cannot respect nature, so mountains have to be levelled, rivers have to be dried (or straightened) in order to remain consistent
 
Yes, also streets don't typically run all the way through.
You have major streets that might span from end to end but then a lot smaller ones that don't.
 
streets expand so the numbers on one side can just count further up to infinity... the other side to negative infinity?
@VLAZ if you have a perfect grid, they do
 
@Freerey Depends on the country. The UK doesn't do that, since they have the postal code system. It is enough to determine where something is with high enough precision. Which city, which part of the city, which subdivision, etc. You still need to identify the exact building there but a house number is enough to give you that.
But not all countries do it that way. And it also depends how the city is laid out. In some cases you might not need the block of flats...if you don't have blocks of flats.
 
The place is split up into 4 blocks. The 4 blocks are numbered 1-4, and each have the streets 1-10
+- a few streets depending on the block, the point being the roads are duplicated
Yeah postcodes typically narrow to around ~30 distinct addresses/locations
Though there are certainly examples of where that is not the case
A postcode which is in one "town" commonly cross the boundaries of a tonw
 
1:10 PM
in the netherlands, a postcode is usually only one street XD
 
It's very common for "heavy usage addresses" to have a dedicated postcode for a single destination
 
some streets consist of multiple postcodes
 
Yeha they usually are here in most cases
 
\[**[Freerey](https://discord.gg/PNMq3pBSUe)**] Dagoth Ur welcomes you
My sweet persistent friend.
To this place where destiny is made,
Why've you come unprepared?
Nerevar, friend or traitor,
come and look upon the Heart.
I wait for you countless ages
On your next incarnation.
What a grand innocence!
Hah hah hah! HAH HAH HAH!
Did you get the false Sunder?
So naïve! Shame on you!
Moon-and-Star, I'm Dagoth Ur,
And I'm a god! There's no escape!
So come to me and bring Wraithguard
Through fire and war where we last met.
 
a postcode and house number (plus letter) uniquely defines 99.99% of the dutch residents
 
1:12 PM
Yeah usually a house name/number box and postcode will identify a single building here too
There are some instances though where a single destination may have MULTIPLE postcodes
and I'm not talking about old postcodes and new postcodes
I'm talking multiple actively used postcodes. AFAIK there's only 1 destination which is like that
"DVLA, SWANSEA" , which has at least 5 postcodes
Although if the postcode for somewhere changes, the old postcode will probably continue to work
I used to live at a house with the postcode CH62 9DP, which was assigned in 1999, before which is was L62 9DP. Every christmas we'd receive a christmas card addressed to an old owner to the old postcode, despire the fact that the postcode has been unallocatedfor over 20 years
 
but that is just legacy data
I think
isn't it comparable to you moving into a new house and still getting post addressed to the old owners?
 
Well no because the address of the house doens't change just because someone new moved in
 
but the data of the sender is the outdated information
not the old address
 
The postcode changed in 1999 but post was still arriving addressed to the old address
 
yea, so multiple postcodes can send to the same location
I see nothing particularly weird about that
 
1:19 PM
yeah but they aren't meant to
 
it is like a dictionary, a value can be associated by multiple keys
the only goal is that the keys are unique
 
them allowing it means that they're effectively reserving the old postcode for those houses still
So if they did it to free up postcode space then it wouldn't have hlped
 
wouldnt that just be a matter of efficiency?
maybe a better example is a url
if you share the url to a website with someone like eu-west1.wietlol.aws.com/home.ph-frigging-p
 
I mean sure, but if you stop paying for a domain and it lapses, it stops pointing to you
 
and I decide to change that "address" to wietlol.com/home
then multiple addresses are for the same website
but that is just because you cannot invalidate the shared information
 
1:22 PM
Yeah but that's adding a new address
 
do you have to pay for a postcode?
 
No but a particular destination can't have multiple addresses
(At the same time)
 
why not?
 
Because that's the rules
 
whose?
 
1:23 PM
the goverment and local authoirties I think
Why would a location have multiple addresses
 
because weird reasons
weird reasons will always exist, even in that "perfectly" designed city we defined earlier
the rules are made to make sure nothing breaks
a location being identified by multiple addresses does not break deliveries to your house
the reuse of that old address would break things though
so it is a dead address, it has been replaced by a new one but it cannot be reused for something else
that is just the poor life of a deprecated component
unless there is an invalidation procedure in place
 
Stupid rules like that are why royal mail pay hundreds of people who spend most of their day working out where tf a particular item of post is meant to go
 
there is the problem of that eventually the deprecated component will stop working regardless of the ruleset
which is usually caused by the same thing or correlated things that caused it to be deprecated in the first place
 
Whether it be down to crap spelling, crap handwriting, missing address data, etc. If they can work it out it will get delivered
 
but at that point, you just accept the consequences
such as me stopping to pay for that old url and accepting that anyone that still didnt update will have to find the website again and remove their broken bookmark
 
1:29 PM
this is an extreme example: dailymail.co.uk/news/article-1342102/…
That was (somehow) delivered to its intended recipient
 
I mean...
I suppose it is annoying to deal with
but I can also see that mailman just accepting the challenge and go on an adventure :D
 
The wildest part about that
Is that it wasn't even delayed at all
2nd class stamp = 2-5 day delivery
It was delivered in 2 days
 
bad handwriting would probably usually be categorized as "annoying" and a description of the addresee would be categorized as "challenge"
 
Fuck me
Sent from Germany, addressed simply to "England"
 
that is quite funny
 
mr5
1:40 PM
@CaptainObvious lol
 
> GB (but not EU)
:(
 
2:36 PM
@CaptainObvious Somewhat near that price. It's super fast.
I didn't recommend them anyway
 

« first day (4063 days earlier)      last day (868 days later) »