« first day (3844 days earlier)      last day (1295 days later) » 

16:00
> People’s names are assigned at birth.
OK, maybe not at birth, but at least pretty close to birth.
Alright, alright, within a year or so of birth.
Five years?
You’re kidding me, right?
@Adám I certainly am
@Adám I'd love to know
OK, then…
how did his family refer to him?
@pxeger "So-and-so's baby boy".
16:00
"Hey kid! You in the red shirt!"
@Adám I can't help but argue that's a name
@pxeger Eventually, the parents agreed to enter him into the system as "baby [family name]".
Contrast 'alice and 'bob to alice.baby
Orthodox Jews name boys at their circumcision, which usually happens at (but never before) their 8th day. However, circumcision is postponed if there's even the smallest (unusual) risk of endangering the child. The boy was born with somewhat severe deformities, so circumcision was postponed indefinitely.
Oh, that's sad
16:07
0
Q: Ok so my questiin is hypoteticwl if ur looking for serious physics u may leave

SiddhuImagine humans created a substance let's call it a you made a box purely made out of a substance a is indestructible a million nukes won't scratch it but it can gt heated up easily even though it doesn't melt you fill it to every single atom with water not a single aton of free space and then sea...

VLQ
"you may only load the flag dialog every 3 seconds" ?????
couldn't they cache the response for those 3 seconds
VTD anyone?
@NewPosts The edit cracked me up: "Correct gramma"
16:31
@Adám so he'll just never have an actual name?
@rak1507 I don't know what happened to him. My guess is that he eventually got circumcised (it is a rather minor procedure) and got a name.
Imagine if a family had two unnamed children…
Clearly, two people can have identical names.
May a family name two of their children identically?
ngn
ngn
@Adám Richard would be a nice name :)
*groan*
16:37
@ngn ?
Richard -> Dick
I'm sure someone will have done that
Can two people with the exact same name marry each other?
They probably can, but the paperwork will be ugly :P
@user Or beautifully symmetric.
What if they get divorced and one of them is given full custody over the kids?
16:39
Oh god
May a family name their identical twins with fittingly identical names?
It'd be even worse if they got identical twins with the same names
Partially ninja'd :P
it's not quite as confusing but people often name their kids 'something junior' or whatever
@Adám Imagine if John Doe married John Doe and they had identical twins named John Doe and John Doe, got divorced, and kept one twin each
pretty sure there are like 5 georges in a row in my ancestry :P
16:40
What if you leave out "Sr"/"Jr"?
@Adám Only a Richard would do that kind of thing
At that point, you're almost certainly doing it on purpose
would get very confusing very fast
this is why all children should be assigned a UUID at birth
You joke, but this would honestly be very nice
hello 8b52c862-df1d-4769-9af4-a72ce3f018f6, this is my child, 30bc4026-d451-41bd-9281-f46ed6b7887a
@rak1507 In Denmark, people are identified by a unique 10-digit number, not by their name. No confusion there.
And yes, it says my number in my passport.
16:42
@rak1507 Obviously, they'd only be used for paperwork and not normal stuff
I know, just joking
Plus, I'm sure you could add in Unicode characters to make them shorter
ngn
ngn
@Adám same in Bulgaria. what information does it encode?
@user Nope, the Danish Central Persons Registry number is used whenever you identify yourself to anything even semi-official.
Hi, my ID is 😫1d91⌊📟⍥÷⊣
16:43
Similar in Sweden. I even had to use my 10-digit number to take a photocopy at the library!
@Adám You introduce yourself as "Hi, my number is 1234567890"?
Ah, that's what they mean when they say "unpronounceable name", isn't it.
@user Output each one to STDOUT, then return a readable file object for stdout
No, that's Elon Musk's kid
@Dudecoinheringaahing I've actually found a great alternative to STDOUT that lets you print stuff without displaying it: /dev/null! :P
@ngn In Denmark, it encodes your DoB (with a +/- 100 years ambiguity!) and your gender. In Sweden it encodes your DoB (including a special century bit), roughly where in the country you were born (or "abroad"), and your gender.
And before anyone asks, gender in this context is binary (parity of last digit).
16:45
What if your gender changes?
ngn
ngn
@Adám in BG they add 20 or 40 to the month to resolve the ambiguity
Or if your exact DoB is unknown? (I assume you just guess)
@user I'm very sure that the system wasn't designed with that in mind.
UK passport numbers are something like that I think
@Adám sounds similar to a CHI number
16:45
evidently this is a common theme
@ngn They can't do that because invalid dates like that are used to uniquely identify business. Thus, every legal entity has a 10-digit number.
@pxeger But doesn't that change when you get a new passport?
@Adám I don't think so?
@pxeger So two distinct passports can have the same name‽
> allocated to each patient on first registration with the Service
The Danish and Swedish numbers are given at birth.
@user if you really want to print it you could try something like this: youtube.com/watch?v=vXwb_7DdZeQ&t=146s
Fun fact, the Danish numbers are NOT unique. My youngest son's number is 031013-XXXX (sic. With the Ex's) which he shares with all other Danes that were born abroad on 3 Oct '13. (Hence why I have no problem stating it in the open here.)
16:49
@Adám no there's a long arbitrary number at the end
@Adám what's the point in something that's not unique?!
seems a bit strange
@rak1507 Who said the system was well designed?
ngn
ngn
@Adám so which part encodes the gender?
@ngn Apparently foreign-born Danes are genderless. He'll be assigned a gender if and when he settles in Denmark. If he doesn't before he reaches 21 years of age, he loses his identity. No, I'm not kidding.
I never said the system was well designed.
In Sweden, the number changes on your 100's birthday. The - becomes a +.
ngn
ngn
16:53
in BG the numbers have a checksum digit
The last digit is the check"sum" digit in Denmark and Sweden too.
But with some formula so the gender can be set.
ngn
ngn
@Adám hm, so there are fewer than 10^10 valid ones
For sure. The first 6 digits encode the date anyway.
The system most certainly doesn't scale if the countries grow.
ngn
ngn
i guess it would still be plenty for population + legal entities
Denmark also chose a car license plate scheme that doesn't scale. Nobody envisioned such proliferation of vehicles. The AA NNNNN without recycling scheme is quickly running out of valid plates, and there's just too much software out there that's hardcoded to that format…
Sweden uses AAA NNN with recycling, so that's a bit better.
ngn
ngn
16:59
@Adám whoever was advising the government might have been a visionary :)
now they have a guaranteed contract to write software to upgrade to the new scheme
Hey, the first Danish registration system used AN!
(⎕IO←1!)
The queen's primary car still says A1.
0
A: Sandbox for Proposed Challenges

