457 Matching Annotations
  1. Mar 2018
    1. Todd Veldhuizen - Techniques for Scientific C++ (RT542.pdf)

    2. Scienti candEngineeringC++

      Barton and Nackman, Scientific and Engineering C++

    1. Todd Veldhuizen, the co-discoverer of expres-sion templates (CIP 10:6, 1996 p. 552; CJP I 1 :3, 1997, p. 263), i now a graduate student at the Univer-sity of Waterloo.

      Todd Veldhuizen 创建Blitz++ 时是滑铁卢大学的一名研究生

    1. While that allows you to use the string class, the relevant operator<< is defined in the <string> header itself, so you must include that manually

      为什么有时候使用visual c++会提示 cout << 不能输出 string 类型: 因为 <iostream> 包含了头文件 <xstring>, 该头文件引入了 string 类型但是未引入 operator<<

  2. Feb 2018
    1. There are several authors of this article, like Stephen A. Flores who graduated from University of Texas medical school with honors

      "like"? Are all of these researchers from UT?

    1. There are, however, certain features of the American penal system that give the topic of disenfranchisement a pressing moral sa
  3. Jan 2018
  4. Nov 2017
    1. What we find is that think of it this way. Let’s say, the reference range of vitamin C in the bloodstream is one milligram per deciliter. After a 15,000, a 15-gram IBC infusion and we typically, do measure people after we give them an infusion, it’s about 100 milligrams per deciliter. It’s 100 times what you would normally have in your blood. Now, you can take as much oral vitamin C as you can and you might get it up from one to maybe three, maybe four, maybe five if you’ve already been taking vitamin C for a long time but to get beyond that is almost impossible.

      How much vitamin C

    2. Now, there are cases where people have taken, they’ve built themselves up to 50, 60,000 milligrams of oral vitamin C a day over months and years and they can achieve a higher blood level in the 20s, maybe the 30s. What we’re shooting for with cancer patients is for 400 milligrams per deciliter.

      How much vitamin C

    3. I think the concept of antioxidants has been misunderstood. What Dr. Tom Levy and I have introduced at our most recent conference is this concept of redox medicine that everything in nature is redox. Dave Asprey:                     Yes. Explain redox for our listeners. This is also in headstrong. Just like define that. It’s so important. You guys will have to hear this. Ron Hunninghake:           Yeah. Well, life is redox. There’s oxidation, there is reduction. Oxidation is when molecules lose electrons and it causes dysfunction of some sort. Reduction is when from some source, such as vitamin C or good quality food, you are able to get electrons back in order to stabilize the molecule and to stabilize the structures that it’s working within.

      Redox

    4. There are some other doctors that have looked at depriving cancer patients of all vitamin C for periods of time and then hitting them really hard with high doses of vitamin C as a possible way of inducing apoptosis in cancer cells. There’s a lot of research in this area and it’s not like it’s all worked out now. It’s more like we are in the early stages of flight and we need research is what we really need and unfortunately, it’s hard to come by at the funding for this particular area.

      Vitamin C Cancer

  5. Sep 2017
    1. Although children may be at the one-word stage in their productive language, research suggests that they are perceiving and processing language in five-to six-word segments.
  6. languagedev.wikispaces.com languagedev.wikispaces.com
    1. Children acquiring two languages prior lo age 3 is termed simultaneous bilin-gualism
    1. Plot a course through the genome Inspired by Google Maps, a suite of tools is allowing researchers to chart the complex conformations of chromosomes.

      mentioned tools are focused on (capture) Hi-C data

  7. Aug 2017
    1. Indy flies to Nepal (followed by a Nazi agent, Toht (Ronald Lacey)) to confront Marion Ravenwood, who runs a restaurant and bar (and who can outdrink anyone) because he needs the headpiece to the Staff of Ra, whose crystals will allow him to determine the exact location of the Ark. Marion, still bitter over their breakup, nonetheless accepts when Indy offers her $3,000 and the promise of more when they return stateside. She is cryptic about the headpiece, and after Indy leaves she ponders it as she wears it around her neck.

      C

    2. Toht and several Sherpa heavies enter the bar and hold Marion hostage, with Toht ready to torture her for the headpiece. Indy returns and a firefight erupts during which the fireplace is dislodged and the building begins burning down. Toht finds the headpiece but when he grabs it he's badly burned -- leaving an image of one side of the headpiece branded on his hand. He escapes while Indy and Marion do likewise and fly to Egypt to see Indy's pal, Sallah (John Rhys-Davies), who is working on the Nazi site and who reveals that the Nazis are aided by a French archaeologist (Belloq).

      C

  8. May 2017
  9. Mar 2017
    1. Good question. For C++ there are quite a number of established frameworks, including (but not limited to), CppUnit, Google Test, Boost.Test, Aeryn, Cute, Fructose and many, many more. Even for Objective-C there are a few, including OCUnit - which now comes bundled with XCode.
  10. Dec 2016
  11. Nov 2016
    1. TR: How do you account for the fact that C++ is both widely criticized and resented by many programmers but at the same time very broadly used? Why is it so successful?BS: The glib answer is, There are just two kinds of languages: the ones everybody complains about and the ones nobody uses.There are more useful systems developed in languages deemed awful than in languages praised for being beautiful–many more. The purpose of a programming language is to help build good systems, where “good” can be defined in many ways. My brief definition is, correct, maintainable, and adequately fast. Aesthetics matter, but first and foremost a language must be useful; it must allow real-world programmers to express real-world ideas succinctly and affordably.

      La idea, de Stroupstrup en C++, de un lenguaje para escribir sistemas (¿de computo?) constrasta con la de uno que sirva a la expresión creativa del espíritu humano, de Ingalls en Smalltalk. El programador profesional como destinatario del lenguaje en C++ también contrasta con los niños en Smalltalk.

    Tags

    Annotators

  12. Oct 2016
    1. Online

      data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAACrCAYAAACJ19eTAAAAAXNSR0IArs4c6QAABW5JREFUaAXtm21sFEUYx5+7awtn6/WktNfCUcuLtBdotQYBX4JYaUJFVBRjjCYStPLN8AGNiZ/9RoL6EaPxmzHB9w/6QRMNbwVN0GItFa30TUFavZaaQt/OefYyu3O7z8zutrupC/skd/PM7DO//c/M7c3s3lxk78GTbdFY5DBAJA3zttzg7EzuxSLvgKgoko7G4HDUG4ViExlYzHrlBwdapGpyXaoUXnkyA8VFRoNmZnPw5sc90D0wJq1KQjMrEtC4Msle5QVApMSiEXiudSWc+e0f6OobhZ8ujFrghgTh0N7tq6D1zmqoviUulBpuRWIRbGuuhva21Uah4JFKk6Ulesj0zCy882UvnL2Qhca6JDzPTlgUy2uJl8T0ONEhlYoBHd0j8P35v+Ha1KyWYt7ObKF2AOq4LXRzpgI23LYEFhVHtRTzdkb2qVgJ+2/fjjVike7ndK/QIZWe+Hm4MEqS6+im4yIvHDolO6EEZV9MKrWvpo4IFDQ3qG6M26O5wSjOKQBegfNzlFsZYbx9D0TCxYR9J7mMWNhr/+39Gx3rXVil7W+cdqxUOUe9vqcJqpKLLbC/slfhtfc6LeW8QNl8CogVZeWOoDzIbUo2X9ZsEY6fBlk3kM23ax6Hy+JIKK8019QXKNmnbj6TVGt8URooqFdzPu/dcDHBe+J/n4aLCe+HyJdrn/zq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FjMsVI+KGIf1rM/vVBGDhQVqBo4c7xjpeaKqnxwoGSfnmXP9fgyUdVMjKOMhL716S9UrOOy4PQpUxqQxcR/Q2wNro2/7wcAAAAASUVORK5CYII=

  13. Sep 2016
  14. Jul 2016
    1. ...one of the most highly regarded and expertly designed C++ library projects in the world.

      code lại C++ cho hệ nhúng, OpenCV

  15. Jun 2016
    1. This basic process has implications for rhetorical heuristics: (1) students need to develop their own schemata to fit their particular topics/situations, and (2) if we give them schemata first, their goal should be to revise those schemata as a part of the invention process rather than follow them prescriptively

      Repurposing Taylor's Complexity Theory to Comp.

  16. Apr 2016
    1. JAMES AND FUNCTIONALISM

      Covered in C&W

    2. covered in C&W

    3. HUMANISM

      C&W uses Humanistic Perspective after Psychodynamic and Behavioral

    4. BIOPSYCHOLOGY AND EVOLUTIONARY PSYCHOLOGY

      covered in C&W after sociocultural

    5. MULTICULTURAL PSYCHOLOGY

      !! is this the same as Sociocultural Perspective - the term used in C&W?

    6. WUNDT AND STRUCTURALISM

      covered in C&W text

    1. Remember that the auto keyword does not automatically specify a pointer/reference for you, you need to add that yourself.
  17. Feb 2016
    1. son locos de quienes se fían aquellos sométicos (sodomitas) mujeriles, que no son más que mujeres bardajas de sus hombres barbudos, que se han rendido a ellos de miedo

      ¿Qué quiere decir esta frase?

  18. Jan 2016
    1. A thorough primer on C programming, specifically for the Texas Instruments TM4C123 or TM4C1294 microcontrollers. By Jonathan Valvano and Ramesh Yerraballi of UT Austin.

  19. Sep 2015
    1. information we give off about our selves, in photos and e-mails and MySpace pages and all the rest of it, has dramatically in­creased our social visibility

      No one really realizes how big their digital footprint is and what people are capable of finding through the digital footprint

  20. Jul 2015
  21. Jan 2014
    1. There are three kinds of storage locations: stack locations, heap locations, and registers.
    2. There are three kinds of values: (1) instances of value types, (2) instances of reference types, and (3) references. (Code in C# cannot manipulate instances of reference types directly; it always does so via a reference. In unsafe code, pointer types are treated like value types for the purposes of determining the storage requirements of their values.)
    3. Having made these points many times in the last few years, I've realized that the fundamental problem is in the mistaken belief that the type system has anything whatsoever to do with the storage allocation strategy. It is simply false that the choice of whether to use the stack or the heap has anything fundamentally to do with the type of the thing being stored. The truth is: the choice of allocation mechanism has to do only with the known required lifetime of the storage.

      The type system has nothing to do with the storage allocation strategy; the choice of allocation mechanism has to do only with the known required lifetime of the storage.

    1. A lot of people seem to think that heap allocation is expensive and stack allocation is cheap. They are actually about the same, typically. It’s the deallocation costs – the marking and sweeping and compacting and moving memory from generation to generation – that are massive for heap memory compared to stack memory.
    2. Now compare this to the stack. The stack is like the heap in that it is a big block of memory with a “high water mark”. But what makes it a “stack” is that the memory on the bottom of the stack always lives longer than the memory on the top of the stack; the stack is strictly ordered. The objects that are going to die first are on the top, the objects that are going to die last are on the bottom. And with that guarantee, we know that the stack will never have holes, and therefore will not need compacting. We know that the stack memory will always be “freed” from the top, and therefore do not need a free list. We know that anything low-down on the stack is guaranteed alive, and so we do not need to mark or sweep.
    3. This sketch is complicated by the fact that there are actually three such arenas; the CLR collector is generational. Objects start off in the “short lived” heap. If they survive they eventually move to the “medium lived” heap, and if they survive there long enough, they move to the “long lived” heap. The GC runs very often on the short lived heap and very seldom on the long lived heap; the idea is that we do not want to have the expense of constantly re-checking a long-lived object to see if it is still alive. But we also want short-lived objects to be reclaimed swiftly.
    4. When a garbage collection is performed there are three phases: mark, sweep and compact. In the “mark” phase, we assume that everything in the heap is “dead”. The CLR knows what objects were “guaranteed alive” when the collection started, so those guys are marked as alive. Everything they refer to is marked as alive, and so on, until the transitive closure of live objects are all marked. In the “sweep” phase, all the dead objects are turned into holes. In the “compact” phase, the block is reorganized so that it is one contiguous block of live memory, free of holes.
    5. If we’re in that situation when new memory is allocated then the “high water mark” is bumped up, eating up some of the previously “free” portion of the block. The newly-reserved memory is then usable for the reference type instance that has just been allocated. That is extremely cheap; just a single pointer move, plus zeroing out the newly reserved memory if necessary.
    6. The idea is that there is a large block of memory reserved for instances of reference types. This block of memory can have “holes” – some of the memory is associated with “live” objects, and some of the memory is free for use by newly created objects. Ideally though we want to have all the allocated memory bunched together and a large section of “free” memory at the top.
    1. I regret that the documentation does not focus on what is most relevant; by focusing on a largely irrelevant implementation detail, we enlarge the importance of that implementation detail and obscure the importance of what makes a value type semantically useful. I dearly wish that all those articles explaining what “the stack” is would instead spend time explaining what exactly “copied by value” means and how misunderstanding or misusing “copy by value” can cause bugs.

      Documentation should focus on semantically useful descriptions; another accompanying document (or annotation) can provide relevant implementation details upon request, but that deeper level of detail should be left out by default to avoid enlarging the importance of less relevant things.

    2. I find this characterization of a value type based on its implementation details rather than its observable characteristics to be both confusing and unfortunate
    3. Surely the most relevant fact about value types is not the implementation detail of how they are allocated, but rather the by-design semantic meaning of “value type”, namely that they are always copied “by value”.
    4. I blogged a while back about how “references” are often described as “addresses” when describing the semantics of the C# memory model. Though that’s arguably correct, it’s also arguably an implementation detail rather than an important eternal truth. Another memory-model implementation detail I often see presented as a fact is “value types are allocated on the stack”. I often see it because of course, that’s what our documentation says.