names
stringlengths
1
98
readmes
stringlengths
8
608k
topics
stringlengths
0
442
labels
stringclasses
6 values
FreeRTOS-EDF-and-FCFS-scheduling-implementation
arduino freertos edf and fcfs scheduling implementation i have implemented the edf and fcfs scheduling algorithms in freertos for arduino boards as part of my real time and embedded systems course assignments
os
kotal
kotal operator kotal operator is a cloud agnostic blockchain deployer that makes it super easy to deploy highly available self managing self healing blockchain infrastructure networks nodes storage clusters on any cloud what can i do with kotal operator deploy bitcoin rpc nodes deploy ipfs peers and cluster peers deploy ipfs swarms deploy ethereum transaction and mining nodes deploy ethereum 2 beacon and validation nodes deploy private ethereum networks deploy near rpc archive and validator nodes deploy polkadot rpc and validator nodes deploy chainlink nodes deploy filecoin nodes deploy filecoin backed pinning services fps deploy stacks rpc and api nodes deploy aptos full and validator nodes kubernetes custom resources kotal extended kubernetes with custom resources in different api groups protocol description api group status aptos deploy aptos full and validator nodes aptos kotal io v1alpha1 alpha bitcoin deploy bitcoin nodes bitcoin kotal io v1alpha1 alpha chainlink deploy chainlink nodes chainlink kotal io v1alpha1 alpha ethereum deploy private and public network ethereum nodes ethereum kotal io v1alpha1 alpha ethereum 2 0 deploy validator and beacon chain nodes ethereum2 kotal io v1alpha1 alpha filecoin deploy filecoin nodes filecoin kotal io v1alpha1 alpha graph deploy graph nodes graph kotal io v1alpha1 alpha ipfs deploy ipfs peers cluster peers and swarms ipfs kotal io v1alpha1 alpha near deploy near rpc archive and validator nodes near kotal io v1alpha1 alpha polkadot deploy polkadot nodes and validator nodes polkadot kotal io v1alpha1 alpha stacks deploy stacks rpc and api nodes stacks kotal io v1alpha1 alpha client support for each protocol kotal supports at least 1 client reference client protocol client s aptos aptos core https github com aptos labs aptos core bitcoin bitcoin core https github com bitcoin bitcoin chainlink chainlink https github com smartcontractkit chainlink ethereum hyperledger besu https github com hyperledger besu go ethereum https github com ethereum go ethereum nethermind https github com nethermindeth nethermind ethereum 2 0 teku https github com consensys teku prysm https github com prysmaticlabs prysm lighthouse https github com sigp lighthouse nimbus https github com status im nimbus eth2 filecoin lotus https github com filecoin project lotus graph graph node https github com graphprotocol graph node ipfs kubo https github com ipfs kubo ipfs cluster service https github com ipfs ipfs cluster near nearcore https github com near nearcore polkadot parity polkadot https github com paritytech polkadot stacks stacks node https github com stacks network stacks blockchain install kotal kotal requires access to kubernetes cluster with cert manager installed for development purposes we recommend kind https kind sigs k8s io kubernetes in docker to create kubernetes clusters and tear down kubernetes clusters in seconds bash kind create cluster after the cluster is up and running install https cert manager io docs installation kubernetes cert manager bash kubectl apply f https github com jetstack cert manager releases download v1 5 3 cert manager yaml install kotal custom resources and controllers bash kubectl apply f https github com kotalco kotal releases download v0 2 0 kotal yaml example ethereum node using hyperleger besu client joining goerli network and enabling rpc http server yaml ethereum node yaml apiversion ethereum kotal io v1alpha1 kind node metadata name ethereum node spec client besu network goerli rpc true bash kubectl apply f ethereum node yaml documentation kotal documentation is available here https docs kotal co get in touch discord https discord com invite ktxy4sa website https kotal co kotalco https twitter com kotalco mostafa kotal co mailto mostafa kotal co contriubuting todo licensing kotal blockchain kubernetes operator is free and open source software licensed under the apache 2 0 license license
kubernetes blockchain ethereum ipfs filecoin ethereum2 algorand polkadot chainlink bitcoin stacks near graph polygon
blockchain
hsmcpp
mit license https img shields io badge license mit blue svg https github com igor krechetov hsmcpp blob main license changelog https img shields io badge changelog v1 0 0 green svg https github com igor krechetov hsmcpp blob main changelog md documentation status https readthedocs org projects hsmcpp badge version latest https hsmcpp readthedocs io en latest badge latest releases latest release https img shields io github v tag igor krechetov hsmcpp label latest 20release https github com igor krechetov hsmcpp tags platformio registry https badges registry platformio org packages igor krechetov library hsmcpp svg https registry platformio org libraries igor krechetov hsmcpp arduino library badge https www ardu badge com badge hsmcpp svg https www ardu badge com hsmcpp quality status build status https github com igor krechetov hsmcpp actions workflows build yml badge svg https github com igor krechetov hsmcpp actions workflows build yml static code analysis sca misra https github com igor krechetov hsmcpp actions workflows sca misra yml badge svg https github com igor krechetov hsmcpp actions workflows sca misra yml sca codeql https github com igor krechetov hsmcpp actions workflows sca codeql yml badge svg https github com igor krechetov hsmcpp actions workflows sca codeql yml sca coverity https img shields io coverity scan 27361 svg https scan coverity com projects igor krechetov hsmcpp unit tests coverage status https coveralls io repos github igor krechetov hsmcpp badge svg branch main https coveralls io github igor krechetov hsmcpp branch main tests std https raw githubusercontent com igor krechetov hsmcpp build artifacts tests result std svg https github com igor krechetov hsmcpp blob build artifacts tests result std log tests glib https raw githubusercontent com igor krechetov hsmcpp build artifacts tests result glib svg https github com igor krechetov hsmcpp blob build artifacts tests result glib log tests glibmm https raw githubusercontent com igor krechetov hsmcpp build artifacts tests result glibmm svg https github com igor krechetov hsmcpp blob build artifacts tests result glibmm log tests qt https raw githubusercontent com igor krechetov hsmcpp build artifacts tests result qt svg https github com igor krechetov hsmcpp blob build artifacts tests result qt log overview hsmcpp is a c library providing implementation of state machine design pattern also known as statecharts it allows you to easily add hierarchical hsm or finite state machine fsm to your project the main motivation behind creating it was the lack of suitable non commercial alternatives which do not require the usage of large frameworks and even existing commercial solutions couldn t satisfy all project needs that i usually have to deal with this is in no way a silver bullet library but it might be useful for you when dealing with rtos systems multi threading or event driven applications it s also applicable for single threaded and synchronous applications but it might not be the most efficient option if you are not familiar with hsm fsm design concept and which problems it helps you solve i recommend reading welcome to the world of statecharts https statecharts dev introduction to hierarchical state machines https barrgroup com embedded systems how to introduction hierarchical state machines hierarchical finite state machine for ai acting engine https towardsdatascience com hierarchical finite state machine for ai acting engine 9b24efc66f2 and if you just want to know if state machines are for you or not here is a quick list taken from statecharts dev https statecharts dev why should you use statecharts statecharts offer a surprising array of benefits it s easier to understand a statechart https statecharts dev benefit easy to understand html than many other forms of code the behaviour is decoupled https statecharts dev benefit decoupled behaviour component html from the component in question this makes it easier to make changes to the behaviour https statecharts dev benefit make changes to the behaviour html it also makes it easier to reason about the code https statecharts dev benefit reason about code html and the behaviour can be tested independently https statecharts dev benefit testable behaviour html of the component the process of building a statechart causes all the states to be explored https statecharts dev benefit all states explored html studies have shown that statechart based code has lower bug counts https statecharts dev benefit low bug count html than traditional code statecharts lends itself to dealing with exceptional situations https statecharts dev benefit handle anomalies html that might otherwise be overlooked as complexity grows statecharts scale well https statecharts dev benefit scales with complexity html a statechart is a great communicator non developers can understand the statecharts https statecharts dev benefit non developers understanding html while qa can use a statecharts as an exploratory tool https statecharts dev benefit qa exploration tool html it s worth noting that you re already coding state machines https statecharts dev benefit explicit html except that they re hidden in the code why should you not use statecharts there are a few downsides to using statecharts that you should be aware of programmers typically need to learn something new https statecharts dev drawback learn new technique html although the underpinnings state machines would be something that most programmers are familiar with it s usually a very foreign way of coding https statecharts dev drawback foreign paradigm html so teams might experience pushback based on how very different it is there is an overhead to extracting the behaviour in that the number of lines of code might increase https statecharts dev drawback lines of code html with smaller statecharts why are they not used people don t know about them and yagni https statecharts dev faq why statecharts are not used html what are the main arguments against statecharts there are a few common arguments against statecharts in addition to the ones listed above it s simply not needed https statecharts dev faq an event always has one action html it goes against the grain https statecharts dev faq goes against grain html of insert name of technology it increases the number of libraries https statecharts dev faq increases number of libraries html for web applications this means increased load time the benefits outlined above should make it clear that the introduction of statecharts is generally a net positive key features generic visual state machine editors through thirdparty editors https hsmcpp readthedocs io en latest code generation editors editors html code generation https hsmcpp readthedocs io en latest code generation code generation html based on w3c scxml format https www w3 org tr scxml plantuml diagrams generation from scxml files asynchronous synchronous execution thread safety supported platforms posix compliant systems windows arduino freertos configurable event dispatchers https hsmcpp readthedocs io en latest platforms platforms html built in dispatchers std thread based glib based glibmm based qt based freertos based arduino based possibility to implement your own dispatcher https hsmcpp readthedocs io en latest platforms platforms html implementing custom dispatchers visual debugger https hsmcpp readthedocs io en latest tools hsmdebugger hsmdebugger html to help analyze state machine behavior state machine related states https hsmcpp readthedocs io en latest features states states html substates https hsmcpp readthedocs io en latest features substates substates html possible to define hierarchy transitions https hsmcpp readthedocs io en latest features transitions transitions html history https hsmcpp readthedocs io en latest features history history html timers https hsmcpp readthedocs io en latest features timers timers html state and transition callbacks https hsmcpp readthedocs io en latest code generation scxml scxml html callbacks definition enter exit state changed on transition passing data to state and transition callbacks parallel states https hsmcpp readthedocs io en latest features parallel parallel html final states https hsmcpp readthedocs io en latest features substates substates html final state conditional transitions https hsmcpp readthedocs io en latest features transitions transitions html conditional transitions conditional entry points https hsmcpp readthedocs io en latest features substates substates html conditional entry points state actions https hsmcpp readthedocs io en latest features states states html state actions self transitions https hsmcpp readthedocs io en latest features transitions transitions html self transitions transition cancelation support for std function and lambdas as callbacks documentation documentation is available online https hsmcpp readthedocs io hsm gui editors check out documentation https hsmcpp readthedocs io en latest code generation editors editors html to learn more about available editors editing hsm in qt creator https hsmcpp readthedocs io en latest images editor qt png editing hsm in scxmlgui https hsmcpp readthedocs io en latest images editor scxmlgui png hsmdebugger read documentation https hsmcpp readthedocs io en latest tools hsmdebugger hsmdebugger html for details on how to use debugger hsmdebugger demo https hsmcpp readthedocs io en latest images hsmdebugger demo gif installation bash git clone https github com igor krechetov hsmcpp git cd hsmcpp build sh cd build make install by default it will build all included components tests and examples you can disable any of them using cmake build flags for example you probably will not have glib or glibmm libraries available on windows so you might want to exclude them see detailed instructions in documentation https hsmcpp readthedocs io en latest getting started getting started html building the library dependencies for library c 11 or newer glib optional for dispatcher glibmm optional for dispatcher qt optional for dispatcher for build cmake 3 16 visual studio 2015 for windows build for code generator python 3 for hsmdebugger python 3 pyyaml pip3 install pyyaml pyside6 pip3 install pyside6 plantuml minimal version v1 2020 11 creating a simple state machine hsm structure hello wolrd hsm https hsmcpp readthedocs io en latest static images 00 helloworld png implementation using hsmeventdispatcherstd c include chrono include thread include hsmcpp hsm hpp include hsmcpp hsmeventdispatcherstd hpp enum class states off on enum class events switch int main const int argc const char argv std shared ptr hsmcpp hsmeventdispatcherstd dispatcher hsmcpp hsmeventdispatcherstd create hsmcpp hierarchicalstatemachine states events hsm states off hsm initialize dispatcher hsm registerstate states off hsm const variantlist t args printf off n std this thread sleep for std chrono milliseconds 1000 hsm transition events switch hsm registerstate states on hsm const variantlist t args printf on n std this thread sleep for std chrono milliseconds 1000 hsm transition events switch hsm registertransition states off states on events switch hsm registertransition states on states off events switch hsm transition events switch dispatcher join return 0 see examples 07 build https github com igor krechetov hsmcpp tree main examples 07 build for cmake configuration examples for other examples see getting started guide https hsmcpp readthedocs io en latest getting started getting started html or examples https github com igor krechetov hsmcpp tree main examples notable fsm hsm libraries there is no one for all library so if hsmcpp doesn t fully suit your needs you can check out one of these alternatives qt https github com qt qtscxml using qstatemachine or qscxmlstatemachine qp c https github com quantumleaps qpcpp tinyfsm https github com digint tinyfsm another finite state machine https github com zmij afsm hfsm2 https github com andrew gresyk hfsm2 arduino fsm https github com jonblack arduino fsm
finite-state-machine hierarchical-state-machine fsm hsm fsm-library state-machine embedded-systems rtos uml-state-machine embedded freertos cpp
os
Predator
predator copyright 2023 v0lt conner vieira an offline privacy centric license plate recognition platform predator lprs header assets images branding predatorheaderlight svg disclaimer while predator is designed to be stable and reliable you should not depend on it for safety or security critical tasks see the security md security md document for more information description predator is a multipurpose camera platform focused on license plate reading and object recognition predator can analyze pre recorded video from dashcams security cameras or other devices as well as real time video streams from live vehicle mounted cameras and static webcams in addition to video analysis predator is also capable of acting as a traditional dash cam or security camera eliminating the need to install multiple devices for a single usage situation when installed in a vehicle predator can seamlessly detect objects and license plates as you drive sending you alerts automatically based on customizable criteria when installed as a stationary security camera predator can run in the background and use push notifications or audio alerts to indicate important events general features lightweight the predator interface uses very little resources allowing the majority of your processing power to remain available for license plate recognition object detection and database analysis offline predator works entirely offline and never needs to connect to the internet to function predator only ever makes network requests when the user actively asks it to download information from a network host free predator is completely free to use and contains absolutely no ads or data mining of any kind open source predator is free and open source from top to bottom and is free software meaning you can make changes and distribute them to others freely generic by design predator doesn t require specialized hardware to run while higher resolution cameras will obviously yield better results any video format supported by ffmpeg will work with predator easy while being technically mindedly will certainly help predator doesn t require professional installation or setup to function as long as you re reasonably experienced with the linux command line setting up predator should be a piece of cake private since predator is open source self hosted offline and self contained you can rest assured that it s completely private and it doesn t collect any of the information you provide it multipurpose predator is deliberately designed to be multipurpose it can operate both as an analysis tool for pre recorded video as well as a real time monitoring program predator can even act as a standalone dashcam when license plate reading is unnecessary customizable predator is extremely customizable making it easy to fit into any use case whether you want an intelligence security camera or a powerful dashcam device predator can be adjusted to fit your needs mobile predator is designed to support low energy usage hardware such that it can be easily installed in a vehicle a single usb port is enough to power an entire predator system location aware predator supports gpx files to allow for correlating license plates detected in pre recorded video to their physical coordinates this makes information gathered from analyzing long streams of dashcam video much more useful and effective alerts predator supports customizable real time alerts allowing the user to be notified when a license plate matching one on a list is detected through audible sound alerts visual cues and push notifications safe predator is designed to be safe regardless of the installation context it s easy to configure predator to completely hands and eyes free ensuring that you don t have to look away from the road when predator runs in a mobile context dashcam predator comes with a dash cam mode allowing for customizable real time recording without processing license plates dash cam videos can later be processed by predator in pre recorded mode predator s dash cam mode allows for multi channel recording provided the hardware supports it making it easy to simultaneously record multiple angles using multiple cameras headless ready while predator comes with a straight forward interface it can be fully configured to run in headless mode without any user interaction necessary this makes it perfect for vehicle installations where the driver wants predator to automatically start when the vehicle turns on without any user input object recognition in addition to license plate scanning predator also supports general object recognition it can collect a list of common objects and save them to a file making it easy to find important events in recorded video documented predator s extreme customizability can be a bit overwhelming to new users for this reason predator is extensively documented and comes bundled with step by step guides on how to download it install it configure it and run it dependable while it shouldn t be trusted with safety critical tasks predator is designed to be extremely dependable regardless when configured appropriately steps are taken to decrease the likelihood that predator will fail to alert to a true positive due minor mistakes in the analysis modes predator is an extremely versatile platform and supports several different modes to better support all situations and use cases management mode 0 management mode isn t exactly a primary mode of predator but it allows the user to configure maintain and manage predator from within the program pre recorded mode 1 pre recorded mode allows predator to analyze pre recorded video and detect license plates and objects real time mode 2 real time mode allows predator to detect license plates and objects in real time video streams dash cam mode 3 dash cam mode allows predator to record video without running any analysis or computer vision processing screenshots real time mode alert when operating in real time mode predator can display alerts when it detects a plate found in a configured database alert hit sample image assets images screenshots alerthit png pre recorded mode sample image while operating in pre recorded mode predator can analyze any video including dashcam video note that the screenshot below is for demonstrative purposes and shows what kinds of information predator can detect it does not accurately reflect the predator user interface dashcam sample image assets images screenshots dashcamsample png pre recorded sample analysis after scanning through an entire pre recorded video based on user configured preferences predator can display and export all of the plates it detected dashcam analysis output assets images screenshots dashcamdetect png
video realtime alpr openalpr computer-vision dashcam security data-analysis license-plate-recognition object-detection tensorflow opencv-python license-plate-detection object-recognition gpx-files gps
ai
gafewd
p align center img src assets img fewd logo png p ga fewd course website and notes a static web portal and notes for general assembly s part time frontend web development fewd course hosted at http fewd nyc http fewd nyc using surge sh http surge sh please feel free to fork for your own class contributions are welcome if you are looking for just the static web portal see https github com cheshireoctopus gafewd portal https github com cheshireoctopus gafewd portal if you are looking for just the notes see https github com cheshireoctopus gafewd notes https github com cheshireoctopus gafewd notes note are you teaching jsd be sure to checkout https github com cheshireoctopus gajsd https github com cheshireoctopus gajsd setup 1 if deploying through surge add a cname file containing your desired url in the public directory more info http surge sh help remembering a domain 2 sass files live at assets sass and are compiled to public css build css by running bin sass from root workflow you will notice that the materials and notes directories exist both at the root of this project as well as inside of the public directory as the two directories at the project root are not exposed to the public i use them as a workplace once the notes and materials for a particular class are complete i move the associated files into the public directory
front_end
iot
iot ci https github com mmontes11 iot actions workflows ci yml badge svg https github com mmontes11 iot actions workflows ci yml release https github com mmontes11 iot actions workflows release yml badge svg https github com mmontes11 iot actions workflows release yml artifact hub https img shields io endpoint url https artifacthub io badge repository iot https artifacthub io packages helm mmontes iot license mit https img shields io badge license mit yellow svg https opensource org licenses mit stackshare https img shields io badge tech stack 0690fa svg style flat https stackshare io mmontes11 iot general purpose internet of things platform installation local tmux install tmux https github com tmux tmux configure env files common env example back packages back env example biot packages biot env example front packages front env example thing packages thing env example worker packages worker env example bash scripts run dev sh kubernetes helm bash helm repo add mmontes https mmontes11 github io charts helm install iot mmontes iot things once everything is up and running it is time to start deploying things iot raspi sensors https github com mmontes11 iot raspi sensors iot raspi door https github com mmontes11 iot raspi door alternatively you can start a mock thing bash npm run start thing
javascript nodejs express mongodb redis raspberry-pi raspi sensor telegram bot react redux docker kubernetes iot internet-of-things iot-platform helm helm-charts github-actions
server
SQL_Employee-Database
sql employeedb employee database a mystery in two parts sql png sql png background it is a beautiful spring day and it is two weeks since you have been hired as a new data engineer at pewlett hackard your first major task is a research project on employees of the corporation from the 1980s and 1990s all that remain of the database of employees from that period are six csv files in this assignment you will design the tables to hold data in the csvs import the csvs into a sql database and answer questions about the data in other words you will perform 1 data modeling 2 data engineering 3 data analysis instructions data modeling inspect the csvs and sketch out an erd of the tables feel free to use a tool like http www quickdatabasediagrams com http www quickdatabasediagrams com data engineering use the information you have to create a table schema for each of the six csv files remember to specify data types primary keys foreign keys and other constraints import each csv file into the corresponding sql table data analysis once you have a complete database do the following 1 list the following details of each employee employee number last name first name gender and salary 2 list employees who were hired in 1986 3 list the manager of each department with the following information department number department name the manager s employee number last name first name and start and end employment dates 4 list the department of each employee with the following information employee number last name first name and department name 5 list all employees whose first name is hercules and last names begin with b 6 list all employees in the sales department including their employee number last name first name and department name 7 list all employees in the sales and development departments including their employee number last name first name and department name consult sqlalchemy documentation https docs sqlalchemy org en latest core engines html postgresql for more information
server
Mobile-Dev-Workspace
mobile dev workspace workspace untuk anggota bidang mobile development harap gunakan repo ini untuk upload source code yang dikerjakan setelah pelatihan programming anggota diperbolehkan untuk mem pull request di repo utama club tetapi lebih diutamakan mempublish di repo yang telah di fork ke account local
front_end
icevision
div align center img src images icevision logo slogan png alt logo width 535px style display block margin left auto margin right auto h2 b an agnostic computer vision framework b h2 div tests https github com airctic icevision workflows tests badge svg event push https github com airctic icevision actions query workflow 3atests docs https github com airctic icevision workflows docs badge svg https airctic com codecov https codecov io gh airctic icevision branch master graph badge svg https codecov io gh airctic icevision pypi version https badge fury io py icevision svg https badge fury io py icevision downloads https pepy tech badge icevision https pepy tech project icevision black https img shields io badge code 20style black 000000 svg https github com psf black license https img shields io badge license apache 202 0 blue svg https github com airctic icevision blob master license discord https img shields io discord 735877944085446747 label discord logo discord https discord gg 2jqrwrq div icevision is the first agnostic computer vision framework to offer a curated collection with hundreds of high quality pre trained models from torchvision https github com pytorch vision open mmlab s mmdetection https github com open mmlab mmdetection ultralytic s yolov5 https github com ultralytics yolov5 ross wightman s efficientdet https github com rwightman efficientdet pytorch and soon pytorch image models it orchestrates the end to end deep learning workflow allowing to train networks with easy to use robust high performance libraries such as pytorch lightning https github com pytorchlightning pytorch lightning and fastai https github com fastai fastai icevision unique features data curation cleaning with auto fix access to an exploratory data analysis dashboard pluggable transforms for better model generalization access to hundreds of neural net models access to multiple training loop libraries multi task training to efficiently combine object detection segmentation and classification models not included in docs start installation bash pip install icevision all for more installation options check our docs https airctic com 0 7 0 install important we currently only support linux macos not included in docs end quick example how to train the fridge objects dataset a href https colab research google com github airctic icevision blob master notebooks getting started object detection ipynb target parent img src https colab research google com assets colab badge svg alt open in colab a image images icevision readme png image images icevision end to end training gif happy learning if you need any assistance feel free to join our forum https discord gg jdbezyk
object-detection deep-learning pytorch pytorch-lightning python fastai ai computer-vision effecientdet faster-rcnn mask-rcnn annotation-parsers tutorials coco-parser voc-parser pycocotools coco-dataset voc-dataset
ai
DTMT
dtmt d damaged t tooling m management and t tracking an application created to manage and track damaged tooling within a machining faucility damaged tooling management and tracking the goal of this application is create a database to track damaged tooling within a machining facility and send valuable data and insight on said tooling to an engineering department for further investigation under development application make up dtmt uses tkinter to render a simple display to a user and allows them to input their employee information and enter the damaged tooling into the database the two main databases in this stage of development use sqlite3 currently two main databases are being engineered employee and damaged tooling later in development matplotlib will be used to display tooling information in a human readable manner to the engineering department as will pandas for further data manipulation and analysis all this infomation should come from the employee and damaged tooling databases
server
iot
iot iot platform
server
Employee-database
employee database with sql building a postgresql database from scratch and extracting data for analysis data modeling data engineering business problem currently using vba and want to replace it need a more roboust database management system executive summary 90 398 employees will be retiring in the near future the most representative positions are 32 are senior engineers 31 are senior staffengineers and 16 are engineers getting started these instructions will get your postgresql database up and running on your local machine prerequisites before the installations there are some important concepts you need to know postgresql typically referred to as just postgres is a relational database system this type of database consists of tables and their predefined relationships pgadmin is the window into our database it s where queries are written and executed and where results are viewed while postgres holds the files pgadmin provides the access all sql actions take place within these two programs so let s install them visual studio code is a free source code editor made by microsoft for windows linux and macos installing first visit the postgressql download website https www enterprisedb com downloads postgres postgresql downloads the web framework used to initiate your download be sure to choose the correct download option for your operating system both postgres and pgadmin are downloaded together as a package be sure to not select the latest postgres version we re installing a previous version to the latest because it is a more stable release during installation you ll need to create a password be sure to record it as you ll use it to access your sql database an installbuilder window will show the components selected for installation be sure to uncheck stack builder s box stack builder is used to install postgres add ons but we won t need it for our project img src https github com nataliavelasquez18 employee database blob main png images uncheck stack builder png width 350 height 250 to confirm your installation start pgadmin a new browser window will launch and double click to connect to the default server and enter your password img src https github com nataliavelasquez18 employee database blob main png images confirm pgadmin installation png width 390 height 250 second download visual studio code https code visualstudio com for your operating system download files download the folders and files contained in this repository on your local machine except for the png images folder data modeling identifying data relationships in the database creation csv files folder https github com nataliavelasquez18 employee database tree main database creation csv files there are 6 csv files with employee data such as salaries https github com nataliavelasquez18 employee database blob main database creation csv files salaries csv employees https github com nataliavelasquez18 employee database blob main database creation csv files employees csv managers by department https github com nataliavelasquez18 employee database blob main database creation csv files dept manager csv employees by department https github com nataliavelasquez18 employee database blob main database creation csv files dept emp csv titles https github com nataliavelasquez18 employee database blob main database creation csv files titles csv and departments https github com nataliavelasquez18 employee database blob main database creation csv files departments csv these files are the tables for our database entity relationship diagrams erd in the erd and queries https github com nataliavelasquez18 employee database tree main erd and queries folder you can find the entity relationship diagram sql https github com nataliavelasquez18 employee database blob main erd and queries entity relationship diagram sql file you will use visual studio code to open the file and see the table relationships and data types of each column in our 6 tables if you are a more of a visual person and would like to visualize the table relationships graphically before we create our database go to quick dbd https www quickdatabasediagrams com website click the try the app you don t need to create an account to make your first diagram the next screen is the text editor which will have a sample erd already in place instead of altering the sample we ll go ahead and delete the text in the text editor to clear the canvas for our own use img src https github com nataliavelasquez18 employee database blob main png images empty text editor png width 250 height 250 copy the content from the entity relationship diagram sql https github com nataliavelasquez18 employee database blob main erd and queries entity relationship diagram sql file and paste it on the text editor the flow chart will update revealing the connections between the tables img src https github com nataliavelasquez18 employee database blob main png images erd png width 250 height 250 data engineering create a database first launch pgadminreturn to the pgadmin window we opened earlier if you have closed your pgadmin window or shut down the program completely you can open a new one by locating the pgadmin icon and clicking it to start the software again second connect to the server if you ve been disconnected from your server locate it in the menu to the left then single click the postgresql your version server to initiate a connection at this point you will be prompted to enter the password you created during installation after connecting to the server you should see that there is already a database named postgres img src https github com nataliavelasquez18 employee database blob main png images connect to server png width 350 height 150 this is the default database that is created when the pgadmin and postgres package was installed instead of using this database you will create another one for this project third create a new database right click on postgresql your version and create the database img src https github com nataliavelasquez18 employee database blob main png images create database png width 390 height 150 name the database ph employeedb and click save a red x beside the new database s name indicates we aren t yet connected to it but it is there and ready for use click on the new database to connect img src https github com nataliavelasquez18 employee database blob main png images connect to db png width 300 height 140 create tables in sql looking back at the pgadmin window right click on the database ph employeedb then from the dropdown menu scroll down to the query tool and click to select img src https github com nataliavelasquez18 employee database blob main png images query tool png width 350 height 250 to create our 6 new tables open the schema sql https github com nataliavelasquez18 employee database blob main erd and queries schema sql file using visual studio code copy all the information from the file and paste it on the query tool in pgadmin in the next block of code you can see an example of the first part of it creating tables for ph employeedb create table departments dept no varchar 4 not null dept name varchar 40 not null primary key dept no unique dept name then execute code in the toolbar of the pgadmin webpage hover over the different icons and find the icon for execute refresh and click it this button runs the code and saves our work to the database import data in the pgadmin window select the dropdown menu for our ph employeedb database to import data into the tables first confirm all of our tables are listed if you are unable to see all the tables right click on tables and then click refresh img src https github com nataliavelasquez18 employee database blob main png images check tables png width 550 height 350 to import a csv into postgres with pgadmin follow these steps 1 right click the first table departments 2 from the menu that pops up scroll to import export 3 toggle the button to show import 4 click the ellipsis on the filename field to search for your project folder 5 select departments csv make sure format is set to csv and encoding is blank 6 leave the oid field as is but toggle the header field to yes and select the comma as the delimiter 7 click ok to begin importing the data 8 if the import is successful a pop up window will appear at the bottom of your pgadmin page business analysis query business questions retrieve the employees who are retiring with their name last name title dates of employment and order them by employee number create retirement titles table select e emp no e first name e last name ti title ti from date ti to date into retirement titles from employees as e inner join titles as ti on e emp no ti emp no where e birth date between 1952 01 01 and 1955 12 31 order by e emp no asc in the last table we can see there are employees who appear more than once that is because some employees have been promoted and have changed titles we need to retrieve the most recent titles and make sure employees only appear once use dictinct with orderby to remove duplicate rows select distinct on emp no emp no first name last name title into unique titles from retirement titles order by emp no asc to date desc how many employees are about to retire by title select from unique titles number of employees by title who are about to retire select count emp no title into retiring titles from unique titles group by title order by count emp no desc img src https github com nataliavelasquez18 employee database blob main png images retiring titles png width 250 height 250
server
FW-ChatGPT
fw chatgpt fw gpt troubleshooting assistant is a web app that helps network administrators troubleshoot common networking issues using natural language processing this app uses the fw gate api and ssh to gather debug commands and sends them to the chatgpt api for analysis the app then provides troubleshooting advice based on the analysis results additionally there is a chatbot available that enables you to use a llm combined with the documentation tested on fw gate 7 2 4 vm getting started to use fw gpt troubleshooting assistant simply select a problem category e g vpn issues from the sidebar menu and choose the problem type the app will gather the debug output from your fw gate firewall and send it to the chatgpt api for analysis the app will then provide you with troubleshooting advice based on the analysis results if you are not happy with the response from chatgpt you can modify the prompts used in the server folder and rebuild the docker image categories currently available system fw guard high memory high cpu connectivity packet flow routing bgp down vpn vpn down network interfaces chatmode future development if the community expresses interest in this tool i will incorporate additional categories and problem types requirements fw gpt troubleshooting assistant requires no dependencies to be installed instead it can be run as a docker container using docker compose installation to run fw gpt troubleshooting assistant simply follow the steps below docker compose copy the docker compose file from the repo and run docker compose up make sure to modify the env with your openai api key if you want to build the images locally clone the repo and use the docker compose dev file docker compose up connect to the fw gpt nginx reverse proxy container on port 3050 and you are all set contributing contributions are welcome to contribute to fw gpt troubleshooting assistant simply fork the github repository and submit a pull request with your changes license fw gpt troubleshooting assistant is licensed under the mit license see license for more information
ai
IIIT-H
iiit h notes and files of aaryan ajay sharma studying in the computer science dual degree lateral entry program at the international institute of information technology hyderabad semester ii i monsoon classes began on 28th july 2022 courses algorithm analysis and design automata theory data and applications os and networks probability and statistics semester ii ii spring classes began on 3rd january 2023 courses design and analysis of software systems introduction to brain and cognition introduction to human sciences introduction to information security machine data and learning music mind and technology performance modeling of computer systems value education ii inspired from this https github com george paul iiit h repo
algorithms-datastructures computer-science iiith notes probability
server
moon
moon design system h3 set of ui components built with surface ui library and tailwind css h3 p a href https conventionalcommits org img alt conventional commits src https img shields io badge conventional 20commits 1 0 0 yellow svg a a href https github com semantic release semantic release img alt semantic release src https img shields io badge 20 20 f0 9f 93 a6 f0 9f 9a 80 semantic release e10079 svg a p img width 644 alt moon design system src https user images githubusercontent com 232199 133601344 e63bd62f dd0f 47a1 9d1e b5cb065e5a90 png note this project uses semantic release https semantic release gitbook io semantic release and conventional commits https www conventionalcommits org en v1 0 0 spec please use commitizen https github com commitizen cz cli to write commit messages resources documentation https surface moon io setup clone the repository git clone git github com coingaming moon git start local development server by running run locally dev sh if run locally dev sh is not working try the following steps 1 install asdf https asdf vm com and plugins asdf plugin add erlang asdf plugin add elixir asdf plugin add nodejs 2 run asdf install this will install all the tool versions specified in the tool versions file or you can install each tool version manually by typing asdf install erlang and follow https github com asdf vm asdf erlang asdf erlang on fail e g export kerl configure options without wx without javac for fixing error otp compiled without eep48 documentation chunks u can use kerl build docs yes asdf install elixir asdf install nodejs 3 install assets dependencies with cd assets npm i cd 4 try running iex s mix phx server 5 stop the command above then try running run locally dev sh 6 if you do see error in elixirls extension no elixir command found you ll need to cp tool versions install dependencies mix deps get to format your code run mix format mix surface format running run auto importers sh this script imports figma assets and icons you need to set the values in the env file you also need read access to the assets tool repo https github com coingaming assets kindly check if you can clone this repo if not ask yulianayarema yarema184 tests all newly added components must come with tests in order to run the tests run mix test creating new component there is a mix task generator for it for creating new component moon design form somethingawesome use following command mix moon gen component form somethingawesome it will create component page and give instructions what to insert to router left menu preferences to consider when writing code in writing code try to remember following rules 1 code should be as short and simple as possible less lines is better 2 code should be as explicit as possible and compiler should catch as many errors as possible 3 moon design system follows headless design https garden mirahi io get started with headless design systems approach emphasis is on building smart functional and reusable ui components 4 use slots 5 add and run tests 6 create component s page in moon web application with api described and state shown 7 use following classes for tw way styling use moon classes for see ds moon preset js for full list of variables and themes moon design css for values font sizes border radius rounded moon s big elements e g cart i interactive e g button shadows font weight only 2 use tailwind classes for following reasons transition breakpoints media and do not forget to use rtl features use rtl and ltr prefixes for according write direction styles use ps pe instead of pl pr accordingly alias moon components textinput alias moon assets icons iconcloserounded alias moon assets icons iconzoom textinput placeholder search for dashboard segments and more left icon iconzoom left icon right icon iconcloserounded on click clear search right icon textinput bash mix test screenshots tests at all 1 https github com mcrumm elogram blob main lib elogram server ex l31 also some screenshot tests here https stackoverflow com questions 58131559 how to take a screenshot on failure using hound elixir https github com hashnuke hound maybe too old https elixirforum com t wallaby visit produces empty screenshot 45268 https github com elixir wallaby wallaby screenshots
design-system elixir
os
OCEChain
ocechain ocechain aims to create a decentralized autonomous content economy where content value can be recognized efficiently and all contributors can be incentivized directly and effectively to promote long term economic growth note requires go 1 11 https golang org dl build tendermint requires v0 26 1 rc0 other deps packages uncompress deps ocechain deps pkg tar bz2 into goroot src or gopath src run make in the top folder to start build blockchain command oce oce ocecli ocecli
server
db2jpa
reverse engineering from a database to jpa entities based on the remarks description reverse engineering strategy based on the remarks property of the database tables and fields the transformation rules applied to the remarks are remark table to class field to property the remark theremark theremark the remark theremark theremark theremark theremark theremark theremark theremark theremark if no remark has been set the corresponding table field real name will be used to proceed the transformation for example given the below mysql table named tbl user with the comment user name type comments id user int 11 tx email varchar 100 the email tx username varchar 20 username tx password char 40 password bl need confirmation tinyint 1 need confirmation the following entity will be generated public class user private int iduser private string theemail private string username private string password private boolean needconfirmation how to 1 configure the pom properties 2 run mvn exec exec 3 check your destination dir
server
Newton
div style text align center h1 newton are large language models capable of physical reasoning h1 yi ru wang https helen9975 github io 1 jiafei duan https duanjiafei com 1 dieter fox https homes cs washington edu fox 1 2 siddhartha srinivasa https goodrobot ai 1 1 university of washington 2 nvidia project page https newtonreasoning github io arxiv https arxiv org abs 2310 07018 huggingface api coming soon div style margin 50px text align justify img style width 100 src imgs teaser gif if you find this codebase useful consider citing bibtex misc wang2023newton title newton are large language models capable of physical reasoning author yi ru wang and jiafei duan and dieter fox and siddhartha srinivasa year 2023 eprint 2310 07018 archiveprefix arxiv primaryclass cs cl newton evaluating large language models for physics reasoning are you curious about the physical reasoning abilities of large language models llms like gpt 4 in different contexualized settings look no further newton is here to help what is newton newton is a repository and benchmark designed to assess the physics reasoning skills of llms while these models excel in many language tasks their grasp of physical concepts often remains unexplored what s inside newton repository we provide a collection of 2800 object attribute pairs serving as a foundation for generating customizable assessment templates tailored to your specific needs benchmark we ve curated 160k qa questions to evaluate llms across foundational explicit and implicit physics reasoning tasks discover how these models perform in scenarios involving everyday objects and attributes pipeline a pipeline to synthesize evaluation sets tailored to particular applications real world applications newton s potential extends beyond evaluation it can pave the way for integrating llms into physically grounded settings such as robotic manipulation if you have any questions please contact me https helen9975 github io at yiruwang at cs dot washington dot edu open file folder repository structure details open summary click to view summary newton readme md gitignore license gpt track1 py inference using gpt on track 1 gpt track2 py inference using gpt on track 2 gpt track3 py inference using gpt on track 3 hf track1 py inference using huggingface on track 1 hf track2 py inference using huggingface on track 2 hf track3 py inference using huggingface on track 3 explicit querying template py script for generating track 2 explicit application questions implicit querying template py script for generating track 3 implicit application questions query gpt py gpt querying api script setup requirements txt dataset confident questions csv csv file with newton benchmark track 1 questions explicit questions csv csv file with newton benchmark track 2 questions implicit questions csv csv file with newton benchmark track 3 questions dataset store dataset files here utils filter generate py utilities related to data filtering and template generation huggingface models py classes for different huggingface models details hammer environment setup details open summary click to view summary we recommend setting up anaconda to contain all necessary dependencies to set this up do the following cd path to newton 1 set up the conda environment running the following command will create an anaconda environment with the name newton conda create name newton file requirements txt you can activate the conda environment using conda create name newton file requirements txt details reproducing newton benchmark track 2 3 qa templates details open summary click to view summary generating track 2 questions cd path to newton python explicit querying template py generating track 3 questions cd path to newton python implicit querying template py details evaluating language models details open summary click to view summary 1 set up openai credentials change line 2 and 3 of query gpt py to your organization and api key 2 set up huggingface credentials huggingface cli login 3 run inference on different benchmark tracks using different models inference using gpt 3 5 turbo and gpt 4 on track 1 python gpt track1 py inference using gpt 3 5 turbo and gpt 4 on track 2 python gpt track2 py inference using gpt 3 5 turbo and gpt 4 on track 3 python gpt track3 py inference using huggingface models on track 1 python hf track1 py inference using huggingface models on track 2 python hf track2 py inference using huggingface models on track 3 python hf track3 py finetuning using bert coming soon details reproducing newton benchmark track 2 3 qa templates details open summary click to view summary generating track 2 questions cd path to newton python explicit querying template py generating track 3 questions cd path to newton python implicit querying template py details acknowledgements we would like to thank faeze brahman khyathi chandu christoforos mavrogiannis amal nanavati james park matt schmittle and all members of the personal robotics lab prl and robotics and state estimation lab rselab for fruitful discussions yi ru wang is supported by the natural sciences and engineering research council of canada nserc this work was partially funded by the national science foundation nri 2132848 and chs 2007011 darpa racer hr0011 21 c 0171 the office of naval research n00014 17 1 2617 p00004 and 2022 016 01 uw and amazon coming soon details open summary click to view summary huggingface api for dataset annotation interface script generic pipeline for synthesizing diverse scenarios details
ai
pocket-newton
pocket newton
os
LLM-Mob
l arge l anguage m odels for human mob ility prediction llm mob code for the paper where would i go next large language models as human mobility predictors https arxiv org abs 2308 15197 the code is provided for reproducing the main results presented in the paper however the results may not be 100 per cent same as presented in the paper due to the randomness of llms and the frequent update of openai s gpt models that being said we anticipate that the difference is minimal data the data is hosted in data as mentioned in our paper we strictly follow the same data preprocessing steps in context aware multi head self attentional neural network model for next location prediction https arxiv org abs 2212 01953 all the data files are generated from the data preprocessing scripts available here https github com mie lab location prediction reproducing results on geolife 1 get an openai account if you already have an account and have set up api keys skip this step otherwise go to openai api website https openai com blog openai api and sign up once you have an account create an api key here https platform openai com account api keys you may also need to set up your payment here https platform openai com account billing overview in order to use the api 2 run the scripts to start the prediction process specify your openai api key in the beginning of the script llm mob py change the parameters in the main function if necessary and start the prediction process by simply running the sripts bash python llm mob py the log file will be stored in logs and prediction results will be stored in output please note that the code for reproducing results on fsq nyc is not included here but they are very similar results and evaluation we provide the actual prediction results obtained in our experiments in results to calculate the evaluation metrics check the ipython notebook metrics ipynb and run the scripts citation bibtex misc wang2023i title where would i go next large language models as human mobility predictors author xinglei wang and meng fang and zichao zeng and tao cheng year 2023 eprint 2308 15197 archiveprefix arxiv primaryclass cs ai
ai
sinatra
sinatra gem version https badge fury io rb sinatra svg https badge fury io rb sinatra testing https github com sinatra sinatra actions workflows test yml badge svg https github com sinatra sinatra actions workflows test yml sinatra is a dsl https en wikipedia org wiki domain specific language for quickly creating web applications in ruby with minimal effort ruby myapp rb require sinatra get do hello world end install the gem shell gem install sinatra gem install puma or any other server and run with shell ruby myapp rb view at http localhost 4567 http localhost 4567 the code you changed will not take effect until you restart the server please restart the server every time you change or use a code reloader like rerun https github com alexch rerun or rack unreloader https github com jeremyevans rack unreloader it is recommended to also run gem install puma which sinatra will pick up if available table of contents sinatra sinatra table of contents table of contents routes routes conditions conditions return values return values custom route matchers custom route matchers static files static files views templates views templates literal templates literal templates available template languages available template languages haml templates haml templates erb templates erb templates builder templates builder templates nokogiri templates nokogiri templates sass templates sass templates scss templates scss templates liquid templates liquid templates markdown templates markdown templates rdoc templates rdoc templates asciidoc templates asciidoc templates markaby templates markaby templates rabl templates rabl templates slim templates slim templates yajl templates yajl templates accessing variables in templates accessing variables in templates templates with yield and nested layouts templates with yield and nested layouts inline templates inline templates named templates named templates associating file extensions associating file extensions adding your own template engine adding your own template engine using custom logic for template lookup using custom logic for template lookup filters filters helpers helpers using sessions using sessions session secret security session secret security session config session config choosing your own session middleware choosing your own session middleware halting halting passing passing triggering another route triggering another route setting body status code and headers setting body status code and headers streaming responses streaming responses logging logging mime types mime types generating urls generating urls browser redirect browser redirect cache control cache control sending files sending files accessing the request object accessing the request object attachments attachments dealing with date and time dealing with date and time looking up template files looking up template files configuration configuration configuring attack protection configuring attack protection available settings available settings lifecycle events lifecycle events environments environments error handling error handling not found not found error error rack middleware rack middleware testing testing sinatra base middleware libraries and modular apps sinatrabase middleware libraries and modular apps modular vs classic style modular vs classic style serving a modular application serving a modular application using a classic style application with a config ru using a classic style application with a configru when to use a config ru when to use a configru using sinatra as middleware using sinatra as middleware dynamic application creation dynamic application creation scopes and binding scopes and binding application class scope applicationclass scope request instance scope requestinstance scope delegation scope delegation scope command line command line multi threading multi threading requirement requirement the bleeding edge the bleeding edge with bundler with bundler versioning versioning further reading further reading routes in sinatra a route is an http method paired with a url matching pattern each route is associated with a block ruby get do show something end post do create something end put do replace something end patch do modify something end delete do annihilate something end options do appease something end link do affiliate something end unlink do separate something end routes are matched in the order they are defined the first route that matches the request is invoked routes with trailing slashes are different from the ones without ruby get foo do does not match get foo end route patterns may include named parameters accessible via the params hash ruby get hello name do matches get hello foo and get hello bar params name is foo or bar hello params name end you can also access named parameters via block parameters ruby get hello name do n matches get hello foo and get hello bar params name is foo or bar n stores params name hello n end route patterns may also include splat or wildcard parameters accessible via the params splat array ruby get say to do matches say hello to world params splat hello world end get download do matches download path to file xml params splat path to file xml end or with block parameters ruby get download do path ext path ext path to file xml end route matching with regular expressions ruby get hello w do hello params captures first end or with a block parameter ruby get r hello w do c matches get meta hello world get hello world 1234 etc hello c end route patterns may have optional parameters ruby get posts format do matches get posts and any extension get posts json get posts xml etc end routes may also utilize query parameters ruby get posts do matches get posts title foo author bar title params title author params author uses title and author variables query is optional to the posts route end by the way unless you disable the path traversal attack protection see below configuring attack protection the request path might be modified before matching against your routes you may customize the mustermann https github com sinatra mustermann readme options used for a given route by passing in a mustermann opts hash ruby get a posts z mustermann opts type regexp check anchors false do matches posts exactly with explicit anchoring if you match an anchored pattern clap your hands end it looks like a condition conditions but it isn t one these options will be merged into the global mustermann opts hash described below available settings conditions routes may include a variety of matching conditions such as the user agent ruby get foo agent songbird d d d do you re using songbird version params agent 0 end get foo do matches non songbird browsers end other available conditions are host name and provides ruby get host name admin do admin area access denied end get provides html do haml index end get provides rss atom xml do builder feed end provides searches the request s accept header you can easily define your own conditions ruby set probability value condition rand value get win a car probability 0 1 do you won end get win a car do sorry you lost end for a condition that takes multiple values use a splat ruby set auth do roles notice the splat here condition do unless logged in roles any role current user in role role redirect login 303 end end end get my account auth user admin do your account details end get only admin auth admin do only admins are allowed here end return values the return value of a route block determines at least the response body passed on to the http client or at least the next middleware in the rack stack most commonly this is a string as in the above examples but other values are also accepted you can return an object that would either be a valid rack response rack body object or http status code an array with three elements status integer headers hash response body responds to each an array with two elements status integer response body responds to each an object that responds to each and passes nothing but strings to the given block a integer representing the status code that way we can for instance easily implement a streaming example ruby class stream def each 100 times i yield i n end end get stream new you can also use the stream helper method described below streaming responses to reduce boilerplate and embed the streaming logic in the route custom route matchers as shown above sinatra ships with built in support for using string patterns and regular expressions as route matches however it does not stop there you can easily define your own matchers ruby class allbutpattern def initialize except except except end def to pattern options return self end def params route return unless except route end end def all but pattern allbutpattern new pattern end get all but index do end note that the above example might be over engineered as it can also be expressed as ruby get do pass if request path info index end static files static files are served from the public directory you can specify a different location by setting the public folder option ruby set public folder dir static note that the public directory name is not included in the url a file public css style css is made available as http example com css style css use the static cache control setting see below cache control to add cache control header info views templates each template language is exposed via its own rendering method these methods simply return a string ruby get do erb index end this renders views index erb instead of a template name you can also just pass in the template content directly ruby get do code time now erb code end templates take a second argument the options hash ruby get do erb index layout post end this will render views index erb embedded in the views post erb default is views layout erb if it exists any options not understood by sinatra will be passed on to the template engine ruby get do haml index format html5 end you can also set options per template language in general ruby set haml format html5 get do haml index end options passed to the render method override options set via set available options dl dt locals dt dd list of locals passed to the document handy with partials example tt erb foo locals foo bar tt dd dt default encoding dt dd string encoding to use if uncertain defaults to tt settings default encoding tt dd dt views dt dd views folder to load templates from defaults to tt settings views tt dd dt layout dt dd whether to use a layout tt true tt or tt false tt if it s a symbol specifies what template to use example tt erb index layout request xhr tt dd dt content type dt dd content type the template produces default depends on template language dd dt scope dt dd scope to render template under defaults to the application instance if you change this instance variables and helper methods will not be available dd dt layout engine dt dd template engine to use for rendering the layout useful for languages that do not support layouts otherwise defaults to the engine used for the template example tt set rdoc layout engine erb tt dd dt layout options dt dd special options only used for rendering the layout example tt set rdoc layout options views views layouts tt dd dl templates are assumed to be located directly under the views directory to use a different views directory ruby set views settings root templates one important thing to remember is that you always have to reference templates with symbols even if they re in a subdirectory in this case use subdir template or subdir template to sym you must use a symbol because otherwise rendering methods will render any strings passed to them directly literal templates ruby get do haml div title hello world end renders the template string you can optionally specify path and line for a clearer backtrace if there is a filesystem path or line associated with that string ruby get do haml div title hello world path examples file haml line 3 end available template languages some languages have multiple implementations to specify what implementation to use and to be thread safe you should simply require it first ruby require rdiscount get markdown index haml templates table tr td dependency td td a href http haml info title haml haml a td tr tr td file extension td td tt haml tt td tr tr td example td td tt haml index format html5 tt td tr table erb templates table tr td dependency td td a href https github com jeremyevans erubi title erubi erubi a or erb included in ruby td tr tr td file extensions td td tt erb tt tt rhtml tt or tt erubi tt erubi only td tr tr td example td td tt erb index tt td tr table builder templates table tr td dependency td td a href https github com jimweirich builder title builder builder a td tr tr td file extension td td tt builder tt td tr tr td example td td tt builder xml xml em hi tt td tr table it also takes a block for inline templates see example inline templates nokogiri templates table tr td dependency td td a href http www nokogiri org title nokogiri nokogiri a td tr tr td file extension td td tt nokogiri tt td tr tr td example td td tt nokogiri xml xml em hi tt td tr table it also takes a block for inline templates see example inline templates sass templates table tr td dependency td td a href https github com ntkme sass embedded host ruby title sass embedded sass embedded a td tr tr td file extension td td tt sass tt td tr tr td example td td tt sass stylesheet style expanded tt td tr table scss templates table tr td dependency td td a href https github com ntkme sass embedded host ruby title sass embedded sass embedded a td tr tr td file extension td td tt scss tt td tr tr td example td td tt scss stylesheet style expanded tt td tr table liquid templates table tr td dependency td td a href https shopify github io liquid title liquid liquid a td tr tr td file extension td td tt liquid tt td tr tr td example td td tt liquid index locals key value tt td tr table since you cannot call ruby methods except for yield from a liquid template you almost always want to pass locals to it markdown templates table tr td dependency td td anyone of a href https github com davidfstr rdiscount title rdiscount rdiscount a a href https github com vmg redcarpet title redcarpet redcarpet a a href https kramdown gettalong org title kramdown kramdown a a href https github com gjtorikian commonmarker title commonmarker commonmarker a a href https github com alphabetum pandoc ruby title pandoc pandoc a td tr tr td file extensions td td tt markdown tt tt mkd tt and tt md tt td tr tr td example td td tt markdown index layout engine erb tt td tr table it is not possible to call methods from markdown nor to pass locals to it you therefore will usually use it in combination with another rendering engine ruby erb overview locals text markdown introduction note that you may also call the markdown method from within other templates ruby h1 hello from haml p markdown greetings since you cannot call ruby from markdown you cannot use layouts written in markdown however it is possible to use another rendering engine for the template than for the layout by passing the layout engine option rdoc templates table tr td dependency td td a href http rdoc sourceforge net title rdoc rdoc a td tr tr td file extension td td tt rdoc tt td tr tr td example td td tt rdoc readme layout engine erb tt td tr table it is not possible to call methods from rdoc nor to pass locals to it you therefore will usually use it in combination with another rendering engine ruby erb overview locals text rdoc introduction note that you may also call the rdoc method from within other templates ruby h1 hello from haml p rdoc greetings since you cannot call ruby from rdoc you cannot use layouts written in rdoc however it is possible to use another rendering engine for the template than for the layout by passing the layout engine option asciidoc templates table tr td dependency td td a href http asciidoctor org title asciidoctor asciidoctor a td tr tr td file extension td td tt asciidoc tt tt adoc tt and tt ad tt td tr tr td example td td tt asciidoc readme layout engine erb tt td tr table since you cannot call ruby methods directly from an asciidoc template you almost always want to pass locals to it markaby templates table tr td dependency td td a href https markaby github io title markaby markaby a td tr tr td file extension td td tt mab tt td tr tr td example td td tt markaby h1 welcome tt td tr table it also takes a block for inline templates see example inline templates rabl templates table tr td dependency td td a href https github com nesquena rabl title rabl rabl a td tr tr td file extension td td tt rabl tt td tr tr td example td td tt rabl index tt td tr table slim templates table tr td dependency td td a href https slim template github io title slim lang slim lang a td tr tr td file extension td td tt slim tt td tr tr td example td td tt slim index tt td tr table yajl templates table tr td dependency td td a href https github com brianmario yajl ruby title yajl ruby yajl ruby a td tr tr td file extension td td tt yajl tt td tr tr td example td td tt yajl index locals key qux callback present variable resource tt td tr table the template source is evaluated as a ruby string and the resulting json variable is converted using to json ruby json foo bar json baz key the callback and variable options can be used to decorate the rendered object javascript var resource foo bar baz qux present resource accessing variables in templates templates are evaluated within the same context as route handlers instance variables set in route handlers are directly accessible by templates ruby get id do foo foo find params id haml h1 foo name end or specify an explicit hash of local variables ruby get id do foo foo find params id haml h1 bar name locals bar foo end this is typically used when rendering templates as partials from within other templates templates with yield and nested layouts a layout is usually just a template that calls yield such a template can be used either through the template option as described above or it can be rendered with a block as follows ruby erb post layout false do erb index end this code is mostly equivalent to erb index layout post passing blocks to rendering methods is most useful for creating nested layouts ruby erb main layout layout false do erb admin layout do erb user end end this can also be done in fewer lines of code with ruby erb admin layout layout main layout do erb user end currently the following rendering methods accept a block erb haml liquid slim also the general render method accepts a block inline templates templates may be defined at the end of the source file ruby require sinatra get do haml index end end layout html yield index div title hello world note inline templates defined in the source file that requires sinatra are automatically loaded call enable inline templates explicitly if you have inline templates in other source files named templates templates may also be defined using the top level template method ruby template layout do html n yield n end template index do div title hello world end get do haml index end if a template named layout exists it will be used each time a template is rendered you can individually disable layouts by passing layout false or disable them by default via set haml layout false ruby get do haml index layout request xhr end associating file extensions to associate a file extension with a template engine use tilt register for instance if you like to use the file extension tt for haml templates you can do the following ruby tilt register tilt haml tt adding your own template engine first register your engine with tilt then create a rendering method ruby tilt register myawesometemplateengine myat helpers do def myat args render myat args end end get do myat index end renders views index myat learn more about tilt https github com rtomayko tilt readme using custom logic for template lookup to implement your own template lookup mechanism you can write your own find template method ruby configure do set views views a views b end def find template views name engine block array views each do v super v name engine block end end filters before filters are evaluated before each request within the same context as the routes will be and can modify the request and response instance variables set in filters are accessible by routes and templates ruby before do note hi request path info foo bar baz end get foo do note hi params splat bar baz end after filters are evaluated after each request within the same context as the routes will be and can also modify the request and response instance variables set in before filters and routes are accessible by after filters ruby after do puts response status end note unless you use the body method rather than just returning a string from the routes the body will not yet be available in the after filter since it is generated later on filters optionally take a pattern causing them to be evaluated only if the request path matches that pattern ruby before protected do authenticate end after create slug do slug session last slug slug end like routes filters also take conditions ruby before agent songbird do end after blog host name example com do end helpers use the top level helpers method to define helper methods for use in route handlers and templates ruby helpers do def bar name name bar end end get name do bar params name end alternatively helper methods can be separately defined in a module ruby module fooutils def foo name name foo end end module barutils def bar name name bar end end helpers fooutils barutils the effect is the same as including the modules in the application class using sessions a session is used to keep state during requests if activated you have one session hash per user session ruby enable sessions get do value session value inspect end get value do session value params value end session secret security to improve security the session data in the cookie is signed with a session secret using hmac sha1 this session secret should optimally be a cryptographically secure random value of an appropriate length which for hmac sha1 is greater than or equal to 64 bytes 512 bits 128 hex characters you would be advised not to use a secret that is less than 32 bytes of randomness 256 bits 64 hex characters it is therefore very important that you don t just make the secret up but instead use a secure random number generator to create it humans are extremely bad at generating random values by default a 32 byte secure random session secret is generated for you by sinatra but it will change with every restart of your application if you have multiple instances of your application and you let sinatra generate the key each instance would then have a different session key which is probably not what you want for better security and usability it s recommended https 12factor net config that you generate a secure random secret and store it in an environment variable on each host running your application so that all of your application instances will share the same secret you should periodically rotate this session secret to a new value here are some examples of how you might create a 64 byte secret and set it session secret generation text ruby e require securerandom puts securerandom hex 64 99ae8af snip ec0f262ac session secret generation bonus points use the sysrandom gem https github com cryptosphere sysrandom readme to use the system rng facilities to generate random values instead of userspace openssl which mri ruby currently defaults to text gem install sysrandom building native extensions this could take a while successfully installed sysrandom 1 x 1 gem installed ruby e require sysrandom securerandom puts securerandom hex 64 99ae8af snip ec0f262ac session secret environment variable set a session secret environment variable for sinatra to the value you generated make this value persistent across reboots of your host since the method for doing this will vary across systems this is for illustrative purposes only bash echo export session secret 99ae8af snip ec0f262ac bashrc session secret app config set up your app config to fail safe to a secure random secret if the session secret environment variable is not available for bonus points use the sysrandom gem https github com cryptosphere sysrandom readme here as well ruby require securerandom or require sysrandom securerandom set session secret env fetch session secret securerandom hex 64 session config if you want to configure it further you may also store a hash with options in the sessions setting ruby set sessions domain foo com to share your session across other apps on subdomains of foo com prefix the domain with a like this instead ruby set sessions domain foo com choosing your own session middleware note that enable sessions actually stores all data in a cookie this might not always be what you want storing lots of data will increase your traffic for instance you can use any rack session middleware in order to do so one of the following methods can be used ruby enable sessions set session store rack session pool or to set up sessions with a hash of options ruby set sessions expire after 2592000 set session store rack session pool another option is to not call enable sessions but instead pull in your middleware of choice as you would any other middleware it is important to note that when using this method session based protection will not be enabled by default the rack middleware to do that will also need to be added ruby use rack session pool expire after 2592000 use rack protection remotetoken use rack protection sessionhijacking see configuring attack protection configuring attack protection for more information halting to immediately stop a request within a filter or route use ruby halt you can also specify the status when halting ruby halt 410 or the body ruby halt this will be the body or both ruby halt 401 go away with headers ruby halt 402 content type text plain revenge it is of course possible to combine a template with halt ruby halt erb error passing a route can punt processing to the next matching route using pass ruby get guess who do pass unless params who frank you got me end get guess do you missed end the route block is immediately exited and control continues with the next matching route if no matching route is found a 404 is returned triggering another route sometimes pass is not what you want instead you would like to get the result of calling another route simply use call to achieve this ruby get foo do status headers body call env merge path info bar status headers body map upcase end get bar do bar end note that in the example above you would ease testing and increase performance by simply moving bar into a helper used by both foo and bar if you want the request to be sent to the same application instance rather than a duplicate use call instead of call check out the rack specification if you want to learn more about call setting body status code and headers it is possible and recommended to set the status code and response body with the return value of the route block however in some scenarios you might want to set the body at an arbitrary point in the execution flow you can do so with the body helper method if you do so you can use that method from thereon to access the body ruby get foo do body bar end after do puts body end it is also possible to pass a block to body which will be executed by the rack handler this can be used to implement streaming see return values return values similar to the body you can also set the status code and headers ruby get foo do status 418 headers allow brew post get propfind when refresh refresh 20 https ietf org rfc rfc2324 txt body i m a teapot end like body headers and status with no arguments can be used to access their current values streaming responses sometimes you want to start sending out data while still generating parts of the response body in extreme examples you want to keep sending data until the client closes the connection you can use the stream helper to avoid creating your own wrapper ruby get do stream do out out it s gonna be legen n sleep 0 5 out wait for it n sleep 1 out dary n end end this allows you to implement streaming apis server sent events https w3c github io eventsource and can be used as the basis for websockets https en wikipedia org wiki websocket it can also be used to increase throughput if some but not all content depends on a slow resource note that the streaming behavior especially the number of concurrent requests highly depends on the webserver used to serve the application some servers might not even support streaming at all if the server does not support streaming the body will be sent all at once after the block passed to stream finishes executing streaming does not work at all with shotgun if the optional parameter is set to keep open it will not call close on the stream object allowing you to close it at any later point in the execution flow this only works on evented servers like rainbows other servers will still close the stream ruby config ru require sinatra base class app sinatra base connections get subscribe provides text event stream do register a client s interest in server events stream keep open do out connections out purge dead connections connections reject closed end end post do connections each do out notify client that a new message has arrived out data params msg n n indicate client to connect again out close end 204 response without entity body end end run app ruby rainbows conf rainbows do use eventmachine end run shell rainbows c rainbows conf it s also possible for the client to close the connection when trying to write to the socket because of this it s recommended to check out closed before trying to write logging in the request scope the logger helper exposes a logger instance ruby get do logger info loading data end this logger will automatically take your rack handler s logging settings into account if logging is disabled this method will return a dummy object so you do not have to worry about it in your routes and filters note that logging is only enabled for sinatra application by default so if you inherit from sinatra base you probably want to enable it yourself ruby class myapp sinatra base configure production development do enable logging end end to avoid any logging middleware to be set up set the logging option to nil however keep in mind that logger will in that case return nil a common use case is when you want to set your own logger sinatra will use whatever it will find in env rack logger mime types when using send file or static files you may have mime types sinatra doesn t understand use mime type to register them by file extension ruby configure do mime type foo text foo end you can also use it with the content type helper ruby get do content type foo foo foo foo end generating urls for generating urls you should use the url helper method for instance in haml ruby a href url foo foo it takes reverse proxies and rack routers into account if present this method is also aliased to to see below browser redirect for an example browser redirect you can trigger a browser redirect with the redirect helper method ruby get foo do redirect to bar end any additional parameters are handled like arguments passed to halt ruby redirect to bar 303 redirect http www google com wrong place buddy you can also easily redirect back to the page the user came from with redirect back ruby get foo do a href bar do something a end get bar do do something redirect back end to pass arguments with a redirect either add them to the query ruby redirect to bar sum 42 or use a session ruby enable sessions get foo do session secret foo redirect to bar end get bar do session secret end cache control setting your headers correctly is the foundation for proper http caching you can easily set the cache control header like this ruby get do cache control public cache it end pro tip set up caching in a before filter ruby before do cache control public must revalidate max age 60 end if you are using the expires helper to set the corresponding header cache control will be set automatically for you ruby before do expires 500 public must revalidate end to properly use caches you should consider using etag or last modified it is recommended to call those helpers before doing any heavy lifting as they will immediately flush a response if the client already has the current version in its cache ruby get article id do article article find params id last modified article updated at etag article sha1 erb article end it is also possible to use a weak etag https en wikipedia org wiki http etag strong and weak validation ruby etag article sha1 weak these helpers will not do any caching for you but rather feed the necessary information to your cache if you are looking for a quick reverse proxy caching solution try rack cache https github com rtomayko rack cache readme ruby require rack cache require sinatra use rack cache get do cache control public max age 36000 sleep 5 hello end use the static cache control setting see below cache control to add cache control header info to static files according to rfc 2616 your application should behave differently if the if match or if none match header is set to depending on whether the resource requested is already in existence sinatra assumes resources for safe like get and idempotent like put requests are already in existence whereas other resources for instance post requests are treated as new resources you can change this behavior by passing in a new resource option ruby get create do etag new resource true article create erb new article end if you still want to use a weak etag pass in a kind option ruby etag new resource true kind weak sending files to return the contents of a file as the response you can use the send file helper method ruby get do send file foo png end it also takes options ruby send file foo png type jpg the options are dl dt filename dt dd file name to be used in the response defaults to the real file name dd dt last modified dt dd value for last modified header defaults to the file s mtime dd dt type dt dd value for content type header guessed from the file extension if missing dd dt disposition dt dd value for content disposition header possible values tt nil tt default tt attachment tt and tt inline tt dd dt length dt dd value for content length header defaults to file size dd dt status dt dd status code to be sent useful when sending a static file as an error page if supported by the rack handler other means than streaming from the ruby process will be used if you use this helper method sinatra will automatically handle range requests dd dl accessing the request object the incoming request object can be accessed from request level filter routes error handlers through the request method ruby app running on http example com example get foo do t w text css text html application javascript request accept text html request accept text xml true request preferred type t text html request body request body sent by the client see below request scheme http request script name example request path info foo request port 80 request request method get request query string request content length length of request body request media type media type of request body request host example com request get true similar methods for other verbs request form data false request some param value of some param parameter is a shortcut to the params hash request referrer the referrer of the client or request user agent user agent used by agent condition request cookies hash of browser cookies request xhr is this an ajax request request url http example com example foo request path example foo request ip client ip address request secure false would be true over ssl request forwarded true if running behind a reverse proxy request env raw env hash handed in by rack end some options like script name or path info can also be written ruby before request path info get do all requests end up here end the request body is an io or stringio object ruby post api do request body rewind in case someone already read it data json parse request body read hello data name end attachments you can use the attachment helper to tell the browser the response should be stored on disk rather than displayed in the browser ruby get do attachment store it end you can also pass it a file name ruby get do attachment info txt store it end dealing with date and time sinatra offers a time for helper method that generates a time object from the given value it is also able to convert datetime date and similar classes ruby get do pass if time now time for dec 23 2016 still time end this method is used internally by expires last modified and akin you can therefore easily extend the behavior of those methods by overriding time for in your application ruby helpers do def time for value case value when yesterday then time now 24 60 60 when tomorrow then time now 24 60 60 else super end end end get do last modified yesterday expires tomorrow hello end looking up template files the find template helper is used to find template files for rendering ruby find template settings views foo tilt haml do file puts could be file end this is not really useful but it is useful that you can actually override this method to hook in your own lookup mechanism for instance if you want to be able to use more than one view directory ruby set views views templates helpers do def find template views name engine block array views each v super v name engine block end end another example would be using different directories for different engines ruby set views haml templates default views helpers do def find template views name engine block folder views detect k v engine tilt k folder views default super folder name engine block end end you can also easily wrap this up in an extension and share it with others note that find template does not check if the file really exists but rather calls the given block for all possible paths this is not a performance issue since render will use break as soon as a file is found also template locations and content will be cached if you are not running in development mode you should keep that in mind if you write a really crazy method configuration run once at startup in any environment ruby configure do setting one option set option value setting multiple options set a 1 b 2 same as set option true enable option same as set option false disable option you can also have dynamic settings with blocks set css dir file join views css end run only when the environment app env environment variable is set to production ruby configure production do end run when the environment is set to either production or test ruby configure production test do end you can access those options via settings ruby configure do set foo bar end get do settings foo true settings foo bar end configuring attack protection sinatra is using rack protection https github com sinatra sinatra tree main rack protection readme to defend your application against common opportunistic attacks you can easily disable this behavior which will open up your application to tons of common vulnerabilities ruby disable protection to skip a single defense layer set protection to an options hash ruby set protection except path traversal you can also hand in an array in order to disable a list of protections ruby set protection except path traversal session hijacking by default sinatra will only set up session based protection if sessions have been enabled see using sessions using sessions sometimes you may want to set up sessions outside of the sinatra app such as in the config ru or with a separate rack builder instance in that case you can still set up session based protection by passing the session option ruby set protection session true available settings dl dt absolute redirects dt dd if disabled sinatra will allow relative redirects however sinatra will no longer conform with rfc 2616 http 1 1 which only allows absolute redirects dd dd enable if your app is running behind a reverse proxy that has not been set up properly note that the tt url tt helper will still produce absolute urls unless you pass in tt false tt as the second parameter dd dd disabled by default dd dt add charset dt dd mime types the tt content type tt helper will automatically add the charset info to you should add to it rather than overriding this option tt settings add charset application foobar tt dd dt app file dt dd path to the main application file used to detect project root views and public folder and inline templates dd dt bind dt dd ip address to bind to default tt 0 0 0 0 tt em or em tt localhost tt if your environment is set to development only used for built in server dd dt default content type dt dd content type to assume if unknown defaults to tt text html tt set to tt nil tt to not set a default content type on every response when configured so you must set the content type manually when emitting content or the user agent will have to sniff it or if tt nosniff tt is enabled in rack protection xssheader assume tt application octet stream tt dd dt default encoding dt dd encoding to assume if unknown defaults to tt utf 8 tt dd dt dump errors dt dd display errors in the log enabled by default unless environment is test dd dt environment dt dd current environment defaults to tt env app env tt or tt development tt if not available dd dt logging dt dd use the logger dd dt lock dt dd places a lock around every request only running processing on request per ruby process concurrently dd dd enabled if your app is not thread safe disabled by default dd dt method override dt dd use tt method tt magic to allow put delete forms in browsers that don t support it dd dt mustermann opts dt dd a default hash of options to pass to mustermann new when compiling routing paths dd dt port dt dd port to listen on only used for built in server dd dt prefixed redirects dt dd whether or not to insert tt request script name tt into redirects if no absolute path is given that way tt redirect foo tt would behave like tt redirect to foo tt disabled by default dd dt protection dt dd whether or not to enable web attack protections see protection section above dd dt public dir dt dd alias for tt public folder tt see below dd dt public folder dt dd path to the folder public files are served from only used if static file serving is enabled see tt static tt setting below inferred from tt app file tt setting if not set dd dt quiet dt dd disables logs generated by sinatra s start and stop commands tt false tt by default dd dt reload templates dt dd whether or not to reload templates between requests enabled in development mode dd dt root dt dd path to project root folder inferred from tt app file tt setting if not set dd dt raise errors dt dd raise unhandled errors will stop application enabled by default when tt environment tt is set to tt test tt disabled otherwise dd dd any explicitly defined error handlers always override this setting see the error section below dd dt run dt dd if enabled sinatra will handle starting the web server do not enable if using rackup or other means dd dt running dt dd is the built in server running now do not change this setting dd dt server dt dd server or list of servers to use for built in server order indicates priority default depends on ruby implementation dd dt server settings dt dd if you are using a webrick web server presumably for your development environment you can pass a hash of options to tt server settings tt such as tt sslenable tt or tt sslverifyclient tt however web servers such as puma do not support this so you can set tt server settings tt by defining it as a method when you call tt configure tt dd dt sessions dt dd enable cookie based sessions support using tt rack session cookie tt see using sessions section for more information dd dt session store dt dd the rack session middleware used defaults to tt rack session cookie tt see using sessions section for more information dd dt show exceptions dt dd show a stack trace in the browser when an exception happens enabled by default when tt environment tt is set to tt development tt disabled otherwise dd dd can also be set to tt after handler tt to trigger app specified error handling before showing a stack trace in the browser dd dt static dt dd whether sinatra should handle serving static files dd dd disable when using a server able to do this on its own dd dd disabling will boost performance dd dd enabled by default in classic style disabled for modular apps dd dt static cache control dt dd when sinatra is serving static files set this to add tt cache control tt headers to the responses uses the tt cache control tt helper disabled by default dd dd use an explicit array when setting multiple values tt set static cache control public max age 300 tt dd dt threaded dt dd if set to tt true tt will tell server to use tt eventmachine defer tt for processing the request dd dt traps dt dd whether sinatra should handle system signals dd dt views dt dd path to the views folder inferred from tt app file tt setting if not set dd dt x cascade dt dd whether or not to set the x cascade header if no route matches defaults to tt true tt dd dl lifecycle events there are 2 lifecycle events currently exposed by sinatra one when the server starts and one when it stops they can be used like this ruby on start do puts booting up end on stop do puts shutting down end note that these callbacks only work when using sinatra to start the web server environments there are three predefined environments development production and test environments can be set through the app env environment variable the default value is development in the development environment all templates are reloaded between requests and special not found and error handlers display stack traces in your browser in the production and test environments templates are cached by default to run different environments set the app env environment variable shell app env production ruby my app rb you can use predefined methods development test and production to check the current environment setting ruby get do if settings development development else not development end end error handling error handlers run within the same context as routes and before filters which means you get all the goodies it has to offer like haml erb halt etc not found when a sinatra notfound exception is raised or the response s status code is 404 the not found handler is invoked ruby not found do this is nowhere to be found end error the error handler is invoked any time an exception is raised from a route block or a filter but note in development it will only run if you set the show exceptions option to after handler ruby set show exceptions after handler a catch all error handler can be defined with error and a block ruby error do sorry there was a nasty error end the exception object can be obtained from the sinatra error rack variable ruby error do sorry there was a nasty error env sinatra error message end pass an error class as an argument to create handlers for custom errors ruby error mycustomerror do so what happened was env sinatra error message end then if this happens ruby get do raise mycustomerror something bad end you get this so what happened was something bad alternatively you can install an error handler for a status code ruby error 403 do access forbidden end get secret do 403 end or a range ruby error 400 510 do boom end sinatra installs special not found and error handlers when running under the development environment to display nice stack traces and additional debugging information in your browser behavior with raise errors option when raise errors option is true errors that are unhandled are raised outside of the application additionally any errors that would have been caught by the catch all error handler are raised for example consider the following configuration ruby first handler error mycustomerror do a custom message end second handler error do a catch all message end if raise errors is false when mycustomerror or descendant is raised the first handler is invoked the http response body will contain a custom message when any other error is raised the second handler is invoked the http response body will contain a catch all message if raise errors is true when mycustomerror or descendant is raised the behavior is identical to when raise errors is false described above when any other error is raised the second handler is not invoked and the error is raised outside of the application if the environment is production the http response body will contain a generic error message e g an unhandled lowlevel error occurred the application logs may have details if the environment is not production the http response body will contain the verbose error backtrace regardless of environment if show exceptions is set to after handler the http response body will contain the verbose error backtrace in the test environment raise errors is set to true by default this means that in order to write a test for a catch all error handler raise errors must temporarily be set to false for that particular test rack middleware sinatra rides on rack https rack github io a minimal standard interface for ruby web frameworks one of rack s most interesting capabilities for application developers is support for middleware components that sit between the server and your application monitoring and or manipulating the http request response to provide various types of common functionality sinatra makes building rack middleware pipelines a cinch via a top level use method ruby require sinatra require my custom middleware use rack lint use mycustommiddleware get hello do hello world end the semantics of use are identical to those defined for the rack builder https www rubydoc info github rack rack main rack builder dsl most frequently used from rackup files for example the use method accepts multiple variable args as well as blocks ruby use rack auth basic do username password username admin password secret end rack is distributed with a variety of standard middleware for logging debugging url routing authentication and session handling sinatra uses many of these components automatically based on configuration so you typically don t have to use them explicitly you can find useful middleware in rack https github com rack rack tree main lib rack rack contrib https github com rack rack contrib readme or in the rack wiki https github com rack rack wiki list of middleware testing sinatra tests can be written using any rack based testing library or framework rack test https www rubydoc info github rack rack test main frames is recommended ruby require my sinatra app require minitest autorun require rack test class myapptest minitest test include rack test methods def app sinatra application end def test my default get assert equal hello world last response body end def test with params get meet name frank assert equal hello frank last response body end def test with user agent get http user agent songbird assert equal you re using songbird last response body end end note if you are using sinatra in the modular style replace sinatra application above with the class name of your app sinatra base middleware libraries and modular apps defining your app at the top level works well for micro apps but has considerable drawbacks when building reusable components such as rack middleware rails metal simple libraries with a server component or even sinatra extensions the top level assumes a micro app style configuration e g a single application file public and views directories logging exception detail page etc that s where sinatra base comes into play ruby require sinatra base class myapp sinatra base set sessions true set foo bar get do hello world end end the methods available to sinatra base subclasses are exactly the same as those available via the top level dsl most top level apps can be converted to sinatra base components with two modifications your file should require sinatra base instead of sinatra otherwise all of sinatra s dsl methods are imported into the main namespace put your app s routes error handlers filters and options in a subclass of sinatra base sinatra base is a blank slate most options are disabled by default including the built in server see configuring settings http www sinatrarb com configuration html for details on available options and their behavior if you want behavior more similar to when you define your app at the top level also known as classic style you can subclass sinatra application ruby require sinatra base class myapp sinatra application get do hello world end end modular vs classic style contrary to common belief there is nothing wrong with the classic style if it suits your application you do not have to switch to a modular application the main disadvantage of using the classic style rather than the modular style is that you will only have one sinatra application per ruby process if you plan to use more than one switch to the modular style there is no reason you cannot mix the modular and classic styles if switching from one style to the other you should be aware of slightly different default settings table tr th setting th th classic th th modular th th modular th tr tr td app file td td file loading sinatra td td file subclassing sinatra base td td file subclassing sinatra application td tr tr td run td td 0 app file td td false td td false td tr tr td logging td td true td td false td td true td tr tr td method override td td true td td false td td true td tr tr td inline templates td td true td td false td td true td tr tr td static td td true td td file exist public folder td td true td tr table serving a modular application there are two common options for starting a modular app actively starting with run ruby my app rb require sinatra base class myapp sinatra base app code here start the server if ruby file executed directly run if app file 0 end start with shell ruby my app rb or with a config ru file which allows using any rack handler ruby config ru run with rackup require my app run myapp run shell rackup p 4567 using a classic style application with a config ru write your app file ruby app rb require sinatra get do hello world end and a corresponding config ru ruby require app run sinatra application when to use a config ru a config ru file is recommended if you want to deploy with a different rack handler passenger unicorn heroku you want to use more than one subclass of sinatra base you want to use sinatra only for middleware and not as an endpoint there is no need to switch to a config ru simply because you switched to the modular style and you don t have to use the modular style for running with a config ru using sinatra as middleware not only is sinatra able to use other rack middleware any sinatra application can in turn be added in front of any rack endpoint as middleware itself this endpoint could be another sinatra application or any other rack based application rails hanami roda ruby require sinatra base class loginscreen sinatra base enable sessions get login haml login post login do if params name admin params password admin session user name params name else redirect login end end end class myapp sinatra base middleware will run before filters use loginscreen before do unless session user name halt access denied please a href login login a end end get hello session user name end dynamic application creation sometimes you want to create new applications at runtime without having to assign them to a constant you can do this with sinatra new ruby require sinatra base my app sinatra new get hi my app run it takes the application to inherit from as an optional argument ruby config ru run with rackup require sinatra base controller sinatra new do enable logging helpers myhelpers end map a do run sinatra new controller get a end map b do run sinatra new controller get b end this is especially useful for testing sinatra extensions or using sinatra in your own library this also makes using sinatra as middleware extremely easy ruby require sinatra base use sinatra do get end run railsproject application scopes and binding the scope you are currently in determines what methods and variables are available application class scope every sinatra application corresponds to a subclass of sinatra base if you are using the top level dsl require sinatra then this class is sinatra application otherwise it is the subclass you created explicitly at the class level you have methods like get or before but you cannot access the request or session objects as there is only a single application class for all requests options created via set are methods at class level ruby class myapp sinatra base hey i m in the application scope set foo 42 foo 42 get foo do hey i m no longer in the application scope end end you have the application scope binding inside your application class body methods defined by extensions the block passed to helpers procs blocks used as a value for set the block passed to sinatra new you can reach the scope object the class like this via the object passed to configure blocks configure c settings from within the request scope request instance scope for every incoming request a new instance of your application class is created and all handler blocks run in that scope from within this scope you can access the request and session objects or call rendering methods like erb or haml you can access the application scope from within the request scope via the settings helper ruby class myapp sinatra base hey i m in the application scope get define route name do request scope for define route name value 42 settings get params name do request scope for params name value nil not the same request end route defined end end you have the request scope binding inside get head post put delete options patch link and unlink blocks before and after filters helper methods templates views delegation scope the delegation scope just forwards methods to the class scope however it does not behave exactly like the class scope as you do not have the class binding only methods explicitly marked for delegation are available and you do not share variables state with the class scope read you have a different self you can explicitly add method delegations by calling sinatra delegator delegate method name you have the delegate scope binding inside the top level binding if you did require sinatra an object extended with the sinatra delegator mixin have a look at the code for yourself here s the sinatra delegator mixin https github com sinatra sinatra blob ca06364 lib sinatra base rb l1609 1633 being extending the main object https github com sinatra sinatra blob ca06364 lib sinatra main rb l28 30 command line sinatra applications can be run directly shell ruby myapp rb h x q e environment p port o host s handler options are h help p set the port default is 4567 o set the host default is 0 0 0 0 e set the environment default is development s specify rack server handler default is puma q turn on quiet mode for server default is off x turn on the mutex lock default is off multi threading paraphrasing from this stackoverflow answer https stackoverflow com a 6282999 5245129 by konstantin sinatra doesn t impose any concurrency model but leaves that to the underlying rack handler server like puma or webrick sinatra itself is thread safe so there won t be any problem if the rack handler uses a threaded model of concurrency this would mean that when starting the server you d have to specify the correct invocation method for the specific rack handler the following example is a demonstration of how to start a multi threaded rainbows server ruby config ru require sinatra base class app sinatra base get do hello world end end run app ruby rainbows conf rainbows configurator is based on unicorn rainbows do use threadspawn end to start the server the command would be shell rainbows c rainbows conf requirement the following ruby versions are officially supported dl dt ruby 2 6 dt dd 2 6 is fully supported and recommended there are currently no plans to drop official support for it dd dt rubinius dt dd rubinius is officially supported rubinius 2 x it is recommended to tt gem install puma tt dd dt jruby dt dd the latest stable release of jruby is officially supported it is not recommended to use c extensions with jruby it is recommended to tt gem install trinidad tt dd dl versions of ruby before 2 6 are no longer supported as of sinatra 3 0 0 we also keep an eye on upcoming ruby versions expect upcoming 3 x releases to be fully supported sinatra should work on any operating system supported by the chosen ruby implementation running sinatra on a not officially supported ruby flavor means that if things only break there we assume it s not our issue but theirs the bleeding edge if you would like to use sinatra s latest bleeding edge code feel free to run your application against the main branch it should be rather stable we also push out prerelease gems from time to time so you can do a shell gem install sinatra pre to get some of the latest features with bundler if you want to run your application with the latest sinatra using bundler https bundler io is the recommended way first install bundler if you haven t shell gem install bundler then in your project directory create a gemfile ruby source https rubygems org gem sinatra github sinatra sinatra other dependencies gem haml for instance if you use haml note that you will have to list all your application s dependencies in the gemfile sinatra s direct dependencies rack and tilt will however be automatically fetched and added by bundler now you can run your app like this shell bundle exec ruby myapp rb versioning sinatra follows semantic versioning https semver org both semver and semvertag further reading project website https sinatrarb com additional documentation news and links to other resources contributing https sinatrarb com contributing find a bug need help have a patch issue tracker https github com sinatra sinatra issues twitter https twitter com sinatra mailing list https groups google com forum forum sinatrarb irc sinatra irc chat freenode net sinatra on freenode https freenode net sinatra friends https discord gg ncjsfsnhh7 on discord sinatra book https github com sinatra sinatra book cookbook tutorial sinatra recipes http recipes sinatrarb com community contributed recipes api documentation for the latest release https www rubydoc info gems sinatra or the current head https www rubydoc info github sinatra sinatra on rubydoc https www rubydoc info ci actions https github com sinatra sinatra actions
ruby rack web-framework sinatra
front_end
Algorithm-Of-Thoughts
multi modality agorabanner png https discord gg qutxnk2nmf algorithm of thoughts discord https img shields io discord 999382051935506503 twitter https img shields io twitter url style social url https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts https twitter com intent tweet text check 20out 20this 20amazing 20project 20on 20improving 20ai 20reasoning 20 20algorithm 20of 20thoughts 20https github com kyegomez algorithm of thoughts linkedin https img shields io badge share linkedin blue style social logo linkedin https www linkedin com sharing share offsite url https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts facebook https img shields io badge share facebook blue style social logo facebook https www facebook com sharer sharer php u https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts reddit https img shields io badge share reddit orange style social logo reddit https www reddit com submit url https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts title check 20out 20this 20amazing 20project 20on 20improving 20ai 20reasoning 20 20algorithm 20of 20thoughts 21 hacker news https img shields io badge share hacker 20news orange style social logo y combinator https news ycombinator com submitlink u https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts t check 20out 20this 20amazing 20project 20on 20improving 20ai 20reasoning 20 20algorithm 20of 20thoughts 21 pinterest https img shields io badge share pinterest red style social logo pinterest https pinterest com pin create button url https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts media https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts 2fraw 2fmain 2falgorithm of thoughts jpeg description check 20out 20this 20amazing 20project 20on 20improving 20ai 20reasoning 20 20algorithm 20of 20thoughts 21 whatsapp https img shields io badge share whatsapp green style social logo whatsapp https api whatsapp com send text check 20out 20this 20amazing 20project 20on 20improving 20ai 20reasoning 20 20algorithm 20of 20thoughts 21 20https 3a 2f 2fgithub com 2fkyegomez 2falgorithm of thoughts aot banner aot png the open source implementation of algorithm of thoughts enhancing exploration of ideas in large language models that increases model reasoning by nearly 80 or 10 more than tree of thoughts https github com kyegomez algorithm of thoughts algorithm of thoughts enhancing exploration of ideas in large language models https arxiv org abs 2308 10379 installation pip install aot x usage python from aot main import aot task use numbers and basic arithmetic operations to obtain 24 when considering the next steps do not choose operations that will result in a negative or fractional number in order to help with the calculations the numbers in the parenthesis represent the numbers that are left after the operations and they are in descending order another thing we do is when there are only two numbers left in the parenthesis we check whether we can arrive at 24 only by using basic arithmetic operations some examples regarding this idea 21 2 no since 21 2 23 21 2 19 21 2 42 21 2 10 5 none of which is equal to 24 30 6 30 6 24 yes 8 3 8 3 24 yes 12 8 no 48 2 48 2 24 yes most importantly do not give up all the numbers that will be given has indeed a solution 14 8 8 2 objective 5 10 5 2 dfs aot num thoughts 2 max steps 10 value threshold 1 initial prompt task openai api key eneter in your api key result dfs solve print result todo all thoughts over 0 5 are added to cache or longterm vectorstore x dfs search similiar to algorithm of thoughts x propose solutions function x backtrack to nearest successful states x implement evaluation strategy similiar to tot with 0 0 1 0 x working demo conducts search then backtracks through states provide visuals green text streamlit demo citation misc 2308 10379 author bilgehan sel and ahmad al tawaha and vanshaj khattar and lu wang and ruoxi jia and ming jin title algorithm of thoughts enhancing exploration of ideas in large language models year 2023
artificial-intelligence gpt4 gpt4-api gpt4all prompt-engineering swarms transformer-architecture transformer-models ai-reasoning
ai
nlpps
natural language processing for political science workshop on text analytics for political science slava mikhaylov s mikhaylov essex ac uk institute for analytics and data science department of computer science and electronic engineering department of government university of essex overview data science is an exciting new area that combines scientific inquiry statistical knowledge substantive expertise and computer programming one of the main challenges for businesses and policy makers when using big data is to find people with the appropriate skills good data science requires experts that combine substantive knowledge with data analytical skills which makes it a prime area for social scientists with an interest in quantitative methods this course focuses on one aspect of data science generating valuable insights from text using natural language processing preparing for the course before the course you should download and install r https cran r project org and rstudio http www rstudio com on your computer install rtools for windows machines from cran https cran r project org bin windows rtools if you are using os x you will need to to install xcode available for free from the app store this will install a compiler if you don t have a compiler installed which will be needed when installing packages from github that require compilation from c source code make sure you have at least r 3 3 3 installed the latest version of r as of 23 may 2017 is 3 4 0 make sure your packages are up to date from the command line run update packages ask false install quanteda from cran from the packages pane in rstudio or from the command line install packages quanteda install readtext from github following these instructions https github com kbenoit readtext blob master readme md try creating and knitting an rmarkdown file you can run the attached test rmd start test rmd file and if builds without error and looks like this test html start test html then you have successfully configured your system if asked by rstudio install all needed packages set up a github account and install necessary packages following discussion in hadley wickham s r packages git and github chapter http r pkgs had co nz git html instructions for use of course materials you have three options for downloading the course material found on this page 1 you can download the materials by clicking on each link 2 you can clone repository using the buttons found to the right side of your browser window as you view this repository this is the button labelled clone in desktop if you do not have a git client installed on your system you will need to get one here https git scm com download gui and also to make sure that git is installed https git scm com downloads this is preferred since you can refresh your clone as new content gets pushed to the course repository and new material will get actively pushed to the course repository at least once per day as this course takes place 3 statically you can choose the button on the right marked download zip which will download the entire repository as a zip file you can also subscribe to the repository if you have a github account https github com which will send you updates each time new changes are pushed to the repository schedule 1 overview and introduction to data science notes module1 overview pdf 2 replicability in social science r markdown r notebooks github r markdown http rmarkdown rstudio com r notebooks http rmarkdown rstudio com r notebooks html github and rstudio hadley wickham book r packages chapter git and github http r pkgs had co nz git html examples uk government digital service https github com ukgovdatascience rmarkdown reporting https rstudio pubs static s3 amazonaws com 266658 321dcb37d49347e08684eb4c1311a15e html 3 text scaling models naive bayes pca ca notes module3 text scaling pdf text scaling module3 rap nb html background laver michael kenneth benoit and john garry 2003 extracting policy positions from political texts using words as data american political science review 97 311 331 lowe william 2008 understanding wordscores political analysis 16 4 356 371 greenacre m 2007 correspondence analysis in practice 2nd edition appendix a b spirling a 2012 u s treaty making with american indians institutional change and relative power 1784 1911 american journal of political science 56 84 97 herzog a and k benoit 2015 the most unkindest cuts speaker selection and expressed government dissent during economic crisis journal of politics 77 4 1157 1175 4 topic models lda ctm stm notes module4 topic models pdf analysing topical structure in eu reports module4 notebook nb html background david blei 2012 probabilistic topic models communications of the acm 55 4 77 84 blei david andrew y ng and michael i jordan 2003 latent dirichlet allocation journal of machine learning research 3 993 1022 blei david 2014 build compute critique repeat data analysis with latent variable models annual review of statistics and its application 1 203 232 roberts stewart tingley lucas leder luis gadarian albertson and rand 2014 structural topic models for open ended survey responses american journal of political science 58 4 1064 1082 blei d and j lafferty topic models in text mining classification clustering and applications a srivastava and m sahami eds pp 71 94 2009 chapter available here http www cs princeton edu blei papers bleilafferty2009 pdf 5 word embeddings word2vec text2vec notes module5 word embedding pdf background mikolov tomas et al efficient estimation of word representations in vector space goldberg yoav and omer levy word2vec explained deriving mikolov et al s negative sampling word embedding method mikolov tomas sutskever ilya chen kai corrado greg s dean jeff 2013 distributed representations of words and phrases and their compositionality advances in neural information processing systems levy omer goldberg yoav dagan ido 2015 improving distributional similarity with lessons learned from word embeddings transactions of the association for computational linguistics pennington et al glove global vectors for word representation huang et al improving word representations via global context and multiple word prototypes 6 textual patterns and quality assessment keyness similarity distance readability analysing textual patterns module6 lancet nb html text similarity module6 eunotebook nb html 7 project discussion prepare a presentation using r markdown on a project that uses nlp optional group work presentation and discussion of each project
ai
maraschino
maraschino author bradley abrahams https github com mrkipling main collaborators gustavo hoirisch https github com gugahoi and david gray https github com n3mis15 what is maraschino i wanted a simple web interface to act as a nice overview front page for my kodi htpc i couldn t find anything that suited my requirements so i created something myself you can find more information and setup instructions on the project homepage http www maraschinoproject com maraschino project homepage in addition there s also a thread on the kodi forums http forum kodi tv showthread php tid 113136 highlight maraschino kodi forums screenshots img src http www maraschinoproject com static images screenshot1 jpg width 355 nbsp nbsp img src http www maraschinoproject com static images screenshot2 jpg width 355 what features does it have customisable applications module providing quick access to your web interfaces e g sabnzb sickbeard or whatever else you want to link to recently added episodes movies albums modules click an episode or movie to play it in kodi media library browser browse your entire movie and tv library and click to play in kodi queue items to play after control multiple kodi servers do you have an kodi server in both the living room and bedroom switch between the two instantly and control them using maraschino send notification messages to them remotely sabnzbd and nzbget modules manage your nzb queue from within maraschino they appear when something is downloading and hide again when finished shows you what is currently downloading speed time mb remaining and a progress bar control pause resume speed limit your downloads usenet search search usenet and add files directly to sabnzbd with the click of a button currently playing bar with play pause stop volume controls and a clickable seek bar trakt tv shouts module which shows you what people are saying about the episode or movie that you re watching and allows you to add your own shouts requires a free trakt tv account trakt tv plus module see what your friends are watching and view personalised tv and movie recommendations based on your viewing history sickbeard module which allows you to browse upcoming episodes and manage sickbeard directly from maraschino add new shows search for episodes etc couchpotato module which allows you to browse upcoming movies and manage couchpotato directly from maraschino add new movies etc headphones module which allows you to browse upcoming albums and manage headphones directly from maraschino add new artists search for albums etc disk space module showing you used remaining space on your various drives utorrent and transmission modules for the torrent users among you weather module for your local city because why not full screen background image which changes to the fanart of what you re currently watching optional can be turned off but looks kinda pretty customisable from within the application itself choose how many columns you want add new modules rearrange them using drag and drop and modify their settings without touching any settings files uses flask and some other awesome technologies sql alchemy less css but you don t need to know about that if you don t want to what license is it released under it is released under the mit license which can be found here https github com mrkipling maraschino blob master license why is it called maraschino if your htpc is an ice cream sundae then maraschino is the cherry on top img src http www maraschinoproject com static images maraschino logo png width 71 height 79
maraschino xbmc htpc movie episodes kodi
front_end
Qwerty-Pen
qwerty pen project for embedded system design course ecen 5613
os
typescript-blockchain
typescript blockchain a simple implementation of blockchain in typescript para a vers o em portugu s clique aqui readme pt md description this is a simple implementation of blockchain in typescript the objectives are purely educational this is not a fully featured blockchain implementation it is only intended to show how to use the basic concepts of blockchain for now it is not distributed however there are plans to make it even more robust and distributed using network communication current features runs in a single node can be used to create a new blockchain can be used to add new blocks to an existing blockchain can be used to verify the validity of a block blocks support any data on the payloads future features save the blockchain to a file add transaction support add branching support add token support distributed network distributed consensus distributed transaction distributed mining installation bash npm i usage it takes a two optional parameters which are the difficulty of the mining process default is 4 the number of blocks to mine default is 10 bash npm start difficulty 4 numberofblocks 10 forseeable to do distributed network refactor to make blocks a class instead of an interface so it can have internal methods to calculate hashes and nonces add small graph visualization frontend
blockchain blockchain-technology blockchain-demos bitcoin
blockchain
web-dev-2023
web dev 2023 add your web development projects hacktoberfest 2023 open source contribution guide welcome to hacktoberfest 2023 we re excited that you re interested in making an open source contribution this guide will help beginners get started on their journey to contributing to open source projects during hacktoberfest table of contents 1 what is hacktoberfest what is hacktoberfest 2 getting started getting started 3 finding projects finding projects 4 making your contribution making your contribution 5 submitting a pull request submitting a pull request 6 tips for success tips for success 7 resources resources what is hacktoberfest hacktoberfest is an annual event hosted by digitalocean and github that encourages people to contribute to open source projects the goal is to promote and support the open source community while giving participants the opportunity to learn and improve their coding skills to participate in hacktoberfest you need to make four valid pull requests to open source repositories during the month of october these pull requests can be to any participating project and they don t have to be code changes they can include documentation updates bug fixes or any other contributions that benefit the project getting started before you dive into contributing here are some basic steps to get you started 1 create a github account if you don t already have one you ll need a github account to contribute to open source projects you can sign up for free at github https github com 2 install git if you don t have git installed on your computer you can download it from git s official website https git scm com git is essential for cloning repositories and managing your contributions 3 learn the basics of git familiarize yourself with the basic git commands like clone commit push and pull there are many tutorials available online to help you get started with git finding projects finding the right open source project to contribute to can be a crucial step here s how you can discover projects 1 hacktoberfest website visit the official hacktoberfest website https hacktoberfest digitalocean com to find a list of participating projects you can filter projects by programming language difficulty level and more 2 github search you can search for open issues on github using keywords related to your interests or skills look for repositories with labels like hacktoberfest or good first issue 3 contributor friendly projects some repositories explicitly welcome new contributors look for repositories with a contributing md or readme md file that provides guidelines for contributors making your contribution once you ve found a project you re interested in here are the general steps to make a contribution 1 fork the repository on the project s github page click the fork button in the top right corner this creates a copy of the repository in your github account 2 clone the repository use the git clone command to download a local copy of the forked repository to your computer 3 make changes make the necessary changes or additions to the code or documentation 4 commit your changes use the git commit command to commit your changes with a meaningful message 5 push changes use the git push command to push your changes to your github fork submitting a pull request once your changes are ready you can submit a pull request pr to the original repository here s how 1 create a pull request on your forked repository s github page click the new pull request button 2 compare branches ensure that you are comparing the correct branches typically you want to compare your fork s branch with the original repository s branch e g main or master 3 describe your changes provide a clear and concise description of the changes you ve made in the pr 4 submit the pull request click the create pull request button to submit your pr tips for success read the contribution guidelines always read the project s contribution guidelines if available this ensures you follow the project s conventions start small if you re new to open source consider starting with good first issue labels or small bug fixes this helps you become familiar with the project s workflow be patient be patient when waiting for maintainers to review and merge your pr they may have a lot of contributions to review ask for help if you re stuck or have questions don t hesitate to ask for help in the project s communication channels such as issue comments or community forums resources here are some resources to help you on your open source journey github learning lab https lab github com interactive courses to learn git and github open source guides https opensource guide comprehensive guides on open source best practices hacktoberfest official faq https hacktoberfest digitalocean com faq answers to common hacktoberfest questions remember hacktoberfest is about learning collaborating and giving back to the open source community happy hacking if you have any questions or need further assistance feel free to reach out to the project maintainers or the hacktoberfest community good luck with your contributions
css3 hacktoberfest hacktoberfest2023 html5 js webdevelopment hacktoberfest-accepted
front_end
dmlc-core
distributed machine learning common codebase build status https github com dmlc dmlc core workflows continuous 20build badge svg https github com dmlc dmlc core actions documentation status https readthedocs org projects dmlc core badge version latest http dmlc core readthedocs org en latest github license http dmlc github io img apache2 svg license dmlc core is the backbone library to support all dmlc projects offers the bricks to build efficient and scalable distributed machine learning libraries developer channel join the chat at https gitter im dmlc dmlc core https badges gitter im join 20chat svg https gitter im dmlc dmlc core utm source badge utm medium badge utm campaign pr badge utm content badge what s new note on parameter module for machine learning http dmlc core readthedocs org en latest parameter html contents documentation and tutorials http dmlc core readthedocs org en latest contributing contributing known issues recordio format is not portable across different processor endians so it is not possible to save recordio file on a x86 machine and then load it on a sparc machine because x86 is little endian while sparc is big endian contributing contributing to dmlc core is welcomed dmlc core follows google s c style guide if you are interested in contributing take a look at feature wishlist https github com dmlc dmlc core labels feature 20wishlist and open a new issue if you like to add something dmlc core uses c 11 standard ensure that your c compiler supports c 11 try to introduce minimum dependency when possible checklist before submit code type make lint and fix all the style problems type make doc and fix all the warnings note deps libcurl4 openssl dev
dmlc
ai
front-end-cheatsheet
front end cheatsheet a cheat sheet with common commands and reminders for node angular cli jasmine semver img src https raw githubusercontent com markusfalk front end cheatsheet master front end cheat sheet jpg alt https github com markusfalk front end cheatsheet blob master pdf front end cheat sheet pdf raw true download pdf https github com markusfalk front end cheatsheet blob master pdf front end cheat sheet pdf raw true
front_end
Teladoc-Intern-Project
ios engineering internship summer 2019 my project teladoc is a telemedicine company that provides quality on demand remote medical consultations via phone and videoconferencing i interned at teladoc this past summer as an ios developer on the mobile team i spent approximately 85 of my time writing swift code and 15 of my time writing objective c code over the course of my internship i worked to enhance and develop new features for the provider app an app that allows doctors to schedule and conduct remote appointments from their ios devices specifically i worked with my team to both implement a future availability scheduler for internists and psychiatrists and to integrate a new video system in the ios app i also worked on various other projects with my team involving restkit and core data independently i built out the sandbox consultation tool a new demo mode of a teladoc appointment from the doctor s perspective this new tool provides doctors with a simulated consult experience in which they can practice conducting medical appointments remotely attractive buttons colored popup messages engaging sounds and friendly animations guide the doctors through the entire demo consult i designed all these components in sketch prototyped with invision and then implemented them with core graphics core animation spring and hero this tool is built entirely in swift and currently supports general medical dermatology and psychiatry demo appointments it has gone into production and can be found in the settings section of the provider app this repository contains a screen recording and slideshow with more information about this project reflections i was fortunate to have a fantastic manager and teammates who allowed me to truly integrate into the team and push real code into production this summer thank you all for giving me a great experience and helping me learn and grow as a developer this project is shared with permission from teladoc code cannot be shared
os
Lua-RTOS-ESP32-additions
proposed additions to whitecat s lua rtos esp32 https github com whitecatboard lua rtos esp32 curl module net functions http https get post ftp ftps list get file put file email send email
esp32 lua-rtos-esp32 lua curl
os
Restaurant-Review-Categoriser
restaurant review categoriser this repository contains a nlp program made with python which automatically categorize the reviews received as positive or negative major libraries used 1 nltk 2 re contributions are welcomed here built with love http forthebadge com images badges built with love svg
natural-language-processing python3
ai
design-system
zesty io design system zesty design system https zesty io github io design system a system for building consistent products requires node js and npm we recommend installing node 8 lts https nodejs org en which will include npm core package setup link the core to the global node modules and build the package cd core npm install sudo npm start running docs locally for testing run core package setup before docs cd docs npm run prestart npm start open browser to http localhost 8080 hard refresh publish design systems docs cd docs npm run build after every time you make an edit git push master connecting design systems to manager ui in manager ui npm i npm link zesty io core
os
RC_Car
rc car microcontroller based rc car designed for introduction to embedded systems class ncsu this is a project in which we designed an embedded system controlled remote control car the car can detect black lines using infrared lights paired with infrared detectors in designing this car we learned how to read datasheets set up ports for peripherals set up clocks exhibit an understanding of power usage control the car over the internet iot and allow for autonomous and controlled portions for a final circuit this repository contains two main project folders linedetect and fullcircuit linedetect is a project in which the car drives forward until it detects a line then continuously follows it fullcircuit is a project in which the car has full capability to follow a circuit that is explained within the file the circuit consists of both remote controlled and autonomous portions it essentially adds iot to the linedetect project
os
maker
maker maker is a mobile first themeable vue js 2 x component library view its docs here https square github io maker styleguide latest stable install sh install maker npm i square maker install peer dependencies npx i peers a quick links using latest version of maker read latest stable docs https square github io maker styleguide latest stable using older version of maker find older version docs here https square github io maker upgrading to a new major version of maker read the migration docs https github com square maker blob master github migration md need to report a bug create an issue https github com square maker issues new choose need to request a new feature create an issue https github com square maker issues new choose need to ask a question ask here https github com square maker discussions contributing to maker read the contributing docs https github com square maker blob master github contributing md
vuejs design-system component-library
os
cloudeng101
cloudeng101 introductory labs for cloud engineering
cloud
Prophecis
prophecis license https img shields io badge license apache 202 4eb1ba svg https www apache org licenses license 2 0 html english docs zh cn readme md introduction prophecis is a one stop machine learning platform developed by webank it integrates multiple open source machine learning frameworks has the multi tenant management capability of machine learning compute cluster and provides full stack container deployment and management services for production environment architecture overall structure prophecis docs en us image prophecis arch jpg five key services in prophecis prophecis machine learning flow distributed machine learning modeling tool with stand alone and distributed mode model training functions supports tensorflow python xgboost and other machine learning frameworks and supports the complete pipeline from machine learning modeling to deployment prophecis mllabis machine learning development and exploration tools providing development and exploration services mllabis is an online ide based on jupyter lab it also supports machine learning tasks for gpu and hadoop clusters supports python r and julia and integrates debug and tensorboard plugins prophecis model factory mf provides machine learning model storage model deployment ab test model management and other services prophecis data factory df provides feature engineering tools data labeling tools and material management services prophecis application factory af is jointly developed by the big data platform team and ai department of webank it is based on qingcloud s open source system kubesphere custom development providing ci cd and devops tools gpu cluster monitoring and warning capabilities features prophecis docs en us image prophecis features jpg whole machine learning life cycle support prophecis s mlflow can be nested into the workflow of datasphere stdudio through appjoint support the entire machine learning process from data upload data preprocessing feature engineering model training model evaluation model release to model deployment dss prophecis docs zh cn image dss prophecis gif one click model deployment service prophecis mf supports deploying models generated by prophecis machine learning flow and propheics mllabis as restful api or rpc interface with one click so as to realize seamless connection between model and business system comprehensive management platform based on the community open source program customization prophecis provides complete reliable and highly flexible enterprise level machine learning application release monitoring service management log collection and query management tools and realizes the full control of machine learning applications to meet the needs of enterprises learn to apply all the work requirements of the online production environment quick start guide read the quick start guide docs zh cn quickstartguide md to quickly get going with prophecis about configuration read key configuration explanation in configuration guide docs zh cn development documents configurationguide md developing read the development guide docs zh cn development documents developmentguide md guide to quickly get how to develop prophecis roadmap see our roadmap docs zh cn roadmap md for what s coming soon in prophecis contributing contributions are warmly welcomed and greatly appreciated communication if you desire immediate response please kindly raise issues to us or scan the below qr code by wechat and qq to join our group communication docs zh cn image communication png license prophecis is under the apache 2 0 license see the license file for details
ml notebook machine-learning linkis multi-tenant-management gpu
ai
Learning-Resource-Path-Front-End
div align center h1 learning resource roadmap front end development h1 p this repo serves as a resource for developers to leverage on their journey into front end development p p align center a href https github com lauragift21 learning resource path front end img src https img shields io badge roadmap 2019 purple svg a a href https twitter com intent tweet text learning 20resource 20roadmap 20for 20front 20end 20developers 20https 3a github com devcenter square learning resource path front end img src https img shields io badge twitter tweet blue svg a a href https www devcenter co community img src https img shields io badge feedback devcentersquare green svg a p div this is a visual roadmap for beginners venturing into the world of software development in order not to feel overwhelmed by how much you need to know to be a front end developer this roadmap serves as a guide through out your journey you can follow through this guide and be assured you are on the right path resource types interactive book video article podcast community paid resource free resource exercises beginner level front end development html codecademy https www codecademy com learn learn html html cheatsheet https digital com tools html cheatsheet udacity https www udacity com course intro to html and css ud001 html best practices https github com hail2u html best practices html reference guide https htmlreference io mdn html guide https developer mozilla org en us docs learn html marksheet io https marksheet io html basics html w3schools html guide https www w3schools com html html com https html com htmldog html beginner http www htmldog com guides html beginner frontend masters bootcamp https frontendmasters com bootcamp html5 periodic table https websitesetup org html5 periodical table scaler html reference https www scaler com topics html html features https www interviewbit com blog features of html css learn css from codecademy https www codecademy com learn learn css mdn css guide https developer mozilla org en us docs learn css css reference https cssreference io learn layout http learnlayout com css diner http flukeout github io css secrets by lea verou https www amazon com css secrets solutions everyday problems dp 1449372635 encoding utf8 tag frontend handbook 20 linkcode ur2 linkid 40a9480c18839b4b2ea798aa2afafd0e camp 1789 creative 9325 30 seconds of css https 30 seconds github io 30 seconds of css css in depth https frontendmasters com courses css in depth v2 learn css in deatil https www scaler com topics css w3schools css guide https www w3schools com css css intro asp css tutorial https www csstutorial net css intro introductioncss part1 php learn css in 5 minutes https medium freecodecamp org get started with css in 5 minutes e0804813fc3e htmldog css beginner http www htmldog com guides css beginner visual guide to the most popular css properties https hackr io tutorial visual guide to the most popular css properties frontend masters bootcamp https frontendmasters com bootcamp types of css https www interviewbit com blog types of css exercises challenges to test out your knowledge on html and css make a customised birthday card https codeclubprojects org en gb webdev happy birthday tell a story with a webpage https codeclubprojects org en gb webdev tell a story make a poster https codeclubprojects org en gb webdev wanted create a webpage to display your favourite recipe https codeclubprojects org en gb webdev recipe create a mystery letter https codeclubprojects org en gb webdev mystery letter create a webpage to showcase your projects https codeclubprojects org en gb webdev project showcase build a robot on a webpage https codeclubprojects org en gb webdev build a robot create fun robot stickers https codeclubprojects org en gb webdev stickers create an animated sunrise image https codeclubprojects org en gb webdev sunrise create a web project with several linked rooms https codeclubprojects org en gb webdev linked rooms create a multi page magazine website https codeclubprojects org en gb webdev magazine create a pixel editor https codeclubprojects org en gb webdev pixel art build a simple website using html css and javascript https docs microsoft com en us learn modules build simple website wt mc id none twitter buhollan javascript javascript info https javascript info eloquent javascript https eloquentjavascript net mozilla developer network learn javascript https developer mozilla org en us docs learn javascript codecademy https www codecademy com learn learn javascript you don t know js up and going https github com getify you dont know js tree 1st ed up 20 26 20going javascript tutorial https www scaler com topics javascript mdn javascript reference https developer mozilla org en us docs web javascript reference array explorer https sdras github io array explorer object explorer https sdras github io object explorer htmldog javascript beginner http www htmldog com guides javascript javascript for beginners udacity https www udacity com course intro to javascript ud803 learn javascript the easiest way to learn pracice modern javascript https learnjavascript online javascript books https www interviewbit com blog best javascript books git git basics https git scm com videos git the simple guide http rogerdudler github io git guide version control with git udacity https www udacity com course version control with git ud123 how to use git and github udacity https www udacity com course how to use git and github ud775 github and collaboration udacity https www udacity com course github collaboration ud456 git cheatsheet https gitsheet wtf git interactive https www katacoda com courses git pro git book https git scm com book en v2 git branching https learngitbranching js org git notes for professionals https books goalkicker com gitbook mid level front end development css a beginner s guide to css grid by kara luton freecodecamp https medium freecodecamp org a beginners guide to css grid 3889612c4b35 css grid layout simple guide by sergey gavelyuk https codeburst io css grid layout simple guide e0296cf14fe8 learn css grid by per harald borgen scrimba https scrimba com g gr8pte css flexbox w3schools https www w3schools com css css3 flexbox asp css flexbox tutorial mmtuts https www youtube com watch v 0e02dl66pyo quick what s the difference between flexbox and grid https css tricks com quick whats the difference between flexbox and grid media queries mdn web docs https developer mozilla org en us docs web css media queries css3 media queries tutorialrepublic https www tutorialrepublic com css tutorial css3 media queries php logic in media queries by chris coyier css tricks https css tricks com logic in media queries what is a css preprocessor mdn https developer mozilla org en us docs glossary css preprocessor css preprocessors by shay howe https learn shayhowe com advanced html css preprocessors an introduction to css pre processors sass less and stylus https htmlmag com article an introduction to css preprocessors sass less stylus what is responsive web design w3schools https www w3schools com css css rwd intro asp responsive web design by shay howe https learn shayhowe com advanced html css responsive web design responsive web design tutorial and explanation https youtu be biz02qy5bra responsive web design principles freecodecamp https learn freecodecamp org responsive web design responsive web design principles responsive web design fundamentals udacity https www udacity com course responsive web design fundamentals ud893 flexbox froggy https flexboxfroggy com grid garden https cssgridgarden com how flexbox works explained with big colorful animated gifs https medium freecodecamp org an animated guide to flexbox d280cf6afc35 how to organize your css with a modular architecture oocss bem smacs https snipcart com blog organize css modular architecture understanding css selectors https medium com backticks tildes understanding css selectors 26fe2ea19132 bem a new front end methodology https www smashingmagazine com 2012 04 a new front end methodology bem bem full introduction to the bem methodology https www toptal com css introduction to bem methodology css mega cheat sheet https makeawebsitehub com css3 mega cheat sheet javascript 10 things a serious javascript developer should learn https benmccormick org 2017 07 19 ten things javascript exploring es6 http exploringjs com es6 html learning javascript design patterns https addyosmani com resources essentialjsdesignpatterns book robust javascript https molily de robust javascript you don t know js types and grammer https github com getify you dont know js blob 2nd ed types grammar readme md you don t know js scope and closures https github com getify you dont know js blob 2nd ed scope closures readme md you don t know js es next and beyond https github com getify you dont know js blob 2nd ed es next beyond readme md the beginning of an adventure 13 weeks of javascript https medium com aerox the beginning of an adventure 13 weeks of javascript 78107605d533 javascript template literals tag functions for beginners https codeburst io javascript template literals tag functions for beginners 758a041160e1 javascript the spread operator https codeburst io javascript the spread operator a867a71668ca libraries vs frameworks https medium com datafire io libraries vs frameworks 626cdde799a7 single page applications and how they work https blog pshrmn com entry how single page applications work regular expressions demystified regex isn t as hard as it looks https medium freecodecamp org regular expressions demystified regex isnt as hard as it looks 617b55cf787 an introduction to regular expressions regex in javascript https codeburst io an introduction to regular expressions regex in javascript 1d3559e7ac9a commenting javascript code with jsdoc https www eventbrite com engineering commenting javascript code with jsdoc introduction to functional programming in javascript https medium com the andela way introduction to functional programming in javascript 1e7118545618 functional programming and function chaining in javascript https medium com gertienyesh functional programming and function chaining in javascript 76628d3cf1f5 react official react documentation https facebook github io react docs hello world html react resources https reactresources com react 101 codecademy https www codecademy com learn react 101 the beginner guide to reactjs https egghead io courses the beginner s guide to reactjs react bootcamp https tylermcginnis com free react bootcamp road to learn react https www robinwieruch de the road to learn react react quickly https www manning com books react quickly react podcast https changelog com reactpodcast react for beginners https reactforbeginners com leigh halliday blog https www leighhalliday com learn react for free https scrimba com learn learnreact vue vue official documentation https vuejs org v2 guide learn vue 2 step by step https laracasts com series learn vue 2 step by step vue cookbook https vuejs org v2 cookbook vue mastery https www vuemastery com awesome vue https github com vuejs awesome vue egghead vue courses https egghead io browse frameworks vue vue developers blog courses https vuejsdevelopers com fullstack vue https www fullstack io vue the vue js course https vuecourse com preview angular angular tutorial https egghead io browse frameworks angular angular an overview https medium com mlbors an overview of angular 3ccd2950648e angular official home page https angular io angular getting started deborah kurata pluralsight https www pluralsight com courses angular 2 getting started update angular cli john papa pluralsight https www pluralsight com courses angular cli build your first angular app dan wahlin scrimba https scrimba com g gyourfirstangularapp angular the complete guide maximilian schwarzm ller udemy https www udemy com the complete guide to angular 2 using animations with angular https medium freecodecamp org how to use animation with angular 6 675b19bc3496 testing testing javascript on udacity https www udacity com course javascript testing ud549 testing clientside javascript https app pluralsight com library courses testing javascript table of contents aid 7010a000002luv2aag testing with jest from zero to hero https blog logrocket com testing with jest from zero to hero 85ce0e9cc953 learn javascript unit testing with mocha chai and sinon https www udemy com learn javascript unit testing with mocha chai and sinon exercises challenges to test out your knowledge on javascript bin2dec https github com florinpop17 app ideas blob master projects bin2dec app md trueorfalse https github com florinpop17 app ideas blob master projects true or false app md color cycle https github com florinpop17 app ideas blob master projects color cycle app md flip image https github com florinpop17 app ideas blob master projects flip image app md lorem ipsum generator https github com florinpop17 app ideas blob master projects lorem ipsum generator md notes app https github com florinpop17 app ideas blob master projects notes app md slider design https github com florinpop17 app ideas blob master projects slider design md pomodoro clock https github com florinpop17 app ideas blob master projects pomodoro clock md cause effect https github com florinpop17 app ideas blob master projects cause effect app md christmas lights https github com florinpop17 app ideas blob master projects christmas lights app md windchill https github com florinpop17 app ideas blob master projects windchill app md book finder app https github com florinpop17 app ideas blob master projects book finder app md flash cards https github com florinpop17 app ideas blob master projects flashcards app md markdown previewer https github com florinpop17 app ideas blob master projects markdown previewer md markdown table generator https github com florinpop17 app ideas blob master projects markdown table generator md string art https github com florinpop17 app ideas blob master projects string art md timezone slackbot tz https github com florinpop17 app ideas blob master projects timezone slackbot md to do app https github com florinpop17 app ideas blob master projects to do app md github timeline https github com florinpop17 app ideas blob master projects github timeline app md kudo s slackbot https github com florinpop17 app ideas blob master projects kudos slackbot md slack archiver https github com florinpop17 app ideas blob master projects slack archiver md spell it https github com florinpop17 app ideas blob master projects spellit app md build a simple calculator https zellwk com blog calculator part 1 make an image slider http rafbm github io howtomakeaslider make a pop up penguin game https googlecreativelab github io coder projects projects pop up penguins make your own modrian https googlecreativelab github io coder projects projects mondrian night and day switcher https googlecreativelab github io coder projects projects night and day music boxes https googlecreativelab github io coder projects projects music boxes two puppy https googlecreativelab github io coder projects projects two puppy create a game breakout https billmill org static canvastutorial index html easybank landing page https www frontendmentor io challenges easybank landing page wauhkodn ip adress tracker https www frontendmentor io challenges ip address tracker i8 0yyah0 web animations a detailed guide to css animations and transitions https medium com engineerbabu a detailed guide to css animations and transitions b544502c089c ref devawesome developer tools a brief introduction to chrome dev tools https developers google com web tools chrome devtools get started with debugging javascript in chrome devtools https developers google com web tools chrome devtools javascript debugging in chrome https javascript info debugging chrome web fonts quick to web fonts via font face https www html5rocks com en tutorials webfonts quick a beginner s guide to choosing web fonts google https design google library choosing web fonts beginners guide understanding web fonts and getting the most out of them css tricks https css tricks com understanding web fonts getting get started with the google fonts api https developers google com fonts docs getting started ui ux design learn ux https learnux io design for non designers https www youtube com watch v zbrzdmaumnk feature youtu be advanced level front end development web security the basics of web application security https martinfowler com articles web security basics html web security basics https www beyondsecurity com blog web security basics a quick introduction to web security https medium freecodecamp org a quick introduction to web security f90beaf4dd41 web security on frontendmasters https frontendmasters com courses web security browser security handbook https code google com archive p browsersec wikis main wiki frontend security https mikewest org 2013 09 frontend security frontendconf 2013 http security best practice https httpsecurityreport com best practice html data mangement graphql rest rest api concepts and examples https youtu be 7ycw25phnaa serverless architecture serverless architecture explained https www youtube com watch v rzsam6kl1fu computer science computer science for all https www cs hmc edu csforall state management advanced state management in react feat redux and mobx https frontendmasters com courses react state getting started with redux https egghead io courses getting started with redux manage application state with mobx state tree https egghead io courses manage application state with mobx state tree building react applications with idiomatic redux https egghead io courses building react applications with idiomatic redux react js tutorial how redux works https www youtube com watch v 1w oq i1xb8 list ploycgnoiygadilc3iujzygcqc8tt3brxt a complete react redux tutorial for beginners 2019 https daveceddia com redux tutorial web typography quick guide to webfonts via font face https www html5rocks com en tutorials webfonts quick a comprehensive guide to font loading strategies https www zachleat com web comprehensive webfonts web fonts https developer mozilla org en us docs learn css styling text web fonts responsive typography https frontendmasters com courses responsive typography responsive and mobile design responsive web design fundamentals https www udacity com course responsive web design fundamentals ud893 css grids and flexbox for responsive web design https frontendmasters com courses css grids flexbox responsive web design podcast https responsivewebdesign com podcast progressive web app progressive web app google https developers google com web progressive web apps intro to progressive web apps https www udacity com course intro to progressive web apps ud811 progressive web applications and offline https frontendmasters com courses progressive web apps a beginner s guide to progressive web apps https www smashingmagazine com 2016 08 a beginners guide to progressive web apps mdn progressive web app guide https developer mozilla org en us docs web progressive web apps 4 important points to know about progressive web apps pwa https medium com deepusnath 4 points to keep in mind before introducing progressive web apps pwa to your team 8dc66bcf6011 your first pwa https developers google com web fundamentals codelabs your first pwapp web performance website performance optimization https www udacity com course website performance optimization ud884 perf rocks https perf rocks high performance web sites essential knowledge for front end engineers https www amazon com high performance web sites essential dp 0596529309 encoding utf8 tag frontend handbook 20 linkcode ur2 linkid e93ab3ea06b7e3e93ee0d868249d0e3f camp 1789 creative 9325 javascript performance https frontendmasters com courses web performance web accessibility getting started intro to accessibility concepts tools http wps pearsoned com accessibility 207 53073 13586831 cw index html accessible to all https web dev accessible accessiblity dev https accessibility dev accessibility guide https webaccessibility guide accessiblity insights https accessibilityinsights io en web accessibility google https developers google com web fundamentals accessibility web accessibility course by google and udacity https www udacity com course web accessibility ud891 writing javascript with accessibility in mind https medium com matuzo writing javascript with accessibility in mind a1f6a5f467b9 wcag docs https www w3 org tr wcag21 leverage the power of ide text editors deep dive into your favorite code editor vscode and increase productivity https frontendmasters com courses customize vs code
css html w3schools journey javascript codecademy css-preprocessor mdn
front_end
HomebrewNLP
homebrewnlp overview a case study of efficient training of large language models using commodity hardware example command bash python3 main py train config path configs small yaml deepsource https deepsource io gh homebrewnlp homebrewnlp svg label active issues show trend true token saq42srynpilkjj82sqd88ea https deepsource io gh homebrewnlp homebrewnlp ref repository badge discord https discord gg jsgg6abcyx wandb https wandb ai homebrewnlp gpt datasets book dataset https drive google com file u 1 d 1aow3ki2e3nk7b28re6i6 odtnidtvoc2 view usp sharing 200mb slice https drive google com file d 1qtbrye boq2kw8fowb16ngpthqjzr7yn view usp sharing of thepile https github com eleutherai the pile citing bibtex bibtex misc nestler2021homebrewnlp title homebrewnlp author nestler lucas and gill david year 2021 publisher github journal github repository doi 10 5281 zenodo 5553247 howpublished url https github com homebrewnlp homebrewnlp latest doi doi https zenodo org badge 279888521 svg https zenodo org badge latestdoi 279888521
artificial-intelligence machine-learning research pytorch gpt attention transformer
ai
tartu-nlp-2020
ltat 01 001 natural language processing university of tartu spring 2020 welcome to the natural language processing course here you will find the lab materials and homeworks lab materials with solutions are going to be uploaded after the class takes place if you have any questions about the homeworks or labs i encourage you to use the issues tab this allows for the other students to see your question and also participate in answering it when uploading the question choose the appropriate label for example if you are asking a question about the homework 1 choose the label homework1 when answering the question provide a hint explanation sharing the direct task solution is prohibited lab materials lab 0 data https github com 501good tartu nlp 2020 blob master labs lab0 lab0 data md lab 1 nlp basics https github com 501good tartu nlp 2020 blob master labs lab1 lab1 basics ipynb lab 2 nlp pipelines https github com 501good tartu nlp 2020 blob master labs lab2 lab2 pipelines ipynb lab 3 word embeddings https github com 501good tartu nlp 2020 blob master labs lab3 lab3 word2vec ipynb lab 4 text classification with cnn https github com 501good tartu nlp 2020 blob master labs lab4 lab4 textclassificationcnn ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master labs lab4 lab4 textclassificationcnn ipynb lab video recording https www youtube com watch v 8l6rssaiz3y feature youtu be lab 5 sequence tagging https github com 501good tartu nlp 2020 blob master labs lab5 lab5 sequencetagging ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master labs lab5 lab5 sequencetagging ipynb lab 6 contextual word embeddings https github com 501good tartu nlp 2020 blob master labs lab6 lab6 transformersclassification ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master labs lab6 lab6 transformersclassification ipynb homeworks homework 1 https github com 501good tartu nlp 2020 blob master homeworks hw1 homework1 ipynb due 28 02 2020 homework 2 https github com 501good tartu nlp 2020 blob master homeworks hw2 homework2 ipynb due 13 03 2020 homework 3 https github com 501good tartu nlp 2020 blob master homeworks hw3 homework3 ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master homeworks hw3 homework3 ipynb due 27 03 2020 homework 4 https github com 501good tartu nlp 2020 blob master homeworks hw4 homework4 ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master homeworks hw4 homework4 ipynb due 10 04 2020 homework 5 due 24 04 2020 homework 6 https github com 501good tartu nlp 2020 blob master homeworks hw6 homework6 ipynb open in colab https colab research google com assets colab badge svg https colab research google com github 501good tartu nlp 2020 blob master homeworks hw6 homework6 ipynb due 15 05 2020 project support related work https github com 501good tartu nlp 2020 blob master projects related work md
natural-language-processing nlp course-materials university-of-tartu
ai
Awesome-Online-Web-Development-Courses-List
online web development courses list a curated list of online web development courses i ll do my best to keep it up to date but please feel free to contribute if you have any links you feel are worth including here shortcuts interactive interactive reading reading video video interactive code http code org code avengers https www codeavengers com codecademy http www codecademy com codelabs by google https codelabs developers google com dash general assembly https dash generalassemb ly freecodecamp https www freecodecamp org scratch https scratch mit edu thecodeplayer http thecodeplayer com reading mit http ocw mit edu courses electrical engineering and computer science mdn mozilla developer network https developer mozilla org en us o reilly school http www oreillyschool com browse by subject packt books https www packtpub com all books video 3d buzz www 3dbuzz com academic earth computer science http academicearth org computer science alison https alison com learn programming angular enterprise playbook http angularplaybook com code school http www codeschool com courses cs50 at harvard https cs50 harvard edu weeks computer science coursera https www coursera org browse computer science computer science coursetro https coursetro com devslopes https devslopes com edx https www edx org course subject computer science egghead http egghead io eduonix https www eduonix com courses educative http www educative io evented mind https www eventedmind com future learn https www futurelearn com courses categories tech and coding courses frontend masters http frontendmasters com forward https forwardcourses com google udacity http www udacity com google hirez io angular https hirez io khan academy http www khanacademy org computing laracasts https laracasts com lynda http www lynda com mijingo https mijingo com mit http ocw mit edu courses electrical engineering and computer science moz seo https moz com academy mva microsoft virtual academy https mva microsoft com nativescripting http nativescripting com nodecasts http nodecasts io node university https node university open culture http www openculture com freeonlinecourses packt publishing https www packtpub com platzi https courses platzi com pluralsight http www pluralsight com programmr http www programmr com scotch https school scotch io courses sololearn http www sololearn com sitepoint http www sitepoint com skillshare http skillshare com stone river elearning http stoneriverelearning com tagtree http tagtree tv treehouse http teamtreehouse com tuts http tutsplus com courses udacity http www udacity com udemy http www udemy com ultimate angular http ultimateangular com upskill http upskillcourses com watch and code https watchandcode com wesbos http wesbos com courses zenva https academy zenva com articles blogs and library documentations are not included in this list license cc0 http i creativecommons org p zero 1 0 88x31 png http creativecommons org publicdomain zero 1 0
computer-science school video learning awesome list web development
front_end
CSE438_Lab3_DrawingApp
fall 2018 cse 438 lab 3 drawing app it is a simple drawing app build environment xcode 9 4 swift 4 iphone 8 features users can draw continuous and smooth lines by tapping and dragging users can undo to erase the previous line drawn users can use multiple colors and change the thickness of the line users can clear the screen users can open an image from the photo library and display it on the screen users can save the current drawing design choices when an image is loaded it will be set to a uiimageview and this will be added on top of the current view when users clear the view every subview of the root view is removed in order to handle the case where users open images in a row which will result in adding views on top of views demo the following demo shows the basic functionality of this app 3 1 gif the following demo shows the saving feature of the app 3 2 gif the following demo shows the opening feature of the app 3 3 gif
front_end
metamask-docs
metamask developer documentation this is the metamask developer documentation repository the documentation site is hosted at docs metamask io https docs metamask io and it s built using docusaurus https docusaurus io a static site generator purpose built for technical documentation build locally build the documentation site locally using the following steps prerequisites node js https nodejs org version 16 yarn https yarnpkg com version 3 git https git scm com steps 1 clone the repository bash git clone https github com metamask metamask docs git cd metamask docs 2 initialize and update the keyring api https github com metamask keyring api submodule bash git submodule init git submodule update 3 install dependencies bash yarn install 4 start the development server bash yarn start once the server starts you can view the documentation at http localhost 3000 for more information on contributing to the documentation see the full contribution guidelines contributing md
blockchain cryptocurrency documentation ethereum metamask
blockchain
cloudwordapp
cloudwordapp cloud word app using python and prompt engineering
cloud
V2L
v2l the official code for v2l leveraging vision and vision language models into large scale product retrieval http arxiv org abs 2207 12994 cvpr 2022 challenge rank 1 solution about the challenge fgvc9 ebay eproduct visual search challenge 2022 https sites google com view fgvc9 competitions ebay eproduct search about the performance image https github com wangwenhao0716 v2l blob main performance png about the access if you are interested in the code please write a request email with your purpose and your personal information to wangwenhao0716 gmail com acknowledgement the codebase is based on our former work 1st place solution of the facebook ai image similarity challenge https github com wangwenhao0716 isc track1 submission and 3rd place solution of the facebook ai image similarity challenge https github com wangwenhao0716 isc track2 submission citation misc wang2022v2l title v 2 l leveraging vision and vision language models into large scale product retrieval author wenhao wang and yifan sun and zongxin yang and yi yang year 2022 eprint 2207 12994 archiveprefix arxiv primaryclass cs cv article wang2021bag title bag of tricks and a strong baseline for image copy detection author wang wenhao and zhang weipu and sun yifan and yang yi journal arxiv preprint arxiv 2111 08004 year 2021 article wang2021d title d 2lv a data driven and local verification approach for image copy detection author wang wenhao and sun yifan and zhang weipu and yang yi journal arxiv preprint arxiv 2111 07090 year 2021
computer-vision fine-grained-recognition image-retrieval product-retrieval
ai
chain-libs
chain libs this repo is not maintained anymore please submit your feature proposal or bug report to catalyst core https github com input output hk catalyst core
blockchain
C-Plus-Plus
the algorithms c mainpage the suffix in the above line is required for doxygen to consider this as the index page of the generated documentation site gitpod ready to code https img shields io badge gitpod ready to code blue logo gitpod https gitpod io https github com thealgorithms c plus plus codeql ci https github com thealgorithms c plus plus actions workflows codeql yml badge svg https github com thealgorithms c plus plus actions workflows codeql yml gitter chat https img shields io badge chat gitter ff69b4 svg label chat logo gitter style flat square https gitter im thealgorithms contributions welcome https img shields io static v1 svg label contributions message welcome color 0059b3 style flat square https github com thealgorithms c plus plus blob master contributing md github repo size https img shields io github repo size thealgorithms c plus plus color red style flat square doxygen ci https github com thealgorithms c plus plus workflows doxygen 20ci badge svg https thealgorithms github io c plus plus awesome ci https github com thealgorithms c plus plus workflows awesome 20ci 20workflow badge svg https github com thealgorithms c plus plus actions query workflow 3a 22awesome ci workflow 22 income https img shields io liberapay receives thealgorithms svg logo liberapay https liberapay com thealgorithms discord chat https img shields io discord 808045925556682782 svg logo discord colorb 5865f2 https the algorithms com discord donate https liberapay com assets widgets donate svg https liberapay com thealgorithms donate overview this repository is a collection of open source implementation of a variety of algorithms implemented in c and licensed under mit license https github com thealgorithms c plus plus blob master license these algorithms span a variety of topics from computer science mathematics and statistics data science machine learning engineering etc the implementations and the associated documentation are meant to provide a learning resource for educators and students hence one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations features the repository provides implementations of various algorithms in one of the most fundamental general purpose languages c https en wikipedia org wiki c 2b 2b well documented source code with detailed explanations provide a valuable resource for educators and students alike each source code is atomic using stl classes https en wikipedia org wiki standard template library and no external libraries are required for their compilation and execution thus the fundamentals of the algorithms can be studied in much depth source codes are compiled and tested https github com thealgorithms c plus plus actions query workflow 3a 22awesome ci workflow 22 for every commit on the latest versions of three major operating systems viz windows macos and ubuntu linux using msvc 19 2022 appleclang 14 0 0 and gnu 11 3 0 respectively strict adherence to c 11 https en wikipedia org wiki c 2b 2b11 standard ensures portability of code to embedded systems as well like esp32 arm cortex etc with little to no changes self checks within programs ensure correct implementations with confidence modular implementations and opensource licensing enable the functions to be utilized conveniently in other applications documentation online documentation https thealgorithms github io c plus plus is generated from the repository source codes directly the documentation contains all resources including source code snippets details on execution of the programs diagrammatic representation of program flow and links to external resources where necessary the documentation also introduces interactive source code with links to documentation for c stl library functions used click on files menu https thealgorithms github io c plus plus files html to see the list of all the files documented with the code documentation of algorithms in c https thealgorithms github io c plus plus by the algorithms contributors https github com thealgorithms c plus plus graphs contributors is licensed under cc by sa 4 0 https creativecommons org licenses by sa 4 0 ref chooser v1 br a href https creativecommons org licenses by sa 4 0 img alt creative commons license style height 22px important margin left 3px vertical align text bottom src https mirrors creativecommons org presskit icons cc svg img alt credit must be given to the creator style height 22px important margin left 3px vertical align text bottom src https mirrors creativecommons org presskit icons by svg img alt adaptations must be shared under the same terms style height 22px important margin left 3px vertical align text bottom src https mirrors creativecommons org presskit icons sa svg a contributions as a community developed and maintained repository we welcome new un plagiarized quality contributions please read our contribution guidelines https github com thealgorithms c plus plus blob master contributing md
cpp algorithm algorithms-implemented data-structures algorithm-competitions algorithms interview-preparation interview-questions search sort educational instructor-materials machine-learning-algorithms artificial-intelligence-algorithms computer-science machine-learning mathematics
ai
fitness-backend
node express backend for fitness app mern stack group project database mongodb via mongoose internal apis provided account management profile settings measurement history weight and height contacts messages community posts custom workouts external api relays exercises quotes recipes unsplash auth session management token passing session based via express session password security bcrypt validation and sanitisation validator express mongo sanitize
server
php
wasql web access to sql a multi language rapid application development platform what is wasql wasql is truly rad in both senses of the word it is a php driven rapid application development rad platform that lets you code in many different languages whoa that is rad it is designed to help you build web sites intranets forms e commerce and other custom web applications wasql deploys pages and applications using a database driven mvc architecture it is a stand alone platform as it does not require any outside or 3rd party add ons to work it is also a replacement for phpmyadmin since database schema management is built in user management is also built in one of the things that makes wasql unique from most other applications is that all of the page logic is stored in database records this has several advantages it makes hacking that pages much much harder it also allows you to wrap your entire site into a mysql dump file move it to another server or another location and then restore it within seconds supported scripting languages wasql is written in php but supports embeded php nodejs python perl ruby vbscript lua bash and shell scripts request session server config and user variables are passed in to all scripts regardless of langauge so you can access them in whatever language you write your code in note if you want to modify the variables you must modify them in php wasql is the only web development platform that we are aware of that lets you write in whatever language you want please let us know if there are other languages you would like it to support and we will do our best to add support for it caveat your web server has to support the languages you decide to write in wasql license wasql is free for both personal and business use read the full license here license md required skills to use wasql effectively you need to know html5 css3 javascript sql and one of the supported programming languages at least a basic knowledge of php is also very helpful where to get help you can find instructional videos at https www youtube com channel uc9fsuwnqd6dliuq6vbotjmw there is also documentation is built in and searchable via the backend admin help menu if you need additional help with your project please contact me at steve lloyd gmail com how can i help wasql become better feel free to request changes via github you can also help by donating to the cause donations can be sent via paypal to steve lloyd gmail com installation windows install git you can install git by going to https git scm com download win this will download the latest git client i suggest selecting use git and optional unix tools from the windows command prompt if you are not comfortable with this option select use git from the windows command prompt option select the default options for the rest install wasql open a command prompt and cd to the directory you want to place the wasql folder type the following command and hit enter c git clone https github com wasql php git wasql in the wasql folder copy sample config xml to config xml using an editor edit config xml change the dbname dbuser and dbpass if you want create a directory called temp in the wasql php folder install apache php and mysql the easiest way i have found to install apache mysql and php on your computer is to follow the instructions here https miloserdov org p 7703 once installed add the following to the apache httpd conf file changing the path to where you installed wasql in the ifmodule alias module section alias php c wasql php alias wfiles c wasql wfiles ifmodule just below the ifmodule section create the following changing the path to where you installed wasql directory c wasql options indexes followsymlinks allowoverride all require local directory make sure mod rewrite is enabled remove the pound sign from the front loadmodule rewrite module modules mod rewrite so copy sample htaccess in the wasql folder to your htdocs document root folder and name it htaccess note you may need a different text editor that allows you to save htaccess make sure it does not have the txt extension note notepad will not work use notepad or sublime open the php php ini in a text editor and uncomment any extensions you want enabled for example extension pgsql to enable postgres you will need php zip and php curl for sure add your new php bin directory path to your path environment add your new apache bin directory path to your path environment restart your computer open a dos console and type mysql u root p enter then enter your password and hit enter type the following this is going to create a username and password that wasql will use mysql create user wasql dbuser identified with mysql native password by wasql dbpass mysql grant all privileges on to wasql dbuser with grant option mysql flush privileges mysql create database wasql sample mysql exit ready to try using a browser open http localhost if all went well you will see the sample website wizard select the one you want and click on the install button using a browser open http localhost a this should take you the the wasql admin interface enter admin admin as the default user pass installation linux install git if you don t already have it installed install git depending on your linux flavor this will be different install wasql from a terminal prompt cd to the directory you want to place the wasql folder i usually place it just below document root var www type the following command and hit enter git clone https github com wasql php git wasql cd to the wasql folder and run sh initialize sh edit config xml change the dbname dbuser and dbpass if you want from your document root run dirsetup sh as follows if you places wasql in var www and your documentroot was var www html then from var www html wasql dirsetup sh create a blank database called wasql sample to match the dbname in config xml ready to try using a browser open your website if all went well you will see the sample website wizard select the one you want and click on the install button using a browser open your website with a at the end of the url this should take you the the wasql admin interface enter admin admin as the default user pass
front_end
zephyr
zephyr the zephyr os is based on a small footprint kernel designed for use on resource constrained and embedded systems from simple embedded environmental sensors and led wearables to sophisticated embedded controllers smart watches and iot wireless applications the zephyr kernel supports multiple architectures
os
slowLLM
what is this soft about using large language models starting with bloom 176b and bloomz 176b slowly but on commodity gpu free personal computer there are 3 different pieces of code in this repo the main code in code loads bloom s layers one by one to perform either inference or soft prompt tuning on cpu only 16gb ram 25gb for soft prompt tuning personal computer with an average quality cpu and nvme hard drive this requires about 5s per layer to load the weights 2s of compute per input so in total 2x70x 5 2n 70x2n 700 420n seconds for a full forward backward pass where n is the number of few shots inputs to train on e g for 10 few shots this requires 1h20 another version of this code is an adaptation of arteaga s blog https nbviewer org urls arteagac github io blog bloom local ipynb that fixes some bugs with the latest version of transformers another code in alpha stage exploits collaborative inference where each node hosts a few layers and communication is achieved through web sockets i compared my main code for local inference with bloom on cpu and 16gb ram with both alternatives see at the end the accelerate library and arteaga s code and this main code is the only one that achieves inference in less than 15 on my personal computer it is also the only code to perform training in less than 30 on the same computer the principle is very simple load the layers in ram one by one and process all the data through one layer then pass the activation to the next layer and so on until the top layer and next word prediction training may then proceed by going backward through the same process a similar behaviour may be obtained with offloading and the accelerate library https huggingface co docs accelerate usage guides big modeling but this code is more specialized as it has been designed from the ground up for this specific use case and a given model requirements desktop or laptop with at least 16gb for inference or 25gb for training of ram harddrive with 400gb free to store bloom s parameters the fastest drive the better nvme ssd welcome that s it no gpu is needed how to use download the bloom 176b weights from huggingface hub https huggingface co bigscience bloom you may also reuse or adapt the script downloadbloomz sh available in this repo in code for linux download or clone this github repo install in a conda pip environment pytorch transformers accelerate datasets promptsource write in the text file code sentences txt one sentence per line then cd code python slowllm py by default this code makes a forward pass on every sentence in sentences txt but there are a few other scripts e g to evalute bloomz on the boolq dataset alternatively you can do slow text generation with code slowbloom generate py just write at the start of the source code the generation parameters you want before running the script limitations the script code slowbloom generate py enables to perform text generation but very slowly so i do not recomment to use this approach for serious text generation it is better to use it to compute likelihood and generate 1 2 or a few tokens maximum such as for answering yes no questions many tasks can be framed as yes no questions but this may require some creative thinking pipeline parallelism is limited to about 50 input sentences maximum if you want to stay within 16gb of ram detailed speed and requirements ram 16gb or 25gb for training the speed you may get greatly depends on your hardware for instance on a very very slow network drive i got passing data through 1 layer 0 5s i tested with 16x intel r xeon r cpu e5 2609 v4 1 70ghz loading weights of 1 layer 55s with a very slow nas drive you should get much better speed there are 70 layers so in my case processing 1 input requires 70 minutes you can gain a lot of speed by putting the model s parameters onto an nvme ssd disk for instance the forward pass on a single sentence 13 tokens with slowllm using less than 16gb of ram no gpu with nvme ssd micron crucial technology p2 nvme pcie ssd rev 01 and cpu amd ryzen 5 3600 6 core processor total time 791s faq todo and bugs to fix the current approach to save every layer output to disk does not scale beyond 50 examples a better usage of the ram should be realized to process more examples benchmarks forward pass on a single sentence 13 tokens with slowllm using less than 16gb of ram no gpu with nvme ssd micron crucial technology p2 nvme pcie ssd rev 01 and cpu amd ryzen 5 3600 6 core processor total time 791s baseline vanilla accelerate recipe https huggingface co blog bloom inference pytorch scripts on the same computer note i m not using the safetensors version of bloomz here so accelerate initially copies the weights into the offload dir which roughly accounts for an initial delay of another difference in favor of accelerate is that the computer i m using actually has a titan x 12gb gpu as well as 24gb of ram accelerate is exploiting the additional ram while slowllm figures are computed with 16gb of ram and no gpu however we tried to let accelerate also exploit the gpu but it crashed with cuda out of memory error total time crashed cuda oom with gpu kernel killed without gpu code derived from arteaga s blog this code achieves the same process than mine but reimplements the forward pass while i m hacking into the bloom module the advantage of hacking into the bloom module is that i can still benefit from the advanced functionalities empowering the transformers library such as beam search generation total time 4200s because by reimplementing the forward pass a single cpu core is working at a time technical approach the approach implemented is pipeline parallelism with gradient checkpointing for inference and naive model parallelism with gradient checkpointing for training in addition several tricks are implemented to save memory such as back and forth conversion between bf16 and fp32 of the largest matrices when appropriate freeing most activations and computation graphs except within a single layer recomputing the graph from activation checkpoints freeing most gradients as soon as possible
ai
iot-malware
iot malware if you find this repo useful in your research please consider citing misc iot malware 2017 author fei ding title iot malware year 2017 howpublished url https github com ifding iot malware inproceedings ding2020deeppower title deeppower non intrusive and deep learning based detection of iot malware using power side channels author ding fei and li hongda and luo feng and hu hongxin and cheng long and xiao hai and ge rong booktitle proceedings of the 15th acm asia conference on computer and communications security pages 33 46 year 2020 i m not the author of any of the code available here this repository contains malware source code samples leaked online and found in multiple other sources i uploaded it to github to simplify the process of those who want to analyze the code any actions and or activities related to the material contained within this repository is solely your responsability misuse of the information in this repository can result in criminal charges being brought against the persons in question i will not be held responsible in the event any criminal charges are brought against any individuals misuing the code in this repository to break the law this repository does not promote any hacking related activity all the information in this repository is for educational purposes only evolution the list of iot botnet malwares discussed below is not complete linux hydra is the earliest known malware targeting iot devices it is an open source botnet framework released in 2008 it was designed for extensibility and features both a spreading mechanism and ddos functionality lightaidra aidra is a irc based mass scanning and exploitation tool support on several architectures namely mips mipssel arm ppc x86 86 64 and superh malware is designed to search open telnet ports that could be accessed using known default credentials the source code of lightaidra is freely available on the internet as open source project linux wifatch is an open source malware which infects the iot devices with weak or default credentials once infected it removes other malwares and disables telnet access while logging the message telnet has been closed to avoid further infection of theis device please disable telnet change telnet passwords and or update the firmware in the device logs wifatch uses peer to peer network to update the malware definition and deletes remnants of malware which remain in the iot devices bashlife lizkebab torlus gafgyt is one of the popular malware which infects linux based iot devices to launch ddos attacks it was reported that bashlife is responsible for enslaving over 1 million iot devices constituting mostly of internet enabled cameras and dvrs it is capable of launching attack of up to 400 gpbs most bashlife attacks are simple udp tcp floods and http attacks bashlife infect a iot device by brute forcing its telnet access using known default credentials one interesting aspect of bashlife is that malware payload deployed in iot devices has the bashlife s c2s ip addresses hard coded into it and are easier to monitor most of the infected devices are located in taiwan brazil and columbia the source code of bashlife was partly leaked in early 2015 and has led to many variants bashlife is considered the predecessor of mirai and is in direct competition for vulnerable iot real estate mirai is one of the most predominant ddos iot botnet in recent times mirai means the future in janpanese mirai botnet is definitely the next step in iot ddos malwares however not as sophisticated as remaiten but most effective mirai botnet is famous for being used in the record breaking 1 1tbps ddos attack with 148000 iot devices mirai targets mostly cctv cameras dvrs and hoem routers since the release of the mirai source code the number of iot infected devices has increased from 213000 to 483000 in just two weeks mirai generates floods of gre ip gre eth syn and ack stomp dns udp or http traffic against a target during a ddos attack more recently mirai has been found to be enhanced to infect windows devices helping hackers hijack even more devices this enhanced mirai could also identify and compromise database services like mysql and microsoft sql running on different ports to create new admin phpminds with the password phpgodwith allowing the hackers to steal the database the awareness of iot botnets in recent times attributes to mirai and the volume of traffic generated during its ddos attacks disclaimer this repository is for research purposes only the use of this code is your responsibility i take no responsibility and or liability for how you choose to use any of the source code available here by using any of the files available in this repository you understand that you are agreeing to use at your own risk once again all files available here are for education and or research purposes only
iot-malware malware-source linux-malware
server
FreeRTOS-Teensy4
teensy 4 0 freertos library for teensyduino this is a port of freertos 10 0 for the teensy 4 0 running teensyduino this is based on https github com greiman freertos arduino for the error handling the arduino systick ing is kept running after starting the scheduler so delay millis and micro work in tasks for better performance use vtaskdelay instead of delay the documentation for freertos is located here http www freertos org freertos configuration the default configuration is in freertosconfig default h you can specify your own by having an include file named teensy4freertosconfig h or you can add replace to the default one by having an include file named teensy4freertosconfig addition h run time stats activating run time stats configgenerate run time stats configures timer3 this will affect the pwm on pins 6 7 8 and 9 please avoid using them when using run time stats as it might cause conflict if you still want to use them as pwm please look at this library https github com paulstoffregen timerthree and mimick its actions for configuring the pwm without touching the timer for platformio users the way platformio works makes it impossible to load a configuration header in a system level library if you installed this library using the library manager your config files will not be read as platformio isolates the library from your project files when building it to alleviate this problem you can clone this repository in the lib folder of your project and add the config files in your include folder platformio will blindly search for includes in include as per project configuration when the platformio team implements a way to add per project configuration files i will update this method how to please read freertos html for more information see freertos api html for api documentation
os
cloud_computing_foundations
cloud computing foundations examples to show skills in cloud engineering
cloud
Surfs_Up
surfs up data and database engineering project using sql alchemy
server
itech_solutions
itech solutions information technology solutions it tutoring services
server
lm-evaluation
lm evaluation test suite this repo contains code for running the evaluations and reproducing the results from the jurassic 1 technical paper https uploads ssl webflow com 60fd4503684b466578c0d307 61138924626a6981ee09caf6 jurassic tech paper pdf see blog post https www ai21 com blog announcing ai21 studio and jurassic 1 with current support for running the tasks through both the ai21 studio api https studio ai21 com and openai s gpt3 api https beta openai com citation please use the following bibtex entry techreport j1whitepaper author lieber opher and sharir or and lenz barak and shoham yoav title jurassic 1 technical details and evaluation institution ai21 labs year 2021 month aug installation git clone https github com ai21labs lm evaluation git cd lm evaluation pip install e usage the entry point for running the evaluations is lm evaluation run eval py which receives a list of tasks and models to run the models argument should be in the form provider model name where provider can be ai21 or openai and the model name is one of the providers supported models when running through one of the api models set the your api key s using the environment variables ai21 studio api key and openai api key make sure to consider the costs and quota limits of the models you are running beforehand examples console evaluate hellaswag and winogrande on j1 large python m lm evaluation run eval tasks hellaswag winogrande models ai21 j1 large evaluate all multiple choice tasks on j1 jumbo python m lm evaluation run eval tasks all mc models ai21 j1 jumbo evaluate all docprob tasks on curie and j1 large python m lm evaluation run eval tasks all docprobs models ai21 j1 large openai curie datasets the repo currently support the zero shot multiple choice and document probability datasets reported in the jurassic 1 technical paper https uploads ssl webflow com 60fd4503684b466578c0d307 61138924626a6981ee09caf6 jurassic tech paper pdf multiple choice multiple choice datasets are formatted as described in the gpt3 paper https arxiv org abs 2005 14165 and the default reported evaluation metrics are those described there all our formatted datasets except for storycloze are publically available and referenced in lm evaluation tasks config py lm evaluation tasks config py storycloze needs to be manually downloaded https cs rochester edu nlp rocstories and formatted and the location should be configured through the environment variable storycloze test path document probabilities document probability tasks include documents from 19 data sources including c4 https www tensorflow org datasets catalog c4 and datasets from the pile https arxiv org abs 2101 00027 each document is pre split at sentence boundaries to sub documents of up to 1024 gpt tokens each to ensure all models see the same inputs contexts regardless of tokenization and to support evaluation of models which are limited to sequence lengths of 1024 each of the 19 tasks have 4mb of total text data additional configuration results folder by default all results will be saved to the folder results and rerunning the same tasks will load the existing results the results folder can be changed using the environment variable lm evaluation results dir
language-model evaluation-framework
ai
IoTGoat
p align center img src images vertical blue logo png alt iotgoat width 250 height 350 p description the iotgoat project is a deliberately insecure firmware based on openwrt https openwrt org and maintained by owasp http owasp org as a platform to educate software developers and security professionals with testing commonly found vulnerabilities in iot devices the vulnerability challenges are based on the owasp iot top 10 noted below as well as easter eggs from project contributors for a list of vulnerability challenges see the iotgoat challenges wiki https github com owasp iotgoat wiki iotgoat challenges page owasp iot top 10 2018 https www owasp org images 1 1c owasp iot top 10 2018 final pdf description i1 weak guessable or hardcoded passwords use of easily bruteforced publicly available or unchangeable credentials including backdoors in firmware or client software that grants unauthorized access to deployed systems i2 insecure network services unneeded or insecure network services running on the device itself especially those exposed to the internet that compromise the confidentiality integrity authenticity or availability of information or allow unauthorized remote control i3 insecure ecosystem interfaces insecure web backend api cloud or mobile interfaces in the ecosystem outside of the device that allows compromise of the device or its related components common issues include a lack of authentication authorization lacking or weak encryption and a lack of input and output filtering i4 lack of secure update mechanism lack of ability to securely update the device this includes lack of firmware validation on device lack of secure delivery un encrypted in transit lack of anti rollback mechanisms and lack of notifications of security changes due to updates i5 use of insecure or outdated components use of deprecated or insecure software components libraries that could allow the device to be compromised this includes insecure customization of operating system platforms and the use of third party software or hardware components from a compromised supply chain i6 insufficient privacy protection user s personal information stored on the device or in the ecosystem that is used insecurely improperly or without permission i7 insecure data transfer and storage lack of encryption or access control of sensitive data anywhere within the ecosystem including at rest in transit or during processing i8 lack of device management lack of security support on devices deployed in production including asset management update management secure decommissioning systems monitoring and response capabilities i9 insecure default settings devices or systems shipped with insecure default settings or lack the ability to make the system more secure by restricting operators from modifying configurations i10 lack of physical hardening lack of physical hardening measures allowing potential attackers to gain sensitive information that can help in a future remote attack or take local control of the device getting started several methods exist to get started with hacking iotgoat 1 for those looking to extract the filesystem analyze configurations and binaries statically download the latest precompiled firmware release from https github com owasp iotgoat releases refer to owasp s firmware security testing methodology https scriptingxss gitbook io firmware security testing methodology to help with identifying vulnerabilities 2 for dynamic web testing and binary runtime analysis the quickest way to get started is downloading the latest iotgoat x86 vmdk vmware https github com owasp iotgoat releases and create a custom virtual machine using the iotgoat disk image select the following operating system details type linux version linux 2 6 3 x 4 x 32 bit and enable pae nx in virtual machine settings both the vmdk and vdi have been tested in the latest virtualbox release april 2020 for windows 10 ubuntu 18 04 lts and macos mojave refer to owasp s web security testing guide https github com owasp wstg tree master document and asvs https github com owasp asvs projects for additional guidance on identifying web application vulnerabilities 3 emulate firmware with opensource tools e g firmadyne https github com firmadyne firmadyne arm x framework https github com therealsaumil armx and fat https github com attify firmware analysis toolkit that leverage qemu to virtualize iotgoat locally 4 use the iotgoat raspberry pi2 sysupgrade img firmware to flash on a raspberry pi 2 brcm2708 brcm2709 refer to the getting started https github com owasp iotgoat wiki getting started page for additional details and screencaptures building from source openwrt can build many different cpu platforms and boards building from source gives users the flexibility to flash iotgoat on supported openwrt hardware ensure 10 15gb disk space is available with at least 4gb of ram and a supported linux distribution such as ubuntu 18 04 https openwrt org docs guide developer build system install buildsystem use the following steps to get started with building custom firmware do everything as a normal user don t use root user or sudo when building https openwrt org docs guide developer build system use buildsystem git clone https github com owasp iotgoat git cd iotgoat openwrt openwrt 18 06 2 scripts feeds update a scripts feeds install a make menuconfig select your preferred configuration for the toolchain target system firmware packages make build your firmware with make this will download all sources build the cross compile toolchain and then cross compile the linux kernel all chosen applications for your target system the first build will take some time to complete and will vary based on the provided internet connection for downloading the toolchain once a successful build is complete the compiled firmware will be placed in the following directory iotgoat openwrt openwrt 18 06 2 bin targets depending on the target selected in menuconfig for example iotgoat raspberry pi 2 firmware will be located in the following directory iotgoat openwrt openwrt 18 06 2 bin targets brcm2708 bcm2709 iotgoat build configuration files are made availble for x86 config x86 and raspberry pi 2 config rpi platforms project leaders aaron guzman scriptingxss fotios chantzis paulino calderon contributors parag mhatre paraaagggg abhinav mohanty cyanide284 jason andress jandress 0x48piraj screenshots https github com owasp iotgoat blob master images iotgoat login png https github com owasp iotgoat blob master images iotgoat upnp png https github com owasp iotgoat blob master images iotgoat wireless png https github com owasp iotgoat blob master images owaspiotgoat console png license the mit license mit license md
iot-security-testing iot-security embedded-linux openwrt firmware firmware-security vulnerability-challenges owasp
server
Causality4NLP_Papers
causality for nlp reading list this repository lists papers on causality for natural language processing nlp contributor zhijing jin http zhijing jin com welcome to be a collaborator you can make an issue pull request and i can add you contents actively updating 1 causality basics 1 causality basics 1 1 talks tutorial etc 11 talkstutorialetc 1 2 overview papers 12 overview papers 1 3 toolboxes 13 toolboxes 2 causality applied to general nlp 2 causality applied to general nlp 2 1 causality to bring insights to nlp modeling for robustness domain adaptation etc 21 causality to bring insights to nlp modeling for robustness domain adaptation etc 2 2 language model analysis in a causal way for probing interpretability etc 22 language model analysis in a causal way for probing interpretability etc 2 3 text features in causal graphs for social science psychology etc 23 text features in causal graphs for social science psychology etc 2 4 causal relation extraction 24 causal relation extraction 2 5 causal commonsense reasoning and generation 25 causal commonsense reasoning and generation 3 causality for various applications 3 causality for various applications 3 1 persuasion 31 persuation 3 2 psychology and behavior 32 psychology and behavior 3 3 economics 33 economics 3 4 healthcare 34 healthcare 3 4 judicial decision 35 judicial decision 3 5 marketing strategies and sales prediction 36 marketing strategies and sales prediction 4 more resources 4 more resources 4 1 causality papers from schoelkopf s lab mpi 41 causality papers from schoelkopfs lab mpi 4 1 0 overview 410 overview 4 1 1 learning causal units and mechanisms i e causal representation learning 411 learning causal units and mechanisms ie causal representation learning 4 1 2 robustness and invariance incl semi supervised learning covariate shift transfer learning 411 learning causal units and mechanisms ie causal representation learning 4 1 3 causal discovery 411 learning causal units and mechanisms ie causal representation learning 4 1 4 causal effect estimation 414 causal effect estimation 4 1 5 foundational work theory ica etc 415 foundational work theory ica etc 4 2 causality papers from bengio s lab mila 42 causality papers from bengios lab mila motivational position papers motivational position papers applying causality knowledge for rl interaction design applying causality knowledge for rl interaction design applying causality to model design applying causality to model design causal induction from interventional data causal induction from interventional data grounded ai grounded ai 4 3 other causality papers potentially applicable to nlp 43 other causality papers potentially applicable to nlp 4 4 books for systematic learning 44 books for systematic learning 4 5 online courses 45 online courses 4 6 people directory 46 people directory 4 7 workshops 47 workshops 4 8 others 48 others contributions contributions how to cite this repo how to cite this repo 1 causality basics 1 1 talks tutorial etc talks and tutorials 1 causalnlp bernhard s talk on towards causal nlp video emnlp 2021 workshop https www youtube com watch v zwt1jjxvsvg list pltvbx ld338uteq9lphgjcfmpm2ecsbes index 1 1 vivid beginner friendly yoshua bengio s primer on the future of causality nlp video ellis nlp workshop https www youtube com watch v u3ir6sswwjg list pl5 penlmyyahs7hz3rt8qtkeklxuyhomd index 4 ab channel ellisnlp seminars 1 2021 recordings available beyond i i d learning causality dynamics and interactions eth seminar by prof michael muehlebach bernhard sch lkopf andreas krause past recordings https beyond iid learning xyz lectures 1 global weekly reading group online causal inference seminar organized by stanford eth etc speakers https sites google com view ocis home h 13whjoi1jght past recordings https sites google com view ocis past talks and recordings every tuesdays at 8 30 am pt 11 30 am et 4 30 pm london 5 30 pm berlin motivational materials 1 2002 ai magazine reasoning with cause and effect judea pearl pdf https ftp cs ucla edu pub stat ser r265 ai mag pdf 1 blog ml beyond curve fitting an intro to causal inference and do calculus ferenc husz r blog https www inference vc untitled 1 blog causal analysis in theory and practice judea pearl s blog http causality cs ucla edu blog 1 videos course to introduce a series of concepts introduction to causal inference video https www youtube com c bradynealcausalinference 1 2 overview papers 1 2021 ieee overview by schoelkopf towards causal representation learning bernhard sch lkopf francesco locatello stefan bauer nan rosemary ke nal kalchbrenner anirudh goyal yoshua bengio pdf https arxiv org pdf 2102 11107 pdf 1 2021 survey causal inference in natural language processing estimation prediction interpretation and beyond amir feder katherine a keith emaad manzoor reid pryzant dhanya sridhar zach wood doughty jacob eisenstein justin grimmer roi reichart margaret e roberts brandon m stewart victor veitch diyi yang pdf https arxiv org pdf 2109 00725 pdf 1 2019 overview schoelkopf causality for machine learning bernhard sch lkopf pdf https arxiv org pdf 1911 10500 pdf 1 2018 acm csur a survey of learning causality with data problems and methods ruocheng guo lu cheng jundong li p richard hahn huan liu pdf https arxiv org pdf 1809 09337 pdf 1 2015 political analysis the statistics of causal inference a view from political methodology luke keele pdf https hrr w uib no files 2019 01 keele 2015 causal pdf 1 3 toolboxes causal discovery 1 2021 causal learn python package for causal discovery carnegie mellon university github https github com cmu phil causal learn documentation https causal learn readthedocs io en latest 3 2019 causal discovery toolbox in python github https github com fentechsolutions causaldiscoverytoolbox pdf https arxiv org pdf 1903 02278 pdf 4 causal discovery tools university of pittsburgh carnegie mellon university center for causal discovery link https www ccd pitt edu tools br e g tretrad py causal https bd2kccd github io docs py causal causal effect estimation 1 2020 dowhy an end to end library for causal inference amit sharma emre kiciman github https github com microsoft dowhy pdf https arxiv org pdf 2011 04216 pdf 1 causalml python package for causal machine learning github https github com uber causalml pdf https arxiv org pdf 2002 11631 pdf papers that give a taxonomy of methods 1 2021 survey on continuous optimization for causal discovery d ya like dags a survey on structure learning and causal discovery matthew j vowels necati cihan camgoz richard bowden pdf https arxiv org pdf 2103 02582 pdf 1 2018 acm csur a survey of learning causality with data problems and methods ruocheng guo lu cheng jundong li p richard hahn huan liu pdf https arxiv org pdf 1809 09337 pdf 1 2018 national science review learning causality and causality related learning some recent progress kun zhang bernhard sch lkopf peter spirtes clark glymour pdf https academic oup com nsr article 5 1 26 4638533 1 2016 causal discovery and inference concepts and recent methodological advances pdf https link springer com content pdf 10 1186 s40535 016 0018 x pdf 1 2019 front genet review of causal discovery methods based on graphical models clark glymour kun zhang peter spirtes pdf https www frontiersin org articles 10 3389 fgene 2019 00524 full 2 causality applied to general nlp 2 1 causality to bring insights to nlp modeling for robustness domain adaptation etc 1 2023 icml towards trustworthy explanation on causal rationalization wenbo zhang tong wu yunlong wang yong cai hengrui cai pdf https arxiv org abs 2306 14115 1 2023 towards trustworthy and aligned machine learning a data centric survey with causality perspectives haoyang liu maheep chaudhary haohan wang pdf https arxiv org pdf 2307 16851 pdf 1 2021 emnlp oral causal direction of data collection matters implications of causal and anticausal learning for nlp zhijing jin julius von k gelgen jingwei ni tejas vaidhya ayush kaushal mrinmaya sachan bernhard sch lkopf pdf https arxiv org pdf 2110 03618 talk https drive google com file d 19dfdslovdfzbgkxn5lkrgv9xp8kwrb5e 1 2021 arxiv counterfactual invariance to spurious correlations why and how to pass stress tests victor veitch alexander d amour steve yadlowsky jacob eisenstein pdf https arxiv org pdf 2106 00545 pdf 1 2021 cvpr counterfactual vqa a cause effect look at language bias yulei niu kaihua tang hanwang zhang zhiwu lu xian sheng hua ji rong wen pdf https arxiv org pdf 2006 04315 pdf 1 2021 iclr workshop a causal lens for controllable text generation zhiting hu li erran li pdf https sites google com connect hku hk robustml 2021 accepted papers paper 089 1 2021 emnlp uncovering main causalities for long tailed information extraction guoshun nan jiaqi zeng rui qiao zhijiang guo wei lu pdf https arxiv org pdf 2109 05213 pdf 1 2021 acl findings discovering topics in long tailed corpora with causal intervention xiaobao wu chunping li yishu miao pdf https aclanthology org 2021 findings acl 15 pdf 1 2020 emnlp unsupervised discovery of implicit gender bias anjalie field yulia tsvetkov pdf https www aclweb org anthology 2020 emnlp main 44 pdf br summary method propensity matching and adversarial learning 1 2020 emnlp counterfactual generator a weakly supervised method for named entity recognition xiangji zeng yunliang li yuchen zhai yin zhang pdf https aclanthology org 2020 emnlp main 590 pdf 1 2020 emnlp de biased court s view generation with causality yiquan wu kun kuang yating zhang xiaozhong liu changlong sun jun xiao yueting zhuang luo si fei wu pdf https aclanthology org 2020 emnlp main 56 pdf 1 2020 emnlp findings identifying spurious correlations for robust text classification zhao wang aron culotta pdf https aclanthology org 2020 findings emnlp 308 pdf 1 2020 emnlp counterfactual off policy training for neural dialogue generation qingfu zhu weinan zhang ting liu william yang wang pdf https aclanthology org 2020 emnlp main 276 1 2019 emnlp topics to avoid demoting latent confounds in text classification sachin kumar shuly wintner noah a smith yulia tsvetkov pdf https arxiv org pdf 1909 00453 pdf br summary cause native language confounder topic effect text 1 2018 naacl stanford deconfounded lexicon induction for interpretable social science reid pryzant kelly shen dan jurafsky stefan wagner pdf https www aclweb org anthology n18 1146 pdf br summary cause some keywords effect output prediction related nlp papers data augmentation 1 2021 naacl counterfactual data augmentation for neural machine translation qi liu matt kusner phil blunsom pdf https www aclweb org anthology 2021 naacl main 18 pdf br summary first do phrase alignment between source and target sentences and then only change some phrases in the source sentence expecting the target sentence also only changes by that key phrase not much usage of causality 1 2019 acl counterfactual data augmentation for mitigating gender stereotypes in languages with rich morphology ran zmigrod sabrina j mielke hanna wallach ryan cotterell pdf https www aclweb org anthology p19 1161 pdf br summary change female words to male words in languages with rich morphology and inflections not much usage of causality compositionality and neuro symbolic approaches 1 2022 arxiv compositionality as lexical symmetry ekin aky rek jacob andreas pdf https arxiv org pdf 2201 12926 pdf 1 2021 neurips improving coherence and consistency in neural sequence models with dual system neuro symbolic reasoning maxwell nye michael henry tessler joshua b tenenbaum brenden m lake pdf https proceedings neurips cc paper 2021 file d3e2e8f631bd9336ed25b8162aef8782 paper pdf related non nlp papers 1 2021 arxiv desiderata for representation learning a causal perspective yixin wang michael i jordan pdf https arxiv org pdf 2109 03795 pdf br summary the causal predictors of a task should be both necessary and sufficient factors causality tools that can be applied to deconfound 1 2017 nips mpi discover causal graphs behind data avoiding discrimination through causal reasoning niki kilbertus mateo rojas carulla giambattista parascandolo moritz hardt dominik janzing bernhard sch lkopf pdf https arxiv org pdf 1706 02744 pdf related cv papers on counterfactual generation 1 2021 iclr counterfactual generative networks axel sauer andreas geiger pdf https openreview net pdf id bxewfaymmjw 2 2 language model analysis in a causal way for probing interpretability etc 1 2023 acl a causal framework to quantify the robustness of mathematical reasoning in language models alessandro stolfo zhijing jin kumar shridhar bernhard schoelkopf mrinmaya sachan pdf https arxiv org pdf 2210 12023 pdf 1 2022 acl findings interpreting the robustness of neural nlp models to textual perturbations yunxiang zhang liangming pan samson tan min yen kan pdf https arxiv org pdf 2110 07159 pdf 1 2020 neurips spotlight causal mediation analysis for interpreting neural nlp the case of gender bias jesse vig sebastian gehrmann yonatan belinkov sharon qian daniel nevo simas sakenis jason huang yaron singer stuart shieber pdf https arxiv org pdf 2004 12265 pdf br summary cause input text mediator some neurons effect output prediction 1 2021 neurips causal abstractions of neural networks atticus geiger hanson lu thomas icard christopher potts pdf https arxiv org pdf 2106 02997 pdf 1 2021 arxiv probing classifiers promises shortcomings and advances yonatan belinkov pdf https arxiv org pdf 2102 12452 pdf 1 2021 acl causal analysis of syntactic agreement mechanisms in neural language models matthew finlayson aaron mueller sebastian gehrmann stuart shieber tal linzen yonatan belinkov pdf https arxiv org pdf 2106 06087 pdf 1 2021 conll counterfactual interventions reveal the causal effect of relative clause representations on agreement prediction shauli ravfogel grusha prasad tal linzen yoav goldberg pdf https arxiv org pdf 2105 06965 pdf 1 2021 arxiv causal distillation for language models zhengxuan wu atticus geiger josh rozner elisa kreiss hanson lu thomas icard christopher potts noah d goodman pdf https arxiv org pdf 2112 02505 pdf 1 2021 arxiv inducing causal structure for interpretable neural networks atticus geiger zhengxuan wu hanson lu josh rozner elisa kreiss thomas icard noah d goodman christopher potts pdf https arxiv org pdf 2112 00826 pdf slides https web stanford edu cgpotts talks potts mcgill2022 slides pdf 1 2020 cl causalm causal model explanation through counterfactual language models amir feder nadav oved uri shalit roi reichart pdf https arxiv org pdf 2005 13407 pdf 1 2020 tacl amnesic probing behavioral explanation with amnesic counterfactuals yanai elazar shauli ravfogel alon jacovi yoav goldberg pdf https arxiv org pdf 2006 00995 pdf 1 2020 iclr learning the difference that makes a difference with counterfactually augmented data divyansh kaushik eduard hovy zachary c lipton pdf https arxiv org pdf 1909 12434 pdf 2 3 text features in causal graphs for social science psychology etc 1 2021 emnlp findings mining the cause of political decision making from social media a case study of covid 19 policies across the us states zhijing jin zeyu peng tejas vaidhya bernhard schoelkopf rada mihalcea pdf https drive google com file d 1y2wcn8d9sbcsi4or0cr7gxa2jz5juuqe view usp sharing talk https drive google com file d 1qs80sva7hvkflu t25r3bvgdivzdjj5l 1 2021 arxiv generating synthetic text data to evaluate causal inference methods zach wood doughty ilya shpitser mark dredze pdf https arxiv org pdf 2102 05638 pdf 1 2020 acl text and causal inference a review of using text to remove confounding from causal estimates katherine a keith david jensen and brendan o connor pdf https www aclweb org anthology 2020 acl main 474 pdf 1 2020 uai adapting text embeddings for causal inference victor veitch dhanya sridhar david m blei pdf https arxiv org pdf 1905 12741 pdf 1 2020 ajps adjusting for confounding with text matching margaret e roberts brandon m stewart and richard a nielsen pdf http www mit edu rnielsen textmatching pdf 1 2020 arxiv adjusting for confounders with text challenges and an empirical evaluation framework for causal inference galen weld peter west maria glenski david arbour ryan rossi tim althoff pdf https arxiv org pdf 2009 09961 pdf 1 2020 cscw quantifying the causal effects of conversational tendencies justine zhang sendhil mullainathan cristian danescu niculescu mizil pdf https arxiv org pdf 2009 03897 pdf 1 2020 arxiv causal effects of linguistic properties reid pryzant dallas card dan jurafsky victor veitch dhanya sridhar pdf https arxiv org pdf 2010 12919 pdf blog http ai stanford edu blog text causal inference and github https github com rpryzant causal selection br summary cause binary writer intent confounder other linguistic habits of the writer mediator text by the writer effect reader s response time 1 2020 arxiv decoupling entrainment from consistency using deep neural networks pdf https arxiv org pdf 2011 01860 pdf br note entrainment speakers adapting to conversation partners so as to become more similar 1 2018 emnlp challenges of using text classifiers for causal inference zach wood doughty ilya shpitser mark dredze pdf https arxiv org pdf 1810 00956 pdf 1 2018 political analysis matching with text data an experimental evaluation of methods for matching documents and of measuring match quality reagan mozer luke miratrix aaron russell kaufman l jason anastasopoulos pdf https arxiv org pdf 1801 00644 pdf 1 2018 arxiv how to make causal inferences using texts naoki egami christian j fong justin grimmer margaret e roberts brandon m stewart pdf https arxiv org pdf 1802 02163 pdf 1 2017 emnlp detecting and explaining causes from text for a time series event dongyeop kang varun gangal ang lu zheng chen eduard hovy pdf https arxiv org pdf 1707 08852 pdf br summary finding causes for the stock price time series 1 2016 acl discovery of treatments from text corpora christian fong justin grimmer pdf https www aclweb org anthology p16 1151 pdf 1 2016 jmlr learning representations for counterfactual inference fredrik johansson uri shalit david sontag pdf http proceedings mlr press v48 johansson16 pdf 2 4 causal relation extraction surveys and reviews 1 crest a causal relation schema for text a repo containing datasets for causal counterfactual relation extraction pedram hosseini github https github com phosseini crest br summary causalre datasets semeval 2007 task 4 114 causal sentences semeval 2021 task 8 1 331 eventcausality 485 causal timebank 318 eventstoryline v1 5 2 608 caters 308 because v2 1 554 choice of plausible alternatives copa 1 000 the penn discourse treebank pdtb 3 0 7 991 1 2020 coling a review of dataset and labeling methods for causality extraction jinghang xu wanli zuo shining liang xianglin zuo pdf https www aclweb org anthology 2020 coling main 133 pdf br summary very reader friendly survey including ideas such as causal connectives verb cause result conjunction because so preposition for because of adverb consequently verb phrase result in lead to prepositional phrase as a result of clause that s why so that causal concepts sufficient necessary temporal etc 1 2016 arxiv automatic extraction of causal relations from natural language texts a comprehensive survey nabiha asghar github https arxiv org pdf 1605 07895 pdf br summary automatic discovery of linguistic patterns expressing causal relations such as 1995 s work using patterns like because cause effect 2002 s work using patterns like np1 causativeverb np2 later work using a naive bayes classifier and many more 1 2018 cmu thesis annotating and automatically tagging constructions of causal language jesse dunietz pdf https jessedunietz com assets publications thesis pdf 1 2021 arxiv a survey on extraction of causal relations from natural language text jie yang soyeon caren han josiah poon pdf https arxiv org pdf 2101 06426 pdf 1 richer event description red annotation guidelines martha palmer will styler kevin crooks tim o gorman github https github com timjogorman richereventdescription blob master guidelines md 1 2020 thesis narrative generation to support causal exploration of directed graphs arjun choudhry pdf https vtechworks lib vt edu bitstream handle 10919 98670 choudhry a t 2020 pdf sequence 1 isallowed y method or dataset papers causal relation extraction from web data 1 2019 emnlp weakly supervised multilingual causality extraction from wikipedia chikara hashimoto pdf https www aclweb org anthology d19 1296 pdf br summary cross verification between wikipedia and wikidata e g protectionism causes trade war 1 2016 acl identifying causal relations using parallel wikipedia articles christopher hidey kathy mckeown pdf https www aclweb org anthology p16 1135 pdf br summary find linguistic markers like because 1 2014 acl toward future scenario generation extracting event causality exploiting semantic relation context and association features chikara hashimoto kentaro torisawa julien kloetzer motoki sano istv n varga jong hoon oh yutaka kidawara pdf https www aclweb org anthology p14 1093 pdf 1 2012 emnlp excitatory or inhibitory a new semantic orientation extracts contradiction and causality from the web chikara hashimoto kentaro torisawa stijn de saeger jong hoon oh jun ichi kazama pdf https www aclweb org anthology d12 1057 pdf br summary extracted one million contradiction pairs and 500 000 causality pairs 1 1998 literary and linguistic computing automatic extraction of cause effect information from newspaper text without knowledge based inferencing christopher khoo jaklin kornfilt sung hyon myaeng robert oddy pdf https citeseerx ist psu edu viewdoc download doi 10 1 1 727 5787 rep rep1 type pdf 1 1991 knowledge acquisition knowledge based acquisition of causal relationships in text randy m kaplan genevieve berry rogghe causal relation extraction from curated datasets relatively small 1 2021 neurocomputing causality extraction based on self attentive bilstm crf with transferred embeddings zhaoning li qi li xiaotian zou jiangtao ren github https github com das boot scite 1 2021 naacl everything has a cause leveraging causal inference in legal text analysis xiao liu da yin yansong feng yuting wu dongyan zhao pdf https www aclweb org anthology 2021 naacl main 155 pdf 1 2021 naacl graph convolutional networks for event causality identification with rich document level structures minh tran phu and thien huu nguyen pdf https www aclweb org anthology 2021 naacl main 273 pdf 1 2020 emnlp xcopa a multilingual dataset for causal commonsense reasoning edoardo maria ponti goran glava olga majewska qianchu liu ivan vuli anna korhonen pdf https arxiv org pdf 2005 00333 pdf 1 2020 emnlp causal inference of script knowledge noah weber rachel rudinger benjamin van durme pdf https aclanthology org 2020 emnlp main 612 pdf 1 2019 naacl modeling document level causal structures for event causal relation identification lei gao prafulla kumar choubey ruihong huang pdf https www aclweb org anthology n19 1179 pdf br summary eventstoryline corpus method integer linear programming ilp 1 2018 acl joint reasoning for temporal and causal relations qiang ning zhili feng hao wu dan roth pdf https www aclweb org anthology p18 1212 pdf br summary method constrained conditional models ccms n integer linear programming ilp 1 2018 sigdial automatic extraction of causal relations from text using linguistically informed deep neural networks tirthankar dasgupta rupsa saha lipika dey abir naskar pdf https www aclweb org anthology w18 5035 pdf 1 2017 acl workshop the event storyline corpus a new benchmark for causal and temporal relation extraction tommaso caselli piek vossen pdf https www aclweb org anthology w17 2711 pdf 1 2017 acl the because corpus 2 0 annotating causality and overlapping relations jesse dunietz lori levin jaime carbonell pdf https www aclweb org anthology w17 0812 1 2016 acl workshop caters causal and temporal relation scheme for semantic annotation of event structures nasrin mostafazadeh alyson grealish nathanael chambers james allen lucy vanderwende pdf https www aclweb org anthology w16 1007 pdf 1 2016 kr commonsense causal reasoning between short texts zhiyi luo yuchen sha kenny q zhu seung won hwang zhongyuan wang pdf https www aaai org ocs index php kr kr16 paper view 12818 12498 br summary contains a list of causal cue verbs 1 2015 acl workshop annotating causal language using corpus lexicography of constructions jesse dunietz lori levin jaime carbonell pdf https www aclweb org anthology w15 1622 pdf br summary quite important this paper teaches the ontology for causality annotation e g degrees of causation cause enable prevent types of causation consequence motivation purpose instance causal connective cause effect linguistic type causality with no lexical trigger causality with connectives temporal language 1 2014 eacl annotating causality in the tempeval 3 corpus paramita mirza rachele sprugnoli sara tonelli manuela speranza pdf https www aclweb org anthology w14 0702 pdf br summary containing some illustrative examples on page 3 3 2011 acl minimally supervised event causality identification quang do yee seng chan dan roth pdf https www aclweb org anthology d11 1027 pdf br summary uses pmi idf etc 1 2009 semeval semeval 2010 task 8 multi way classification of semantic relations between pairs of nominals iris hendrickx su nam kim zornitsa kozareva preslav nakov diarmuid s aghdha sebastian pad marco pennacchiotti lorenza romano stan szpakowicz pdf https www aclweb org anthology s10 1006 pdf 1 2008 lrec building a corpus of temporal causal structure steven bethard william corvey sara klingenstein james h martin pdf http www lrec conf org proceedings lrec2008 pdf 229 paper pdf br summary combining causal and temporal relation extraction such as fuel tanks had event leaked and event contaminated the soil event leaked causes event contaminated small dataset with 271 causal relations and 329 before after relations 1 2008 lrec causal relation extraction eduardo blanco nuria castell dan moldovan pdf http www lrec conf org proceedings lrec2008 pdf 87 paper pdf 1 2007 semeval semeval 2007 task 04 classification of semantic relations between nominals roxana girju preslav nakov vivi nastase stan szpakowicz peter turney deniz yuret pdf https www aclweb org anthology s07 1003 pdf 1 2006 ipm incremental cue phrase learning and bootstrapping method for causality extraction using cue phrase and word pair probabilities du seong chang key sun choi pdf https dl acm org doi abs 10 1016 j ipm 2005 04 004 1 2004 icnlp causal relation extraction using cue phrase and lexical pair probabilities du seong chang key sun choi pdf http semanticweb kaist ac kr home images a af causal relation extraction using cue phrases and lexical pair probabilities pdf 1 2003 acl workshop automatic detection of causal relations for question answering roxana girju pdf https www aclweb org anthology w03 1210 pdf 1 2002 aaai text mining for causal relations roxana girju dan moldovan pdf https www aaai org papers flairs 2002 flairs02 071 pdf 1 2001 pakdd semantic expectation based causation knowledge extraction a study on hong kong stock movement analysis boon toh low ki chan lei lei choi man yee chin sin ling lay link https link springer com chapter 10 1007 3 540 45357 1 15 1 2000 acl extracting causal knowledge from a medical database using graphical patterns christopher s g khoo syin chan yun niu pdf https www aclweb org anthology p00 1043 pdf 1 1997 coatis an nlp system to locate expressions of actions connected by causality links daniela garcia link https link springer com chapter 10 1007 bfb0026799 1 1995 phd thesis automatic identification of causal relations in text and their use for improving precision in information retrieval christopher khoo pdf https scholar google com scholar url url https repository arizona edu bitstream handle 10150 105106 chris khoo phd thesis pdf 3fsequence 3d1 hl de sa t oi gsb gga ct res cd 0 d 8432224869863885584 ei g9ymymovmmptmqh3 qpydg scisig aagbfm07whjokm8q lqayk8ejq1j2lr0q some useful tools helping to identify causal verbs and connectives 1 2005 phd thesis verbnet a broad coverage comprehensive verb lexicon karin kipper schuler pdf https verbs colorado edu kipper papers dissertation pdf 1 2009 acl using syntax to disambiguate explicit discourse connectives in text emily pitler ani nenkova pdf https www aclweb org anthology p09 2004 pdf helping to annotate data efficiently and affordably 1 2017 sigmod snorkel fast training set generation for information extraction alexander j ratner stephen h bach henry r ehrenberg chris r pdf https ajratner github io assets papers ratner sigmoddemo17 pdf helping to analyze the semantics of causal events 1 1998 coling the berkeley framenet project collin f baker charles j fillmore john b lowe pdf https www aclweb org anthology c98 1013 pdf 1 amr parsing 1 2016 acl workshop the storyline annotation and representation scheme star a proposal tommaso caselli piek vossen pdf https www aclweb org anthology w16 5708 pdf 1 2014 report guidelines for ecb annotation of events and their coreference agata cybulska piek vossen pdf http www newsreader project eu files 2013 01 nwr 2014 1 pdf 2 5 causal commonsense reasoning and generation 1 2022 arxiv causal inference principles for reasoning about commonsense causality jiayao zhang hongming zhang dan roth weijie j su pdf https arxiv org pdf 2202 00436 pdf 1 2021 acl findings empowering language understanding with counterfactual reasoning fuli feng jizhi zhang xiangnan he hanwang zhang tat seng chua pdf https arxiv org pdf 2106 03046 pdf 1 2021 arr e care a new dataset for exploring explainable causal reasoning anonymous pdf https openreview net pdf id 48t0driwgcv 1 2020 emnlp glucose generalized and contextualized story explanations nasrin mostafazadeh aditya kalyanpur lori moon david buchanan lauren berkowitz or biran jennifer chu carroll pdf https arxiv org pdf 2009 07758 pdf 1 2019 emnlp counterfactual story reasoning and generation lianhui qin antoine bosselut ari holtzman chandra bhagavatula elizabeth clark yejin choi pdf https arxiv org pdf 1909 04076 pdf 1 2020 ijcai guided generation of cause and effect zhongyang li xiao ding ting liu j edward hu benjamin van durme pdf https www ijcai org proceedings 2020 0502 pdf video https www ijcai org proceedings 2020 video 24610 br summary 314 million automatically extracted cause and effects 3 causality for various applications 3 1 persuasion 1 2020 arxiv influence via ethos on the persuasive power of reputation in deliberation online emaad manzoor george h chen dokyun lee michael d smith pdf https arxiv org pdf 2006 00707 pdf br summary cause reputation effect persuation in debates 1 estimating causal effects of tone in online debates dhanya sridhar and lise getoor pdf https arxiv org pdf 1906 04177 pdf 3 2 psychology and behavior 1 the effect of wording on message propagation topic and author controlled natural experiments on twitter chenhao tan lillian lee bo pang pdf https www aclweb org anthology p14 1017 pdf 3 chi 2016 discovering shifts to suicidal ideation from mental health content in social media munmun de choudhury emre kiciman mark dredze glen coppersmith mrinal kumar pdf https dl acm org doi pdf 10 1145 2858036 2858207 casa token zjklrg8laosaaaaa 3aecs8hsunryeued de6dx15 nprz1 mmjixfaexlpr25wwz6ywzqcjuzqwjjqiyibegxztokuld1h br summary method propensity score matching cause linguistic and social interaction based measures on reddit text effect suicidal attempt 2 2017 cwsm the language of social support in social media and its effect on suicidal ideation risk munmun de choudhury emre k c man pdf https www ncbi nlm nih gov pmc articles pmc5565730 pdf nihms891351 pdf br summary cause linguistic clues of reddit comments effect suicidal attempt 1 political behavior 2017 tweetment effects on the tweeted experimentally reducing racist harassment kevin munger pdf https link springer com content pdf 10 1007 s11109 016 9373 5 pdf 1 2017 icwsm estimating the effect of exercising on users online behavior seyed amin mirlohi falavarjani hawre hosseini zeinab noorian ebrahim bagheri pdf https ojs aaai org index php icwsm article view 14975 14825 br summary cause offline activities from foursquare posts e g check ins at a gym effect user interests from topics of their twitter posts discovery shift in interest reduces significantly after users start exercising 1 2017 cscw distilling the outcomes of personal experiences a propensity scored analysis of social media alexandra olteanu onur varol emre kiciman pdf https dl acm org doi pdf 10 1145 2998181 2998353 casa token u8icshz uguaaaaa i9qcf0uceh lykhte9aa5rnmxflvqfpw0tihtush lkmdv1f1o9ko9jpil nb8cx5rbtf4nn5jgq 1 2018 icwsm using longitudinal social media analysis to understand the effects of early college alcohol use emre kiciman scott counts melissa gasser pdf http kiciman org wp content uploads 2018 10 college alcohol tweets icwsm18e pdf 1 2018 icml estimating causal effects of exercise from mood logging data dhanya sridhar aaron springer victoria hollis steve whittaker lise getoor br summary cause daily activities effect wellness markers e g mood on emotical confounder text of mood triggers confounding adjustment method propensity score matching 1 2019 icwsm a social media study on the effects of psychiatric medication use koustuv saha benjamin sugar john torous bruno abrahao emre k c man munmun de choudhury pdf https www ncbi nlm nih gov pmc articles pmc7152507 pdf nihms 1578147 pdf br summary cause psychiatric drugs confounder previous twitter posts effect psychopathology incl mood cognition depression anxiety psychosis and suicidal ideation method stratified propensity score matching 1 psychological science 2019 increasing vegetable intake by emphasizing tasty and enjoyable attributes a randomized controlled multisite intervention for taste focused labeling bradley turnwald jaclyn bertoldo margaret perry peggy policastro maureen timmons christopher bosso priscilla connors robert valgenti lindsey pine ghislaine challamel christopher gardner alia crum pdf https journals sagepub com doi pdf 10 1177 0956797619872191 br summary cause taste focused lables or health focused labels effect vegetable intake method rct 1 2021 icwsm the effect of moderation on online mental health conversations david wadden tal august qisheng li tim althoff pdf https arxiv org pdf 2005 09225 pdf br summary cause moderation in online mental health conversations effect psychological improvements method natural experiment comparing the data right before moderators are introduced to a platform and right after 3 3 economics 1 2017 arxiv a deep causal inference approach to measuring the effects of forming group loans in online non profit microfinance platform thai t pham and yuanyuan shen pdf https arxiv org pdf 1706 02795 pdf 1 2020 journal of economic surveys econometrics meets sentiment an overview of methodology and applications andres algaba david ardia keven bluteau samuel borms and kris boudt br summary use sentiment as a parameter or a variable to model econometric variables 3 4 healthcare 1 measuring semantic similarity of clinical trial outcomes using deep pre trained language representations anna koroleva sanjay kamath patrick paroubek pdf https www sciencedirect com science article pii s2590177x19300575 3 5 judicial decision 1 ssrn 2015 how judicial identity changes the text of legal rulings michael gill and andrew hall br summary cause male or female white of poc judge method rct pdf https poseidon01 ssrn com delivery php id 952112098007006068097068030025100024031086037020053013069083081065096025112124105087055031099031027019034093127090116094014000033047002081054085089100116124096000121088020035013095127084107003013090092027067114011113122085113122096083067080012083116104 ext pdf index true 3 6 marketing strategies and sales prediction 1 interpretable neural architectures for attributing an ad s performance to its writing style reid pryzant sugato basu kazoo sone pdf https www aclweb org anthology w18 5415 pdf 1 ecom sigir 2017 predicting sales from the language of product descriptions reid pryzant young joo chung dan jurafsky pdf http ceur ws org vol 2311 paper 3 pdf br summary cause product description e g writing styles and word usages confounder brand loyalty and price strategies effect sales method adversarial training 4 more resources 4 1 causality papers from schoelkopf s lab mpi 4 1 0 overview 1 2018 iclr learning causal mechanisms iclr invited talk talk https www youtube com watch v 4qc28ra7hlq 1 2021 overview towards causal representation learning pdf https arxiv org pdf 2102 11107 pdf 1 2019 overview causality for machine learning pdf https arxiv org pdf 1911 10500 pdf 4 1 1 learning causal units and mechanisms i e causal representation learning 1 2022 iclr the role of pretrained representations for the ood generalization of rl agents frederik tr uble andrea dittadi manuel wuthrich felix widmaier peter vincent gehler ole winther francesco locatello olivier bachem bernhard sch lkopf stefan bauer pdf https openreview net pdf id 8eb12uqyxrg 1 2021 icml on disentangled representations learned from correlated data frederik tr uble elliot creager niki kilbertus francesco locatello andrea dittadi anirudh goyal bernhard sch lkopf stefan bauer pdf http proceedings mlr press v139 trauble21a trauble21a pdf 1 2021 neurips self supervised learning with data augmentations provably isolates content from style julius von k gelgen yash sharma luigi gresele wieland brendel bernhard sch lkopf michel besserve francesco locatello pdf https proceedings neurips cc paper 2021 file 8929c70f8d710e412d38da624b21c3c8 paper pdf 1 2021 icml causal curiosity rl agents discovering self supervised experiments for causal representation learning sumedh a sontakke arash mehrjou laurent itti bernhard sch lkopf pdf https arxiv org pdf 2010 03110 pdf 1 2021 iclr invariant causal representation learning for out of distribution generalization chaochao lu yuhuai wu jos miguel hern ndez lobato bernhard sch lkopf pdf https openreview net pdf id e4exdwxnsn 1 2021 iclr learning explanations that are hard to vary giambattista parascandolo alexander neitz antonio orvieto luigi gresele bernhard sch lkopf pdf https arxiv org pdf 2009 00329 pdf 1 2021 aaai a theory of independent mechanisms for extrapolation in generative models michel besserve r my sun dominik janzing bernhard sch lkopf pdf https arxiv org pdf 2004 00184 pdf 1 2020 neurips object centric learning with slot attention francesco locatello dirk weissenborn thomas unterthiner aravindh mahendran georg heigold jakob uszkoreit alexey dosovitskiy thomas kipf pdf https arxiv org pdf 2006 15055 pdf 1 2020 icml weakly supervised disentanglement without compromises francesco locatello ben poole gunnar r tsch bernhard sch lkopf olivier bachem michael tschannen pdf http proceedings mlr press v119 locatello20a locatello20a pdf 1 2019 icml best paper challenging common assumptions in the unsupervised learning of disentangled representations francesco locatello stefan bauer mario lucic gunnar r tsch sylvain gelly bernhard sch lkopf olivier bachem pdf http proceedings mlr press v97 locatello19a locatello19a pdf 1 2019 arxiv disentangling factors of variation using few labels francesco locatello michael tschannen stefan bauer gunnar r tsch bernhard sch lkopf olivier bachem pdf https arxiv org pdf 1905 01258 pdf 1 2019 arxiv recurrent independent mechanisms anirudh goyal alex lamb jordan hoffmann shagun sodhani sergey levine yoshua bengio bernhard sch lkopf pdf https arxiv org pdf 1909 10893 pdf 1 2018 icml learning independent causal mechanisms giambattista parascandolo niki kilbertus mateo rojas carulla bernhard sch lkopf pdf http proceedings mlr press v80 parascandolo18a parascandolo18a pdf 1 2018 neurips adaptive skip intervals temporal abstraction for recurrent dynamical models alexander neitz giambattista parascandolo stefan bauer bernhard sch lkopf pdf https proceedings neurips cc paper 2018 file 0f0ee3310223fe38a989b2c818709393 paper pdf 1 2018 arxiv counterfactuals uncover the modular structure of deep generative models michel besserve arash mehrjou r my sun bernhard sch lkopf pdf https arxiv org pdf 1812 03253 pdf 1 2017 cvpr discovering causal signals in images david lopez paz robert nishihara soumith chintala bernhard scholkopf l on bottou pdf https openaccess thecvf com content cvpr 2017 papers lopez paz discovering causal signals cvpr 2017 paper pdf 1 2017 neurips avoiding discrimination through causal reasoning niki kilbertus mateo rojas carulla giambattista parascandolo moritz hardt dominik janzing bernhard sch lkopf pdf https proceedings neurips cc paper 2017 file f5f8590cd58a54e94377e6ae2eded4d9 paper pdf 4 1 2 robustness and invariance incl semi supervised learning covariate shift transfer learning 1 2021 iclr source free adaptation to measurement shift via bottom up feature restoration cian eastwood ian mason christopher ki williams bernhard sch lkopf pdf https arxiv org abs 2107 05446 pdf 1 2016 icml domain adaptation with conditional transferable components mingming gong kun zhang tongliang liu dacheng tao clark glymour bernhard sch lkopf pdf http proceedings mlr press v48 gong16 pdf 1 2021 emnlp oral causal direction of data collection matters implications of causal and anticausal learning for nlp zhijing jin julius von k gelgen jingwei ni tejas vaidhya ayush kaushal mrinmaya sachan bernhard sch lkopf pdf https arxiv org pdf 2110 03618 pdf 1 2020 uai semi supervised learning causality and the conditional cluster assumption julius k gelgen alexander mey marco loog bernhard sch lkopf pdf http proceedings mlr press v124 kugelgen20a kugelgen20a pdf 1 2018 jmlr invariant models for causal transfer learning mateo rojas carulla bernhard sch lkopf richard turner jonas peters pdf https www jmlr org papers volume19 16 432 16 432 pdf 1 2018 neurips workshop generalization in anti causal learning niki kilbertus giambattista parascandolo bernhard sch lkopf pdf https arxiv org pdf 1812 00524 pdf 1 2012 icml on causal and anticausal learning bernhard sch lkopf dominik janzing jonas peters eleni sgouritsa kun zhang joris mooij pdf https icml cc 2012 papers 625 pdf 4 1 3 causal discovery 1 2021 neurips dibs differentiable bayesian structure learning lars lorch jonas rothfuss bernhard sch lkopf andreas krause pdf https arxiv org pdf 2105 11839 pdf 1 2021 icml necessary and sufficient conditions for causal feature selection in time series with latent common causes atalanti a mastakouri bernhard sch lkopf dominik janzing pdf http proceedings mlr press v139 mastakouri21a mastakouri21a pdf 1 2020 jmlr causal discovery from heterogeneous nonstationary data biwei huang kun zhang jiji zhang joseph d ramsey ruben sanchez romero clark glymour bernhard sch lkopf pdf https www jmlr org papers volume21 19 232 19 232 pdf 1 2019 nature communications inferring causation from time series in earth system sciences jakob runge sebastian bathiany erik bollt gustau camps valls dim coumou ethan deyle clark glymour marlene kretschmer miguel d mahecha jordi mu oz mar egbert h van nes jonas peters rick quax markus reichstein marten scheffer bernhard sch lkopf peter spirtes george sugihara jie sun kun zhang jakob zscheischler pdf https www nature com articles s41467 019 10105 3 pdf 1 2017 uai causal discovery from temporally aggregated time series mingming gong kun zhang bernhard sch lkopf clark glymour dacheng tao pdf https www ncbi nlm nih gov pmc articles pmc5995575 pdf nihms904883 pdf 1 2016 jmlr distinguishing cause from effect using observational data methods and benchmarks joris m mooij jonas peters dominik janzing jakob zscheischler bernhard sch lkopf pdf https jmlr org papers volume17 14 518 14 518 pdf 1 2016 uai on the identifiability and estimation of functional causal models in the presence of outcome dependent selection kun zhang jiji zhang biwei huang bernhard sch lkopf clark glymour pdf http auai org uai2016 proceedings papers 305 pdf 1 2016 pnas methods for causal inference from gene perturbation experiments and validation nicolai meinshausen alain hauser joris m mooij jonas peters philip versteeg and peter b hlmann pdf https www pnas org content pnas 113 27 7361 full pdf 1 2016 icml the arrow of time in multivariate time series stefan bauer bernhard sch lkopf jonas peters pdf http proceedings mlr press v48 bauer16 pdf 1 2014 uai inferring latent structures via information inequalities rafael chaves lukas luft thiago o maciel david gross dominik janzing bernhard sch lkopf pdf https arxiv org pdf 1407 2256 pdf 1 2015 journal of the royal statistical society causal inference using invariant prediction identification and confidence intervals jonas peters peter b hlmann nicolai meinshausen pdf https arxiv org pdf 1501 01332 pdf 1 2008ieee causal inference using the algorithmic markov condition dominik janzing bernhard sch lkopf pdf https arxiv org pdf 0804 3678 pdf 4 1 4 causal effect estimation 1 2016 pasa a causal data driven approach to modeling the kepler d ata dun wang david w hogg daniel foreman mackey bernhard sch lkopf pdf https arxiv org pdf 1508 01853 pdf 1 2016 pnas modeling confounding by half sibling regression bernhard sch lkopf david w hogg dun wang daniel foreman mackey dominik janzing carl johann simon gabriel jonas peters pdf https www pnas org content pnas 113 27 7391 full pdf 1 2021 icml conditional distributional treatment effect with kernel conditional mean embeddings and u statistic regression junhyung park uri shalit bernhard sch lkopf krikamol muandet http proceedings mlr press v139 park21c park21c pdf 1 2020 neurips dual instrumental variable regression krikamol muandet arash mehrjou si kai lee anant raj pdf https proceedings neurips cc paper 2020 file 1c383cd30b7c298ab50293adfecb7b18 paper pdf 1 2021 icml spotlight proximal causal learning with kernels two stage estimation and moment restriction afsaneh mastouri yuchen zhu limor gultchin anna korba ricardo silva matt j kusner arthur gretton krikamol muandet pdf https icml cc virtual 2021 spotlight 9926 1 2021 jmlr counterfactual mean embeddings krikamol muandet motonobu kanagawa sorawit saengkyongam sanparith marukatat pdf https jmlr csail mit edu papers volume22 20 185 20 185 pdf 4 1 5 foundational work theory ica etc topics thermodynamic arrow of time modeling hierarchy odes macro variables temporal abstractions links to ica 1 2021 neurips independent mechanism analysis a new concept luigi gresele julius von k gelgen vincent stimper bernhard sch lkopf michel besserve pdf 1 2020 uai the incomplete rosetta stone problem identifiability results for multi view nonlinear ica luigi gresele paul k rubenstein arash mehrjou francesco locatello bernhard sch lkopf pdf 1 2017 arxiv causal consistency of structural equation models paul k rubenstein sebastian weichwald stephan bongers joris m mooij dominik janzing moritz grosse wentrup bernhard sch lkopf pdf 1 2016 arxiv from deterministic odes to dynamic structural causal models paul k rubenstein stephan bongers bernhard sch lkopf joris m mooij pdf 1 2016 new journal of physics algorithmic independence of initial condition and dynamical law in thermodynamics and causal inference dominik janzing rafael chaves bernhard sch lkopf pdf 1 2017 book by mit press elements of causal inference foundations and learning algorithms jonas peters dominik janzing bernhard sch lkopf pdf 4 2 causality papers from bengio s lab mila 1 summary yoshua bengio s summary talk video ellis nlp workshop https www youtube com watch v u3ir6sswwjg list pl5 penlmyyahs7hz3rt8qtkeklxuyhomd index 4 ab channel ellisnlp motivational position papers 1 2020 position paper arxiv inductive biases for deep learning of higher level cognition anirudh goyal yoshua bengio pdf https arxiv org pdf 2011 15091 pdf br summary we need inductive bias for real understanding and generalization such as decomposing world knowledge into right causal pieces 1 motivational position paper arxiv 2017 the consciousness prior yoshua bengio pdf https arxiv org pdf 1709 08568 pdf applying causality knowledge for rl interaction design 1 2020 arxiv visual concept reasoning networks taesup kim sungwoong kim yoshua bengio pdf https arxiv org pdf 2008 11783 pdf br summary modularized visual concept reasoning by split transform attend interact modulate merge modules 1 rldm 2017 independently controllable features emmanuel bengio valentin thomas joelle pineau doina precup yoshua bengio pdf https arxiv org pdf 1703 07718 pdf 1 2017 arxiv independently controllable factors valentin thomas jules pondard emmanuel bengio marc sarfati philippe beaudoin marie jean meurs joelle pineau doina precup yoshua bengio pdf https arxiv org pdf 1708 01289 pdf br summary the representations of 1 abstract action and 2 abstract variables should be learned together because the action is about controlling variables a way to disentangle abstractions from images videos when we have an agent which can interact with the environment the right abstractions have the right factors i e there exists a policy and a learnable feature for each such aspect of the environment applying causality to model design quote from a blog https medium com wcarvalho92 success vs failure generalization vs stereotyping 40de0713ab5d causality is the idea that you can model something with an abstraction of the real world process that generated it when you use compositionality and learning to learn to break down objects into their parts and relations modeling the object as a creation of these parts can be seen as modeling them in a causal way 1 recurrent independent mechanisms anirudh goyal alex lamb jordan hoffmann shagun sodhani sergey levine yoshua bengio bernhard sch lkopf pdf https arxiv org pdf 1909 10893 pdf br summary divides the overall model into k small subsystems or modules each small module is recurrent 1 object files and schemata factorizing declarative and procedural knowledge in dynamical systems anirudh goyal alex lamb phanideep gampa philippe beaudoin sergey levine charles blundell yoshua bengio michael mozer pdf https arxiv org pdf 2006 16225 pdf br summary modularity when designing the model causal induction from interventional data background changes in distribution is caused by intervention on few causes mechanisms in extension of independent mechanisms by schoelkopf 2012 https icml cc 2012 papers 625 pdf 1 2019 arxiv learning neural causal models from unknown interventions nan rosemary ke olexa bilaniuk anirudh goyal stefan bauer hugo larochelle bernhard sch lkopf michael c mozer chris pal yoshua bengio pdf https arxiv org pdf 1910 01075 pdf br summary aim make use of the combination of observational and interventional data method continuous optimization and neural networks extended setting when the identity of the intervened upon variable is unknown 1 neurips 2020 spotlight differentiable causal discovery from interventional data philippe brouillard s bastien lachapelle alexandre lacoste simon lacoste julien alexandre drouin pdf https arxiv org pdf 2007 01754 pdf review https papers nips cc paper 2020 file f8b7aa3a0d349d9562b424160ad18612 review html br summary closely related to ke 2019 https arxiv org pdf 1910 01075 pdf method continuous constrained framework normalizing flows 1 2019 iclr learning dynamics model in reinforcement learning by incorporating the long term future nan rosemary ke amanpreet singh ahmed touati anirudh goyal yoshua bengio devi parikh dhruv batra pdf https arxiv org pdf 1903 01599 pdf 1 2020 iclr a meta transfer objective for learning to disentangle causal mechanisms yoshua bengio tristan deleu nasim rahaman rosemary ke s bastien lachapelle olexa bilaniuk anirudh goyal christopher pal pdf https arxiv org pdf 1901 10912 pdf grounded ai 1 2021 iclr causalworld a robotic manipulation benchmark for causal structure and transfer learning ossama ahmed frederik tr uble anirudh goyal alexander neitz yoshua bengio bernhard sch lkopf manuel w thrich stefan bauer pdf https arxiv org pdf 2010 04296 pdf br summary an rl dataset to model do interventions and discover causality 1 2019 iclr babyai a platform to study the sample efficiency of grounded language learning maxime chevalier boisvert dzmitry bahdanau salem lahlou lucas willems chitwan saharia thien huu nguyen yoshua bengio pdf https arxiv org pdf 1810 08272 pdf br summary not yet causal synthetic language acquisition a simulation platform to do language instructions with a simulated human in the loop allows curriculum learning for 19 levels 4 3 other causality papers potentially applicable to nlp repos 1 awesome causality in cv https github com rguo12 awesome causality algorithms invariance based causal discovery for robustness 1 2016 journal of the royal statistical society causal inference using invariant prediction identification and confidence intervals jonas peters peter b hlmann nicolai meinshausen pdf https arxiv org pdf 1501 01332 pdf 1 2018 journal of causal inference invariant causal prediction for nonlinear models christina heinze deml jonas peters and nicolai meinshausen pdf https www degruyter com document doi 10 1515 jci 2017 0016 html 1 2019 invariant risk minimization martin arjovsky l on bottou ishaan gulrajani david lopez paz pdf https arxiv org pdf 1907 02893 pdf 1 2020 nonlinear invariant risk minimization a causal approach chaochao lu yuhuai wu jo e miguel hern ndez lobato bernhard sch lkopf pdf https arxiv org pdf 2102 12353 pdf interventional robustness 1 2018 ieee data science workshop causality from a distributional robustness point of view nicolai meinshausen pdf https ieeexplore ieee org stamp stamp jsp arnumber 8439889 1 2018 anchor regression heterogeneous data meet causality dominik rothenh usler nicolai meinshausen peter b hlmann and jonas peters pdf https arxiv org pdf 1801 06229 pdf causality from cognitive science point of view 1 2002 nips theory based causal inference joshua b tenenbaum thomas l griffiths pdf https papers nips cc paper 2002 file e77dbaf6759253c7c6d0efc5690369c7 paper pdf br summary modeling human s learning of causality as bayesian computations over a hypothesis space of causal graphical model others 1 psb 2020 oral robustly extracting medical knowledge from ehrs a case study of learning a health knowledge graph irene y chen monica agrawal steven horng david sontag pdf https arxiv org pdf 1910 01116 pdf 1 2021 aaai ai safety rl with causality agent incentives a causal perspective tom everitt ryan carey eric langlois pedro a ortega shane legg pdf https arxiv org pdf 2102 01685 pdf 1 2019 ijcai ai safety workshop modeling agi safety frameworks with causal influence diagrams tom everitt ramana kumar victoria krakovna shane legg causal incentives working group https causalincentives com pdf https arxiv org pdf 1906 08663 pdf 1 2018 ieee workshop robustness under domain shifts causality from a distributional robustness point of view nicolai meinshausen pdf https ieeexplore ieee org stamp stamp jsp arnumber 8439889 casa token tqnxf6hakdiaaaaa u2ti2lifcixz4tyelafyahisdeavxwxgbnlbu0nvxcvedqwkfumumol8fao yrx3mpqw lky tag 1 some tools that might be useful for disentanglement 1 2009 tensor decompositions and applications tamara kolda brett bader pdf https www kolda net publication tensorreview pdf 4 4 books for systematic learning 1 for ml audience elements of causal inference jonas peters dominik janzing and bernhard sch lkopf book 2017 https library oapen org bitstream handle 20 500 12657 26040 11283 pdf sequence 1 1 quick primer by judea pearl causal inference in statistics a primer judea pearl book 2016 http bayes cs ucla edu primer 1 focus on scm causality models reasoning and inference judea pearl book 2009 https www amazon de causality reasoning inference judea pearl dp 0521773628 1 for statistics people on causal inference causation prediction and search peter spirtes book 2001 https mitpress mit edu books causation prediction and search second edition 1 more book recommendations see brady neal s blog https www bradyneal com which causal inference book and this pointer https sites google com view causality reading group introduction to causality books for beginner intermediate advanced 1 a long paper book list including multiple categories of causality papers spreadsheet https docs google com spreadsheets d 1byiwl hi kvtxytsncnd6sqrqxj3co4xzszdigfmtim edit gid 0 4 5 online courses 1 graphical models and causality isabelle guyon http www clopinet com isabelle eth course website http clopinet com isabelle projects eth causality reading group html 1 applied causality spring 2019 david blei columbia university course reading list http www cs columbia edu blei seminar 2019 applied causality index html 1 a week long course on causal modeling and discovery center for causal discovery 2016 videos https www ccd pitt edu video tutorials 1 reading group causality reading club amsterdam ml lab prof joris mooij past readings https amlab science uva nl meetings causality reading club 4 6 people directory credits to causal resources https docs google com spreadsheets d 1byiwl hi kvtxytsncnd6sqrqxj3co4xzszdigfmtim edit gid 1999914756 judea pearl ucla us bernhard sch lkopf mpi t bingen t bingen germany group intro http webdav tuebingen mpg de causality dominik janzing amazon t bingen former mpi t bingen t bingen germany joris mooij university of amsterdam former mpi t bingen netherlands home page https staff fnwi uva nl j m mooij jonas peters copenhagen university former mpi t bingen denmark home page http web math ku dk peters peter b hlmann eth switzerland marloes maathuis eth switzerland video https www youtube com watch v q 2cgceajpo nicolai meinshausen eth switzerland e g anchor regression negar kiyavash epfl switzerland e g causal structure learning kun zhang cmu former mpi t bingen us peter spirtes cmu philosophy us cosma shalizi cmu us david sontag mit us caroline uhler mit us victor chernozhukov mit us elias bareinboim columbia us home page https causalai net andrew gelman columbia former ucla with judea pearl us video https www youtube com watch time continue 25 v cue9ehsbjni app desktop ilya shpitser jhu former ucla with judea pearl us home page https www cs jhu edu faculty ilya shpitser 3 kosuke imai harvard former princeton us james robins harvard us ferederick eberhardt caltech former cmu us david heckerman amazon us leon bottou facebook ai us thomas richardson uw us stephan hartmann lmu munich germany cheng soon ong data61 former mpi t bingen canberra australia you can also track the organizers https www cclear cc organizingcommittee area chairs https www cclear cc areachairs and advisory board https www cclear cc advisoryboard of the clear conference as well as attendees of causal inference seminars workshops such as 2021 frontiers of causal inference in data science https www cceb med upenn edu cci frontiers causal inference data science perspectives leaders tech and academia may 28 2021 4 7 workshops please see this google spreadsheet https docs google com spreadsheets d 1byiwl hi kvtxytsncnd6sqrqxj3co4xzszdigfmtim edit gid 416373885 for a list of causality workshops 2016 now 4 8 others job postings for causality researchers website https sites google com view ocis opportunities in causal inference causality notes https docs google com document d 1nsn7kmawhxenpsixzbwcpaflpkra 1gr9tdpqxjlmb8 edit by tailin wu contributions all types of contributions to this paper list is welcome feel free to open a pull request contact zhijing jin zhijing jin com phd of bernhard schoelkopf at max planck institute for intelligent systems working on nlp causality how to cite this repo bibtex misc causality2021jin author zhijing jin title causality for nlp reading list year 2021 publisher github journal github repository howpublished url https github com zhijing jin causality4nlp papers
ai
scalechain
under construction scalechain source code is under construction big changes are to come to integrate distributed neural network the latest release does not include the integration of distributed neural network yet current project status unit tests passed introduction scalechain is an altcoin that realizes distributed neural networks on blockchain for the avoidance of doubt this particular copy of the software is released under the version 3 of the gnu general public license it is brought to you by scalechain copyright c 2015 scalechain and or its affiliates all rights reserved why scalechain 1 no more expensive hardware and electricity for the training process of your deep neural network 2 payment network between robots which require intelligence for their behavior decisions getting started a guide on starting a scalechain peer to peer network https github com scalechain scalechain wiki how to start a scalechain peer supported features compatible with bitcoin remote procedure calls and peer to peer protocols todo integrate neural network license scalechain commercial license for oems isvs and vars scalechain provides its scalechain server and client libraries under a dual license model designed to meet the development and distribution needs of both commercial distributors such as oems isvs and vars and open source projects for oems isvs vars and other distributors of commercial applications oems original equipment manufacturers isvs independent software vendors vars value added resellers and other distributors that combine and distribute commercially licensed software with scalechain software and do not wish to distribute the source code for the commercially licensed software under version 3 of the gnu general public license the gpl must enter into a commercial license agreement with scalechain for open source projects and other developers of open source applications for developers of free open source software foss applications under the gpl that want to combine and distribute those foss applications with scalechain software scalechain open source software licensed under the gpl is the best option for developers and distributors of open source software under a foss license other than the gpl scalechain makes its gpl licensed scalechain client libraries available under a foss exception that enables use of the scalechain client libraries under certain conditions without causing the entire derivative work to be subject to the gpl
blockchain
ECE6780_StandingDesk
ece6780 standing desk controller developers jason porter corey buchanan project description i was donated this desk last year because it wasn t functioning properly after some investigation i discovered that the motors were working but the control board had failed here is my desk which i rigged with some spare motor starters and push buttons although this worked it had no safety features automatic positioning or speed control this made a great opportunity for an embedded systems project img 2692 https user images githubusercontent com 19315982 167232393 c4316b30 5477 4dfa b993 ba316ce1f40b jpg the desk features two motors which give independent control of the table legs lower limit switches and a touchscreen interface see our presentation slides for greater detail on our project development which is found in the root folder our final schematic designs are found in our drawings folder and our hmi and stm32 code is located in programs challenges and features hope to implement in future our pcb from oshpark got lost and didn t deliver on time we had to quickly assemble the necessary components on a protoboard we still have the components and can solder it together in the future the chip going on this pcb also is bluetooth capable so it would be possible to implement control via phone app the motor encoder hardware failed and gave undesirable behavior making it impossible to implement an accurate targetting mode we could change this with new encoders in the future file structure a preplanning contains some of our intial concept design for the system b equipment images images of the equipment used c bom bill of materials for project pcb design d drawings archive of our pcb design files standing desk controller version2 v31 pcb complete under the new subdirectory is the one we sent to oshpark e submittals milestone submissions f programming hmi and stm32 code the working stm code is under the final code folder g result media photos and the demo of our results setup instructions as is our pcb design is unproven but the design files and bill of materials are in the archive as explained above so it could be ordered from oshpark or any other pcb manufacturer we do however recommend a modification to the design to use relays and an enable transistor instead of the transistor bridge design currently on the pcb the software will also have to be modified for the chip that is to be soldered on the pcb otherwise if using the stm32discovery to run the code files use the following pins pa10 uart rx from hmi pa9 uart tx to hmi pa8 buzzer pb4 mtr1 encoder a pb5 mtr1 encoder b pb2 pb3 mtr1 relays pa0 mtr2 encoder a pa1 mtr2 encoder b pb7 pb8 mtr2 relays pc0 limit switch 1 pc1 limit switch 2 our code was modified to exclude the encoder operation as our encoders were broken that functionality could be added back in the motors should be powered using a 24v supply hardware assembly can be seen with the images of the completed project the hmi controller can be programmed via usb with a copy of the nextion editor software methods tearing apart the desk for a closer look at the telescoping leg we found that the motors were rated 20v and had a built in incremental encoder with two hall effect sensors i believe the original controller used a current sensor to detect the homing position but we instead considered a limit switch there isn t a great way to detect overtravel when extending without implementing some kind of pull cable so we decided the encoders would limit our stroke length the design challenge was to control the motors in a way to overcome the weight of the desk and any supported equipment the weight will not be evenly distributed so having feedback to maintain a level surface would be ideal the motors did not have nameplates so we don t know the current rating however we loaded the motor and measured the inline current which was about 4 3a at 24vdc we used this information to spec our motor controller hardware entering our design stage our main components other than the motors and microcontroller were inductive npn proximity sensors to act as our limit switches for each leg a programmable hmi touchscreen with a native uart protocol and an alarm buzzer to signal overtravel preliminary testing was done for proof of concept each limit switch interfaces with an optocoupler in order to separate the 24v circuit from the 3 3v mcu inputs also note that we implemented the proxy sensors with a fail safe strategy if the limit switch loses power the input signal goes to logic low preventing the desk from lowering we ran into some issues with the h bridge the original design utilized the l298n but they were back ordered so we had to find another solution we decided to try making an h bridge using bjt transistors this was successful but even in an unloaded state the transistors heated up we also required darlington pairs to amplify the mcu max output current of 20ma to 4 5a this required careful selection of base transistors this design required 8 transistors and 2 pwm outputs per h bridge ultimately to simplify the design we replaced the transistors with two relays because the relays have a 10ms switching speed we added a darlington npn pair in series and added an enable pwm input this resolved our heating issue and simplified our design without a pcb we decided to split the master board into two boards one for the proxy sensors and the other for the motor controls here is the final protoboard for the proxy sensors img 2666 https user images githubusercontent com 19315982 167232841 b92a5c31 d217 44db bb0b 4126c64667c4 jpg and here is the motor control board this was a tight fit but we managed to get all the components on the board each side has a full h bridge the enable transistors did get a little warm during loaded testing so we added heat sinks as a precaution img 2676 https user images githubusercontent com 19315982 167232830 d8ec011d 9a3b 4e22 93bf 7c31d51f1e3d jpg each motor had a pwm output for the enable transistors the transistors have a minimum switching frequency of 2mhz the motor s time constant would be in the order of milliseconds so a 25us pwm period was sufficient early on we were able to determine that at full speed the quadrature controller count was one tick per 3 3ms unloaded this was far to slow to implement a reliable pid speed controller so we just used a set speed with ramp up to reduce torque stress but we still planned on using the quadrature control to position the height of the desk unfortunately the encoder was behaving erratically which resulted in a migrating position counter we discovered that we were no longer getting clean signals as we did during preliminary testing the signals had induced spiking relocating the encoder wires to a separate board and using a separate power source helped a little but we were still getting too much noise so we had to disable our overtravel feature overall we were able to meet all our milestones with the exception of our custom pcb and the failed encoders that being said all the code was implemented and validated but some of it was commented out for the final demo due to the encoder issues
os
Pandas.jl
pandas jl pandas jl logo https storage googleapis com malmaud stuff pandas logo png ci status https github com juliapy pandas jl actions workflows ci yml badge svg this package provides a julia interface to the excellent pandas http pandas pydata org pandas docs stable package from python it sticks closely to the pandas api one exception is that integer based indexing is automatically converted from python s 0 based indexing to julia s 1 based indexing for a pure julia alternative please check out the excellent dataframes jl https github com juliadata dataframes jl package installation simply install the pandas package using the julia package manager from the julia repl julia using pkg pkg add pandas using pandas which version of the python pandas library is used depends on how your installation of pycall jl is configured by default the python pandas library will be automatically downloaded and installed in a mininal python installation managed by julia and independent from any other python distributions on your system see the pycall configuration https github com juliapy pycall jl specifying the python version for instructions on changing this behavior usage in general if df is a pandas object such as a dataframe or series then the python command df x y w z becomes x df y w z in julia df loc a b c becomes loc df a b c same for iloc and ix example julia using pandas df dataframe dict age 27 29 27 name james jill jake age name 0 27 james 1 29 jill 2 27 jake 3 rows x 2 columns describe df age count 3 000000 mean 27 666667 std 1 154701 min 27 000000 25 27 000000 50 27 000000 75 28 000000 max 29 000000 8 rows x 1 columns df age 0 27 1 29 2 27 name age dtype int64 df2 dataframe dict income 45 101 87 index jake james jill df3 merge df df2 left on name right index true age name income 0 27 james 101 1 29 jill 87 2 27 jake 45 3 rows x 3 columns iloc df3 1 2 2 3 name income 0 james 101 1 jill 87 2 rows x 2 columns mean groupby df3 age or groupby df age3 mean income age 27 73 29 87 2 rows x 1 columns query df3 income 85 or query df3 income 85 age name income 0 27 james 101 1 29 jill 87 2 rows x 3 columns array df3 3x3 array any 2 27 james 101 29 jill 87 27 jake 45 plot df3 input output example julia df read csv my csv file csv read in a csv file as a dataframe to json df my json file json save a dataframe to disk in json format performance most pandas operations on medium to large dataframes are very fast since the overhead of calling into the python api is small compared to the time spent inside pandas highly efficient c implementation setting and getting individual elements of a dataframe or series is slow however since it requires a round trip of communication with python for each operation instead use the values method to get a version of a series or homogeneous dataframe that requires no copying and is as fast to access and write to as a julia native array example julia x series series randn 10000 time x series 1 elapsed time 0 000121945 seconds 2644 bytes allocated x values values x series time x values 1 elapsed time 2 041e 6 seconds 64 bytes allocated x native randn 10000 time x native 1 elapsed time 2 689e 6 seconds 64 bytes allocated changes to the values array propogate back to the underlying series dataframe julia iloc x series 1 0 38390854447454037 x values 1 10 iloc x series 1 10 caveats panels related functions are still unwrapped as well as a few other obscure functions note that even if a function is not wrapped explicitly it can still be called using various methods from pycall https github com stevengj pycall jl
front_end
Sonar
sonar chat on slack https img shields io badge chat on 20slack 7a5979 svg https openmined slack com build status https travis ci org openmined sonar svg branch master https travis ci org openmined sonar sonar observes all models being trained and ensures that occuppation occurs fairly it s a smart contract running on an ethereum https ethereum org blockchain that holds bounties and stores pointers to ai models on ipfs https ipfs io using docker we prepared a docker container of the sonar smart contract running on a private in memory ethereum blockchain run sh docker run d p 9545 9545 openmined sonar edge edge for the latest dev build latest default for stable builds everytime you restart the docker container all interactions to the chain will be reset and you will have a clean image with nothing but the contract local installation get the repo sh git clone git github com openmined sonar git cd sonar npm install start the development environment sonar uses truffle develop http truffleframework com docs getting started client truffle develop built in environment on http 127 0 0 1 9545 it will display the first 10 accounts and the mnemonic used to create those accounts npm run develop deploy contracts in a new tab compile and deploy the contracts npm run migrate test npm test
blockchain
iNotebook
getting started with create react app this project was bootstrapped with create react app https github com facebook create react app available scripts in the project directory you can run npm start runs the app in the development mode open http localhost 3000 http localhost 3000 to view it in your browser the page will reload when you make changes you may also see any lint errors in the console npm test launches the test runner in the interactive watch mode see the section about running tests https facebook github io create react app docs running tests for more information npm run build builds the app for production to the build folder it correctly bundles react in production mode and optimizes the build for the best performance the build is minified and the filenames include the hashes your app is ready to be deployed see the section about deployment https facebook github io create react app docs deployment for more information npm run eject note this is a one way operation once you eject you can t go back if you aren t satisfied with the build tool and configuration choices you can eject at any time this command will remove the single build dependency from your project instead it will copy all the configuration files and the transitive dependencies webpack babel eslint etc right into your project so you have full control over them all of the commands except eject will still work but they will point to the copied scripts so you can tweak them at this point you re on your own you don t have to ever use eject the curated feature set is suitable for small and middle deployments and you shouldn t feel obligated to use this feature however we understand that this tool wouldn t be useful if you couldn t customize it when you are ready for it learn more you can learn more in the create react app documentation https facebook github io create react app docs getting started to learn react check out the react documentation https reactjs org code splitting this section has moved here https facebook github io create react app docs code splitting https facebook github io create react app docs code splitting analyzing the bundle size this section has moved here https facebook github io create react app docs analyzing the bundle size https facebook github io create react app docs analyzing the bundle size making a progressive web app this section has moved here https facebook github io create react app docs making a progressive web app https facebook github io create react app docs making a progressive web app advanced configuration this section has moved here https facebook github io create react app docs advanced configuration https facebook github io create react app docs advanced configuration deployment this section has moved here https facebook github io create react app docs deployment https facebook github io create react app docs deployment npm run build fails to minify this section has moved here https facebook github io create react app docs troubleshooting npm run build fails to minify https facebook github io create react app docs troubleshooting npm run build fails to minify
server
MatlabNLP
matlabnlp is a collection of efficient algorithms data structures and well tested functions for doing natural language processing in the matlab environment we are continuously speeding up the underlying algorithms and functions you can use the whole library or you can just grab functions and methods that you need and copy them onto your project folders objective to produce a collection of useful nlp tools for matlab components tokenizers tf idf term frequency multinomial featurizer bernoulli featurizer stemmers reverse stemmer useful corpora declaration of independence english conversations learning models naive bayes logistic regression svm linear regression evaluation measures precision recall fallout f1 measure mse mean square error
ai
parcel-starter
parcel js starter a small project starter kit npm scripts module bundling with parcel https parceljs org image optimisation via parcel s imagemin https github com demoorjasper parcel plugin imagemin plugin svg icon sprite creation via parcel s svg sprite https github com epimodev parcel plugin svg sprite node sass install npm install or yarn install to run npm start or yarn start opens in the browser on http localhost 3000 http localhost 3000 to build npm run build or yarn run build image minification only runs on build
front_end
Career-Development
career development check out the wiki https github com socrates philosophies career development wiki for resources and tips on getting started in it resumes interviews and more some pages to check out include getting started in it https github com socrates philosophies career development wiki getting started in it getting started cyber security career https github com socrates philosophies career development wiki getting started cyber security career project ideas https github com socrates philosophies career development wiki 5 project ideas resume guide https github com socrates philosophies career development wiki 1 resume guide are certifications and degrees worth it https github com socrates philosophies career development wiki are certifications and degrees worth it 3f disclaimer the views opinions and information in this repository are solely those of the original author and contributor and does not constitute career advice the content here is for informational purposes only and because each person s situation is unique please use content at your discretion i am the original author of this repository portions of this work may be used if credited appropriately please cite accordingly https github com socrates philosophies career development
server
Udacity-Yearbook-Project
udacity yearbook project optional yearbook collaboration for udacity front end scholarship participants home screenshot public images mockups src png raw true screenshot question what is this p strong answer strong it is a yearbook project to show off our cohort of the gwg program p question can i contribute p strong answer strong of course you can no matter what your experience knowledge level is we encourage everyone to contribute p question where do i begin right now we are still making decisons and in planning phases some work has been done but we are needing to regroup in order to make sure we are all on the same page project requirements an editing software vscode sublime atom have git installed on your pc using homebrew brew install git for mac users and apt get install git for debian ubuntu users frameworks in use are bootstrap 4 https getbootstrap com jquery 3 3 1 strong 1 31 18 strong everyone should update their local copies from the main this repo this will resolve a lot of issues people can use this as a guide https stackoverflow com questions 7244321 how do i update a github forked repository answers strong 1 24 18 strong this is the unofficial repo for a class project website created and maintained by the class members of grow with google and udacity 2018 the boiler plate code has been added feel free to make pull requests at will happy coding to contribute simply make a pull request or fork this repo and work on it that way alternatively you can pull files to your local environment your computer and work on them that way if you have any questions please let sgstokes006 a href https github com js goose js goose a a href https github com katfrog katfrog a or any of the other collaborators know if you are looking for resources to learn github check out this short a href https www google com search q learning to use github oq learning to use git aqs chrome 1 69i57j0 4127j0j7 sourceid chrome ie utf 8 kpvalbx 0 video a or this a href https blog udacity com 2015 06 a beginners git github tutorial html blog post from udacity a for more info happy coding
front_end
comment-app
comment app a comment app coded using nodejs express ejs mongodb bootstrap for practicing backend development building a rest api and routing the api satisfies basic crud operations and is built using express for different views get comments list all comments post comments create a new comment get comments id get particular comment using id patch comments id update particular comment delete comments id delete particular comment each comment has an unique id generated via uuidv4 and is stored in a no sql database using mongodb i am still working on this app some features currently on my to do list are user authentication comment liking sorting of comments by various categories improvements to the front end this app is for me to practice what i have learned in the field of web development
ejs express mongodb mongoose nodejs rest-api
server
Artificial-Data.github.io
artificial data github io hi there this a portfolio for projects of data science artificial intelligence software engineering and cloud engineering
cloud
cc13xxware
this is a git versioned subset and slightly modified version of ti s cc13xxware this repository s sole purpose is to provide cc13xxware as a submodule for the contiki operating system https github com contiki os contiki new versions will only appear in this repository only if and when contiki s cc13xx port needs to use them modifications for current and upcoming versions only files used by contiki are included here documentation and files related to iar and ccs have been removed line endings have been converted to unix file permissions have been changed to 644 all sources are and will remain otherwise intact except in case where modifications are required by contiki cc13xxware is distributed by ti as part of ti rtos http www ti com tool ti rtos if you are looking for the latest version of cc13xxware do not clone this repository you should download ti rtos instead do not open pulls issues on this repository unless they are immediately related to using cc13xxware with contiki
os
javascript-project
h1 align center hi i m arushi h1 h3 align center a passionate ui designer who loves javascript h3 i m currently working on this amazing project i m currently learning vuejs i m looking to collaborate on github with the best developers out there h3 align left languages and tools h3 p align left a href https developer android com target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons android android original wordmark svg alt android width 40 height 40 a a href https offeescript org target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons coffeescript coffeescript original wordmark svg alt coffeescript width 40 height 40 a a href https www w3schools com css target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons css3 css3 original wordmark svg alt css3 width 40 height 40 a a href https www java com target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons java java original svg alt java width 40 height 40 a a href https developer mozilla org en us docs web javascript target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons javascript javascript original svg alt javascript width 40 height 40 a a href https nodejs org target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons nodejs nodejs original wordmark svg alt nodejs width 40 height 40 a a href https www php net target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons php php original svg alt php width 40 height 40 a a href https reactjs org target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons react react original wordmark svg alt react width 40 height 40 a a href https sass lang com target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons sass sass original svg alt sass width 40 height 40 a a href https developer apple com swift target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons swift swift original svg alt swift width 40 height 40 a a href https tailwindcss com target blank rel noreferrer img src https www vectorlogo zone logos tailwindcss tailwindcss icon svg alt tailwind width 40 height 40 a a href https www typescriptlang org target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons typescript typescript original svg alt typescript width 40 height 40 a a href https vuejs org target blank rel noreferrer img src https raw githubusercontent com devicons devicon master icons vuejs vuejs original wordmark svg alt vuejs width 40 height 40 a p
hacktoberfest
front_end
E-commerce
commerce website schema https github com lastindexof e commerce tree master docs sql api https github com lastindexof e commerce tree master docs vedio https github com lastindexof e commerce tree master docs user https github com lastindexof e commerce tree master docs master https github com lastindexof e commerce tree master docs admin https github com lastindexof e commerce tree master docs localtion https github com lastindexof e commerce tree master docs type https github com lastindexof e commerce tree master docs order npm install yarn install test js node test js node server localhost 4555 admin 7
front_end
Senior-FrontEnd
seniorfrontend image seniorfrontend png nodejs with webpack https github com hejialianghe senior frontend actions workflows webpack yml badge svg branch main https github com hejialianghe senior frontend actions workflows webpack yml github forks https img shields io github forks hejialianghe senior frontend svg style flat square https github com hejialianghe senior frontend network github stars https img shields io github stars hejialianghe senior frontend svg style flat square https github com hejialianghe senior frontend stargazers github issues https img shields io github issues hejialianghe senior frontend svg style flat square https github com hejialianghe senior frontend issues github last commit https img shields io github last commit hejialianghe senior frontend svg style flat square https github com hejialianghe senior frontend commits master find partners and translate english version 1 preface api api web as a front end development engineer the blogger knows the importance of growth most of the current market is api engineer is only able to use api does not understand the principle in the long run become replaceable people how to become a senior development engineer that s what it takes to be a senior development engineer follow my blog to learn you can understand the web full stack engineer knowledge system to get their own learning direction 2 study program bash javascript javascript advanced computer network vue 3 0 react 16 8hook node js koa engineering cli applet data structures and algorithms project practice react 3 for a star star pray pray pray if there is a harvest give a start oh this project open source free reading do not set up any obstacles to prevent reading https js youliaowu com github reading site https hejialianghe github io gitee 4 contact vibration mode why do i net name is ant i hope i can be like ant although the body is small but the strength is big i hope you are the same if you find any errors in this article please contact me immediately wechat img src docs vuepress public weixin jpeg width 200 5 sponsorship sponsorship channels image money f845196d png appreciation list art nickname time payment method amount remark 2020 01 02 alipay 8 00 2020 01 02 wechat 5 88 2020 01 05 alipay 15 00 2020 01 07 alipay 5 00 2020 01 10 alipay 9 99 2020 01 11 alipay 20 20 s n 2020 05 14 wechat 10 00 wu 9508 2021 02 20 wechat 26 00 2021 03 01 alipay 6 60 doctype 2021 03 16 wechat 10 00 2021 04 27 alipay 6 66 2021 07 05 alipay 6 66 4 2022 02 06 wechat 109 99 2022 03 20 wechat 8 88 2022 04 18 wechat 6 60 2022 06 09 wechat 6 66 s 2022 06 09 wechat 9 99 2022 07 07 wechat 18 88 87 2022 07 17 wechat 9 99 eitures 2022 08 26 wechat 20 00 apoleon 2022 09 06 wechat 66 66 z f 2022 10 08 wechat 50 00 2022 10 12 wechat 8 80 2022 10 26 wechat 5 00 2022 12 04 wechat 5 00 2023 02 21 wechat 6 66 jm 2023 03 02 wechat 8 88 2023 03 13 wechat 8 88 2023 04 15 alipay 8 6 license mit copyright c 2022 present hejialianghe
js
front_end
Library-Management-System---Java-RMI
the system is developed using java rmi technology with socket programming and multi threading for college project
java java-8 rmi distributed-systems distributed socket swing multithreading
server
Virtual-digital-assistant-TelegramBOT
virtual digital assistant telegrambot the virtual digital assistant helps university students to study the disciplines databases and software engineering as well as quickly get their schedule and even or odd academic week through bot commands answers to questions from the database on disciplines the user s question is compared to the keywords using the levenshtein distance method and the answer is retrieved from the database image https github com termot1 virtual digital assistant telegrambot assets 131129553 e7d865e9 fcce 4e7b a6fb bf84756683ef the figure below shows how the data in the database is arranged image https github com termot1 virtual digital assistant telegrambot assets 131129553 a3a75051 00e5 4bed 9d67 c1599172ce53 student schedule image https github com termot1 virtual digital assistant telegrambot assets 131129553 3a92a0a3 c830 49bc 8b22 960890cccded
server
Computer-Vision-on-AWS
computer vision on aws a href https www amazon in computer vision using aws services dp 1801078688 ref sr 1 1 crid 3pp65q6dwa62x keywords computer vision on aws book qid 1680240266 sprefix computer vision on aws book 2caps 2c212 sr 8 1 img src https m media amazon com images i 41xti5owbil sx403 bo1 204 203 200 jpg alt computer vision on aws height 256px align right a this is the code repository for computer vision on aws https www amazon in computer vision using aws services dp 1801078688 ref sr 1 1 crid 3pp65q6dwa62x keywords computer vision on aws book qid 1680240266 sprefix computer vision on aws book 2caps 2c212 sr 8 1 published by packt build and deploy real world cv solutions with amazon rekognition lookout for vision and sagemaker what is this book about computer vision cv is a field of artificial intelligence that helps transform visual data into actionable insights to solve a wide range of business challenges this book provides prescriptive guidance to anyone looking to learn how to approach cv problems for quickly building and deploying production ready models you ll begin by exploring the applications of cv and the features of amazon rekognition and amazon lookout for vision the book will then walk you through real world use cases such as identity verification real time video analysis content moderation and detecting manufacturing defects that ll enable you to understand how to implement aws ai ml services as you make progress you ll also use amazon sagemaker for data annotation training and deploying cv models in the concluding chapters you ll work with practical code examples and discover best practices and design principles for scaling reducing cost improving the security posture and mitigating bias of cv workloads by the end of this aws book you ll be able to accelerate your business outcomes by building and implementing cv into your production environments with the help of aws ai ml services this book covers the following exciting features apply cv across industries including e commerce logistics and media build custom image classifiers with amazon rekognition custom labels create automated end to end cv workflows on aws detect product defects on edge devices using amazon lookout for vision build deploy and monitor cv models using amazon sagemaker discover best practices for designing and evaluating cv workloads develop an ai governance strategy across the entire machine learning life cycle if you feel this book is for you get your copy https www amazon com dp 1801078688 today a href https www packtpub com utm source github utm medium banner utm campaign githubbanner img src https raw githubusercontent com packtpublishing github master github png alt https www packtpub com border 5 a instructions and navigations all of the code is organized into folders the code will look like the following subscriptionarn arn aws sns region account amazonrekognitionpersontrackingtopic 04877b15 7c19 4ce5 b958 969c5b9a1ecb following is what you need for this book if you are a machine learning engineer or data scientist looking to discover best practices and learn how to build comprehensive cv solutions on aws this book is for you knowledge of aws basics is required to grasp the concepts covered in this book more effectively a solid understanding of machine learning concepts and the python programming language will also be beneficial with the following software and hardware list you can run all code files present in the book chapter 1 13 software and hardware list chapter software required os required 1 13 access to or signing up for an aws account windows mac os x and linux any 1 13 jupyter notebook windows mac os x and linux any related products other books you may enjoy applied geospatial data science with python packt https www packtpub com product applied geospatial data science with python 9781803238128 ga 2 166620222 1484471424 1680154591 1347501151 1654864057 amazon https www amazon com applied geospatial data science python ebook dp b0bj7gpxmg 3d deep learning with python packt https www packtpub com product 3d deep learning with python 9781803247823 ga 2 200559406 1484471424 1680154591 1347501151 1654864057 amazon https www amazon com 3d deep learning python pytorch3d dp 1803247827 get to know the authors lauren mullennex is a senior ai ml specialist solutions architect at aws she has broad experience in infrastructure devops and cloud architecture across multiple industries she has published multiple aws ai ml blogs spoken at aws conferences and focuses on developing solutions using cv and mlops nate bachmeier is a principal solutions architect at aws ph d cs mba he nomadically explores the world one cloud integration at a time focusing on the financial service industry jay rao is a principal solutions architect at aws he enjoys providing technical and strategic guidance to customers and helping them design and implement solutions
ai
blockatlas
block atlas by trust wallet this repo is no longer maintained go version https img shields io github go mod go version trustwallet blockatlas codecov https codecov io gh trustwallet blockatlas branch master graph badge svg https codecov io gh trustwallet blockatlas go report card https goreportcard com badge trustwallet blockatlas https goreportcard com report trustwallet blockatlas blockatlas is a clean explorer api and transaction observer for cryptocurrencies blockatlas connects to nodes or explorer apis of the supported coins and maps transaction data account transaction history into a generic easy to work with json format the observer api watches the chain for new transactions and generates notifications by guids supported coins block atlas supports more than 25 blockchains bitcoin ethereum binance chain etc the full feature matrix is here docs features csv architecture blockatlas allows to get information about transactions tokens staking details collectibles for supported coins subscribe for price notifications via rabbit mq platform api is independent service and can work with the specific blockchain only like bitcoin ethereum etc notifications subscriber producer create new blockatlas subscriptionevent not implemented at atlas write it on your own subscriber get subscriptions from queue set them to the db parser parse the block convert block to the transactions batch send to queue notifier check each transaction for having the same address as stored at db if so send tx data and id to the next queue notifier consumer notify the user not implemented at atlas write it on your own new subscriptions rabbit mq subscriber db parser rabbit mq notifier rabbit mq notifier consumer user the whole flow is not available at atlas repo we will have integration tests with it also there will be examples of all instances soon setup prerequisite go toolchain https golang org doc install versions 1 14 depends on what type of blockatlas service you would like to run will also be needed postgres https www postgresql org download to store user subscriptions and latest parsed block number rabbit mq https www rabbitmq com getstarted to pass subscriptions and send transaction notifications quick start get source code download source to gopath shell go get u github com trustwallet blockatlas cd go env gopath src github com trustwallet blockatlas build and run read configuration configuration info shell start platform api server at port 8420 with the path to the config yml go build o api bin cmd api main go api bin p 8420 start parser with the path to the config yml go build o parser bin cmd parser main go parser bin start notifier with the path to the config yml go build o notifier bin cmd notifier main go notifier bin start subscriber with the path to the config yml go build o subscriber bin cmd subscriber main go subscriber bin make command build and start all services shell make go build make start build and start individual service shell make go build api make start docker build and run all services shell docker compose build docker compose up build and run individual service shell docker compose build api docker compose start api configuration when any of block atlas services started they look up inside default configuration config yml most coins offering public rpc explorer apis are enabled thus block atlas can be started and used right away no additional configuration needed by default starting any of the services architecture will enable all platforms to run a specific service only by passing environmental variable e g atlas platform ethereum shell atlas platform ethereum go run cmd api main go atlas platform ethereum binance bitcoin go run cmd api main go for multiple platforms or change in config file yaml single platform ethereum multiple platform ethereum binance bitcoin this way you can one platform per binary for scalability and sustainability to enable use of private endpoint yaml nimiq api http localhost 8648 it works the same for worker you can run all observer at 1 binary or 30 coins per 30 binaries environment the rest gets loaded from environment variables every config option is available under the atlas prefix nested keys are joined via example shell atlas nimiq api http localhost 8648 tests unit tests make test mocked tests end to end tests with calls to external apis has great value but they are not suitable for regular ci verification beacuse any external reason could break the tests start api server with mocked config at port 8437 go build o api bin cmd api main go api bin p 8437 c configmock yml therefore mocked api level tests are used whereby external apis are replaced by mocks external mocks are implemented as a simple own golang mockserver it listens locally and returns responses to specific api paths taken from json data files there is a file where api paths and corresponding data files are listed tests invoke into blockatlas through public apis only and are executed using newman postman cli make newman mocked product code and even test code should not be aware whether it runs with mocks or the real external endpoints see makefile for targets with mock platform can be started locally with mocks using make start platform api mock the newman tests can be executed with unmocked external apis as well but verifications may fail because some apis return variable responses unmocked tests are not intended for regular ci execution but as ad hoc development tests general steps for creating new mocked tests replace endpoint to localhost 3347 observe incoming calls visible in mockserver s output obtain real response from external api with exact same parameters place response in a file add path file to data file list restart mock and verify that blockatlas provides correct output also add verifications of results to the tests docs swagger api docs provided at path swagger index html or you can install go swagger and render it locally macos example install shell brew tap go swagger go swagger brew install go swagger render shell swagger serve docs swagger yaml updating docs after creating a new route add comments to your api source code see declarative comments format https swaggo github io swaggo io declarative comments format run make go gen docs in root folder
crypto blockchain blockchain-explorer
blockchain
SQL-Projects
sql projects
server
FabOS_AVR
fabos for atmel avr xmega fabos is a lightweight embedded real time operating system which is completely written in c the programming is as far as possible independent of the compiler and processor a stable implementation for atmel avr is available atmega32 and atxmegaxxa4 are directly supported porting to another derivate is quite simple the fabos programmers guide including a programming example is available for download key features preemptive real time task scheduling mutexes with priority inversion up to 8 events per task user defined queues multiple timed alarms per task flexible os tick timer interrupt any interrupt source can be used for scheduling the scheduling interrupt remains usable for the application idle task which runs on native stack optional run time checks easy to use and to understand footprint for the avr mega32 implementation with 3 tasks 4 including idle 3 alarms and 3 mutexes it takes 38 to 51 bytes ram and 1774 to 2196 bytes code depending on features used the values are net values the stack space for every task and possibly used queue space is to be added
os
blockchain-course
blockchain course https biquanlibai notion site 28ad5330dd9645fba8f2a5a78afbc073 https youtu be vwhmemubiei https biquanlibai notion site 4389a4c9e35b4e3b8b8c14f37e2d876e https youtu be isox0ocetv8 https biquanlibai notion site fffb0783e68e4ae898cd980ce8e9f37b https youtu be dg nlqcwzrs erc 721 nft https biquanlibai notion site erc 721 nft 62e8505393e346bc98bb5035afbe618f https youtu be lmaehjd8pbu https biquanlibai notion site 921d0c6991e649cfb6416df92587b156 https youtu be g4eiispwphk https biquanlibai notion site 3f9c19c11fa14992b3c9731e015aef73 https youtu be gol4ktuhuni p2p gossip protocol https biquanlibai notion site p2p gossip protocol 854c18877ee54d55837a2ff271228103 https youtu be n3b7pggr39q https biquanlibai notion site 75fdb706c3a14652be8a7501b55bf102 https youtu be qn6sfmo8xgo arweave https biquanlibai notion site arweave 429e88e998254724a731e8d64e0a8224 https youtu be 00ef trof1m 2 0 https biquanlibai notion site 2 0 c7a5375bb4df400e8575032516065d10 https youtu be pmxkj4qdnvu layer2 https biquanlibai notion site layer2 78c4d0abe90c4d61933e475b126ee8f2 https youtu be hyr53ootyka data availability https biquanlibai notion site data availability caa896aae59d489b98f2448f17b01640 https youtu be v85vtrsksdo mev https biquanlibai notion site mev 0069872a7241476f82bf5f7a4e1068ea https youtu be z charqdljk bitcoin ordinals https biquanlibai notion site bitcoin ordinals inscriptions and brc 20 5b0d2baee5f241dc9fbae8b54ee1208f https youtu be n26uqdzi1ye tornado cash privacy pools https biquanlibai notion site tornado cash privacy pools 9adfb5dd5132467ea5023d508666435d pvs 4 https youtu be uqlbwb1xnq0 bitvm https biquanlibai notion site bitvm 2b8557e0ea004d0cbc52951782bc9754 https youtu be dquhnm6b9ti https biquanlibai notion site c90c3423f2d645d7a59deebc374448a4 https youtu be rrviabwjm0y medium https medium com 6block zero knowledge proof mining 9bc12fbbbd55 kzg commitment 1 polynomial commitment https biquanlibai notion site kzg commitment overview 02f650f33ddf4765be92cf964ba0ee10 https youtu be nkrk3jlj8jw
blockchain
dkpro-core
dkpro core maven central https maven badges herokuapp com maven central org dkpro core dkpro core badge svg style plastic https maven badges herokuapp com maven central org dkpro core dkpro core join the chat at https gitter im dkpro dkpro core https badges gitter im join 20chat svg https gitter im dkpro dkpro core utm source badge utm medium badge utm campaign pr badge utm content badge dkpro core is a collection of software components for natural language processing nlp based on the apache uima framework for more information visit the dkpro core website https dkpro github io dkpro core for usage examples see the dkpro core examples project https github com dkpro dkpro core examples
uima-components uima nlp natural-language-processing java dkpro
ai
SHARK
shark high performance machine learning distribution nightly release https github com nod ai shark actions workflows nightly yml badge svg https github com nod ai shark actions workflows nightly yml validate torch models on shark runtime https github com nod ai shark actions workflows test models yml badge svg https github com nod ai shark actions workflows test models yml details summary prerequisites drivers summary install your windows hardware drivers amd rdna users download the latest driver 23 2 1 is the oldest supported here https www amd com en support macos users download and install the 1 3 216 vulkan sdk from here https sdk lunarg com sdk download 1 3 216 0 mac vulkansdk macos 1 3 216 0 dmg newer versions of the sdk will not work nvidia users download and install the latest cuda vulkan drivers from here https developer nvidia com cuda downloads linux drivers mesa radv drivers wont work with fp16 please use the latest amgpu pro drivers non pro oss drivers also wont work or the latest nvidia linux drivers other users please ensure you have your latest vendor drivers and vulkan sdk from here https vulkan lunarg com sdk home and if you are using vulkan check vulkaninfo works in a terminal window details quick start for shark stable diffusion for windows 10 11 users install the driver from prerequisites https github com nod ai shark install your hardware drivers above download the stable release https github com nod ai shark releases latest double click the exe and you should have the ui http localhost 8080 in the browser if you have custom models put them in a models directory where the exe is enjoy details summary more installation notes summary we recommend that you download exe in a new folder whenever you download a new exe version if you download it in the same folder as a previous install you must delete the old vmfb files with rm vmfb you can also use clear all flag once to clean all the old files if you recently updated the driver or this binary exe file we recommend you clear all the local artifacts with clear all running open a command prompt or powershell terminal change folder cd to the exe folder then run the exe from the command prompt that way if an error occurs you ll be able to cut and paste it to ask for help if it always works for you without error you may simply double click the exe the first run may take few minutes when the models are downloaded and compiled your patience is appreciated the download could be about 5gb you will likely see a windows defender message asking you to give permission to open a web server port accept it open a browser to access the stable diffusion web server by default the port is 8080 so you can go to http localhost 8080 stopping select the command prompt that s running the exe press ctrl c and wait a moment or close the terminal details details summary advanced installation only for developers summary advanced installation windows linux and macos for developers check out the code shell git clone https github com nod ai shark git cd shark setup your python virtualenvironment and dependencies windows 10 11 users install the latest python 3 11 x version from here https www python org downloads windows install git for windows from here https git scm com download win allow the install script to run in powershell powershell set executionpolicy remotesigned setup venv and install necessary packages torch mlir nodlabs shark powershell setup venv ps1 you can re run this script to get the latest version linux macos users shell setup venv sh source shark venv bin activate run stable diffusion on your device webui windows 10 11 users powershell shark venv ps c g shark cd apps stable diffusion web shark venv ps c g shark apps stable diffusion web python index py linux macos users shell shark venv cd apps stable diffusion web shark venv python index py access stable diffusion on http localhost 8080 theme dark img width 1607 alt webui src https user images githubusercontent com 74956 204939260 b8308bc2 8dc4 47f6 9ac0 f60b66edab99 png run stable diffusion on your device commandline windows 10 11 users powershell shark venv ps c g shark python apps stable diffusion scripts main py app txt2img precision fp16 prompt tajmahal snow sunflowers oil on canvas device vulkan linux macos users shell python3 11 apps stable diffusion scripts main py app txt2img precision fp16 device vulkan prompt tajmahal oil on canvas sunflowers 4k uhd you can replace vulkan with cpu to run on your cpu or with cuda to run on cuda devices if you have multiple vulkan devices you can address them with device vulkan 1 etc details the output on a amd 7900xtx would look something like shell average step time 47 19188690185547ms it clip inference time ms 109 531 vae inference time ms 78 590 total image generation time 2 5788655281066895sec here are some samples generated tajmahal snow sunflowers oil on canvas 0 https user images githubusercontent com 74956 204934186 141f7e43 6eb2 4e89 a99c 4704d20444b3 jpg a photo of a crab playing a trumpet https user images githubusercontent com 74956 204933258 252e7240 8548 45f7 8253 97647d38313d jpg find us on shark discord server https discord gg ruqy2h2s9u if you have any trouble with running it on your hardware details summary binary installation summary setup a new pip virtual environment this step sets up a new virtualenv for python shell python version check you have 3 11 on linux macos or windows powershell python m venv shark venv source shark venv bin activate use shark venv scripts activate on windows if you are using conda create and activate a new conda env some older pip installs may not be able to handle the recent pytorch deps python m pip install upgrade pip macos metal users please install https sdk lunarg com sdk download latest mac vulkan sdk dmg and enable system wide install install shark this step pip installs shark and related packages on linux python 3 8 3 10 and 3 11 and macos windows python 3 11 shell pip install nodai shark f https nod ai github io shark package index f https llvm github io torch mlir package index f https nod ai github io srt pip release links html extra index url https download pytorch org whl nightly cpu run shark tank model tests shell pytest tank test models py see tank readme md for a more detailed walkthrough of our pytest suite and cli download and run resnet50 sample shell curl o https raw githubusercontent com nod ai shark main shark examples shark inference resnet50 script py install deps for test script pip install pre torch torchvision torchaudio tqdm pillow gsutil extra index url https download pytorch org whl nightly cpu python resnet50 script py device cpu use cuda or vulkan or metal download and run bert minilm sample shell curl o https raw githubusercontent com nod ai shark main shark examples shark inference minilm jit py install deps for test script pip install transformers torch extra index url https download pytorch org whl nightly cpu python minilm jit py device cpu use cuda or vulkan or metal details details summary development testing and benchmarks summary if you want to use python3 11 and with tf import tools you can use the environment variables like set use iree 1 to use upstream iree python python3 11 venv dir 0617 venv importer 1 setup venv sh run any of the hundreds of shark tank models via the test framework shell python m shark examples shark inference resnet50 script device cpu use gpu vulkan or a pytest pytest tank test models py k minilm how to use your locally built iree torch mlir with shark if you are a torch mlir developer or an iree developer and want to test local changes you can uninstall the provided packages with pip uninstall torch mlir and or pip uninstall iree compiler iree runtime and build locally with python bindings and set your pythonpath as mentioned here https github com iree org iree tree main docs api docs python install iree binaries for iree and here https github com llvm torch mlir blob main development md setup python environment to export the built python packages for torch mlir how to use your locally built torch mlir with shark shell 1 run setup venv sh in shark and activate shark venv virtual env 2 run pip uninstall torch mlir 3 go to your local torch mlir directory 4 activate mlir venv virtual envirnoment 5 run pip uninstall r requirements txt 6 run pip install r requirements txt 7 build torch mlir 8 activate shark venv virtual environment from the torch mlir directory 8 run export pythonpath pwd build tools torch mlir python packages torch mlir pwd examples in the torch mlir directory 9 go to the shark directory now the shark will use your locally build torch mlir repo benchmarking dispatches to produce benchmarks of individual dispatches you can add dispatch benchmarks all dispatch benchmarks dir output dir to your pytest command line argument if you only want to compile specific dispatches you can specify them with a space seperated string instead of all e g dispatch benchmarks 0 1 2 10 for example to generate and run dispatch benchmarks for minilm on cuda pytest k minilm and torch and static and cuda benchmark dispatches all s dispatch benchmarks dir my dispatch benchmarks the given command will populate dispatch benchmarks dir model name with an ordered dispatches txt that lists and orders the dispatches and their latencies as well as folders for each dispatch that contain mlir vmfb and results of the benchmark for that dispatch if you want to instead incorporate this into a python script you can pass the dispatch benchmarks and dispatch benchmarks dir commands when initializing sharkinference and the benchmarks will be generated when compiled e g shark module sharkinference mlir model device args device mlir dialect tm tensor dispatch benchmarks all dispatch benchmarks dir results output will include an ordered list ordered dispatches txt of all the dispatches with their runtime inside the specified directory there will be a directory for each dispatch there will be mlir files for all dispatches but only compiled binaries and benchmark data for the specified dispatches an mlir file containing the dispatch benchmark a compiled vmfb file containing the dispatch benchmark an mlir file containing just the hal executable a compiled vmfb file of the hal executable a txt file containing benchmark output see tank readme md for further instructions on how to run model tests and benchmarks from the shark tank details details summary api reference summary shark inference api from shark shark importer import sharkimporter sharkimporter imports mlir file from the torch tensorflow or tf lite module mlir importer sharkimporter torch module input frontend torch tf tf lite torch mlir func name mlir importer import mlir tracing required true sharkinference accepts mlir in linalg mhlo and tosa dialect from shark shark inference import sharkinference shark module sharkinference torch mlir device cpu mlir dialect linalg shark module compile result shark module forward input example demonstrating running mhlo ir from shark shark inference import sharkinference import numpy as np mhlo ir r builtin module func func forward arg0 tensor 1x4xf32 arg1 tensor 4x1xf32 tensor 4x4xf32 0 chlo broadcast add arg0 arg1 tensor 1x4xf32 tensor 4x1xf32 tensor 4x4xf32 1 mhlo abs 0 tensor 4x4xf32 tensor 4x4xf32 return 1 tensor 4x4xf32 arg0 np ones 1 4 astype np float32 arg1 np ones 4 1 astype np float32 shark module sharkinference mhlo ir device cpu mlir dialect mhlo shark module compile result shark module forward arg0 arg1 details supported and validated models shark is maintained to support the latest innovations in ml models tf huggingface models shark cpu shark cuda shark metal bert green heart green heart green heart distilbert green heart green heart green heart gpt2 green heart green heart green heart bloom green heart green heart green heart stable diffusion green heart green heart green heart vision transformer green heart green heart green heart resnet50 green heart green heart green heart for a complete list of the models supported in shark please refer to tank readme md https github com nod ai shark blob main tank readme md communication channels shark discord server https discord gg ruqy2h2s9u real time discussions with the shark team and other users github issues https github com nod ai shark issues feature requests bugs etc related projects details summary iree project channels summary upstream iree issues https github com google iree issues feature requests bugs and other work tracking upstream iree discord server https discord gg 26p4xw4 daily development discussions with the core team and collaborators iree discuss email list https groups google com forum forum iree discuss announcements general and low priority discussion details details summary mlir and torch mlir project channels summary torch mlir channel on the llvm discord https discord gg xs7z362 this is the most active communication channel torch mlir github issues here https github com llvm torch mlir issues torch mlir section https llvm discourse group c projects that want to become official llvm projects torch mlir 41 of llvm discourse weekly meetings on mondays 9am pst see here https discourse llvm org t community meeting developer hour refactoring recurring meetings 62575 for more information mlir topic within llvm discourse https llvm discourse group c llvm project mlir 31 shark and iree is enabled by and heavily relies on mlir https mlir llvm org details license nod ai shark is licensed under the terms of the apache 2 0 license with llvm exceptions see license license for more information
deep-learning machine-learning mlir pytorch amd apple-silicon nvidia
ai
OpenCV-iOS
opencv ios build status https img shields io travis macmade opencv ios svg branch master style flat https travis ci org macmade opencv ios issues http img shields io github issues macmade opencv ios svg style flat https github com macmade opencv ios issues status https img shields io badge status inactive lightgray svg style flat license https img shields io badge license bsd brightgreen svg style flat contact https img shields io badge contact macmade blue svg style flat https twitter com macmade donate patreon https img shields io badge donate patreon yellow svg style flat https patreon com macmade donate gratipay https img shields io badge donate gratipay yellow svg style flat https www gratipay com macmade donate paypal https img shields io badge donate paypal yellow svg style flat https paypal me xslabs overview opencv open source computer vision is a library of programming functions for real time computer vision this project is a port of the opencv library for apple ios it includes two xcode projects one for iphone the other one for ipad opencv is released under the bsd license it is free for both academic and commercial use the official opencv documentation can be found at the following address http opencv willowgarage com wiki please read the documentation 1 to learn how to start developing iphone and ipad applications powered by opencv or start developing your applications now by downloading 2 the xcode project files you can use the xcode project files freely note that you still need to give credits to opencv as stated by the bsd license that said we ll be very happy if you drop us a line when releasing your app project status this project is no longer maintained it might not build on latest ios versions and might not be compatible with latest opencv versions 1 http www eosgarden com en opensource opencv ios documentation documentation 2 http www eosgarden com en opensource opencv ios download download repository infos owner jean david gadina xs labs web www xs labs com blog www noxeos com twitter macmade github github com macmade linkedin ch linkedin com in macmade stackoverflow stackoverflow com users 182676 macmade
ai
Embedded-System-Design_HUST_20221
embedded system design hust 20221 project for embedded system design class in hust 20221 full code n m branch code code n nhi m n m embedded design code a nhi m n m rtos nh m s d ng cube mx c u h nh v s d ng vscode l p tr nh firmware debug b ng hercules
os
-EmployeeApi
employeeapi a api to learn how to develop a crud create read update delete web application using angular 8 as a front end and spring boot 2 restful api as a backend tools and technologies used server side technologies spring boot 2 0 5 release jdk 1 8 or later spring framework 5 0 8 release hibernate 5 2 17 final spring data jpa 2 front end technologies angular 8 0 0 bootstrap 4 npm 6 9 0 jquery tools maven 3 2 ide eclipse or spring tool suite sts spring boot api development visual studio 2017 angular app development angular cli
server
furatto
furatto https github com icalialabs furatto gitter https badges gitter im joinchat svg https gitter im icalialabs furatto utm source badge utm medium badge utm campaign pr badge utm content badge code climate https codeclimate com repos 5713ce158daddd00680007d9 badges 6c5f5bc27ef0c8718ced gpa svg https codeclimate com repos 5713ce158daddd00680007d9 feed issue count https codeclimate com repos 5713ce158daddd00680007d9 badges 6c5f5bc27ef0c8718ced issue count svg https codeclimate com repos 5713ce158daddd00680007d9 feed furatto is a lightweight friendly front end framework got get the job done created and maintained by abraham kuri https twitter com kurenn from icalia labs http twitter com icalialabs to get started checkout http icalialabs github io furatto http icalialabs github io furatto table of contents quick start quick start bug tracker feature request bug tracker feature request documentation documentation compiling css and javascript compiling css and javascript using rails using rails contributing contributing community community using furatto using furatto heroes heroes license license quick start using furatto is extremely easy we ve provided three quick start options download the latest release http icalialabs github io furatto clone the repo git clone git github com icalialabs furatto git install via bower bower install furatto we recommend you read the getting started guide http icalialabs github io furatto docs for information about the contents caveats and more bug tracker feature request have a bug or a feature request please open a new issue https github com icalialabs furatto issues before opening any issue please search for existing issues we recommend you to read the version milestiones https github com icalialabs furatto issues milestone 2 state open if you feel like want to collaborate documentation furatto s documentation is built using jekyll http jekyllrb com and publish thorugh github pages at http icalialabs github io furatto http icalialabs github io furatto you should be able to run them locally running documentation locally 1 you need to install jekyll http jekyllrb com or run bundle install 2 from the root of the project furatto run jekyll serve watch from the command line this way if you change any file jekyll will generate that for you 3 open http localhost 9001 furatto and you are good to go jekyll is a great way to work with static pages we definitely recommend you take a look at the documentation http jekyllrb com docs home old documentation we still provide support for version 1 and 2 as it is a big change from one to another you can visit the old docs v1 http icalialabs github io furatto old docs v1 and v2 http icalialabs github io furatto old docs v2 we encourage you to migrate to version 3 as is a more stable friendly and extendable version compiling css and javascript furatto v3 now uses grunt http gruntjs com to compile all the sass code and start working with the framework before getting started you need to add the necessary dependencies installing grunt from the command line 1 install grunt cli globally with npm install g grunt cli 2 navigate to the root furatto directory then run npm install npm will look at package json https github com icalialabs furatto blob master package json and automatically install the necessary local dependencies listed there if you need to install npm or you are not quite sure what it is here is a quick link for you to get started npm https github com npm npm available grunt tasks some of the grunt tasks are build grunt this task will build the whole framework which means sass compilation coffeescript compilation dist directory creation compression of files and more workflow we have a very useful workflow to work with furatto and grunt 1 run jekyll serve watch from the command line on the root folder furatto 2 in another terminal run grunt watch which will be pending of any change on any coffeescript or sass file it will compile everything up and deliver it to jekyll which by receiving the change will regenerate the necessary files we also include livereload to reload when the watch task is over for more info refer to the our gruntfile https github com icalialabs furatto blob v3 0 0 gruntfile js using rails a gem to integrate with furatto is well maintain by kurenn https twitter com kurenn this will help you start coding your front end right away here is the gem https github com icalialabs furatto rails contributing please submit all pull requests against a separate branch please follow the standard for naming the variables mixins etc in case you are wondering what to attack we hnow have a milestone with the version to work some fixes and refactors feel free to start one thanks community keep track of new feautres development issues and community news follow furattoicalia https twitter com furattoicalia have a question about anything email us at weare icalialabs com using furatto we will love to hear wheter you are using furatto for testing prototyping or online sites checkout who is in already here https github com icalialabs furatto blob master using furatto md heroes abraham kuri http twitter com kurenn http twitter com kurenn http github com kurenn http github com kurenn http klout com kurenn http klout com kurenn copyright and license code and documentation copyright 2013 2014 icalia labs code released under the mit license license
flat css sass framework web-development furatto
front_end
cbuf
scope simple circular ring buffer developed for embedded systems the difference between this and other libraries utilities is that this library does not rely on passing pointers to the circular buffer s elements back to the user but rather copies them for the user this is meant to ensure that adding to this circular buffer in an isr does not void or otherwise alter elements pointed to within the vector as the user now has ownership over the retrieved item there is however still the case where you may be reading from the buffer while retrieving an element to ensure this doesn t happen make the buffer an adequate size usage the intended usage of this utility is as follows define your type typedef struct double hello double world myawesomestruct create your buffer with the desired number of elements cbuf cbuf cbuf make sizeof myawesomestruct 100 add elements cbuf add cbuf my awesome struct pointer cbuf add cbuf my awesome struct get elements myawesomestruct mas myawesomestruct p mas myawesomestruct malloc sizeof myawesomestruct cbuf get cbuf mas cbuf get cbuf p mas destroy your buffer cbuf destroy cbuf testing there are two methods of testing here benchmarking and unit testing the former can be compiled through the command in the project source directory g o ct cbuf test c cbuf c alternatively a cmakelists txt exists for compiling unit tests for the module can be found in the tests directory simply compile with mkdir p build cd build cmake make this will auto download googletest running the associated tests can be performed by executing the generated executable test with this has been tested with xubuntu 18 04 vm
os
TelegramSimple_java
simplegram a custom built telegram client using tg s open api built in java using swing the project is now abandoned at 70 completion due to well the fact that java sucks feel free to use this repo any way you wish screenshots english version pending first screen https i imgur com sogqfql png auth screen https i imgur com 3c7xub9 png chat window https i imgur com savme91 png looking for a bank review check out https fintechcompass net review bunq
telegram telegram-api java java-swing messenger application
server
AI_Conf_2019_DL_4_NLP
ai conf 2019 dl 4 nlp slides and code tutorials for aiconf ny tutorial on deep learning methodologies for natural language processing notes you can access the ulmfit notebook on google colab https colab research google com drive 1q5luftt3wij4k9vnimyefk82ggerzk05 for a code sample of rnns with attention check out taming recurrent neural networks for better summarization http www abigailsee com 2017 04 16 taming rnns for better summarization html with links to the accompanying tensorflow implementation setup download via git 1 go to your home directory by opening your terminal and entering cd 2 clone the repository by entering git clone https github com garretthoffman ai conf 2019 dl 4 nlp download twitter glove vectors download the pre trained twitter glove word vectors from here https nlp stanford edu projects glove and place the file glove twitter 27b 50d txt in the data directory setup virtual environment option 1 dockerfiles recommended 3 after cloning the repo to your machine navigate into the repo and enter docker build t ai conf nlp image type f dockerfiles dockerfile image type dockerfiles where image type is either gpu or cpu note that in order to run these files on your gpu you ll need to have a compatible gpu with drivers installed and configured properly as described in tensorflow s documentation https www tensorflow org install 4 run the docker image by entering docker run it p 8888 8888 v path to repo root ai conf nlp image type where image type is either gpu or cpu depending on the image you built in the last step 5 after building starting and attaching to the appropriate docker container run the provided jupyter notebooks by entering jupyter notebook ip 0 0 0 0 allow root and navigate to the specified url http 0 0 0 0 8888 token jupyter notebook access token in your browser 6 choose 0x notebook title ipynb to open the applicable notebook note the ulmfit notebook must be run on google colab see link above debugging docker if you receive an error of the form warning error loading config file home rp docker config json stat home rp docker config json permission denied got permission denied while trying to connect to the docker daemon socket at unix var run docker sock get http 2fvar 2frun 2fdocker sock v1 26 images json dial unix var run docker sock connect permission denied it s most likely because you installed docker using sudo permissions with a packet manager such as brew or apt get to solve this permission denied simply run docker with sudo ie run docker commands with sudo docker command and options instead of just docker command and options option 2 local setup using miniconda if you don t have or don t want to use docker you can follow these steps to setup the notebook 3 install miniconda using one of the installers and the miniconda installation instructions https conda io miniconda html use python3 6 4 after the installation create a new virtual environment using this command conda create n strata nlp source activate venv 5 you are now in a virtual environment next up install tensorflow by following the instructions https www tensorflow org install 6 to install the rest of the dependenies navigate into your repository and run pip install r dockerfiles requirements txt 7 now you can run jupyter notebook to finally start up the notebook a browser should open automatically if not navigate to http 127 0 0 1 8888 http 127 0 0 1 8888 in your browser 8 choose 0x notebook title ipynb to open the applicable notebook note the ulmfit notebook must be run on google colab see link above
ai
University-System-Database
university system database university of british columbia system software engineering cpen isabelle andre justin chang a mock cmd line university system and non persistent database for engineering professors and student courses grades enrollment applications etc computerizes traditional paper records or spreadsheet approach of running a university such as ubc every actor student professor admin president inherit user properties and possess a userid username and password to login actors student displays student info grades specialization tuition fees enrolled courses can add course grade tuition fee set a specialization add remove courses submit a specialization request to admin professor displays teaching course list can add remove teaching course admin displays student specialization requests checks that student possesses prereq grades and courses for specialization can approve deny student specialization request president displays suspended students list can suspended unsuspend student other classes course displays course info enrolled students course assignments can enroll remove student add remove assignment set course name code and prereq courses specialization displays specialization info prereq courses and grades can add prereq courses and grades system database can display entire course list specialization list student list professor list can create remove user course specialization user case diagram actors student professor admin president img src uml user case png width 700 sequence diagrams use cases student admittance into 2nd year progam president suspends student based on academic misconduct professor creates new assignment proposal admin approves denies student specialization request img src uml seq 2nd year png width 700 img src uml seq pres sus png width 700 img src uml seq create assgn png width 700 img src uml seq admin req png width 700 class diagram img src uml class png width 700 mock cwl login credentials for testing student username user1 password password1 professor username professor password password admin username admin password password president username president password password
server
my-app-backend
my app backend table of contents introduction introduction features features installation installation introduction this project mainly have three apis which save user data into a mongodb database it has only user model which hold the necessary attribute types for a user features following apis have been implemented under this projects get get user by id api user post add user api user put update user api user installation clone the repository git clone https github com sandamalisuru my app backend git navigate to the project directory cd my app backend run fullowing command to install necessary npm modules npm install create env file and add following env variables in env file db uri mongodb url port your port run fullowing command to run the project in locally node src app js
server
Databases-AUTh-Course-Assignment
databases auth course hikethedaydb p this is the group assignment of the course databases auth department of electrical and computer engineering 9th semester the goal is to create a relational database p h2 hikethedaydb h2 p our team designed a relational database that would support a hiking application the main function of the application would be to provide information about hiking routes trails and refugges in greece furthermore a user could create an account to book an excursion with a certified guide of the app additional functionality of the database includes informing the hiker about the necessary equipment for a certain route br p h2 hiketheday mwb h2 p database model in mysql workbench format p h2 hikethedaydump sql h2 p sql script that contains the dump for creating the database tables constraints inserted data views p h2 users sql h2 p sql script for creating the users of the database and their rights p h2 query1 sql query2 sql query12 sql h2 p sql scripts that include queries to the database p h2 entity relationship diagram h2 p align center img src https user images githubusercontent com 116058576 196731986 8b008b3b 9963 4196 85b0 49626f0d6a33 png p h2 hiketheday png h2 p align center database model diagram as a png file extracted from mysql workbench br img src https user images githubusercontent com 116058576 196732955 81c7eac9 8f34 4136 9265 d387373311ff png p h2 relational schema h2 p align center img src https user images githubusercontent com 116058576 196740928 1cc5f4a6 bf5c 4e9d 96c1 43060b3eeb30 png p h2 hikethedaydb report pdf h2 p report of the assignement in greek p h2 group info h2 p team 25 databases december 2020 br zoi bontsiou br a href https github com moschouchry chrysoula moschou a br a href https github com christinas15 christina sakka a p
server
modular-ui-directory
modular user interface directory about this directory is a set of references on new perspectives and approaches for building user interfaces and design systems it covers the motivations behind this mindset as well as ways to achieving it on design and front end workflows you ll find several articles tools methodologies and techniques written by awesome people from the web community i hope that they inspire you as they inspired me please feel free to collaborate by opening pull requests https github com modular ui modular ui directory pulls with new links or other section topic ideas for example or creating issues https github com modular ui modular ui directory issues with suggestions related subjects components a k a modules blocks objects patterns design systems atomic design modularity user interfaces css architecture css guidelines front end design front end architecture ui development content structure visual design deliverables design process designing in the browser styleguide driven development pattern libraries living styleguides responsive workflow design development collaboration br sections 1 mindset and motivations mindset and motivations md 2 about components about components md 3 workflow workflow md 4 design process design process md 5 css architecture css architecture md 6 styleguides and pattern libraries styleguides and pattern libraries md br curated by thiago victorino https github com tfvictorino with help from talo mendon a http www italomen com br
os
benchmarks
machine learning benchmark scripts develop branch build status build status http ci mlpack org job benchmark 20 20checkout 20 20all 20nodes badge icon http ci mlpack org job benchmark 20 20checkout 20 20all 20nodes visit http www mlpack org benchmark html to see our latest results this repository contains a collection of benchmark scripts for various machine learning libraries the scripts serve as an infrastructure for measuring and comparing the performance of different algorithms and libraries on various datasets using visual tools and different metrics it aims to give the machine learning community a streamlined tool to get information on those changesets that may have caused speedups or slowdowns the system has several key attributes that lead to its highly and easily customizable nature it makes extensive use of the python standard library and the yaml file format to provide a very easy way to efficiently run the performance measurements on custom setups with different operating systems the tools and metrics used for the visualization are highly flexible e g with one line you can measure the size of your program s stack get the variance or standard deviation of the measurements the architecture is easily maintainable since each part is a single module with the results that the framework can be easily integrated into the main workflow quick links to this file prerequisites prerequisites running running directory structure directory structure getting the datasets getting the datasets configuration configuration competing libraries competing libraries citation details citation details prerequisites python 3 3 http www python org python website the main benchmark script is written with the programming language python the benchmark script by default uses the version of python on your path python yaml http pyyaml org python yaml website pyyaml is a yaml parser and emitter for python we ve picked yaml as the configuration file format for specifying the structure for the project sqlite http www sqlite org sqlite website optional sqlite is a lightweight disk based database that doesn t require a separate server process we use the python built in sqlite database to save the benchmark results valgrind http valgrind org valgrind website optional valgrind is a suite of tools for debugging and profiling this package is only needed if you want to run the memory benchmarks python xmlrunner https github com lamby pkg python xmlrunner python xmlrunner github optional the xmlrunner module is a unittest test runner that can save test results to xml files this package is only needed if you want to run the tests running benchmarks are run with the make command make run perform the benchmark make memory get memory profiling information make test test the configuration file check for correct syntax and then try to open files referred in the configuration file make setup download and set up all of the libraries to compare against make datasets download datasets into the datasets folder make scripts make additional scripts running make with no additional arguments except the task option will use the default parameters specified in the makefile e g config file you can set an alternate config file with the config flag you can also run a single benchmark script with the block and methodblock flag use make help to see a full list of options running the scripts benchmarking and save the output by default running the benchmarks will produce some logging to standard out to save the results in the database set the log flag if you wanted to run all scripts and save the output in the database located in the reports directory use the following command line make run log true benchmarking a single method if you are making changes to any of the scripts or if you simply want to benchmark a single method you can benchmark the method with the methodblock flag for example if you only want to benchmark all k means scripts use the following command line make run methodblock kmeans you can also run a list of methods with the following command line make run methodblock kmeans allknn benchmarking a single library if you are making changes to any of the scripts for a specified library or if you simply want to benchmark a single library you can benchmark the library with the block flag for example if you only wanted to benchmark all mlpack scripts use the following command line make run block mlpack you can also benchmark a list of libraries with the following command line make run block mlpack shogun benchmarking a single libary and a single method you can also combine the block and methodblock flag to benchmark single methods for a specific libraries for example if you only wanted to benchmark the mlpack and shogun k means scripts use the following command line make run block mlpack shogun methodblock kmeans update benchmark results in case of a failure you can update the last benchmark results stored in the database you can combine the other flag to specify the libary or method you like to update for example if you only wanted to update the mlpack hmm script use the following command line make run update true block mlpack methodblock hmm directory structure source directories config file and the makefile to start the benchmarks datasets several datasets which are used for the benchmarks util common files used by several scripts tests source code for tests benchmark executables for the different benchmarks tasks methods library source code for scripts working directories reports output from the memory benchmark executable reports benchmark db database for benchmark runs getting the datasets you can get the datasets by running make datasets from within your working directory this will download the datasets listed in datasets dataset urls txt configuration the benchmark script requires several parameters that specify the benchmark runs the parameters of the graph to be generated etc for complete details refer the wiki page https github com zoq benchmarks wiki google summer of code 2014 improvement of automatic benchmarking system the benchmark script comes with a default configuration the default configuration will run all available benchmarks this configuration can take quite a while to run more than two weeks so it would be best to adjust the configuration to suite your time constraints you can also use command line options to selectively run benchmarks the options are described below general block the general block contains some settings that control the benchmark itself and the output of the reports page yaml library general settings timeout 9000 database reports benchmark db keepreports 20 topchartcolor f3f3f3 chartcolor ffffff textcolor 6e6e6e timeout limit the execution time for the benchmarks this can be an easy way to keep a benchmark from eating up all the execution time database the location of the databse if there is no database at the specified location the script creates a new database keepreports limit the report pages this can be an easy way to keep a benchmark from eating up all your space topchartcolor the background color of the top chart chartcolor the background color of the charts textcolor the font color of the charts library block the library block contains some settings that control the specified benchmark scripts yaml library mlpack methods pca run timing metric bootstrap script methods mlpack pca py format csv txt datasets files datasets iris train csv datasets iris test csv datasets iris labels csv files datasets wine train csv datasets wine test csv datasets wine labels csv options d 2 nmf run script methods mlpack nmf py format csv txt datasets files datasets iris train csv datasets iris test csv datasets iris labels csv options r 6 s 42 u multdist library description a name to identify the library the name is also used for the output for this reason it should be avoided to choose a name with more than 23 characters syntax library name required yes script description path to the current method which should be tested you can use the relative path from the benchmark root folder a absolute path or a symlink syntax script name required yes files description list of datasets for this method you can use the relative path from the benchmark root folder a absolute path or a symlink requires a method more than one data set you should add the data sets in an extra list syntax files or required yes run description list of benchmark tasks for this method syntax run timing metrics default required no iterations description the number of executions for this method it is recommended to set the value higher than one in order to obtain meaningful results syntax iterations number default 3 required no format description a array of supported file formats for this method if this data set isn t available in this format the benchmark script tries to convert the data set syntax format required no options description description the string contains options for this method the string is passed when the script is started syntax options string default none required no minimal configuration the configuration described here is the smallest possible configuration the configuration combines all required options to benchmark a method yaml mlpack a scalable c machine learning library library mlpack methods pca script methods mlpack pca py format csv txt hdf5 bin datasets files isolet csv in this case we benchmark the pca method located in methods mlpack pca py and use the isolet dataset the pca method supports the following formats txt csv hdf5 and bin the benchmark script use the default values for the non specified values full configuration combining all the elements discussed above results in the following configuration which should be placed typically in the config yaml yaml mlpack a scalable c machine learning library library mlpack methods pca script methods mlpack pca py format csv txt hdf5 bin run timing metric bootstrap iterations 2 datasets files datasets iris train csv datasets iris test csv datasets iris labels csv options s in this case we benchmark the pca method located in methods mlpack pca py with the isolet and the cities dataset the pca method scales the data before running the pca method the benchmark performs twice for each dataset additionally the pca py script supports the following file formats txt csv hdf5 and bin if the data isn t available in this particular case the format will be generated competing libraries http mlpack org http mathworks com http shogun toolbox org http cs waikato ac nz ml weka https elki project github io http scikit learn org http mlpy sourceforge net http www cs umd edu mount ann http www cs ubc ca research flann citation details if you use the benchmarks in your work we d really appreciate it if you could cite the following paper given in bibtex format inproceedings edel2014automatic title an automatic benchmarking system author edel marcus and soni anand and curtin ryan r booktitle nips 2014 workshop on software engineering for machine learning se4ml 2014 volume 1 year 2014
benchmarks benchmark-scripts benchmark-suite machine-learning python
ai
ITAC-html-css
information technology association club step by step html css itac png erickson makotoki https github com erickson makotoki eric https github com eric0324
itac book html css yzu markdown
server
NoobBase
noobbase warning this repo is a work in progress and is not ready a new database in making repl done sql parser done note inspired by cstack
distributed-systems feature-engineering nosql-database
server
Pvmnt-Mobile-App
pvmnt mobile app
front_end
OpenML
license https img shields io badge license bsd 203 clause blue svg https opensource org licenses bsd 3 clause openml open machine learning welcome to the openml github page tada contents toc depthfrom 2 depthto 6 withlinks 1 updateonsave 1 orderedlist 0 who are we who are we what is openml what is openml benefits for science benefits for science benefits for scientists benefits for scientists benefits for society benefits for society get involved get involved toc who are we we are a group of people who are excited about open science open data and machine learning we want to make machine learning and data analysis simple accessible collaborative and open with an optimal division of labour between computers and humans what is openml want to learn about openml or get involved please do and get in touch openmlhq googlegroups com in case of questions or comments incoming envelope getting started check out the openml website https www openml org to get a first impression of what openml is the openml documentation page https openml github io openml gives an introduction in details and features as well as openml s different apis https openml github io openml apis and integrations https openml github io openml sklearn so that everyone can work with their favorite tool how to contribute https github com openml openml blob master contributing md citation and honor code https www openml org terms communication contact https github com openml openml wiki communication channels openml is an online machine learning platform for sharing and organizing data machine learning algorithms and experiments it is designed to create a frictionless networked ecosystem that you can readily integrate into your existing processes code environments allowing people all over the world to collaborate and build directly on each other s latest ideas data and results irrespective of the tools and infrastructure they happen to use as an open science platform openml provides important benefits for the science community and beyond benefits for science many sciences have made significant breakthroughs by adopting online tools that help organizing structuring and analyzing scientific data online indeed any shared idea question observation or tool may be noticed by someone who has just the right expertise to spark new ideas answer open questions reinterpret observations or reuse data and tools in unexpected new ways therefore sharing research results and collaborating online as a possibly cross disciplinary team enables scientists to quickly build on and extend the results of others fostering new discoveries moreover ever larger studies become feasible as a lot of data are already available questions such as which hyperparameter is important to tune which is the best known workflow for analyzing this data set or which data sets are similar in structure to my own can be answered in minutes by reusing prior experiments instead of spending days setting up and running new experiments benefits for scientists scientists can also benefit personally from using openml for example they can save time because openml assists in many routine and tedious duties finding data sets tasks flows and prior results setting up experiments and organizing all experiments for further analysis moreover new experiments are immediately compared to the state of the art without always having to rerun other people s experiments another benefit is that linking one s results to those of others has a large potential for new discoveries see for instance feurer et al 2015 post et al 2016 probst et al 2017 leading to more publications and more collaboration with other scientists all over the world finally openml can help scientists to reinforce their reputation by making their work published or not visible to a wide group of people and by showing how often one s data code and experiments are downloaded or reused in the experiments of others benefits for society openml also provides a useful learning and working environment for students citizen scientists and practitioners students and citizen scientist can easily explore the state of the art and work together with top minds by contributing their own algorithms and experiments teachers can challenge their students by letting them compete on openml tasks or by reusing openml data in assignments finally machine learning practitioners can explore and reuse the best solutions for specific analysis problems interact with the scientific community or efficiently try out many possible approaches get involved openml has grown into quite a big project we could use many more hands to help us out wrench you want to contribute awesome check out our wiki page on how to contribute https github com openml openml wiki how to contribute or get in touch https github com openml openml wiki communication channels there may be unexpected ways for how you could help we are open for any ideas you want to support us financially yes getting funding through conventional channels is very competitive and we are happy about every small contribution please send an email to openmlhq googlegroups com github organization structure openml s code distrubuted over different repositories to simplify development please see their individual readme s and issue trackers of you like to contribute these are the most important ones openml openml https github com openml openml the openml web application including the rest api openml openml python https github com openml openml python the python api to talk to openml from python scripts including scikit learn openml openml r https github com openml openml r the r api to talk to openml from r scripts inclusing mlr openml java https github com openml java the java api to talk to openml from java scripts openml openml weka https github com openml openml weka the weka plugin to talk to openml from the weka toolbox
machine-learning open-science science citizen-scientists collaboration opendata datasets hacktoberfest
ai
frontend-architecture-topics
what does frontend architecture even mean here is an incomplete list of topics that may or may not constitute front end architecture is something missing is something poorly worded is something extraneous please open a pull request https github com stevekinney frontend architecture topics pulls please share this list far and wide i d love to get as many eyes on it as possible state management and sync strategies pushing data from the server rest vs graphql loading and error states caching requests authorization authentication bundle management code splitting tree shaking lazy loading dependency management node modules npm yarn build your own registry application deployment build processes continuous integration continuous deployment docker kubernetes hosting and content delivery networks application monitoring end user monitoring synthetic monitoring testing balancing unit and integration tests local setup communicating with backend systems mocking requests visual regression testing styling and design systems css methodologies css in js linting code formatting browser support search engine optimization seo accessibility aria label localization client side routing font loading and rendering image optimization performance inlining css rail prpl layout performance runtime performance auditing microfrontends vs monoliths backends for front end custom back end solutions out of box solutions google firebase firebase functions server side rendering vs static site generation webassembly type systems monitoring and alerting design patterns documentation platform architecture sequence diagrams user flows developer workflow performance budgets testing strategy runbooks compliance considerations sox gdpr wcag 2 0 pci hipaa etc repo creation readme md local setup develop against different environments run tests contributor md conventional commits code review process library release process templates and tooling bootstrapping new projects updating legacy code codemods
front_end