bleistift2

joined 1 year ago
[–] bleistift2@sopuli.xyz 4 points 1 day ago (3 children)

Wie wär’s mit „Art.”?

Ist mir eigentlich auch egal, was da steht. Also auf der Leinwand.

[–] bleistift2@sopuli.xyz 4 points 1 day ago (5 children)

Im Grundgesetz gibt’s aber keine Paragrafen sondern Artikel.

[–] bleistift2@sopuli.xyz 41 points 1 day ago (4 children)

That isn’t a bad thing. On the contrary, according to the open-closed principle, you should strive for writing code you never have to touch again.

[–] bleistift2@sopuli.xyz 20 points 1 day ago (2 children)

Ah yes, the “fuck it, no-one is going to use this” code.

[–] bleistift2@sopuli.xyz 16 points 1 day ago* (last edited 1 day ago)

Die CDU packt mal wieder ihre Schaufel aus.

[–] bleistift2@sopuli.xyz 2 points 1 day ago (1 children)

You don’t need to use TS to avoid common issues. If you add an empty object to an empty array and expect a meaningful result, the problem sits in front of the keyboard.

[–] bleistift2@sopuli.xyz 6 points 1 day ago

Unfortunately, people do.

[–] bleistift2@sopuli.xyz 2 points 1 day ago (1 children)

Beinmuskeln.

Ja, ok, ein bisschen Muskulatur brauchst du, um nicht an der Hüfte abzuknicken, aber der Rücken sollte nicht viel mehr beansprucht werden als sonst.

[–] bleistift2@sopuli.xyz 1 points 1 day ago (2 children)