golden_batIATA Airport Codes code-golfdecision-problemstringcompression Out of 17576 alphabetical triplets, to this day, 9144 are used as IATA airport codes. Given a 3-letter string, tell if it appears in the list. The input is mixed-case by default, but you can restrict it to uniform-case or lowercase or...

@Adám a friend of mine used to own the A1 numberplate here
it sold for... a lot
People will pay stupid money for stuff like that
Didn't someone pay like £100 for the plastic £5 note with AAA000?
The fool and his money… (Are we still allowed to say that?)
ngn
ngn
17:18
c pro tip :)
#define VAR(name,value) __typeof__(value)name=(value); //static typing is annoying
17:31
lol
C pro tip: Don't use C, move to the country and relax
ngn
ngn
@user what should i be using that's fast&concise? i've just started to learn rust but i already hate it because of the verbosity and bloated binaries.
zig seems a bit less annoying but still too verbose for my taste
I could see the bloated binaries being an issue, but Rust isn't that verbose, right? I only used it for a few days, but it seemed about as verbose as C (and anything extra is for very good reason)
@RedwolfPrograms I'm not sure your idea of verbose and ngn's idea of verbose are the same :P
I personally don't like Rust that much, but I've heard a lot of good things about it (and it'd be quite nice if it caught on and we didn't have as many 0-days as a result)
not sure how good the language is but odin-lang.org/docs/overview/#fixed-arrays is pretty cool (array programming in a c-like language)
ngn
ngn
17:44
@RedwolfPrograms c has a preprocessor that can compensate for most of the verbosity. i'm not sure rust's macros can get to that level.
I dunno if I'd consider C's preprocessor as an advantage of the language :p
@ngn I was joking
I don't know about concise, but ATS (Applied Type System) looks pretty cool
But yeah if you just need a fast language and you're already familiar with C, it's probably the best choice
To a newcomer, though, C is horribly verbose too, and its macros are an unintelligible mess
Source: me
chapel-lang.org is interesting too
ngn
ngn
17:46
@user don't worry, macros are unintelligible only for the first 10 years or so :)
3
I feel like someone was just like "hey, we need a shorter way to do thing" and some guy was just like "yeah, on it" and added a find and replace thing then closed the issue and went on with their day :p
C's macros are more than a find and replace, but yeah, they feel very hacky
Pick Rust - it has macros that make sense
It's like a B programmer and a Perl programmer mated and the worst possible combinations of their genes combined to form C programmers :P
Hey guys, do you mind a noob question?
17:51
ofc not
Not at all!
ngn
ngn
@299792458 was that the noob question? :)
They're just asking in case they ever need to ask us a noob question in the future. Very smart, if I may say so :P
Thanks. I just experienced something very weird. Generally when we declare numbers in any code, they stay put. Either I am on drugs, or I am experiencing something like noise added to one of them?
Or there's just something i am not previously aware of.
@ngn Lol
Wait, what do you mean?
Can you show your code?
17:54
Does this noise look like a .00000000001 or .999999999 at the end? If so, it could be floating point imprecision.
see, I declare x = -0.2:0.1:0.2, I expect x to be a 5 element array with numbers -0.2 to 0.2 at a space of 0.1 each. But the 4th number appears to become 0.1 + (something with 10^-17). I don't understand why.
@RedwolfPrograms Not purposefully so. Might have happened inadvertently, though I don't see why/how.
Yep, looks like floating point imprecision. It's a flaw with how computers usually store non-integers.
The way it's calculating that range is probably just adding 0.1 to -0.2 over and over again until it hits 0.2, and adding tenths usually results in some imprecison (the classic example is 0.1 + 0.2 being 0.30000000000000004)
Oh wow. Let me check that example.
I get 0.1+0.2-0.3 to be 5.5*10^-17
@RedwolfPrograms Any good reference for me to look at for this, or just Google would be enough?
This wikipedia page seems to have some details
18:00
@Adám Thanks a lot.
@RedwolfPrograms Thanks a lot.
There's not really a good general solution to the problem, although often the errors are small enough to ignore. Sometimes things like rolling your own fixed point representation will work if you absolutely need accuracy.
The easiest solution to any problem is to give up and go live in the woods as a hermit eating rabbits with your pet wolves all day
But what if you need to count your 0.1 and 0.2 rabbits? Do you have 0.3 rabbits? If so, how do you represent that with binary?
You eat the rabbits until you have 0 rabbits, simple
the ieee754 standard and its consequences have been a disaster for the human race
18:04
Why bother yourself with how many rabbits there are as long as you know there are rabbits?
You might end up with 0.00000000000000004 rabbits left though!
@rak1507 The human race has been a disaster for the human race
@RedwolfPrograms So?
@RedwolfPrograms That's like less than a rabbit fur hair.
@RedwolfPrograms Alright. In this case, my code task is simple (value comparison based loop), so I can circumvent it by putting a tolerence and compare using an inequality rather than an exact equality. But this is nevertheless a good point to read about.
@rak1507 I challenge you to find a better general-purpose way to represent non-integers, though
18:04
Why care about whether or not there are little pieces of rabbit? You're a hermit, you don't need to clean your plate
@user I too feel that us fellow humans are bad, right fellow humans who I am like?
jsakfjsdk7sfjlksdjfa
@Dudecoinheringaahing I agree, fellow human. (Yes, I too am a human).
@RedwolfPrograms why on earth would you want to do that!
@RedwolfPrograms How did you type a seven in that keyboard smash?
18:06
^^
@Dudecoinheringaahing I am the best user on the site
ngn
ngn
@rak1507 either humanity should start using binary (including after the decimal point) or computers should start using binary-encoded decimal
Why bother trying to find a way to represent non-integers when you can think of ways to destroy the human race?
@RedwolfPrograms I disagree
18:06
Oh that's a tall xkcd
I think Dude was aware of that
ninja
@RedwolfPrograms That's what she said
hahahaha
I now have a screenshot of Dude agreeing I'm the best user on the site :p
I don't know what you're talking about, I very clearly disagree
@RedwolfPrograms But why doesn't this problem plague other numbers in that simple example? e.g. x(2) is expected to be -0.1. So, if I do (x(2)-(-0.1))/10^-25 too, I still get 0. So, the problem hit x(4), but x(2) did not get affected?
Usually the computer can figure out what the floating point representation was supposed to represent, but if you add them in the right order it can get too far from the correct fraction and it's harder to tell
18:09
@299792458 Some numbers can be expressed cleanly in binary, others can't be and so need to be approximated
So floating point errors only really affect some numbers
@Dudecoinheringaahing Well yeah, but if that was the cause just entering 0.1 would result in 0.10000...
And 0.3 != 0.1 + 0.2
If it was just imprecision in the representation they'd be equal; it's the errors stacking up that causes that to happen
ngn
ngn
@RedwolfPrograms 0.1 is 0.000110011001100.. in binary. the pattern repeats infinitely. the binary fp represenation must cut it off at some point.
@Dudecoinheringaahing But in this case, x(2) and x(4) are the same number 0.1, just a minus sign difference. Are you referring to how they are generated?
¯\_(ツ)_/¯ I don't know that much about floating points
@ngn Yeah, but whatever's displaying it knows that that's supposed to be 0.1 and shows that. It only causes problems when you do certain operations that cause the imprecision to add up.
@299792458 Yep. The operations that it takes to get between the numbers can cause information to be lost or inaccuracies to add up
18:16
@RedwolfPrograms Alright. Thanks a lot for this very informative discussion. I will read up the references you provided.
Also thanks to Adam, and the rest. Very helpful guys. To a user who visited this chat for the first time.
'Cya
@RedwolfPrograms Objection, "the site" is unclear
Not really, it's pretty clear "the site" refers to CGCC here :p
You may be the best user on 4chan, but that doesn't mean much
@RedwolfPrograms Still doesn't mean much :P
@RedwolfPrograms But your name isn't "user", it's "Redwolf Programs"
@user Way to insult a couple thousand code golfers :p
18:18
Btw @RedwolfPrograms is the bounty here for Shadow?
@Dudecoinheringaahing user is the best "user" on the site, I'm the best user
@user No, it's for the irony
@RedwolfPrograms r/SuicideByWords
@RedwolfPrograms lol
@user It'd be a better fit for r/KamikazeByWords :P
I'm exactly the kind of person to throw away my rep for irony :p
Especially when it's mostly unearned :p
@Dudecoinheringaahing Oh right, I killed all of us :P
(well, not much of a kamikaze, but you know what I mean)
@user I would like to rekindle this conversation. I believe all humans on Earth should be ejected as they are sus. What do you think, totally human fellow humans?
18:21
I think your idea is kind of sus
No, you
Eject Redwolf, he's not human
when the species is sus: 😳
ngn
ngn
so, users here fall in two broad categories "Adam, and the rest" :)
3
Well, that rougly aligns with the categories of "paid code golfers" and "recreational code golfers" :p
Every person is either Adám or not Adám :P
18:24
@ngn Who's Adam?
@Adám You, but printed onto paper and then digitized through poor OCR :P
ngn
ngn
@Adám the one who is not like the rést
@user ???
^ That's the first picture that shows up when you look up "Who's Adam?"
18:26
I actually think of myself as אדם‎‎.
@user Why do I get the feeling that's the picture an AI generated given the prompt "Show me a generic white American guy"? :P
And the first search result is this
@Dudecoinheringaahing All you need to tell the AI is "Show me a person," it'll fill in the "generic white American guy" all by itself :P
@Adám Which script is that?
Ah, so it's just Adám in Hebrew?
Well, Assyrian/Babylonian, but yeah, mostly used for Hebrew and Aramaic these days.
ngn
ngn
18:28
@user no, it's just "adm" in hebrew
(aside: Any keyboards that are good for English and occasional APL and accented characters?)
@ngn More like ’dm if you want to be strict.
ngn
ngn
@Adám right, technically a consonant, but aleph could indicate a vowel afaik
@user OS?
Oh, is Hebrew the language where the vowels have to be filled in?
@Adám Windows
18:29
@user github.com/abrudz/Kbd should do the job just fine.
Okay, apparently dots show vowels
Assuming that by "accented" you mean as in most Western European languages, not like Vietnamese…
@Adám Accented characters too?
@user Some: ´^`¨~ and Nordic chars.
@Adám Well, just the ones used in French, really. Keeping track of every language/script's accents would be very hard
ngn
ngn
18:30
@user arabic and a few others too
@user Yes, all the ones used in French, including ç. Though I might have missed the OE ligatures.
Nice
hvng t fll n vwls wld gt vry cnfsng
@Adám OE doesn't matter to me, I'm content telling people to go cook oeufs :P
@rak1507 Sure, but that's because the vowels convey core meaning in English. Not so in Hebrew and Arabic.
ngn
ngn
18:32
@rak1507 it makes sense for afro-asiatic languages
oh interesting
so you could never get words that had the same consonants but different vowels?
ngn
ngn
@rak1507 the vowel patterns are clear from context
@user The system is quite easy to remember. the AWS triangle draws ´^` the buttons around ⍨ (T) form ¨ (on R) and ~ (on T).
@rak1507 Having it flail in vowels wild git Avery confusing?
exactly :P
18:34
@Adám Thanks, I'll try to keep that in mind
Fun fact: My parents gave me a most generic name. They were so taken by the fact that they had created a new person that they literally named me "person" in Hebrew.
At least you have a name unlike that other kid :P
ngn
ngn
@Adám or maybe they thought "ah damn" :)
@rak1507 It can get super confusing though. I've walked by people having conversations about personhood or humanity in general, and my name comes up like all the time. Same with people quoting laws that say "a person who does such and such…"
That does sound confusing
18:39
@Adám Hey, I've got a similar story: mine knew I'd be a user on Stack Exchange so they named me "user" :P
I suppose a person named Richard could get confused when passing through or working at… certain types of businesses.
I don't think that nickname is used that much anymore?
@user I thought your real name was Original Original Original IV?
@Dudecoinheringaahing Yeah, they changed it later. Blame the programmers who assumed I'd have a first, middle, and last name, and that all would start with uppercase letters :P
I had a gym teacher named Dick Hoppe. Wasn't a nickname for Richard.
18:40
His parents must have been sadists...
There was a kid at my school whose last name meant "murderer." Wonder if that meant one of his ancestors did some shady work
He was Swedish. Not uncommon for a word to be perfectly fine in one language, and obscene in another.
Ah
One company failed to realise the connotations when they launched their WaterPik water-jet based toothpick alternative, and extended sales to Denmark. "Pik" is approximately like the English word that has a D instead of P, and ck instead of k.
@Adám There is an American store called Dick's Sporting Goods, which I always take the wrong way when I see it :P
Glad to see I'm not the only one who thinks of that :P
18:55
@Dudecoinheringaahing That's nothing. Whoever chose the URL for Pen Island wasn't thinking: penisland.net
Time to go incognito to click that :P
Perfectly SFW.
Gives a whole new meaning to this entry from their FAQ:
> Q: Can I provide my own wood?
> A: In most cases we can handle your wood. We do require all shipments to be clean, free of parasites and pass all standard customs inspections.
> We Specialize In Wood
I'm not entirely convinced this isn't a troll :P
Is it just me, or is this logo ambiguous:
Yeah, that's what makes me think it;s a troll :P
19:01
It is darn well pulled off, if it is a joke.
ngn
ngn
not many people here would remember: before joel and company made stackoverflow, there used to be a site called "expertsexchange" :)
Yeah. But they quickly added a hyphen.
> Accents are important for a truely unique pen and nobody does them like Pen Island. No request is too boring or too off-the-wall, we can fabricate nearly anything. Whether all you want is a simple skinny white pen (it's our best seller!) or something wrapped in leather or little pink bows, we've done it all. Even pens dipped in chocolate!
obviously a joke
I'm still not sure.
there's no way to order other than on the contact form
there are no product images other than stock photos
there are no details other than the email address sales@
19:07
Hm, registered by someone in Iceland.
I was just checking that too lol
I think I'm convinced that it's a joke. A really good one, though.
Are you suggesting that Eliana R didn't really work with Suzanne to get a high quality pen?
it's not that funny to me
It's not especially funny imo, but it's damn clever
19:08
Does anyone get the "Boulder CO" joke?
"Ann Arbor MI" and "Woodland CA" both imply "wood".
> Q: Do you ship internationally?
A: Absolutely! We have shipped packages to six of the seven continents. If you live in Antarctica contact us for a special discount!
Hypothesis: Pen Island has invented the Santa Claus conspiracy to mask their logistics
I've just emailed sales@, lets see what happens :P
What did you write them?
> I'm interested in purchasing a pen, and was hoping you could help me find one with the right girth?
(plus some standard email filler)
19:12
Whoa, since 2004.
I wonder how many joke emails they get
Notice the logo back then was a much less ambiguous palm tree.
oh I see what you meant earlier now lmfao
@rak1507 Probably at least 3
10 years ago; more palm trees, and a menu that doesn't work. Plus, this is definitely a joke:
> Whether you're looking for a long and skinny pen, a thick pen, a fountain pen that squirts ink, or even a black pen, we have just the one for you.
19:32
Oh wow, now that HN's status tags edit spree is more than 60 days past, he's dropped from #1 to #4 in meta participation
@user hi (forgot to reply to this)
also, whenever someone pings you, the ping highlights for me (but does not ping me)
@rak1507 at least in arabic, ambiguity can be cleared by inserting vowel marks
Same in Hebrew.
@Adám or even stricter, there's that fancy curved apostrophe (to distinguish it from ayin)
@Adám what about yiddish, are vowel marks used too, or are they redundant?
@user41805 I was using that, but the font here isn't good for it: ´alef and `ayin.
i meant ʾalef and ʿayin, i haven't yet seen those used
19:44
@user41805 Yes and no. Yiddish uses an alphabet rather than an abjad, though it uses Hebrew (well, Aramaic) letters. So some otherwise unused letters and letter-combinations are repurposed as vowels. There's still a little ambiguity which can be resolved with vowel marks too, especially for less experienced readers. Children's books are sometimes fully (i.e. redundantly) vowelised.
i see
vowelised is a very niche word
@user41805 Ah, right. I don't have them on my keyboard, so I didn't bother.
I feel like Adám knows a lot of niche words
Probably not disproportionally so. I probably just know specialised terminology of the subjects I'm interested in.
@pxeger You probably know a lot of words related to music theory.
19:49
I'm by no means a music theory expert
I know a bit
but I suppose, nonetheless, that I know more specialised terminology than the average person
@pxeger You probably know a lot of words related to list and here :P
I probably know more than average terminology when it comes to Judaism and Hebrew. And array programming.
@Dudecoinheringaahing "list and here"?
19:51
> Programmer, administrator, musician, list, of, nouns, here.
oh lmao
CMQ: Which specialist terminology do you know more of than the average population?
Probably either climbing or skiing
@Adám more than which average population? The world's? In which case, most the words I know, because the average person doesn't speak much English or French :þ
But they don't really have a lot of specialist terminology
19:53
"belay" is the only one I can think of
but I'm not a specialist lol
There are about 20 different terms to describe moves and holds
ngn
ngn
hey, i need a new word. can anyone help? "filter" like in functional programming but the function is applied to the list as a whole, not on individual items
how would that even work?
just an if expression or something?

« first day (3844 days earlier)      last day (1295 days later) »