text:
# GitHub热榜

`最后更新时间：2021-05-08 23:08:30 +0800`

## 今日热门仓库

1. [abuanwar072 / Flutter-Responsive-Admin-Panel-or-Dashboard](https://github.com/abuanwar072/Flutter-Responsive-Admin-Panel-or-Dashboard)
    - Responsive Admin Panel or Dashboard using Flutter
    - language: **Dart**    stars: **1,103**    folks: **193**     `395 stars today`

1. [pyston / pyston](https://github.com/pyston/pyston)
    - A faster and highly-compatible implementation of the Python programming language.
    - language: **Python**    stars: **587**    folks: **15**     `162 stars today`

1. [slidevjs / slidev](https://github.com/slidevjs/slidev)
    - Presentation Slides for Developers (Public Beta 🎉)
    - language: **TypeScript**    stars: **3,423**    folks: **85**     `959 stars today`

1. [pallupz / covid-vaccine-booking](https://github.com/pallupz/covid-vaccine-booking)
    - This very basic script can be used to automate some steps on Co-WIN Platform.
    - language: **Python**    stars: **332**    folks: **137**     `88 stars today`

1. [youngyangyang04 / leetcode-master](https://github.com/youngyangyang04/leetcode-master)
    - LeetCode 刷题攻略：200道题目详细刷题顺序，共60w字的详细图解，视频难点剖析，50余张思维导图，从此算法学习不再迷茫！🔥🔥 来看看，你会发现相见恨晚！🚀
    - language: **无**    stars: **7,309**    folks: **1,758**     `104 stars today`

1. [milvus-io / milvus](https://github.com/milvus-io/milvus)
    - An open source embedding vector similarity search engine powered by Faiss, NMSLIB and Annoy
    - language: **Go**    stars: **5,687**    folks: **875**     `13 stars today`

1. [Haixiang6123 / one-day-one-npm-lib](https://github.com/Haixiang6123/one-day-one-npm-lib)
    - 这本小书会带你造 10 个非常实用的 npm 库 📦
    - language: **无**    stars: **606**    folks: **39**     `336 stars today`

1. [aurasphere / gomorra-sql](https://github.com/aurasphere/gomorra-sql)
    - SQL made uagliò.
    - language: **Java**    stars: **533**    folks: **14**     `287 stars today`

1. [audacity / audacity](https://github.com/audacity/audacity)
    - Audio Editor
    - language: **C**    stars: **4,813**    folks: **1,046**     `197 stars today`

1. [trimstray / the-book-of-secret-knowledge](https://github.com/trimstray/the-book-of-secret-knowledge)
    - A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
    - language: **无**    stars: **38,507**    folks: **4,173**     `268 stars today`

1. [pbatard / rufus](https://github.com/pbatard/rufus)
    - The Reliable USB Formatting Utility
    - language: **C**    stars: **14,375**    folks: **1,528**     `562 stars today`

1. [streamich / react-use](https://github.com/streamich/react-use)
    - React Hooks — 👍
    - language: **TypeScript**    stars: **22,119**    folks: **1,575**     `82 stars today`

1. [PharkMillups / beautiful-docs](https://github.com/PharkMillups/beautiful-docs)
    - Pointers to useful, well-written, and otherwise beautiful documentation.
    - language: **无**    stars: **5,254**    folks: **365**     `171 stars today`

1. [LeCoupa / awesome-cheatsheets](https://github.com/LeCoupa/awesome-cheatsheets)
    - 👩💻👨💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
    - language: **JavaScript**    stars: **19,125**    folks: **3,179**     `265 stars today`

1. [alacritty / alacritty](https://github.com/alacritty/alacritty)
    - A cross-platform, OpenGL terminal emulator.
    - language: **Rust**    stars: **31,431**    folks: **1,660**     `162 stars today`

1. [sdmg15 / Best-websites-a-programmer-should-visit](https://github.com/sdmg15/Best-websites-a-programmer-should-visit)
    - 🔗 Some useful websites for programmers.
    - language: **无**    stars: **35,797**    folks: **4,636**     `150 stars today`

1. [alibaba / Sentinel](https://github.com/alibaba/Sentinel)
    - A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
    - language: **Java**    stars: **16,048**    folks: **5,515**     `22 stars today`

1. [jlevy / the-art-of-command-line](https://github.com/jlevy/the-art-of-command-line)
    - Master the command line, in one page
    - language: **无**    stars: **88,111**    folks: **9,818**     `509 stars today`

1. [dromara / shenyu](https://github.com/dromara/shenyu)
    - High-Performance Java API Gateway
    - language: **Java**    stars: **4,103**    folks: **1,459**     `63 stars today`

1. [ruanyf / weekly](https://github.com/ruanyf/weekly)
    - 科技爱好者周刊，每周五发布
    - language: **无**    stars: **15,934**    folks: **1,253**     `48 stars today`

1. [alibaba / canal](https://github.com/alibaba/canal)
    - 阿里巴巴 MySQL binlog 增量订阅&消费组件
    - language: **Java**    stars: **18,817**    folks: **5,747**     `32 stars today`

1. [nextapps-de / winbox](https://github.com/nextapps-de/winbox)
    - WinBox is a professional HTML5 window manager for the web: lightweight, outstanding performance, no dependencies, fully customizable, open source!
    - language: **JavaScript**    stars: **3,376**    folks: **50**     `679 stars today`

1. [kelseyhightower / nocode](https://github.com/kelseyhightower/nocode)
    - The best way to write secure and reliable applications. Write nothing; deploy nowhere.
    - language: **Dockerfile**    stars: **46,888**    folks: **4,174**     `130 stars today`

1. [kcp-dev / kcp](https://github.com/kcp-dev/kcp)
    - kcp is a prototype of a Kubernetes API server that is not a Kubernetes cluster - a place to create, update, and maintain Kube-like APis with controllers above or without clusters.
    - language: **Go**    stars: **517**    folks: **32**     `113 stars today`

1. [apache / iceberg](https://github.com/apache/iceberg)
    - Apache Iceberg
    - language: **Java**    stars: **1,478**    folks: **541**     `10 stars today`

## 近一周热门仓库

1. [DIGITALCRIMINAL / OnlyFans](https://github.com/DIGITALCRIMINAL/OnlyFans)
    - Scrape all the media from an OnlyFans account - Updated regularly
    - language: **Python**    stars: **1,537**    folks: **227**     `718 stars this week`

1. [audacity / audacity](https://github.com/audacity/audacity)
    - Audio Editor
    - language: **C**    stars: **4,813**    folks: **1,046**     `713 stars this week`

1. [kelseyhightower / kubernetes-the-hard-way](https://github.com/kelseyhightower/kubernetes-the-hard-way)
    - Bootstrap Kubernetes the hard way on Google Cloud Platform. No scripts.
    - language: **无**    stars: **26,480**    folks: **7,998**     `637 stars this week`

1. [Uniswap / uniswap-v3-periphery](https://github.com/Uniswap/uniswap-v3-periphery)
    - 🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3
    - language: **TypeScript**    stars: **271**    folks: **75**     `136 stars this week`

1. [supabase / realtime](https://github.com/supabase/realtime)
    - Listen to your to PostgreSQL database in realtime via websockets. Built with Elixir.
    - language: **Elixir**    stars: **3,415**    folks: **123**     `526 stars this week`

1. [chrisleekr / binance-trading-bot](https://github.com/chrisleekr/binance-trading-bot)
    - Automated Binance trading bot - Buy low/Sell high with stop loss limit/Trade multiple cryptocurrencies
    - language: **JavaScript**    stars: **2,083**    folks: **260**     `552 stars this week`

1. [Uniswap / uniswap-v3-core](https://github.com/Uniswap/uniswap-v3-core)
    - 🦄 🦄 🦄 Core smart contracts of Uniswap v3
    - language: **TypeScript**    stars: **821**    folks: **152**     `174 stars this week`

1. [Uniswap / uniswap-interface](https://github.com/Uniswap/uniswap-interface)
    - 🦄 An open source interface for the Uniswap protocol
    - language: **TypeScript**    stars: **1,689**    folks: **1,616**     `147 stars this week`

1. [public-apis / public-apis](https://github.com/public-apis/public-apis)
    - A collective list of free APIs
    - language: **Python**    stars: **123,157**    folks: **14,991**     `3,016 stars this week`

1. [TheAlgorithms / Javascript](https://github.com/TheAlgorithms/Javascript)
    - A repository for All algorithms implemented in Javascript (for educational purposes only)
    - language: **JavaScript**    stars: **10,753**    folks: **1,921**     `860 stars this week`

1. [katherinepeterson / readme.so](https://github.com/katherinepeterson/readme.so)
    - 无
    - language: **JavaScript**    stars: **1,167**    folks: **85**     `628 stars this week`

1. [thedevdojo / wave](https://github.com/thedevdojo/wave)
    - Wave - The Software as a Service Starter Kit, designed to help you build the SAAS of your dreams 🚀 💰
    - language: **PHP**    stars: **2,533**    folks: **143**     `1,630 stars this week`

1. [pbatard / rufus](https://github.com/pbatard/rufus)
    - The Reliable USB Formatting Utility
    - language: **C**    stars: **14,375**    folks: **1,528**     `703 stars this week`

1. [dogecoin / dogecoin](https://github.com/dogecoin/dogecoin)
    - very currency
    - language: **C++**    stars: **8,438**    folks: **1,569**     `1,340 stars this week`

1. [supabase / supabase](https://github.com/supabase/supabase)
    - The open source Firebase alternative. Follow to stay updated about our public Beta.
    - language: **TypeScript**    stars: **12,166**    folks: **484**     `1,863 stars this week`

1. [commaai / openpilot](https://github.com/commaai/openpilot)
    - openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 100 supported car makes and models.
    - language: **C++**    stars: **24,987**    folks: **4,989**     `1,495 stars this week`

1. [huggingface / datasets](https://github.com/huggingface/datasets)
    - 🤗 The largest hub of ready-to-use NLP datasets for ML models with fast, easy-to-use and efficient data manipulation tools
    - language: **Python**    stars: **8,118**    folks: **898**     `524 stars this week`

1. [alacritty / alacritty](https://github.com/alacritty/alacritty)
    - A cross-platform, OpenGL terminal emulator.
    - language: **Rust**    stars: **31,431**    folks: **1,660**     `356 stars this week`

1. [tldr-pages / tldr](https://github.com/tldr-pages/tldr)
    - 📚 Collaborative cheatsheets for console commands
    - language: **Markdown**    stars: **32,504**    folks: **2,576**     `984 stars this week`

1. [terraform-aws-modules / terraform-aws-eks](https://github.com/terraform-aws-modules/terraform-aws-eks)
    - Terraform module to create an Elastic Kubernetes (EKS) cluster and associated worker instances on AWS
    - language: **HCL**    stars: **1,938**    folks: **1,555**     `64 stars this week`

1. [chinese-poetry / chinese-poetry](https://github.com/chinese-poetry/chinese-poetry)
    - The most comprehensive database of Chinese poetry 🧶最全中华古诗词数据库, 唐宋两朝近一万四千古诗人, 接近5.5万首唐诗加26万宋诗. 两宋时期1564位词人，21050首词。 🤪 😜 阿里招p6/p7 Python Golang |<EMAIL_ADDRESS>| 上海张江
    - language: **JavaScript**    stars: **31,835**    folks: **6,604**     `269 stars this week`

1. [Kotlin / kmm-production-sample](https://github.com/Kotlin/kmm-production-sample)
    - 无
    - language: **Kotlin**    stars: **560**    folks: **27**     `208 stars this week`

1. [laravel / framework](https://github.com/laravel/framework)
    - The Laravel Framework.
    - language: **PHP**    stars: **23,960**    folks: **8,152**     `68 stars this week`

1. [academind / react-complete-guide-code](https://github.com/academind/react-complete-guide-code)
    - Code snapshots and materials for our "React - The Complete Guide" course (https://acad.link/reactjs)
    - language: **无**    stars: **303**    folks: **524**     `68 stars this week`

1. [microsoft / PowerToys](https://github.com/microsoft/PowerToys)
    - Windows system utilities to maximize productivity
    - language: **C#**    stars: **54,388**    folks: **2,952**     `762 stars this week`

## 近一月热门仓库

1. [Chia-Network / chia-blockchain](https://github.com/Chia-Network/chia-blockchain)
    - Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
    - language: **Python**    stars: **6,200**    folks: **727**     `5,102 stars this month`

1. [chrisleekr / binance-trading-bot](https://github.com/chrisleekr/binance-trading-bot)
    - Automated Binance trading bot - Buy low/Sell high with stop loss limit/Trade multiple cryptocurrencies
    - language: **JavaScript**    stars: **2,083**    folks: **260**     `1,981 stars this month`

1. [dogecoin / dogecoin](https://github.com/dogecoin/dogecoin)
    - very currency
    - language: **C++**    stars: **8,438**    folks: **1,569**     `3,679 stars this month`

1. [DualCoder / vgpu_unlock](https://github.com/DualCoder/vgpu_unlock)
    - Unlock vGPU functionality for consumer grade GPUs.
    - language: **C**    stars: **2,136**    folks: **194**     `2,062 stars this month`

1. [taichi-dev / taichi](https://github.com/taichi-dev/taichi)
    - Productive & portable programming language for high-performance, sparse & differentiable computing on CPUs & GPUs
    - language: **C++**    stars: **14,505**    folks: **1,507**     `1,509 stars this month`

1. [bradtraversy / vanillawebprojects](https://github.com/bradtraversy/vanillawebprojects)
    - Mini projects built with HTML5, CSS & JavaScript. No frameworks or libraries
    - language: **JavaScript**    stars: **10,143**    folks: **2,447**     `1,336 stars this month`

1. [photoprism / photoprism](https://github.com/photoprism/photoprism)
    - Personal Photo Management powered by Go and Google TensorFlow
    - language: **Go**    stars: **13,606**    folks: **706**     `2,245 stars this month`

1. [public-apis / public-apis](https://github.com/public-apis/public-apis)
    - A collective list of free APIs
    - language: **Python**    stars: **123,157**    folks: **14,991**     `7,042 stars this month`

1. [DIGITALCRIMINAL / OnlyFans](https://github.com/DIGITALCRIMINAL/OnlyFans)
    - Scrape all the media from an OnlyFans account - Updated regularly
    - language: **Python**    stars: **1,537**    folks: **227**     `783 stars this month`

1. [openethereum / openethereum](https://github.com/openethereum/openethereum)
    - The fast, light, and robust client for the Ethereum mainnet.
    - language: **Rust**    stars: **794**    folks: **140**     `448 stars this month`

1. [tailwindlabs / headlessui](https://github.com/tailwindlabs/headlessui)
    - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
    - language: **TypeScript**    stars: **8,922**    folks: **259**     `3,290 stars this month`

1. [jwasham / coding-interview-university](https://github.com/jwasham/coding-interview-university)
    - A complete computer science study plan to become a software engineer.
    - language: **无**    stars: **168,351**    folks: **46,285**     `6,980 stars this month`

1. [wbkd / react-flow](https://github.com/wbkd/react-flow)
    - Highly customizable library for building interactive node-based UIs, editors, flow charts and diagrams
    - language: **TypeScript**    stars: **5,909**    folks: **273**     `2,898 stars this month`

1. [google / leveldb](https://github.com/google/leveldb)
    - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
    - language: **C++**    stars: **24,635**    folks: **5,539**     `1,292 stars this month`

1. [covid19india / covid19india-react](https://github.com/covid19india/covid19india-react)
    - Tracking the impact of COVID-19 in India
    - language: **JavaScript**    stars: **5,577**    folks: **3,190**     `364 stars this month`

1. [solana-labs / solana](https://github.com/solana-labs/solana)
    - Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.
    - language: **Rust**    stars: **1,851**    folks: **403**     `371 stars this month`

1. [ChristianChiarulli / LunarVim](https://github.com/ChristianChiarulli/LunarVim)
    - A Neovim config made with sane defaults
    - language: **Lua**    stars: **2,781**    folks: **637**     `691 stars this month`

1. [30-seconds / 30-seconds-of-code](https://github.com/30-seconds/30-seconds-of-code)
    - Short JavaScript code snippets for all your development needs
    - language: **JavaScript**    stars: **74,120**    folks: **8,113**     `3,794 stars this month`

1. [trustwallet / assets](https://github.com/trustwallet/assets)
    - A comprehensive, up-to-date collection of information about several thousands (!) of crypto tokens.
    - language: **TypeScript**    stars: **647**    folks: **4,509**     `254 stars this month`

1. [supabase / supabase](https://github.com/supabase/supabase)
    - The open source Firebase alternative. Follow to stay updated about our public Beta.
    - language: **TypeScript**    stars: **12,166**    folks: **484**     `4,784 stars this month`

1. [getify / You-Dont-Know-JS](https://github.com/getify/You-Dont-Know-JS)
    - A book series on JavaScript. @YDKJS on twitter.
    - language: **无**    stars: **138,013**    folks: **27,403**     `2,424 stars this month`

1. [jklepatch / eattheblocks](https://github.com/jklepatch/eattheblocks)
    - Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers
    - language: **JavaScript**    stars: **761**    folks: **743**     `203 stars this month`

1. [netdata / netdata](https://github.com/netdata/netdata)
    - Real-time performance monitoring, done right! https://www.netdata.cloud
    - language: **C**    stars: **53,831**    folks: **4,855**     `1,844 stars this month`

1. [CSSEGISandData / COVID-19](https://github.com/CSSEGISandData/COVID-19)
    - Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE
    - language: **无**    stars: **26,530**    folks: **16,944**     `572 stars this month`

1. [FirebaseExtended / flutterfire](https://github.com/FirebaseExtended/flutterfire)
    - 🔥 A collection of Firebase plugins for Flutter apps.
    - language: **Dart**    stars: **5,120**    folks: **2,158**     `814 stars this month`

repository: longshilin/github-hot-hub

repo_name: longshilin/github-hot-hub


text:
---
layout: post
disqus_identifier: #11
comments: true
categories: [.NET, c#]
title: "ILRepack – E Pluribus Unum: One assembly from many"
---

Sometimes it is just much easier to deploy a single assembly that includes all dependencies.  [ILRepack](https://github.com/gluck/il-repack) and [ILRepack.MSBuild.Task](https://github.com/peters/ILRepack.MSBuild.Task) will do just that for you.  Since I like to have Visual Studio and my build environment do this for me, I went with ILRepack.MSBuild.Task.

## The Sample

In order to showcase packing an assembly into my program, first I need a program that has a dependency.  I decided to go with a simple console app that has a dependency on the [Humanizer](https://www.nuget.org/packages/Humanizer) NuGet package to tell you how long you have to wait until your birthday.

```powershell
>Repack.exe
Usage:   repack [date]
  Prints how long it is until your birthday.
  If you don't supply your birthday, it uses mine.

23 weeks until your birthday
```

I created a new console project in Visual Studio and named it Repack.  I then included the Humanizer DLL using the NuGet package manager.

You can find the source code on [github](https://github.com/jquintus/spikes/tree/master/ConsoleApps/Repack).

## Using ILRepack

All you need to do is add the following snippet at the end of your .csproj file.  To do this, you can open up the .csproj file in notepad or your favorite text [editor])(http://www.vim.org).

```xml
<Target Name="AfterBuild" Condition="'$(Configuration)' == 'Release'">

 <ItemGroup>
  <InputAssemblies Include="$(OutputPath)\$(AssemblyName).exe" />
  <InputAssemblies Include="$(OutputPath)\*.dll" />
 </ItemGroup>

 <ILRepack
  Parallel="true"
  Internalize="true"
  InputAssemblies="@(InputAssemblies)"
  TargetKind="EXE"
  OutputFile="$(OutputPath)\$(AssemblyName).exe"
 />
</Target>
```

Because we name the target `AfterBuild`, this code will automatically be run after msbuild or Visual Studio builds our project.  Setting the condition ensures that this will only run when we are in release mode.  You can definitely run this on debug builds, but it’s less likely that you’d want to.

The ItemGroup specifies lets us create a list of assemblies to include in the package.  The first assembly should be your assembly.  In my example it will be my executable file `Repack.exe`.  Next, I include all the DLLs in the output directory.  This way, if I add a new dependency later, it will be included automatically.

Note that the order does matter.  You will want to put the .exe first in this list.

Next all we need to do is call ILRepack.  You can specify the output file to be anywhere you like, but in this example I overwrite the existing Repack.exe with the packed version.

Once you rebuild your project (in release mode), you can copy the EXE anywhere you want and it will run.

## Summary

ILRepack.MSBuild.Task let’s you package DLL’s into your EXE file so you can copy just the executable anywhere and not have to worry about deploying the dependencies as well.

Full sample code can be found on [github](https://github.com/jquintus/spikes/tree/master/ConsoleApps/Repack).

Happy coding.

_this post was originally on the [MasterDevs Blog](http://blog.masterdevs.com/ilrepack/)_

license: MIT

branch_name: refs/heads/master

extension: md

gha_language: CSS

gha_license_id: MIT

license_type: permissive


text:
---
layout: default
---

# 1995-09-14 - Re: An opportunity not to be missed

## Header Data

From: sameer<EMAIL_ADDRESS>To<EMAIL_ADDRESS>(Rev. Mark Grant)

Message Hash: 371a191c478b058d529fcca1366b469494dd5f4eb37829379350c333fa52e4be

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1995-09-14 19:18:11 UTC

Raw Date: Thu, 14 Sep 95 12:18:11 PDT

## Raw message

```
{% raw  %}From: sameer<EMAIL_ADDRESS>Date: Thu, 14 Sep 95 12:18:11 PDT
To<EMAIL_ADDRESS>(Rev. Mark Grant)
Subject: Re: An opportunity not to be missed
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

	How did they get the logs? Did they have a court order?
And web logs only show the site things come from, not the username things
are coming from.

	If someone wants to set something up on c2.org, you're quite
welcome to. Check out http://www.c2.org (currently under
renovation.. my graphic designer is on vacation so I'm awaiting his
return before we can revamp the graphics, basically.)

	The ecash problem, of course, is a problem.

>
> On Thu, 14 Sep 1995, Frank Stuart wrote:
>
> > Is anyone in a position to set up a cypherpunks CrimeStoppers mailbox (for
> > use through the remailers)?  You could set up a web-page with instructions
> > and a list of crimes for which there are rewards.
>
> Someone already tried that. The cops got a copy of the WWW logs and
> started investigating everyone who'd looked at the WWW page... So at the
> least you'd need a bunch of anonymous WWW proxies as well.
>
> There's also the problem that the current ecash systems do not provide
> payee anonymity, so if you pay informers with ecash they can be traced if
> the bank and payer collude.
>
> 		Mark
>

--
sameer						Voice:<PHONE_NUMBER>
Network Administrator				FAX:<PHONE_NUMBER>
Community ConneXion: The NEXUS-Berkeley		Dialin:<PHONE_NUMBER>
http://www.c2.org (or login as "guest"<EMAIL_ADDRESS>

{% endraw %}
```

## Thread

+ Return to [September 1995](/archive/1995/09)

+ Return to<EMAIL_ADDRESS>(Futplex)](/authors/futplex_at_pseudonym_com_futplex_)"
+ Return to "["Rev. Mark Grant" <mark@unicorn.com>](/authors/rev_mark_grant_mark_at_unicorn_com_)"
+ Return to "[sameer <sameer@c2.org>](/authors/sameer_sameer_at_c2_org_)"

+ 1995-09-14 (Thu, 14 Sep 95 07:51:56 PDT) - [Re: An opportunity not to be missed](/archive/1995/09/9453ec7d31e67dab20ebc8f5ca95d74a19fb232941293aa87514693067bfe296) - _"Rev. Mark Grant"<EMAIL_ADDRESS>  + 1995-09-14 (Thu, 14 Sep 95 12:18:11 PDT) - Re: An opportunity not to be missed - _sameer<EMAIL_ADDRESS>    + 1995-09-14 (Thu, 14 Sep 95 14:01:27 PDT) - [Re: Crimestoppers anon tip mailbox](/archive/1995/09/c0ddae2818951d844998f95fc5598af93afad78e017c7705f8623168238eb9e5) -<EMAIL_ADDRESS>(Futplex)_


text:
```
releaseHeader('2013-03-18', '1.6.2', '1.6.1')
```

*   Source maps have been used to provide automatic line-mapping when running CoffeeScript directly via the `coffee` command, and for automatic line-mapping when running CoffeeScript directly in the browser. Also, to provide better error messages for semantic errors thrown by the compiler — [with colors, even](http://cl.ly/NdOA).
*   Improved support for mixed literate/vanilla-style CoffeeScript projects, and generating source maps for both at the same time.
*   Fixes for **1.6.x** regressions with overriding inherited bound functions, and for Windows file path management.
*   The `coffee` command can now correctly `fork()` both `.coffee` and `.js` files. (Requires Node.js 0.9+)

repository: jashkenas/coffeescript

branch_name: refs/heads/main

gha_language: CoffeeScript

repo_name: jashkenas/coffeescript


text:
---
layout: default
---

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">

The [Graduate Researchers interested in Data club](http://www.gridclub.io) (GRiD) at [UMass Amherst](http://www.umass.edu) is partnering with the [Pioneer Valley Transit Authority](http://pvta.com/)(PVTA) to host the first HackPVTA event!

- [Best Projects](#win)
- [Dates and Venue](#timeplace)
- [About the Data](#dataset)
- [Keynote](#keynote)
- [Acknowledgements](#ack)

##  Hall of Fame
Here are the three projects that stood out, according to our illustrious judges!

* Team **Bayes' rule** (Aruni Roy Chowdhury, Rajarshi Roychowdhury) won the "BB-8" award for impressive technical complexity and visualization.
* Team **Abandoned Ship** (Alex Bogdan, Katie Leap) won the "Sheldon" award for best actionable insight.
* Team **Man of Steele** (Steele H. Valenzuela) won the "Back to the Future" award for an impressive project idea with a lot of potential, given more work.

##  Dates & Venue

Start: **Friday, Feb. 5; 6:00 PM**

End: **Sunday, Feb. 7, 1:00 PM**

The event will take place at the 16th floor of LGRT, Room 1634.

##  About the Data

We will be working with instantaneous (sub-minute) PVTA bus location and ridership data. We anticipate having over 6 million rows encompassing a year's worth of historical data. Available data will include:

- Vehicle information (identifier, name)
- Route information (identifier, name, stops, schedules)
- Spatial information (latitude, longitude, speed, heading)
- Ridership information (number boarding, exiting, on board)

Check back next week for a complete description of data and objectives.

##  **Keynote Talk**: *Supply and Demand of Data Science Talent*
Martijn Theuwissen and Nick Carchedi, [DataCamp](https://www.datacamp.com/)

Glassdoor’s 25 Best Jobs in America for 2016 ranks Data Scientist number one according to three factors: number of job openings, median base salary, and overall career opportunity. In this talk, Nick and Jonathan discuss the main trends in the data science labor market, what skills are relevant to aspiring data scientists, and how DataCamp is helping to provide these skills by democratizing data science education.

## Acknowledgements

HackPVTA could not have taken off without the support of various organizations & people. We acknowledge the support of :

* The Pioneer Valley Transit Authority.
* DataCamp.
* The Department of Mathematics & Statistics, UMass Amherst.
* The Five College Statistics Program.
* The Department of Mathematics & Statistics, Amherst College.
* The Department of Biostatistics and Epidemiology, School of Public Health and Health Sciences, UMass Amherst.
* The Graduate Student Senate, UMass Amherst.

repository: gridclub/HackPVTA

branch_name: refs/heads/gh-pages

repo_name: gridclub/HackPVTA


text:
# Application Insights Tips

## 1) Add application information to all telemetry

Use Telemetry Initializer to add shared application information

```c#
internal class CloudRoleTelemetryInitializer : ITelemetryInitializer
{
    private readonly string roleName;
    private readonly string roleInstance;
    private readonly string version;

    public CloudRoleTelemetryInitializer()
    {
        var name = Assembly.GetEntryAssembly().GetName();
        this.roleInstance = Environment.MachineName;
        this.version = name.Version.ToString();

        // To display each version independently on Application Map, add the version to the role name
        this.roleName = name.Name;
    }

    public void Initialize(ITelemetry telemetry)
    {
        telemetry.Context.Cloud.RoleName = roleName;
        telemetry.Context.Cloud.RoleInstance = roleInstance;
        telemetry.Context.GlobalProperties["AppVersion"] = version;
    }
}
```

## 2) Find traces/operations by identifier in Azure Portal

To find end-to-end transactions in Azure Portal go to your Application Insights account, select Performance and enter the filter by `Request Operation Id`:

![Find traces by operation id](media/01-ai-searching-e2e-traces.png)

## 3) Getting the longest end-to-end operation executions

Lists the longest end-to-end transaction times including start, end, depth, total_duration

```kusto
let endTime = (start: datetime, duration: int) { datetime_add("Millisecond", duration, start) };
let startDate = ago(2h);
let operationName = 'GET Main/Enqueue [source]';
requests
| where name == operationName
| where timestamp >= startDate
| project operation_Id
| join kind=leftouter (requests) on $left.operation_Id == $right.operation_Id
| summarize start=min(timestamp), end=max(endTime(timestamp, duration)), depth=dcount(cloud_RoleName) by operation_Id
| project Name=operationName, operation_Id, start, end, depth, total_duration=datetime_diff("Millisecond", end, start)
| order by total_duration desc
```

### Graph of end-to-end operation/durations per minute

Query on operation count/avg duration per minute

```kusto
let endTime = (start: datetime, duration: int) { datetime_add("Millisecond", duration, start) };
let startDate = ago(2h);
let operationName = 'GET Main/Enqueue [source]';
requests
| where name == operationName
| where timestamp >= startDate
| project operation_Id
| join kind=leftouter (requests) on $left.operation_Id == $right.operation_Id
| summarize start=min(timestamp), end=max(endTime(timestamp, duration)) by operation_Id
| summarize duration=avg(datetime_diff("Millisecond", end, start)), count=count(operation_Id) by bin(start, 1min)
| render columnchart kind=unstacked
```

![Graph of operation/durations per minute](media/chart-ops-duration-per-minute.png)

repository: fbeltrao/dotnet-observability-sample

gha_language: C#

repo_name: fbeltrao/dotnet-observability-sample


text:
---
topic: "Python: raw_input"
desc: "reading some input in a terminal session"
---

Python has a `raw_input("prompt goes here")` function that can be used to read input from the user in a terminal session.

The value that gets returned comes back in the form of a string.

The Guttag textbook uses this function in several of the early chapters.

# A hint for the finger exercise on p. 20

The finger exercise on p. 20 of Guttag asks you to read in 10 numbers from the user.

The following Python code shows a hint for how to use `raw_input()` to read in 10 numbers, and
what you might do with that input to solve the problem given.

```python
# A hint for the finger exercise on p. 20 of Guttag
# This shows one way to read 10 integers with a while loop and raw_input

how_many = 10

# some initialization code goes here
# You may need to set up some variables that keep track of things

while (how_many > 0):

    number= raw_input('Please enter a number:')
    print("Your number is: " + number)

    # Some code to look at each number goes here
    # You may need to look at the current value of number
    # decide whether it is odd, and if it is, update something
    # depending on whether it is bigger than any odd number you've seen before

    how_many = how_many - 1

    print "I'm going to do this", how_many, "more times"

# code to print the largest odd number goes here

```


text:
# MessageMedia.REST.API.Model.DeliveryOptionsBodyInner
## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DeliveryType** | **string** | How to deliver the report. | [optional]
**DeliveryAddresses** | **List<string>** | A list of email addresses to use as the recipient of the email. Only works for EMAIL delivery type | [optional]
**DeliveryFormat** | **string** | Format of the report. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

repository: mjoksa/messagemedia-rest-api-csharp-sdk

repo_name: mjoksa/messagemedia-rest-api-csharp-sdk


text:
# Langdev libraries for Rust

- [Lexers](#lexers)
- [Parsers](#parsers)
- [Codegen](#codegen)
- [String interning](#string-interning)
- [Just-in-time compilation](#just-in-time-compilation)
- [Error reporting](#error-reporting)
- [Language server protocol](#language-server-protocol)
- [Testing](#testing)
- [Incremental compilation](#incremental-compilation)
- [Floats/Ints/Bools](#floatsintsbools)
- [Binary & object file parsing, generating and processing](#binary--object-file-parsing-generating-and-processing)
- [Solvers](#solvers)
- [CLI](#cli)
  - [Configuration](#configuration)
- [Repl](#repl)
- [String handling](#string-handling)
- [Syntax trees](#syntax-trees)
- [Pretty printing](#pretty-printing)
- [Variable binding](#variable-binding)
- [Caching](#caching)
- [WASM](#wasm)
- [Logging](#logging)
- [Storage](#storage)
  - [Disjoint-sets](#disjoint-sets)
- [Incremental Analysis](#incremental-analysis)
  - [Timely Dataflow Resources](#timely-dataflow-resources)
- [Fuzzing](#fuzzing)
  - [Fuzzing Resources](#fuzzing-resources)
- [Graphs](#graphs)
- [Type Checking](#type-checking)
- [Peephole Optimization](#peephole-optimization)
- [Guides & Resources](#guides--resources)

## Lexers

- [`logos`](https://crates.io/crates/logos) Logos has two goals: To make it easy to create a Lexer, so you can focus on more complex problems and to make the generated Lexer faster than anything you'd write by hand
- [`lrlex`](https://crates.io/crates/lrlex) A replacement for [`lex`](http://dinosaur.compilertools.net/lex/index.html)/[`flex`](https://westes.github.io/flex/manual/) that generates Rust code

## Parsers

- [`parze`](https://crates.io/crates/parze) Parze is a clean, efficient parser combinator written in Rust
- [`lalrpop`](https://crates.io/crates/lalrpop) A convenient LR(1) parser generator
- [`nom`](https://crates.io/crates/nom) A byte-oriented, zero-copy, parser combinators library
- [`combine`](https://crates.io/crates/combine) Fast parser combinators on arbitrary streams with zero-copy support.
- [`pom`](https://crates.io/crates/pom) PEG parser combinators using operator overloading without macros.
- [`peg`](https://crates.io/crates/peg) A simple Parsing Expression Grammar (PEG) parser generator.
- [`glue`](https://crates.io/crates/glue) Glue is a parser combinator framework for parsing text based formats, it is easy to use and relatively fast too
- [`pratt`](https://crates.io/crates/pratt) A general purpose pratt parser for Rust
- [`pest`](https://crates.io/crates/pest) A general purpose parser written in Rust with a focus on accessibility, correctness, and performance using parsing expression grammars (PEG)
- [`lrpar`](https://crates.io/crates/lrpar) A Yacc-compatible parser.
- [`tree-sitter`](https://tree-sitter.github.io/tree-sitter/) A parser generator for building fast editor-friendly parsers with features like streaming, incremental, resumable (re)parsing, with timeouts and cancellations, and advanced syntax node queries.
- [`rowan`](https://crates.io/crates/rowan) Generic lossless syntax trees
  - [`ungrammar`](https://crates.io/crates/ungrammar) A DSL for specifying concrete syntax trees, see [this introductory post](https://rust-analyzer.github.io/blog/2020/10/24/introducing-ungrammar.html)
- [`chomp`](https://crates.io/crates/chomp) Chomp is a fast monadic-style parser combinator library designed to work on stable Rust
- [`oak`](https://crates.io/crates/oak) A typed parser generator embedded in Rust code for Parsing Expression Grammars
- [`chumsky`](https://crates.io/crates/chumsky) A friendly parser combinator crate that makes writing LL(1) parsers with error recovery easy

## Regular expressions

- [`regex`](https://crates.io/crates/regex) An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
- [`regress`](https://crates.io/crates/regress) A regular expression engine targeting EcmaScript syntax.
- [`onig`](https://crates.io/crates/onig) Rust-Onig is a set of Rust bindings for the Oniguruma regular expression library.

## Codegen

- [`cranelift`](https://crates.io/crates/cranelift) Cranelift is a low-level retargetable code generator
- [`llvm-sys`](https://crates.io/crates/llvm-sys) Bindings to LLVM's C API
- [`llama`](https://crates.io/crates/llama) Friendly LLVM bindings
- [`inkwell`](https://crates.io/crates/inkwell) Inkwell aims to help you pen your own programming languages by safely wrapping llvm-sys
- [`llvm-ir`](https://crates.io/crates/llvm-ir) LLVM IR in natural Rust data structures
- [`llvmenv`](https://crates.io/crates/llvmenv) Manage multiple LLVM/Clang builds
- [`walrus`](https://crates.io/crates/walrus) A library for performing WebAssembly transformations
- [`cilk`](https://github.com/maekawatoshiki/cilk) Toy Compiler Infrastructure influenced by LLVM written in Rust.

## String interning

- [`lasso`](https://crates.io/crates/lasso) A multithreaded and single threaded string interner with a minimal memory footprint and arena allocation
- [`string-interner`](https://crates.io/crates/string-interner) A data structure to cache strings efficiently
- [`simple-interner`](https://crates.io/crates/simple-interner) A simple append-only interner
- [`string_cache`](https://crates.io/crates/string_cache) A string interning library for Rust, developed as part of the Servo project

## Just-in-time Compilation

- [`masm-rs`](https://github.com/playxe/masm-rs) A JSC/SpiderMonkey like macro assembler
- [`jit`](https://crates.io/crates/jit) (LibJIT) Just-In-Time Compilation in Rust using LibJIT bindings
- [`lightning-sys`](https://crates.io/crates/lightning-sys) GNU lightning bindings for rust
- [`gccjit`](https://crates.io/crates/gccjit) Higher-level Rust bindings for libgccjit
- [`cranelift`](https://crates.io/crates/cranelift) Cranelift is a low-level retargetable code generator
- [`dynasm`](https://crates.io/crates/dynasm) A Dynamic assembler written in Rust for Rust

## Error reporting

- [`codespan-reporting`](https://crates.io/crates/codespan-reporting) Beautiful diagnostic reporting for text-based programming languages
- [`codespan`](https://crates.io/crates/codespan) Data structures for tracking locations in source code
- [`text-size`](https://crates.io/crates/text_size) A library that provides newtype wrappers for `u32` and `(u32, u32)` for use as text offsets
- [`ariadne`](https://crates.io/crates/ariadne) A fancy diagnostics & reporting crate

## Language server protocol

- [`lsp-types`](https://crates.io/crates/lsp-types) Types for interaction with a language server, using VSCode's Language Server Protocol
- [`tower-lsp`](https://crates.io/crates/tower-lsp) Language Server Protocol implementation based on Tower
- [`codespan-lsp`](https://crates.io/crates/codespan-lsp) Conversions between codespan types and Language Server Protocol types
- [`lsp-server`](https://crates.io/crates/lsp-server) A generic LSP server scaffold
- [`lspower`](https://crates.io/crates/lspower) Language Server Protocol implementation for Rust based on Tower. (Fork of `tower-lsp`)

## Testing

- [`goldentests`](https://crates.io/crates/goldentests) A golden file testing library where tests can be configured within the same test file
- [`lang_tester`](https://crates.io/crates/lang_tester) Concise language testing framework for compilers and VMs (Linux only)
- [`libtest-mimic`](https://crates.io/crates/libtest-mimic) Dynamically construct a test-harness that looks and behaves like Rust's built-in test harness
- [`compiletest_rs`](https://crates.io/crates/compiletest_rs) The compiletest utility from the Rust compiler as a standalone testing harness
- [`insta`](https://crates.io/crates/insta) A snapshot testing library for Rust
- [`k9`](https://crates.io/crates/k9) Snapshot testing and better assertions
- [`mo`](https://crates.io/crates/mo) A tool created in Rust for create dozens/hundreds/thousands/millions of random examples based on a pest grammar (PEG)

## Unicode

- [`unicode-xid`](https://crates.io/crates/unicode-xid) Determine if a char is a valid identifier for a parser and/or lexer according to [Unicode Standard Annex #31](https://www.unicode.org/reports/tr31/) rules.
- [`unicode-normalisation`](https://crates.io/crates/unicode-normalization) Unicode character composition and decomposition utilities as described in [Unicode Standard Annex #15](http://www.unicode.org/reports/tr15/)
- [`unicode-segmentation`](https://crates.io/crates/unicode-segmentation) Iterators which split strings on Grapheme Cluster or Word boundaries, according to the [Unicode Standard Annex #29](http://www.unicode.org/reports/tr29/) rules
- [`unicode-width`](https://crates.io/crates/unicode-width) Determine displayed width of char and str types according to [Unicode Standard Annex #11](http://www.unicode.org/reports/tr11/) rules
- [`lexical-sort`](https://crates.io/crates/lexical-sort) Lexicographical sorting of unicode strings

## Incremental compilation

- [`salsa`](https://crates.io/crates/salsa) A generic framework for on-demand, incrementalized computation

## Floats/Ints/Bools

- [`lexical`](https://crates.io/crates/lexical) Lexical, to- and from-string conversion routines (Fast lexical conversion routines for both `std` and `no_std` environments)
- [`lexical-core`](https://crates.io/crates/lexical-core) Lexical, to- and from-string conversion routines (Low-level, lexical conversion routines for use in a `no_std` context)
- [`lexical_bool`](https://crates.io/crates/lexical_bool) A bool-like type that can be parsed from a string
- [`ryu`](https://crates.io/crates/ryu) A Rust implementation of the PLDI'18 paper [Ryū: fast float-to-string conversion](https://dl.acm.org/doi/10.1145/3192366.3192369) by Ulf Adams
- [`ryu-js`](https://crates.io/crates/ryu-js) Ryū-js is a fork of the ryu crate adjusted to comply to the ECMAScript number-to-string algorithm
- [`hexponent`](https://crates.io/crates/hexponent) C11 compliant hex float parsing
- [`ordered-float`](https://crates.io/crates/ordered-float) Total ordering on floats
- [`half`](https://crates.io/crates/half) A half-precision floating point `f16` type for Rust implementing the IEEE 754-2008 standard
- [`f128`](https://crates.io/crates/f128) Bindings to the gcc quadmath library
- [`approx`](https://crates.io/crates/approx) Approximate floating point equality comparisons and assertions

## Binary & object file parsing, generating and processing

- [`goblin`](https://crates.io/crates/goblin) An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate
- [`gimli`](https://crates.io/crates/gimli) A library for reading and writing the DWARF debugging format.
- [`faerie`](https://crates.io/crates/faerie) ELF and Mach-o native binary object file emitter
- [`object`](https://crates.io/crates/object) A unified interface for reading and writing object file formats.
- [`elf`](https://crates.io/crates/elf) A pure-rust library for parsing ELF files
- [`elfkit`](https://crates.io/crates/elfkit) An elf parser and manipulation library in pure rust

## Symbolic Execution

- [`haybale`](https://crates.io/crates/haybale) Symbolic execution of LLVM IR

## Solvers

- [`rsmt2`](https://crates.io/crates/rsmt2) Wrapper for SMT-LIB 2 compliant SMT solvers.
- [`z3`](https://crates.io/crates/z3) A high-level rust bindings for the Z3 SMT solver from Microsoft Research
- [`z3-sys`](https://crates.io/crates/z3-sys) Low-level bindings for the Z3 SMT solver from Microsoft Research
- [`z3_ref`](https://crates.io/crates/z3_ref) A high level interface to the Z3 SMT solver
- [`z3d`](https://crates.io/crates/z3d) Z3 DSL interface for Rust
- [`boolector`](https://crates.io/crates/boolector) Safe high-level bindings for the Boolector SMT solver
- [`boolector-sys`](https://crates.io/crates/boolector-sys) Low-level bindings for the Boolector SMT solver
- [`smt2utils`](https://github.com/facebookincubator/smt2utils) Libraries and tools for the SMT-LIB-2 standard
  - [`smt2parser`](https://crates.io/crates/smt2parser) A generic parser for SMT2 commands, as specified by the SMT-LIB-2 standard
  - [`smt2proxy`](https://crates.io/crates/smt2proxy) An experimental binary tool to intercept and pre-process SMT2 commands before they are send to an SMT solver
  - [`z3tracer`](https://crates.io/crates/z3tracer) An experimental parser for Z3 tracing logs obtained by passing `trace=true proof=true` to Z3
- [Axiom Profiler](https://github.com/viperproject/axiom-profiler) A tool for visualising, analysing and understanding quantifier instantiations made via E-matching in a run of an SMT solver

## CLI

- [`structopt`](https://crates.io/crates/structopt) Parse command line arguments by defining a struct
- [`clap`](https://crates.io/crates/clap) A simple to use, efficient, and full-featured Command Line Argument Parser
- [`pico-args`](https://crates.io/crates/pico-args) An ultra simple CLI arguments parser
- [`argh`](https://crates.io/crates/argh) A derive-based argument parser optimized for code size

### Configuration

- [`etcetera`](https://crates.io/crates/etcetera) A library that aims to allow you to determine the locations of configuration, cache and data files for your application. Existing Rust libraries generally do not give you a choice in terms of which standards/conventions (Etcetera calls these ‘strategies’) they follow. Etcetera, on the other hand, gives you the choice
- [`toml`](https://crates.io/crates/toml) A TOML decoder and encoder for Rust (optionally uses [serde])
- [`envy`](https://crates.io/crates/envy) Deserialize environment variables into typesafe structs (uses [serde])

## Repl

- [`rustyline`](https://crates.io/crates/rustyline) Rustyline, a readline implementation based on Antirez's Linenoise
- [`repl-rs`](https://crates.io/crates/repl-rs) Library to generate a REPL for your application
- [`termwiz`](https://crates.io/crates/termwiz) Terminal Wizardry for Unix and Windows

## String handling

- [`beef`](https://crates.io/crates/beef) Faster, more compact implementation of [`Cow`](https://doc.rust-lang.org/alloc/borrow/enum.Cow.html).
- [`smol_str`](https://crates.io/crates/smol_str) Small-string optimized string type with O(1) clone
- [`smallstring`](https://crates.io/crates/smallstring) 'Small string' optimization: store small strings on the stack using smallvec
- [`heck`](https://crates.io/crates/heck) Heck is a case conversion library that exists to provide case conversion between common cases like CamelCase and snake_case. It is intended to be unicode aware, internally consistent, and reasonably well performing
- [`ropey`](https://crates.io/crates/ropey) Ropey is a utf8 text rope for Rust, designed to be the backing text-buffer for applications such as text editors. Ropey is fast, robust, and can handle huge texts and memory-incoherent edits with ease.

## Syntax trees

- [`rowan`](https://crates.io/crates/rowan) Generic lossless syntax trees
- [`cstree`](https://crates.io/crates/cstree) A fork of `rowan` with threadsafe syntax trees and built-in [source string interning](#string-interning)

## Pretty printing

- [`pretty`](https://crates.io/crates/pretty) Wadler-style pretty-printing combinators in Rust

## Variable binding

- [`moniker`](https://crates.io/crates/moniker) An automagical variable binding library for tracking variables in scopes

## Caching

- [`cached`](https://crates.io/crates/cached) Caching structures and simplified function memoization

## WASM

- [`wain`](https://crates.io/crates/wain) WebAssembly interpreter written in Safe Rust with zero dependencies
- [`wasmer`](https://crates.io/crates/wasmer) The high-level public API of the Wasmer WebAssembly runtime
- [`wasmtime`](https://crates.io/crates/wasmtime) High-level API to expose the Wasmtime runtime
- [`wasmtime-jit`](https://crates.io/crates/wasmtime-jit) JIT-style execution for WebAsssembly code in Cranelift
- [`wasmlite-parser`](https://crates.io/crates/wasmlite-parser) This crate parses WebAssembly modules and can generate LLVM IR based the data extracted from a module
- [`parity-wasm-cp`](https://crates.io/crates/parity-wasm-cp) WebAssembly binary format serialization/deserialization/interpreter
- [`substrate-wasm-builder`](https://crates.io/crates/substrate-wasm-builder) A utility for building WASM binaries
- [`walrus`](https://crates.io/crates/walrus) A library for performing WebAssembly transformations

## Logging

- [`tracing`](https://crates.io/crates/tracing) Application-level tracing for Rust
  - [`tracing-timing`](https://crates.io/crates/tracing-timing) Inter-event timing metrics on top of `tracing`
  - [`tracing-coz`](https://crates.io/crates/tracing-coz) Rust-tracing support for the [coz](https://github.com/plasma-umass/coz/#installation) Causal Profiler
  - [`tracing-flame`](https://crates.io/crates/tracing-flame) A tracing `Layer` for generating a folded stack trace for generating flamegraphs and flamecharts with inferno
  - [`test-env-log`](https://crates.io/crates/test-env-log) A crate that takes care of automatically initializing logging and/or tracing for Rust tests.
  - [`tracing-unwrap`](https://crates.io/crates/tracing-unwrap) This crate provides `.unwrap_or_log()` and `.expect_or_log()` methods on `Result` and `Option` types that log failed unwraps to a `tracing::Subscriber`
- [`log`](https://crates.io/crates/log) A Rust library providing a lightweight logging facade
- [`slog`](https://crates.io/crates/slog) An ecosystem of reusable components for structured, extensible, composable and contextual logging for Rust

## Storage

- [`slotmap`](https://crates.io/crates/slotmap) Containers with persistent unique keys to access stored values: Insertion, deletion and access all take O(1) time with low overhead.
- [`indexmap`](https://crates.io/crates/indexmap) A hash table with consistent order and fast iteration
- [`vecmap`](https://crates.io/crates/vecmap) Vec-based Map and Set data structures

### Disjoint-sets

- [`union-find`](https://crates.io/crates/union-find) Struct and methods for union-find operation
- [`ena`](https://crates.io/crates/ena) An implementation of union-find in Rust; extracted from (and used by) rustc

## Incremental Analysis

- [`timely`](https://crates.io/crates/timely) A low-latency cyclic dataflow computational model, introduced in the paper [Naiad: a timely dataflow system](https://dl.acm.org/doi/10.1145/2517349.2522738)
  - [`differential-dataflow`](https://crates.io/crates/differential-dataflow) A data-parallel programming framework designed to efficiently process large volumes of data and to quickly respond to arbitrary changes in input collections, an implementation of [differential dataflow](https://github.com/timelydataflow/differential-dataflow/blob/master/differentialdataflow.pdf) over [timely dataflow](https://github.com/timelydataflow/timely-dataflow) on Rust.
  - [`dogsdogsdogs`](https://github.com/TimelyDataflow/differential-dataflow/tree/master/dogsdogsdogs) Worst-case optimal joins and delta queries in differential dataflow
  - [`dataflow-join`](https://github.com/frankmcsherry/dataflow-join) A streaming implementation of Ngo et al's `GenericJoin` in timely dataflow
  - [`timely-sort`](https://github.com/TimelyDataflow/timely-dataflow/tree/master/sort) An cache-aware implementation of radix sort in Rust
  - [`diagnostics`](https://github.com/TimelyDataflow/diagnostics) Diagnostic tools for [`timely-datafflow`](https://crates.io/crates/timely) and [`differential-dataflow`](https://crates.io/crates/differential-dataflow) computations
- [`differential-datalog`](https://github.com/vmware/differential-datalog) A programming language for incremental computation based on [`timely-dataflow`](https://crates.io/crates/timely) and [`differential-dataflow`](https://crates.io/crates/differential-dataflow), similar to [`IncA`](https://github.com/szabta89/IncA) or [`Souffle`](https://github.com/souffle-lang/souffle)

### Timely Dataflow Resources

- [Naiad: a timely dataflow system](https://dl.acm.org/doi/10.1145/2517349.2522738)
- [Timely Dataflow Book](https://timelydataflow.github.io/timely-dataflow/)
- [Differential Dataflow](https://github.com/timelydataflow/differential-dataflow/blob/master/differentialdataflow.pdf)
- [Differential Dataflow Book](https://timelydataflow.github.io/differential-dataflow/)
- Sudoku in Differential Dataflow: [blog](https://github.com/frankmcsherry/blog/blob/master/posts/2020-06-06.md#sudoku-in-differential-dataflow), [video series](https://www.youtube.com/watch?v=DR5V5bNpclg)
- An introduction to Timely Dataflow: [part 1](https://github.com/frankmcsherry/blog/blob/master/posts/2015-09-14.md), [part 2](https://github.com/frankmcsherry/blog/blob/master/posts/2015-09-18.md), [part 3](https://github.com/frankmcsherry/blog/blob/master/posts/2015-09-21.md)
- An introduction to Differential Dataflow: [part 1](https://github.com/frankmcsherry/blog/blob/master/posts/2015-09-29.md), [part 2](https://github.com/frankmcsherry/blog/blob/master/posts/2015-11-27.md)
- [Differential Dataflow meets Calculus](https://github.com/frankmcsherry/blog/blob/master/posts/2020-02-15.md)

## Fuzzing

- [`honggfuzz-rs`](https://crates.io/crates/honggfuzz) Honggfuzz is a security oriented fuzzer with powerful analysis options that supports evolutionary, feedback-driven fuzzing based on code coverage
- [`cargo-fuzz`](https://crates.io/crates/cargo-fuzz) A cargo subcommand for using libFuzzer
- [`libfuzzer-sys`](https://crates.io/crates/libfuzzer-sys) Barebones wrapper around LLVM's libFuzzer runtime library
- [`wasm-smith`](https://crates.io/crates/wasm-smith) A WebAssembly test case generator

### Fuzzing Resources

- [Fuzzing a parser](https://arzg.github.io/lang/20/)
- [Rust Fuzz Book](https://rust-fuzz.github.io/book/cargo-fuzz.html)

## Graphs

- [`egg`](https://crates.io/crates/egg) Egg is a flexible, high-performance e-graph library
  - [Herbie](https://github.com/uwplse/herbie)'s usage of `egg` to improve the accuracy of floating point calculations ([language](https://github.com/uwplse/herbie/blob/4adbd48b01b8a4c382af2bf60556b8be0fabcf70/egg-herbie/src/math.rs#L43-L66), [rules](https://github.com/uwplse/herbie/blob/4adbd48b01b8a4c382af2bf60556b8be0fabcf70/egg-herbie/src/rules.rs#L17-L934), [analysis](https://github.com/uwplse/herbie/blob/4adbd48b01b8a4c382af2bf60556b8be0fabcf70/egg-herbie/src/math.rs#L68-L196))
  - [Szalinski](https://github.com/uwplse/szalinski)'s usage of `egg` to simplify CAD programs ([language](https://github.com/uwplse/szalinski/blob/66dac92f8a77e7d77a604bc4fceee6590966d3ac/src/cad.rs#L55-L105), [rules](https://github.com/uwplse/szalinski/blob/08218dee8deb789d9de4cdaa2c83c276a0cca5fe/src/rules.rs#L43-L413), [appliers](https://github.com/uwplse/szalinski/blob/08218dee8deb789d9de4cdaa2c83c276a0cca5fe/src/rules.rs#L436-L899))
  - [Glenside](https://github.com/gussmith23/glenside)'s usage of `egg` for optimizing tensor programs ([language](https://github.com/gussmith23/glenside/blob/11a06375b9d91a7f66bddb2f16a8e866be8cd9c4/src/language/language.rs#L11-L296), [rules](https://github.com/gussmith23/glenside/blob/11a06375b9d91a7f66bddb2f16a8e866be8cd9c4/src/language/rewrites.rs), [analysis](https://github.com/gussmith23/glenside/blob/11a06375b9d91a7f66bddb2f16a8e866be8cd9c4/src/language/language.rs#L1066-L2982))
- [`petgraph`](https://crates.io/crates/petgraph) A graph data structure library. Provides graph types and graph algorithms
- [`timely`](https://crates.io/crates/timely) A low-latency cyclic dataflow computational model, introduced in the paper [Naiad: a timely dataflow system](https://dl.acm.org/doi/10.1145/2517349.2522738)
- [`differential-dataflow`](https://crates.io/crates/differential-dataflow) A data-parallel programming framework designed to efficiently process large volumes of data and to quickly respond to arbitrary changes in input collections, an implementation of [differential dataflow](https://github.com/timelydataflow/differential-dataflow/blob/master/differentialdataflow.pdf) over [timely dataflow](https://github.com/timelydataflow/timely-dataflow) on Rust.

## Type Checking

- [`rusttyc`](https://crates.io/crates/rusttyc) An interface that allows for an intuitive translation of inference rules based on a Hindney-Milner-like bounded type meet-semilattice into rust code

## Peephole Optimization

- [`egg`](https://crates.io/crates/egg) Egg is a flexible, high-performance e-graph library
- [`peepmatic`](https://crates.io/crates/peepmatic) A DSL for peephole optimizations and compiler for generating peephole optimizers from them

## Guides & Resources

- [Making a language in Rust](https://arzg.github.io/lang/) A series about making a programming language called Eldiro using the Rust programming language
- [Create Your Own Programming Language with Rust](https://createlang.rs/)
- [Writing a simple parser in Rust](https://adriann.github.io/rust_parser.html)
- GC and Rust [part 0](http://blog.pnkfx.org/blog/2015/10/27/gc-and-rust-part-0-how-does-gc-work/), [part 1](http://blog.pnkfx.org/blog/2015/11/10/gc-and-rust-part-1-specing-the-problem/) and [part 2](http://blog.pnkfx.org/blog/2016/01/01/gc-and-rust-part-2-roots-of-the-problem/)
- Matklad on pratt parsing: [Simple but Powerful Pratt Parsing](https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html) and [From Pratt to Dikjstra](https://matklad.github.io/2020/04/15/from-pratt-to-dijkstra.html)
- [Pure AST based linting sucks](https://rdambrosio016.github.io/rust/2020/09/18/pure-ast-based-linting-sucks.html)
- [LLVM's Kaleidoscope in Rust](https://github.com/jauhien/iron-kaleidoscope) The Kaleidoscope Language tutorial, showing how to implement a simple language using LLVM in Rust

[serde]: https://crates.io/crates/serde

license: Unlicense

repository: domenicquirl/rust-langdev

repo_name: domenicquirl/rust-langdev


text:
# go Application Shutdown

Shutdown the application with a signal.

## Install & Build

```bash
go get github.com/lishimeng/go-app-shutdown.git
```

## Usage
```go
package main

import (
 "fmt"
 "github.com/lishimeng/go-app-shutdown"
 "time"
)

func main() {
    go work()
    shutdown.WaitExit(&shutdown.Configuration{
        BeforeExit: func(s string) {
            fmt.Printf("Shutdown %s\n", s)
        },
    })
}

func work() {
    for{
        time.Sleep(time.Second * 3)
        fmt.Println("work....")
    }
}

```

repository: lishimeng/go-app-shutdown

repo_name: lishimeng/go-app-shutdown


text:
## From v1.1.4 to v1.2.0

### Migrations
Added support for Laravel loadMigrationsFrom to allow for migrations to be handled without needing to publish them.

Previous versions the migration was being published with the timestamp of the time of publishing which caused multiple migrations to be published.

This update renames the migration that is published to include the timestamp from the time it was initially committed to prevent multiple migrations from being published.

You'll also want to make sure that your published `/config/nova/ckeditor-field.php` has the new `enable_migrations` and `auto_migrate` options.
```php
    'migrations' => [
        'enable_migrations' => true,
        'auto_migrate' => true,
    ],
```

It is possible that you could have multiple migrations if you have previously published the migrations.
If this is the case, you will need to manually delete the migrations that were published before this update and republish the migrations.
```php
php artisan vendor:publish --tag=nova-ckeditor4-field-migrations
```

### CKEditor version
Updated the CKEditor4 version from 4.19.1 to 4.20.0 as the default version.
You can review the changes at https://github.com/ckeditor/ckeditor4-releases/blob/master/CHANGES.md#ckeditor-420

If you have a published config and wish to use the new version, you will need to update the `ckeditor_url` option within your published `/config/nova/ckeditor-field.php`.
```php
    'ckeditor_url' => 'https://cdn.ckeditor.com/4.20.0/full-all/ckeditor.js',
```

gha_language: PHP


text:
---
layout: default
---

# 1996-10-16 - Re: binding cryptography

## Header Data

From: snow<EMAIL_ADDRESS>To<EMAIL_ADDRESS>(Eric Verheul)

Message Hash: fd6108332bbc357df1c6d7a09f8b5cfadf1a7067c52630eb9d9b781fe3fc98a3

Message ID<EMAIL_ADDRESS>Reply To<EMAIL_ADDRESS>UTC Datetime: 1996-10-16 01:56:24 UTC

Raw Date: Tue, 15 Oct 1996 18:56:24 -0700 (PDT)

## Raw message

```
{% raw  %}From: snow<EMAIL_ADDRESS>Date: Tue, 15 Oct 1996 18:56:24 -0700 (PDT)
To<EMAIL_ADDRESS>(Eric Verheul)
Subject: Re: binding cryptography
In-Reply-To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text

> Ulf<EMAIL_ADDRESS>wrote:
> >Can you imagine that anyone would ever create a program that tries to
> >look like a conforming implementation, but generates invalid "binding"
> >data -- when it is so much easier to simply use PGP, and (if
> >necessary) disguise that fact using the government-approved encryption
> >software?  I don't, so in my opinion the verification process is
> >abolutely useless.
> Can you imagine what would happen if governments would (help to) set up =
> a system that has no safeguards at all, i.e.  that could give criminals =

     You mean like Cash? The (in the US) green stuff that can be transfered
with _no_ ID? That you can use to go down to the local convience store and
get a money order with to send across state lines thru the US mail?

     Nah. Can't imagine what would happen with something like that.

> all the anonimity and confidentiality they need? Governments can't =
> probably prevent criminals and the like to use encryption to stay out of =

     You could have stopped before the "and".

> don't want TRP at all. The bottom line is that law-abiding citizens =
> always have to give up some of their freedom to stop criminals (that is =

     No, you DON'T have to. Laws make criminals, and Laws restrict freedom.
Any law put into place to _prevent_ crime actually does the opposite. In
what, 1907? Congress criminalized certain drugs (canabis & cocaine and some
others) what was previously legal became a crime, and it's practicioners
criminals.
     If Congress criminalizes Crypto, I and others on this list will become
criminals. We will _become_ criminals to "stop" crime, and others will give
up their freedom to "stop" us from commiting "criminal" acts.

     Your biggest fallacy (vis a vis crypto) is that criminals will _follow_
the law. They won't by defination, execpt as needed for their schemes. That
is why they are called criminals, because the commit CRIMES, not because they
follow the law.

> why you have to have registration plates on your car, a lock on your =
> car, bicycle, house etc.). That is a fact of life; one I hate. So the =

     The lock is there to stop criminals. The registration _plate_ is there
to allow the government to collect Taxes, and track people. There are serial
numbers on cars used in theft _recovery_ rather than theft prevention.

> Cryptopolicy is not a binary discussion; although some posters on this =
> list seem to think so.

     The middle is defined by the extremes. I'd take the most extreme possible
stance, execpt that it is where I already stand, that the government is an
_barely_ necessary evil, and needs to be made an unnecessary evil ASAP.

> You are absolutely right. However, as said above if governments (help =
> to) set up a security system then they should at least attempt to make =
> criminal abuse difficult. The lock on my bicycle is not really 100% =
> either (as I found out quite to often); if I'd no lock at all I would =
> have a lot more problems. Also, I am *not* for a mandatory system.

     If you had _no_ lock at all, and locks weren't avaiable, guess what?
Your bike would get stolen _less_ often because you wouldn't let it out of
your sight (well, I wouldn't let _mine_, but I spent a LOT of money (for me)
on mine, so...)

     And no, a lock isn't 100%. Nothing man made is. Nothing natural is.

     Ask yourself this, given a foe with more resources than you, can
you keep him _out_ of a given computer system? Not totally.

Petro, Christopher C.
<EMAIL_ADDRESS><prefered for any non-list stuff>
<EMAIL_ADDRESS>

{% endraw %}
```

## Thread

+ Return to [October 1996](/archive/1996/10)

+ Return to "[Eric Verheul <everheul@NGI.NL>](/authors/eric_verheul_everheul_at_ngi_nl_)"
+ Return to<EMAIL_ADDRESS>(Roy M. Silvernail)](/authors/roy_at_sendai_scytale_com_roy_m_silvernail_)"
+ Return to "[snow <snow@smoke.suba.com>](/authors/snow_snow_at_smoke_suba_com_)"

+ 1996-10-14 (Mon, 14 Oct 1996 15:19:24 -0700 (PDT)) - [RE: binding cryptography](/archive/1996/10/e5745a1f07f43da4116884a0ba38703693d3265963ed64c921aec008ae7c953e) - _Eric Verheul<EMAIL_ADDRESS>  + 1996-10-15 (Tue, 15 Oct 1996 06:01:45 -0700 (PDT)) - [Re: binding cryptography](/archive/1996/10/3aefa36976aa3bf00f454b11f1f894825a28c30dab5b0dc6b7157255a700c28a) -<EMAIL_ADDRESS>(Roy M. Silvernail)_
  + 1996-10-16 (Tue, 15 Oct 1996 18:56:24 -0700 (PDT)) - Re: binding cryptography - _snow<EMAIL_ADDRESS>


text:
# Examples
This folder contains a few examples that demonstrate the main features provided by Automate.

- [Basic](examples/basic.rs): Basic example with a few stateless listeners listening to messages and reactions and that responds by sending messages and creating invites
- [Counter](examples/counter.rs): Simple per guild and per user message counter, also shows two stateless listeners (invite generator and simple use of reactions).
- [Levels](examples/levels.rs): Example demonstrating the custom storage feature by creating a `Count` storage and using the provided ones.
- [Sharded](examples/sharding.rs): Shows how the sharding API works

repository: mbenoukaiss/automate

repo_name: mbenoukaiss/automate


text:
# Scry
### A simple language wrapping SQL

Writing SQL is a pain - all the joins, group bys, and so on.  A lot of it should be automatic - your schema is probably structured such that a sufficiently smart tool could figure out how to get from table A to table B.

Scry is that sufficiently smart tool.

At least, if you're using Postgres and foreign keys for joins, and can deal with some rough edges.  Otherwise, it's not that tool.  Yet.

## Status

This is just out of proof-of-concept; it seems useful, but is still very much in "get it done quick before I lose interest" mode.  So the code is all in one file, arranged in ways that Make Sense to Me, and probably has a bunch of poorly-named and redundant code.  Enter at your own risk.

## Installation

If you have Postgres headers installed, `python3 -m pip install git+https://github.com/edanaher/scry` should do the trick.

Pypi package coming once this has stabilized a bit.

## Usage

Command line options:

```
usage: scry [-h] [-c COMMAND] [-d DATABASE] [-l LIMIT] [-s SCHEMA]

optional arguments:
  -h, --help            show this help message and exit
  -c COMMAND, --command COMMAND
                        command to run
  -d DATABASE, --database DATABASE
                        database to connect to
  -l LIMIT, --limit LIMIT
                        row limit (0 for no limit)
  -s SCHEMA, --schema SCHEMA
                        default schema
```

If a command is given, it is run and scry exits; otherwise it drops into a REPL (with auto-completion!).  To exit the REPL, type `quit`, `exit`, or use Ctrl-D to send end-of-file.

The database is passed to libpq; the default is "", which is roughly equivalent to `postgresql://$USER@/$USER`.  You likely want to use `postgresql://postgres@` or `user=postgres` if you have a standard installation using the `postgres` user.  Of course, any standard Postgres connection string will work.

The limit is the number of rows returned from Postgres; this doesn't necessarily correspond to a meaningful count of values returned from scry (yet).  However, this avoids returning way too much data.

The schema is... currently in flux.  Right now it does nothing, but likely will do something again in the near future.

## Language description

### Queries

A scry query consists of a number of components; each can select a set of columns to return, (possibly joined through multiple tables), add a condition to be applied to the return set, add an alias to a table, or more than one of the above.

In general, tables are chained-together in an object-like style, and all components are merged together into one giant query (helpfully printed before the results.)  The results are also printed in a tree-like structure (by default, and always for now).  For example, using the test schema and data defined in test/info.sql:

The joins are figured out automatically using foreign key constraints; if a table has a foreign key constraint to another table, it's assumed that that's how the two tables should be joined.

```
> authors.name authors.books.title
SELECT scry.authors.id, scry.books.id, scry.authors.name, scry.books.title FROM scry.authors LEFT JOIN scry.books ON scry.authors.id = scry.books.author_id  LIMIT 100
- scry.authors.name: J.R.R. Tolkien
  - books.title: Fellowship of the Rings
  - books.title: The Two Towers
  - books.title: Return of the King
  - books.title: Beowolf
- scry.authors.name: J.K. Rowling
  - books.title: Harry Potter and the Philosopher's Stone
  - books.title: Harry Potter and the Prisoner of Azkaban
- scry.authors.name: Ted Chiang
  - books.title: Exhalation
```

This prints out each author's name, along with the title of every book they wrote.

Tables can also be more deeply nested, and multiple (comma-separated) columns can be selected:

```
> users.name  users.favorites.books.title,year  users.favorites.books.authors.name
SELECT scry.users.id, scry.favorites.user_id, scry.favorites.book_id, scry.books.id, scry.authors.id, scry.users.name, scry.books.title, scry.books.year, scry.authors.name FROM scry.users LEFT JOIN scry.favorites ON scry.users.id = scry.favorites.user_id LEFT JOIN scry.books ON scry.favorites.book_id = scry.books.id LEFT JOIN scry.authors ON scry.books.author_id = scry.authors.id  LIMIT 100
- scry.users.name: Winnie the Pooh
  - favorites.books.title: Harry Potter and the Philosopher's Stone
    favorites.books.year: 1997
    - authors.name: J.K. Rowling
  - favorites.books.title: Harry Potter and the Prisoner of Azkaban
    favorites.books.year: 1999
    - authors.name: J.K. Rowling
- scry.users.name: Tigger
  - favorites.books.title: Harry Potter and the Philosopher's Stone
    favorites.books.year: 1997
    - authors.name: J.K. Rowling
  - favorites.books.title: Exhalation
    favorites.books.year: 2019
    - authors.name: Ted Chiang
- scry.users.name: Piglet
```

Note that for each user, we join through multiple tables to get the title and publication year of their favorite books, as well as those books authors.  And if there is no favorite for that user, no joins show up under that user.

But you don't have to write out all of those tables every time; each table can only occur once in the query (unless aliased as described below), so just giving the unqualified table name will join in into the query at the appropriate point:

```
> users.name users.favorites.books.title,year books.authors.name
[ same output as above]
```

Still, if you have long table names, than can be unwieldy.  So you can also use `table@alias` to alias a table to a shorter name (like `AS` in sql) for later in the query:

```
><EMAIL_ADDRESS>u.favorites.books@b.title,year b.authors.name
[ same output as above]
```

However, if a table is aliased, that alias must be used in the rest of the query; in<EMAIL_ADDRESS>books.year`, `books` and `b` refer to two different instances of the `books` table.  (And as multiple top-level tables aren't currently supported, this will give an error.)  However, this does allow for joins at multiple levels, which will be more useful with conditions.

Instead of individual columns, `*` or no column can be provided; this selects all columns from the table:

```
> authors
SELECT scry.authors.id, scry.authors.id, scry.authors.name FROM scry.authors  LIMIT 100
- scry.authors.id: 1
  scry.authors.name: J.R.R. Tolkien
- scry.authors.id: 2
  scry.authors.name: J.K. Rowling
- scry.authors.id: 3
  scry.authors.name: Ted Chiang
```

Experimental: If the final table in a path is followed by '.,', no output is produced; however, aliases are produced.  This can be useful to save some typing:

```
> users.name<EMAIL_ADDRESS>b.year b.authors.name
```

In this case, the second path just generates the `b` alias which is used later in the query.

However, this seems like a weird syntax that may change.  A trailing period seems like a good way to do this<EMAIL_ADDRESS>can be read as an empty list.  But this makes the parser whitespace-dependent: `books@b. b.` will currently be parsed as<EMAIL_ADDRESS>which is bad.  The first attempt used `%` as a special terminator, but that was weird and used up a character.  This syntax is also weird, but is otherwise nonsensical, and can be read either as a comma-separated list of empty fields, so fetches nothing, or as an empty column like a trailing period, but with a comma as a separator before the next path

### Conditions

The set of results can be constrained by conditions of the form `table.column [op] value`, where op is one of the standard SQL (in)equality operators (`<=`, `<`, `==`, `<>`, `>=`, `>`), `LIKE`, or `ILIKE`.  The field may have multiple join tables before it.  However, `value` (for now) must be a literal number or string, not another column.

```
> books.authors books.title = "Fellowship of the Rings"
SELECT scry.books.id, scry.authors.id, scry.authors.id, scry.authors.name FROM scry.books LEFT JOIN scry.authors ON scry.books.author_id = scry.authors.id  WHERE scry.books.title = 'Fellowship of the Rings' LIMIT 100
- scry.books.authors.id: 1
  scry.books.authors.name: J.R.R. Tolkien

> books.title,year books.year < 1960
SELECT scry.books.id, scry.books.title, scry.books.year FROM scry.books  WHERE scry.books.year < 1960 LIMIT 100
- scry.books.title: Fellowship of the Rings
  scry.books.year: 1954
- scry.books.title: The Two Towers
  scry.books.year: 1954
- scry.books.title: Return of the King
  scry.books.year: 1955
```

This makes it sensible to have multiple copies of a table; for example, to find all books by the author of "Fellowship of the Rings", select the book whose title is "Lord of the Rings", and then find its author and all of his books:

```
><EMAIL_ADDRESS>books.title = "Fellowship of the Rings"
SELECT scry.books.id, scry.authors.id, b.id, b.title FROM scry.books LEFT JOIN scry.authors ON scry.books.author_id = scry.authors.id LEFT JOIN scry.books AS b ON scry.authors.id = b.author_id  WHERE scry.books.title = 'Fellowship of the Rings' LIMIT 100
- scry.books.authors.b.title: Fellowship of the Rings
- scry.books.authors.b.title: The Two Towers
- scry.books.authors.b.title: Return of the King
- scry.books.authors.b.title: Beowolf
```

However, there's another way to do this - a condition doesn't have to be on the whole path: `:` can be read as "such that":

```
> authors.books.title authors:books.title = "Fellowship of the Rings"
SELECT scry.authors.id, scry.books.id, scry.books.title FROM scry.authors LEFT JOIN scry.books ON scry.authors.id = scry.books.author_id  WHERE authors.id IN (SELECT scry.authors.id FROM scry.authors LEFT JOIN scry.books ON scry.authors.id = scry.books.author_id WHERE scry.books.title = 'Fellowship of the Rings') LIMIT
100
- scry.authors.books.title: Fellowship of the Rings
- scry.authors.books.title: The Two Towers
- scry.authors.books.title: Return of the King
- scry.authors.books.title: Beowolf
```

This condition can be read as "authors such that they join to a row of books with title 'Fellowship of the Rings'"; in other words, this finds authors that have a book named "Fellowship of the Rings", and then prints their books' titles.  Tables named after a colon are separately namespaced from the rest of the query.

Note that without the colon, this restricts to only books that have that title, so only gives back the one book:

```
> authors.books.title authors.books.title = "Fellowship of the Rings"
SELECT scry.authors.id, scry.books.id, scry.books.title FROM scry.authors LEFT JOIN scry.books ON scry.authors.id = scry.books.author_id  WHERE scry.books.title = 'Fellowship of the Rings' LIMIT 100
- scry.authors.books.title: Fellowship of the Rings
```

## Implementation

TODO

## Tests

Currently, the tests are pretty much generated, and require the database to be set up just right.  There's a TODO to fix this.

## TODO:
- aggregations
- proper schema inference (cross-schema joins: track all possible schemas)
  - search\_path to limit
- path finding (table1..table3, find join via table.table2.table3)
- defined connection strings
- list tables in schema
- schema aliases
- generally squash the bugs and clean some things up.
- make tests easier to run.
- sorting
- other output formats (psql-style table, list of fields)
- column aliases (for output)
- handle cross-schema joins
- test tab completion

repository: edanaher/scry

repo_name: edanaher/scry


text:
# react-github-corner

[![NPM version](https://badge.fury.io/js/react-github-corner.svg)](http://badge.fury.io/js/react-github-corner)
[![Dependency Status](https://david-dm.org/skratchdot/react-github-corner.svg)](https://david-dm.org/skratchdot/react-github-corner)
[![devDependency Status](https://david-dm.org/skratchdot/react-github-corner/dev-status.svg)](https://david-dm.org/skratchdot/react-github-corner#info=devDependencies)

[![NPM](https://nodei.co/npm/react-github-corner.png)](https://npmjs.org/package/react-github-corner)

## Description

Add a Github banner to your project page. A React version of:

- [https://github.com/tholman/github-corners](https://github.com/tholman/github-corners)

## Getting Started

Install the module with: `npm install --save react-github-corner`

## Usage

```javascript
import React, { Component } from 'react';
import GithubCorner from 'react-github-corner';
export default class MyApp extends Component {
  render() {
    return (
      <div>
        <header>Wow</header>
        <div>Cool</div>
        <footer>Neat</footer>
        <GithubCorner href="https://github.com/username/repo" />
      </div>
    );
  }
}
```

## Documentation

Here are the props you can pass to the `GithubCorner` instance:

| Property Name | Type | Default Value | Description |
|:-------------:|:----:|:-------------:|-------------|
| href | String | '/' | The link to your project page |
| size | Number or String | 80 | The width and height of the banner |
| direction | String | 'right' | Whether the banner shows up on the right or left |
| octoColor | String | '#fff' | The CSS color of the Octocat |
| bannerColor | String | '#151513' | The CSS color of the banner |
| ariaLabel | String | 'Open GitHub project' | The aria-label for a11y support |
| className | String | undefined | Additional class names to be merged with the `github-corner` default |
| svgStyle | Object | undefined | Custom styles to apply to the main `svg` element |

Any additional props will be added to the `<a />` tag that is rendered.
For instance, you can do:
```
<GithubCorner style="display:none" />
```
and the `style` attribute will be rendered (which will hide the element).

## Links

- [Source Code](https://github.com/skratchdot/react-github-corner/)
- [Project Page](http://projects.skratchdot.com/react-github-corner/)
- [Project Page Source](https://github.com/skratchdot/react-github-corner/tree/gh-pages)

## License
Copyright (c) 2015 [skratchdot](http://skratchdot.com/)
Licensed under the [MIT license](LICENSE-MIT).

repository: skratchdot/react-github-corner

gha_language: JavaScript

repo_name: skratchdot/react-github-corner


text:
# React Native Expo Template

[![runs with Expo Go](https://img.shields.io/badge/Runs%20with%20Expo%20Go-000.svg?style=flat-square&logo=EXPO&labelColor=f3f3f3&logoColor=000)](https://expo.io/client)

A simple Expo template with the following features:

- Prettier configured
- React Navigation v5
- Boosted navigator animation for an increased visual performance
- Intermediary project structure
- Small component library to get started with
- LightTheme and DarkTheme pre-configureds
- UseContext with UseReducer to manage global contexts
- Responsive fontsize

It's easy to create a project, strip out the few components included, and still have the architecture in place to quickly start building an app.

## Usage

> Be sure to have the [Expo CLI](https://docs.expo.io/workflow/expo-cli/) installed.

```bash
expo init --template @ctrl-mota/expo-template
```

- Run on iOS: `yarn ios` or `npm run ios`
- Run on Android: `yarn android` or `npm run android`
- Run expo clear on any plataform: `yarn clear` or `npm run clear`
- Check Code: `yarn check` or `npm run check`
- Format Code: `yarn format` or `npm run format`

## Themes

### Android

![Light Theme](./assets/screenshots/android/light_theme.png)

![Dark Theme](./assets/screenshots/android/dark_theme.png)

### IOS

![Light Theme](./assets/screenshots/ios/light_theme.png)

![Dark Theme](./assets/screenshots/ios/dark_theme.png)

repository: Ctrl-Mota/expo-template

repo_name: Ctrl-Mota/expo-template


text:
---
layout: default
---

{{ site.theme_config.back_home_text }}

Display the typical courses of a given problem over time in patients similar to the one I'm treating

As a physician responsible for treating this patient with this problem

I want to see the typical courses of that problem in similar patients

so that I can make the decisions which will take the patient through the most favorable course, avoiding the worst outcomes

Join the discussion [here](https://github.com/MIS-GrApH-AI/mis-graph-ai.github.io/discussions/16).

gha_language: HTML


text:
# Module 4: Using Page Designer - Updating the Milestones Page
Now, that you have created a new app with a new milestone page with an interactive grid. You will now update the columns and save report in the application itself.

### **Part 1: Freezing and Resizing the Columns**

1. Click the column heading **Name** and click **Freeze**.
    ![](images/4/action-freeze.png)
2. Hover between the **Project** and **Name** columns until a bar displays.
3. Drag to the right until the **Project** resizes to a suitable size. Repeat for other columns.
    ![](images/4/adjust-column.png)

### **Part 2: Saving the Report**

- Click **Actions**, select **Report**, click **Save**.
    ![](images/4/save-report.png)
    ![](images/4/save-report-result.png)

TODO. [Click here to navigate to Module 5](5-creating-a-page-to-update-project-records-add-the-project-form-page.md)

gha_language: PLSQL


text:
# New RailsCasts Theme for VSCode

A theme for VS Code. The code and structure was lifted from Wes Bos' [awesome Cobalt2 theme](https://github.com/wesbos/cobalt2-vscode/), and consiquently has a lot in common. The color scheme is loosley based on [Ryan Bates](https://twitter.com/rbates)' railscasts theme for TextMate.

# Installation

1. Open **Extensions** sidebar panel in VS Code. `View → Extensions`
2. Search for `DannySmith`
3. Click **Install** to install it
4. Click **Reload** to reload the your editor
5. File > Preferences > Color Theme > **DannySmith**
6. Optional: Install [this plugin](https://github.com/be5invis/vscode-custom-css).
7. Optional: Create a `.vscodestyles.css` in your home directory for custom CSS.
8. Optional: Use the recommended settings below

## Recommended User Settings

```js

}
```

## CSS Hacks For a better editor
Some things in VS code can't be controlled by settings, but you can install [this plugin](https://github.com/be5invis/vscode-custom-css), then make a file on your computer that will hold your custom CSS, I've followed Wes' advice and created one in my home directory called `~/.vscodestyles.css` and then put this everything in [custom-css.css](https://github.com/wesbos/cobalt2-vscode/blob/master/./custom-css.css) in it.

Once done, open your command palette and select enable **custom CSS and JS**

Finally reload your editor and the Custom CSS should be working.

## Contributing
This is a bit weird, but to get some sort of live feedback for when editing a theme. Please let me know if you have a saner way of doing it

1. Open this repo in your terminal and type `npm install`
1. Start to watch for change on the repo with `npm start` - this runs a nodemon task for you and will automatically recompile any changes
1. Open this repo in VS Code
1. Open your command palette and hit type **VSIX**. Select the one that says **Extensions: Install from VSIX...`
1. Load the VSIX file that was created a few steps back
1. Set your editor to use _this_ Cobalt2 theme - it might help to change the name in package.json to something like "Cobalt2 Dev" so you can differentiate from the Cobalt2 you've installed from the marketplace. If you get confused, just delete all traces of Cobalt2 and then load the VSIX.
1. Go to the debug sidebar `View → Debug`
1. Press the green arrow beside "Launch Extension"
1. This will then open a second window.
1. Make a change, and then hit the refresh button on your debug toolbar - this is in your first editor - not the one that poped open.
1. Wait a sec, your changes should now be reflected!

Whew. Again, if you have an easier way to style these things, let me know!

## Thanks

Wes and Ryan, obviously.

repository: dannysmith/newrailscasts-vscode

repo_name: dannysmith/newrailscasts-vscode


text:
mnfstfwd
========

Forward emails onto mnfst.io.

Usage
-----

In `/etc/mail/aliases`:

```
announce: |/usr/local/bin/mnfstfwd
```

Installation
------------

This depends on the GPGME library, so install that first.

Clone the repo, run `bundle`.

Meta
----

Written by Mike Burns in 2015. ISC license.

license: ISC

repository: mnfst/mnfstfwd

repo_name: mnfst/mnfstfwd


text:
# django project template

I made it to reduce hours which is needed to bootstrap django project "as it should be".

Libs used:
* [Django](https://www.djangoproject.com/)
* [Fabric](http://docs.fabfile.org/en/1.8/)
* [Django Rest Framework](http://www.django-rest-framework.org/)
* [Django Suit](http://djangosuit.com/)

How to start (linux/osx):
* Clone project from github `git@github.com:istinspring/django-project-template.git`
* Rename project folder and 'cd' to it.
* Create virtualenv `virtualenv .env` and activate it `source .env/bin/activate`
* Install requirements `pip install -r requirements/dev.txt`
* Generate secret_key.py file `fab generate_secret_key_file`
* Create database `python manage.py syncdb`
* You'll need to [install bower](http://bower.io/#installing-bower) to manage front-end dependencies
* go to "static" folder and run `bower install`
* Finally run - `python manage.py runserver`

Future:
* Add more libs like south/sorl.thumbnail
* Configure Django-rest-framework
* Make a demo
* Deployment scripts for ec2/digitalocean/heroku

repository: oiwn/django-project-template

repo_name: oiwn/django-project-template