trivia   5812

« earlier    

Football Still Americans' Favorite Sport to Watch
37% say football is their favorite sport to watch, by far the most for any sport
Baseball is at its lowest point ever, with only 9% saying it is their favorite
Football has slipped in popularity from its peak of 43% in 2006 and 2007

WASHINGTON, D.C. -- American football, under attack from critics in recent years, has lost some of its popularity but is still the champion of U.S. spectator sports -- picked by 37% of U.S. adults as their favorite sport to watch. The next-most-popular sports are basketball, favored by 11%, and baseball, favored by 9%.

http://www.businessinsider.com/popularity-nfl-mlb-nba-2015-2
news  org:data  data  time-series  history  mostly-modern  poll  measure  usa  scale  sports  vulgar  trivia  org:biz  multi  comparison  ranking  human-bean  ubiquity 
4 days ago by nhaliday
c - Aligning to cache line and knowing the cache line size - Stack Overflow
To know the sizes, you need to look it up using the documentation for the processor, afaik there is no programatic way to do it. On the plus side however, most cache lines are of a standard size, based on intels standards. On x86 cache lines are 64 bytes, however, to prevent false sharing, you need to follow the guidelines of the processor you are targeting (intel has some special notes on its netburst based processors), generally you need to align to 64 bytes for this (intel states that you should also avoid crossing 16 byte boundries).

To do this in C or C++ requires that you use the standard aligned_alloc function or one of the compiler specific specifiers such as __attribute__((align(64))) or __declspec(align(64)). To pad between members in a struct to split them onto different cache lines, you need on insert a member big enough to align it to the next 64 byte boundery

...

sysctl hw.cachelinesize
q-n-a  stackex  trivia  systems  programming  c(pp)  assembly  howto  caching 
20 days ago by nhaliday
c++ - What is the difference between #include <filename> and #include "filename"? - Stack Overflow
In practice, the difference is in the location where the preprocessor searches for the included file.

For #include <filename> the preprocessor searches in an implementation dependent manner, normally in search directories pre-designated by the compiler/IDE. This method is normally used to include standard library header files.

For #include "filename" the preprocessor searches first in the same directory as the file containing the directive, and then follows the search path used for the #include <filename> form. This method is normally used to include programmer-defined header files.
q-n-a  stackex  programming  c(pp)  trivia  pls 
20 days ago by nhaliday
Dump include paths from g++ - Stack Overflow
g++ -E -x c++ - -v < /dev/null
clang++ -E -x c++ - -v < /dev/null
q-n-a  stackex  trivia  howto  programming  c(pp)  debugging 
23 days ago by nhaliday
What’s In A Name? Understanding Classical Music Titles | Parker Symphony Orchestra
Composition Type:
Symphony, sonata, piano quintet, concerto – these are all composition types. Classical music composers wrote works in many of these forms and often the same composer wrote multiple pieces in the same type. This is why saying you enjoy listening to “the Serenade” or “the Concerto” or “the Mazurka” is confusing. Even using the composer name often does not narrow down which piece you are referring to. For example, it is not enough to say “Beethoven Symphony”. He wrote 9 of them!

Generic Name:
Compositions often have a generic name that can describe the work’s composition type, key signature, featured instruments, etc. This could be something as simple as Symphony No. 2 (meaning the 2nd symphony written by that composer), Minuet in G major (minuet being a type of dance), or Concerto for Two Cellos (an orchestral work featuring two cellos as soloists). The problem with referring to a piece by the generic name, even along with the composer, is that, again, that may not enough to identify the exact work. While Symphony No. 2 by Mahler is sufficient since it is his only 2nd symphony, Minuet by Bach is not since he wrote many minuets over his lifetime.

Non-Generic Names:
Non-generic names, or classical music nicknames and sub-titles, are often more well-known than generic names. They can even be so famous that the composer name is not necessary to clarify which piece you are referring to. Eine Kleine Nachtmusik, the Trout Quintet, and the Surprise Symphony are all examples of non-generic names.