Bitte nicht so fahren :(

[–] bleistift2@sopuli.xyz 4 points 1 day ago

Mhh… Ich müsste mal nachmessen.

[–] bleistift2@sopuli.xyz 1 points 1 day ago (3 children)

Wenn du zum Transport von Fliesen Rückenmuskulatur brauchst, machst du was falsch.

[–] bleistift2@sopuli.xyz 9 points 1 day ago (4 children)

worse, compressed mp3

Everyone who claims they can distinguish 192kbps mp3 from uncompressed audio can also hear the flea cough, as we say in German.

 
 

Explanation (which might be wrong, since I’m writing this after banging my head against a wall. Please do correct me if I’m wrong):

In regular numbering systems (i.e., decimal), we exhaust all 10 digits (0–9) before we reach two-digit numbers. The first number to require 3 digits is 10². The first to use 4 is 10³, and so on.

In music intervals, there is no “0”. The interval c’–c’, for instance, is called a prime (1). This has the funny consequence that moving by a fifth and then by a fourth doesn’t land you on the ninth, but the octave (8). Moving by an octave and then another octave gets you to the 15th, not the 16th.

In Excel, shit hits the fan when you need to convert column names (A, B, C…) to numbers (0, 1, 2…). Since we use 26 characters as our ‘digits’, we’re in the hexavigesimal system. Knowing what I told you in the first paragraph, you’d expect the first double-digit column (AA) to be 26. And you’re right.

However, when do we need 3 digits? Which column is column AAA? A sane person would say it’s 26², so 676. Ha! No. Column number 676 is actually ZA. What gives? Well, we only ditch the zero for single digit numbers. All subsequent columns actually use 27 different characters, the ‘empty character’ being one of them. That’s where we get the ‘single digit’ – there actually is a second digit, only it’s empty.

So the column AAA actually has index 702, or 26×27. Which index does the column AAAA have? 26×27². The system of adding powers of the base works, only we changed bases midway through.

You can see the lopsidedness in the index lookup table (I’m not displaying all characters for brevity). Sane number systems have square tables. Excel’s is 26×27 (shown are 4×5).

39
submitted 1 week ago* (last edited 1 week ago) by bleistift2@sopuli.xyz to c/memes@lemmy.ml
 

Explanation (which might be wrong, since I’m writing this after banging my head against a wall. Please do correct me if I’m wrong):

In regular numbering systems (i.e., decimal), we exhaust all 10 digits (0–9) before we reach two-digit numbers. The first number to require 3 digits is 10². The first to use 4 is 10³, and so on.

In music intervals, there is no “0”. The interval c’–c’, for instance, is called a prime (1). This has the funny consequence that moving by a fifth and then by a fourth doesn’t land you on the ninth, but the octave (8). Moving by an octave and then another octave gets you to the 15th, not the 16th.

In Excel, shit hits the fan when you need to convert column names (A, B, C…) to numbers (0, 1, 2…). Since we use 26 characters as our ‘digits’, we’re in the hexavigesimal system. Knowing what I told you in the first paragraph, you’d expect the first double-digit column (AA) to be 26. And you’re right.

However, when do we need 3 digits? Which column is column AAA? A sane person would say it’s 26², so 676. Ha! No. Column number 676 is actually ZA. What gives? Well, we only ditch the zero for single digit numbers. All subsequent columns actually use 27 different characters, the ‘empty character’ being one of them. That’s where we get the ‘single digit’ – there actually is a second digit, only it’s empty.

So the column AAA actually has index 702, or 26×27. Which index does the column AAAA have? 26×27². The system of adding powers of the base works, only we changed bases midway through.

You can see the lopsidedness in the index lookup table (I’m not displaying all characters for brevity). Sane number systems have square tables. Excel’s is 26×27 (shown are 4×5).

 

Explanation (which might be wrong, since I’m writing this after banging my head against a wall. Please do correct me if I’m wrong):

In regular numbering systems (i.e., decimal), we exhaust all 10 digits (0–9) before we reach two-digit numbers. The first number to require 3 digits is 10². The first to use 4 is 10³, and so on.

In music intervals, there is no “0”. The interval c’–c’, for instance, is called a prime (1). This has the funny consequence that moving by a fifth and then by a fourth doesn’t land you on the ninth, but the octave (8). Moving by an octave and then another octave gets you to the 15th, not the 16th.

In Excel, shit hits the fan when you need to convert column names (A, B, C…) to numbers (0, 1, 2…). Since we use 26 characters as our ‘digits’, we’re in the hexavigesimal system. Knowing what I told you in the first paragraph, you’d expect the first double-digit column (AA) to be 26. And you’re right.

However, when do we need 3 digits? Which column is column AAA? A sane person would say it’s 26², so 676. Ha! No. Column number 676 is actually ZA. What gives? Well, we only ditch the zero for single digit numbers. All subsequent columns actually use 27 different characters, the ‘empty character’ being one of them. That’s where we get the ‘single digit’ – there actually is a second digit, only it’s empty.

So the column AAA actually has index 702, or 26×27. Which index does the column AAAA have? 26×27². The system of adding powers of the base works, only we changed bases midway through.

You can see the lopsidedness in the index lookup table (I’m not displaying all characters for brevity). Sane number systems have square tables. Excel’s is 26×27 (shown are 4×5).

 
 

Meine Gedanken dazu in dieser Reihenfolge:

  1. Oh, da habe ich wohl mal bei meinem Geburstag geschwindelt.
  2. Ha, das ist ja lustig.
  3. Sollte das jetzt mein Vertrauen in die Datensicherheit beim WWF erschüttern oder ist das ein harmloser Fehler, der jedem mal passiert?
  4. Warum wissen die eigentlich mein Geburtsdatum?

Bildquelle für das Spinnenmannmichmich: CyberEgg@discuss.tchncs.de, https://sopuli.xyz/post/29215887

 

Ich bin erstaunt, wie viel Getier tatsächlich um mein Haus herum lebt. Es scheint wohl doch noch ein bisschen Natur zu geben.

Aber warum müssen die Scheißviecher abends bei mir einziehen?

 
57
ich_iel (sopuli.xyz)
submitted 2 weeks ago* (last edited 2 weeks ago) by bleistift2@sopuli.xyz to c/ich_iel@feddit.org
 

Aus der heutigen 20-Uhr-Tagesschau. Man nimmt die Quellen, die man kriegt, ne? :D

 
 
view more: ‹ prev next ›