HN user

emergie

89 karma
Posts0
Comments65
View on HN
No posts found.
Float Exposed 10 months ago

It would be nice if the site had an explanation why the decimal 0.1 has no finite representation in base-2 system. In short it's about factorization of the base of the system - base-2 lacks 5 that is present in base-10. It is analogous to 1/3 or 1/7 not having a finite representation in base-10 dot notation of a fraction.

Oak Park guy is a little fish. Nuernberger trial was mostly a vae victis show. They hanged few high level Germans and left tens of thousands of war criminals free. Adenauer's governments (1949-1963) were full of former nazis, amnesties of 1949 and 1954 cleared the slate of many mass murderers.

Consider a system with PID driver that samples temperature every 15-30min. Measures are not 100% regular, so we have to substract dates to calculate time duration between samples. Lets say we got one measure with timestamp 99-12-31 23:50 and second one with 00-01-01 00:15. What will calendar code do if we substract 99-12-31 23:50 from 00-01-01 00:15? Does 00y mean 2000 or 1900? What will the driver do when suddenly temperature differential will change without relation to physical reality?

US is not a vivificaing spirit of everything that happens on the planet. Ukrainians wanted to go their own way. Moscow didn't wanted to lose strict control over them, so they went all out in their usual style. Same thing happened in Georgia in 2008. Its the people that wanted to change things, not some magical US meddling. On the other hand if something happens then the US usually tries to exploit it for their own benefit.

IMO your way of looking at reality is wrong, because it messes causality.

Cyanotoxin hypothesis

Daily cycles on this graph [1] and oxygen surplus can be explained by hyperactivity of organisms that do photosynthesis - cyanobacteries and algae. Something boosted their activity. It might be natural, caused by high temperature very low level of water. Might be because someone contaminated the river with something that worked as fertilizer.

[1] https://nitter.it/pic/orig/enc/bWVkaWEvRmFDNl9EeVgwQUFRNmpRL...

distinct from the public

The sad thing is that a large chunk of people in Russia actually support him. Even educated ones. I saw a shocking interview with an academic (who even lectured on western unis) - he said, that on personal level destruction of Ukrainian cities is a sad thing, but Moscow just executes the law/privilege of the empires.

I have different experience. Soros & co are really operating a political engineering project in eastern europe. He is funding many NGOs here, to the point where regular people hearing "NGO" interprete it as shady-leftist-organisation. We have no rich enough capitalists, only foreign leftists care about installing their world view here.

Well, the article also fails to mention that the Soviet Union exported food products during this famine. People starved because of confiscation of goods and mandatory food contingents.

Ukraine has one of the most fertile soil on the planet and has had developed agrarian culture. Creating a famine in such place requires malice.

I had same thoughts. Uppercasing the first "character" is a wrong way of achieving titlecase.

'dz' digraph may be expressed in few ways:

  dz - \u0064\u007a, 2 basic latin block codepoints
  DZ - \u0044\u005a
  Dz - \u0044\u007a
  
  dz - \u01f3, lowercase, single codepoint
  DZ - \u01f1, uppercase
  Dz - \u01f2, TITLECASE!
Uppercasing the first character works only if the original text used 'dz' in decomposed two-characters form.

Similar thing happens with transliteration. You cannot just transliterate Þ -> TH because then transliterating something like Þorlákshöfn would yield THorlakshofn.

Reality is more nuanced.

Main problem the Palestinians have is that they are in conflict with Israel. State of Israel is treated very generously by US public, journalists and politicians. Google is US based company, ruled by US citizens, regulated by US politicians - that constitutes a bias.

You have no data about Hamas, you're speculating, but even assuming your accusation - Hamas is not a comix bad/good thing. Some parts of them I would consider bad by my standards. But they are a part of struggle for regaining land, that in minds of Palestinians is rightfully theirs and was taken from them by force. Zionist movements in the early XX century were operating with a similar attitude and some even used terrorism as a method.

This is a heavy loaded subject. People have heavy opinions about it. Even if that repo had some data about Hamas I think it would be better if operator of the platform did not intervene and allow it to exist as part of discussion.

Contemplate 2 methods of writing a 'dz' digraph

  dz - \u0064\u007a, 2 basic latin block codepoints
  DZ - \u0044\u005a
  Dz - \u0044\u007a
  
  dz - \u01f3, lowercase, single codepoint
  DZ - \u01f1, uppercase
  Dz - \u01f2, TITLECASE!
What happens if you try to express dż or dź from polish orthography?

You can use

  dż - \u0064\u017c - d followed by 'LATIN SMALL LETTER Z WITH DOT ABOVE'
  dż - \u0064\u007a\u0307 - d followed by z, followed by combining diacritical dot above
  dż - \u01f3\u0307 - dz with combining diacritical dot above

  multiplied by uppercase and titlecase forms
In polish orthography dz digraph is considered 2 letters, despite being only one sound (głoska). I'm not so sure about macedonian orthography, they might count it as one thing.

Medieval ß is a letter/ligature that was created from ſʒ - that is a long s and a tailed z. In other words it is a form of 'sz' digraph. Contemporarily it is used only in german orthography.

How long is ß?

By some rules uppercasing ß yields SS or SZ. Should uppercasing or titlecasing operations change length of a string?

Price is in €, not $/£. English language is used as international language, not to designate anglosphere countries as the target market.

  ['en-US','en-IE','en-GB','en-ZA','en-AU','de-DE','es-ES','nl-NL','pl-PL','ru-RU','cs-CZ','sv-SE','fi-FI','lv-LV']
    .forEach(lang => console.log(lang + ': ' + new Number('1.23').toLocaleString(lang)))
  en-US: 1.23
  en-IE: 1.23
  en-GB: 1.23
  en-ZA: 1,23
  en-AU: 1.23
  de-DE: 1,23
  es-ES: 1,23
  nl-NL: 1,23
  pl-PL: 1,23
  ru-RU: 1,23
  cs-CZ: 1,23
  sv-SE: 1,23
  fi-FI: 1,23
  lv-LV: 1,23

You inspired me to check java world.

  // 0.0d / 0      equals 0x7ff8000000000000 (NaN)
  // Math.sqrt(-1) equals 0xfff8000000000000 (NaN)
  // 0x0p+0d  is a funky way to specify 0x0000000000000000 (0)
  // -0x0p+0d is a funky way to specify 0x8000000000000000 (-0)
  // without 0xHEXp+NUMd my compiller optimizes "-0" literal to 0

  // 0 == -0    
  0x0p+0d == -0x0p+0d
    
  // hashCodes for 0 and -0 are different
  Double.hashCode(0x0p+0d) != Double.hashCode(-0x0p+0d)

  // hashCodes for different NaNs collapse to the same value
  Double.hashCode(0.0d / 0) == Double.hashCode(Math.sqrt(-1))

"Split" means that you have defined division, which implies having rational numbers.

In the beginning there were only Natural numbers.

-1 appeared the moment one decided to define complementary operation to addition. -1 in reality is only a shorthand for "0-1", 0 comes here as neutral element of addition. Addition is well defined on Natural numbers. Subtraction generates Zahl numbers.

Similarly multiplication is well defined on Zahl numbers. It's the complementary operation - division - that generates Quotient/rational numbers.

Date formats are pure fun.

  ['en-US','en-IE','en-GB','en-ZA','de-DE','es-ES','nl-NL','pl-PL','ru-RU','cs-CZ','sv-SE','fi-FI','lv-LV']
    .forEach(lang => console.log(lang + ': ' + new Date('2020-02-04').toLocaleDateString(lang, {day:'numeric', month:'numeric', year:'numeric'})))
  en-US: 2/4/2020
  en-IE: 4/2/2020
  en-GB: 04/02/2020
  en-ZA: 2020/02/04
  de-DE: 4.2.2020
  es-ES: 4/2/2020
  nl-NL: 4-2-2020
  pl-PL: 4.02.2020
  ru-RU: 04.02.2020
  cs-CZ: 4. 2. 2020
  sv-SE: 2020-02-04
  fi-FI: 4.2.2020
  lv-LV: 2020.02.4.

Americans using cal/foot/elbow/galon system of measurements is quirky, but bearable.

AM/PM thing is silly, but bearable.

Malformed MM[/-.]dd[/-.]yyyy date format is one of the most confusing thing I have ever encountered and it generates serious problems.

lombok is the holy grail of java boilerplate removal.

With proper usage of spring-data, spring-cloud-stream, spring-* lomboked java code can be very terse. If you follow conventions repositories, rest clients, mappers etc. are often defined only by interfaces and annotations - actual implementations are generated.

The downside is that the entrance to the full blown spring-* world has a step learning curve - there is a lot to read at spring.io.

Yeah, this and international differences about what "black" actually means. By standards of some cultures Barack Obama was not the first black president of the US but the first mulatto president of the US, as he is neither "properly" black nor white.