Who gave classical music works their non-generic names? Sometimes the composer added a subsidiary name to a work. These are called sub-titles and are considered part of the work’s formal title. The sub-title for Tchaikovsky’s Symphony No. 6 in B minor is “Pathetique”.

A nickname, on the other hand, is not part of the official title and was not assigned by the composer. It is a name that has become associated with a work. For example, Bach’s “Six Concerts à plusieurs instruments” are commonly known as the Brandenburg Concertos because they were presented as a gift to the Margrave of Brandenburg. The name was given by Bach’s biographer, Philipp Spitta, and it stuck. Mozart’s Symphony No. 41 earned the nickname Jupiter most likely because of its exuberant energy and grand scale. Schubert’s Symphony No. 8 is known as the Unfinished Symphony because he died and left it with only 2 complete movements.

In many cases, referring to a work by its non-generic name, especially with the composer name, is enough to identify a piece. Most classical music fans know which work you are referring to when you say “Beethoven’s Eroica Symphony”.

Non-Numeric Titles:
Some classical compositions do not have a generic name, but rather a non-numeric title. These are formal titles given by the composer that do not follow a sequential numeric naming convention. Works that fall into this category include the Symphony Fantastique by Berlioz, Handel’s Messiah, and Also Sprach Zarathustra by Richard Strauss.

Opus Number:
Opus numbers, abbreviated op., are used to distinguish compositions with similar titles and indicate the chronological order of production. Some composers assigned numbers to their own works, but many were inconsistent in their methods. As a result, some composers’ works are referred to with a catalogue number assigned by musicologists. The various catalogue-number systems commonly used include Köchel-Verzeichnis for Mozart (K) and Bach-Werke-Verzeichnis (BWV).

https://music.stackexchange.com/questions/6688/why-is-the-key-included-in-classical-music-titles
I was always curious why classical composers use names like this Étude in E-flat minor (Frédéric_Chopin) or Missa in G major (Johann Sebastian Bach). Is this from scales of this songs? Weren't they blocked to ever use this scale again? Why didn't they create unique titles?

--

Using a key did not prohibit a composer from using that key again (there are only thirty keys). Using a key did not prohibit them from using the same key on a work with the same form either. Bach wrote over thirty Prelude and Fugues. Four of these were Prelude and Fugue in A minor. They are now differentiated by their own BWV catalog numbers (assigned in 1950). Many pieces did have unique titles, but with the amounts of pieces the composers composed, unique titles were difficult to come up with. Also, most pieces had no lyrics. It is much easier to come up with a title when there are lyrics. So, they turned to this technique. It was used frequently during the Common Practice Period.

https://fredericksymphony.org/how-are-classical-music-compositions-named/
explanation  music  classical  trivia  duplication  q-n-a  stackex  music-theory  init  notation  multi  jargon 
25 days ago by nhaliday
Information Processing: Moore's Law and AI
Hint to technocratic planners: invest more in physicists, chemists, and materials scientists. The recent explosion in value from technology has been driven by physical science -- software gets way too much credit. From the former we got a factor of a million or more in compute power, data storage, and bandwidth. From the latter, we gained (perhaps) an order of magnitude or two in effectiveness: how much better are current OSes and programming languages than Unix and C, both of which are ~50 years old now?

...

Of relevance to this discussion: a big chunk of AlphaGo's performance improvement over other Go programs is due to raw compute power (link via Jess Riedel). The vertical axis is ELO score. You can see that without multi-GPU compute, AlphaGo has relatively pedestrian strength.
hsu  scitariat  comparison  software  hardware  performance  sv  tech  trends  ai  machine-learning  deep-learning  deepgoog  google  roots  impact  hard-tech  multiplicative  the-world-is-just-atoms  technology  trivia  cocktail  big-picture  hi-order-bits 
28 days ago by nhaliday
Harvestmen = Daddy Long Legs, and they harvest dead bees
Honestly the mere fact that some people refer to Daddy Long Legs as “harvestmen” is creepier than 90% of all deliberately created horror but like the worst part is that the alternative is calling them Daddy Long Legs
trivia 
29 days ago by jharper
c++ - Pointer to class data member "::*" - Stack Overflow
First encountered in emil-e/rapidcheck (gen::set).

