35 Matching Annotations
  1. Jun 2019
  2. Apr 2019
    1. Mahatma Gandhi, the father of our nation was a very benevolent and expert political master and observer that he had a great vision for the country. He was a man who fought for the upliftment of the poorer classes of society and thought of reforms in their favour.

      True, but still we are not in right track since 1947 !

  3. Feb 2019
    1. Is the freedom of the individual served by neoliberalism? Centrality of the state for this freedom, which NL denies. “neoliberal thinkers deliberately sustain the fiction that ‘the market economy’ is a natural and spontaneous order that must be placed beyond politics … The question of how authority can be something other than domination and private power shaped the ideas and action of those who built the tradition of constitutional democracy in western societies from the 16th to the 20th centuries … basic needs were those that had to be met before the individual could practically enact the status of a free subject or person. It was such needs provision that made it possible for individuals to be both personally secure and to enjoy an equality of opportunity to develop as individuals free to discover their talents and gifts … the representation of market society as a spontaneous order is pitched to the punters while, within the tent of the doctrine’s initiates, it is fully understood that the state has to be both a strong state, and to be re-engineered in order to impose neoliberal institutional design.” YeatmanFreedom.pdf
  4. Oct 2018
    1. 可以使用内建函数 make 也可以使用 map 关键字来定义 Map:
      // 声明变量,默认 map 是 nil
      var map_variable map[key_data_type]value_data_type
      
      // 使用make 函数
      map_variable := make(map[key_data_type]value_data_type)
      
    1. /* 打印子切片从索引 0(包含) 到索引 2(不包含) */ number2 := numbers[:2] printSlice(number2) /* 打印子切片从索引 2(包含) 到索引 5(不包含) */ number3 := numbers[2:5] printSlice(number3)
      numbers := []int{0,1,2,3,4,5,6,7,8}
      

      len=2 cap=9 slice=[0 1]

      len=3 cap=7 slice=[2 3 4]

    2. 通过内置函数make()初始化切片s,[]int 标识为其元素类型为int的切片
      s := make([]int, len, cap)
      
    3. 初始化切片s,是数组arr的引用
      s := arr[:]
      
    1. /* 未定义长度的数组只能传给不限制数组长度的函数 */ setArray(array) /* 定义了长度的数组只能传给限制了相同数组长度的函数 */ var array2 = [5]int{1, 2, 3, 4, 5}
      func setArray(params []int) {
          fmt.Println("params array length of setArray is : ", len(params))
      }
      
      func setArray2(params [5]int) {
          fmt.Println("params array length of setArray2 is : ", len(params))
      }
      
    1. 注意:以上代码中倒数第二行的 } 必须要有逗号,因为最后一行的 } 不能单独一行,也可以写成这样:
      a = [3][4]int {
          {0, 1, 2, 3} ,
          {4, 5, 6, 7} ,
          {8, 9, 10, 11} ,    // 此处的逗号是必须要有的
      }
      

      上面代码也可以等价于

      a = [3][4]int {
          {0, 1, 2, 3} ,
          {4, 5, 6, 7} ,
          {8, 9, 10, 11}}
      
    1. func getSequence() func() int { i:=0 return func() int { i+=1 return i } }

      闭包,A函数 返回一个函数,假设返回的函数为B,那么函数B,可以使用A函数中的变量

      nextNumber := getSequence()

      nextNumber 是 返回函数B类型,func() int,i是函数A中的变量,初始值 i=0

      执行nextNumber(),i+=1, reuturn i ==> 1

      再执行nextNumber(),i+=1,return i ==> 2

      再执行nextNumber(),i+=1,return i ==> 3

    1. for 循环的 range 格式可以对 slice、map、数组、字符串等进行迭代循环。
      for key, value := range oldMap {
           newMap[key] = value
      }
      
    1. 以下描述了 select 语句的语法
      • 每个case都必须是一个通信
      • 所有channel表达式都会被求值
      • 所有被发送的表达式都会被求值
      • 如果任意某个通信可以进行,它就执行;其他被忽略。
      • 如果有多个case都可以运行,Select会随机公平地选出一个执行。其他不会执行。

      否则:

      1. 如果有default子句,则执行该语句。
      2. 如果没有default字句,**select将阻塞,直到某个通信可以运行**;Go不会重新对channel或值进行求值。
      
    1. iota 表示从 0 开始自动加 1,所以 i=1<<0, j=3<<1(<< 表示左移的意思),即:i=1, j=6,这没问题,关键在 k 和 l,从输出结果看 k=3<<2,l=3<<3。
      package main
      import "fmt"
      const (
          i=1<<iota
          j=3<<iota
          k
          l
      )
      func main() {
          fmt.Println("i=", i)
          fmt.Println("j=", j)
          fmt.Println("k=", k)
          fmt.Println("l=", l)
      }
      

      以上实例运行结果为:

      i=1
      j=6
      k=12
      l=24
      
    1. 这种因式分解关键字的写法一般用于声明全局变量
      var (
          vname1 v_type1
          vname2 v_type2
      )
      
    1. 以一个大写字母开头,如:Group1,那么使用这种形式的标识符的对象就可以被外部包的代码所使用(客户端程序需要先导入这个包),这被称为导出(像面向对象语言中的 public)
    2. main 函数是每一个可执行程序所必须包含的,一般来说都是在启动后第一个执行的函数(如果有 init() 函数则会先执行该函数)
  5. Sep 2018
    1. In deciding when to eat, to work, to sleep, to rise, we stopped listening to our senses and started obeying the clock.

      This statement suggests that our society has taken away personal individuality and now expects a certain regimen and pattern in everyones lives.

  6. Jul 2018
    1. Therefore, well controlled basic science studies are important in resolving outstanding fundamental questions regarding means of treatment in a consistent and well established model

      Yes, but on the other hand, basic science is expensive and does not provide return on investment. That is not good for the economy and businesspeople.

  7. Sep 2017
    1. “We know that poverty is a major driver of ill-health. We also know that poor people trust doctors. It’s a free service. Many other services they won’t access because they worry about the cost,” said Prosper Canada CEO Liz Mulholland.

      If only this was an issue in the USA, where going to a doctor is not a free service for the patient, in most cases. The same level of trust is not there; this is unacceptable/

  8. Aug 2017
    1. However, we are willing to work with you on what's really bothering you if you stop behaving like Subhuman sacks of dog shit. Let's fight the influence of big business and Electoral Corruption together. Let's get Universal Basic Income done so not just you, but every American is always secure. Let's end the pointless wars. Let's revitalize and stimulate our inner cities

      Voters have been known throughout history, most recently in 2016, to vote against their own interests for reasons that are, frankly, stupid.

    1. At the core of human rights are the ideals and goals of the “four freedoms” articulated by US President Franklin Delano Roosevelt—freedom of speech, freedom of worship, freedom from fear, and freedom from want—and also the primary goal of self-determination. To achieve these conditions, it is also understood that while all rights are “interrelated, interdependent and indivisible,” the absolute basics of life (e.g., water, food, clothing, and shelter) must first be met.

      Canada gets it. The US does not. This must change and quickly.

  9. Jun 2017
    1. Characteristics of a full basic income9.In its comprehensive and ideal form, a basic income is explicitly designed to challenge most of the key assumptions underpinning existing social security systems. Rather than a system where there are partial payments, basic income guarantees a floor; instead of being episodic, payments are regular; rather than being needs-based, they arepaid as a flat rate to all; they come in cash, rather than as messy in-kind support; they accrue to every individual, rather than only to needy households; rather than requiring that various conditions be met, they are unconditional; rather than excludingthe well off, they are universal; and instead of being based on lifetime contributions, they are funded primarily from taxation. And simplicity of design promises minimal bureaucracy and low administrative costs.

      This is from a group that has thought this concept through, something US politicians do not seem to be capable of.

  10. May 2017
    1. Today, it would be hard to imagine the world without Wikipedia or Linux, and, yet, society has not recognized those as economic contributions.

      As a person who loves Microsoft, but uses open-source software including the ones mentioned, the ability to be rewarded for doing the right thing is an universal appeal.

  11. Mar 2017
    1. inventing the narratives that are our lives.

      Whole intro seems very poetic to me since he is stating that life itself is merely a narrative being told throughout our lives. Kind of feels like the base of every basic tattoo I've seen that say, "I'm the author of my own story" and I've seen about four of those.

    1. Acknowledging prior learning

      "Students come to the classroom with preconceptions about how the world works. If their initial understanding is not engaged, they may fail to grasp the new concepts and information that are taught, or they may learn them for purposes of a test but revert to their preconceptions outside the classroom". How People Learn

      Examples: Harvard graduates talk about: seasons electricity mass of trees 3:50

      "A critical feature of effective teaching is that it elicits from students their preexisting understanding of the subject matter to be taught and provides opportunities to build on—or challenge—the initial understanding."

    2. Metacognition activities in support of metacognitive practices

      This is a basic principle from the researh presented in How People Learn

    3. Formative Assessment

      Another Basic Principle from learning research.

    4. Community Centered
  12. Feb 2017
  13. Jan 2017
    1. He explained millennials grew up in an environment where 'every child wins a prize' only to find the 'real world' after school is much different.

      Do the first several sentences cover all the basic facts of the story: Who, what, when, where, why, how. How are the first several sentences attempting to manipulate the reader?

  14. Nov 2016
    1. The language of the article is OK, but I'm afraid it needs some work several places to improve clarity, e.g. by rephrasing or simplification.

      Some of the data (the CSV files) has been shared on Figshare and cited as such, but I am missing the raw data of the extracted RDF annotations as well as the scripts used for extraction.

      The HTML file of the article in RASH format has for some reason not been submitted as an additional file (only cited by URL) -- perhaps this was not supported by PeerJ's submission system?

      The RASH framework and associated software is referenced by GitHub URLs, but without using versioning. For archival purposes and future availability I would appreciate a Zenodo or Figshare archive of a tagged/version of the software, cited using DOI.

    1. Finding tutors can be a really tiring job if not taken in a proper direction. Also, it is equally important to find a competent and knowledgeable tutor, who can provide a proper direction and guidance in your studies rather than just basic teaching. As a student, you should always keep in mind that before hiring a tutor you should have a complete idea of his knowledge about that particular subject.

  15. Jun 2016
    1. Nowhere are there as many bullshit jobs, however, as in Silicon Valley. A survey of 5,000 software developers and engineers last year found that, in the words of The Economist, “many of them feel alienated, trapped, underappreciated and otherwise discombobulated.” Only 19% of tech employees say they are satisfied with their jobs. A mere 17% feel valued. Or, as a former math whiz working at Facebook lamented a few years ago: “The best minds of my generation are thinking about how to make people click ads.”
  16. Apr 2016
    1. The Finnish government is currently drawing up plans to introduce a national basic income. A final proposal won’t be presented until November 2016, but if all goes to schedule, Finland will scrap all existing benefits and instead hand out €800 ($870) per month—to everyone.
  17. Nov 2014
    1. There’s a certain amount of snobbery about PHP, but I’ve no truck for such snark. PHP is the Web’s BASIC. It’s everywhere, beginner-friendly, and I like it.