HackerTrans
热门最新趋势评论往期问答秀出招聘

pgtan

no profile record

提交

The Illusion of Moral Superiority

pmc.ncbi.nlm.nih.gov
4 分·作者 pgtan·10个月前·0 评论

评论

pgtan
·27天前·讨论
It is a KornShell feature since ca. 1997

https://github.com/ksh93/ast-open-archive/blame/master/src/c...
pgtan
·3个月前·讨论
Here are two checks using joins, one with sqlite, one with the join builtin of ksh93:

  check_empty_vhosts () {
    # Check which vhost adapter doesn't have any VTD mapped
    start_sqlite
    tosql "SELECT l.vios_name,l.vadapter_name FROM vios_vadapter AS l
        LEFT OUTER JOIN vios_wwn_disk_vadapter_vtd AS r
    USING (vadapter_name,vios_name)
    WHERE r.vadapter_name IS NULL AND
      r.vios_name IS NULL AND
   l.vadapter_name LIKE 'vhost%';"
    endsql
    getsql
    stop_sqlite
  }

  check_empty_vhosts_sh () {
    # same as above, but on the shell
    join  -v 1  -t , -1 1 -2 1 \
   <(while IFS=, read vio host slot; do 
  if [[ $host == vhost* ]]; then
      print ${vio}_$host,$slot 
  fi
     done < $VIO_ADAPTER_SLOT | sort -t , -k 1)\
   <(while IFS=, read vio vhost vtd disk; do
  if [[ $vhost == vhost* ]]; then        
    print ${vio}_$vhost
  fi
     done < $VIO_VHOST_VTD_DISK | sort -t , -k 1)
  }
pgtan
·8个月前·讨论
Someone is reinventing PostScript and Metafont

https://www.moma.org/collection/works/139326

https://www.tug.org/TUGboat/tb09-2/tb21knut.pdf
pgtan
·9个月前·讨论
Actually pdftex or luatex, but you are completely right, it can load a pdf file and do a lot of things with it.
pgtan
·8年前·讨论
> If you do a website and target a different country, ignore emails about legal issues from citizens of that country for months, you should start to think about respecting the laws of that country.

Surprisingly then, why Doitsche Welle still exists without any lawsuit from abroad.