Is this checked statically? That is, does the compiler allow me to pass an arbitrary value or does it check that every passed pointer to member pFooMember is created using &T::*fooMember? I think it's feasible to do that?
q-n-a  stackex  programming  pls  c(pp)  gotchas  weird  trivia  hmm  explanation  types  oop 
4 weeks ago by nhaliday
language design - Why does C++ need a separate header file? - Stack Overflow
C++ does it that way because C did it that way, so the real question is why did C do it that way? Wikipedia speaks a little to this.

Newer compiled languages (such as Java, C#) do not use forward declarations; identifiers are recognized automatically from source files and read directly from dynamic library symbols. This means header files are not needed.
q-n-a  stackex  programming  pls  c(pp)  compilers  trivia  roots  yak-shaving  flux-stasis  comparison  jvm 
4 weeks ago by nhaliday

« earlier    

related tags

2018  2019  404  actions  age-generation  ai  alexa  alphabet  and  anglo  animals  anki  api  archive  arresteddevelopment  arrows  ask.metafilter  askmetafilter  assembly  assistant  astronomy  baking  bar  bard  bardass  best-practices  bibliophilic  big-picture  biology  blog  bread  c(pp)  caching  card  cards  childhood  children  chinese  choices  christmas  classical  co-founder  cocktail  code  colin  common  comparison  compilers  computers  copeka  culture  darkest_dungeon  data  database  dead  debugging  decision.models  decisions  deep-learning  deepgoog  demographics  development  didyouknow  diehard  diet  direct-indirect  distribution  drug  duplication  early-modern  easteregg  education  embodied  endofyear  english  englishtrivia  entrepreneurial  estimate  europe  evidence  explanation  facts  faq  farmers-and-foragers  fear  film  flash  flu  flux-stasis  food  foreign-lang  found  from  fun  funfact  game  games  gameshows  geography  global/intl  google  gotchas  graph(s)  graphs  habit  hard-tech  hardware  hi-order-bits  hiring  history  hmm  hn  holiday  how  howto  hq  hqtrivia  hsu  http  human-bean  humor  icymi  idea  imdb  impact  init  inspiration  interesting  internals  internet  interview  irish-web  iron-age  japan  jargon  jeopardy  jvm  kroll  language  learning  lexical  lifestyle  linux  list  lists  lived-experience  logo  machine-learning  math  measure  media  medieval  mediterranean  memory  mental-math  modeling  mostly-modern  movie  movies  multi  multiplicative  music-theory  music  naqt  neat  news  newsletter  notation  obscure  oop  org:biz  org:data  overdose  password  performance  peter-flynn  philadelphia  philly  pipes  pls  podcasts  poll  popculture  prioritization  productivity  programing  programming  psychology  q-n-a  qra  questions  quiz  quizzo  quotes  radio  radiolab  ranking  reference  repetition  repository  roots  ruby  scale  science  scitariat  search  service  shakespeare  society  software  songs  sports  spreadsheet  stackex  state  stats  suspected  sv  symbol(s)  systems  taiwan  tea  tech  technology  television  televisionband  template  templates  terms  the-classics  the-world-is-just-atoms  thread  time-series  time  to  togakangaroo  toread  traces  trends  trope  tropes  tv  twitter  types  ubiquity  ucc  unix  usa  videogames  videolist  vine  vulgar  web  weird  wiki  wikipedia  word  words  wow  writing  yak-shaving  youtube 

Copy this bookmark:



description:


tags: